/* =========================================================================
   APCA Chandigarh — design layer on top of Kadence.
   Brand: APCA Blue #0A1F8F, APCA Orange #FF671D (accent only), Libre Franklin.
   Rules: radius ≤ 6px, no gradients or glows, generous whitespace, photo-led.
   Section classes are added to core blocks via "Additional CSS class(es)".
   ========================================================================= */

@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/LibreFranklin-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/LibreFranklin-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --apca-blue: #0A1F8F;
  --apca-blue-deep: #071667;
  --apca-blue-80: #3B4CA5;
  --apca-blue-30: #B6BCDD;
  --apca-tint-10: #E6E8F4;
  --apca-tint-5: #F4F5FB;
  --apca-orange: #FF671D;
  --apca-orange-text: #C2410C;   /* APCA Orange darkened for small text on white (WCAG AA) */
  --apca-orange-on-blue: #FF7A33; /* APCA Orange lifted for small text on APCA Blue (WCAG AA) */
  --apca-ink: #1D2238;
  --apca-mute: #5A607E;
  --apca-line: #E1E4F0;
  --apca-radius: 4px;
  --apca-radius-lg: 6px;
  --apca-section: clamp(4rem, 8vw, 7rem);
  --apca-gap: clamp(1.25rem, 2.5vw, 2rem);
  --apca-flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 203 225'%3E%3Cpath fill='%23fff' d='M85 0h118l-51 64 21 52H63L19 225H0z'/%3E%3C/svg%3E");
}

html { -webkit-text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, .entry-title { letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--apca-blue); color: #fff; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--apca-orange); outline-offset: 3px; }

/* Responsive heading scale (overrides Kadence px sizes). */
.entry-content h1, .apca-hero h1 { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.025em; }
.entry-content h2 { font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.entry-content h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.28; }

/* ---------- Page scaffolding ---------- */
.content-area { margin-top: 0; margin-bottom: 0; }
.blog .content-area, .archive .content-area { margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: clamp(4rem, 8vw, 6.5rem); }
.single-post .content-area { margin-bottom: clamp(4rem, 8vw, 6rem); }
.apca-page .entry-content > *:first-child { margin-top: 0; }
.entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.entry-content .wp-block-group.alignfull + .wp-block-group.alignfull { margin-top: 0; }

/* Containers: Kadence restores .wp-block-group__inner-container, so constrain it ourselves. */
.apca-section > .wp-block-group__inner-container,
.apca-facts-wrap > .wp-block-group__inner-container,
.apca-hero__grid {
  max-width: var(--global-content-width, 1200px); margin-left: auto !important; margin-right: auto !important;
  padding-left: var(--global-content-edge-padding, 1rem); padding-right: var(--global-content-edge-padding, 1rem); box-sizing: border-box;
}
.wp-block-group__inner-container > :first-child { margin-top: 0; }
.wp-block-group__inner-container > :last-child { margin-bottom: 0; }

/* Sections */
.apca-section { padding-top: var(--apca-section); padding-bottom: var(--apca-section); }
.apca-section--tight { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.apca-section--tint { background: var(--apca-tint-5); }
.apca-section--line { border-top: 1px solid var(--apca-line); }
.apca-section--blue { background: var(--apca-blue); color: #fff; }
.apca-section--blue h2, .apca-section--blue h3, .apca-section--blue h4 { color: #fff; }
.apca-section--blue p, .apca-section--blue li { color: rgba(255, 255, 255, 0.86); }
.apca-section--blue a:not(.wp-block-button__link) { color: #fff; }

/* Eyebrow / overline */
.apca-eyebrow {
  font-size: 0.75rem !important; line-height: 1.4; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--apca-orange-text); margin: 0 0 0.9rem;
}
.apca-eyebrow--muted { color: var(--apca-mute); }
.apca-section--blue .apca-eyebrow, .apca-hero .apca-eyebrow, .apca-cta__box .apca-eyebrow, .apca-card--new .apca-eyebrow { color: var(--apca-orange-on-blue); }

.apca-lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--apca-mute); max-width: 40em; }
.apca-section--blue .apca-lede, .apca-hero .apca-lede { color: rgba(255, 255, 255, 0.84); }
.apca-small { font-size: 0.875rem; color: var(--apca-mute); }

/* Section header row: title left, link right */
.apca-head { margin-bottom: clamp(2rem, 4vw, 3rem) !important; gap: 1.5rem 3rem; align-items: flex-end !important; }
.apca-head h2 { margin: 0; max-width: 18em; }
.apca-head .apca-lede { margin-top: 1rem; margin-bottom: 0; }
.apca-head > div { gap: 1.5rem 3rem; align-items: flex-end; }
.apca-head > div > .wp-block-group:first-child { flex: 1 1 32rem; }

/* Text link with arrow */
.apca-link a, a.apca-link {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--apca-blue); text-decoration: none;
}
.apca-link a::after, a.apca-link::after { content: ' →'; transition: margin 0.2s; }
.apca-link a:hover::after { margin-left: 0.25em; }
.apca-section--blue .apca-link a { color: #fff; }
.apca-link { margin: 0; }

/* ---------- Buttons ---------- */
.wp-block-button__link, .wp-element-button { border-radius: var(--apca-radius); font-weight: 600; letter-spacing: 0.02em; padding: 0.95em 1.6em; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.wp-block-button.apca-btn--orange .wp-block-button__link { background: var(--apca-orange); color: var(--apca-blue-deep); border: 1px solid var(--apca-orange); }
.wp-block-button.apca-btn--orange .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--apca-blue); }
.wp-block-button.apca-btn--ghost-light .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); }
.wp-block-button.apca-btn--ghost-light .wp-block-button__link:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.wp-block-button.apca-btn--ghost .wp-block-button__link { background: transparent; color: var(--apca-blue); border: 1px solid var(--apca-blue); }
.wp-block-button.apca-btn--ghost .wp-block-button__link:hover { background: var(--apca-blue); color: #fff; }
.wp-block-button.apca-btn--white .wp-block-button__link { background: #fff; color: var(--apca-blue); border: 1px solid #fff; }
.wp-block-button.apca-btn--white .wp-block-button__link:hover { background: var(--apca-tint-10); }
.wp-block-buttons { gap: 0.75rem; }

/* ---------- Hero ---------- */
.apca-hero { position: relative; overflow: hidden; background: var(--apca-blue); color: #fff; padding-top: clamp(3.5rem, 7vw, 6.5rem); padding-bottom: 0; }
.apca-hero::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: clamp(200px, 24vw, 380px); aspect-ratio: 203 / 225; right: -2.5%; top: 9%;
  background: var(--apca-blue-80); opacity: 0.42;
  -webkit-mask: var(--apca-flag) no-repeat center / contain; mask: var(--apca-flag) no-repeat center / contain;
}
.apca-hero > .wp-block-group__inner-container { position: relative; z-index: 1; }
.apca-hero h1 { color: #fff; margin: 0; }
.apca-hero h1 em, .apca-hero h1 strong { font-style: normal; font-weight: inherit; color: var(--apca-orange); }
.apca-hero__grid { gap: clamp(1.5rem, 4vw, 4rem) !important; align-items: flex-end !important; margin-bottom: clamp(2.5rem, 5vw, 4.5rem) !important; }
.apca-hero__grid .apca-lede { margin-top: 0; }
.apca-hero--page { padding-bottom: clamp(3rem, 6vw, 5rem); }
.apca-hero--page .apca-hero__grid { margin-bottom: 0 !important; }
.apca-hero--page h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); }

/* Photo strip (hero bottom) */
.apca-strip { gap: 0 !important; margin: 0 !important; }
.apca-strip .wp-block-column { margin: 0 !important; flex-basis: 0 !important; flex-grow: 1 !important; min-width: 0; }
.apca-strip figure { margin: 0 !important; height: 100%; }
.apca-strip img { display: block; width: 100%; height: clamp(180px, 26vw, 380px) !important; object-fit: cover; aspect-ratio: auto !important; }
.apca-strip .wp-block-column + .wp-block-column img { border-left: 2px solid var(--apca-blue); }
@media (max-width: 781px) {
  .apca-strip { flex-wrap: wrap !important; }
  .apca-strip .wp-block-column { flex-basis: 50% !important; }
  .apca-strip .wp-block-column:nth-child(n+3) { display: none; }
  .apca-strip img { height: 200px !important; }
}

/* ---------- Facts band ---------- */
.apca-facts { gap: 0 !important; border-bottom: 1px solid var(--apca-line); margin: 0 !important; }
.apca-facts > .wp-block-column { padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--apca-line); margin: 0 !important; }
.apca-facts > .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.apca-fact__num { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem) !important; line-height: 1; font-weight: 500; color: var(--apca-blue); letter-spacing: -0.03em; margin: 0 0 0.6rem !important; }
.apca-fact__label { font-size: 0.75rem !important; line-height: 1.45; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--apca-mute); margin: 0 !important; max-width: 18em; }
@media (max-width: 781px) {
  .wp-block-columns.apca-facts { flex-wrap: wrap !important; }
  .wp-block-columns.apca-facts > .wp-block-column.wp-block-column { flex-basis: 50% !important; flex-grow: 0; border-left: 0; padding-left: 0; padding-right: 0.75rem; border-top: 1px solid var(--apca-line); }
  .wp-block-columns.apca-facts > .wp-block-column.wp-block-column:nth-child(-n+2) { border-top: 0; }
  .wp-block-columns.apca-facts > .wp-block-column.wp-block-column:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--apca-line); }
}

