/* Subjects and module codes on the Offers page. */
.offer-subjects {
 background: #f0eee7;
 padding-block: clamp(44px, 6.5vw, 92px);
}
.offer-subjects-intro {
 display: grid;
 grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
 align-items: center;
 gap: clamp(24px, 6.2vw, 88px);
}
.offer-subjects-intro h2 {
 font-size: clamp(37px, 4.7vw, 63px);
}
.offer-subjects-intro p {
 max-width: 42ch;
 margin-top: 14px;
 color: var(--muted);
}
.offer-subjects-intro img {
 width: 100%;
 aspect-ratio: 1.8;
 object-fit: cover;
 object-position: center 66%;
 border-radius: 14px;
}
.offer-subject-list {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 25px;
 margin: clamp(25px, 3.8vw, 54px) 0 0;
}
.offer-subject-list > div { border-top: 1px solid #a7b6ab; padding-top: 16px; }
.offer-subject-list dt { font: clamp(24px, 2.6vw, 36px)/1.06 var(--serif); margin-bottom: 14px; }
.offer-subject-list dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.offer-subject-list dd + dd { margin-top: 9px; }
.offer-subject-list dd span { display: block; font-weight: 600; color: var(--teal-dark); }

@media (min-width: 761px) {
 .offers-intro .premium-card .offer-card-content > .button { margin-top: auto; }
}

@media (max-width: 700px) {
 .offer-subjects-intro,
 .offer-subject-list { grid-template-columns: minmax(0, 1fr); }
 .offer-subject-list { gap: 18px; }
}
.offers-intro .premium-card .offer-card-content > .button.primary { background: var(--promo-red); }
.offers-intro .premium-card .offer-card-content > .button.primary:hover { background: var(--promo-red-hover); }
/* Offers page subject selector */
.offers-intro .offers-heading{display:flex;flex-direction:column;align-items:center;gap:20px;margin:0 auto 34px;text-align:center}
.offers-intro .offers-heading h1{font-size:clamp(34px,5.1vw,64px);line-height:1.08}
.subject-switch{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid #d6ddd7;border-radius:999px;background:#eef0eb;box-shadow:inset 0 1px 0 #fff}
.subject-switch [role=tab]{min-width:132px;min-height:44px;padding:10px 20px;border:0;border-radius:999px;background:transparent;color:#4b5b50;font-family:var(--label);font-size:12px;font-weight:500;line-height:1.4;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.subject-switch [role=tab][aria-selected=true]{background:#fffefa;color:#173d34;font-weight:600;box-shadow:0 1px 4px #1d35251f,inset 0 0 0 1px #c9d2ca}
.subject-switch [role=tab]:focus-visible{outline:3px solid #258879;outline-offset:3px}
@media(max-width:760px){
 .offers-intro .offers-heading{gap:17px;margin-bottom:28px}
 .offers-intro .offers-heading h1{font-size:clamp(34px,8.7vw,46px)}
 .subject-switch [role=tab]{min-width:0;padding-inline:18px}
}
/* Keep the price and offer name anchored in the image band. */
.offer-image-placeholder{height:178px;padding:20px 30px;display:flex;align-items:flex-end}
.offer-image-copy{width:100%;min-width:0}
.offer-image-copy h2{font-size:clamp(30px,3vw,37px);font-style:italic;line-height:1.02;margin:0 0 9px}
.premium-placeholder{background:#71897d}
.premium-placeholder .offer-image-copy h2,.premium-placeholder .offer-price{color:#fffdf5}
.apex-placeholder{background:#3a3a30}
.apex-placeholder .offer-image-copy h2,.apex-placeholder .offer-price{color:#f0dfb5}
.offer-image-copy .offer-price{font-family:var(--label);font-size:30px;line-height:1.1;font-weight:500;margin:0}
.offer-image-copy .offer-price span{display:inline;font-size:11px;font-weight:400;margin-left:6px;color:inherit}
.offer-image-copy .offer-price-row{margin:0;align-items:baseline;gap:8px 18px}
.offer-image-copy .offer-saving{display:flex;align-items:baseline;gap:7px;font-size:10px;line-height:1.4;margin:0;color:#f3f1e8}
.offer-image-copy .offer-saving s{color:#e3e5dc}
@media(max-width:760px){
 .offer-image-placeholder{height:164px;padding:18px 22px}
 .offer-image-copy h2{font-size:31px;margin-bottom:7px}
 .offer-image-copy .offer-price{font-size:26px}
 .offer-image-copy .offer-price span{font-size:10px;margin-left:4px}
 .offer-image-copy .offer-saving{font-size:9px;gap:5px}
 .offer-image-copy .offer-price-row{gap:8px 12px}
}

/* Keep the two offers in view as soon as the page opens. */
.offers .site-header{display:none}
.offers .offers-intro{min-height:100vh;min-height:100svh;padding:20px 0 32px}
.offers-intro .offers-heading{flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;margin:0 auto 22px;text-align:center}
.offers-intro .offers-heading h1{font-size:clamp(36px,4vw,46px);line-height:1.04}
.subject-switch{flex:none}
.subject-switch [role=tab]{min-width:108px;min-height:34px;padding:7px 14px;font-size:10px}
.offers-intro .offer-grid{gap:20px}
.offer-image-placeholder{height:126px;padding:15px 22px}
.offer-image-copy h2{font-size:clamp(27px,2.5vw,32px);margin-bottom:6px}
.offer-image-copy .offer-price{font-size:25px}
.offer-image-copy .offer-price span{font-size:10px}
.offer-image-copy .offer-saving{font-size:9px}
.offer-card-content{padding:14px 20px 16px}
.offer-subtitle{font-size:11px;line-height:1.45;margin-top:0}
.offer-schedule{font-size:10px;line-height:1.4;margin-top:4px}
.offer-features{margin-top:9px}
.offer-features li{grid-template-columns:15px 1fr;gap:8px;padding:4px 0;font-size:10px;line-height:1.4}
.offer-features svg,.offer-bonus>svg{width:15px;height:15px}
.offer-card-content .guarantee{margin-top:9px;padding-top:8px}
.offer-card-content .guarantee h3{font-size:10px;line-height:1.35}
.offer-card-content .guarantee p{font-size:9px;line-height:1.45;margin-top:3px}
.offer-bonus{grid-template-columns:15px 1fr;gap:8px;margin-top:8px;padding-top:7px}
.offer-bonus p{font-size:9px;line-height:1.4;gap:1px}
.offer-bonus strong{font-size:8px}
.offer-card-content>.button{min-height:38px;padding:9px 16px;font-size:10px;gap:12px}
.offer-card-content>.button .icon-arrow{width:15px;height:15px}
.offer-card-content>.offer-bonus+.button{margin-top:10px}

@media(max-width:760px){
 .offers .offers-intro{min-height:100vh;min-height:100svh;padding:18px 0 28px}
 .offers-intro .offers-heading{gap:7px;margin-bottom:18px}
 .offers-intro .offers-heading h1{font-size:clamp(32px,7.5vw,40px)}
 .subject-switch [role=tab]{min-width:0;min-height:32px;padding:6px 13px}
 .offers-intro .offer-grid{grid-template-columns:1fr;gap:20px}
 .offer-image-placeholder{height:132px;padding:14px 18px}
 .offer-image-copy h2{font-size:29px}
 .offer-card-content{padding:15px 17px 17px}
 .offer-subtitle{font-size:11px}
 .offer-features{margin-top:9px}
 .offer-features li{font-size:10px;gap:8px;padding:4px 0}
 .offer-card-content .guarantee{margin-top:9px;padding-top:8px}
 .offer-card-content .guarantee p{font-size:9px}
 .offer-bonus{margin-top:8px;padding-top:7px}
 .offer-card-content>.button{margin-top:12px;width:100%;justify-content:center}
}

/* MELL's deep-green selector treatment and a roomier desktop card rhythm. */
.subject-switch{gap:2px;padding:3px;border-color:transparent;background:#e9eee8;box-shadow:none}
.subject-switch [role=tab]{min-width:94px;min-height:29px;padding:6px 12px;font-size:9px}
.subject-switch [role=tab][aria-selected=true]{background:var(--teal);color:#fffefa;box-shadow:none}
.subject-switch [role=tab]:focus-visible{outline-color:var(--teal);outline-offset:2px}
.offer-image-placeholder{position:relative}
.offer-image-placeholder::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(15,22,19,.78),rgba(15,22,19,.08) 86%);pointer-events:none}
.offer-card-photo{position:absolute;inset:0;z-index:0;width:100%;height:100%;max-width:none;object-fit:cover}
.premium-placeholder .offer-card-photo{object-position:50% 54%}
.apex-placeholder .offer-card-photo{object-position:50% 0%}
.offer-image-copy{position:relative;z-index:2}
@media(min-width:761px){
 .offers-intro .offer-card{min-height:min(640px,calc(100svh - 250px))}
 .offer-image-placeholder{height:180px}
 .offer-card-content{padding:22px 26px 24px}
 .offer-subtitle{font-size:12px;line-height:1.55}
 .offer-schedule{font-size:10px;line-height:1.5;margin-top:7px}
 .offer-features{margin-top:14px}
 .offer-features li{grid-template-columns:16px 1fr;gap:10px;padding:6px 0;font-size:11px;line-height:1.5}
 .offer-features svg,.offer-bonus>svg{width:16px;height:16px}
 .offer-card-content .guarantee{margin-top:13px;padding-top:11px}
 .offer-card-content .guarantee h3{font-size:11px}
 .offer-card-content .guarantee p{font-size:10px;line-height:1.55;margin-top:4px}
 .offer-bonus{grid-template-columns:16px 1fr;gap:10px;margin-top:12px;padding-top:10px}
 .offer-bonus p{font-size:10px;line-height:1.5;gap:2px}
 .offer-bonus strong{font-size:9px}
 .offer-card-content>.button{min-height:42px;font-size:11px}
}

/* Translucent MELL glass for Premium and a brighter metallic sheen for Apex. */
.subject-switch{background:transparent}
.offers-intro .premium-card{background:radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.52),transparent 48%),linear-gradient(135deg,rgba(250,250,244,.92),rgba(225,236,229,.87) 56%,rgba(216,230,222,.92));box-shadow:inset 0 1px 0 #fff,inset 0 0 34px rgba(255,255,255,.16),0 18px 42px -26px #263c3070;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.offers-intro .apex-card{background:linear-gradient(125deg,#29281e 0%,#171d17 44%,#323024 100%);box-shadow:inset 0 1px 0 #f9eacb,inset 0 0 0 1px #dfcb9826,0 18px 50px -25px #67512f78,0 0 0 4px #dfcb981b}
.offers-intro .apex-card::before{z-index:2;background:radial-gradient(ellipse at 85% -10%,rgba(169,147,87,.26),transparent 55%),linear-gradient(115deg,transparent 22%,#f4e2af08 37%,#fff1c722 43%,transparent 50%)}
.offers-intro .apex-card>.offer-card-content{z-index:3}
.offers-intro .apex-placeholder .offer-image-copy{z-index:4}
.offer-image-placeholder::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none}
.offer-image-placeholder::after{background:linear-gradient(0deg,rgba(15,22,19,.58),rgba(15,22,19,.03) 86%)}
.premium-placeholder::before{background:linear-gradient(118deg,rgba(226,239,231,.12),rgba(255,255,255,.2) 24%,transparent 51%,rgba(136,169,156,.16) 100%),radial-gradient(ellipse at 15% 0%,rgba(249,255,250,.18),transparent 58%);box-shadow:inset 0 1px 0 rgba(255,255,255,.48)}
.apex-placeholder::before{background:transparent;box-shadow:inset 0 1px 0 rgba(255,241,205,.42)}
.offer-image-copy h2,.offer-image-copy .offer-price{text-shadow:0 2px 12px rgba(0,0,0,.34)}
@media(max-width:760px){
 .subject-switch{width:min(100%,420px);gap:1px}
 .subject-switch [role=tab]{flex:1;min-width:0;padding-inline:5px;font-size:9px;white-space:nowrap}
}

/* Keep the Offers page on one lighter, continuous canvas. */
body.offers{--offers-page-bg:#fffefa;background:var(--offers-page-bg)}
.offers main,.offers .offers-intro,.offers .reviews-section,.offers .faq-section,.offers .offer-course-codes{background:var(--offers-page-bg)}
.offers-intro .offers-heading{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;grid-template-rows:auto auto;gap:8px 0;align-items:center}
.offers-intro .offers-heading h1{grid-column:2;grid-row:1}
.offers-intro .subject-switch{grid-column:2;grid-row:2;justify-self:center}
.offers-back{grid-column:1;grid-row:1;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:var(--ink);text-decoration:none;transition:background .18s ease}
.offers-back:hover{background:#eef0eb}
.offers-back svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.offer-course-codes{padding:clamp(30px,4vw,54px) 0 clamp(34px,5vw,64px)}
.offer-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,38px);margin:0}
.offer-course-grid>div{border-top:1px solid #d6dad3;padding-top:14px}
.offer-course-grid dt{font:italic clamp(22px,2.2vw,29px)/1.08 var(--serif);margin-bottom:13px}
.offer-course-grid dd{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;margin:0;font-size:11px;line-height:1.6}
.offer-course-grid dd+dd{margin-top:6px}
.offer-course-grid dd strong{font-family:var(--label);font-size:10px;font-weight:500;color:var(--muted)}
.offer-course-grid dd span{font-family:var(--label);font-size:10px;line-height:1.7}
@media(max-width:700px){
 .offer-course-grid{grid-template-columns:1fr;gap:18px}
 .offer-course-grid>div{padding-top:12px}
 .offer-course-grid dt{font-size:25px;margin-bottom:9px}
 .offer-course-grid dd{grid-template-columns:76px minmax(0,1fr)}
}
