/* Riverstone Dental: site CSS ported from the live Oxygen site (universal.css, 9.css and page CSS), 2026-11-27.
   Values checked against computed styles in data/reference-shots/measure-live.json. */

:root {
  --rs-pink: #c28c89;      /* buttons, bottom nav */
  --rs-blush: #f8e0d4;     /* title bands, CTA band */
  --rs-cream: #f8f2f2;     /* page background sections */
  --rs-grey: #96998e;      /* H2, nav */
  --rs-dark: #5d6057;      /* H1, CTA title */
  --rs-link: #838673;
  --rs-footer: #f8f8f8;
  --rs-wrap: 1450px;
}

/* generic wrapper like Oxygen's section inner wrap: 1450 max, 20px sides */
.rs-wrap { width: 100%; max-width: var(--rs-wrap); margin-inline: auto; padding-inline: 20px; }

/* buttons (Oxygen .main_button) */
.rs-btn, a.rs-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.6;
  text-transform: uppercase; color: #fff; background-color: var(--rs-pink);
  border: 1px solid var(--rs-pink); border-radius: 6px; padding: 10px 16px; text-decoration: none; white-space: nowrap;
}
.rs-btn:hover { box-shadow: 0 7px 10px 0 var(--rs-grey); transition: box-shadow .4s ease-in-out; color: #fff; }

/* ---------- header ---------- */
#brx-header { position: relative; z-index: 20; background: #fff; }
.rs-header__inner { display: flex; flex-direction: row; align-items: center; justify-content: space-between; min-height: 92px; }
.rs-header__logo img { width: 150px; height: auto; display: block; }
.rs-header__right { display: flex; flex-direction: row; align-items: center; gap: 0; }
.rs-header__phone { font-family: "Open Sans", sans-serif; font-size: 16px; font-weight: 700; color: var(--rs-grey); margin: 0 30px 0 24px; white-space: nowrap; }
.rs-header__phone:hover { color: var(--rs-pink); }
.rs-nav .bricks-nav-menu > li { margin: 0 14px; }
.rs-nav .bricks-nav-menu > li > a,
.rs-nav .bricks-nav-menu > li > .brx-submenu-toggle > a {
  font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--rs-grey);
  padding-block: 35px; line-height: 22.4px; white-space: nowrap;
}
.rs-nav .bricks-nav-menu .sub-menu { background: #fff; min-width: 190px; box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.rs-nav .bricks-nav-menu .sub-menu a { font-family: Montserrat, sans-serif; font-size: 15px; font-weight: 700; color: var(--rs-grey); padding: 8px 20px; line-height: 24px; white-space: nowrap; }
.rs-nav .bricks-nav-menu a:hover { color: var(--rs-pink); }
.rs-header__logo { flex-shrink: 0; }
@media (max-width: 991px) {
  #brx-header .rs-header__phone, #brx-header .rs-header__cta { display: none; }
  .rs-header__inner { min-height: 92px; }
}

/* ---------- before footer CTA (Oxygen template 263) ---------- */
.rs-cta { background: var(--rs-blush); text-align: center; }
.rs-cta .rs-wrap { padding-block: 75px; display: flex; flex-direction: column; align-items: center; }
.rs-cta__title { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 48px; line-height: 1.2; color: var(--rs-dark); margin: 0 0 20px; }
.rs-cta__text { font-family: Quicksand, sans-serif; font-size: 30px; line-height: 42px; color: var(--rs-dark); margin: 0; }
.rs-cta .rs-wrap { max-width: 1000px; }
.rs-cta__btn.rs-btn { margin-top: 30px; width: 400px; max-width: 100%; height: 70px; font-family: "Open Sans", sans-serif; font-size: 24px; font-weight: 400; text-transform: uppercase; }

/* ---------- footer ---------- */
.rs-footer { background: var(--rs-footer); }
.rs-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; padding-block: 50px 67px; }
.rs-footer__title { font-family: Quicksand, sans-serif; font-size: clamp(16px, calc(16px + (1vw - 3.2px) * 0.354), 20px); font-weight: 700; line-height: 1.2; color: #222; text-transform: uppercase; margin: 0 0 5px; }
.rs-footer__title--list { margin-bottom: 15px; }
.rs-footer__services { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } /* live: item margins do not collapse */
.rs-footer__services li { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
.rs-footer__services li::before { content: ""; width: 15px; height: 15px; flex: none; background: url(/wp-content/uploads/2021/09/bullet-point-copy-10@1X.png) center/contain no-repeat; }
.rs-footer__services a { font-weight: 700; color: #222; }
.rs-footer__services a:hover { color: var(--rs-grey); }
.rs-footer__item { margin-bottom: 20px; }
.rs-footer__note { font-size: 12px; font-style: italic; font-weight: 700; line-height: 1.4; }
.rs-footer__social svg { width: 50px; height: 50px; fill: var(--rs-grey); }
.rs-footer__map img { width: 100%; height: auto; display: block; }
.rs-footer__nav { background: var(--rs-pink); }
.rs-footer__nav ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 10px 0; }
.rs-footer__nav a { display: block; padding: 20px; color: #fff; text-transform: uppercase; font-size: 18px; }
.rs-footer__bottom { background: var(--rs-footer); }
.rs-footer__bottom .rs-wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; }
.rs-footer__bottom p { margin: 0; }
@media (max-width: 991px) {
  .rs-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .rs-footer__cols > :last-child { grid-column: span 2; }
  .rs-footer__bottom .rs-wrap { flex-direction: column; gap: 0; text-align: center; }
  .rs-cta__btn.rs-btn { width: 350px; height: 50px; font-size: 20px; }
}
@media (max-width: 478px) { .rs-cta__btn.rs-btn { width: 280px; font-size: 18px; } }
@media (max-width: 991px) { .rs-footer__nav { display: none; } }
@media (max-width: 767px) {
  .rs-footer__cols { grid-template-columns: 1fr; }
  .rs-footer__cols > :last-child { grid-column: span 1; }
}

/* ---------- service page template (Oxygen 53) ---------- */
.rs-band { background: var(--rs-blush); text-align: center; }
.rs-band .rs-wrap { padding-block: 50px; display: flex; justify-content: center; }
.rs-band__title { font-size: 50px; color: var(--rs-dark); margin: 0; }
.rs-svc { background: var(--rs-cream); }
.rs-svc__cols { display: grid; grid-template-columns: minmax(0, 980fr) minmax(0, 420fr); gap: 0; padding: 50px 20px; max-width: var(--rs-wrap); margin-inline: auto; align-items: start; }
.rs-content { font-size: 16px; line-height: 30px; padding: 20px; }
.rs-content p, .rs-content ul, .rs-content ol, .rs-content figure { margin-block: 16px; }
.rs-content ul, .rs-content ol { padding-left: 40px; }
.rs-content > p:first-child { margin-top: 16px; }
.rs-content > h2:first-child, .rs-content > h3:first-child { margin-top: 0; }
.rs-content img { max-width: 100%; height: auto; }
.rs-side__box { background: #f3dedb; padding: 15px; }
.rs-side__box + .rs-side__box { margin-top: 20px; }
.rs-side__title { padding: 10px; margin: 0; }
.rs-side__list { list-style: none; margin: 0; padding: 0; }
.rs-side__list a { display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 20px; font-size: 18px; font-weight: 600; color: var(--rs-link); }
.rs-side__list a::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--rs-pink); }
.rs-side__list a:hover { color: var(--rs-grey); }
.rs-side__note { background: #f3dedb; margin-top: 30px; padding: 20px 20px 20px 25px; }
.rs-side__note p { margin: 0; }
@media (max-width: 991px) {
  .rs-svc__cols { grid-template-columns: 1fr; padding: 50px 20px; }
  .rs-side { display: none; }
}
@media (max-width: 767px) {
  .rs-band--svc .rs-wrap { padding-block: 150px; }
  .rs-band--svc .rs-band__title { font-size: 45px; }
}

/* ---------- team page (Oxygen page 69) and team cards ---------- */
.rs-band--tall .rs-wrap { padding-block: 75px; }
.rs-team-group .rs-wrap { padding-block: 50px; display: flex; flex-direction: column; align-items: center; }
.rs-team-group__title { margin: 0 0 20px; text-align: center; width: 100%; }
.rs-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; }
.rs-team-grid:has(> .rs-card:only-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 675px; }
.rs-card { position: relative; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #eaebdb; }
.rs-card__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-card__img img, img.rs-card__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.rs-card__cap { position: relative; background: #eaebdb; padding: 10px; text-align: center; }
.rs-card__name { margin: 0; }
.rs-card__job { text-transform: capitalize; }
.rs-card__back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  padding: 20px; text-align: center; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .3s; }
.rs-card:hover .rs-card__back, .rs-card:focus-within .rs-card__back { opacity: 1; }
.rs-card__back-name { font-family: Quicksand, sans-serif; font-weight: 700; line-height: 1.2; color: #fff; margin: 0;
  font-size: clamp(16px, calc(16px + (1vw - 3.2px) * 0.354), 20px); }
.rs-card__intro { color: #fff; margin: 5px 0; }
.rs-card__more.rs-btn { font-family: "Open Sans", sans-serif; font-size: 18px; font-weight: 400; text-transform: none; border-radius: 3px; }
@media (max-width: 991px) { .rs-team-grid, .rs-team-grid:has(> .rs-card:only-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rs-team-grid, .rs-team-grid:has(> .rs-card:only-child) { grid-template-columns: 1fr; max-width: none; } }
/* groups where nobody has a bio (Assistants, Office Administration on live): photo above, caption below */
.rs-team-grid:not(:has(.rs-card__back)) .rs-card { min-height: 0; justify-content: flex-start; }
.rs-team-grid:not(:has(.rs-card__back)) .rs-card__img { position: static; height: auto; aspect-ratio: 800 / 914; } /* live: photo at its own ratio */
@media (min-width: 768px) and (max-width: 991px) { .rs-team-grid:not(:has(.rs-card__back)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* live: no-bio groups 3 across on tablets */

/* ---------- team profile (Oxygen 268) ---------- */
.rs-band--profile .rs-band__title { font-size: 36px; color: #404040; }
.rs-profile__wrap { max-width: 1240px; display: grid; grid-template-columns: 353px minmax(0, 1fr); gap: 70px; padding-block: 50px; align-items: start; }
.rs-profile__img img, img.rs-profile__img { width: 353px; height: 404px; object-fit: cover; display: block; }
.rs-profile .rs-content { font-size: 18px; line-height: 1.6; padding: 0; }
.rs-profile .rs-content p { margin-block: 18px; }
@media (max-width: 767px) { .rs-profile__wrap { grid-template-columns: 1fr; gap: 20px; } .rs-profile__img img, img.rs-profile__img { width: 100%; height: auto; } }

/* ---------- 404 (Oxygen 323) ---------- */
.rs-404hero { text-align: center; background: linear-gradient(rgba(44,62,80,.6), rgba(44,62,80,.6)), url(/wp-content/uploads/2021/09/Hero-Image.jpg) 50% 0 / cover no-repeat; }
.rs-404hero .rs-wrap { padding-block: 179px 180px; display: flex; justify-content: center; }
.rs-404hero__name { font-family: Quicksand, sans-serif; font-weight: 700; line-height: 1.2; font-size: 50px; color: #fff; margin: 0; }
.rs-404 .rs-wrap { padding-block: 50px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rs-404__title { font-size: 50px; color: var(--rs-grey); margin: 0 0 20px; }
.rs-404__text { font-size: 30px; margin: 0 0 50px; }

/* ---------- treatments overview (Oxygen page 48) ---------- */
.rs-tx { background: var(--rs-cream); text-align: center; }
.rs-tx .rs-wrap { padding-block: 50px 100px; }
.rs-tx__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 50px; align-items: start; }
.rs-tx__card { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #000; }
.rs-tx__card img { width: 440px; max-width: 100%; height: auto; display: block; }
.rs-tx__title { font-size: 25px; margin: 10px 0 0; }
.rs-tx__text { padding: 10px; color: #000; }
@media (max-width: 1450px) { .rs-tx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; } }
@media (max-width: 991px) { .rs-tx .rs-wrap { padding-bottom: 51px; } }
@media (max-width: 767px) { .rs-tx__grid { grid-template-columns: 1fr; } }

/* ---------- contact (Oxygen page 16) ---------- */
.rs-contact .rs-wrap { padding-block: 50px; display: flex; flex-direction: column; align-items: center; }
.rs-contact__col { max-width: 600px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.rs-contact__title { font-size: 38px; margin: 0 0 20px; }
.rs-contact__form { width: 100%; margin-top: 50px; text-align: left; }
.rs-contact__form .fluentform .ff-el-form-control { padding-top: 12px; padding-bottom: 12px; font-family: "Open Sans", sans-serif; min-height: 50px; }
.rs-contact__form .fluentform textarea.ff-el-form-control { height: 98px; min-height: 98px; }
.rs-contact__form .fluentform .ff-btn-submit { background-color: var(--rs-pink); color: #f8f2f2; padding-top: 12px; padding-bottom: 12px; border: none; width: 150px; }
.rs-contact__form .fluentform .ff-btn-submit:hover { opacity: .8; }
.rs-contact__form .fluentform .frm-fluent-form .ff-t-cell:last-of-type { padding-right: 0; }
.rs-contact__form .fluentform .frm-fluent-form .ff-t-cell:first-of-type { padding-left: 0; }
@media (max-width: 768px) { .rs-contact__form .fluentform .frm-fluent-form .ff-t-cell { padding-left: 0; padding-right: 0; } }

/* ---------- Invisalign before & after (Oxygen page 154) ---------- */
.rs-hero-photo { text-align: center; background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), var(--rs-hero) 50% 50% / cover no-repeat; }
.rs-hero-photo .rs-wrap { padding-block: 150px; display: flex; justify-content: center; }
.rs-hero-photo .rs-band__title { color: #404040; }
.rs-ba .rs-wrap { padding-block: 25px 50px; display: flex; flex-direction: column; align-items: center; }
.rs-compare { --pos: 50%; position: relative; width: 500px; max-width: 100%; height: 390px; margin-top: 50px; /* live: fixed 390 high at every width */ overflow: hidden; user-select: none; }
.rs-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-compare__after { clip-path: inset(0 0 0 var(--pos)); }
.rs-compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #f9f9fa; pointer-events: none; }
.rs-compare__handle { position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%); background: #f9f9fa; padding: 10px; border-radius: 50%; color: #8ecae8; display: flex; pointer-events: none; }
.rs-compare__handle svg { width: 32px; height: 32px; fill: currentColor; }
.rs-compare__label { position: absolute; top: 32px; font-size: 14px; text-transform: uppercase; padding: 5px 16px; background: rgba(249,249,250,.5); pointer-events: none; }
.rs-compare__label--before { left: 32px; }
.rs-compare__label--after { right: 32px; background: #f9f9fa; }
.rs-compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.rs-compare:focus-within .rs-compare__handle { outline: 2px solid var(--rs-pink); }

/* ---------- home (Oxygen page 7) ---------- */
.rs-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rs-home-hero { position: relative; aspect-ratio: 16 / 9; background: #222 url(/wp-content/uploads/2026/11/riverstone-hero-poster.jpg) center / cover no-repeat; overflow: hidden; }
.rs-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.rs-hero__video::-webkit-media-controls, .rs-hero__video::-webkit-media-controls-start-playback-button { display: none !important; }
/* live: a layer at opacity 0 that fades in on hover (1s) with a 50% black tint and the white H1 */
.rs-hero__over { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-inline: 20px; text-align: center; opacity: 0; transition: opacity 0s, background-color 0s; }
.rs-hero__over:hover, .rs-home-hero:focus-within .rs-hero__over { opacity: 1; background-color: rgba(0, 0, 0, .5); transition-duration: 1s; }
.rs-hero__title { width: 100%; max-width: 1000px; margin: 0 0 20px; font-family: Quicksand, sans-serif; font-weight: 700; line-height: 1.2; color: #fff;
  font-size: clamp(30px, calc(30px + (1vw - 3.2px) * 5.3097), 90px); }
.rs-home-video { display: none; }
@media (max-width: 767px) {
  /* phones: live shows the Vimeo clip instead; the H1 stays in the page for screen readers and search */
  .rs-home-hero { aspect-ratio: auto; height: 0; background: none; }
  .rs-hero__video { display: none; }
  .rs-hero__over { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 1; }
  .rs-home-video { display: block; position: relative; aspect-ratio: 16 / 9; }
  .rs-home-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
}
.rs-cream { background: var(--rs-cream); }
.rs-h2 { font-family: Quicksand, sans-serif; font-weight: 700; line-height: 1.2; color: var(--rs-grey); margin: 0;
  font-size: clamp(30px, calc(30px + (1vw - 3.2px) * 1.5929), 48px); }
.rs-intro .rs-wrap { padding-block: 50px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rs-intro .rs-h2 { margin-bottom: 10px; }
.rs-intro__text { max-width: 1015px; font-size: 24px; line-height: 38px; margin: 0; }
.rs-serve .rs-wrap { padding-block: 50px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: center; }
.rs-serve .rs-h2 { margin-bottom: 10px; }
.rs-serve__text p { margin: 0 0 15px; }
.rs-serve__text p + p { margin-top: 28.8px; }
.rs-serve .rs-btn { padding-inline: 40px; }
.rs-serve__img img { width: 100%; height: auto; display: block; }
@media (max-width: 991px) {
  .rs-serve .rs-wrap { display: flex; flex-direction: column-reverse; }
  .rs-serve__copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
}
/* meet our dentists carousel */
.rs-dentists .rs-wrap { padding: 50px 80px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rs-dentists .rs-h2 { margin-bottom: 30px; }
.rs-carousel { position: relative; width: 100%; }
.rs-carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rs-carousel__track::-webkit-scrollbar { display: none; }
.rs-carousel__track > * { flex: 0 0 25%; scroll-snap-align: start; padding: 10px; }
.rs-carousel__prev, .rs-carousel__next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 10px; color: #d2d2d2; cursor: pointer; line-height: 0; }
.rs-carousel__prev svg, .rs-carousel__next svg { width: 45px; height: 65px; stroke: currentColor; stroke-width: 2; fill: none; }
.rs-dentists .rs-carousel__prev { left: -80px; }
.rs-dentists .rs-carousel__next { right: -80px; }
.rs-dent { display: flex; flex-direction: column; align-items: center; }
.rs-dent img { width: 100%; aspect-ratio: 300 / 343; object-fit: cover; display: block; transition: transform .4s; }
.rs-dent:hover img { transform: scale(1.03); }
.rs-dent__name { font-family: Quicksand, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.2; color: #848678; margin: 12px 0 0; }
.rs-dent__job { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #848678; }
.rs-dentists .rs-btn { margin-top: 50px; padding-inline: 40px; }
@media (max-width: 991px) {
  .rs-dentists .rs-wrap { padding-inline: 50px; }
  .rs-carousel__track > * { flex-basis: 50%; }
  .rs-dentists .rs-carousel__prev { left: -50px; }
  .rs-dentists .rs-carousel__next { right: -50px; }
}
@media (max-width: 767px) { .rs-carousel__track > * { flex-basis: 100%; } }
@media (max-width: 478px) {
  .rs-dentists .rs-wrap { padding-inline: 20px; }
  .rs-dentists .rs-carousel__prev { left: -20px; }
  .rs-dentists .rs-carousel__next { right: -20px; }
}
/* one-stop dental shop tiles */
.rs-shop .rs-wrap { padding-block: 50px 100px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rs-shop .rs-h2 { margin-bottom: 10px; }
.rs-shop__text { max-width: 1050px; margin: 0 0 30px; }
.rs-shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.rs-tile { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; background: var(--tile) 50% 50% / cover no-repeat; color: #fff; overflow: hidden; }
.rs-tile__title { font-family: Quicksand, sans-serif; font-size: 23px; font-weight: 700; line-height: 1.2; color: #fff; margin: 0; padding: 10px; }
.rs-tile__back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px;
  background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), var(--tile) 50% 50% / cover no-repeat; opacity: 0; transition: opacity .3s; color: #fff; }
.rs-tile--dark .rs-tile__back { background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), var(--tile) 50% 50% / cover no-repeat; }
.rs-tile:hover .rs-tile__back, .rs-tile:focus-within .rs-tile__back { opacity: 1; }
.rs-tile__back p { margin: 0; }
.rs-tile__back a:not(.rs-btn) { color: #fff; }
.rs-tile .rs-btn { margin: 8px 0; font-family: "Open Sans", sans-serif; font-weight: 400; text-transform: none; padding: 8px 16px; }
@media (max-width: 991px) {
  .rs-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-shop .rs-wrap { padding-bottom: 51px; }
}
@media (max-width: 767px) { .rs-shop__grid { grid-template-columns: 1fr; } }
/* specialists */
.rs-spec__intro { max-width: 700px; margin: 0 auto 100px; padding: 0 20px; font-family: Quicksand, sans-serif; font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--rs-grey); text-align: center; }
.rs-spec__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; } /* live: the four boxes span the full band */
.rs-spec { position: relative; min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--bg); color: inherit; }
.rs-spec img { width: 100px; height: auto; }
.rs-spec img.rs-spec__wide { width: 140px; }
.rs-spec img.rs-spec__tint { filter: brightness(0) saturate(100%) invert(55%) sepia(16%) saturate(678%) hue-rotate(314deg) brightness(106%) contrast(88%); }
.rs-spec__title { color: var(--rs-pink); margin: 20px 0 0; }
.rs-spec__back { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px 50px; background: var(--back); opacity: 0; transition: opacity .3s; color: #fff; }
.rs-spec__back p { margin: 0; }
.rs-spec:hover .rs-spec__back, .rs-spec:focus-within .rs-spec__back { opacity: 1; }
@media (max-width: 991px) {
  .rs-spec__grid { grid-template-columns: 1fr; gap: 20px; }
  .rs-spec { min-height: 350px; }
  .rs-spec__intro { margin-bottom: 50px; }
}
@media (max-width: 767px) { .rs-spec__back { padding: 30px; } }
@media (max-width: 478px) { .rs-spec__back { padding: 15px; } }
/* testimonials */
.rs-testi .rs-wrap { padding-block: 100px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rs-testi .rs-h2 { margin-bottom: 20px; }
.rs-stars { display: flex; gap: 2px; margin: 10px 0; color: #ffba00; }
.rs-stars svg { width: 25px; height: 25px; fill: currentColor; }
.rs-testi .rs-carousel { max-width: 1100px; }
.rs-testi .rs-carousel__track > * { flex-basis: 100%; padding: 10px 0; }
.rs-testi .rs-carousel__prev { left: -100px; }
.rs-testi .rs-carousel__next { right: -100px; }
.rs-quote p { margin: 0 0 18px; }
.rs-quote__name { margin: 0; }
@media (max-width: 1350px) {
  .rs-testi .rs-carousel { padding-inline: 150px; max-width: none; } /* live: quote inset 150px from the edges */
  .rs-testi .rs-carousel__prev { left: 0; }
  .rs-testi .rs-carousel__next { right: 0; }
}

/* ---------- new pages (About, Reviews, Office Experience, New Patients): site parts only ---------- */
.rs-np__intro p { margin: 0 0 15px; }
.rs-np .rs-wrap { padding-block: 0 100px; display: flex; flex-direction: column; align-items: center; }
.rs-np__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
.rs-np__card { background: #fff; padding: 30px; border-top: 4px solid var(--rs-pink); }
.rs-np__card:only-child, .rs-np__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rs-np__title { font-size: clamp(24px, calc(24px + (1vw - 3.2px) * 0.8), 32px); margin: 0 0 10px; }
.rs-np__text { padding: 0; }
.rs-np__text > :first-child { margin-top: 0; }
.rs-np__text a { text-decoration: underline; }
.rs-np__text blockquote { margin: 0 0 20px; padding: 0 0 0 20px; border-left: 3px solid var(--rs-blush); }
.rs-np__text blockquote p { margin: 0 0 6px; }
.rs-np__cta.rs-btn { margin-top: 40px; padding-inline: 40px; }
@media (max-width: 767px) { .rs-np__grid { grid-template-columns: 1fr; } .rs-np__card { padding: 20px; } .rs-np .rs-wrap { padding-bottom: 50px; } }

/* mobile menu panel (live: 250px panel from the left, Open Sans 18px items) */
.rs-nav .bricks-mobile-menu-wrapper { width: 280px; max-width: 85vw; padding: 30px 30px; }
.rs-nav .bricks-mobile-menu > li > a, .rs-nav .bricks-mobile-menu > li > .brx-submenu-toggle > a,
.rs-nav .bricks-mobile-menu > li > .brx-submenu-toggle > button { font-family: "Open Sans", sans-serif; font-size: 18px; font-weight: 400; text-transform: none; color: #404040; padding: 5px 0; }
.rs-nav .bricks-mobile-menu .sub-menu a { font-family: "Open Sans", sans-serif; font-size: 16px; font-weight: 400; color: #404040; padding: 4px 0 4px 15px; }
.rs-nav .bricks-mobile-menu-toggle { width: 30px; }
.rs-nav .bricks-mobile-menu-toggle .bar-top, .rs-nav .bricks-mobile-menu-toggle .bar-center, .rs-nav .bricks-mobile-menu-toggle .bar-bottom { width: 30px; height: 3px; }
.rs-content figure { margin: 16px 40px; } /* live: browser default figure margin (Oxygen has no reset) */
@media (max-width: 479px) { .rs-tx__text, .rs-tile__back p { font-size: 17px; line-height: 1.4; } } /* live: .dental_shop_text phone rule */
@media (max-width: 767px) { /* live: quote inset 20px, small arrows over the edges */
  .rs-testi .rs-carousel { padding-inline: 20px; }
  .rs-testi .rs-carousel__prev, .rs-testi .rs-carousel__next { padding: 12px 0; }
  .rs-testi .rs-carousel__prev svg, .rs-testi .rs-carousel__next svg { width: 25px; height: 36px; }
}
@media (max-width: 767px) { .rs-dent__name { font-size: 20px; } .rs-dent__job { font-size: 14px; } } /* live phone sizes */
/* mobile menu button as live: 40x24, three 4px black bars, rounded */
.rs-header .rs-nav .bricks-mobile-menu-toggle { width: 40px; height: 24px; color: #000; }
.rs-header .rs-nav .bricks-mobile-menu-toggle span { width: 40px; height: 4px; border-radius: 4px; background-color: #000; }
.rs-header .rs-nav .bricks-mobile-menu-toggle { position: relative; top: -4px; }
.rs-header .rs-nav .bricks-mobile-menu-toggle .bar-center { top: 10px; }
.rs-header .rs-nav .bricks-mobile-menu-toggle .bar-bottom { top: 20px; }

/* ---------- wide screens (live: body max 1920px above 1921px; header row 1800px; buttons 18px above 1450px) ---------- */
@media (min-width: 1921px) { body { max-width: 1920px; margin-inline: auto; } }
.rs-header .rs-wrap { max-width: 1800px; }
@media (min-width: 1451px) { .rs-btn, a.rs-btn { font-size: 18px; } .rs-header__cta.rs-btn { font-size: 16px; } }
/* dentist carousel captions: live has a sage panel under the photo */
.rs-dent__name, .rs-dent__job { align-self: stretch; text-align: center; background: #eaebdb; padding-inline: 15px; }
.rs-dent__name { margin: 0; padding-top: 12px; padding-bottom: 3px; }
.rs-dent__job { margin: 0; padding-bottom: 12px; }
@media (min-width: 1451px) {
  .rs-nav .bricks-nav-menu > li > a, .rs-nav .bricks-nav-menu > li > .brx-submenu-toggle > a { font-size: 15px; }
  .rs-header__phone { font-size: 18px; }
  .rs-dent__name { font-size: 20px; } .rs-dent__job { font-size: 14px; }
}
@media (min-width: 1451px) {
  .rs-testi .rs-carousel { max-width: 987px; padding-inline: 150px; } /* live: 687px of quote text in a 987px carousel */
  .rs-testi .rs-carousel__prev { left: 0; } .rs-testi .rs-carousel__next { right: 0; }
  .rs-shop__grid { gap: 30px 50px; } /* live tile gaps above 1450px */
}
/* testimonial arrows as live: sage, 58px icon centred in a 145px box at the carousel edge */
@media (min-width: 768px) {
  .rs-testi .rs-carousel__prev, .rs-testi .rs-carousel__next { width: 145px; height: 145px; padding: 0; display: flex; align-items: center; justify-content: center; color: #96998e; }
  .rs-testi .rs-carousel__prev svg, .rs-testi .rs-carousel__next svg { width: 40px; height: 58px; stroke-width: 2.5; }
}
@media (min-width: 1351px) and (max-width: 1450px) { .rs-testi .rs-carousel__prev { left: -150px; } .rs-testi .rs-carousel__next { right: -150px; } }
@media (max-width: 767px) { .rs-testi .rs-carousel__prev, .rs-testi .rs-carousel__next { color: #96998e; } }
.rs-footer__hours { white-space: pre-line; }

/* ---------- blog (no blog on live; same parts as the rest of the site) ---------- */
.rs-blog { background: var(--rs-cream); }
.rs-blog .rs-wrap { padding-block: 50px 100px; }
.rs-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.rs-blog__card { background: #fff; display: flex; flex-direction: column; }
.rs-blog__img, .rs-blog__img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rs-blog__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 25px 30px; flex: 1; }
.rs-blog__date { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--rs-grey); }
.rs-blog__title { font-size: 25px; line-height: 1.2; margin: 0; }
.rs-blog__title a { color: var(--rs-dark); text-decoration: none; }
.rs-blog__title a:hover { color: var(--rs-pink); }
.rs-blog__excerpt { margin: 0; font-size: 16px; line-height: 28px; }
.rs-blog__more { margin-top: auto; font-weight: 700; color: var(--rs-pink); }
.rs-blog__empty { grid-column: 1 / -1; text-align: center; font-size: 20px; margin: 0; padding: 40px 0; }
.rs-blog__empty a { color: var(--rs-pink); }
.rs-blog__pages { margin-top: 40px; display: flex; justify-content: center; }
.rs-post { padding: 0 20px; }
.rs-post__meta { margin: 20px 20px 0; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--rs-grey); }
.rs-post__img { display: block; width: calc(100% - 40px); height: auto; margin: 15px 20px 0; }
.rs-side__list li { list-style: none; }
.rs-side__list li a { display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 20px; font-size: 18px; font-weight: 600; color: var(--rs-link); }
.rs-post__cta.rs-btn { margin-top: 15px; }
@media (max-width: 991px) { .rs-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rs-blog__grid { grid-template-columns: 1fr; } .rs-post { padding: 0; } }
/* team flip cards: short intro (4 lines, 3 on narrow cards) so the name and Read More always show; full bio is on the profile page */
.rs-card__intro { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.rs-card__back-name, .rs-card__more.rs-btn { flex: none; }
.rs-card__more.rs-btn { margin-top: 10px; }
@media (min-width: 992px) and (max-width: 1200px) { .rs-card__intro { -webkit-line-clamp: 3; line-clamp: 3; } }
.rs-post__img, .rs-post__img img { aspect-ratio: 16 / 9; object-fit: cover; max-height: 560px; }

/* ---------- legal pages (Privacy Policy, Accessibility Statement, Terms of Use) ---------- */
.rs-legal { background: var(--rs-cream); }
.rs-legal__text.rs-content { max-width: 860px; margin-inline: auto; padding: 50px 20px 80px; }
.rs-legal__text h2 { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 26px; line-height: 1.25; color: var(--rs-dark); margin: 36px 0 10px; }
.rs-legal__text h2:first-child { margin-top: 0; }
.rs-legal__text ul { padding-left: 22px; }
.rs-legal__text li { margin: 6px 0; }
.rs-legal__text a { color: #8f5f5c; text-decoration: underline; text-underline-offset: 2px; }
.rs-footer__legal nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.rs-footer__legal a { color: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 2px; }
.rs-footer__legal a:hover { color: var(--rs-pink); }
@media (max-width: 991px) { .rs-footer__legal { margin: 4px 0; } }

/* ======================================================================================================
   UX review 2026-11-27, invisible fixes (Razib approved all "invisible" items except #14). Item numbers from
   the review list in next/phases.md Phase 4e.
   ====================================================================================================== */
/* #3 readable greys: headings and other brand grey text one shade darker (3.5:1 on cream); job label darker */
:root { --rs-grey: #808378; }
.rs-content h2, .rs-content h3, .rs-content h4, .rs-side__title, .rs-h2, .rs-404__title, .rs-spec__intro { color: #808378; }
.rs-dent__job { color: #5f6256; }
/* #2 keyboard focus ring (keyboard only) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible, [tabindex]:focus-visible, .rs-tile:focus-visible { outline: 2px solid #404040 !important; outline-offset: 2px; }
.rs-btn:focus-visible { outline-offset: 3px; }
/* #5 labels on photo tiles stay readable on light photos */
.rs-tile__title { text-shadow: 0 1px 3px rgba(0,0,0,.65), 0 0 12px rgba(0,0,0,.35); }
/* #6 bigger tap areas on phones without changing the look */
@media (max-width: 991px) {
  .rs-header .rs-nav .bricks-mobile-menu-toggle::after { content: ""; position: absolute; inset: -10px -4px; }
  .bricks-mobile-menu .brx-submenu-toggle button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .bricks-mobile-menu .brx-submenu-toggle button svg, .bricks-mobile-menu .brx-submenu-toggle button i { width: 14px; height: 14px; flex: none; }
  .rs-footer__services a, .rs-footer__item a, .rs-footer__legal a, .rs-footer__bottom a { display: inline-block; padding-block: 8px; }
  .rs-footer__social { display: inline-block; padding: 0; min-height: 44px; }
}
@media (max-width: 767px) {
  .rs-testi .rs-carousel__prev, .rs-testi .rs-carousel__next { min-width: 44px; min-height: 60px; display: flex; align-items: center; justify-content: center; }
}
/* #8 form placeholders readable; #10 clear error text and on-brand field focus */
.rs-contact__form .fluentform input::placeholder, .rs-contact__form .fluentform textarea::placeholder { color: #6c757d; opacity: 1; }
.rs-contact__form .fluentform .ff-el-is-error .text-danger, .rs-contact__form .fluentform .error.text-danger { color: #c62828; font-size: 14px; }
.rs-contact__form .fluentform .ff-el-form-control:focus { border-color: #404040; box-shadow: none; }
/* #12 before and after labels as on live: solid, letter spaced */
.rs-compare__label, .rs-compare__label--before { background: #f9f9fa; letter-spacing: 4px; }
/* #13 carousel arrows visible on cream (3.5:1) */
.rs-carousel__prev, .rs-carousel__next, .rs-testi .rs-carousel__prev, .rs-testi .rs-carousel__next { color: #808378 !important; }
/* #20a blog empty-state link underlined */
.rs-blog__empty a { text-decoration: underline; text-underline-offset: 2px; color: #8f5f5c; }
/* #18 gallery photos open larger on click or Enter */
.rs-content .wp-block-gallery img { cursor: zoom-in; }
.rs-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.rs-lightbox::backdrop { background: rgba(0,0,0,.85); }
.rs-lightbox img { display: block; max-width: 96vw; max-height: 86vh; width: auto; height: auto; margin: 0 auto; }
.rs-lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; color: #fff; font-size: 16px; }
.rs-lightbox button { background: #fff; color: #222; border: 0; border-radius: 6px; padding: 10px 16px; font: inherit; cursor: pointer; min-height: 44px; }
