/* Ghost integration for the layout-review design. No build step is required. */
html { scroll-padding-top: 106px; }
body { overflow-wrap: break-word; }
.site-header { top: 0; }
.logo img { width: 164px; height: auto; max-height: 42px; object-fit: contain; }
.desktop-navigation, .main-menu { display: flex; align-items: center; gap: 24px; }
.main-menu { padding: 0; margin: 0; list-style: none; font-size: 13px; }
.main-menu a { display: inline-block; padding: 7px 0; }
.main-menu a:hover, .main-menu a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.desktop-navigation .main-menu { color: #d5d5e1; }
.svg-icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.line-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.btn:hover { background: var(--gold); color: var(--navy); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn:disabled:hover { background: var(--blue); color: white; }
.hero h1 span, .hero h1 em { color: var(--gold); }
.hero-photo { margin: 0; }
.hero h1 span { background: linear-gradient(90deg,#f29f05,#ffce26,#faca15,#f28705); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text-block { border-left: 2px solid var(--gold); padding: 25px 0 25px 32px; font: 500 clamp(27px,3vw,40px)/1.3 Space,Arial,sans-serif; }
.hero-posts { min-width: 0; }
.hero-post { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid #ffffff24; }
.hero-post img { width: 92px; height: 66px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.hero-post strong { display: block; font: 500 18px/1.3 Space,Arial,sans-serif; }
.hero-post small { display: block; margin-top: 6px; color: #bdbed2; font-size: 11px; }
.hero-post:hover strong { color: var(--gold); }
.hero-posts > .text-link { margin-top: 16px; }
.person .person-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; color: var(--blue); font-size: 12px; font-weight: 600; }
.person .person-link:hover { text-decoration: underline; }
.person-image { display: block; }
.person-placeholder { display: grid; place-items: center; aspect-ratio: 1.14; background: linear-gradient(140deg,#e9edf2,#d6e2ff); }
.program-intro { top: 116px; }
.module-label { overflow-wrap: anywhere; }
.module-body.gh-content { font-size: 14px; }
.offer { position: relative; }
.anchor-alias { position: absolute; top: 0; }
.offer-card { display: flex; flex-direction: column; }
.offer-card > .btn { margin-top: auto; }
.offer-card .overline { font: 600 16px/1.4 Inter,Arial,sans-serif; letter-spacing: 0; }
.offer-card.secondary h3.overline { font: 700 30px/1.15 Space,Arial,sans-serif; }
.offer-card.secondary .fine { color: #bdbed2; }
.offer-card .fine a { text-decoration: underline; }
.offer-list { font-size: 13px; gap: 16px 22px; line-height: 1.6; }
.offer-list li::before { flex-shrink: 0; }
.price { overflow-wrap: anywhere; }
.price-decimals::before { content: ','; }
.price-decimals:empty { display: none; }
.featured-article .visual { display: block; }
.articles-layout:has(> :only-child) { grid-template-columns: 1fr; max-width: 800px; }
.featured-article.no-image { display: block; }
.library-feature.no-image { grid-template-columns: 1fr; }
.news-row .news-title-link:hover { color: var(--blue); }
.article-meta a:hover { text-decoration: underline; }
.home-posts-dark { background: var(--navy); color: white; }
.home-posts-dark .library-card { border-color: #ffffff40; }
.home-posts-dark .article-meta, .home-posts-dark .library-card p { color: #bdbed2; }
.home-posts-dark .text-link, .home-posts-dark .category { color: #a8bdff; }
.archive-page { padding-bottom: 64px; }
.archive-page .newsletter { margin-top: 64px; }
.archive-page + .newsletter { margin-top: 0; }
.library-tools { align-items: center; }
.search-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: white; color: var(--ink); border: 1px solid var(--line); padding: 11px 17px; border-radius: 6px; font-size: 13px; flex-shrink: 0; }
.search-button:hover { border-color: var(--blue); }
.author-head { display: flex; gap: 28px; align-items: center; }
.author-head > img { border-radius: 50%; object-fit: cover; width: 96px; height: 96px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding-top: 28px; margin: 28px 0 0; font-size: 13px; }
.pagination__link { display: flex; gap: 12px; align-items: center; min-width: 94px; color: var(--blue); }
.pagination__page { color: var(--muted); text-align: center; }
.pagination__link--older { justify-content: end; }
.newsletter__inner { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.newsletter__form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: start; }
.newsletter__email { min-width: 0; width: 100%; min-height: 52px; border: 1px solid #b7c6e4; background: white; border-radius: 6px; padding: 12px 15px; color: var(--ink); }
.newsletter__consent { grid-column: 1/-1; grid-row: 2; display: flex; gap: 10px; font-size: 11px; line-height: 1.6; color: #515569; }
.newsletter__consent-check { width: 17px; height: 17px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.newsletter__consent a { color: #194eca; text-decoration: underline; }
.newsletter__form .btn { grid-column: 2; grid-row: 1; gap: 12px; padding-inline: 17px; margin: 0; }
.newsletter__form .newsletter__msg { display: none; grid-column: 1/-1; margin: 0; font-size: 13px; }
.newsletter__form.success .newsletter__msg--success { display: block; color: #16613c; }
.newsletter__form.error .newsletter__msg--error { display: block; color: #a52626; }
.newsletter__form.loading { opacity: .65; pointer-events: none; }
.footer-links .main-menu { flex-wrap: wrap; font-size: 12px; }
.footer-bottom { flex-wrap: wrap; font-size: 11px; }
.post-page { padding-top: 64px; }
.container-narrow { width: min(760px,calc(100% - 80px)); margin-inline: auto; }
.post-full { padding-bottom: 64px; }
.post-full__header { margin-bottom: 38px; }
.post-full__tag { display: inline-block; color: var(--blue); font-weight: 600; font-size: 12px; margin-bottom: 18px; }
.post-full__title { font-size: clamp(36px,4.5vw,60px); line-height: 1.12; }
.post-full__excerpt { font-size: 19px; color: var(--muted); margin-top: 24px; }
.post-full__meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.post-full__author { color: var(--blue); }
.post-full__image { width: min(1120px,calc(100% - 80px)); margin: 0 auto 44px; }
.post-full__image img { width: 100%; max-height: 660px; object-fit: cover; border-radius: 8px; }
.post-full__image figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.gh-content { font-size: 17px; line-height: 1.75; }
.gh-content > * { margin: 0; }
.gh-content > * + * { margin-top: 24px; }
.gh-content > h2 { margin-top: 48px; font-size: clamp(27px,3vw,36px); }
.gh-content > h3 { margin-top: 36px; font-size: 26px; }
.gh-content > h4 { margin-top: 30px; font-size: 22px; }
.gh-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.gh-content strong { font-weight: 600; }
.gh-content ul, .gh-content ol { padding-left: 1.5em; }
.gh-content li + li { margin-top: 8px; }
.gh-content blockquote { border-left: 3px solid var(--blue); padding-left: 24px; color: var(--muted); font-size: 1.15em; }
.gh-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 40px; }
.gh-content pre { overflow-x: auto; padding: 22px; background: var(--navy); color: #e9edff; border-radius: 6px; font-size: 14px; }
.gh-content :not(pre) > code { background: var(--paper); padding: 3px 6px; border-radius: 3px; font-size: .85em; overflow-wrap: anywhere; }
.gh-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.gh-content th, .gh-content td { padding: 12px 18px; border: 1px solid var(--line); text-align: left; }
.gh-content th { background: var(--paper); }
.gh-content figure { max-width: 100%; }
.gh-content figcaption { font-size: 12px; text-align: center; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.page-full .gh-content img, .page-full .kg-image { margin-inline: auto; }
.gh-content iframe { max-width: 100%; }
.kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.kg-embed-card iframe[src*="youtube"], .kg-embed-card iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16/9; }
.post-full__content > .kg-width-wide { width: min(1080px,calc(100vw - 80px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.post-full__content > .kg-width-full { width: calc(100vw - 24px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; gap: 12px; }
.kg-gallery-row + .kg-gallery-row { margin-top: 12px; }
.kg-gallery-image { flex: 1 1 0%; min-width: 0; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-card a.kg-bookmark-container { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; color: inherit; text-decoration: none; }
.kg-bookmark-content { flex: 1; padding: 22px; min-width: 0; }
.kg-bookmark-title { font-weight: 600; font-size: 17px; line-height: 1.4; }
.kg-bookmark-description { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; }
.kg-bookmark-icon { width: 20px; height: 20px; margin: 0 !important; }
.kg-bookmark-thumbnail { flex: 0 0 30%; position: relative; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.kg-button-card { display: flex; }
.kg-button-card.kg-align-center { justify-content: center; }
.gh-content a.kg-btn { display: inline-flex; padding: 12px 24px; background: var(--blue); color: white; border-radius: 6px; text-decoration: none; font-size: 15px; }
.gh-content .kg-callout-card { padding: 22px; border-radius: 7px; }
.gh-content .kg-toggle-card h4 { font-size: 20px; }
.gh-content .kg-header-card a, .gh-content .kg-signup-card a { color: inherit; }
.team-page .page-full { padding: 0 0 64px; }
.team-page .page-full:empty { display: none; }
.team-page .team-overview { padding-bottom: 60px; }
.team-page .intro-grid:has(> :only-child) { grid-template-columns: 1fr; }
.menu-drawer { background: var(--navy); color: white; border: 0; padding: 26px; width: min(420px,100%); max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0 0 0 auto; position: fixed; }
.menu-drawer::backdrop { background: #05021dbb; }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.drawer-heading h2 { font-size: 26px; }
.drawer-heading button { background: transparent; color: white; border: 1px solid #ffffff50; border-radius: 50%; width: 42px; height: 42px; font-size: 25px; }
.menu-drawer .main-menu { display: grid; gap: 14px; margin-bottom: 30px; font-size: 18px; }
.menu-drawer .main-menu + .main-menu { border-top: 1px solid #ffffff30; padding-top: 22px; font-size: 14px; }
.menu-drawer .btn { width: 100%; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-body.gh-content { font-size: 15px; }
.dialog-body .text-link { margin-top: 24px; }
.error-page { min-height: 55vh; padding-block: 70px; }
.error-page p { margin-block: 24px; }
@media (max-width: 1100px) {
  .desktop-navigation { display: none; }
  .menu-toggle { display: block; }
  .newsletter__inner { gap: 32px; }
  .newsletter__form { grid-template-columns: 1fr; }
  .newsletter__form .btn { grid-column: 1; grid-row: 3; justify-self: start; }
}
@media (max-width: 820px) {
  .program-intro { position: static; }
  .library-tools { align-items: start; }
  .container-narrow, .post-full__image { width: calc(100% - 48px); }
  .post-full__content > .kg-width-wide { width: calc(100vw - 32px); }
  .newsletter__inner { grid-template-columns: 1fr; }
  .newsletter__form { grid-template-columns: minmax(0,1fr) auto; }
  .newsletter__form .btn { grid-column: 2; grid-row: 1; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 84px; }
  .site-header { top: 0; }
  .hero h1 { font-size: clamp(36px,10.5vw,44px); }
  .hero h1 span, .hero h1 em { white-space: normal; }
  .hero-post strong { font-size: 16px; }
  .hero-text-block { padding: 10px 0 10px 22px; }
  .offer-list { grid-template-columns: 1fr; font-size: 13px; }
  .library-tools .search-button { margin-top: 18px; width: 100%; }
  .newsletter__inner { gap: 25px; }
  .newsletter__form { grid-template-columns: 1fr; }
  .newsletter__form .btn { grid-column: 1; grid-row: 3; width: 100%; }
  .container-narrow, .post-full__image { width: calc(100% - 40px); }
  .post-page { padding-top: 38px; }
  .post-full { padding-bottom: 44px; }
  .post-full__excerpt { font-size: 17px; }
  .post-full__image { margin-bottom: 30px; }
  .gh-content { font-size: 16px; }
  .gh-content > h2 { margin-top: 36px; }
  .gh-content > h3 { font-size: 23px; }
  .kg-bookmark-thumbnail { display: none; }
  .kg-gallery-row { gap: 6px; }
  .kg-gallery-row + .kg-gallery-row { margin-top: 6px; }
  .pagination { gap: 10px; font-size: 11px; }
  .pagination__link { min-width: 70px; gap: 6px; }
  .author-head { gap: 18px; }
  .author-head > img { width: 64px; height: 64px; }
  .team-page .team-overview { padding-bottom: 36px; }
}
