.site-main:has(.flc-history-page) { padding-top: var(--flc-breadcrumb-top); background: #fff; }
.flc-history-page__inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.flc-history-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #718096; font-size: 13px; }
.flc-history-breadcrumb a { color: var(--flc-blue); text-decoration: none; }
.flc-history-breadcrumb a:hover { text-decoration: underline; }
.flc-history-header { margin: 36px 0 26px; }
.flc-history-header h1 { margin: 0; color: var(--flc-blue); font-size: clamp(36px, 4.8vw, 60px); line-height: 1.1; letter-spacing: -.035em; }
.flc-history-page .flc-history-content { width: 100%; max-width: 880px; margin: 0; color: var(--flc-ink); font-size: 17px; line-height: 1.72; }
.flc-history-content > p, .flc-history-content li { color: #35445a; font-size: 17px; line-height: 1.72; }
.flc-history-content .flc-history-lead { max-width: 760px; color: var(--flc-ink); font-size: 20px; line-height: 1.6; }
.flc-history-content h2 { margin: 48px 0 20px; color: var(--flc-blue); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.flc-history-author { display: flex; gap: 20px; align-items: center; margin: 32px 0; padding: 20px; border-radius: 14px; background: #f2f6fb; }
.flc-history-author img { flex: 0 0 124px; width: 124px; height: 104px; border-radius: 9px; object-fit: cover; }
.flc-history-author strong, .flc-history-author span { display: block; }
.flc-history-author span, .flc-history-content .flc-history-note { color: #617086; font-size: 14px; line-height: 1.5; }
.flc-history-author span + span { margin-top: 8px; }
.flc-history-related { margin-top: 45px; padding-top: 1px; border-top: 1px solid #dbe4ef; }
.flc-history-related a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #dbe4ef; color: var(--flc-blue); font-weight: 650; text-decoration: none; }
.flc-brand-colors, .flc-brand-variants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.flc-brand-colors > div, .flc-brand-variant { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.flc-color-swatch { display: block; height: 80px; border: 1px solid #e2e8f0; border-radius: 7px; }
.flc-color-swatch--blue { background: #05489f; } .flc-color-swatch--yellow { background: #e6c859; } .flc-color-swatch--white { background: #fff; }
.flc-brand-colors > div > span:last-child, .flc-brand-variant > span { color: #617086; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.flc-brand-variant__preview { display: grid; place-items: center; height: 155px; padding: 16px; border-radius: 8px; background: #f3f6fa; }
.flc-brand-variant__preview.is-dark { background: #1b4e96; }
.flc-brand-variant__preview img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.flc-brand-variant > a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; color: var(--flc-blue); font-size: 14px; font-weight: 650; text-decoration: none; }
.flc-brand-variant > a:hover, .flc-history-related a:hover { text-decoration: underline; }
@media (max-width: 600px) { .flc-history-page__inner { width: calc(100% - 32px); } .flc-history-header { margin: 28px 0 20px; } .flc-history-author { align-items: flex-start; } .flc-history-author img { flex-basis: 88px; width: 88px; height: 88px; } .flc-brand-colors, .flc-brand-variants { grid-template-columns: 1fr; gap: 12px; } .flc-brand-variant__preview { height: 170px; } }
.flc-brand-variant__preview { overflow: hidden; }
.flc-brand-variant__preview img { width: 100%; height: 123px; max-width: 100%; max-height: 123px; }
.flc-brand-variant > p { display: flex; flex: 1; flex-direction: column; gap: 8px; margin: 0; }
.flc-brand-variant > p > span { color: #617086; font-size: 13px; line-height: 1.4; }
.flc-brand-variant > p > a { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 12px; color: var(--flc-blue); font-size: 14px; font-weight: 650; text-decoration: none; }
.flc-brand-variant > p > a:hover { text-decoration: underline; }

/* A section's reading column and navigation; no sidebar is rendered without pages. */
.flc-section-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: start; gap: 36px; }
.flc-history-page .flc-section-layout .flc-history-content { min-width: 0; max-width: none; }
.flc-section-sidebar { position: sticky; top: 100px; min-width: 0; max-height: calc(100vh - 120px); overflow-y: auto; }
.flc-section-nav { padding: 20px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
.flc-section-nav h2 { margin: 0 0 12px; color: var(--flc-blue); font-size: 16px; line-height: 1.3; }
.flc-section-nav ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.flc-section-nav a, .flc-section-nav a:visited { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 9px 10px; border-radius: 8px; color: #35445a; font-size: 14px; line-height: 1.4; text-decoration: none; }
.flc-section-nav a:hover { background: #eaf2fb; color: var(--flc-blue); }
.flc-section-nav a[aria-current="page"] { background: #e3edf9; color: var(--flc-blue); font-weight: 700; }
.flc-section-nav a span:last-child:not(:first-child) { flex: none; color: var(--flc-blue); }
.flc-section-nav a:focus-visible { outline: 2px solid var(--flc-blue); outline-offset: 2px; }
.flc-history-content iframe[src*="canva.com"] { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border: 0; }
@media (max-width: 850px) { .flc-section-layout { grid-template-columns: 1fr; gap: 32px; } .flc-section-sidebar { position: static; max-height: none; overflow: visible; } }
.flc-section-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 #163e6c; color: #163e6c; }
.flc-history-content .flc-parent-note { color: #617086; font-size: 15px; }
.flc-history-content .flc-parent-documents { list-style: none; margin: 28px 0; padding: 0; border-top: 1px solid #d8e1ed; }
.flc-history-content .flc-parent-documents li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0; border-bottom: 1px solid #d8e1ed; }
.flc-history-content .flc-parent-documents a { color: var(--flc-blue); font-weight: 600; text-underline-offset: 3px; }
.flc-history-content .flc-parent-documents li > span { flex: none; color: #718096; font-size: 13px; }
.flc-history-content .flc-psychologist { display: flex; align-items: center; gap: 16px; margin: 28px 0; padding: 18px; border-radius: 12px; background: #f2f6fb; }
.flc-history-content .flc-psychologist__photo { flex: 0 0 68px; width: 68px; height: 68px; overflow: hidden; border-radius: 50%; }
.flc-history-content .flc-psychologist__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.flc-history-content .flc-psychologist strong, .flc-history-content .flc-psychologist__details { display: block; }
.flc-history-content .flc-psychologist__details { color: #617086; font-size: 14px; line-height: 1.5; }
.flc-history-content .flc-psychologist a { color: var(--flc-blue); font-weight: 650; text-underline-offset: 3px; }
@media (max-width: 600px) { .flc-history-content .flc-parent-documents li { gap: 10px; } }
.flc-section-nav li.is-branch > a { color: var(--flc-blue); font-weight: 700; }
.flc-section-nav .flc-section-nav__children { margin: 4px 0 8px 16px; padding: 0 0 0 10px; border-left: 2px solid #d8e4f2; list-style: none; }
.flc-section-nav .flc-section-nav__children a { min-height: 36px; font-size: 13px; }

/* Start the title/content column and section navigation on one shared row below breadcrumbs. */
.flc-section-layout { margin-top: 36px; }
.flc-section-main { min-width: 0; }
.flc-section-main .flc-history-header, .flc-section-main .flc-parents-page__header { margin: 0 0 26px; }
@media (max-width: 600px) {
 .flc-section-layout { margin-top: 28px; }
 .flc-section-main .flc-history-header, .flc-section-main .flc-parents-page__header { margin-bottom: 20px; }
}
