/* =========================================================================
   Arya Academy Courses: public website look, matched to
   cambridgeupskillenglishtest.com (indigo, white, lavender, pill buttons).
   ========================================================================= */

/* Signed-in pages on phones: the column may never grow wider than the screen
   (the menu row scrolls sideways inside itself instead). */
.dash { grid-template-columns: minmax(0, 1fr); }
.dash > * { min-width: 0; }
@media (min-width: 960px) { .dash { grid-template-columns: 250px minmax(0, 1fr); } }

/* Image/file upload fields ("Currently: site/logo.png  Change: …") wrap on phones. */
.form-field, .studio-form .panel { min-width: 0; }
.form-field input[type="file"] { max-width: 100%; }
.form-field a { overflow-wrap: anywhere; }

/* Anything marked "hidden" stays hidden, even if it has a button style. */
[hidden] { display: none !important; }
.form-field select { height: 48px; min-height: 48px; padding-top: 0; padding-bottom: 0; }

:root {
  --indigo-950: #061427;
  --indigo-900: #071A34;
  --indigo-800: #0A2540;
  --lavender-50: #F1FAF9;
  --lavender-100: #DFF6F4;
  --heading: #0B0912;
  --book-orange: #FF8530;
}

h1, h2, h3 { color: var(--heading); }
.hl { color: var(--blue-500); }
.eyebrow--light { color: #B9C2FF; }

/* ---------- Header with the real logo ---------- */
.brand__logo { width: 46px; height: auto; flex: none; display: block; }
.brand > span { display: flex; flex-direction: column; }
.brand__sub { order: -1; font-size: 9.5px; color: var(--blue-500); margin: 0 0 2px; }
.brand__name { font-size: 21px; font-weight: 800; }
.site-header .brand { min-width: 0; }
.site-header .brand > span { min-width: 0; overflow: hidden; }
@media (max-width: 420px) {
  .site-header .brand__logo { width: 38px; }
  .site-header .brand__name { font-size: 18px; }
  .header-actions .btn { padding: 0 12px; font-size: 13px; }
}
.site-footer .brand__logo { background: #fff; border-radius: 10px; padding: 4px; width: 52px; }

/* ---------- Buttons ---------- */
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--glass:hover { background: rgba(255,255,255,.2); }
.btn--book { background: var(--book-orange); color: var(--on-brand); box-shadow: 0 10px 24px rgba(242,107,29,.3); }
.btn--book:hover { background: #D95A12; }

/* ---------- Photo hero (same idea as the main website) ---------- */
.photo-hero {
  position: relative; color: #fff; overflow: hidden; background-color: #1B110C;
  background-image:
    linear-gradient(90deg, rgba(18,8,5,.92) 0%, rgba(20,9,6,.84) 30%, rgba(21,10,7,.55) 55%, rgba(20,10,7,.12) 80%, rgba(12,7,5,0) 100%),
    var(--hero-img, none);
  background-size: cover; background-position: 70% center;
}
.photo-hero__inner { position: relative; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 7vw, 96px); max-width: var(--container); }
.photo-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #EADFD8; }
.photo-hero__eyebrow .brand__logo, .photo-hero__eyebrow .brand__mark { width: 34px; background: #fff; border-radius: 8px; padding: 2px; }
.photo-hero h1 { color: #fff; font-size: clamp(2.7rem, 1.6rem + 5vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; margin: 18px 0 14px; max-width: 12ch; line-height: 1.02; }
.photo-hero__sub { font-size: clamp(1rem, .95rem + .4vw, 1.2rem); color: #E9E1DB; max-width: 40ch; margin-bottom: 28px; }
.photo-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-hero__trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.photo-hero__trust li { display: grid; }
.photo-hero__trust strong { font-size: 1.35rem; letter-spacing: -0.02em; }
.photo-hero__trust span { font-size: 12px; color: #D9CCC4; }
@media (max-width: 720px) {
  .photo-hero { background-position: 78% top; background-size: auto 62%; background-repeat: no-repeat;
    background-image: linear-gradient(180deg, rgba(27,17,12,0) 0%, rgba(27,17,12,.35) 30%, #1B110C 58%), var(--hero-img, none); }
  .photo-hero__inner { padding-top: 46vw; }
  .photo-hero h1 { max-width: none; }
}

/* ---------- Section helpers ---------- */
.section--lavender { background: linear-gradient(180deg, var(--lavender-50) 0%, #FBFBFF 100%); }
.section--tight { padding-top: calc(var(--section-y) * .5); padding-bottom: calc(var(--section-y) * .5); }
.center-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.center-head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; }
.center-head p { color: var(--ink-2); margin: 0; }
.center-cta { text-align: center; margin-top: 28px; }

/* ---------- Course cards (thumbnail + indigo strip) ---------- */
.course-card { border-radius: 20px; }
.course-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 370px)); justify-content: center; }
.course-card__strip { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 9px 16px; background: linear-gradient(90deg, var(--indigo-900), var(--teal-deep, #0E6F74)); color: #fff; font-size: 12px; font-weight: 600; }
.course-card__strip span { display: inline-flex; align-items: center; gap: 5px; }
.course-card__strip svg { width: 14px; height: 14px; }
.course-card__strip:empty { display: none; }
.course-card__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue-500); }
.course-card__go svg { width: 16px; height: 16px; }
.cover { background: radial-gradient(circle at 85% 20%, rgba(39,196,186,.55), transparent 45%), linear-gradient(150deg, #0F5560 0%, #0A2540 60%, #061427 100%); }
.cover__title { font-size: 1.15rem; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-card); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--lavender-100); color: var(--blue-500); margin-bottom: 14px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- Teacher ---------- */
.teacher { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .teacher { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; } }
.teacher__photo { position: relative; border-radius: 28px; overflow: hidden; background: #F5B400; box-shadow: var(--shadow-raised); max-width: 460px; margin: 0 auto; width: 100%; }
.teacher__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.teacher__tag { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(255,255,255,.95); border-radius: 16px; padding: 12px 16px; font-weight: 700; color: var(--heading); display: grid; }
.teacher__tag small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.teacher__text h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -0.035em; }
.teacher__text p { color: var(--ink-2); font-size: 1.05rem; }
.teacher__stats { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.teacher__stats li { background: var(--lavender-50); border-radius: 16px; padding: 14px; display: grid; }
.teacher__stats strong { font-size: 1.35rem; color: var(--blue-500); letter-spacing: -0.02em; }
.teacher__stats span { font-size: 12px; color: var(--ink-3); }
.teacher__quote { margin: 0 0 22px; padding-left: 16px; border-left: 3px solid var(--blue-600); color: var(--heading); font-weight: 600; font-size: 1.05rem; }

/* ---------- Mock portal banner ---------- */
.practice-banner {
  display: grid; gap: 24px; align-items: center; border-radius: 28px; padding: clamp(24px, 5vw, 48px); color: #fff;
  background: radial-gradient(circle at 88% 18%, rgba(39,196,186,.5), transparent 40%), linear-gradient(145deg, var(--indigo-900), var(--teal-deep, #0E6F74));
}
@media (min-width: 860px) { .practice-banner { grid-template-columns: 1.3fr 1fr; } }
.practice-banner h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); letter-spacing: -0.03em; }
.practice-banner p { color: #D6EEF0; max-width: 46ch; }
.practice-banner__skills { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.practice-banner__skills li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 14px; display: grid; gap: 2px; font-size: 13px; color: #D6EEF0; }
.practice-banner__skills b { font-size: 12px; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: var(--indigo-900); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.practice-banner__skills span { font-size: 1.3rem; font-weight: 800; color: #fff; }
.practice-banner--compact { padding: 22px; border-radius: 20px; }
.practice-banner--compact h2 { font-size: 1.25rem; }
.practice-banner--compact p { font-size: var(--fs-sm); }

/* ---------- Book banner ---------- */
.book-banner {
  display: grid; gap: 24px; align-items: center; border-radius: 28px; padding: clamp(24px, 5vw, 44px);
  background: radial-gradient(circle at 12% 90%, rgba(242,107,29,.14), transparent 40%), linear-gradient(135deg, #FFF6EF 0%, #F4F5FF 100%);
  border: 1px solid #F6DCCB;
}
@media (min-width: 760px) { .book-banner { grid-template-columns: 240px 1fr; } }
.book-banner__cover { width: 100%; max-width: 240px; margin: 0 auto; border-radius: 10px; box-shadow: 0 24px 50px rgba(28,32,72,.28); transform: rotate(-3deg); }
.book-banner__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--book-orange); }
.book-banner h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin: 6px 0 4px; letter-spacing: -0.03em; }
.book-banner__sub { color: var(--ink-2); font-weight: 600; }
.book-banner ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.book-banner li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); }
.book-banner li svg { width: 18px; height: 18px; color: var(--book-orange); flex: none; margin-top: 2px; }
.book-banner--compact { grid-template-columns: 84px 1fr; padding: 16px 18px; border-radius: 20px; gap: 16px; }
.book-banner--compact .book-banner__cover { max-width: 84px; transform: none; box-shadow: 0 8px 18px rgba(28,32,72,.2); }
.book-banner--compact h2 { font-size: 1.25rem; margin: 2px 0; }
.book-banner--compact .book-banner__sub { font-size: var(--fs-sm); margin-bottom: 10px; }
.book-banner--compact .btn { min-height: 40px; font-size: 13px; }

/* ---------- Steps ---------- */
.steps--numbered { list-style: none; padding: 0; margin: 0; }
.steps--numbered .step { border-radius: 20px; }
.steps--numbered .step__num { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-600); color: var(--on-brand); align-items: center; justify-content: center; font-size: 14px; letter-spacing: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-top: 10px; }
.faq__item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq__item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue-500); }
.faq__item[open] summary::after { content: "−"; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- Final call to action ---------- */
.final-cta { text-align: center; border-radius: 28px; padding: clamp(32px, 6vw, 64px) 20px; color: #fff; background: radial-gradient(circle at 50% 0%, rgba(39,196,186,.55), transparent 55%), linear-gradient(160deg, var(--indigo-900), var(--indigo-950)); }
.final-cta h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); letter-spacing: -0.04em; }
.final-cta h2 span { display: block; font-size: .5em; font-weight: 600; color: #C9D0FF; letter-spacing: -0.01em; margin-top: 8px; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- Bottom bar (like the main website) ---------- */
.sticky-cta {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 55; width: min(720px, calc(100% - 96px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px;
  background: linear-gradient(90deg, #EEF0FF, #DDE2FF); border: 1px solid #CDD4FF; border-radius: 18px; box-shadow: 0 12px 30px rgba(20,28,103,.18); font-size: 14px;
}
.sticky-cta strong { color: var(--heading); }
@media (max-width: 640px) { .sticky-cta { left: 12px; transform: none; width: calc(100% - 84px); padding-left: 14px; } .sticky-cta__more { display: none; } }
body:has(.sticky-cta) .site-footer { padding-bottom: 96px; }

/* ---------- Course detail hero (centred, like WebVeda) ---------- */
.course-hero--center { text-align: center; }
.course-hero--center .course-hero__inner { padding-bottom: 0; }
.course-hero--center h1 { margin-left: auto; margin-right: auto; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); max-width: 24ch; }
.course-hero--center .lead { margin-left: auto; margin-right: auto; max-width: 58ch; }
.course-hero--center .breadcrumb, .course-hero--center .facts { justify-content: center; }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 26px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 13px; color: #E1E5FF; }
.pill svg { width: 15px; height: 15px; }
.trailer { position: relative; display: block; max-width: 860px; margin: 0 auto; border-radius: 22px 22px 0 0; overflow: hidden; box-shadow: 0 -10px 40px rgba(0,0,0,.25); aspect-ratio: 16 / 9; background: var(--indigo-950); }
.trailer img { width: 100%; height: 100%; object-fit: cover; }
.trailer .cover { position: absolute; inset: 0; }
.trailer__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--heading); font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.trailer__play svg { width: 22px; height: 22px; color: var(--blue-500); }
a.trailer:hover .trailer__play { transform: translate(-50%, -50%) scale(1.04); }
.detail-layout--below { padding-top: 32px; }
@media (min-width: 960px) { .detail-layout--below .enroll-card { margin-top: 0; } }
.detail-layout--below .enroll-card__media { display: none; }

/* ---------- Studio: content management ---------- */
.big-actions { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.big-action { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-card); }
.big-action:hover { text-decoration: none; border-color: var(--blue-600); transform: translateY(-1px); }
.big-action svg { width: 30px; height: 30px; color: var(--blue-500); margin-bottom: 6px; }
.big-action strong { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.big-action span { font-size: var(--fs-sm); color: var(--ink-3); }
.big-action--primary { background: linear-gradient(145deg, var(--indigo-900), var(--teal-deep, #0E6F74)); color: #fff; border-color: transparent; }
.big-action--primary svg, .big-action--primary span { color: #DDE2FF; }
.activity-list li { font-size: var(--fs-sm); }

.studio-courses { display: grid; gap: 12px; }
.studio-course { display: flex; align-items: center; gap: 16px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); }
.studio-course:hover { text-decoration: none; border-color: var(--blue-600); }
.studio-course__img { position: relative; width: 140px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; flex: none; background: var(--indigo-900); }
.studio-course__img img { width: 100%; height: 100%; object-fit: cover; }
.studio-course__img .cover { position: absolute; inset: 0; padding: 8px; }
.studio-course__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.studio-course__text .muted { font-size: var(--fs-xs); }
@media (max-width: 560px) { .studio-course { flex-wrap: wrap; } .studio-course__img { width: 100%; } }

.module-block + .module-block { margin-top: 16px; }
.module-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; margin-bottom: 12px; }
.module-block__head h2 { margin: 2px 0 0; font-size: 1.2rem; }
.module-block__head .eyebrow { margin: 0; }
.btn-group form { margin: 0; }
.btn[disabled] { opacity: .35; cursor: default; box-shadow: none; }
.lesson-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lesson-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px solid #E6EAF5; border-radius: 14px; background: #FAFBFF; scroll-margin-top: 90px; }
.lesson-row.is-hidden { background: #FFFBF3; }
.lesson-row:target { border-color: var(--blue-600); box-shadow: var(--focus); }
.lesson-row__num { width: 30px; height: 30px; border-radius: 9px; background: var(--blue-100); color: var(--blue-500); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: none; }
.lesson-row__main { flex: 1; min-width: 200px; display: grid; gap: 6px; }
.lesson-row__main a { color: var(--ink); }
.lesson-row__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lesson-row__actions { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.lesson-row__actions form { margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #EEF1F7; color: var(--ink-2); }
.tag svg { width: 13px; height: 13px; }
.tag--ok { background: var(--ok-bg); color: var(--ok-ink); }
.tag--warn { background: var(--warn-bg); color: var(--warn-ink); }
.tag--info { background: var(--info-bg); color: var(--info-ink); }
.form-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.form-inline input[type="text"] { flex: 1; min-width: 200px; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 16px; border: 1px solid #D5DEE9; border-radius: 12px; }

.studio-form .panel + .panel { margin-top: 16px; }
.studio-form .panel h2 { font-size: 1.1rem; }
.studio-form .panel { display: grid; gap: 16px; }
.studio-form .panel > h2 { margin: 0; }
.save-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; padding: 14px 0; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 30%); }
.img-preview { max-width: 320px; max-height: 200px; border-radius: 12px; border: 1px solid var(--line); object-fit: contain; background: var(--lavender-50); }
.img-preview--logo { max-width: 120px; padding: 6px; }
.more-panel summary { cursor: pointer; font-weight: 600; }
.form-field input[type="file"] { background: var(--lavender-50); }
.form-field select { appearance: auto; }

.uploader { display: grid; gap: 10px; }
.uploader__drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed #C6CEF5; border-radius: 18px; background: var(--lavender-50); text-align: center; cursor: pointer; }
.uploader__drop:hover, .uploader__drop:focus-within { border-color: var(--blue-600); background: #EEF0FF; }
.uploader__drop svg { width: 36px; height: 36px; color: var(--blue-500); }
.uploader__drop span { font-size: var(--fs-sm); color: var(--ink-3); max-width: 46ch; }
.uploader__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-bar { height: 12px; border-radius: 999px; background: var(--lavender-100); overflow: hidden; }
.upload-bar[hidden] { display: none; }
.upload-bar div { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal-deep, #0E6F74), #FF8530); border-radius: 999px; transition: width .3s ease; }
.upload-status { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.upload-status:empty { display: none; }
.upload-status--ok { color: var(--ok-ink); font-weight: 600; }
.upload-status--warn { color: var(--warn-ink); }
.upload-status--error { color: #B42318; font-weight: 600; }
.current-video { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--ok-bg); color: var(--ok-ink); }
.current-video svg { width: 24px; height: 24px; flex: none; }
.current-video div { display: grid; }
.current-video .muted { font-size: var(--fs-xs); }

/* ---------- Lesson page: resources under the video ---------- */
.lesson-block { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; margin-top: 16px; }
.lesson-block h2 { font-size: 1.1rem; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.lesson-block h2 svg { width: 20px; height: 20px; color: var(--blue-500); }
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.resource { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #E6EAF5; border-radius: 14px; background: #FAFBFF; }
.resource__icon { width: 42px; height: 42px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; background: #E5484D; text-transform: uppercase; }
.resource__icon--homework { background: var(--teal-700); }
.resource__icon--audio { background: #7C3AED; }
.resource__icon--other { background: var(--ink-3); }
.resource__text { flex: 1; min-width: 160px; display: grid; }
.resource__text strong { font-size: var(--fs-sm); }
.resource__text span { font-size: var(--fs-xs); color: var(--ink-3); }
.resource__actions { display: flex; gap: 8px; }
.homework-text { font-size: var(--fs-sm); color: var(--ink-2); }
.homework-text p:last-child { margin-bottom: 0; }
.lesson-extras { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 1200px) { .lesson-extras { grid-template-columns: 1fr 1fr; } }
.lesson-extras .practice-banner, .lesson-extras .book-banner { margin: 0; height: 100%; }
.lesson-extras .practice-banner--compact { grid-template-columns: 1fr; }