/* ---------- Split (text + image) ---------- */
.apca-split { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; }
.apca-split figure { margin: 0; }
.apca-split img { border-radius: var(--apca-radius); width: 100%; object-fit: cover; }

/* Pillars list */
.apca-pillars { margin-top: 2rem !important; display: grid; gap: 0; }
.apca-pillar { border-top: 1px solid var(--apca-line); padding: 1.25rem 0 1.25rem 3.25rem !important; position: relative; margin: 0 !important; }
.apca-pillar:last-child { border-bottom: 1px solid var(--apca-line); }
.apca-pillar h3 { margin: 0 0 0.35rem; font-size: 1.125rem !important; }
.apca-pillar p { margin: 0; color: var(--apca-mute); font-size: 0.975rem; }
.apca-pillar::before { counter-increment: pillar; content: counter(pillar, decimal-leading-zero); position: absolute; left: 0; top: 1.4rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; color: var(--apca-orange-text); }
.apca-pillars { counter-reset: pillar; }

/* ---------- Timeline ---------- */
.apca-timeline > div { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; border-top: 1px solid var(--apca-blue-30); margin-top: 0 !important; }
.apca-timeline > div > .wp-block-group { position: relative; padding: 1.75rem 1.5rem 1.75rem 0 !important; margin: 0 !important; border-bottom: 1px solid var(--apca-line); }
.apca-timeline > div > .wp-block-group::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--apca-blue); border-radius: 50%; }
.apca-timeline__year { font-size: 1.75rem !important; font-weight: 500; color: var(--apca-blue); letter-spacing: -0.02em; line-height: 1; margin: 0 0 0.6rem !important; }
.apca-timeline__text { margin: 0 !important; font-size: 0.95rem; color: var(--apca-ink); line-height: 1.5; }
.apca-timeline__text + .apca-timeline__text { color: var(--apca-mute); margin-top: 0.25rem !important; font-size: 0.875rem; }
.apca-timeline > div > .apca-timeline--next { background: var(--apca-blue); padding-left: 1.5rem !important; border-bottom-color: var(--apca-blue); }
.apca-timeline .apca-timeline--next::before { background: var(--apca-orange); left: 1.5rem; }
.apca-timeline--next .apca-timeline__year, .apca-timeline--next .apca-timeline__text { color: #fff !important; }
.apca-timeline--next .apca-timeline__text + .apca-timeline__text { color: rgba(255, 255, 255, 0.78) !important; }
@media (max-width: 1024px) { .apca-timeline > div { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .apca-timeline > div { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--apca-blue-30); }
  .apca-timeline > div > .wp-block-group { padding: 0.25rem 0 1.5rem 1.5rem !important; border-bottom: 0; }
  .apca-timeline > div > .wp-block-group::before { top: 0.5rem; left: -5px; }
  .apca-timeline > div > .apca-timeline--next { padding: 1.25rem 1.25rem 1.25rem 1.5rem !important; border-radius: 0 var(--apca-radius) var(--apca-radius) 0; }
  .apca-timeline .apca-timeline--next::before { left: -5px; top: 1.6rem; }
}

/* ---------- Tablet: 2-up grids, stacked hero and enquiry band ---------- */
@media (min-width: 782px) and (max-width: 1024px) {
  .wp-block-columns.apca-grid { flex-wrap: wrap !important; }
  .wp-block-columns.apca-grid > .wp-block-column.wp-block-column { flex-basis: calc(50% - var(--apca-gap)) !important; flex-grow: 0; }
  .wp-block-columns.apca-grid > .wp-block-column:empty { display: none; }
}
@media (max-width: 1024px) {
  .wp-block-columns.apca-hero__grid, .wp-block-columns.apca-enquire__grid { flex-wrap: wrap !important; }
  .wp-block-columns.apca-hero__grid > .wp-block-column.wp-block-column,
  .wp-block-columns.apca-enquire__grid > .wp-block-column.wp-block-column { flex-basis: 100% !important; }
  .apca-hero__grid { align-items: flex-start !important; }
}
@media (max-width: 781px) { .apca-hero::before { display: none; } }

/* ---------- Cards (campus, course, quote) ---------- */
.apca-grid { gap: var(--apca-gap) !important; }
.apca-card { background: #fff; border: 1px solid var(--apca-line); border-radius: var(--apca-radius-lg); padding: clamp(1.25rem, 2vw, 1.75rem) !important; margin: 0 !important; height: 100%; }
.apca-card > div, .apca-course > div, .apca-quote > div { display: flex; flex-direction: column; height: 100%; }
.apca-card > div > *, .apca-course > div > *, .apca-quote > div > * { margin-top: 0; }
.apca-card h3 { margin: 0 0 0.5rem; }
.apca-card p { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--apca-mute); }
.apca-card .apca-eyebrow { margin-bottom: 0.75rem; }
.apca-card--new { background: var(--apca-blue); border-color: var(--apca-blue); position: relative; overflow: hidden; }
.apca-card--new::after { content: ''; position: absolute; right: -24px; bottom: -30px; width: 120px; aspect-ratio: 203/225; background: var(--apca-blue-80); -webkit-mask: var(--apca-flag) no-repeat center / contain; mask: var(--apca-flag) no-repeat center / contain; opacity: 0.6; }
.apca-card--new h3, .apca-card--new p { color: #fff; position: relative; z-index: 1; }
.apca-card--new p { color: rgba(255, 255, 255, 0.82); }
.apca-card__meta { margin-top: auto !important; padding-top: 0.75rem; font-size: 0.8125rem !important; color: var(--apca-mute) !important; }
.apca-card--new .apca-card__meta { color: rgba(255, 255, 255, 0.75) !important; }
.apca-card--new a { color: #fff; }
.apca-card__meta a { text-decoration: none; font-weight: 600; }
.apca-card__meta a:hover { text-decoration: underline; }

/* Course cards */
.apca-course { margin: 0 !important; display: flex; flex-direction: column; height: 100%; }
.apca-course figure { margin: 0 0 1.1rem !important; overflow: hidden; border-radius: var(--apca-radius); background: var(--apca-tint-10); }
.apca-course img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.apca-course:hover img { transform: scale(1.03); }
.apca-course .apca-eyebrow { margin-bottom: 0.4rem; font-size: 0.6875rem !important; }
.apca-course h3 { margin: 0 0 0.5rem; font-size: 1.2rem !important; }
.apca-course p { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--apca-mute); line-height: 1.55; }
.apca-course .apca-link { margin-top: auto; padding-top: 0.25rem; }
.apca-course .apca-course__facts { font-size: 0.8125rem; color: var(--apca-ink); border-top: 1px solid var(--apca-line); padding-top: 0.75rem; margin-top: 0.25rem; }

/* Quotes */
.apca-quote { border-top: 2px solid var(--apca-orange); padding-top: 1.5rem !important; margin: 0 !important; height: 100%; display: flex; flex-direction: column; }
.apca-quote__text { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem) !important; line-height: 1.55; color: #fff !important; margin: 0 0 1.5rem !important; }
.apca-quote__name { font-weight: 600; color: #fff !important; margin: auto 0 0.15rem !important; font-size: 0.95rem; }
.apca-quote__role { font-size: 0.8125rem !important; color: rgba(255, 255, 255, 0.7) !important; margin: 0 !important; }

/* Awards list */
.entry-content .apca-awards, .apca-awards { margin: 1.5rem 0 0; padding: 0 !important; list-style: none; }
.apca-awards li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.975rem; }
.apca-awards li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.apca-awards li strong { color: var(--apca-orange-text); font-weight: 600; }
.apca-section--blue .apca-awards li strong { color: var(--apca-orange-on-blue); }
.apca-section:not(.apca-section--blue) .apca-awards li { border-color: var(--apca-line); }

/* Why list (checks) */
.entry-content .apca-checks, .apca-checks { list-style: none; margin: 1.5rem 0 0; padding: 0 !important; }
.apca-checks li { position: relative; padding: 0.7rem 0 0.7rem 2rem; border-top: 1px solid var(--apca-line); }
.apca-checks li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 12px; height: 7px; border-left: 2px solid var(--apca-orange); border-bottom: 2px solid var(--apca-orange); transform: rotate(-45deg); }
.apca-section--blue .apca-checks li { border-color: rgba(255, 255, 255, 0.18); }

/* Gallery strip */
.apca-gallery { gap: 0.5rem !important; }
.apca-gallery figure { margin: 0 !important; }
.apca-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--apca-radius); display: block; }
@media (max-width: 781px) {
  .apca-gallery { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .apca-gallery > .wp-block-column { flex: 0 0 62% !important; scroll-snap-align: start; }
}

/* Latest posts */
.apca-latest.wp-block-latest-posts { gap: var(--apca-gap); margin: 0; padding: 0; }
.apca-latest.wp-block-latest-posts.is-grid li { margin: 0 !important; width: auto !important; }
@media (min-width: 600px) { .apca-latest.wp-block-latest-posts.columns-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 900px) { .apca-latest.wp-block-latest-posts.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.apca-latest .wp-block-latest-posts__featured-image { margin: 0 0 1rem; overflow: hidden; border-radius: var(--apca-radius); }
.apca-latest .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.apca-latest .wp-block-latest-posts__post-title { display: block; font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: var(--apca-blue); text-decoration: none; letter-spacing: -0.01em; }
.apca-latest .wp-block-latest-posts__post-title:hover { text-decoration: underline; }
.apca-latest .wp-block-latest-posts__post-date { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--apca-mute); margin: 0.5rem 0 0; font-weight: 600; }
.apca-latest .wp-block-latest-posts__post-excerpt { color: var(--apca-mute); font-size: 0.95rem; margin-top: 0.5rem; }

/* ---------- Enquiry band + form ---------- */
.apca-enquire { position: relative; overflow: hidden; }
.apca-enquire::before { content: ''; position: absolute; left: -40px; bottom: -60px; width: 300px; aspect-ratio: 203/225; background: var(--apca-tint-10); opacity: 1; -webkit-mask: var(--apca-flag) no-repeat center / contain; mask: var(--apca-flag) no-repeat center / contain; pointer-events: none; }
.apca-enquire > div { position: relative; }
.apca-enquire__grid { gap: clamp(2rem, 6vw, 6rem) !important; }
.apca-form-card { background: #fff; color: var(--apca-ink); border-radius: var(--apca-radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem) !important; }
.apca-form-card p { color: var(--apca-mute); }

.fluentform .ff-el-group { margin-bottom: 1.1rem; }
.fluentform .ff-el-input--label label { font-size: 0.8125rem; font-weight: 600; color: var(--apca-ink); letter-spacing: 0.01em; }
.fluentform .ff-el-form-control {
  border: 1px solid #CDD1E3 !important; border-radius: var(--apca-radius) !important; padding: 0.75rem 0.9rem !important;
  font-family: inherit !important; font-size: 1rem !important; color: var(--apca-ink) !important; background: #fff !important; box-shadow: none !important; min-height: 48px;
}
.fluentform textarea.ff-el-form-control { min-height: 110px; }
.fluentform .ff-el-form-control:focus { border-color: var(--apca-blue) !important; outline: 2px solid rgba(10, 31, 143, 0.15); outline-offset: 0; }
.fluentform .ff-el-form-control::placeholder { color: #9AA0B8; }
.fluentform .ff-el-tc label, .fluentform .ff_t_c, .fluentform .ff-el-form-check-label { font-size: 0.8125rem !important; line-height: 1.5; color: var(--apca-mute) !important; }
.fluentform .ff-btn-submit, .fluentform .ff_submit_btn_wrapper button {
  background: var(--apca-blue) !important; color: #fff !important; border: 0 !important; border-radius: var(--apca-radius) !important;
  font-family: inherit !important; font-weight: 600 !important; font-size: 1rem !important; padding: 0.95rem 1.75rem !important; width: 100%; letter-spacing: 0.02em; min-height: 52px; cursor: pointer;
}
.fluentform .ff-btn-submit:hover { background: var(--apca-blue-deep) !important; }
.fluentform .ff-el-is-required.asterisk-right label::after { color: var(--apca-orange) !important; }
.fluentform .error.text-danger { font-size: 0.8125rem; color: #b82105; }
.fluentform .ff-t-container { gap: 1rem; }
.ff-message-success { border: 1px solid var(--apca-line) !important; border-left: 3px solid var(--apca-orange) !important; border-radius: var(--apca-radius) !important; box-shadow: none !important; padding: 1.25rem !important; color: var(--apca-ink); }
@media (max-width: 640px) { .fluentform .ff-t-container { display: block; } .fluentform .ff-t-cell { width: 100% !important; padding: 0 !important; } }

/* Map placeholder (click to load) */
.apca-map { position: relative; border-radius: var(--apca-radius-lg); overflow: hidden; background: var(--apca-tint-10); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.apca-map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--apca-line) 1px, transparent 1px), linear-gradient(90deg, var(--apca-line) 1px, transparent 1px); background-size: 40px 40px; opacity: 0.8; }
.apca-map > * { position: relative; }
.apca-map strong { display: block; color: var(--apca-blue); font-size: 1.25rem; margin-bottom: 0.25rem; }
.apca-map span { display: block; color: var(--apca-mute); font-size: 0.875rem; margin-bottom: 1rem; }
.apca-map button { font: inherit; font-weight: 600; font-size: 0.875rem; background: #fff; color: var(--apca-blue); border: 1px solid var(--apca-blue); border-radius: var(--apca-radius); padding: 0.7rem 1.2rem; cursor: pointer; }
.apca-map button:hover { background: var(--apca-blue); color: #fff; }
.apca-map.is-loaded { padding: 0; display: block; }
.apca-map.is-loaded::before { display: none; }
.apca-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* CTA band (blue box inside a white section, so it never merges with the blue footer) */
.apca-cta__box { position: relative; overflow: hidden; background: var(--apca-blue); color: #fff; border-radius: var(--apca-radius-lg); padding: clamp(2rem, 4.5vw, 3.75rem) !important; gap: 2rem !important; margin: 0 !important; }
.apca-cta__box::after { content: ''; position: absolute; right: -30px; bottom: -70px; width: 260px; aspect-ratio: 203/225; background: var(--apca-blue-80); opacity: 0.45; -webkit-mask: var(--apca-flag) no-repeat center / contain; mask: var(--apca-flag) no-repeat center / contain; pointer-events: none; }
.apca-cta__box > * { position: relative; z-index: 1; }
.apca-cta__box h2 { color: #fff; margin: 0 0 0.75rem; }
.apca-cta__box .apca-lede { color: rgba(255, 255, 255, 0.84); margin: 0; }
.apca-cta__box .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 781px) { .apca-cta__box .wp-block-buttons { justify-content: flex-start; } }

/* Notes / disclaimers */
.apca-note { font-size: 0.875rem !important; color: var(--apca-mute) !important; border-left: 2px solid var(--apca-orange); padding-left: 1rem !important; max-width: 46em; }
.apca-note--top { margin: -1rem 0 2.5rem !important; }
.apca-section--blue .apca-note { color: rgba(255, 255, 255, 0.75) !important; }

/* Prose pages (privacy, long text) */
.apca-prose { max-width: 46rem; }
.apca-prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem) !important; margin-top: 2.5rem; }
.apca-prose p, .apca-prose li { color: var(--apca-ink); }

/* ---------- Header ---------- */
.site-header .site-branding a.brand img { max-height: none; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a { padding-top: 0.6em; padding-bottom: 0.6em; }
#masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: var(--apca-blue); box-shadow: inset 0 -2px 0 var(--apca-orange); }
.header-button-wrap .header-button { letter-spacing: 0.02em; }
.mobile-toggle-open-container .menu-toggle-open { color: var(--apca-blue); font-weight: 600; font-size: 0.875rem; padding: 0.4em 0.6em; }
.popup-drawer .drawer-inner { padding-top: 0.5rem; }
.popup-drawer .mobile-navigation ul li a { padding-top: 0.75em !important; padding-bottom: 0.75em !important; }
.popup-drawer .mobile-header-button-wrap { margin-top: 1.5rem; }
.popup-drawer .mobile-header-button-wrap .button { width: 100%; text-align: center; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { font-size: 0.9375rem; }
.site-footer .widget-title, .site-footer .wp-block-heading { color: #fff !important; font-size: 0.75rem !important; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.site-footer, .site-footer p, .site-footer li { color: rgba(255, 255, 255, 0.78); }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.site-footer .widget ul li { margin: 0 0 0.55rem; }
.site-footer .apca-footer-logo img { width: 150px; height: auto; margin-bottom: 1rem; }
.site-footer .site-bottom-footer-wrap { font-size: 0.8125rem; }
.site-footer .site-bottom-footer-wrap .footer-html, .site-footer .footer-html-inner { color: rgba(255, 255, 255, 0.65); }
.site-footer .footer-navigation .menu { justify-content: flex-end; }
@media (max-width: 1024px) { .site-footer .footer-navigation .menu { justify-content: flex-start; } }

/* ---------- Blog ---------- */
.blog .entry-hero-container-inner, .archive .entry-hero-container-inner { background: var(--apca-blue); }
.loop-entry .entry-header .entry-title { font-size: 1.25rem !important; line-height: 1.3; }
.loop-entry .entry-header .entry-title a { color: var(--apca-blue); text-decoration: none; }
.loop-entry .entry-header .entry-title a:hover { text-decoration: underline; }
.loop-entry .post-thumbnail { border-radius: var(--apca-radius); overflow: hidden; }
.loop-entry .entry-taxonomies a, .entry-header .entry-taxonomies a { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--apca-orange-text) !important; text-decoration: none; }
.loop-entry .entry-meta, .single .entry-meta { font-size: 0.8125rem; color: var(--apca-mute); }
.loop-entry .more-link-wrap a, .loop-entry .post-more-link { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--apca-blue); text-decoration: none; }
.single-post .entry-content { font-size: 1.0625rem; }
.single-post .entry-content h2 { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.85rem); margin-top: 2.25rem; }
.single-post .entry-content a { color: var(--apca-blue); }
.single-post .entry-title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem) !important; line-height: 1.1; }
.single-post .post-thumbnail { border-radius: var(--apca-radius); overflow: hidden; }
.entry-related { background: var(--apca-tint-5) !important; }

/* ---------- Cookie notice ---------- */
.apca-consent {
  position: fixed; z-index: 9999; left: 16px; right: 16px; bottom: 16px; max-width: 560px;
  background: #fff; color: var(--apca-ink); border: 1px solid var(--apca-line); border-radius: var(--apca-radius-lg);
  box-shadow: 0 10px 30px rgba(10, 31, 143, 0.12); padding: 1rem 1.1rem; display: flex; gap: 1rem; align-items: center; font-size: 0.8125rem; line-height: 1.5;
}
.apca-consent p { margin: 0; color: var(--apca-mute); }
.apca-consent a { color: var(--apca-blue); }
.apca-consent__actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.apca-consent__btn { font: inherit; font-weight: 600; font-size: 0.8125rem; border-radius: var(--apca-radius); padding: 0.6rem 1rem; cursor: pointer; background: var(--apca-blue); color: #fff; border: 1px solid var(--apca-blue); min-height: 40px; }
.apca-consent__btn--ghost { background: #fff; color: var(--apca-blue); }
@media (max-width: 560px) { .apca-consent { flex-direction: column; align-items: stretch; } .apca-consent__actions > * { flex: 1; } }

/* ---------- Utilities ---------- */
.apca-center { text-align: center; margin-left: auto !important; margin-right: auto !important; }
.apca-mt-0 { margin-top: 0 !important; }
.apca-mb-0 { margin-bottom: 0 !important; }
img { height: auto; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 781px) {
  .wp-block-columns:not(.apca-strip):not(.apca-facts):not(.apca-gallery) { gap: 1.75rem; }
}

/* ---------- Single post polish ---------- */
.single-post .post-thumbnail.article-post-thumbnail, .single-post .entry-content-wrap > .post-thumbnail { margin-top: clamp(1.5rem, 4vw, 3rem); }
.single-post .entry-content li { margin-bottom: 0.45rem; }
.single-post .entry-content ul, .single-post .entry-content ol { margin-top: 0.75rem; }
.single-post .entry-content .apca-note { margin-top: 2.5rem; }
.popup-drawer .mobile-header-button-wrap .mobile-header-button { width: 100%; justify-content: center; }

/* =========================================================================
   v2 — motion, brand marks, globe, media
   ========================================================================= */
:root { --apca-ease: cubic-bezier(.2,.7,.2,1); --apca-ease-io: cubic-bezier(.7,0,.2,1); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Inline APCA mark in big statements: sized to the cap height of the type, sat on the baseline. */
img.apca-mark { display: inline-block; height: 0.742em !important; width: auto !important; aspect-ratio: 303 / 78.35; vertical-align: baseline; margin: 0 0.06em 0 0; position: relative; top: 0; border-radius: 0 !important; max-width: none; }

/* ---------- Scroll reveals (only when JS + motion are on; content is visible otherwise) ---------- */
.apca-motion [data-r="up"] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--apca-ease) var(--r-delay, 0ms), transform 1.1s var(--apca-ease) var(--r-delay, 0ms); }
.apca-motion [data-r="clip"] { clip-path: inset(22% 0 0 0); opacity: 0; transition: clip-path 1.3s var(--apca-ease-io) var(--r-delay, 0ms), opacity .6s ease var(--r-delay, 0ms); }
.apca-motion [data-r].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.apca-plx { overflow: hidden; }
.apca-plx img { will-change: transform; transform: scale(1.12); transition: transform .1s linear; }
@media (max-width: 781px) { .apca-plx img { transform: none; } }

/* ---------- Hero v2 ---------- */
.apca-hero { padding-top: clamp(8.5rem, 14vw, 12rem); min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; }
.apca-hero > .wp-block-group__inner-container { width: 100%; }
.apca-hero:not(.apca-hero--page) h1 { font-size: clamp(3rem, 1.6rem + 5.4vw, 7rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; }
.apca-hero--page { min-height: 0; padding-top: clamp(9rem, 13vw, 11.5rem); }
.apca-hero .apca-hero__grid { margin-bottom: clamp(3rem, 6vw, 5.5rem) !important; }
.apca-hero--page .apca-hero__grid { margin-bottom: 0 !important; }
.apca-hero .apca-lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); }
.apca-strip img { height: clamp(220px, 30vw, 460px) !important; }

@keyframes apca-rise { from { opacity: 0; transform: translate3d(0, 34px, 0); } to { opacity: 1; transform: none; } }
@keyframes apca-unclip { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes apca-flag { from { opacity: 0; transform: translate3d(40px, 30px, 0); } to { opacity: .42; transform: none; } }
.apca-motion .apca-hero .apca-eyebrow { animation: apca-rise .9s var(--apca-ease) .15s both; }
.apca-motion .apca-hero h1 { animation: apca-rise 1.1s var(--apca-ease) .25s both; }
.apca-motion .apca-hero .apca-lede { animation: apca-rise 1s var(--apca-ease) .45s both; }
.apca-motion .apca-hero .wp-block-buttons { animation: apca-rise 1s var(--apca-ease) .6s both; }
.apca-motion .apca-hero::before { animation: apca-flag 1.6s var(--apca-ease) .2s both; }
.apca-motion .apca-strip .wp-block-column { animation: apca-unclip 1.4s var(--apca-ease-io) both; }
.apca-motion .apca-strip .wp-block-column:nth-child(1) { animation-delay: .45s; }
.apca-motion .apca-strip .wp-block-column:nth-child(2) { animation-delay: .57s; }
.apca-motion .apca-strip .wp-block-column:nth-child(3) { animation-delay: .69s; }
.apca-motion .apca-strip .wp-block-column:nth-child(4) { animation-delay: .81s; }

/* ---------- Header: transparent over hero → solid on scroll ---------- */
#masthead .site-main-header-wrap .site-header-row-container-inner { transition: background-color .4s var(--apca-ease), box-shadow .4s var(--apca-ease), border-color .4s; }
.transparent-header #masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: #fff; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a { position: relative; box-shadow: none !important; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a::after { content: ''; position: absolute; left: 1.3em; right: 1.3em; bottom: 0.25em; height: 2px; background: var(--apca-orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--apca-ease); }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a:hover::after,
#masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after { transform: scaleX(1); }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a { padding-left: 1.3em; padding-right: 1.3em; }
.header-button { transition: background-color .3s, color .3s, transform .3s var(--apca-ease) !important; }
.header-button:hover { transform: translateY(-1px); }
.site-branding a.brand img { transition: width .35s var(--apca-ease), height .35s; }
.transparent-header .mobile-toggle-open-container .menu-toggle-open { color: #fff; }
.item-is-stuck .mobile-toggle-open-container .menu-toggle-open { color: var(--apca-blue); }

/* ---------- Micro-interactions ---------- */
.wp-block-button__link { transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--apca-ease) !important; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.apca-card { transition: transform .5s var(--apca-ease), border-color .4s, box-shadow .5s; }
.apca-card:hover { transform: translateY(-4px); border-color: var(--apca-blue-30); box-shadow: 0 18px 40px -24px rgba(10, 31, 143, .35); }
.apca-link a::after { display: inline-block; transition: transform .35s var(--apca-ease); }
.apca-link a:hover::after { transform: translateX(4px); margin-left: 0; }
.apca-latest li .wp-block-latest-posts__featured-image img { transition: transform .9s var(--apca-ease); }
.apca-latest li:hover .wp-block-latest-posts__featured-image img { transform: scale(1.04); }

/* ---------- Timeline (scroll-linked) ---------- */
.apca-timeline > div { position: relative; }
.apca-timeline__progress { position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--apca-blue); transform-origin: left center; transform: scaleX(var(--p, 0)); pointer-events: none; }
.apca-timeline__item::before { transition: transform .5s var(--apca-ease), background-color .4s; }
.apca-motion .apca-timeline__item:not(.is-active)::before { background: #fff !important; box-shadow: inset 0 0 0 2px var(--apca-blue-30); }
.apca-motion .apca-timeline__item:not(.is-active):not(.apca-timeline--next) .apca-timeline__year { color: var(--apca-blue-30); }
.apca-timeline__year { transition: color .6s var(--apca-ease); }
.apca-timeline__item.is-active::before { transform: scale(1.25); }
@media (max-width: 560px) {
  .apca-timeline__progress { top: 0; left: -1px; width: 2px; height: 100%; transform-origin: center top; transform: scaleY(var(--p, 0)); }
}

/* ---------- Marquee of dish photography ---------- */
.wp-block-gallery.apca-marquee { --gap: 12px; display: flex !important; flex-wrap: nowrap !important; gap: 0 !important; overflow: hidden; margin: 0 !important; padding: 0; }
.wp-block-gallery.apca-marquee.is-static { overflow-x: auto; gap: var(--gap) !important; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.wp-block-gallery.apca-marquee.is-static > figure { scroll-snap-align: start; }
.apca-marquee__track { display: flex; flex-shrink: 0; gap: var(--gap); padding-right: var(--gap); animation: apca-marquee var(--marquee-dur, 60s) linear infinite; }
.apca-marquee:hover .apca-marquee__track, .apca-marquee:focus-within .apca-marquee__track { animation-play-state: paused; }
@keyframes apca-marquee { to { transform: translate3d(-100%, 0, 0); } }
.wp-block-gallery.apca-marquee figure.wp-block-image { flex: 0 0 auto !important; width: clamp(220px, 21vw, 330px) !important; margin: 0 !important; border-radius: var(--apca-radius); overflow: hidden; }
.wp-block-gallery.apca-marquee figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--apca-ease); }
.wp-block-gallery.apca-marquee figure a { display: block; cursor: zoom-in; }
.wp-block-gallery.apca-marquee figure:hover img { transform: scale(1.05); }
.wp-block-gallery.apca-marquee figcaption { display: none; }
.apca-marquee-wrap { overflow: hidden; }

/* ---------- Videos (click-to-load, lightbox) ---------- */
.apca-videos { gap: var(--apca-gap) !important; }
.apca-video { margin: 0 !important; position: relative; }
.apca-video a { display: block; position: relative; overflow: hidden; border-radius: var(--apca-radius); background: var(--apca-blue); }
.apca-video img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform 1s var(--apca-ease), opacity .4s; }
.apca-video a::before { content: ''; position: absolute; inset: 0; background: rgba(7, 22, 103, .18); z-index: 1; transition: background-color .4s; }
.apca-video a::after { content: ''; position: absolute; z-index: 2; left: 1.1rem; bottom: 1.1rem; width: 58px; height: 58px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230A1F8F' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") no-repeat 55% 50% / 22px; transition: transform .5s var(--apca-ease), background-color .3s; }
.apca-video a:hover img { transform: scale(1.05); }
.apca-video a:hover::before { background: rgba(7, 22, 103, .05); }
.apca-video a:hover::after { transform: scale(1.12); background-color: var(--apca-orange); }
.apca-video figcaption { margin-top: .85rem; font-size: .95rem; color: var(--apca-ink); text-align: left; }
.apca-video figcaption strong { display: block; color: var(--apca-blue); font-size: 1.05rem; font-weight: 600; }

/* ---------- Dialogs: video lightbox + course drawer ---------- */
.apca-dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; color: var(--apca-ink); }
.apca-dialog::backdrop { background: rgba(7, 22, 103, .86); }
html.apca-dialog-open { overflow: hidden; }
.apca-dialog__close { position: fixed; top: 18px; right: 18px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background-color .3s, transform .4s var(--apca-ease); }
.apca-dialog__close:hover { background: rgba(255,255,255,.12); transform: rotate(90deg); }
.apca-dialog--video[open] { width: min(1120px, 92vw); margin: auto; }
.apca-dialog__video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--apca-radius); overflow: hidden; }
.apca-dialog__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.apca-dialog--drawer[open] { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; width: min(580px, 100vw); background: #fff; overflow-y: auto; animation: apca-drawer .6s var(--apca-ease) both; }
.apca-dialog--drawer .apca-dialog__close { position: absolute; border-color: rgba(255,255,255,.7); background: rgba(7,22,103,.45); }
.apca-dialog--drawer figure { margin: 0; }
.apca-dialog--drawer figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transform: none !important; }
.apca-dialog__inner { padding: clamp(1.5rem, 4vw, 2.5rem); }
.apca-dialog__inner h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: .25rem 0 1rem; color: var(--apca-blue); line-height: 1.12; letter-spacing: -.02em; }
.apca-dialog__inner p { color: var(--apca-ink); }
.apca-dialog__cta { margin-top: 1.75rem; }
.apca-button { display: inline-block; background: var(--apca-blue); color: #fff !important; text-decoration: none; font-weight: 600; padding: .95em 1.6em; border-radius: var(--apca-radius); transition: background-color .3s, transform .35s var(--apca-ease); }
.apca-button:hover { background: var(--apca-blue-deep); transform: translateY(-2px); }
@keyframes apca-drawer { from { transform: translate3d(100%, 0, 0); } to { transform: none; } }

/* Course card: image-led with hover reveal; details open in the drawer */
.apca-course figure { position: relative; }
.apca-course:has(.apca-course__more) figure { cursor: pointer; }
.apca-course:has(.apca-course__more) figure::after { content: 'View course details'; position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1.1rem; background: var(--apca-blue); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: translate3d(0, 101%, 0); transition: transform .5s var(--apca-ease); }
.apca-course:has(.apca-course__more):hover figure::after, .apca-course:has(.apca-course__more):focus-within figure::after { transform: none; }
.apca-course figure img { transition: transform 1.1s var(--apca-ease); }
.apca-course:hover figure img { transform: scale(1.06); }
.apca-course__more { margin: 0 0 .75rem; border-top: 1px solid var(--apca-line); }
.apca-course__more summary { cursor: pointer; list-style: none; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--apca-blue); padding: .8rem 0 .2rem; display: flex; justify-content: space-between; }
.apca-course__more summary::-webkit-details-marker { display: none; }
.apca-course__more summary::after { content: '+'; font-size: 1.1rem; line-height: 1; transition: transform .4s var(--apca-ease); }
.apca-course__more[open] summary::after { transform: rotate(45deg); }
.apca-course__more p { font-size: .95rem; }

