/* Inner pages: about, team, services, pricing, knowledge, training, partners, contact, auth */

/* Auth screens */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.auth-main { padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px); display: flex; justify-content: center; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: var(--step-4); margin-bottom: 8px; }
.auth-card .lead { font-size: var(--step-0); margin-bottom: 28px; }
.auth-side { background: var(--navy); color: #C6D3E0; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.auth-side h2 { color: #fff; font-size: var(--step-3); max-width: 18ch; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; max-width: 42ch; }
.auth-side li { padding-left: 28px; position: relative; }
.auth-side li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid #8FC7A9; border-bottom: 2px solid #8FC7A9; transform: rotate(-45deg); }
.auth-side blockquote { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #2D4B69; font-family: var(--serif); font-size: var(--step-1); color: #E4EBF2; max-width: 40ch; }
.auth-foot { margin-top: 22px; font-size: var(--step--1); color: var(--slate); }
#google-btn { min-height: 44px; display: flex; justify-content: center; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { order: 2; } }

/* About */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.pillars > div { padding: 24px 28px 8px 0; }
.pillars h3 { font-size: var(--step-2); }
.pillars p { color: var(--slate); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 32px; margin: 0; }
.facts dt { font-weight: 600; color: var(--slate); font-size: var(--step--1); }
.facts dd { margin: 0; }
.statement { font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.35; color: var(--navy); max-width: 32ch; margin: 0 0 12px; }
.path { list-style: none; padding: 0; margin: 0; counter-reset: p; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.path li { counter-increment: p; border-top: 1px solid var(--line-strong); padding-top: 16px; }
.path li h3::before { content: counter(p) ". "; color: var(--slate); }
.path h3 { font-size: var(--step-1); }
.path p { color: var(--slate); margin: 0; font-size: 0.9375rem; }
@media (max-width: 820px) { .path { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.person { text-align: left; }
.person button { all: unset; cursor: pointer; display: block; width: 100%; }
.person button:focus-visible { outline: 3px solid #2E6CA8; outline-offset: 4px; border-radius: 4px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-m); border: 1px solid var(--line); transition: filter .2s; background: var(--ground); }
.person button:hover img { filter: brightness(.94); }
.person h3 { font-size: var(--step-1); margin: 14px 0 2px; }
.person p { margin: 0; color: var(--slate); font-size: var(--step--1); }
.person .more { display: inline-block; margin-top: 8px; font-size: var(--step--1); font-weight: 600; color: var(--navy); text-decoration: underline; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.bio-dialog { width: min(760px, calc(100% - 32px)); }
.bio { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.bio img { border-radius: var(--radius-m); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.bio h3 { font-size: var(--step-1); margin-top: 18px; }
@media (max-width: 620px) { .bio { grid-template-columns: 1fr; } .bio img { max-width: 180px; } }

/* Fee schedule and pricing */
.fee-table td:first-child strong { display: block; font-family: var(--serif); font-size: var(--step-1); color: var(--navy); font-weight: 600; }
.fee-table td:first-child span { color: var(--slate); }
.fee-table .num { font-weight: 600; color: var(--ink); }
.toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-s); overflow: hidden; }
.toggle button { border: 0; background: #fff; padding: 8px 16px; font: 600 var(--step--1) var(--sans); color: var(--slate); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Knowledge Centre */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; }
.filters .chip { border: 1px solid var(--line-strong); background: #fff; color: var(--slate); border-radius: 999px; padding: 7px 14px; font: 600 var(--step--1) var(--sans); cursor: pointer; }
.filters .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters .search { margin-left: auto; width: min(280px, 100%); }
.post-list { list-style: none; padding: 0; margin: 0; }
.post { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.post:last-child { border-bottom: 1px solid var(--line); }
.post .thumb { aspect-ratio: 4 / 3; border-radius: var(--radius-s); background: var(--ground); object-fit: cover; width: 100%; border: 1px solid var(--line); }
.post .thumb--blank { display: grid; place-items: center; font-family: var(--serif); color: #9AA9B8; font-size: var(--step-3); }
.post h2 { font-size: var(--step-2); margin: 6px 0 8px; }
.post h2 a { text-decoration: none; }
.post h2 a:hover { text-decoration: underline; }
.post p { color: var(--slate); margin: 0 0 8px; max-width: 68ch; }
.meta { font-size: var(--step--1); color: var(--slate); }
@media (max-width: 680px) { .post { grid-template-columns: 1fr; } .post .thumb { max-height: 200px; } .filters .search { margin-left: 0; } }
.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 32px; }

.article-head { max-width: 68ch; }
.article-cover { margin: 28px 0 8px; border-radius: var(--radius-m); border: 1px solid var(--line); width: 100%; max-height: 460px; object-fit: cover; }

/* Training */
.session { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.session:last-child { border-bottom: 1px solid var(--line); }
.session .when { font-family: var(--serif); color: var(--navy); line-height: 1.1; }
.session .when b { display: block; font-size: var(--step-4); }
.session h2 { font-size: var(--step-2); margin-bottom: 6px; }
.session p { color: var(--slate); margin: 0 0 6px; }
@media (max-width: 680px) { .session { grid-template-columns: 1fr; gap: 10px; } }

/* Contact and partners */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); }
.contact-aside dl { margin: 0; display: grid; gap: 18px; }
.contact-aside dt { font-weight: 600; font-size: var(--step--1); color: var(--slate); }
.contact-aside dd { margin: 2px 0 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.offer-list li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.offer-list li:last-child { border-bottom: 1px solid var(--line); }
.offer-list h3 { font-size: var(--step-1); margin: 0; }
.offer-list p { margin: 0; color: var(--slate); }
@media (max-width: 680px) { .offer-list li { grid-template-columns: 1fr; gap: 6px; } }

.empty { padding: 40px 0; color: var(--slate); }
.not-found { min-height: 60vh; display: grid; align-content: center; }
