.home-page__hero { background: var(--color-white); }
.home-page__hero-grid { display: grid; }
.home-page__hero-copy { padding-block: 30px 26px; }
.home-page__hero h1 { font-family: var(--font-accent); font-weight: 400; font-size: clamp(2rem, 3.75vw, 3.55rem); letter-spacing: 0; line-height: 1.12; }
.home-page__hero h1 span { display: inline-block; margin-top: 1px; }
.home-page__university { max-width: 34em; margin-bottom: 10px; color: #354148; font-size: 12px; font-weight: 500; letter-spacing: .015em; }
.home-page__hero-description { margin-top: 18px; font-size: 17px; line-height: 1.5; }
.home-page__actions { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 10px; margin-top: 22px; }
.home-page__actions > a { min-width: 0; gap: 5px; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.home-page__actions .home-page__button { padding: 10px 8px; }
.home-page__actions .home-page__text-link { padding-inline: 2px; }
.home-page__button { display: inline-flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 17px; background: var(--color-brand); font-size: 13px; font-weight: 600; transition: background .18s, color .18s; }
.home-page__button:hover { background: var(--color-brand-light); }
.home-page__text-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; border-bottom: 1px solid #a7b0b3; font-size: 13px; font-weight: 500; text-decoration: none; }
.home-page__text-link:hover { border-bottom-color: #17637b; color: #17637b; }
.home-page__hero-visual { min-width: 0; margin: 0; padding-bottom: 20px; }
.home-page__hero-image { position: relative; height: 180px; overflow: hidden; }
.home-page__hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 68%; transform: scale(1.06); transform-origin: 50% 68%; }
.home-page__image-placeholder { background: var(--color-surface-warm, #f4f0e8); }

.home-page__quick { background: var(--color-surface-blue); }
.home-page__quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 16px; }
.home-page__quick-grid a { display: flex; min-height: 76px; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px; font-size: 12px; font-weight: 500; text-align: center; transition: color .18s, background-color .18s; }
.home-page__quick-grid a:nth-child(odd) { border-right: 1px solid var(--color-border); }
.home-page__quick-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
.home-page__quick-grid svg { flex-shrink: 0; color: #17637b; }
.home-page__quick-grid a:hover { background: var(--color-white); color: #17637b; }
.home-page__quick-grid a:focus-visible { outline-offset: -3px; }
.home-page__arrow { font-size: 17px; transition: transform .18s ease; }
.home-page__quick-grid a:hover .home-page__arrow { transform: translate(2px, -2px); }

.home-page__section { padding-block: var(--section-space); background: var(--color-white); }
.home-page__section h2,
.home-page__about h2 { font-family: var(--font-content-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.14; }
.home-page__section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.home-page__study-section { background: var(--color-warm); }
.home-page__study-intro { margin-bottom: 28px; }
.home-page__study-lead { margin-top: 10px; color: var(--color-text-muted); font-size: 15px; line-height: 1.55; }
.home-page__study-grid { display: grid; gap: 16px; }
.home-page__study-card { display: flex; flex-direction: column; padding: 24px 22px; border-top: 2px solid var(--color-text); background: var(--color-white); color: var(--color-text); text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.home-page__study-card:hover,
.home-page__study-card:focus-visible { border-top-color: #369ab9; background: var(--color-surface); }
.home-page__study-card h3 { margin-bottom: 12px; color: var(--color-text); font-size: 20px; font-weight: 600; line-height: 1.3; }
.home-page__study-card p { flex: 1; margin-bottom: 20px; color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }
.home-page__card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--color-text); font-size: 13px; font-weight: 600; }
.home-page__card-arrow { display: inline-block; font-size: 14px; transition: transform .18s ease; }
.home-page__study-card:hover .home-page__card-arrow,
.home-page__study-card:focus-visible .home-page__card-arrow { transform: translateX(3px); }
.home-page__admissions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 20px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--color-brand-light); color: var(--color-text); text-decoration: none; transition: background-color .18s ease; }
.home-page__admissions:hover,
.home-page__admissions:focus-visible { background: var(--color-brand); }
.home-page__admissions-copy { display: flex; flex-direction: column; gap: 4px; }
.home-page__admissions-title { color: var(--color-text); font-size: 20px; font-weight: 600; line-height: 1.25; }
.home-page__admissions-text { margin: 0; color: #27343b; font-size: 14px; line-height: 1.5; }
.home-page__admissions-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.home-page__admissions-arrow { display: inline-block; font-size: 14px; transition: transform .18s ease; }
.home-page__admissions:hover .home-page__admissions-arrow,
.home-page__admissions:focus-visible .home-page__admissions-arrow { transform: translateX(4px); }

.home-page__departments { padding-block: clamp(44px, 5vw, 64px) clamp(34px, 4vw, 48px); background: var(--color-white); }
.home-page__department-layout { display: grid; gap: 36px; }
.home-page__department-editorial { position: relative; isolation: isolate; display: flex; min-width: 0; min-height: 210px; flex-direction: column; align-items: center; justify-content: center; padding: 0 0 8px; text-align: center; }
.home-page__department-editorial h2,
.home-page__department-intro { position: relative; z-index: 1; }
.home-page__department-intro { max-width: 29em; margin-top: 16px; color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }
.home-page__department-count { position: relative; z-index: 0; display: block; margin-bottom: -34px; color: var(--color-brand); font-family: var(--font-accent); font-size: 156px; font-weight: 400; line-height: .76; letter-spacing: -.035em; opacity: .34; pointer-events: none; }
.home-page__department-browser { min-width: 0; align-self: start; }
.home-page__department-viewport { overflow: hidden; }
.home-page__department-spread { display: flex; min-height: 225px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-page__department-spread::-webkit-scrollbar { display: none; }
.home-page__department-link { display: flex; min-width: 0; min-height: 225px; flex: 0 0 100%; flex-direction: column; padding: 22px 20px 19px; border-top: 2px solid var(--color-text); background: var(--color-white); color: var(--color-text); scroll-snap-align: start; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.home-page__department-link h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 550; line-height: 1.28; letter-spacing: -.015em; }
.home-page__department-link p { max-width: 34em; margin-top: 10px; color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }
.home-page__department-explore { display: inline-flex; align-items: center; align-self: flex-start; gap: 7px; margin-top: 12px; font-size: 13px; font-weight: 600; }
.home-page__department-explore > span { transition: transform .18s ease; }
.home-page__department-link:hover,
.home-page__department-link:focus-visible { border-top-color: #369ab9; background: var(--color-surface); }
.home-page__department-link:hover .home-page__department-explore > span,
.home-page__department-link:focus-visible .home-page__department-explore > span { transform: translateX(2px); }
.home-page__sample-note { margin-top: -14px; margin-bottom: 24px; color: var(--color-text-muted); font-size: 14px; }
.home-page__latest-heading { align-items: flex-start; }
.home-page__latest-heading > div { min-width: 0; }
.home-page__latest-heading--has-intro { margin-bottom: 24px; }
.home-page__latest-heading .home-page__sample-note { margin: 16px 0 0; }
.home-page__news-column { min-width: 0; }
.home-page__latest-cta { width: fit-content; flex: 0 0 auto; gap: 7px; margin-left: auto; color: var(--color-text); text-decoration: none; white-space: nowrap; }
.home-page__latest-cta > span { transition: transform .18s ease; }
.home-page__latest-cta:hover > span,
.home-page__latest-cta:focus-visible > span { transform: translateX(2px); }
.home-page__latest-layout { display: grid; gap: clamp(42px, 5vw, 64px); }
.home-page__featured-news { min-width: 0; }
.home-page__news-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.home-page__latest :is(.editorial-card--home-featured, .editorial-card--home-compact) { overflow: hidden; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-white); transition: border-color .18s ease, background-color .18s ease; }
.home-page__latest :is(.editorial-card--home-featured, .editorial-card--home-compact):hover,
.home-page__latest :is(.editorial-card--home-featured, .editorial-card--home-compact):focus-within { border-color: color-mix(in srgb, var(--color-brand) 70%, var(--color-border)); background: var(--color-surface-blue); }
.home-page__latest :is(.editorial-card--home-featured, .editorial-card--home-compact) .editorial-card__link:focus-visible { outline: 2px solid var(--color-brand); outline-offset: -3px; }
.home-page__latest .editorial-card--home-featured { background: var(--color-surface-blue); }
.home-page__latest .editorial-card--home-featured .editorial-card__link { padding: 0; }
.home-page__latest .editorial-card--home-featured .editorial-card__image { min-height: 0; aspect-ratio: 4 / 3; isolation: isolate; }
.home-page__latest .editorial-card--home-featured .editorial-card__image--soft-fill .editorial-card__image-backdrop { position: absolute; inset: -8%; z-index: 0; width: 116%; height: 116%; opacity: .72; filter: blur(18px) brightness(.86) saturate(.82); object-fit: cover; transform: scale(1.04); }
.home-page__latest .editorial-card--home-featured .editorial-card__image--soft-fill > img:not(.editorial-card__image-backdrop) { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home-page__latest .editorial-card--home-featured .editorial-card__copy { align-self: stretch; justify-content: center; padding: 16px 20px; }
.home-page__latest .editorial-card--home-featured .editorial-card__copy h2 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25; }
.home-page__latest .editorial-card--home-featured .editorial-card__excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-page__latest .editorial-card--home-featured .editorial-card__read-more { margin-top: 10px; }
.home-page__latest .editorial-card--home-compact { --home-news-thumbnail-width: clamp(88px, 9vw, 104px); min-height: 0; }
.home-page__latest .editorial-card--home-compact .editorial-card__link { display: grid; height: 100%; min-height: 0; grid-template-columns: var(--home-news-thumbnail-width) minmax(0, 1fr); align-items: start; overflow: hidden; padding: 0; }
.home-page__latest .editorial-card--home-compact .editorial-card__image { position: relative; width: var(--home-news-thumbnail-width); height: auto; min-height: 0; align-self: start; aspect-ratio: 3 / 4; }
.home-page__latest .editorial-card--home-compact .editorial-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-page__latest .editorial-card--home-compact .editorial-card__copy { display: grid; height: 100%; min-height: 0; grid-template-rows: auto auto minmax(0, 1fr); align-content: start; justify-content: stretch; overflow: hidden; padding: 12px 14px; }
.home-page__latest .editorial-card--home-compact .editorial-card__copy h2 { display: -webkit-box; overflow: hidden; margin-top: 6px; font-size: 14px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.home-page__latest .editorial-card--home-compact .editorial-card__excerpt { display: -webkit-box; min-height: 0; overflow: hidden; margin-top: 4px; font-size: 11.5px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.home-page__latest .editorial-card--home-compact[data-home-excerpt-lines="0"] .editorial-card__excerpt { display: none; }
.home-page__latest .editorial-card--home-compact[data-home-excerpt-lines="1"] .editorial-card__excerpt { -webkit-line-clamp: 1; }
.home-page__latest .editorial-card--home-compact[data-home-excerpt-lines="2"] .editorial-card__excerpt { -webkit-line-clamp: 2; }
.home-page__latest .editorial-card--home-compact[data-home-excerpt-lines="3"] .editorial-card__excerpt { -webkit-line-clamp: 3; }
.home-page__latest .editorial-card--home-compact[data-home-excerpt-lines="4"] .editorial-card__excerpt { -webkit-line-clamp: 4; }
.home-page__events { align-self: start; box-sizing: border-box; padding: 24px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface-blue); color: var(--color-text); }
.home-page__events > h3 { margin: 0; font-size: 14px; font-weight: 650; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.home-page__events ol { display: grid; grid-auto-rows: minmax(116px, 1fr); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.home-page__events-list--upcoming + .home-page__events-list--past { margin-top: 10px; }
.home-page__events li { min-width: 0; height: 100%; }
.home-page__events li > a { display: grid; height: 100%; min-height: 116px; box-sizing: border-box; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-white); box-shadow: 0 8px 22px color-mix(in srgb, var(--color-brand) 7%, transparent); color: inherit; text-decoration: none; transition: border-color .18s ease, background-color .18s ease; }
.home-page__events li > a:hover,
.home-page__events li > a:focus-visible { border-color: color-mix(in srgb, var(--color-brand) 34%, var(--color-border)); background: color-mix(in srgb, var(--color-surface-blue) 45%, var(--color-white)); }
.home-page__events li > a:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.home-page__events .home-page__event--past > a { min-height: 124px; padding-block: 15px; border-color: color-mix(in srgb, var(--color-text-muted) 18%, var(--color-border)); background: color-mix(in srgb, var(--color-border) 38%, var(--color-white)); box-shadow: none; color: color-mix(in srgb, var(--color-text) 76%, var(--color-text-muted)); }
.home-page__events .home-page__event--past > a:hover,
.home-page__events .home-page__event--past > a:focus-visible { border-color: color-mix(in srgb, var(--color-text-muted) 34%, var(--color-border)); background: color-mix(in srgb, var(--color-border) 48%, var(--color-white)); }
.home-page__events .home-page__event--past .home-page__event-date-column { position: relative; }
.home-page__events .home-page__event--past .home-page__event-date-column::after { position: absolute; top: 0; left: 4px; width: 48px; height: 55px; border-radius: 6px; background: linear-gradient(to top right, transparent calc(50% - .75px), color-mix(in srgb, var(--color-text-muted) 68%, transparent) 50%, transparent calc(50% + .75px)); content: ""; pointer-events: none; }
.home-page__events .home-page__event--past time { border-color: color-mix(in srgb, var(--color-text-muted) 24%, var(--color-border)); background: color-mix(in srgb, var(--color-border) 58%, var(--color-white)); }
.home-page__events .home-page__event--past time::before,
.home-page__events .home-page__event--past time::after { background-color: color-mix(in srgb, var(--color-text-muted) 72%, var(--color-border)); }
.home-page__events .home-page__event--past time span { color: var(--color-text-muted); }
.home-page__event-date-column { display: flex; width: 56px; min-width: 0; flex-direction: column; align-items: center; }
.home-page__events time { position: relative; display: flex; width: 48px; min-height: 55px; box-sizing: border-box; flex-direction: column; align-items: center; justify-content: center; padding: 9px 4px 5px; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-surface-blue); line-height: 1; }
.home-page__events time::before,
.home-page__events time::after { position: absolute; top: -5px; width: 3px; height: 9px; border-radius: 999px; background: var(--color-text-muted); content: ""; }
.home-page__events time::before { left: 12px; }
.home-page__events time::after { right: 12px; }
.home-page__events time strong { font-size: 24px; font-weight: 500; }
.home-page__events time span { margin-top: 5px; color: #17637b; font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.home-page__event-context { display: block; margin-bottom: 6px; color: var(--color-text-muted); font-size: 10px; font-weight: 600; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.home-page__event-date-column .home-page__event-status { display: block; width: 100%; margin-top: 7px; color: var(--color-text-muted); font-size: 8px; font-weight: 650; letter-spacing: .06em; line-height: 1.25; text-align: center; text-transform: uppercase; }
.home-page__event--past .home-page__event-context { margin-bottom: 5px; color: color-mix(in srgb, var(--color-text-muted) 88%, var(--color-border)); }
.home-page__event--past h4 { color: color-mix(in srgb, var(--color-text) 78%, var(--color-text-muted)); }
.home-page__event-copy { min-width: 0; }
.home-page__events h4 { margin: 0; font-size: 14px; font-weight: 550; line-height: 1.4; }
.home-page__events li p { margin-top: 5px; color: var(--color-text-muted); font-size: 10.5px; line-height: 1.4; }
.home-page__event-arrow { align-self: center; font-size: 15px; transition: transform .18s ease; }
.home-page__events li > a:hover .home-page__event-arrow,
.home-page__events li > a:focus-visible .home-page__event-arrow { transform: translateX(2px); }
.home-page__events-empty { margin-block: 28px; color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }
.home-page__empty-state { max-width: 42em; color: var(--color-text-muted); font-size: 14px; line-height: 1.7; }

.home-page__about { padding-block: 36px; background: var(--color-warm); }
.home-page__about-grid { display: grid; gap: 32px; }
.home-page__about-visual { position: relative; min-height: 260px; overflow: hidden; }
.home-page__about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-page__about-copy { padding-block: 10px; }
.home-page__about-copy > p { max-width: 39em; margin-top: 22px; color: var(--color-text-muted); font-size: 14px; }
.home-page__about-copy .home-page__text-link { margin-top: 24px; }

.home-page__explore-grid { display: grid; gap: 30px; margin-top: 28px; }
.home-page__explore-grid a { display: flex; min-width: 0; height: 100%; flex-direction: column; color: var(--color-text); text-decoration: none; }
.home-page__explore-grid a:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 4px; }
.home-page__explore-image { position: relative; width: 100%; aspect-ratio: 8 / 5; overflow: hidden; }
.home-page__explore-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.home-page__explore-grid h3 { margin-top: 18px; font-size: 17px; line-height: 1.35; }
.home-page__explore-grid p { margin-top: 9px; color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }
.home-page__explore-cta { display: inline-flex; align-items: center; align-self: flex-start; gap: 7px; margin-top: 18px; font-size: 13px; font-weight: 600; }
.home-page__explore-cta > span { transition: transform .18s ease; }
.home-page__explore-grid a:hover .home-page__explore-cta > span,
.home-page__explore-grid a:focus-visible .home-page__explore-cta > span { transform: translateX(2px); }

/* Unsynced native Gutenberg homepage patterns. */
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern {
  margin: 0;
  font-family: var(--font-sans);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern:not(.has-background) {
  background: var(--color-white);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern:not(.has-text-color) {
  color: var(--color-text);
}

/* Core Group background support must not add layout padding to full-width sections. */
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern.has-background {
  padding-inline: 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern--hero.has-background {
  padding-block: 0;
}

/* Text and muted-text backgrounds are the two dark palette choices. */
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern:is(.has-text-background-color, .has-muted-background-color):not(.has-text-color),
.home-page .flf-home-section-color:is(.has-text-background-color, .has-muted-background-color):not(.has-text-color) {
  color: var(--color-white);
  --flf-home-section-muted-color: var(--color-white);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern.has-text-color,
.home-page .flf-home-section-color.has-text-color {
  --flf-home-section-muted-color: inherit;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern:is(.has-text-color, .has-text-background-color, .has-muted-background-color) :is(.flf-home-pattern__section-title, .flf-home-pattern__hero-title) {
  color: inherit;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern > .site-container,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern .site-container {
  width: min(calc(100% - (var(--content-padding) * 2)), var(--content-width));
  margin-inline: auto;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__section-title {
  font-family: var(--font-content-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.14;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__section-intro {
  max-width: 48em;
  margin-top: 10px;
  color: var(--flf-home-section-muted-color, var(--color-text-muted));
  font-size: 15px;
  line-height: 1.55;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern--hero:not(.has-background) {
  background: var(--color-white);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-grid {
  display: grid;
}

:where(.home-page, .editor-styles-wrapper) :is(.flf-home-pattern__hero-grid, .flf-home-pattern__hero-copy, .flf-home-pattern__hero-visual) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-copy {
  padding-block: 30px 26px;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__eyebrow {
  max-width: 34em;
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .015em;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-title {
  margin: 0;
  font-family: var(--font-accent);
  font-size: clamp(2rem, 3.75vw, 3.55rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}

html:lang(en) .home-page :is(.home-page__hero h1, .flf-home-pattern__hero-title) {
  font-family: var(--font-sans);
  font-weight: 600;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-description {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.5;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  margin-top: 22px;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__actions > .wp-block-button {
  min-width: 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button .wp-block-button__link {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--primary .wp-block-button__link {
  padding: 10px 8px;
  background: var(--color-brand);
  color: var(--color-text);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--primary.flf-home-pattern__button--auto-arrow .wp-block-button__link::after {
  content: "↗";
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--primary .wp-block-button__link:hover,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--primary .wp-block-button__link:focus-visible {
  background: var(--color-brand-light);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--secondary .wp-block-button__link {
  padding: 10px 2px;
  border-bottom: 1px solid #a7b0b3;
  background: transparent;
  color: var(--color-text);
  font-weight: 500;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--secondary.flf-home-pattern__button--auto-arrow .wp-block-button__link::after {
  content: "→";
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--auto-arrow .wp-block-button__link::after {
  flex: 0 0 auto;
  font-size: 1em;
  line-height: 1;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--secondary .wp-block-button__link:hover,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--secondary .wp-block-button__link:focus-visible {
  border-bottom-color: #17637b;
  color: #17637b;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-visual {
  min-width: 0;
  margin: 0;
  padding-bottom: 20px;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image {
  position: relative;
  height: 180px;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  background: var(--color-surface-warm);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image :is(a, img),
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: 48% 68%;
  transform: scale(1.06);
  transform-origin: 50% 68%;
}

:where(.home-page, .editor-styles-wrapper) :is(.flf-home-pattern--studies, .flf-home-pattern--explore, .flf-home-pattern--partners) {
  padding-block: var(--section-space);
}

/*
 * Study Cycles owns its vertical rhythm instead of inheriting Gutenberg's
 * flow/blockGap margins. The structural fallbacks keep previously inserted
 * patterns working if their Heading, Paragraph, or Columns helper class was
 * removed in the editor.
 */
:is(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies > :is(.flf-home-pattern__inner, .site-container) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 16px;
}

:is(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies > :is(.flf-home-pattern__inner, .site-container) > :is(.flf-home-pattern__section-title, .wp-block-heading),
:is(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies > :is(.flf-home-pattern__inner, .site-container) > :is(.flf-home-pattern__section-intro, p),
:is(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies > :is(.flf-home-pattern__inner, .site-container) > :is(.flf-home-pattern__study-grid, .wp-block-columns) {
  margin-block: 0 !important;
  padding-block: 0;
}

:is(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies > :is(.flf-home-pattern__inner, .site-container) > :is(.flf-home-pattern__study-grid, .wp-block-columns) {
  margin-block-start: 12px !important;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies:not(.has-background),
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern--about:not(.has-background),
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern--enrollment:not(.has-background) {
  background: var(--color-warm);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern--enrollment {
  padding-block: clamp(28px, 4vw, 48px);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-grid,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-grid {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-grid > .wp-block-column,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-grid > .wp-block-column {
  min-width: 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 24px 22px;
  border-top: 2px solid var(--color-text);
  background: var(--color-white);
  color: var(--color-text);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-card > p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.55;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-card > .wp-block-buttons {
  margin-top: auto;
  margin-bottom: 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-card .flf-home-pattern__text-button .wp-block-button__link {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 8px;
  padding: 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__text-button .wp-block-button__link,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions-button .wp-block-button__link {
  min-height: 44px;
  padding: 9px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__text-button .wp-block-button__link:hover,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__text-button .wp-block-button__link:focus-visible,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions-button .wp-block-button__link:hover,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions-button .wp-block-button__link:focus-visible {
  color: var(--color-text-muted);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-light);
  color: var(--color-text);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern--enrollment .flf-home-pattern__admissions {
  margin-top: 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions-copy h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions-copy p {
  margin: 4px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern--about {
  padding-block: 36px;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-grid {
  display: grid;
  gap: 32px;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-image {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--color-image-highlight-warm);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-image :is(a, img),
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy {
  padding-block: 10px;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > p {
  max-width: 39em;
  margin: 22px 0 0;
  color: var(--flf-home-section-muted-color, var(--color-text-muted));
  font-size: 14px;
  line-height: 1.65;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > .wp-block-buttons {
  margin-top: 24px;
}

/*
 * About uses the same restrained link CTA as the legacy homepage. The button
 * selector keeps already-inserted Phase 2 preview patterns visually compatible;
 * newly inserted patterns use the native link markup below.
 */
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > .flf-home-pattern__about-cta {
  width: fit-content;
  max-width: none;
  margin: 24px 0 0;
  color: var(--color-text);
  font-size: inherit;
  line-height: inherit;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > .flf-home-pattern__about-cta > a.home-page__text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
  border-bottom: 1px solid #a7b0b3;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > .flf-home-pattern__about-cta > a.home-page__text-link:hover,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > .flf-home-pattern__about-cta > a.home-page__text-link:focus-visible {
  border-bottom-color: #17637b;
  color: #17637b;
}

/* Keep core/editor link colors from changing this purpose-specific CTA. */
.editor-styles-wrapper .flf-home-pattern__about-copy > p.flf-home-pattern__about-cta > a.home-page__text-link {
  color: var(--color-text);
}

.editor-styles-wrapper .flf-home-pattern__about-copy > p.flf-home-pattern__about-cta > a.home-page__text-link:hover,
.editor-styles-wrapper .flf-home-pattern__about-copy > p.flf-home-pattern__about-cta > a.home-page__text-link:focus-visible {
  color: #17637b;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > .wp-block-buttons .flf-home-pattern__text-button .wp-block-button__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #a7b0b3;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > .wp-block-buttons .flf-home-pattern__text-button .wp-block-button__link:hover,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy > .wp-block-buttons .flf-home-pattern__text-button .wp-block-button__link:focus-visible {
  border-bottom-color: #17637b;
  color: #17637b;
}

:where(.home-page, .editor-styles-wrapper) a.flf-home-pattern__cta--auto-arrow::after,
.editor-styles-wrapper .wp-block-button.flf-home-pattern__cta--auto-arrow > .wp-block-button__link::after {
  content: "→";
  flex: 0 0 auto;
  font-size: 1em;
  line-height: 1;
}

.editor-styles-wrapper .flf-home-pattern__cta-has-literal-arrow .flf-home-pattern__cta--auto-arrow::after {
  content: none;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
}

.home-page .flf-home-pattern__explore-card {
  position: relative;
}

.home-page .flf-home-pattern__explore-card .flf-home-pattern__text-button .wp-block-button__link::before {
  position: absolute;
  inset: 0;
  content: "";
}

.home-page .flf-home-pattern__explore-card:focus-within {
  outline: 2px solid var(--color-brand);
  outline-offset: 4px;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card > .wp-block-image {
  width: 100%;
  aspect-ratio: 8 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--color-image-highlight-warm);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card > .wp-block-image :is(a, img),
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card > .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card h3 {
  margin: 18px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card > p {
  margin: 9px 0 0;
  color: var(--flf-home-section-muted-color, var(--color-text-muted));
  font-size: 14px;
  line-height: 1.55;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card > .wp-block-buttons {
  margin-top: 18px;
  padding-top: 0;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card .flf-home-pattern__text-button .wp-block-button__link {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card a.flf-home-pattern__cta--auto-arrow::after,
.editor-styles-wrapper .flf-home-pattern__explore-card .wp-block-button.flf-home-pattern__cta--auto-arrow > .wp-block-button__link::after {
  transition: transform .18s ease;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card .flf-home-pattern__text-button .wp-block-button__link:hover,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card .flf-home-pattern__text-button .wp-block-button__link:focus-visible {
  color: var(--color-text);
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card a.flf-home-pattern__cta--auto-arrow:hover::after,
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card a.flf-home-pattern__cta--auto-arrow:focus-visible::after,
.editor-styles-wrapper .flf-home-pattern__explore-card .wp-block-button.flf-home-pattern__cta--auto-arrow:hover > .wp-block-button__link::after,
.editor-styles-wrapper .flf-home-pattern__explore-card .wp-block-button.flf-home-pattern__cta--auto-arrow:focus-within > .wp-block-button__link::after {
  transform: translateX(2px);
}

.editor-styles-wrapper .flf-home-partners-editor-preview {
  --flf-home-partner-editor-gap: 12px;
  --flf-home-partner-editor-slot: calc((100% - 12px) / 2);
  width: 100%;
  min-width: 0;
  cursor: pointer;
}

.editor-styles-wrapper .flf-home-partners-editor-preview:focus {
  outline: none;
}

.editor-styles-wrapper .flf-home-partners-editor-preview:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: -2px;
}

.editor-styles-wrapper .flf-home-partners-editor-viewport {
  width: 100%;
  min-width: 0;
  margin-top: 28px;
  overflow-x: clip;
  overflow-y: visible;
}

.editor-styles-wrapper .flf-home-partners-editor-track {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-auto-columns: var(--flf-home-partner-editor-slot);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: var(--flf-home-partner-editor-gap);
}

.editor-styles-wrapper .flf-home-partners-editor-logo {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 88px;
  box-sizing: border-box;
}

.editor-styles-wrapper .flf-home-partners-editor-logo > img {
  position: static !important;
  inset: auto !important;
  display: block;
  width: min(100%, 132px) !important;
  max-width: 132px !important;
  height: 52px !important;
  max-height: 52px !important;
  margin: auto;
  object-fit: contain;
  transform: none !important;
}

.editor-styles-wrapper .flf-home-partners-editor-logo > span {
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.editor-styles-wrapper .flf-home-partners-editor-controls {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin: 22px auto 0;
}

.editor-styles-wrapper .flf-home-partners-editor-controls__note {
	color: var(--color-text-muted);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.editor-styles-wrapper .flf-home-partners-editor-range {
	display: none;
}

.editor-styles-wrapper .flf-home-partners-editor-range--mobile {
	display: inline;
}

.home-page .flf-home-pattern__partners-carousel {
  margin-top: 28px;
}

.home-page .flf-home-pattern__partners-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: clip;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.home-page .flf-home-pattern__partners-viewport::-webkit-scrollbar {
  display: none;
}

.home-page .flf-home-pattern__partners-grid {
  --home-partner-gap: 12px;
  --home-partner-preferred-width: 132px;
  --home-partner-slot-width: var(--home-partner-preferred-width);
  display: flex;
  width: max-content;
  gap: var(--home-partner-gap);
  margin: 0;
}

.home-page .flf-home-pattern__partners-carousel.is-static .flf-home-pattern__partners-grid > [aria-hidden="true"],
.home-page .flf-home-pattern__partners-carousel.is-static .flf-carousel-controls {
  display: none;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__partner-logo {
  display: grid;
  min-width: 0;
  min-height: 88px;
  margin: 0;
  padding: 14px;
  place-items: center;
  border-top: 1px solid var(--color-border);
}

.home-page .flf-home-pattern__partner-logo {
  width: var(--home-partner-slot-width);
  flex: 0 0 var(--home-partner-slot-width);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__partner-logo > :is(a, img),
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__partner-logo img {
  width: 100%;
  height: 52px;
  object-fit: contain;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__partner-logo > a {
  display: grid;
  place-items: center;
}

:where(.home-page, .editor-styles-wrapper) .flf-home-pattern__partner-logo > a:focus-visible {
  outline-color: var(--color-brand);
  outline-offset: 5px;
}

.home-page .flf-home-pattern__partners-carousel.is-single .flf-carousel-controls {
  display: none;
}

/*
 * Compatibility homepage blocks are dynamic rather than native Groups. Their
 * native block-support wrapper is emitted only after an editor chooses a color.
 */
.home-page .flf-home-section-color {
  width: 100%;
  margin: 0;
}

.home-page .flf-home-section-color.has-background > :is(.home-page__hero, .home-page__quick, .home-page__section, .home-page__study-section, .home-page__departments, .home-page__about) {
  background: transparent;
}

.home-page .flf-home-section-color .home-page__study-lead,
.home-page .flf-home-section-color .home-page__department-intro,
.home-page .flf-home-section-color .home-page__sample-note,
.home-page .flf-home-section-color .home-page__about-copy > p,
.home-page .flf-home-section-color .home-page__explore-grid p {
  color: var(--flf-home-section-muted-color, var(--color-text-muted));
}

.home-page .flf-home-section-color:is(.has-text-color, .has-text-background-color, .has-muted-background-color) > :is(.home-page__hero, .home-page__quick, .home-page__section, .home-page__study-section, .home-page__departments, .home-page__about) :is(h1, h2) {
  color: inherit;
}

/*
 * Keep foreground copy readable when a section uses a dark palette token or
 * an explicit native text color. Card content keeps its own light-surface
 * colors, and images/logos are never filtered or recolored.
 */
:where(.home-page, .editor-styles-wrapper) .flf-home-pattern:is(.has-text-color, .has-text-background-color, .has-muted-background-color) :is(
  .flf-home-pattern__eyebrow,
  .flf-home-pattern__hero-description,
  .flf-home-pattern__about-copy > p,
  .flf-home-pattern__about-copy > .flf-home-pattern__about-cta,
  .flf-home-pattern__about-copy > .flf-home-pattern__about-cta > a.home-page__text-link,
  .flf-home-pattern__explore-card > h3,
  .flf-home-pattern__explore-card > p,
  .flf-home-pattern__explore-card .flf-home-pattern__text-button .wp-block-button__link
) {
  color: inherit;
}

.home-page .flf-home-section-color:is(.has-text-color, .has-text-background-color, .has-muted-background-color) :is(
  .home-page__hero-description,
  .home-page__university,
  .home-page__about-copy > p,
  .home-page__about-copy .home-page__text-link,
  .home-page__explore-grid > a,
  .home-page__explore-grid p
) {
  color: inherit;
}

@media (max-width: 767px) {
  .home-page__study-section { padding-top: 40px; }
  .home-page__explore-grid,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-grid { row-gap: 40px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies { padding-top: 40px; }
}

@media (max-width: 640px) {
  .home-page__admissions { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .home-page__admissions-cta { min-height: 44px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
}

@media (max-width: 500px) {
  .home-page__actions,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__actions { display: flex; width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 10px 14px; }
  .home-page__actions > a,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__actions > .wp-block-button { flex: 0 1 auto; }
  .home-page__actions .home-page__button,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--primary .wp-block-button__link { padding-inline: 12px; }
  .home-page__actions .home-page__text-link,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--secondary .wp-block-button__link { padding-inline: 6px; }
}

@media (max-width: 480px) {
  .home-page__quick-grid { grid-template-columns: minmax(0, 1fr); padding-block: 8px; }
  .home-page__quick-grid a,
  .home-page__quick-grid a:nth-child(odd),
  .home-page__quick-grid a:nth-child(-n+2) { min-height: 52px; justify-content: flex-start; gap: 12px; padding: 10px 4px; border: 0; font-size: 12px; text-align: left; }
  .home-page__quick-grid a + a:nth-child(n) { border-top: 1px solid var(--color-border); }
  .home-page__quick-grid a > span:not(.home-page__arrow) { min-width: 0; flex: 1; white-space: nowrap; }
  .home-page__quick-grid .home-page__arrow { margin-left: auto; }
  .home-page__events { padding: 18px; }
  .home-page__events li > a { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .home-page__event-date-column { width: 52px; }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .home-page__explore-grid a:hover .home-page__explore-image img,
  .home-page__explore-grid a:focus-visible .home-page__explore-image img { transform: scale(1.015); }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card:hover > .wp-block-image img,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card:focus-within > .wp-block-image img { transform: scale(1.015); }
}

@media (min-width: 768px) {
  .home-page__actions { display: flex; gap: 18px; }
  .home-page__actions > a { gap: 14px; font-size: 13px; }
  .home-page__actions .home-page__button { padding: 11px 17px; }
  .home-page__actions .home-page__text-link { padding-inline: 0; }
  .home-page__hero-copy { padding-block: 40px 34px; }
  .home-page__hero-image { height: 300px; }
  .home-page__hero h1 { font-size: 44px; }
  .home-page__hero-visual { padding-bottom: 24px; }
  .home-page__quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 18px; }
  .home-page__quick-grid a,
  .home-page__quick-grid a:nth-child(odd) { min-height: 60px; padding: 8px 18px; border: 0; border-right: 1px solid var(--color-border); font-size: 13px; }
  .home-page__quick-grid a:last-child { border-right: 0; }
  .home-page__quick-grid a:nth-child(-n+2) { border-bottom: 0; }
  .home-page__study-intro { margin-bottom: 32px; }
  .home-page__study-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .home-page__study-card { padding: 26px 24px; }
  .home-page__admissions { margin-top: 24px; padding: 22px 28px; }
  .home-page__department-spread { min-height: 0; gap: 20px; }
  .home-page__department-link { min-height: 250px; flex-basis: calc((100% - 20px) / 2); padding: 24px 22px 21px; }
  .home-page__department-link:only-child { margin-inline: auto; }
  .home-page__featured-news .editorial-card--home-featured { height: clamp(255px, 18.7vw, 273px); }
  .home-page__featured-news .editorial-card__link { display: grid; height: 100%; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; }
  .home-page__featured-news .editorial-card__image { height: 100%; min-height: 0; align-self: stretch; aspect-ratio: auto; overflow: hidden; }
  .home-page__news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-page__about { padding-block: 48px; }
  .home-page__about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .home-page__about-visual { min-height: 390px; }
  .home-page__explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page__explore-grid--columns-1 { grid-template-columns: minmax(0, 1fr); }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__actions { display: flex; gap: 18px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__actions > .wp-block-button { flex: 0 0 auto; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button .wp-block-button__link { width: auto; gap: 14px; font-size: 13px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--primary .wp-block-button__link { padding: 11px 17px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__button--secondary .wp-block-button__link { padding-inline: 0; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-copy { padding-block: 40px 34px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-title { font-size: 44px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-visual { padding-bottom: 24px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image { height: 300px; min-height: 300px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image :is(a, img),
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image img { height: 300px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  :is(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies > :is(.flf-home-pattern__inner, .site-container) > :is(.flf-home-pattern__study-grid, .wp-block-columns) { margin-block-start: 16px !important; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-card { padding: 26px 24px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions { margin-top: 24px; padding: 22px 28px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-image { min-height: 390px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-image :is(a, img),
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-image img { height: 390px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .editor-styles-wrapper .flf-home-partners-editor-preview {
    --flf-home-partner-editor-slot: calc((100% - 36px) / 4);
  }
  .editor-styles-wrapper .flf-home-partners-editor-range--mobile { display: none; }
  .editor-styles-wrapper .flf-home-partners-editor-range--tablet { display: inline; }
  .home-page .flf-home-pattern__partners-grid { --home-partner-preferred-width: 152px; }
}

@media (min-width: 1024px) {
  .home-page__section { padding-block: clamp(64px, 6vw, 80px); }
  .home-page__latest { padding-bottom: clamp(52px, 4.5vw, 64px); }
  .home-page__study-section { padding-top: clamp(52px, 4.5vw, 64px); }
  .home-page__departments { padding-block: clamp(44px, 5vw, 64px) clamp(34px, 4vw, 48px); }
  .home-page__explore-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .home-page__explore-grid--columns-1 { grid-template-columns: minmax(0, 1fr); }
  .home-page__explore-grid--columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page__explore-grid--columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page__hero-grid { grid-template-columns: minmax(0, .83fr) minmax(0, 1fr); align-items: center; gap: 34px; padding-block: 34px; }
  .home-page__hero-visual { padding-bottom: 0; }
  .home-page__hero-copy { padding-block: 14px; }
  .home-page__hero h1 { font-size: clamp(2.6rem, 3.65vw, 3.4rem); }
  .home-page__hero-image { height: 390px; }
  .home-page__hero-description { margin-top: 24px; font-size: 19px; }
  .home-page__actions { gap: var(--space-4); margin-top: 26px; }
  .home-page__university { max-width: none; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.45; }
  .home-page__department-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1.78fr); align-items: stretch; gap: 56px; }
  .home-page__department-editorial { min-height: 0; padding: 0 0 16px; }
  .home-page__department-count { margin-bottom: -74px; font-size: 300px; opacity: .34; }
  .home-page__department-link { min-height: 250px; }
  .home-page__department-link h3 { font-size: clamp(1.45rem, 1.8vw, 1.75rem); }
  .home-page__about-grid { align-items: center; gap: 80px; }
  .home-page__about-copy { padding-block: 24px; }
  .home-page__about { padding-block: 60px; }
  .home-page__study-grid { gap: 24px; }
  .home-page__study-card { padding: 30px 28px; }
  .home-page__admissions { padding: 24px 32px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-grid { grid-template-columns: minmax(0, .83fr) minmax(0, 1fr); align-items: center; gap: 34px; padding-block: 34px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-copy { padding-block: 14px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-title { font-size: clamp(2.6rem, 3.65vw, 3.4rem); }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-description { margin-top: 24px; font-size: 19px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-visual { padding-bottom: 0; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image { height: 390px; min-height: 390px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image :is(a, img),
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__hero-image img { height: 390px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__eyebrow { max-width: none; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.45; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__actions { gap: var(--space-4); margin-top: 26px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-grid { gap: 24px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__study-card { padding: 30px 28px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern--studies { padding-top: clamp(52px, 4.5vw, 64px); padding-bottom: clamp(64px, 6vw, 80px); }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__admissions { padding: 24px 32px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-grid { align-items: center; gap: 80px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__about-copy { padding-block: 24px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern--about { padding-block: 60px; }
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .home-page .flf-home-pattern__partners-grid { --home-partner-preferred-width: 168px; }
}

/* This follows the tablet grid declaration so its shorthand gap cannot reset the row rhythm. */
@media (min-width: 768px) and (max-width: 1023px) {
  .home-page__explore-grid,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-grid { row-gap: 32px; }
}

@media (min-width: 1200px) {
  .editor-styles-wrapper .flf-home-partners-editor-preview {
    --flf-home-partner-editor-slot: calc((100% - 72px) / 7);
  }
  .editor-styles-wrapper .flf-home-partners-editor-range--tablet { display: none; }
  .editor-styles-wrapper .flf-home-partners-editor-range--desktop { display: inline; }
  .home-page__latest-layout { grid-template-columns: minmax(0, 17fr) minmax(300px, 8fr); align-items: start; gap: var(--space-3); }
  .home-page__news-grid { gap: var(--space-2); margin-top: var(--space-2); }
  .home-page__events { align-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page__latest :is(.editorial-card--home-featured, .editorial-card--home-compact),
  .home-page__latest-cta > span,
  .home-page__event-arrow,
  .home-page__explore-image img,
  .home-page__explore-cta > span,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card a.flf-home-pattern__cta--auto-arrow::after,
  .editor-styles-wrapper .flf-home-pattern__explore-card .wp-block-button.flf-home-pattern__cta--auto-arrow > .wp-block-button__link::after,
  :where(.home-page, .editor-styles-wrapper) .flf-home-pattern__explore-card > .wp-block-image img { transition: none; }

  .home-page .flf-home-pattern__partners-viewport { scroll-behavior: auto; }
}