/* ---------- Globe + locations ---------- */
.apca-globe-section { position: relative; overflow: hidden; }
.apca-globe { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.apca-globe__stage { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; margin: 0 auto; }
.apca-globe__canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--apca-ease); cursor: grab; touch-action: pan-y; }
.apca-globe.is-ready .apca-globe__canvas { opacity: 1; }
.apca-globe__ring { position: absolute; inset: -4%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); pointer-events: none; }
.apca-globe__ring::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .1); }
.apca-globe.no-webgl { grid-template-columns: 1fr; }
.apca-globe.no-webgl .apca-globe__stage { display: none; }
.apca-globe:not(.is-interactive) .apca-globe__stage { display: none; }
.apca-globe:not(.is-interactive) { grid-template-columns: 1fr; }
.apca-globe__list { list-style: none; margin: 0 !important; padding: 0 !important; border-top: 1px solid rgba(255,255,255,.18); }
.apca-globe__item { border-bottom: 1px solid rgba(255,255,255,.18); margin: 0 !important; }
.apca-globe__btn { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "city year" "country year"; column-gap: 1rem; padding: .95rem 0 .95rem 1.25rem; position: relative; transition: padding .45s var(--apca-ease); }
.apca-globe__btn::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background-color .3s, transform .4s var(--apca-ease); }
.apca-globe__item.is-new .apca-globe__btn::before { background: var(--apca-orange); }
.apca-globe__btn:hover, .apca-globe__item.is-selected .apca-globe__btn { padding-left: 1.6rem; }
.apca-globe__item.is-selected .apca-globe__btn::before { transform: scale(1.6); background: var(--apca-orange); }
.apca-globe__btn:focus-visible { outline: 2px solid var(--apca-orange); outline-offset: 2px; }
.apca-globe__city { grid-area: city; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 600; color: #fff; letter-spacing: -.01em; }
.apca-globe__country { grid-area: country; font-size: .8125rem; color: rgba(255,255,255,.65); }
.apca-globe__year { grid-area: year; align-self: center; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.apca-globe__item.is-new .apca-globe__year { color: var(--apca-orange-on-blue); }
.apca-globe__detail { padding: 0 0 1rem 1.6rem; font-size: .9rem; }
.apca-globe__detail p { margin: 0 0 .35rem; color: rgba(255,255,255,.8) !important; }
.apca-globe__detail a { color: #fff !important; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.apca-globe__detail a:hover { border-color: var(--apca-orange); }
.apca-globe.is-interactive:not(.no-webgl) .apca-globe__item:not(.is-selected) .apca-globe__detail { display: none; }
@media (max-width: 900px) {
  .apca-globe { grid-template-columns: 1fr; }
  .apca-globe__stage { max-width: 440px; }
}

/* ---------- Blog: featured first post ---------- */
@media (min-width: 900px) {
  .blog .content-wrap.grid-cols > li:first-child { grid-column: 1 / -1; }
  .blog .content-wrap.grid-cols > li:first-child article.loop-entry { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; margin-bottom: 1rem; }
  .blog .content-wrap.grid-cols > li:first-child article.loop-entry .post-thumbnail { margin: 0; }
  .blog .content-wrap.grid-cols > li:first-child article.loop-entry .entry-title { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem) !important; line-height: 1.08; letter-spacing: -.02em; }
  .blog .content-wrap.grid-cols > li:first-child article.loop-entry .entry-summary { font-size: 1.05rem; }
}
.loop-entry .post-thumbnail img { transition: transform 1s var(--apca-ease); }
.loop-entry:hover .post-thumbnail img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .apca-marquee__track { animation: none !important; }
  .apca-plx img { transform: none !important; }
}

/* ---------- v2 refinements: editorial scale ---------- */
.apca-hero:not(.apca-hero--page) { min-height: 0; padding-top: clamp(9rem, 12vw, 11rem); }
.apca-hero:not(.apca-hero--page) .apca-hero__grid { flex-wrap: wrap !important; row-gap: clamp(1.75rem, 3vw, 2.75rem) !important; }
.apca-hero:not(.apca-hero--page) .apca-hero__grid > .wp-block-column { flex-basis: 100% !important; }
.apca-hero:not(.apca-hero--page) .apca-hero__grid > .wp-block-column:last-child { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }
.apca-hero:not(.apca-hero--page) .apca-hero__grid > .wp-block-column:last-child .apca-lede { margin: 0; max-width: 34em; }
.apca-hero:not(.apca-hero--page) h1 { max-width: 11.5em; }
.apca-hero:not(.apca-hero--page) .apca-hero__grid > .wp-block-column:last-child .wp-block-buttons { margin: 0; }
.apca-strip img { height: clamp(240px, 32vw, 440px) !important; }
img.apca-mark { margin-right: 0; }
.entry-content h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; }
.apca-head h2 { max-width: 16em; }
.apca-fact__num { font-size: clamp(2.6rem, 1.6rem + 2.8vw, 4.25rem) !important; font-weight: 300; letter-spacing: -0.045em; }
.apca-section--blue .apca-head h2 { color: #fff; }
.apca-eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin: -2px 10px 0 0; }
.apca-card .apca-eyebrow::before, .apca-course .apca-eyebrow::before, .apca-hero .apca-eyebrow::before { display: none; }
.apca-hero .apca-eyebrow { letter-spacing: .2em; }

