/* Page-only final layer, loaded after the shared theme. Shared type faces and heading sizes stay authoritative. */
.method-page { --method-gold: #806A3B; overflow: visible; }
.method-page *, .method-page *::before, .method-page *::after { box-sizing: border-box; }
.method-page .method-shell { width: calc(100% - 112px); max-width: 1280px; margin-inline: auto; min-width: 0; }
.method-page > .seo-breadcrumb { width: calc(100% - 112px); max-width: 1280px; padding-inline: 0; margin: 20px auto 0; }
.method-page > .seo-breadcrumb,
.method-page > .seo-breadcrumb :is(ol,li,a) { font-family: var(--font-primary); font-size: 13px; font-weight: 400; line-height: 1.75; color: var(--muted); }
.method-page .method-block { padding-block: 96px; }
.method-page .method-block + .method-block { border-top: 1px solid var(--line); }
.method-page .method-label { display: block; margin-bottom: 22px; color: var(--method-gold); font-family: var(--font-primary); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.method-page :is(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
.method-page :is(p,dd,small) { overflow-wrap: anywhere; word-break: keep-all; }
.method-page p, .method-page dd { color: var(--muted); font-size: 16px; line-height: 1.75; }
.method-page h3 { color: var(--green); font-size: 21px; }
.method-page .method-lead { font-size: 18px; line-height: 1.8; }
.method-page .method-copy > p { margin-top: 24px; }
.method-page .method-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.method-page .method-actions .button { min-height: 48px; width: auto; padding: 12px 22px; text-align: center; white-space: normal; }
.method-page .method-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; max-width: 100%; color: var(--green); font-size: 14px; font-weight: 600; line-height: 1.6; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
/* Outrank legacy main > section:not(...) spacing only for this Hero. */
.method-page > section.method-block.method-intro { padding-block: 64px 80px; }
.method-page .method-hero-layout { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); align-items: center; gap: 72px; }
.method-page .method-intro-copy { min-width: 0; }
.method-page .method-intro-copy .method-lead { margin-top: 28px; }
.method-page .method-intro-copy .method-actions { margin-top: 32px; }
.method-page .method-intro-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.method-page .method-media { --method-media-ratio: 4 / 3; min-width: 0; }
.method-page .method-image-placeholder { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 20px; width: 100%; aspect-ratio: var(--method-media-ratio); padding: 32px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.method-page .method-image-placeholder > span { color: var(--green); font-size: 18px; font-weight: 500; line-height: 1.6; }
.method-page .method-image-placeholder > i { width: 44px; height: 1px; flex: 0 0 1px; background: var(--gold); }
.method-page .method-image-placeholder > small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.method-page .method-media img { display: block; width: 100%; height: auto; aspect-ratio: var(--method-media-ratio); object-fit: cover; }
.method-page .method-media--hero img { object-position: 50% 30%; }
.method-page .method-media figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.method-page .method-editorial-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: 96px; }
.method-page .method-section-heading > p { max-width: 36ch; margin-top: 24px; }
.method-page .method-criteria { margin-top: 32px; border-top: 1px solid var(--line); }
.method-page .method-criteria > div { padding-block: 22px; border-bottom: 1px solid var(--line); }
.method-page .method-criteria dt { display: flex; align-items: baseline; gap: 20px; margin-bottom: 10px; color: var(--green); font-size: 18px; font-weight: 500; }
.method-page .method-criteria dt span { color: var(--method-gold); font-size: 12px; }
.method-page .method-before .method-text-link { margin-top: 22px; }
.method-page .method-ready { background: var(--soft); }
.method-page .method-ready-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 80px; }
.method-page .method-media--space .method-image-placeholder { background: var(--paper); aspect-ratio: 4 / 3; }
.method-page .method-preparation { margin-top: 28px; }
.method-page .method-preparation > div { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 20px; padding-block: 18px; border-top: 1px solid var(--line); }
.method-page .method-preparation dt { color: var(--green); font-size: 15px; font-weight: 600; line-height: 1.75; }
.method-page .method-preparation dd { font-size: 15px; }
.method-page .method-lesson { background: var(--green); color: var(--paper); scroll-margin-top: 96px; }
.method-page .method-lesson .method-label { color: #E9DCBC; }
.method-page .method-lesson h2, .method-page .method-lesson h3 { color: var(--paper); }
.method-page .method-lesson p { color: #E0E8E1; }
.method-page .method-lesson-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: end; gap: 80px; }
.method-page .method-lesson-list { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid #78968C; }
.method-page .method-lesson-list > li { display: grid; grid-template-columns: 64px minmax(140px,.45fr) minmax(0,1fr); align-items: start; gap: 32px; padding-block: 30px; border-bottom: 1px solid #78968C; }
.method-page .method-step-index { color: #E9DCBC; font-size: 24px; font-weight: 400; line-height: 1.5; }
.method-page .method-step-en { display: block; margin-bottom: 8px; color: #E9DCBC; font-size: 12px; font-weight: 500; line-height: 1.5; }
.method-page .method-step-name { display: block; color: var(--paper); font-family: var(--font-primary); font-size: 21px; font-weight: 500; line-height: 1.5; }
.method-page .method-lesson-list small { display: block; margin-top: 12px; color: #D0DDD3; font-size: 13px; line-height: 1.7; }
.method-page .method-section-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: end; gap: 80px; }
.method-page .method-language-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 48px; }
.method-page .method-language { display: flex; flex-direction: column; min-width: 0; padding-top: 24px; border-top: 1px solid var(--green); }
.method-page .method-language-code { color: var(--method-gold); font-size: 12px; font-weight: 600; line-height: 1.5; }
.method-page .method-language h3 { margin-top: 14px; font-size: 24px; }
.method-page .method-language p { margin-top: 20px; }
.method-page .method-language dl { margin-top: 24px; margin-bottom: 20px; }
.method-page .method-language dt { margin-bottom: 8px; color: var(--method-gold); font-size: 12px; font-weight: 600; }
.method-page .method-language dd { color: var(--green); font-size: 14px; }
.method-page .method-language .method-text-link { align-self: flex-start; margin-top: auto; }
.method-page .method-review-list { border-top: 1px solid var(--line); }
.method-page .method-review-list article { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.method-page .method-review-list article > span { color: var(--method-gold); font-size: 12px; line-height: 1.75; }
.method-page .method-review-list article p { margin-top: 10px; }
.method-page .method-review-list .method-note { margin-top: 22px; font-size: 13px; }
.method-page .method-next-heading { max-width: 760px; }
.method-page .method-course-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 40px; }
.method-page .method-course-links a { display: grid; grid-template-columns: 28px minmax(0,1fr) 20px; align-items: center; gap: 12px; min-height: 80px; border-top: 1px solid var(--green); border-bottom: 1px solid var(--line); color: var(--green); }
.method-page .method-course-links a > span:first-child { color: var(--method-gold); font-size: 12px; }
.method-page .method-course-links strong { font-size: 20px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
@media (min-width: 641px) and (max-width: 1199px) {
  .method-page .method-shell, .method-page > .seo-breadcrumb { width: calc(100% - 48px); }
  .method-page .method-block { padding-block: 80px; }
  .method-page > section.method-block.method-intro { padding-block: 48px 64px; }
  .method-page .method-hero-layout, .method-page .method-editorial-split, .method-page .method-ready-layout, .method-page .method-lesson-intro, .method-page .method-section-top { grid-template-columns: 1fr; gap: 32px; }
  .method-page .method-intro-copy { max-width: 780px; }
  .method-page .method-media--hero { --method-media-ratio: 16 / 9; width: 100%; max-width: 760px; }
  .method-page .method-media--space { max-width: 760px; }
  .method-page .method-ready .method-copy { max-width: 760px; }
  .method-page .method-language-grid { gap: 24px; }
  .method-page .method-lesson-list > li { grid-template-columns: 40px minmax(120px,.4fr) minmax(0,1fr); gap: 22px; }
  .method-page .method-course-links { gap: 20px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .method-page .method-language-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .method-page .method-shell, .method-page > .seo-breadcrumb { width: calc(100% - 40px); }
  .method-page > .seo-breadcrumb { margin-top: 16px; }
  .method-page .method-block { padding-block: 64px; }
  .method-page > section.method-block.method-intro { padding-block: 36px 48px; }
  .method-page .method-label { margin-bottom: 18px; }
  .method-page .method-hero-layout, .method-page .method-editorial-split, .method-page .method-ready-layout, .method-page .method-lesson-intro, .method-page .method-section-top { grid-template-columns: 1fr; gap: 28px; }
  .method-page .method-lead { font-size: 16px; }
  .method-page .method-desktop-break { display: none; }
  .method-page .method-intro-copy .method-lead { margin-top: 20px; }
  .method-page .method-intro-copy .method-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 24px; }
  .method-page .method-intro-copy .method-actions .button { width: 100%; padding-inline: 12px; }
  .method-page .method-intro-note { margin-top: 22px; padding-top: 16px; }
  .method-page .method-image-placeholder { padding: 22px; }
  .method-page .method-media--hero { --method-media-ratio: 16 / 10; }
  .method-page .method-image-placeholder > span { font-size: 16px; }
  .method-page .method-media figcaption { margin-top: 10px; }
  .method-page .method-criteria { margin-top: 24px; }
  .method-page .method-preparation > div { grid-template-columns: 1fr; gap: 8px; }
  .method-page .method-lesson { scroll-margin-top: 80px; }
  .method-page .method-lesson-list { margin-top: 32px; }
  .method-page .method-lesson-list > li { grid-template-columns: 32px minmax(0,1fr); gap: 12px 18px; padding-block: 24px; }
  .method-page .method-lesson-list > li > div:last-child { grid-column: 2; }
  .method-page .method-step-index { font-size: 20px; }
  .method-page .method-language-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
  .method-page .method-language p { margin-top: 16px; }
  .method-page .method-language dl { margin-top: 20px; }
  .method-page .method-review-list article { grid-template-columns: 28px minmax(0,1fr); gap: 18px; }
  .method-page .method-course-links { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .method-page .method-course-links a { min-height: 72px; border-bottom: 0; }
  .method-page .method-course-links a:last-child { border-bottom: 1px solid var(--line); }
}

/* Outrank the legacy main > section:not(...) rule only for desktop content bands. */
@media (min-width: 1200px) {
  .method-page > section.method-block:not(.method-intro) { padding-block: 84px; }
  .method-page > section.method-block:is(.method-ready) { padding-block: 88px; }
  .method-page > section.method-block.method-lesson { padding-block: 96px; }
  .method-page > section.method-block.method-after { padding-block: 80px; }
}
