/* ENGAGE v10 course-only styles. Shared shell stays in the existing theme. */

/* The montage supplies the space beneath the floating shared navigation.
   Remove the shared interior-page offset on this template only. */
body.rtc-home.rtc-course-page{padding-top:0!important}
body.rtc-home.rtc-course-page main#rtc-course.rtc-home-main{margin-top:0!important;padding-top:0!important}

body.rtc-home .rtc-home-main .course-name{font:700 12px/1.5 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--teal);margin-bottom:20px}
body.rtc-home .rtc-home-main .display{font:400 clamp(46px,5.2vw,78px)/1.04 var(--serif);letter-spacing:-.045em;text-wrap:balance}
body.rtc-home .rtc-home-main .display em{font-style:italic;color:var(--teal)}
body.rtc-home .rtc-home-main .descriptor{font-size:20px;line-height:1.5;margin-top:22px;max-width:460px}
body.rtc-home .rtc-home-main .fine{font-size:13px;color:var(--muted);margin-top:14px}
body.rtc-home .rtc-home-main .video-card{position:relative;border-radius:18px;overflow:hidden;background:var(--navy);aspect-ratio:16/10;box-shadow:0 18px 40px #022f491f}
body.rtc-home .rtc-home-main .video-card img,body.rtc-home .rtc-home-main .video-card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.rtc-home .rtc-home-main .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:84px;height:84px;border-radius:50%;border:0;background:var(--coral);display:grid;place-items:center;box-shadow:0 8px 22px #022f4940}
body.rtc-home .rtc-home-main .play svg{width:28px;height:28px;margin-left:4px}
body.rtc-home .rtc-home-main .facts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;padding:20px 24px;border-block:1px solid var(--line);background:var(--paper);font-size:13px;font-weight:700;letter-spacing:.06em}
body.rtc-home .rtc-home-main .facts span+span:before{content:'·';margin-right:30px;color:var(--teal)}
body.rtc-home .rtc-home-main .check{display:grid;gap:0;margin-top:30px;border-top:1px solid var(--line)}
body.rtc-home .rtc-home-main .check li{display:grid;grid-template-columns:28px 1fr;gap:12px;padding:18px 0;border-bottom:1px solid var(--line);font-size:17px}
body.rtc-home .rtc-home-main .check li:before{content:'';width:8px;height:14px;margin:3px 0 0 4px;background:none;border:solid var(--teal);border-width:0 2px 2px 0;transform:rotate(45deg)}
body.rtc-home .rtc-home-main .check strong{display:block;font-size:17px}
body.rtc-home .rtc-home-main .check small{display:block;font-size:14px;color:var(--muted);margin-top:4px}
body.rtc-home .rtc-home-main .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}
body.rtc-home .rtc-home-main .price{font:400 76px/1 var(--serif);letter-spacing:-.04em;margin-top:30px}
body.rtc-home .rtc-home-main .price small{font:600 15px/1 var(--sans);letter-spacing:0;color:var(--muted);margin-left:10px}
body.rtc-home .rtc-home-main .not-incl{font-size:13px;color:var(--muted);margin-top:16px;max-width:460px}
body.rtc-home .rtc-home-main .navy-band{background:var(--navy);color:var(--paper)}
body.rtc-home .rtc-home-main .navy-band .eyebrow{color:var(--mint)}
body.rtc-home .rtc-home-main .sample-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:56px;align-items:center;margin-top:44px}
body.rtc-home .rtc-home-main .sample-note{border-left:1px solid #ffffff33;padding-left:36px}
body.rtc-home .rtc-home-main .sample-note h3{font-size:30px;margin-bottom:14px}
body.rtc-home .rtc-home-main .sample-note p{color:var(--mint);font-size:15px}
body.rtc-home .rtc-home-main .sample-note p+h4{margin-top:26px}
body.rtc-home .rtc-home-main .sample-note h4{font:700 14px/1.4 var(--sans);margin:0 0 6px}
body.rtc-home .rtc-home-main .faq-grid{display:grid;grid-template-columns:.8fr 1.4fr;gap:64px}
body.rtc-home .rtc-home-main .faq details{border-top:1px solid var(--line);padding:20px 0}
body.rtc-home .rtc-home-main .faq details:last-child{border-bottom:1px solid var(--line)}
body.rtc-home .rtc-home-main .faq summary{list-style:none;display:flex;justify-content:space-between;gap:20px;font-size:17px;font-weight:700;cursor:pointer}
body.rtc-home .rtc-home-main .faq summary::-webkit-details-marker{display:none}
body.rtc-home .rtc-home-main .faq summary:after{content:'+';font-weight:400;font-size:22px;line-height:1}
body.rtc-home .rtc-home-main .faq details[open] > summary:after{content:'−'}
body.rtc-home .rtc-home-main .faq details p{margin-top:12px;color:var(--muted);max-width:640px}
body.rtc-home .rtc-home-main .faq a{text-decoration:underline}
@media(max-width:900px){
 body.rtc-home .rtc-home-main .wrap{width:calc(100% - 40px)}
 body.rtc-home .rtc-home-main .section{padding:72px 0}
 body.rtc-home .rtc-home-main .two,body.rtc-home .rtc-home-main .sample-grid,body.rtc-home .rtc-home-main .faq-grid{grid-template-columns:1fr;gap:36px}
 body.rtc-home .rtc-home-main .sample-note{border-left:0;padding-left:0}
 body.rtc-home .rtc-home-main .facts span+span:before{display:none}
 body.rtc-home .rtc-home-main .price{font-size:60px}
}


body.rtc-home .rtc-home-main .cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:30px}
body.rtc-home .rtc-home-main .sample-link{font-size:15px;font-weight:700;color:var(--navy);text-decoration:none;border-bottom:1px solid;padding-bottom:3px}
body.rtc-home .rtc-home-main .navy-band .sample-link{color:var(--paper)}
body.rtc-home .rtc-home-main .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
body.rtc-home .rtc-home-main .chips span{font-size:12px;font-weight:700;border:1px solid var(--line);background:var(--paper);border-radius:99px;padding:6px 12px}
body.rtc-home .rtc-home-main .foryou{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
body.rtc-home .rtc-home-main .reframe{font:400 clamp(28px,2.6vw,38px)/1.2 var(--serif);letter-spacing:-.03em;margin-top:26px}
body.rtc-home .rtc-home-main figcaption{font-size:13px;font-weight:700;margin-top:16px}
body.rtc-home .rtc-home-main figcaption span{display:block;font-weight:500;color:var(--muted);font-size:12px;margin-top:3px}
body.rtc-home .rtc-home-main .teacher{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:center}
body.rtc-home .rtc-home-main .guarantee{display:flex;gap:22px;align-items:center;margin-top:28px}
body.rtc-home .rtc-home-main .seal{width:120px;height:120px;flex:none;border-radius:50%;border:2px dashed var(--teal);display:grid;place-items:center;text-align:center;font:800 12px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;padding:14px;transform:rotate(-6deg)}
body.rtc-home .rtc-home-main .close{text-align:center}
body.rtc-home .rtc-home-main .close h2{font-size:clamp(40px,4.6vw,64px)}
body.rtc-home .rtc-home-main .close .cta-row{justify-content:center}
@media(max-width:900px){body.rtc-home .rtc-home-main .foryou,body.rtc-home .rtc-home-main .teacher{grid-template-columns:1fr;gap:32px}}
body.rtc-home .rtc-home-main .btn.coral{font-size:16px!important;min-height:60px}
body.rtc-home .rtc-home-main .sample-link{font-size:16px}
body.rtc-home .rtc-home-main .voice{display:grid;gap:14px;margin-top:6px}
body.rtc-home .rtc-home-main .voice li{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:18px 22px;font:400 20px/1.4 var(--serif);position:relative}
body.rtc-home .rtc-home-main .voice li:nth-child(even){margin-left:36px;background:var(--mint);border-color:transparent}
@keyframes rtc-course-pop{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes rtc-course-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
body.rtc-home .rtc-home-main .scroller{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 2px 26px;margin-top:40px;scrollbar-width:thin}
body.rtc-home .rtc-home-main .scroller figure{flex:0 0 min(620px,86%);scroll-snap-align:start;margin:0;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:40px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}
body.rtc-home .rtc-home-main .scroller blockquote{font:400 clamp(22px,2.2vw,30px)/1.35 var(--serif);letter-spacing:-.02em}
body.rtc-home .rtc-home-main .scroller blockquote span{display:block;margin-top:14px}
body.rtc-home .rtc-home-main .scroll-ctrl{display:flex;gap:10px;justify-content:flex-end}
body.rtc-home .rtc-home-main .scroll-ctrl button{width:46px;height:46px;border-radius:50%;border:1px solid #022f4959;background:none;font-size:18px}
body.rtc-home .rtc-home-main .proof-head{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap}
body.rtc-home .rtc-home-main .why-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
body.rtc-home .rtc-home-main .why-trust div{border-top:2px solid var(--teal);padding-top:14px}
body.rtc-home .rtc-home-main .why-trust strong{display:block;font:400 20px/1.25 var(--serif)}
body.rtc-home .rtc-home-main .why-trust span{display:block;font-size:13px;color:var(--muted);margin-top:6px}
@media(max-width:900px){body.rtc-home .rtc-home-main .why-trust{grid-template-columns:1fr}body.rtc-home .rtc-home-main .voice li:nth-child(even){margin-left:16px}body.rtc-home .rtc-home-main .scroller figure{padding:26px}}
body.rtc-home .rtc-home-main .flips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:44px}
body.rtc-home .rtc-home-main .flip{display:block;width:100%;font:inherit;color:inherit;perspective:1200px;height:300px;border:0;background:none;padding:0;cursor:pointer;text-align:left}
body.rtc-home .rtc-home-main .flip .in{display:block;position:relative;width:100%;height:100%;transition:transform .6s;transform-style:preserve-3d}
body.rtc-home .rtc-home-main .flip[aria-pressed=true] .in{transform:rotateY(180deg)}
body.rtc-home .rtc-home-main .flip .f,body.rtc-home .rtc-home-main .flip .b{position:absolute;inset:0;backface-visibility:hidden;border-radius:18px;padding:26px;display:flex;flex-direction:column;justify-content:space-between}
body.rtc-home .rtc-home-main .flip .f{background:var(--paper);border:1px solid var(--line);color:var(--navy)}
body.rtc-home .rtc-home-main .flip .b{background:var(--navy);color:var(--paper);transform:rotateY(180deg)}
body.rtc-home .rtc-home-main .flip b{font:400 40px/1 var(--serif);color:var(--teal)}
body.rtc-home .rtc-home-main .flip .f strong{font:400 24px/1.2 var(--serif)}
body.rtc-home .rtc-home-main .flip small{font:700 11px/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--teal)}
body.rtc-home .rtc-home-main .flip .b small{color:#F3B3A4}
body.rtc-home .rtc-home-main .flip .b p{font:400 21px/1.35 var(--serif)}
@media(max-width:900px){body.rtc-home .rtc-home-main .flips{grid-template-columns:1fr 1fr}body.rtc-home .rtc-home-main .flip{height:260px}}
@media(max-width:520px){body.rtc-home .rtc-home-main .flips{grid-template-columns:1fr}}
body.rtc-home .rtc-home-main h1.course-name{text-transform:none;letter-spacing:0}
body.rtc-home .rtc-home-main h1.course-name .cn-small{display:block;font:700 12px/1.4 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--teal);margin-bottom:6px}
body.rtc-home .rtc-home-main h1.course-name .cn-big{display:block;font:400 clamp(26px,2.4vw,34px)/1.15 var(--serif);letter-spacing:-.02em;color:var(--navy)}
body.rtc-home .rtc-home-main .voice.armed li{opacity:0;transform:translateY(14px) scale(.97);transition:opacity .45s ease,transform .5s cubic-bezier(.2,.8,.3,1.15)}
body.rtc-home .rtc-home-main .voice.armed li.in{opacity:1;transform:none}
body.rtc-home .rtc-home-main .voice li:nth-child(odd){border-bottom-left-radius:4px;margin-right:36px}
body.rtc-home .rtc-home-main .voice li:nth-child(even){border-bottom-right-radius:4px}
body.rtc-home .rtc-home-main .voice .typing{display:flex;gap:5px;padding:16px 20px;width:max-content;background:var(--paper);border:1px solid var(--line);border-radius:14px 14px 14px 4px;opacity:0;transition:opacity .25s}
body.rtc-home .rtc-home-main .voice .typing.on{opacity:1}
body.rtc-home .rtc-home-main .voice .typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:rtc-course-dot 1s infinite ease-in-out}
body.rtc-home .rtc-home-main .voice .typing i:nth-child(2){animation-delay:.15s}body.rtc-home .rtc-home-main .voice .typing i:nth-child(3){animation-delay:.3s}
@keyframes rtc-course-dot{0%,60%,100%{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-3px)}}
body.rtc-home .rtc-home-main .flip .turn{position:absolute;top:20px;right:20px;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:17px;color:var(--teal);background:var(--cream)}
body.rtc-home .rtc-home-main .flip:hover .turn{transform:rotate(180deg);transition:transform .4s}
body.rtc-home .rtc-home-main .flip:hover .in{transform:rotateY(8deg)}
body.rtc-home .rtc-home-main .flip[aria-pressed=true]:hover .in{transform:rotateY(180deg)}
body.rtc-home .rtc-home-main .why-trust{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 28px}
body.rtc-home .rtc-home-main .stack{margin:0}
body.rtc-home .rtc-home-main .stack img{display:block;width:115%;max-width:none;margin-left:-8%;height:auto;filter:drop-shadow(0 18px 30px #022f491f)}
@media(max-width:900px){body.rtc-home .rtc-home-main .stack img{width:100%;margin:0}body.rtc-home .rtc-home-main .voice li:nth-child(odd){margin-right:0}}
body.rtc-home .rtc-home-main .offer-head{text-align:center;max-width:760px;margin:0 auto}
body.rtc-home .rtc-home-main .stack.big{max-width:1060px;margin:18px auto 8px}
body.rtc-home .rtc-home-main .stack.big img{width:100%;margin:0}
body.rtc-home .rtc-home-main .offer2{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:start;max-width:1060px;margin:0 auto}
body.rtc-home .rtc-home-main .offer2 .check{margin-top:0}
body.rtc-home .rtc-home-main .buy{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:36px;box-shadow:0 14px 34px #022f4912}
body.rtc-home .rtc-home-main .buy .price{margin-top:0}
body.rtc-home .rtc-home-main .buy .cta-row{margin-top:22px}
body.rtc-home .rtc-home-main .buy .btn.coral{width:100%}
body.rtc-home .rtc-home-main .buy .guarantee{margin-top:24px}
body.rtc-home .rtc-home-main .buy .seal{width:104px;height:104px;font-size:11px}
body.rtc-home .rtc-home-main .offer2>div{min-width:0}
@media(max-width:900px){body.rtc-home .rtc-home-main .offer2{grid-template-columns:minmax(0,1fr);gap:28px}body.rtc-home .rtc-home-main .buy{padding:26px}}
body.rtc-home .rtc-home-main .credits.course-credits .credit-track{animation-duration:90s}
body.rtc-home .rtc-home-main .credits .credit-group+.credit-group{margin-left:44px}
body.rtc-home .rtc-home-main .teacher{grid-template-columns:1fr 1fr}
@media(max-width:900px){body.rtc-home .rtc-home-main .teacher{grid-template-columns:1fr}}
body.rtc-home .rtc-home-main .teacher-film{margin:0;position:relative}
body.rtc-home .rtc-home-main .tf-frame{position:relative}
body.rtc-home .rtc-home-main .tf-frame:before{content:"";position:absolute;inset:-16px;border-radius:22px;background:var(--mint);z-index:0}
body.rtc-home .rtc-home-main .teacher-film video{position:relative;z-index:1;display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px;border:8px solid var(--paper);box-shadow:0 18px 40px #022f4924;background:var(--navy)}
body.rtc-home .rtc-home-main .teacher-film figcaption{position:relative;z-index:1;margin-top:34px;text-align:center}
body.rtc-home .rtc-home-main .teacher-film figcaption strong{display:block;font:400 22px/1.2 var(--serif);color:var(--navy)}
body.rtc-home .rtc-home-main .teacher-film figcaption span{display:block;margin-top:4px;font:700 11px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--teal)}
@media(max-width:900px){body.rtc-home .rtc-home-main .tf-frame{position:relative}
body.rtc-home .rtc-home-main .tf-frame:before{inset:-10px}}
body.rtc-home .rtc-home-main .guilt-sec .chapter-tabs{grid-template-columns:repeat(5,1fr)}
body.rtc-home .rtc-home-main .guilt-art{display:flex;align-items:center;padding:56px;background-color:var(--sand);background-image:var(--page-grain);border-radius:0}
body.rtc-home .rtc-home-main .guilt-q{margin:0;font:italic 400 clamp(30px,3vw,46px)/1.2 var(--serif);letter-spacing:-.02em;color:var(--navy)}
body.rtc-home .rtc-home-main .guilt-q small{display:block;font:700 11px/1.4 var(--sans);font-style:normal;letter-spacing:.14em;text-transform:uppercase;color:#A44933;margin-bottom:22px}
body.rtc-home .rtc-home-main .g-dont{margin-top:22px!important;padding-top:16px;border-top:1px solid var(--line);color:var(--navy)!important;font-weight:600}
body.rtc-home .rtc-home-main .g-dont span{color:#A44933;margin-right:6px;font-size:18px}
body.rtc-home .rtc-home-main .guilt-sec .chapter-panel h3{font-size:clamp(30px,2.6vw,40px)}
@media(max-width:1000px){body.rtc-home .rtc-home-main .guilt-sec .chapter-tabs{display:flex;overflow-x:auto;padding-inline:0;scrollbar-width:none}body.rtc-home .rtc-home-main .guilt-sec .chapter-tab{flex:0 0 auto!important;width:auto!important;min-width:140px}body.rtc-home .rtc-home-main .guilt-art{padding:36px 28px;min-height:0;aspect-ratio:auto}}
body.rtc-home .rtc-home-main .faq-more{border:0!important;padding:0!important;margin-top:26px}
body.rtc-home .rtc-home-main .faq-more>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:20px 24px;font-size:16px}
body.rtc-home .rtc-home-main .faq-more>summary span{font-weight:400;color:var(--muted);display:block;font-size:14px;margin-top:4px}
body.rtc-home .rtc-home-main .faq-more[open]>summary{margin-bottom:10px}
body.rtc-home .rtc-home-main .faq-more details:first-of-type{border-top:0}

/* Integration fixes and the requested final-tab invitation. */
body.rtc-home .rtc-home-main{--page-grain:url('https://readingtoconnect.com/wp-content/themes/blocksy-child/img/paper-grain.svg');--rtc-circle-lift:0 3px 6px #022f4926}
body.rtc-home .rtc-home-main [hidden]{display:none!important}
body.rtc-home .rtc-home-main .two>*,body.rtc-home .rtc-home-main .sample-grid>*,body.rtc-home .rtc-home-main .foryou>*,body.rtc-home .rtc-home-main .teacher>*,body.rtc-home .rtc-home-main .chapter-layout>*,body.rtc-home .rtc-home-main .faq-grid>*{min-width:0}
body.rtc-home .rtc-home-main section[id]{scroll-margin-top:105px}
body.rtc-home .rtc-home-main .guilt-enroll{margin-top:26px}
body.rtc-home .rtc-home-main .guilt-enroll.is-revealed{animation:rtc-course-enroll-in .38s ease-out both}
body.rtc-home .rtc-home-main .teacher-motion{position:absolute;right:16px;bottom:16px;z-index:2;border:1px solid var(--line);border-radius:99px;background:var(--paper);color:var(--navy);padding:8px 14px;min-height:44px;font:600 12px/1.3 var(--sans);cursor:pointer}
body.rtc-home .rtc-home-main .btn:disabled{cursor:not-allowed;opacity:.65}
body.rtc-home .rtc-home-main :is(a,button,summary):focus-visible{outline:3px solid var(--teal);outline-offset:5px}
body.rtc-home .rtc-home-main .navy-band :is(a,button):focus-visible{outline-color:var(--mint)}
body.rtc-home .rtc-home-main .credits.paused .credit-track{animation-play-state:paused}
body.rtc-home .rtc-home-main .voice .typing:not(.on){display:none}
body.rtc-home .rtc-home-main .chapter-tab{min-height:44px}
@keyframes rtc-course-enroll-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:520px){
 body.rtc-home .rtc-home-main .buy .guarantee{flex-direction:column;align-items:flex-start;gap:16px}
 body.rtc-home .rtc-home-main .btn.coral{max-width:100%;white-space:normal}
 body.rtc-home .rtc-home-main .why-trust{gap:20px 16px}
 body.rtc-home .rtc-home-main .flip{height:300px}
}
@media(prefers-reduced-motion:reduce){
 body.rtc-home .rtc-home-main,body.rtc-home .rtc-home-main *,body.rtc-home .rtc-home-main *::before,body.rtc-home .rtc-home-main *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 body.rtc-home .rtc-home-main .voice.armed li:not(.typing){opacity:1;transform:none}
 body.rtc-home .rtc-home-main .voice .typing{display:none!important}
 body.rtc-home .rtc-home-main .flip:hover .in{transform:none}
 body.rtc-home .rtc-home-main .flip[aria-pressed=true] .in{transform:rotateY(180deg)}
 body.rtc-home .rtc-home-main .flip .turn{transform:none!important}
 body.rtc-home .rtc-home-main .credit-track{transform:none!important;width:auto!important}
 body.rtc-home .rtc-home-main .credit-set[aria-hidden=true]{display:none}
 body.rtc-home .rtc-home-main .credit-window{overflow-x:auto}
 body.rtc-home .rtc-home-main .credit-set,body.rtc-home .rtc-home-main .credit-group{flex-wrap:wrap;white-space:normal}
}

/* Course variant of the shared footer. These selectors intentionally sit
   outside main and are restricted to this template's body class. */
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-tagline{font:400 clamp(22px,2.2vw,30px)/1.25 var(--serif);margin-bottom:40px}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px;align-items:end}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-wordmark{font:800 clamp(46px,6.2vw,92px)/.92 var(--sans);letter-spacing:-.055em;margin:0;max-width:none}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-line{display:block;white-space:nowrap}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links{min-width:0;text-align:right}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links ul{display:grid;grid-template-columns:1fr;gap:12px;list-style:none;padding:0;margin:0}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links a{font:500 15px/1.5 var(--sans);color:inherit;text-decoration:none}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links a:hover{text-decoration:underline;text-underline-offset:4px}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-credit{max-width:220px;margin:22px 0 0;line-height:1.5}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-credit a{font-size:13px}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:1100px){
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-main{grid-template-columns:minmax(0,1fr);gap:36px}
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links{text-align:left}
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-credit{max-width:none}
}
@media(max-width:600px){
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-wordmark{font-size:clamp(32px,9vw,54px);line-height:1}
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-line{white-space:normal}
}

/* Screenshot review: spacing, media proportions and teacher alignment. */
body.rtc-home .rtc-home-main .course-hero{padding:136px 0 72px!important}
body.rtc-home .rtc-home-main .course-hero .two{grid-template-columns:1.05fr .95fr;gap:56px}
body.rtc-home .rtc-home-main .course-hero h1.course-name{margin:0 0 22px}
body.rtc-home .rtc-home-main .course-hero .display{font-size:clamp(42px,3.5vw,64px);line-height:1.08;letter-spacing:-.04em;text-wrap:pretty;margin:0 0 24px}
body.rtc-home .rtc-home-main .course-hero .descriptor{margin:0;max-width:490px;font-size:18px;line-height:1.6}
body.rtc-home .rtc-home-main .course-hero .cta-row{margin-top:26px}
body.rtc-home .rtc-home-main .course-hero .chips{margin-top:20px}
body.rtc-home .rtc-home-main .video-card{aspect-ratio:16/9}
body.rtc-home .rtc-home-main .video-card img,body.rtc-home .rtc-home-main .video-card video{object-fit:contain}
body.rtc-home .rtc-home-main .teacher{align-items:start}
body.rtc-home .rtc-home-main .teacher-film{align-self:start;margin-top:16px}
body.rtc-home .rtc-home-main .rtc-course-setup-notice{font:500 12px/1.5 var(--sans);color:var(--muted);padding:0 0 18px;margin:0}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-tagline{margin-bottom:28px}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-main{align-items:start}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links ul{gap:8px}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-credit{margin-top:18px}
@media(max-width:900px){
 body.rtc-home .rtc-home-main .course-hero{padding:112px 0 56px!important}
 body.rtc-home .rtc-home-main .course-hero .two{grid-template-columns:minmax(0,1fr);gap:36px}
 body.rtc-home .rtc-home-main .course-hero .display{font-size:clamp(40px,6.2vw,56px)}
 body.rtc-home .rtc-home-main .teacher-film{margin-top:10px}
}

/* Approved montage hero: course page only. */

body.rtc-home .rtc-home-main .rtc-montage-hero{--eh-navy:#022f49;--eh-cream:#faf6ef;--eh-mint:#d8eae4;--eh-coral:#e9785f;font-family:Manrope,Arial,sans-serif;color:var(--eh-cream);background:var(--eh-navy);width:100%;isolation:isolate}
body.rtc-home .rtc-home-main .rtc-montage-hero *{box-sizing:border-box}
body.rtc-home .rtc-home-main .rtc-montage-hero button{font:inherit;cursor:pointer}
body.rtc-home .rtc-home-main .rtc-montage-hero button:focus-visible{outline:3px solid #58bfd1;outline-offset:5px}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-stage{position:relative;overflow:hidden;background:var(--eh-navy)}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film{position:absolute;top:204px;right:0;width:min(70%,960px);height:auto;aspect-ratio:16/9;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.1) 2%,rgba(0,0,0,.35) 4%,rgba(0,0,0,.65) 6%,rgba(0,0,0,.9) 9%,#000 12%,#000 88%,rgba(0,0,0,.9) 91%,rgba(0,0,0,.65) 94%,rgba(0,0,0,.35) 96%,rgba(0,0,0,.1) 98%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.1) 2%,rgba(0,0,0,.35) 4%,rgba(0,0,0,.65) 6%,rgba(0,0,0,.9) 9%,#000 12%,#000 88%,rgba(0,0,0,.9) 91%,rgba(0,0,0,.65) 94%,rgba(0,0,0,.35) 96%,rgba(0,0,0,.1) 98%,transparent 100%)}
/* Independent edge fades: no radial mask and no fade along the right edge. */
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,#022f49 0%,rgba(2,47,73,.97) 6%,rgba(2,47,73,.84) 12%,rgba(2,47,73,.5) 22%,rgba(2,47,73,.16) 32%,rgba(2,47,73,.03) 40%,rgba(2,47,73,0) 48%)}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film video,body.rtc-home .rtc-home-main .rtc-montage-hero .eh-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:right top;border:0;border-radius:0;box-shadow:none;outline:0}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film video{opacity:0;transition:opacity .6s ease}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film video.eh-ready{opacity:1}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-shade{position:absolute;inset:0;background:linear-gradient(90deg,#022f49 0%,#022f49 24%,rgba(2,47,73,.98) 33%,rgba(2,47,73,.91) 42%,rgba(2,47,73,.62) 53%,rgba(2,47,73,.12) 73%,rgba(2,47,73,.02) 100%);pointer-events:none}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-enroll{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;min-height:58px;border:0;border-radius:100px;background:var(--eh-coral);color:var(--eh-navy);font-weight:800;font-size:15px;padding:8px 8px 8px 24px;white-space:nowrap}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-enroll span{display:grid;place-items:center;background:var(--eh-cream);width:42px;height:42px;border-radius:50%;font-size:28px;line-height:1;font-weight:400}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-inner{position:relative;z-index:2;width:min(100%,1392px);min-height:760px;margin:0 auto;padding:168px 56px 64px;display:flex;align-items:flex-start}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-copy{width:50%;max-width:600px;text-align:left}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-eyebrow{font-size:11px;letter-spacing:2.3px;font-weight:800;color:var(--eh-mint);margin:0 0 13px}
body.rtc-home .rtc-home-main .rtc-montage-hero h1{font-family:Lora,Georgia,serif;font-size:clamp(23px,2vw,30px);line-height:1.25;font-weight:400;letter-spacing:-.6px;margin:0 0 30px;color:var(--eh-cream)}
body.rtc-home .rtc-home-main .rtc-montage-hero h2{font-family:Lora,Georgia,serif;font-size:clamp(36px,4vw,56px);line-height:1.14;letter-spacing:-1.3px;font-weight:400;margin:0 0 25px;color:var(--eh-cream);max-width:none;text-wrap:wrap}
body.rtc-home .rtc-home-main .rtc-montage-hero h2 em{font-weight:400;color:var(--eh-mint)}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-description{font-size:17px;line-height:1.75;max-width:440px;margin:0 0 30px;color:#f2f2ed}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-sample{background:none;border:0;border-bottom:1px solid #c2d5d6;padding:10px 0 7px;color:var(--eh-cream);font-size:14px;font-weight:700;min-height:44px}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-reassurance{margin:23px 0 0;font-size:12px;line-height:1.8;color:#e2ece9}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-reassurance span{padding:0 6px}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-credential{margin:5px 0 0;font-size:12px;line-height:1.6;color:#d3e0e0}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-media-meta{position:absolute;z-index:3;right:28px;bottom:25px;display:flex;align-items:center;gap:14px}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-audio-note{font-size:12px;font-weight:500;line-height:1.4;color:#e3ecea;text-shadow:0 1px 4px #022f49}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-motion{position:relative;min-height:40px;border:1px solid #ffffff66;border-radius:30px;padding:9px 17px;color:var(--eh-cream);background:#022f49cc;font-size:12px;backdrop-filter:blur(8px)}

@media(max-width:1100px){body.rtc-home .rtc-home-main .rtc-montage-hero .eh-inner{padding-left:38px;padding-right:38px}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-copy{width:52%}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-description{font-size:15px}}
@media(max-width:850px){body.rtc-home .rtc-home-main .rtc-montage-hero .eh-copy{width:57%}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-inner{min-height:660px}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-actions{gap:14px}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-enroll{font-size:14px;gap:14px}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-sample{font-size:13px}body.rtc-home .rtc-home-main .rtc-montage-hero h2{font-size:42px}}
@media(max-width:600px){body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film::after{display:none}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-inner{padding:122px 26px 340px;min-height:0;align-items:start}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-copy{width:100%;max-width:480px}body.rtc-home .rtc-home-main .rtc-montage-hero h1{font-size:24px;margin-bottom:25px}body.rtc-home .rtc-home-main .rtc-montage-hero h2{font-size:clamp(32px,8.8vw,46px);letter-spacing:-1px}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-description{font-size:16px;line-height:1.7}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film{top:auto;bottom:0;width:100%;height:345px}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film video,body.rtc-home .rtc-home-main .rtc-montage-hero .eh-poster{object-position:center;object-fit:cover}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-shade{background:linear-gradient(0deg,rgba(2,47,73,.12) 0px,rgba(2,47,73,.02) 180px,#022f49 340px)}body.rtc-home .rtc-home-main .rtc-montage-hero .eh-media-meta{right:18px;bottom:18px}}
@media(prefers-reduced-motion:reduce){body.rtc-home .rtc-home-main .rtc-montage-hero .eh-film video{transition:none}}

/* Override the shared section spacing on this exact hero, including :first-child. */
body.rtc-home .rtc-home-main > section#course-intro.rtc-montage-hero{padding:0!important;margin:0;background:var(--eh-navy)}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-enroll,body.rtc-home .rtc-home-main .rtc-montage-hero .eh-sample{text-decoration:none}
body.rtc-home .rtc-home-main .rtc-montage-hero .eh-enroll{font-family:var(--sans)}

/* Place the course label and navigation on the same top grid line. */
body.rtc-home.rtc-course-page .rtc-footer .rtc-wrap{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:64px;row-gap:28px;align-items:start}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-main{display:contents}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-tagline{grid-column:1;grid-row:1;margin:0}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-wordmark{grid-column:1;grid-row:2;align-self:start}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links{grid-column:2;grid-row:1 / span 2;text-align:left;align-self:start;justify-self:start;padding:0}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-credit{margin:20px 0 0;text-align:left}
body.rtc-home.rtc-course-page .rtc-footer .rtc-f-bottom{grid-column:1 / -1;grid-row:3;width:100%;margin-top:20px}
@media(max-width:1100px){
 body.rtc-home.rtc-course-page .rtc-footer .rtc-wrap{grid-template-columns:minmax(0,1fr);row-gap:26px}
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-tagline{grid-column:1;grid-row:1}
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-wordmark{grid-column:1;grid-row:2}
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-course-links{grid-column:1;grid-row:3}
 body.rtc-home.rtc-course-page .rtc-footer .rtc-f-bottom{grid-column:1;grid-row:4}
}