.apca-globe__btn, .apca-globe__btn:hover, .apca-globe__btn:focus, .apca-globe__btn:active { background: transparent !important; color: inherit !important; box-shadow: none !important; border: 0 !important; }
.apca-marquee-wrap { padding-bottom: var(--apca-section); }
.apca-marquee-head { padding-top: var(--apca-section) !important; padding-bottom: clamp(2rem, 3vw, 2.5rem) !important; }
.apca-marquee-head .apca-head { margin-bottom: 0 !important; }

/* Archive hero: matches page heroes */
.post-archive-hero-section .entry-hero-container-inner { background: var(--apca-blue) !important; }
.post-archive-hero-section .hero-section-overlay { display: none; }
.post-archive-hero-section .entry-header { padding-top: clamp(7rem, 11vw, 9rem) !important; padding-bottom: clamp(2.5rem, 5vw, 4rem); min-height: 0 !important; }
.post-archive-hero-section .entry-header .page-title, .post-archive-hero-section .archive-title { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.25rem) !important; letter-spacing: -.03em; color: #fff; line-height: 1; }
.post-archive-hero-section .archive-description, .post-archive-hero-section .archive-description p { color: rgba(255,255,255,.84); max-width: 38em; font-size: 1.1rem; }
.loop-entry .entry-content-wrap { padding-left: 0 !important; padding-right: 0 !important; }
.loop-entry .post-thumbnail { margin-bottom: 1.1rem; }

