/* Results page (/testimonials) redesign (Ollie, 21 Nov 2026): Featured, Highlight reels, Customer stories.
   Every picture sits in the same frame (white mat, hairline, soft shadow) that turns teal on hover; play buttons are
   a see-through white ring at the bottom left so they never cover a face or a word. Used by testimonial_front.php. */
.rx-sec { padding: 72px 0; background: #fff; }
.rx-featured { background: #FCF4EA; }
.rx-stories { padding-bottom: 80px; }
.rx-head { text-align: center; margin-bottom: 36px; }
.rx-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; margin-bottom: 22px; }
.rx-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 99px; background: #3FA7C2; color: #fff; font: 700 12px Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.rx-pill--line { background: #fff; border: 1.5px solid #3FA7C2; color: #3FA7C2; }
section.rx-sec .rx-head h2 { font: 800 clamp(30px, 3vw, 42px)/1.12 Montserrat, sans-serif; color: #0C1F30; margin: 14px 0 0; letter-spacing: -.01em; }
section.rx-sec .rx-head h2 span { color: #3FA7C2; }

/* featured */
.rx-fgrid { display: grid; grid-template-columns: 1.62fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.rx-fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.rx-feat { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #fff; border: 1px solid #E6DCCF;
    box-shadow: 0 10px 24px rgba(12,31,48,.10), 0 1px 2px rgba(12,31,48,.06); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .3s, border-color .3s; }
.rx-feat--big { grid-row: span 2; aspect-ratio: auto; }
section.rx-sec .rx-feat img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; object-fit: cover; border-radius: 12px; }
.rx-label { position: absolute; left: 76px; bottom: 18px; background: #fff; border-radius: 12px; padding: 10px 16px 11px; box-shadow: 0 6px 18px rgba(12,31,48,.18); max-width: calc(100% - 96px); }
.rx-feat--big .rx-label { left: 108px; bottom: 30px; padding: 14px 22px 15px; }
.rx-tag { display: block; font: 700 10px Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #3FA7C2; margin-bottom: 4px; }
.rx-label b { display: block; font: 700 15px/1.25 Montserrat, sans-serif; color: #0C1F30; }
.rx-feat--big .rx-label b { font-size: 20px; }
.rx-feat--big .rx-tag { font-size: 11px; }

/* play button: see-through white ring, bottom left */
.rx-play { position: absolute; left: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(12,31,48,.24); border: 2px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, background .3s; }
.rx-play i { display: block; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 4px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.rx-feat .rx-play { left: 20px; bottom: 20px; width: 44px; height: 44px; }
.rx-feat .rx-play i { border-width: 9px 0 9px 15px; }
.rx-feat--big .rx-play { left: 32px; bottom: 32px; width: 60px; height: 60px; border-width: 3px; }
.rx-feat--big .rx-play i { border-width: 13px 0 13px 21px; margin-left: 5px; }

/* reels + customer cards */
.rx-sub { font: 800 20px Montserrat, sans-serif; color: #0C1F30; margin: 44px 0 16px; }
.rx-reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.rx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }
.rx-card { display: block; text-decoration: none !important; color: inherit; }
.rx-card[hidden] { display: none; }
.rx-card__ph { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; border: 1px solid #E6DCCF;
    box-shadow: 0 10px 24px rgba(12,31,48,.12), 0 1px 2px rgba(12,31,48,.06); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .3s, border-color .3s; }
.rx-card--reel .rx-card__ph { aspect-ratio: 4 / 5; }
section.rx-sec .rx-card__ph img, .rx-card__ph video { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); max-width: none; object-fit: cover; border-radius: 11px; background: #0C1F30; }
.rx-card b { display: block; margin-top: 14px; font: 700 16px Montserrat, sans-serif; color: #0C1F30; }
.rx-card q { display: block; margin-top: 4px; font: italic 600 16px/1.35 Lora, Georgia, serif; color: #3a5a66; quotes: "\201C" "\201D"; }
.rx-kicker { display: block; margin-top: 14px; font: 700 10px Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #3FA7C2; }
.rx-card--reel b { margin-top: 3px; font-size: 17px; }

/* hover: lift, frame turns teal, play ring grows */
.rx-feat:hover, .rx-feat:focus-visible, .rx-card:hover .rx-card__ph, .rx-card:focus-visible .rx-card__ph { transform: translateY(-6px); background: #3FA7C2; border-color: #3FA7C2; box-shadow: 0 18px 36px rgba(12,31,48,.18); }
.rx-feat:hover .rx-play, .rx-card:hover .rx-play, .rx-feat:focus-visible .rx-play, .rx-card:focus-visible .rx-play { background: rgba(255,255,255,.22); transform: scale(1.15); box-shadow: 0 0 0 5px rgba(255,255,255,.25), 0 4px 14px rgba(0,0,0,.35); }
.rx-feat:focus-visible, .rx-card:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .rx-feat, .rx-card__ph, .rx-play { transition: none; } .rx-feat:hover, .rx-card:hover .rx-card__ph { transform: none; } }

/* search + topics */
.rx-search { height: 46px; min-width: 280px; border: 1.5px solid #D9D9D9; border-radius: 99px; padding: 0 20px; background: #fff; color: #0C1F30; font: 500 15px Montserrat, sans-serif; }
.rx-search:focus { outline: none; border-color: #3FA7C2; box-shadow: 0 0 0 4px rgba(63,167,194,.18); }
.rx-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.rx-chips button { height: 38px; padding: 0 18px; border-radius: 99px; border: 1.5px solid #E2E2E2; background: #fff; font: 600 14px Montserrat, sans-serif; color: #4C4C4C; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.rx-chips button:hover { border-color: #3FA7C2; color: #0C1F30; }
.rx-chips button.is-on { background: #0C1F30; border-color: #0C1F30; color: #fff; }
.rx-empty { text-align: center; font: 600 16px Montserrat, sans-serif; color: #4C4C4C; margin: 30px 0 0; }
.rx-stories .rs2-disclaimer { margin-top: 48px; text-align: center; }

/* pop-up player: about half the screen, page dimmed behind it */
.rx-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: rgba(12,31,48,.72); opacity: 0; transition: opacity .3s; }
.rx-modal[hidden] { display: none; }
.rx-modal.is-open { opacity: 1; }
.rx-modal__wrap { position: relative; width: min(50vw, 880px); min-width: min(520px, 92vw); }
.rx-modal__box { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.rx-modal__box video, .rx-modal__box iframe { width: 100%; height: 100%; display: block; border: 0; background: #000; }
.rx-modal__close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #0C1F30; font: 700 26px/44px Montserrat, sans-serif; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); padding: 0; }
.rx-modal__cap { color: #fff; font: 600 16px Montserrat, sans-serif; margin: 14px 0 0; text-align: center; }

@media (max-width: 1100px) { .rx-grid { grid-template-columns: repeat(3, 1fr); } .rx-reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
    .rx-fgrid, .rx-fgrid2 { grid-template-columns: 1fr; }
    .rx-feat--big { grid-row: auto; aspect-ratio: 16 / 10; }
    .rx-grid, .rx-reels { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .rx-head--row { flex-direction: column; align-items: stretch; }
    .rx-search { min-width: 0; }
}

/* Highlight reels in their own band: the page's top-band sky (hero-sky-bg.jpg over pale blue), slimmer (Ollie, 21 Nov 2026) */
.rx-featured { padding-bottom: 64px; }
.rx-reelband { padding: 44px 0 50px; background: #DCEFF6 url("../../img/home-v2/hero-sky-bg.jpg") center / cover no-repeat;
    border-top: 1px solid rgba(63,167,194,.25); border-bottom: 1px solid rgba(63,167,194,.25); }
.rx-reelband .rx-sub { margin: 0 0 20px; font-size: 22px; }
.rx-reelband .rx-card__ph { border-color: #fff; box-shadow: 0 12px 26px rgba(12,31,48,.16), 0 1px 2px rgba(12,31,48,.06); }
.rx-reelband .rx-kicker { color: #2B8AA3; }

/* ===== Hero (Ollie, 21 Nov 2026): headline left, a wall of real customers right =====
   The wall: three columns of framed customer photos drifting slowly (middle column the other way); each face
   plays that person's story; the drift pauses under the mouse and stops for reduced-motion visitors. */
section.pg2-rs-hero.rx-hero { display: block; text-align: left; padding: 0; min-height: 0; overflow: hidden; }
.rx-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; align-items: center; min-height: 600px; }
.rx-hero__text { padding: 72px 0; }
section.pg2-rs-hero.rx-hero h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.02em; margin: 20px 0 18px; color: #0C1F30; }
section.pg2-rs-hero.rx-hero h1 span { display: block; color: #3FA7C2; }
section.pg2-rs-hero.rx-hero .rx-hero__text > p { margin: 0; max-width: 480px; font-size: 18px; line-height: 1.7; color: #3d4f59; }
.rx-hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; }
.rx-hero__cta .hv2-btn { gap: 10px; }
.rx-hero__link { font: 700 16px Montserrat, sans-serif; color: #0C1F30 !important; text-decoration: underline !important; text-decoration-color: rgba(63,167,194,.6) !important; text-underline-offset: 5px; text-decoration-thickness: 2px !important; }
.rx-hero__link:hover { text-decoration-color: #3FA7C2 !important; }
.rx-hero__facts { display: flex; gap: 0; margin: 40px 0 0; padding: 0; }
.rx-hero__facts > div { padding: 0 28px; border-left: 1px solid rgba(12,31,48,.18); }
.rx-hero__facts > div:first-child { padding-left: 0; border-left: 0; }
.rx-hero__facts dt { font: 800 30px/1 Montserrat, sans-serif; color: #0C1F30; letter-spacing: -.01em; }
.rx-hero__facts dd { margin: 8px 0 0; font: 500 14px/1.3 Montserrat, sans-serif; color: #4C5F69; }

.rx-wall { position: relative; height: 600px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.rx-wall__col { overflow: hidden; height: 100%; }
.rx-wall__track { display: flex; flex-direction: column; gap: 16px; animation: rx-drift 60s linear infinite; }
.rx-wall__col--2 .rx-wall__track { animation-direction: reverse; animation-duration: 70s; }
.rx-wall__col--3 .rx-wall__track { animation-duration: 54s; }
.rx-wall:hover .rx-wall__track { animation-play-state: paused; }
@keyframes rx-drift { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
.rx-wall__tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 10px 24px rgba(12,31,48,.14); flex: none; transition: background .3s, border-color .3s, box-shadow .3s; }
section.pg2-rs-hero .rx-wall__tile img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); max-width: none; object-fit: cover; border-radius: 12px; }
.rx-wall__name { position: absolute; left: 12px; bottom: 12px; right: 12px; font: 700 12px/1.2 Montserrat, sans-serif; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.rx-wall__tile:hover, .rx-wall__tile:focus-visible { background: #3FA7C2; border-color: #3FA7C2; box-shadow: 0 16px 32px rgba(12,31,48,.22); outline: none; }
.rx-wall__tile:hover .rx-wall__name, .rx-wall__tile:focus-visible .rx-wall__name { opacity: 1; transform: none; }
.rx-wall__quote { position: absolute; left: -34px; bottom: 64px; width: 300px; margin: 0; padding: 20px 22px 18px; background: #fff; border-radius: 16px; border-left: 5px solid #3FA7C2;
    box-shadow: 0 20px 44px rgba(12,31,48,.20); z-index: 2; }
.rx-wall__stars { display: block; color: #ECC63D; letter-spacing: 3px; font-size: 14px; }
.rx-wall__quote blockquote { margin: 8px 0 10px; font: italic 600 21px/1.25 Lora, Georgia, serif; color: #0C1F30; }
.rx-wall__quote figcaption { font: 700 12px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #3FA7C2; }
@media (prefers-reduced-motion: reduce) { .rx-wall__track { animation: none; } }
@media (max-width: 1100px) { .rx-hero__in { grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; } .rx-wall { height: 520px; } }
@media (max-width: 900px) {
    .rx-hero__in { grid-template-columns: 1fr; min-height: 0; }
    .rx-hero__text { padding: 48px 0 8px; }
    .rx-wall { height: 360px; margin-bottom: 36px; }
    .rx-wall__quote { left: 8px; bottom: 24px; width: 260px; }
    .rx-hero__facts > div { padding: 0 16px; }
}
/* the quote card sits outside the faded wall so it is never cut */
.rx-wallwrap { position: relative; }
.rx-wallwrap .rx-wall__quote { left: -40px; bottom: 70px; }
@media (max-width: 900px) { .rx-wallwrap .rx-wall__quote { left: 8px; bottom: 56px; } }

/* Featured labels, option A (Ollie, 21 Nov 2026: the white label boxes were too heavy): no box; a soft dark fade at
   the bottom of the picture with the white name and a small teal line on it */
.rx-feat::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 55%; border-radius: 0 0 12px 12px; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, rgba(8,20,32,.78), rgba(8,20,32,0)); }
.rx-feat .rx-play { z-index: 2; }
.rx-label { z-index: 2; background: none; box-shadow: none; border-radius: 0; padding: 0; left: 76px; bottom: 26px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.rx-feat--big .rx-label { left: 104px; bottom: 36px; padding: 0; }
.rx-label .rx-tag { color: #8fd8ea; }
.rx-label b { color: #fff; }
.rx-feat--big .rx-label b { font-size: 24px; }

/* rotating quote card (Ollie, 21 Nov 2026): smaller, see-through, six customer quotes taking turns */
.rx-wallwrap .rx-wall__quote { left: -28px; bottom: 76px; width: 270px; padding: 11px 15px 11px 14px; border-left-width: 3px; border-radius: 12px;
    background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 26px rgba(12,31,48,.14); }
.rx-wall__stars { font-size: 10px; letter-spacing: 2px; }
.rx-wall__quotes { display: grid; }
.rx-wall__q { grid-area: 1 / 1; opacity: 0; transform: translateY(4px); transition: opacity .6s ease, transform .6s ease; }
.rx-wall__q.is-on { opacity: 1; transform: none; }
.rx-wall__q blockquote { margin: 5px 0 5px; font: italic 600 15px/1.3 Lora, Georgia, serif; color: #0C1F30; }
.rx-wall__q figcaption { font: 700 10px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #2B8AA3; }
@media (prefers-reduced-motion: reduce) { .rx-wall__q { transition: none; } }
/* phones + tablets: the quote card stays inside the screen */
@media (max-width: 900px) { .rx-wallwrap .rx-wall__quote { left: 12px; right: auto; bottom: 48px; width: min(270px, calc(100% - 24px)); } }
/* phones: featured cards stack evenly and the big card's words are phone-sized */
@media (max-width: 767px) {
    .rx-fgrid { grid-template-rows: auto; }
    .rx-feat--big .rx-play { left: 18px; bottom: 18px; width: 44px; height: 44px; border-width: 2px; }
    .rx-feat--big .rx-play i { border-width: 9px 0 9px 15px; margin-left: 4px; }
    .rx-feat--big .rx-label { left: 74px; bottom: 22px; }
    .rx-feat--big .rx-label b { font-size: 16px; }
    .rx-feat--big .rx-tag { font-size: 10px; }
    .rx-label { max-width: calc(100% - 90px); }
}

/* Share Your Story (Ollie, 22 Nov 2026): a button beside the search, and a clean strip after the stories (no photos) */
.rx-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.rx-share-btn { height: 46px; padding: 0 20px; border-radius: 99px; border: 1.5px solid #3FA7C2; background: #fff; color: #0C1F30; font: 700 14px Montserrat, sans-serif; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.rx-share-btn:hover, .rx-share-btn:focus-visible { background: #3FA7C2; color: #fff; outline: none; }
.rx-share { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 56px auto 0; padding: 26px 32px; max-width: 900px;
    background: rgba(255,255,255,.82); border: 1px solid #fff; border-left: 4px solid #3FA7C2; border-radius: 16px; box-shadow: 0 10px 26px rgba(12,31,48,.10); }
section.rx-sec .rx-share h3 { margin: 0 0 4px; font: 800 22px/1.2 Montserrat, sans-serif; color: #0C1F30; }
section.rx-sec .rx-share p { margin: 0; font: 500 16px/1.5 Montserrat, sans-serif; color: #4C5F69; }
.rx-share .hv2-btn { flex: none; gap: 10px; }
@media (max-width: 767px) {
    .rx-tools { justify-content: stretch; }
    .rx-tools .rx-search { flex: 1 1 100%; }
    .rx-share-btn { width: 100%; }
    .rx-share { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}