/* Mobile: videos as a 2-up grid instead of four tall cards */
@media (max-width: 781px) {
  .wp-block-columns.apca-videos { flex-wrap: wrap !important; gap: 1rem !important; }
  .wp-block-columns.apca-videos > .wp-block-column.wp-block-column { flex-basis: calc(50% - .5rem) !important; flex-grow: 0; }
  .apca-video a::after { width: 44px; height: 44px; left: .75rem; bottom: .75rem; background-size: 18px; }
  .apca-video figcaption { font-size: .85rem; }
  .apca-globe__stage { max-width: 320px; }
}

/* =========================================================================
   v3 — Home hero (full viewport, centred, shadow globe, counters in hero)
   ========================================================================= */
.apca-home-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--apca-blue); color: #fff; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 0 !important; margin: 0 !important; }
.apca-home-hero > .wp-block-group__inner-container { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; width: 100%; max-width: none; padding: clamp(6.5rem, 9vw, 8rem) var(--global-content-edge-padding, 1rem) 0; box-sizing: border-box; }
.apca-home-hero > .wp-block-group__inner-container > .wp-block-shortcode, .apca-home-hero > .wp-block-group__inner-container > p:empty { margin: 0; }

/* Shadow globe */
.apca-hglobe { position: absolute; inset: 0; z-index: -1; pointer-events: none; --S: clamp(980px, 128vw, 2100px); --pinY: calc(100% - 236px); }
.apca-hglobe__stage { position: absolute; width: var(--S); height: var(--S); left: calc(50% - var(--S) / 2); top: calc(var(--pinY) - 0.2952 * var(--S)); }
.apca-hglobe__canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--apca-ease), transform 1.4s var(--apca-ease); transform: translate3d(0, 28px, 0); }
.apca-hglobe.is-ready .apca-hglobe__canvas { opacity: 1; transform: none; }
.apca-hglobe__fallback { position: absolute; top: 0; left: 0; width: 100%; height: auto; display: none; }
.apca-hglobe.is-static .apca-hglobe__fallback { display: block; }
.apca-hglobe.is-static .apca-hglobe__canvas { display: none; }
.apca-hglobe__pin { position: absolute; left: 50%; top: var(--pinY); width: 0; height: 0; opacity: 0; transition: opacity .6s ease .2s; }
.apca-hglobe.is-ready .apca-hglobe__pin, .apca-hglobe.is-static .apca-hglobe__pin { opacity: 1; }
.apca-hglobe__pin i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--apca-orange); box-shadow: 0 0 0 3px rgba(255, 103, 29, .25); }
.apca-hglobe__pin i::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--apca-orange); animation: apca-pulse 2.6s cubic-bezier(.2,.7,.2,1) infinite; }
.apca-hglobe__pin b { position: absolute; left: 16px; top: -10px; white-space: nowrap; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(7, 22, 103, .7); padding: 3px 8px; border-radius: 3px; }
@keyframes apca-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

/* Content */
.apca-home-hero__content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 1100px; margin: 0 auto !important; padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(4.5rem, 10vh, 7.5rem); }
.apca-home-hero__content > .wp-block-group__inner-container { display: flex; flex-direction: column; align-items: center; }
.apca-home-hero__eyebrow { color: rgba(255, 255, 255, .86) !important; letter-spacing: .22em; margin-bottom: clamp(1rem, 2.5vh, 1.75rem) !important; }
.apca-home-hero__eyebrow::before { display: none !important; }
.entry-content h1.apca-home-hero__title, .apca-home-hero__title { color: #fff; margin: 0; font-size: clamp(3rem, 1.2rem + 7.4vw, 8.4rem); line-height: .96; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.apca-home-hero__title em { font-style: normal; color: var(--apca-orange-on-blue); }
.apca-home-hero__title img.apca-mark { height: .742em !important; }
.apca-home-hero__title .w { display: inline-block; }
.apca-home-hero__sub { max-width: 36em; margin: clamp(1.25rem, 3vh, 2rem) auto 0 !important; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); line-height: 1.55; color: rgba(255, 255, 255, .86) !important; }

/* CTA row: link · button · link */
.wp-block-buttons.apca-home-hero__ctas { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); width: 100%; max-width: 760px; margin-top: clamp(1.75rem, 4vh, 2.75rem) !important; }
.apca-home-hero__ctas .wp-block-button { margin: 0 !important; }
.apca-home-hero__ctas .apca-hero-link--left { justify-self: end; }
.apca-home-hero__ctas .apca-hero-link--right { justify-self: start; }
.apca-home-hero__ctas .apca-hero-cta .wp-block-button__link { padding: 1.05em 2.2em; font-size: 1rem; }
.wp-block-button.apca-hero-link .wp-block-button__link { background: none !important; border: 0 !important; padding: .4em 0 !important; color: #fff !important; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; position: relative; border-radius: 0; transform: none !important; }
.wp-block-button.apca-hero-link .wp-block-button__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--apca-ease); }
.wp-block-button.apca-hero-link--left .wp-block-button__link::after { transform-origin: right; }
.wp-block-button.apca-hero-link .wp-block-button__link:hover::after, .wp-block-button.apca-hero-link .wp-block-button__link:focus-visible::after { transform: scaleX(1); }


/* Bottom band */
.apca-home-hero__band { position: relative; max-width: var(--global-content-width, 1200px); width: 100%; margin: 0 auto !important; padding: clamp(1.25rem, 3vh, 2rem) 0 clamp(1.5rem, 3.5vh, 2.25rem); }
.apca-home-hero__band::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 1px; background: rgba(255, 255, 255, .15); transform-origin: left; }
.apca-home-hero__band > .wp-block-group__inner-container { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.apca-home-hero__facts > .wp-block-group__inner-container { display: flex; gap: clamp(1.5rem, 4vw, 3.75rem); }
.apca-home-hero__fact { margin: 0 !important; }
.apca-home-hero .apca-fact__num { color: #fff !important; font-size: clamp(2rem, 1.3rem + 2vw, 3.2rem) !important; font-weight: 300; letter-spacing: -.04em; line-height: 1; margin: 0 0 .5rem !important; font-variant-numeric: tabular-nums; }
.apca-home-hero .apca-fact__label { color: rgba(255, 255, 255, .78) !important; font-size: .6875rem !important; letter-spacing: .14em; max-width: 14em; }
.wp-block-social-links.apca-home-hero__social { margin: 0 !important; gap: .5rem !important; }
.apca-home-hero__social .wp-social-link { background: none !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; transition: border-color .3s, background-color .3s, transform .4s var(--apca-ease) !important; }
.apca-home-hero__social .wp-social-link a { padding: .55em !important; color: #fff !important; }
.apca-home-hero__social .wp-social-link svg { width: 1.05em; height: 1.05em; }
.apca-home-hero__social .wp-social-link:hover { border-color: var(--apca-orange); background: rgba(255, 103, 29, .12) !important; transform: translateY(-2px); }

/* Header over the hero: nav centred between hairlines */
@media (min-width: 1025px) {
  #masthead .site-main-header-wrap .site-header-row { position: relative; }
  #masthead .site-header-main-section-center { position: relative; align-self: stretch; padding: 0 clamp(1rem, 2.5vw, 2.5rem); }
  #masthead .site-header-main-section-center::before, #masthead .site-header-main-section-center::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .15); transform-origin: top; }
  #masthead .site-header-main-section-center::before { left: 0; }
  #masthead .site-header-main-section-center::after { right: 0; }
  #masthead .item-is-stuck .site-header-main-section-center::before, #masthead .item-is-stuck .site-header-main-section-center::after, body:not(.transparent-header) #masthead .site-header-main-section-center::before, body:not(.transparent-header) #masthead .site-header-main-section-center::after { background: var(--apca-line); }
  #masthead .site-header-main-section-center .main-navigation { height: 100%; display: flex; align-items: center; }
}

/* Tablet & mobile */
@media (max-width: 1024px) {
  .apca-hglobe { --S: clamp(820px, 150vw, 1500px); --pinY: calc(100% - 300px); }
  .apca-home-hero__band > .wp-block-group__inner-container { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .apca-home-hero__facts > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (max-width: 781px) {
  .apca-home-hero > .wp-block-group__inner-container { padding-top: 4.75rem; }
  .apca-home-hero__content { padding: 1rem 0 2.25rem; }
  .apca-home-hero__eyebrow { margin-bottom: .75rem !important; }
  .apca-home-hero__sub { margin-top: 1rem !important; font-size: 1rem; }
  .wp-block-buttons.apca-home-hero__ctas { margin-top: 1.5rem !important; }
  .apca-home-hero__band { padding: 1.1rem 0 1.25rem; }
  .apca-home-hero .apca-fact__num { font-size: 2rem !important; margin-bottom: .3rem !important; }
  .apca-home-hero__social .wp-social-link a { padding: .45em !important; }
  .wp-block-buttons.apca-home-hero__ctas { grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; max-width: 420px; }
  .apca-home-hero__ctas .apca-hero-cta { grid-column: 1 / -1; grid-row: 1; }
  .apca-home-hero__ctas .apca-hero-cta .wp-block-button__link { width: 100%; text-align: center; justify-content: center; display: block; box-sizing: border-box; }
  .apca-home-hero__ctas .apca-hero-link--left { justify-self: start; grid-row: 2; }
  .apca-home-hero__ctas .apca-hero-link--right { justify-self: end; grid-row: 2; }
  .apca-home-hero__band > .wp-block-group__inner-container { gap: 1.1rem; }
  .apca-home-hero__facts > .wp-block-group__inner-container { grid-template-columns: 1fr 1fr; gap: 1.1rem 3rem; }
  .apca-hglobe { --S: 175vw; --pinY: calc(100% - 196px); }
  .apca-hglobe__pin b { display: none; }
}

/* Entrance (CSS, from first paint; ≤ 1.4 s) */
@keyframes apca-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes apca-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes apca-word { from { opacity: .01; transform: translate3d(0, .42em, 0); } to { opacity: 1; transform: none; } }
@keyframes apca-fade-up { from { opacity: .01; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
.apca-motion .apca-home-hero__eyebrow { animation: apca-fade-up .7s var(--apca-ease) .05s both; }
.apca-motion .apca-home-hero__title .w { animation: apca-word .75s var(--apca-ease) both; animation-delay: calc(.12s + var(--i, 0) * .07s); }
.apca-motion .apca-home-hero__sub { animation: apca-fade-up .7s var(--apca-ease) .5s both; }
.apca-motion .apca-home-hero__ctas { animation: apca-fade-up .7s var(--apca-ease) .62s both; }
.apca-motion .apca-home-hero__band::before { animation: apca-draw-x .9s var(--apca-ease-io) .4s both; }
.apca-motion .apca-home-hero__facts, .apca-motion .apca-home-hero__social { animation: apca-fade-up .7s var(--apca-ease) .7s both; }
.apca-motion .apca-has-home-hero #masthead .site-header-main-section-center::before, .apca-motion .apca-has-home-hero #masthead .site-header-main-section-center::after { animation: apca-draw-y .7s var(--apca-ease-io) .05s both; }
.apca-motion .apca-has-home-hero #masthead .site-main-header-wrap { animation: apca-fade-up .6s var(--apca-ease) both; }

.apca-hglobe.is-ready .apca-hglobe__pin { transition: opacity .6s ease 1.2s; }
@media (prefers-reduced-motion: reduce) { .apca-hglobe__pin i::after { animation: none; opacity: 0; } }
.site-footer p a { text-decoration: underline; text-underline-offset: .2em; }

/* Stable form layout: inline errors live in reserved space, so fixing a field never shifts the
   submit button between pointer-down and pointer-up (which swallowed the click on phones). */
.fluentform .ff-el-group { position: relative; padding-bottom: 1.15rem; margin-bottom: .35rem !important; }
.fluentform .ff-el-group .error.text-danger { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; line-height: 1.15rem; font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fluentform .ff-el-group.ff_submit_btn_wrapper, .fluentform .ff_submit_btn_wrapper { padding-bottom: 0; }

/* v4.5: numbered pillars as a grid (About "Why APCA Chandigarh", Road to Opening Day "The campus") */
.apca-pillars--grid > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.apca-pillars--grid .apca-pillar:last-child { border-bottom: 0; }
.apca-pillars--grid { border-bottom: 1px solid var(--apca-line); }
.apca-kitchens__note { margin-top: 1.25rem !important; font-size: 0.9rem; color: var(--apca-mute); }
@media (max-width: 960px) { .apca-pillars--grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .apca-pillars--grid > .wp-block-group__inner-container { grid-template-columns: 1fr; } }
