/* ==========================================================================
   CCN design polish layer
   --------------------------------------------------------------------------
   Loaded after every other site stylesheet. It changes presentation only:
   no text, links or images are added or removed.

   1. Shared tokens and heading typeface (site-wide)
   2. Footer (site-wide, appears on every page)
   3. Homepage sections, scoped to homepage-only classes
      (.ccnb-hero--ccn-home, .ccn-hv3-*, .ccn-home-*)
   4. Page headers and breadcrumbs (site-wide)
   5. Universities directory (/universities)

   Root font-size is 18px on this site, so sizes below are in px to keep
   the scale exact.
   ========================================================================== */

/* 1. Tokens and heading typeface ------------------------------------------ */
:root {
    --ccnp-font-heading: 'Plus Jakarta Sans', 'Noto Sans Bengali', sans-serif;

    /* Type scale */
    --ccnp-h1: clamp(34px, 22px + 2.6vw, 58px);
    --ccnp-h2: clamp(28px, 20px + 1.45vw, 40px);
    --ccnp-h3: clamp(17px, 15.5px + .25vw, 19px);
    --ccnp-body: clamp(16px, 15px + .2vw, 18px);
    --ccnp-small: clamp(15px, 14.5px + .1vw, 16px);
    --ccnp-label: 13px;

    /* Shape */
    --ccnp-radius-btn: 8px;
    --ccnp-radius-card: 14px;
    --ccnp-radius-panel: 20px;

    /* Rhythm */
    --ccnp-section-y: clamp(56px, 32px + 4.4vw, 96px);
    --ccnp-heading-gap: clamp(24px, 16px + 1.2vw, 36px);

    /* Colour roles */
    --ccnp-ink: #4B145F;
    --ccnp-text: #51475B;
    --ccnp-muted: #665C6E;
    --ccnp-line: #E7DCEC;
    --ccnp-tint: #FBF8FC;
    --ccnp-card-shadow: 0 1px 2px rgba(75, 20, 95, .04), 0 8px 24px rgba(75, 20, 95, .05);
    --ccnp-card-shadow-hover: 0 2px 4px rgba(75, 20, 95, .05), 0 16px 32px rgba(75, 20, 95, .09);
}

/* The heading typeface is limited to the homepage for now. Inner pages still
   carry tight letter-spacing tuned for Roboto; switch them as each page is
   polished by adding its scope here. */
.ccnb-hero--ccn-home,
.ccnb-hero--ccn-home ~ section {
    --ccnb-font-display: var(--ccnp-font-heading);
}
.ccnb-hero--ccn-home ~ section :is(h1, h2, h3) {
    font-family: var(--ccnp-font-heading);
}

/* 2. Footer ----------------------------------------------------------------- */
/* The two-colour stripe read as a broken line on the purple footer. */
.ccnb-footer::before {
    background: var(--ccn-yellow, #D9AE5F);
}
/* The colour logo has almost no contrast on purple; show it as a white mark. */
.ccnb-footer__logo img {
    filter: brightness(0) invert(1);
}

/* 3. Homepage ---------------------------------------------------------------- */

/* 3.1 Shared section rhythm, headings and body copy */
.ccn-hv3-section,
.ccn-home-intro,
.ccn-home-experience {
    padding-block: var(--ccnp-section-y);
}
/* Alternate plain and tinted backgrounds so sections separate cleanly. */
.ccn-hv3-universities,
.ccn-home-intro,
.ccn-hv3-how,
.ccn-home-experience,
.ccn-hv3-section.ccn-hv3-pathways { background: #fff; }
.ccn-hv3-why-ifp,
.ccn-hv3-study-options,
.ccn-hv3-centres,
.ccn-hv3-faq { background: var(--ccnp-tint); }

.ccn-hv3-heading,
.ccn-hv3-heading--center,
.ccn-hv3-universities .ccn-hv3-heading,
.ccn-hv3-study-options .ccn-hv3-heading,
.ccn-hv3-faq .ccn-hv3-heading {
    max-width: 760px;
    margin: 0 0 var(--ccnp-heading-gap);
    text-align: left;
}
.ccn-hv3-heading h2,
.ccn-hv3-ifp-copy h2,
.ccn-home-intro__copy h2,
.ccn-home-experience h2,
.ccn-hv3-pathways__panel h2 {
    margin: 0;
    font-family: var(--ccnb-font-display);
    font-size: var(--ccnp-h2) !important;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.ccn-hv3-heading h2 { color: var(--ccnp-ink); }
.ccn-hv3-heading p { margin-inline: 0; }
.ccn-hv3-section-action {
    display: flex;
    justify-content: flex-start;
    margin-top: var(--ccnp-heading-gap);
}

/* Shared FAQ answers are centred elsewhere on the site; on the homepage the
   list is left-aligned, so its answers follow. */
.ccn-hv3-faq-list .ccnb-prose,
.ccn-hv3-faq-list .ccnb-prose p {
    text-align: left !important;
}

/* 3.2 Buttons: one size and shape for every homepage button */
.ccn-hv3-section .ccnb-btn,
.ccn-home-intro .ccnb-btn,
.ccn-home-experience .ccnb-btn,
.ccn-hv3-pathways__cta {
    min-height: 48px !important;
    padding: 12px 22px !important;
    border-radius: var(--ccnp-radius-btn) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
}
.ccn-home-intro__secondary,
.ccn-home-experience .ccnb-btn {
    border-width: 1.5px;
}

/* 3.3 Hero */
.ccnb-hero--ccn-home .ccnb-hero__title {
    max-width: 20ch;
    font-family: var(--ccnb-font-display) !important;
    font-size: var(--ccnp-h1) !important;
    font-weight: 700 !important;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-transform: none;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(20, 7, 29, .55);
}
/* The source photo has a gold shape and a purple bar printed into its lower
   right corner. Anchor the image top-left and enlarge it slightly so those
   marks fall outside the frame. */
.ccnb-hero--ccn-home .ccnb-hero__art {
    object-position: left top !important;
    transform: scale(1.3) !important;
    transform-origin: 0 0;
}
.ccnb-hero--ccn-home .ccnb-hero__viewport::after {
    background:
        linear-gradient(180deg, rgba(38, 11, 53, .28) 0%, rgba(38, 11, 53, .44) 55%, rgba(38, 11, 53, .62) 100%) !important;
}

/* 3.4 Member university logos: equal boxes, quieter until hovered */
.ccn-hv3-logo-grid {
    gap: 16px;
}
.ccn-hv3-logo-grid .ccn-hv3-logo-card {
    min-height: 0;
    padding: 18px 12px;
    border: 1px solid var(--ccnp-line);
    border-radius: var(--ccnp-radius-card);
    background: #fff;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.ccn-hv3-logo-grid .ccn-hv3-logo-card:hover {
    border-color: #CDB3D8;
    box-shadow: var(--ccnp-card-shadow);
}
.ccn-hv3-logo-grid .ccn-hv3-logo-card__mark {
    height: 112px;
}
.ccn-hv3-logo-grid .ccn-hv3-logo-card__mark img {
    width: 104px;
    height: 104px;
    max-width: 100%;
    max-height: 104px;
}
@media (max-width: 767px) {
    .ccn-hv3-logo-grid {
        grid-auto-rows: auto;
        gap: 10px;
    }
    .ccn-hv3-logo-grid .ccn-hv3-logo-card {
        height: auto;
        padding: 10px 6px;
        border-radius: 12px;
    }
    .ccn-hv3-logo-grid .ccn-hv3-logo-card__mark { height: 60px; }
    .ccn-hv3-logo-grid .ccn-hv3-logo-card__mark img {
        width: 56px;
        height: 56px;
        max-height: 56px;
    }
}

/* 3.5 Why the IFP: the page's one dark feature panel */
.ccn-hv3-ifp-panel {
    border-radius: var(--ccnp-radius-panel);
}
.ccn-hv3-ifp-copy h2 { margin: 12px 0 18px; }
/* A purple button disappears on the purple panel; use the gold accent. */
.ccn-hv3-ifp-copy .ccnb-btn--primary {
    border-color: var(--ccn-yellow, #D9AE5F);
    background: var(--ccn-yellow, #D9AE5F);
    color: var(--ccnp-ink);
}
.ccn-hv3-ifp-copy .ccnb-btn--primary:hover,
.ccn-hv3-ifp-copy .ccnb-btn--primary:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--ccnp-ink);
}
.ccn-hv3-ifp-copy > p {
    color: rgba(255, 255, 255, .86);
    font-size: var(--ccnp-body);
    line-height: 1.65;
}
.ccn-hv3-ifp-image,
.ccn-hv3-ifp-image img {
    border-radius: var(--ccnp-radius-card);
}
.ccn-hv3-benefits {
    gap: 14px;
}
.ccn-hv3-benefits li {
    padding: 20px;
    border-radius: var(--ccnp-radius-card);
    background: rgba(255, 255, 255, .06);
}
.ccn-hv3-benefits h3 {
    margin: 3px 0 8px;
    font-size: var(--ccnp-h3);
    line-height: 1.3;
}
.ccn-hv3-benefits p {
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.6;
}
.ccn-hv3-benefits li > span { font-weight: 700; }

/* 3.6 Intro and experience */
.ccn-home-intro__copy p,
.ccn-home-experience p {
    color: var(--ccnp-text);
    font-size: var(--ccnp-body) !important;
    line-height: 1.7;
}
.ccn-home-intro__copy h2,
.ccn-home-experience h2 { margin-bottom: 16px; }
.ccn-home-intro__aside {
    border-radius: var(--ccnp-radius-card);
}
.ccn-home-experience__inner img {
    border-radius: var(--ccnp-radius-card);
}

/* 3.7 Study options: light cards instead of a second dark panel */
.ccn-hv3-study-options__panel {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
}
.ccn-hv3-study-options .ccn-hv3-heading h2 { color: var(--ccnp-ink); }
.ccn-hv3-study-options .ccn-hv3-heading p { color: var(--ccnp-muted); }
.ccn-hv3-option-grid { gap: 20px; }
.ccn-hv3-study-options .ccn-hv3-option-card,
.ccn-hv3-option-card {
    padding: 20px;
    border: 1px solid var(--ccnp-line);
    border-radius: var(--ccnp-radius-card);
    background: #fff;
    box-shadow: var(--ccnp-card-shadow);
}
.ccn-hv3-study-options .ccn-hv3-option-card:hover,
.ccn-hv3-option-card:hover {
    border-color: #CDB3D8;
    box-shadow: var(--ccnp-card-shadow-hover);
}
.ccn-hv3-study-options .ccn-hv3-option-card__symbol {
    background: #F4EDF7;
    color: var(--ccn-purple);
    font-weight: 700;
}
.ccn-hv3-option-card .ccn-hv3-index {
    background: #F4EDF7;
    color: var(--ccn-purple);
}
.ccn-hv3-option-card__image {
    height: 190px;
    border-radius: 10px;
}
.ccn-hv3-option-card__concept {
    background: #FBF4E8;
    color: #5C3B17;
    font-size: 12.5px;
    font-weight: 600;
}
.ccn-hv3-study-options .ccn-hv3-option-card h3,
.ccn-hv3-option-card h3 {
    margin: 14px 0 8px;
    color: var(--ccnp-ink);
    font-size: var(--ccnp-h3);
    line-height: 1.3;
    letter-spacing: -.01em;
}
.ccn-hv3-study-options .ccn-hv3-option-card p,
.ccn-hv3-option-card p {
    color: var(--ccnp-muted);
    font-size: var(--ccnp-small);
    line-height: 1.65;
}
.ccn-hv3-study-options .ccn-hv3-option-card > .ccnb-link-arrow,
.ccn-hv3-option-card .ccnb-link-arrow {
    color: var(--ccn-purple);
    font-size: 16px;
    font-weight: 700;
}
.ccn-home-option-credit { color: var(--ccnp-muted); }

/* 3.8 How CCN works: one equal column per step, whatever the count */
@media (min-width: 1051px) {
    .ccn-hv3-steps {
        grid-template-columns: none;
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        gap: 20px;
    }
    .ccn-hv3-steps li:not(:last-child)::after {
        right: -21px;
        width: 21px;
    }
}
.ccn-hv3-steps li {
    min-height: 0;
    padding: 24px 22px;
    border: 1px solid var(--ccnp-line);
    border-radius: var(--ccnp-radius-card);
    box-shadow: var(--ccnp-card-shadow);
}
.ccn-hv3-steps h3 {
    font-size: var(--ccnp-h3);
    line-height: 1.3;
}
.ccn-hv3-steps p {
    color: var(--ccnp-muted);
    font-size: var(--ccnp-small);
    line-height: 1.65;
}

/* 3.9 IFP centres: wider logo tiles so landscape marks stay legible */
.ccn-hv3-centre-grid { gap: 16px; }
.ccn-hv3-centres .ccn-home-centre-card {
    grid-template-columns: 92px minmax(0, 1fr) 30px;
    gap: 16px;
    min-height: 104px;
    padding: 16px;
    border-color: var(--ccnp-line);
    border-radius: var(--ccnp-radius-card);
    box-shadow: var(--ccnp-card-shadow);
}
.ccn-home-centre-card__logo {
    width: 92px;
    height: 72px;
    border-radius: 10px;
}
.ccn-home-centre-card__logo img {
    width: 88%;
    height: 80%;
}
.ccn-home-centre-card__copy strong {
    font-size: 16px;
}
.ccn-hv3-centres .ccn-home-centre-card__copy small {
    font-size: 14px;
    line-height: 1.5;
}
@media (max-width: 760px) {
    .ccn-hv3-centres .ccn-home-centre-card {
        grid-template-columns: 76px minmax(0, 1fr) 28px;
        gap: 12px;
        padding: 14px;
    }
    .ccn-home-centre-card__logo { width: 76px; height: 60px; }
}

/* 3.10 FAQ: heading beside a clean, left-aligned list */
.ccn-hv3-faq .ccn-hv3-faq__wrap {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    grid-template-areas:
        "head list"
        "all  list";
    grid-template-rows: auto 1fr;
    gap: 16px clamp(32px, 5vw, 80px);
    align-items: start;
    max-width: none;
}
.ccn-hv3-faq .ccn-hv3-heading { grid-area: head; margin: 0; }
.ccn-hv3-faq .ccn-hv3-faq-list { grid-area: list; }
.ccn-hv3-faq .ccn-hv3-faq__all {
    grid-area: all;
    margin: 0;
    text-align: left;
}
.ccn-hv3-faq .ccn-faq-accordion {
    width: 100%;
    gap: 0;
    margin: 0;
    border-top: 1px solid #DCCDE3;
}
.ccn-hv3-faq .ccn-faq-accordion details {
    border: 0;
    border-bottom: 1px solid #DCCDE3;
    border-radius: 0;
    background: transparent;
}
.ccn-hv3-faq .ccn-faq-accordion summary {
    min-height: 0;
    padding: 20px 44px 20px 0;
    color: var(--ccnp-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}
.ccn-hv3-faq .ccn-faq-accordion summary::after { right: 6px; }
.ccn-hv3-faq .ccn-faq-accordion details[open] summary { border-bottom: 0; }
.ccn-hv3-faq .ccn-faq-accordion .ccnb-prose {
    margin: 0;
    padding: 0 44px 22px 0;
    color: var(--ccnp-text);
    font-size: 16px;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .ccn-hv3-faq .ccn-hv3-faq__wrap {
        grid-template-columns: 1fr;
        grid-template-areas: "head" "list" "all";
        grid-template-rows: auto;
    }
}
@media (max-width: 600px) {
    .ccn-hv3-faq .ccn-faq-accordion summary { padding: 16px 36px 16px 0; font-size: 16px; }
    .ccn-hv3-faq .ccn-faq-accordion .ccnb-prose { padding: 0 0 18px; }
}

/* 3.11 Closing enquiry band */
.ccn-hv3-section.ccn-hv3-pathways {
    padding-block: var(--ccnp-section-y);
}
.ccn-hv3-pathways__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title cta"
        "text  cta";
    gap: 12px 48px;
    align-items: center;
    width: 100%;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
    border: 0;
    border-radius: var(--ccnp-radius-panel);
    background: var(--ccnp-ink);
    box-shadow: none;
}
.ccn-hv3-pathways__panel h2 {
    grid-area: title;
    max-width: 22ch;
    color: #fff;
}
.ccn-hv3-pathways__panel > p {
    grid-area: text;
    max-width: 60ch;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: var(--ccnp-body);
    line-height: 1.6;
}
.ccn-hv3-pathways__cta {
    grid-area: cta;
    background: var(--ccn-yellow, #D9AE5F);
    color: var(--ccnp-ink);
}
.ccn-hv3-pathways__cta:hover,
.ccn-hv3-pathways__cta:focus-visible {
    background: #fff;
    color: var(--ccnp-ink);
}
@media (max-width: 850px) {
    .ccn-hv3-pathways__panel {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "text" "cta";
        gap: 14px;
    }
    .ccn-hv3-pathways__cta { justify-self: start; margin-top: 8px; }
}
@media (max-width: 600px) {
    .ccn-hv3-pathways__cta { width: 100%; justify-content: center; }
}

/* 4. Page headers and breadcrumbs ----------------------------------------- */

/* 4.1 One purple band for every inner page.
   .ccnb-pagehead is the shared component; the newsroom, student stories,
   blog and programmes heroes are older copies of it and get the same frame.
   Programme landing heroes (IFP, UEA, ACP) and university profiles keep
   their own photo layouts and only share the breadcrumb treatment. */
.ccnb-pagehead,
.ccnb-newsroom-hero,
.ccnb-ss-hero,
.ccn-blog-hero,
.ccnb-program-hero {
    padding-block: clamp(36px, 4.5vw, 64px) clamp(44px, 5.5vw, 80px);
    border-bottom: 0;
    color: #fff;
    background:
        radial-gradient(ellipse at 88% 18%, rgba(217, 174, 95, .14), transparent 32%),
        linear-gradient(118deg, var(--ccn-purple, #611987) 0%, var(--ccn-purple-bright, #7B2D9D) 100%);
}
.ccnb-pagehead h1,
.ccnb-newsroom-hero h1,
.ccnb-ss-hero h1,
.ccn-blog-hero h1,
.ccnb-program-hero h1 {
    max-width: 22ch;
    margin: 0 0 14px;
    color: #fff;
    text-wrap: balance;
}
.ccnb-pagehead h1:last-child { margin-bottom: 0; }
.ccnb-pagehead__lede,
.ccnb-newsroom-hero__copy > p,
.ccnb-ss-hero__copy > p,
.ccn-blog-hero p,
.ccnb-program-hero .ccnb-co-hero__lede {
    max-width: 62ch;
    color: rgba(255, 255, 255, .84);
}
.ccnb-pagehead .ccnb-eyebrow { color: var(--ccn-yellow, #D9AE5F); }

/* Calls to action inside a band (contact page) use the gold accent, as the
   programme heroes already do. */
.ccnb-pagehead .ccnb-ct__actions { margin-top: 24px; }
.ccnb-pagehead .ccnb-btn--primary {
    border-color: var(--ccn-yellow, #D9AE5F);
    background: var(--ccn-yellow, #D9AE5F);
    color: var(--ccnp-ink);
}
.ccnb-pagehead .ccnb-btn--primary:hover,
.ccnb-pagehead .ccnb-btn--primary:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--ccnp-ink);
}
.ccnb-pagehead .ccnb-ct__quick-link {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, .45);
}
.ccnb-pagehead .ccnb-ct__quick-link:hover,
.ccnb-pagehead .ccnb-ct__quick-link:focus-visible {
    color: var(--ccn-yellow, #D9AE5F);
    text-decoration-color: currentColor;
}

/* Sections that used to hold their own heading now start below the band. */
.ccnb-pagehead + .ccnb-ct,
.ccnb-pagehead + .ccnb-fq,
.ccnb-pagehead + .ccnb-university-directory {
    padding-top: clamp(36px, 4vw, 56px);
}

/* 4.2 Breadcrumbs: a plain text trail instead of a pill inside a pill */
.ccnb-breadcrumb {
    display: block;
    margin-bottom: clamp(16px, 2vw, 24px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.ccnb-breadcrumb ol {
    flex-wrap: wrap;
    gap: 2px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--ccnb-muted);
}
.ccnb-breadcrumb li + li::before {
    margin: 0 8px;
    color: inherit;
    opacity: .6;
}
.ccnb-breadcrumb a,
.ccnb-breadcrumb [aria-current="page"] {
    display: inline;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: none;
}
.ccnb-breadcrumb a {
    color: var(--ccnb-ink-2);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
}
.ccnb-breadcrumb a:hover,
.ccnb-breadcrumb a:focus-visible {
    background: none;
    color: var(--ccn-purple, #611987);
    text-decoration-color: currentColor;
    transform: none;
}
.ccnb-breadcrumb [aria-current="page"] { color: var(--ccnb-muted); }

/* On purple heroes the trail is light. */
:is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero,
    .ccn-blog-article-hero, .ccnb-program-hero, .ccnb-ifp-hero,
    .ccnb-uea-hero, .ccnb-acp-hero) .ccnb-breadcrumb ol {
    color: rgba(255, 255, 255, .72);
}
:is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero,
    .ccn-blog-article-hero, .ccnb-program-hero, .ccnb-ifp-hero,
    .ccnb-uea-hero, .ccnb-acp-hero) .ccnb-breadcrumb a {
    color: #fff;
}
:is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero,
    .ccn-blog-article-hero, .ccnb-program-hero, .ccnb-ifp-hero,
    .ccnb-uea-hero, .ccnb-acp-hero) .ccnb-breadcrumb a:hover,
:is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero,
    .ccn-blog-article-hero, .ccnb-program-hero, .ccnb-ifp-hero,
    .ccnb-uea-hero, .ccnb-acp-hero) .ccnb-breadcrumb a:focus-visible {
    color: var(--ccn-yellow, #D9AE5F);
}
:is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero,
    .ccn-blog-article-hero, .ccnb-program-hero, .ccnb-ifp-hero,
    .ccnb-uea-hero, .ccnb-acp-hero) .ccnb-breadcrumb [aria-current="page"] {
    color: rgba(255, 255, 255, .72);
    background: none;
}

/* 4.3 Consistency fixes inside the bands */
/* Primary buttons on purple use the gold accent everywhere. */
:is(.ccnb-program-hero, .ccnb-newsroom-hero, .ccn-blog-hero) .ccnb-btn--primary {
    border-color: var(--ccn-yellow, #D9AE5F);
    background: var(--ccn-yellow, #D9AE5F);
    color: var(--ccnp-ink);
}
:is(.ccnb-program-hero, .ccnb-newsroom-hero, .ccn-blog-hero) .ccnb-btn--primary:hover,
:is(.ccnb-program-hero, .ccnb-newsroom-hero, .ccn-blog-hero) .ccnb-btn--primary:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--ccnp-ink);
}
/* The booking page narrows its content column; its header band keeps the
   standard page width so titles line up from page to page. */
.ccnb-booking .ccnb-pagehead > .ccnb-wrap {
    width: auto;
}

/* 5. Universities directory (/universities) -------------------------------- */

/* 5.1 Heading typeface, as on the homepage */
body:has(.ccnb-university-directory) .ccnb-pagehead h1,
.ccnb-university-directory h2,
.ccnb-university-directory-advice h2,
.ccnb-cos-card__body strong {
    font-family: var(--ccnp-font-heading);
    font-weight: 700;
    letter-spacing: -.015em;
}
body:has(.ccnb-university-directory) .ccnb-pagehead h1 {
    font-size: var(--ccnp-h1);
    letter-spacing: -.025em;
}

/* 5.2 Search panel */
.ccnb-university-tools {
    gap: 16px 20px;
    margin-bottom: 20px;
    padding: 20px 24px 22px;
    border: 1px solid var(--ccnp-line);
    border-radius: var(--ccnp-radius-card);
    box-shadow: var(--ccnp-card-shadow);
}
.ccnb-university-tools label {
    margin-bottom: 8px;
    color: var(--ccnp-ink);
    font-size: 14px;
    font-weight: 600;
}
#university-search,
#university-city {
    height: 48px;
    border: 1px solid #D8CCE0;
    border-radius: var(--ccnp-radius-btn);
    font-size: 16px;
}
#university-search:focus,
#university-city:focus {
    border-color: var(--ccn-purple, #611987);
    outline: 3px solid rgba(97, 25, 135, .14);
    outline-offset: 0;
}

/* 5.3 City shortcuts and A–Z jump on one row, as matching chips */
.ccnb-university-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin: 0 0 8px;
}
.ccnb-university-toolbar .ccnb-university-city-shortcuts,
.ccnb-university-toolbar .ccnb-university-letters {
    gap: 8px;
    margin: 0;
}
.ccnb-university-city-shortcuts > span {
    margin-right: 4px;
    font-size: 14px;
    font-weight: 600;
}
.ccnb-university-city-shortcuts button,
.ccnb-university-letters a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #E2D5E8;
    border-radius: 999px;
    background: #fff;
    color: var(--ccn-purple, #611987);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.ccnb-university-letters a:hover,
.ccnb-university-letters a:focus-visible {
    border-color: var(--ccn-purple, #611987);
    background: #F4EDF7;
}
.ccnb-university-city-shortcuts button:hover,
.ccnb-university-city-shortcuts button:focus-visible {
    border-color: var(--ccn-purple, #611987);
    background: #F4EDF7;
}
/* The selected city must stand out from the others. */
.ccnb-university-city-shortcuts button[aria-pressed="true"] {
    border-color: var(--ccn-purple, #611987);
    background: var(--ccn-purple, #611987);
    color: #fff;
}
.ccnb-university-city-shortcuts button[aria-pressed="true"] span { color: var(--ccn-yellow, #D9AE5F); }
.ccnb-university-letters a[hidden] { display: none; }
.ccnb-university-city-shortcuts button span { font-size: 12px; }

/* 5.4 Letter groups */
.ccnb-university-group { margin-top: clamp(40px, 4vw, 56px); }
.ccnb-university-group__heading {
    align-items: baseline;
    margin-bottom: 24px;
    padding-bottom: 12px;
}
.ccnb-university-group__heading h2 {
    color: var(--ccnp-ink);
    font-size: clamp(24px, 20px + .6vw, 30px);
}
.ccnb-university-group__heading > span {
    color: var(--ccnp-muted);
    font-size: 14px;
}

/* 5.5 University cards, matching the homepage cards */
.ccnb-cos-grid { gap: 20px; }
.ccnb-cos-card {
    overflow: hidden;
    border: 1px solid var(--ccnp-line);
    border-radius: var(--ccnp-radius-card);
    box-shadow: var(--ccnp-card-shadow);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.ccnb-cos-card:hover,
.ccnb-cos-card:focus-visible {
    border-color: #CDB3D8;
    box-shadow: var(--ccnp-card-shadow-hover);
    transform: translateY(-3px);
}
.ccnb-cos-card__media { border-bottom: 0; }
.ccnb-cos-card__abbr {
    border-width: 1.5px;
    border-radius: var(--ccnp-radius-btn);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}
.ccnb-cos-card__body {
    gap: 8px;
    padding: 20px 22px 22px;
}
.ccnb-cos-card__est {
    color: var(--ccnp-muted);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .08em;
}
.ccnb-cos-card__body strong {
    color: var(--ccnp-ink);
    font-size: var(--ccnp-h3);
    line-height: 1.3;
}
.ccnb-cos-card__metric {
    color: var(--ccn-purple, #611987);
    font-size: 13.5px;
    font-weight: 600;
}
.ccnb-cos-card__metric--muted { color: var(--ccnp-muted); }
.ccnb-cos-card__tagline {
    color: var(--ccnp-muted);
    font-size: 15px;
    line-height: 1.6;
}
.ccnb-cos-card__more {
    color: var(--ccn-purple, #611987);
    font-size: 15px;
    font-weight: 700;
}
.ccnb-cos-card:hover .ccnb-cos-card__more {
    text-decoration: underline;
    text-underline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    .ccnb-cos-card { transition: none; }
    .ccnb-cos-card:hover,
    .ccnb-cos-card:focus-visible { transform: none; }
}

/* 5.6 Closing advice band: same treatment as the homepage enquiry band */
.ccnb-university-directory-advice {
    padding-block: 0 var(--ccnp-section-y);
}
.ccnb-university-directory-advice .ccnb-cta-band__panel {
    align-items: center;
    padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px);
    border-radius: var(--ccnp-radius-panel);
    background: var(--ccnp-ink);
}
.ccnb-university-directory-advice h2 {
    font-size: var(--ccnp-h2);
    line-height: 1.15;
}
.ccnb-university-directory-advice p {
    color: rgba(255, 255, 255, .84);
    font-size: var(--ccnp-body);
}
.ccnb-university-directory-advice .ccnb-cta-band__actions { gap: 12px; }
.ccnb-university-directory-advice .ccnb-btn {
    min-height: 48px !important;
    padding: 12px 22px !important;
    border-radius: var(--ccnp-radius-btn) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.ccnb-university-directory-advice .ccnb-btn--primary {
    border-color: var(--ccn-yellow, #D9AE5F);
    background: var(--ccn-yellow, #D9AE5F);
    color: var(--ccnp-ink);
}
.ccnb-university-directory-advice .ccnb-btn--ghost {
    border: 1.5px solid rgba(255, 255, 255, .6);
    color: #fff;
}
.ccnb-university-directory-advice .ccnb-btn--primary:hover,
.ccnb-university-directory-advice .ccnb-btn--primary:focus-visible,
.ccnb-university-directory-advice .ccnb-btn--ghost:hover,
.ccnb-university-directory-advice .ccnb-btn--ghost:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--ccnp-ink);
}

@media (max-width: 767px) {
    .ccnb-university-tools { padding: 16px; }
    .ccnb-university-toolbar { flex-direction: column; align-items: flex-start; }
    .ccnb-university-directory-advice .ccnb-cta-band__actions { width: 100%; flex-direction: column; align-items: stretch; }
    .ccnb-university-directory-advice .ccnb-btn { justify-content: center; }
}

/* 6. Page blocks (page_sections layouts; inc/page-blocks.php) ------------- */

/* Device visibility chosen per block in the admin. */
@media (min-width: 768px) { .ccnb-hide-desktop { display: none !important; } }
@media (max-width: 767px) { .ccnb-hide-mobile { display: none !important; } }

/* Key takeaways: a compact summary box. */
.ccnb-page-extra--takeaways { background: var(--ccnp-tint); }
.ccnb-page-extra--takeaways .ccnb-page-extra__copy {
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--ccnp-line);
    border-left: 4px solid var(--ccn-yellow, #D9AE5F);
    border-radius: var(--ccnp-radius-card);
    background: #fff;
}
.ccnb-page-extra--takeaways .ccnb-prose ul { margin: 0; padding-left: 1.2em; }
.ccnb-page-extra--takeaways .ccnb-prose li { margin: 6px 0; }

/* FAQ: accessible accordion. */
.ccnb-block-faq { border-top: 1px solid var(--ccnp-line); }
.ccnb-block-faq details { border-bottom: 1px solid var(--ccnp-line); }
.ccnb-block-faq summary {
    position: relative;
    padding: 18px 40px 18px 0;
    color: var(--ccnp-ink);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.ccnb-block-faq summary::-webkit-details-marker { display: none; }
.ccnb-block-faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; color: var(--ccn-purple, #611987); font-size: 22px; }
.ccnb-block-faq details[open] summary::after { content: "–"; }
.ccnb-block-faq .ccnb-prose { padding: 0 40px 18px 0; }

/* Steps: numbered cards. */
.ccnb-page-extra--steps .ccnb-prose ol { counter-reset: ccn-step; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ccnb-page-extra--steps .ccnb-prose ol > li {
    counter-increment: ccn-step;
    position: relative;
    padding: 16px 18px 16px 62px;
    border: 1px solid var(--ccnp-line);
    border-radius: var(--ccnp-radius-card);
    background: #fff;
}
.ccnb-page-extra--steps .ccnb-prose ol > li::before {
    content: counter(ccn-step);
    position: absolute;
    left: 16px; top: 14px;
    display: grid; width: 32px; height: 32px; place-items: center;
    border-radius: 50%;
    background: var(--ccnp-ink);
    color: #fff;
    font-weight: 700;
}

/* Comparison and pros & cons: readable, scrollable tables. */
.ccnb-block-table { overflow-x: auto; }
.ccnb-block-table table { width: 100%; min-width: 480px; border-collapse: collapse; background: #fff; }
.ccnb-block-table th, .ccnb-block-table td { padding: 12px 14px; border: 1px solid var(--ccnp-line); text-align: left; vertical-align: top; }
.ccnb-block-table thead th { background: #F4EDF7; color: var(--ccnp-ink); }
.ccnb-page-extra--proscons .ccnb-block-table thead th:first-child { background: #E8F5EE; color: #1D5B3A; }
.ccnb-page-extra--proscons .ccnb-block-table thead th:nth-child(2) { background: #FBF4E8; color: #6B4A12; }

/* Definition. */
.ccnb-block-definition { margin: 0; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--ccnp-line); border-radius: var(--ccnp-radius-card); background: var(--ccnp-tint); }
.ccnb-block-definition dt { color: var(--ccnp-ink); font-family: var(--ccnp-font-heading); font-size: var(--ccnp-h3); font-weight: 700; }
.ccnb-block-definition dd { margin: 8px 0 0; }

/* Stat with source. */
.ccnb-block-stat__figure { display: block; color: var(--ccn-purple, #611987); font-family: var(--ccnp-font-heading); font-size: clamp(40px, 30px + 3vw, 64px); font-weight: 700; line-height: 1; }
.ccnb-block-stat h2 { margin-top: 10px; }

/* Sources: small, quiet reference list. */
.ccnb-page-extra--sources .ccnb-prose { font-size: 15px; }
.ccnb-page-extra--sources .ccnb-prose a { word-break: break-word; }

/* Author box. */
.ccnb-block-author { display: flex; gap: 20px; align-items: flex-start; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--ccnp-line); border-radius: var(--ccnp-radius-card); background: #fff; }
.ccnb-block-author img { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.ccnb-block-author h2 { margin: 4px 0; font-size: var(--ccnp-h3); }
.ccnb-block-author__role { margin: 0 0 8px; color: var(--ccnp-muted); font-weight: 600; }

/* Table of contents. */
.ccnb-block-toc { padding: clamp(18px, 3vw, 26px); border: 1px solid var(--ccnp-line); border-radius: var(--ccnp-radius-card); background: var(--ccnp-tint); }
.ccnb-block-toc h2 { margin: 0 0 10px; font-size: var(--ccnp-h3); }
.ccnb-block-toc ol { margin: 0; padding-left: 1.3em; columns: 2 240px; }
.ccnb-block-toc li { margin: 4px 0; }

/* Quote. */
.ccnb-block-quote { margin: 0; padding: clamp(20px, 3vw, 32px); border-left: 4px solid var(--ccn-yellow, #D9AE5F); background: var(--ccnp-tint); border-radius: 0 var(--ccnp-radius-card) var(--ccnp-radius-card) 0; }
.ccnb-block-quote blockquote { margin: 0; color: var(--ccnp-ink); font-size: clamp(18px, 16px + .5vw, 22px); font-style: italic; }
.ccnb-block-quote figcaption { margin-top: 12px; color: var(--ccnp-muted); font-weight: 600; }

/* Video facade: the player loads only when clicked. */
.ccnb-block-video { position: relative; display: block; max-width: 720px; margin: 8px 0 16px; overflow: hidden; border-radius: var(--ccnp-radius-card); }
.ccnb-block-video img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ccnb-block-video__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 56px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }

/* Enquiry form block. */
.ccnb-block-lead { display: grid; gap: 12px; max-width: 760px; }
.ccnb-block-lead__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ccnb-block-lead label { display: grid; gap: 6px; color: var(--ccnp-ink); font-size: 14px; font-weight: 600; }
.ccnb-block-lead input, .ccnb-block-lead textarea { width: 100%; padding: 10px 12px; border: 1px solid #D8CCE0; border-radius: var(--ccnp-radius-btn); font: inherit; font-size: 16px; font-weight: 400; }
.ccnb-block-lead input:focus, .ccnb-block-lead textarea:focus { border-color: var(--ccn-purple, #611987); outline: 3px solid rgba(97, 25, 135, .14); }
.ccnb-block-lead__note { margin: 0; color: var(--ccnp-muted); font-size: 14px; }
.ccnb-block-lead .ccnb-btn { justify-self: start; }

/* 7. Private preview notice (shared draft links) ------------------------ */
.ccnb-share-preview {
    position: sticky; top: 0; z-index: 1100;
    padding: 10px 16px; text-align: center;
    background: #fff4d6; color: #5a3d00; border-bottom: 1px solid #e8c770;
    font-size: 15px; line-height: 1.45;
}
.ccnb-share-preview span { display: inline-block; margin-left: 6px; opacity: .85; }
@media print { .ccnb-share-preview { display: none; } }

/* 8. Announcement bar --------------------------------------------------- */
.ccnb-announce { font-size: 15px; line-height: 1.45; }
.ccnb-announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 9px 16px; }
.ccnb-announce p { margin: 0; text-align: center; }
.ccnb-announce a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; color: inherit; white-space: nowrap; }
.ccnb-announce--brand { background: #b5121b; color: #fff; }
.ccnb-announce--info { background: #e8f1ff; color: #10325f; border-bottom: 1px solid #c7dbfb; }
.ccnb-announce--warning { background: #fff4d6; color: #5a3d00; border-bottom: 1px solid #e8c770; }
.ccnb-announce__close { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.ccnb-announce__close:hover, .ccnb-announce__close:focus-visible { background: rgba(0, 0, 0, .12); outline: 2px solid currentColor; outline-offset: 1px; }
@media print { .ccnb-announce { display: none; } }


/* 10. Custom forms (form builder) --------------------------------------- */
.ccnb-custom-form .ccnb-form-field { display: grid; gap: 6px; }
.ccnb-custom-form .ccnb-form-field > label { display: block; }
.ccnb-custom-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.ccnb-custom-form legend { margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--ccnp-ink); }
.ccnb-custom-form .ccnb-choice { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.ccnb-custom-form .ccnb-choice input { margin-top: 4px; width: auto; }
.ccnb-custom-form .ccnb-required { color: #b5121b; }
.ccnb-custom-form .ccnb-form-help { font-size: 13px; color: #5b6475; }
.ccnb-custom-form .ccnb-form-error { font-size: 13px; color: #b5121b; font-weight: 600; }
.ccnb-custom-form [aria-invalid="true"] { border-color: #b5121b !important; }
.ccnb-form-errors { padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #7a1010; }
.ccnb-form-errors p { margin: 0 0 4px; font-weight: 600; }
.ccnb-form-errors ul { margin: 0; padding-left: 18px; }
.ccnb-form-success { padding: 16px 18px; border-radius: 12px; background: #e9f7ef; color: #14532d; font-weight: 600; max-width: 760px; }
.ccnb-custom-form select { width: 100%; padding: 10px 12px; border: 1px solid #D8CCE0; border-radius: var(--ccnp-radius-btn); font: inherit; font-size: 16px; background: #fff; }
.ccnb-custom-form .ccnb-choice input[type="checkbox"], .ccnb-custom-form .ccnb-choice input[type="radio"] { width: 18px; height: 18px; padding: 0; }

/* ══════════════════════════════════════════════════════════════════════
   UI/UX refinement pass (15 Nov 2026)
   Findings from an end-to-end review of every public template at 390 px,
   768 px and 1440 px. Presentation only; kept here so this file stays last.
   ══════════════════════════════════════════════════════════════════════ */

/* 1. Reading rhythm: balanced headings, no orphan words in paragraphs, and
      in-page anchors that land below the sticky header. */
main h1, main h2, main h3 { text-wrap: balance; }
main p, main li, main dd { text-wrap: pretty; }
main [id] { scroll-margin-top: calc(var(--ccnb-header-h, 72px) + 16px); }

/* 2. Type floor: labels never drop below ~12.5 px. */
.ccnb-program-card__facts dt { font-size: .78rem !important; letter-spacing: .06em; }
.ccnb-university-snapshot__label { font-size: .78rem !important; color: #625868 !important; }
.ccn-hv3-step-label { font-size: .8rem; }

/* 3. Contrast: secondary copy on white reaches WCAG AA (4.5:1). */
.ccn-hv3-centres .ccn-home-centre-card__copy small { color: #5d5466 !important; }

/* 4. Long e-mail addresses break at the @ / dot, not mid-word, and shrink a
      little on phones so the whole address fits on one line where it can. */
.ccnb-ct-channel__value[href^="mailto:"] { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 480px) {
    .ccnb-ct-channel__value[href^="mailto:"] { font-size: clamp(1rem, 4.4vw, 1.25rem) !important; }
}

/* 5. One arrow per link: external links already carry ↗ in the markup. */
.ccnb-link-arrow:has(> span[aria-hidden="true"])::after { content: none; }

/* 6. FAQ: the accordion stays centred on the page, but questions and answers
      read left-aligned — centred multi-line text is hard to scan. */
.ccn-faq-accordion summary,
.ccnb-faq summary { text-align: left !important; }
.ccn-faq-accordion .ccnb-fq-item__answer,
.ccn-faq-accordion .ccnb-prose,
.ccnb-public-pathway__faq-list .ccnb-prose,
.ccnb-faq__answer { text-align: left !important; text-align-last: auto !important; margin-inline: 0 !important; max-width: 75ch; }

/* 7. Touch targets (WCAG 2.2 "target size"; 44 px where fingers are used). */
.ccnb-breadcrumb a { display: inline-flex; align-items: center; min-height: 28px; padding-block: 3px; }
@media (max-width: 760px), (pointer: coarse) {
    .ccnb-breadcrumb a { min-height: 36px; }
    .ccnb-footer__list a,
    .ccnb-footer__contact a { display: inline-flex; align-items: center; min-height: 40px; padding-block: 6px; }
    .ccn-blog-toc li a { display: block; padding: 9px 0; }
    .ccnb-link-arrow,
    .ccn-blog-read,
    .ccnb-ct__quick-link,
    .ccnb-apply-route a,
    .ccnb-offer-programme a,
    .ccnb-newsroom-empty__links a,
    .ccnb-university-snapshot__facts a,
    .ccn-home-option-card a,
    .ccn-hv3-option-card a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 8. Blog contents list: a titled, comfortable box on phones. */
@media (max-width: 680px) {
    .ccn-blog-toc { padding: 16px 18px; border: 1px solid #e7dcec; border-radius: 12px; background: #fbf8fc; }
    .ccn-blog-toc li { font-size: .92rem; border-bottom: 1px solid #efe7f2; }
    .ccn-blog-toc li:last-child { border-bottom: 0; }
}

/* 9. Booking with no open times: real buttons instead of a dead end. */
.ccnb-booking__empty-links { display: grid; gap: 10px; margin-top: 18px; }
.ccnb-booking__empty-links a {
    display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px;
    border: 1px solid #ddd0e5; border-radius: 10px; background: #fff; color: var(--ccnb-red-deep, #4B125F);
    font-weight: 700; text-decoration: none; overflow-wrap: anywhere; text-align: center;
    transition: background-color .15s ease, border-color .15s ease;
}
.ccnb-booking__empty-links a:first-child { border-color: var(--ccnb-red, #611987); background: var(--ccnb-red, #611987); color: #fff; }
.ccnb-booking__empty-links a:hover,
.ccnb-booking__empty-links a:focus-visible { border-color: var(--ccnb-red, #611987); background: #f8f2fa; }
.ccnb-booking__empty-links a:first-child:hover,
.ccnb-booking__empty-links a:first-child:focus-visible { background: var(--ccnb-red-deep, #4B125F); color: #fff; }
@media (min-width: 640px) { .ccnb-booking__empty-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 10. Keyboard focus is always visible and on-brand, including cards. */
main a:focus-visible, main button:focus-visible, main summary:focus-visible,
main input:focus-visible, main select:focus-visible, main textarea:focus-visible,
.ccnb-header a:focus-visible, .ccnb-header button:focus-visible {
    outline: 3px solid #611987; outline-offset: 2px;
}
/* on purple surfaces the ring turns yellow */
.ccnb-footer a:focus-visible, .ccnb-pagehead a:focus-visible, .ccnb-hero a:focus-visible,
.ccn-hv3-why-ifp a:focus-visible, .ccn-hv3-pathways a:focus-visible, .ccn-blog-article-hero a:focus-visible {
    outline: 3px solid #f9c001; outline-offset: 2px;
}
@media (max-width: 760px), (pointer: coarse) {
    main .ccn-card ul a,
    .ccnb-ct-company__lines a,
    .ccnb-ct-company h3 a,
    .ccnb-ct-next__links a,
    .ccnb-study-centre-hero__address a { display: inline-flex; align-items: center; min-height: 40px; }
    main .ccn-card ul li + li { margin-top: 2px; }
}
/* left-aligned questions no longer need the symmetric centring padding */
.ccn-faq-accordion summary,
.ccnb-faq summary { padding-left: 18px !important; }
.ccn-faq-accordion .ccnb-fq-item__answer,
.ccn-faq-accordion .ccnb-prose { padding-left: 18px; padding-right: 18px; }
.ccnb-booking__empty-links a[href^="mailto:"] { font-size: .9rem; }

/* ══════════ Homepage: "Why students choose the CCN IFP" (redesign) ══════════
   Copy, three key facts and two actions on the left; a 4:3 photo with a proof
   badge on the right; the four benefits read as one journey underneath. */
.ccn-hv3-why-ifp .ccn-ifp2 { display: block; padding: clamp(24px, 4vw, 48px); border-radius: 24px; }
.ccn-ifp2__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ccn-hv3-why-ifp .ccn-ifp2__copy h2 { max-width: 16ch; margin: 10px 0 14px; }
.ccn-hv3-why-ifp .ccn-ifp2__copy > .ccn-ifp2__lead { max-width: 46ch; margin: 0 0 24px; color: #EDE3F2; font-size: clamp(1rem, .95rem + .25vw, 1.12rem); line-height: 1.65; }
.ccn-ifp2__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.ccn-ifp2__facts li { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .07); }
.ccn-ifp2__facts strong { color: #F9C001; font-family: var(--ccnb-font-display, inherit); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.ccn-ifp2__facts span { color: #EDE3F2; font-size: .84rem; line-height: 1.35; }
.ccn-ifp2__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ccn-hv3-why-ifp .ccn-ifp2__primary { border-color: #F9C001; background: #F9C001; color: #34103f; }
.ccn-hv3-why-ifp .ccn-ifp2__primary:hover,
.ccn-hv3-why-ifp .ccn-ifp2__primary:focus-visible { border-color: #ffd23f; background: #ffd23f; color: #34103f; }
.ccn-hv3-why-ifp .ccn-ifp2__primary span { transition: transform .18s ease; }
.ccn-hv3-why-ifp .ccn-ifp2__primary:hover span { transform: translateX(3px); }
.ccn-hv3-why-ifp .ccn-ifp2__secondary { border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff; }
.ccn-hv3-why-ifp .ccn-ifp2__secondary:hover,
.ccn-hv3-why-ifp .ccn-ifp2__secondary:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

/* photo: 4:3, cropped from the top so the brochure's corner marks fall away */
.ccn-hv3-why-ifp .ccn-ifp2__media { position: relative; height: auto; min-height: 0; aspect-ratio: 4 / 3; margin: 0; border-radius: 18px; overflow: hidden; background: #6c3f7d; }
.ccn-hv3-why-ifp .ccn-ifp2__media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 22%; }
.ccn-hv3-why-ifp .ccn-ifp2__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(75, 20, 95, .45)); pointer-events: none; }
.ccn-ifp2__badge { position: absolute; z-index: 1; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #fff; color: #4B145F; font-size: .86rem; font-weight: 700; box-shadow: 0 8px 22px rgba(30, 10, 40, .22); }
.ccn-ifp2__badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the four benefits as one connected journey */
.ccn-hv3-why-ifp .ccn-ifp2__journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: clamp(30px, 4vw, 44px) 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); counter-reset: none; }
.ccn-hv3-why-ifp .ccn-ifp2__journey::before { content: ""; position: absolute; left: 18px; right: 18px; top: 46px; height: 2px; background: rgba(249, 192, 1, .45); transform-origin: left center; }
.ccn-hv3-why-ifp .ccn-ifp2__journey li { position: relative; display: block; padding: 0; border: 0; border-radius: 0; background: none; }
.ccn-hv3-why-ifp .ccn-ifp2__journey .ccn-ifp2__step { position: relative; z-index: 1; display: grid; width: 38px; height: 38px; margin-bottom: 14px; place-items: center; border: 4px solid #4B145F; border-radius: 50%; background: #F9C001; color: #34103f; font-size: .78rem; font-weight: 800; box-sizing: content-box; margin-left: -4px; margin-top: -4px; }
.ccn-hv3-why-ifp .ccn-ifp2__journey h3 { margin: 0 0 6px; color: #fff; font-size: 1.02rem; line-height: 1.35; }
.ccn-hv3-why-ifp .ccn-ifp2__journey p { margin: 0; color: #EDE3F2; font-size: .92rem; line-height: 1.6; }

/* the line draws itself once, when the panel is revealed */
@media (prefers-reduced-motion: no-preference) {
    .ccn-ifp2.is-reveal-pending .ccn-ifp2__journey::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .35s; }
    .ccn-ifp2.is-reveal-pending.is-visible .ccn-ifp2__journey::before { transform: scaleX(1); }
}

@media (max-width: 1050px) {
    .ccn-hv3-why-ifp .ccn-ifp2__journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .ccn-hv3-why-ifp .ccn-ifp2__journey::before { display: none; }
}
@media (max-width: 860px) {
    .ccn-ifp2__top { grid-template-columns: minmax(0, 1fr); }
    .ccn-hv3-why-ifp .ccn-ifp2__media { aspect-ratio: 16 / 9; order: 2; }
}
@media (max-width: 600px) {
    .ccn-hv3-why-ifp .ccn-ifp2 { padding: 22px 18px; border-radius: 18px; }
    .ccn-ifp2__facts { gap: 8px; margin-bottom: 20px; }
    .ccn-ifp2__facts li { padding: 10px; }
    .ccn-ifp2__facts strong { font-size: 1.15rem; white-space: nowrap; }
    .ccn-ifp2__facts span { font-size: .78rem; }
    .ccn-ifp2__actions { display: grid; }
    .ccn-ifp2__actions .ccnb-btn { width: 100%; }
    /* journey becomes a vertical timeline */
    .ccn-hv3-why-ifp .ccn-ifp2__journey { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 24px; padding-top: 22px; }
    .ccn-hv3-why-ifp .ccn-ifp2__journey::before { display: block; left: 18px; right: auto; top: 40px; bottom: 30px; width: 2px; height: auto; transform-origin: top center; }
    .ccn-ifp2.is-reveal-pending .ccn-ifp2__journey::before { transform: scaleY(0); }
    .ccn-ifp2.is-reveal-pending.is-visible .ccn-ifp2__journey::before { transform: scaleY(1); }
    .ccn-hv3-why-ifp .ccn-ifp2__journey li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
    .ccn-hv3-why-ifp .ccn-ifp2__journey .ccn-ifp2__step { margin-bottom: 0; }
}

/* ══════════ Homepage: "What is China Campus Network?" (redesign) ══════════
   Balanced two columns: who CCN is (eyebrow, heading, copy, three facts,
   actions) and a full-bordered card with the three study-journey steps. */
.ccn-home-intro .ccn-intro2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ccn-intro2__eyebrow { display: inline-block; margin-bottom: 10px; color: #8a5a0c; }
.ccn-intro2__copy p { max-width: 58ch; }
.ccn-intro2__proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ccn-intro2__proof li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #e7dcec; border-radius: 999px; background: #fbf8fc; color: #4b145f; font-size: .88rem; font-weight: 600; }
.ccn-intro2__proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d9ae5f; }
.ccn-home-intro .ccn-intro2__card {
    padding: clamp(22px, 2.6vw, 32px); border: 1px solid #e7dcec !important; border-radius: 20px !important;
    background: #fff; box-shadow: 0 1px 2px rgba(75, 20, 95, .04), 0 18px 40px rgba(75, 20, 95, .07);
}
.ccn-intro2__card h3 { margin: 0 0 18px; color: #4b145f; font-size: 1.2rem; line-height: 1.3; }
.ccn-intro2__steps { position: relative; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ccn-intro2__steps::before { content: none; }
.ccn-home-intro .ccn-intro2__steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px 0; color: inherit; }
.ccn-home-intro .ccn-intro2__steps li::before { content: none; }
.ccn-intro2__icon { position: relative; z-index: 1; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: #f4edf7; color: #611987; }
.ccn-intro2__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccn-intro2__steps strong { display: block; margin: 2px 0 3px; color: #2f1238; font-size: 1rem; line-height: 1.4; }
.ccn-intro2__steps li > div > span { display: block; color: #5d5466; font-size: .92rem; line-height: 1.55; }
.ccn-home-intro .ccn-intro2__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 12px; padding-top: 14px; border-top: 1px solid #f0e8f3; width: 100%; color: #611987; font-weight: 700; text-decoration: none; }
.ccn-home-intro .ccn-intro2__link span { transition: transform .18s ease; }
.ccn-home-intro .ccn-intro2__link:hover span { transform: translateX(4px); }
.ccn-home-intro .ccn-intro2__link:hover { color: #4b145f; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
    .ccn-home-intro .ccn-intro2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
    .ccn-intro2__proof li { font-size: .82rem; padding: 6px 10px; }
    .ccn-home-intro .ccn-home-intro__actions { display: grid; }
    .ccn-home-intro .ccn-home-intro__actions .ccnb-btn { width: 100%; }
    .ccn-home-intro .ccn-intro2__card { padding: 20px 18px; border-radius: 16px !important; }
}
/* step icons: always a centred 44px square; the connector runs only between icons */
.ccn-home-intro .ccn-intro2__steps .ccn-intro2__icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; line-height: 0; }
.ccn-home-intro .ccn-intro2__steps .ccn-intro2__icon svg { display: block; width: 22px; height: 22px; }
.ccn-home-intro .ccn-intro2__steps li:not(:last-child)::after {
    content: ""; position: absolute; left: 21px; top: 58px; bottom: -10px; width: 2px; border-radius: 2px; background: #eadff0;
}

/* ------------------------------------------------------------------
   Study options redesign (15 Nov 2026)
   Each programme gets its own accent inside the brand family:
   tone 1 = CCN purple (IFP), tone 2 = berry (UEA), tone 3 = gold (ACP).
   ------------------------------------------------------------------ */
.ccn-hv3-study-options {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 55% at 0% 0%, rgba(97, 25, 135, .08), transparent 70%),
        radial-gradient(50% 50% at 100% 100%, rgba(249, 192, 1, .10), transparent 70%),
        #FAF6FC;
}
.ccn-hv3-study-options .ccn-opt2__heading {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}
.ccn-opt2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 1px #E7DCEC;
    color: #611987;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ccn-opt2__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F9C001;
}
.ccn-hv3-study-options .ccn-opt2__heading h2 { margin: 0; color: #4B145F; }
.ccn-hv3-study-options .ccn-opt2__heading p {
    max-width: 600px;
    margin: 14px auto 0;
    color: #5d5466;
    font-size: 1.02rem;
    line-height: 1.65;
    text-align: center;
}

.ccn-opt2__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ccn-opt2 {
    --opt-accent: #611987;
    --opt-ink: #4B145F;
    --opt-soft: #F3EAF8;
    --opt-tint: rgba(97, 25, 135, .55);
    --opt-code-bg: #611987;
    --opt-code-ink: #fff;
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E7DCEC;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(75, 20, 95, .05), 0 10px 28px rgba(75, 20, 95, .07);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.ccn-opt2--tone-2 {
    --opt-accent: #A3286E;
    --opt-ink: #7C1C53;
    --opt-soft: #FCEBF4;
    --opt-tint: rgba(163, 40, 110, .5);
    --opt-code-bg: #A3286E;
}
.ccn-opt2--tone-3 {
    --opt-accent: #D9A100;
    --opt-ink: #7A5200;
    --opt-soft: #FDF4DA;
    --opt-tint: rgba(196, 140, 0, .45);
    --opt-code-bg: #F9C001;
    --opt-code-ink: #3E2A00;
}
.ccn-opt2::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    height: 4px;
    background: var(--opt-accent);
}
.ccn-opt2:hover,
.ccn-opt2:focus-within {
    border-color: color-mix(in srgb, var(--opt-accent) 35%, #E7DCEC);
    box-shadow: 0 2px 4px rgba(75, 20, 95, .06), 0 22px 44px rgba(75, 20, 95, .13);
}

.ccn-opt2__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--opt-soft);
}
.ccn-opt2__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ccn-opt2__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, var(--opt-tint) 100%);
    pointer-events: none;
}
.ccn-opt2:hover .ccn-opt2__media img { transform: scale(1.05); }
.ccn-opt2__code {
    position: absolute;
    z-index: 1;
    left: 16px;
    bottom: 16px;
    display: inline-grid;
    place-items: center;
    min-width: 58px;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--opt-code-bg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    color: var(--opt-code-ink);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .06em;
}
.ccn-opt2__credit {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    color: rgba(255, 255, 255, .9);
    font-size: .72rem;
}

.ccn-opt2__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px 24px;
}
.ccn-opt2__concept {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--opt-soft);
    color: var(--opt-ink);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
}
.ccn-opt2 h3 {
    margin: 14px 0 10px;
    color: #2E1238;
    font-size: 1.2rem;
    line-height: 1.3;
    letter-spacing: -.01em;
    text-align: left;
}
.ccn-opt2 p {
    margin: 0 0 22px;
    color: #5d5466;
    font-size: .95rem;
    line-height: 1.65;
    text-align: left;
}
.ccn-opt2__cta {
    display: flex;
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #EFE7F3;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--opt-ink);
    font-weight: 800;
    text-decoration: none;
}
/* Whole card is clickable, the link stays the single accessible target. */
.ccn-opt2__cta::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: inherit;
}
.ccn-opt2__arrow {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--opt-soft);
    color: var(--opt-ink);
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.ccn-opt2__arrow svg { display: block; }
.ccn-opt2:hover .ccn-opt2__arrow,
.ccn-opt2__cta:focus-visible .ccn-opt2__arrow {
    background: var(--opt-code-bg);
    color: var(--opt-code-ink);
    transform: translateX(3px);
}
.ccn-opt2__cta:focus-visible { outline: none; }
.ccn-opt2:has(.ccn-opt2__cta:focus-visible) {
    outline: 3px solid var(--opt-accent);
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .ccn-opt2__grid { gap: 18px; }
    .ccn-opt2__body { padding: 20px; }
}
@media (max-width: 860px) {
    .ccn-opt2__grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
    .ccn-opt2 { display: grid; grid-template-columns: 42% 1fr; }
    .ccn-opt2__media { aspect-ratio: auto; min-height: 220px; }
    .ccn-opt2__media img { position: absolute; inset: 0; }
    .ccn-hv3-study-options .ccn-opt2__heading { margin-bottom: 28px; }
}
@media (max-width: 600px) {
    .ccn-opt2 { display: flex; }
    .ccn-opt2__media { aspect-ratio: 16 / 9; min-height: 0; }
    .ccn-opt2__media img { position: static; }
    .ccn-opt2__body { padding: 18px 18px 20px; }
    .ccn-opt2 h3 { font-size: 1.12rem; }
    .ccn-hv3-study-options .ccn-opt2__heading p { font-size: .96rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ccn-opt2__media img,
    .ccn-opt2__arrow { transition: none; }
    .ccn-opt2:hover .ccn-opt2__media img { transform: none; }
}

/* ------------------------------------------------------------------
   IFP centres redesign (15 Nov 2026)
   City first, short address, equal cards, a city filter and a help card.
   ------------------------------------------------------------------ */
.ccn-cen2__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}
.ccn-hv3-centres .ccn-cen2__heading { max-width: 640px; margin: 0; text-align: left; }
.ccn-cen2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 1px #E7DCEC;
    color: #611987;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ccn-cen2__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F9C001; }
.ccn-hv3-centres .ccn-cen2__heading h2 { margin: 0; color: #4B145F; }
.ccn-hv3-centres .ccn-cen2__heading p {
    max-width: 560px;
    margin: 12px 0 0;
    color: #5d5466;
    font-size: 1.02rem;
    line-height: 1.65;
    text-align: left;
}
.ccn-cen2__stats {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
    border: 1px solid #E7DCEC;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(75, 20, 95, .05);
}
.ccn-cen2__stats div {
    display: flex;
    flex-direction: column-reverse;
    min-width: 110px;
    padding: 14px 22px;
    text-align: center;
}
.ccn-cen2__stats div + div { border-left: 1px solid #EFE7F3; }
.ccn-cen2__stats dt { color: #6b6274; font-size: 13px; font-weight: 600; }
.ccn-cen2__stats dd {
    margin: 0;
    color: #611987;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
}

.ccn-cen2__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}
.ccn-cen2__filter[hidden] { display: none; }
.ccn-cen2__filter button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid #E2D4E9;
    border-radius: 999px;
    background: #fff;
    color: #4B145F;
    font: inherit;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ccn-cen2__filter button span {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #F3EAF8;
    color: #611987;
    font-size: 12px;
}
.ccn-cen2__filter button:hover { border-color: #C9AED6; }
.ccn-cen2__filter button[aria-pressed="true"] { border-color: #611987; background: #611987; color: #fff; }
.ccn-cen2__filter button[aria-pressed="true"] span { background: #F9C001; color: #3E2A00; }
.ccn-cen2__filter button:focus-visible { outline: 3px solid #F9C001; outline-offset: 2px; }

.ccn-cen2__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ccn-cen2 {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #E7DCEC;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(75, 20, 95, .05), 0 8px 22px rgba(75, 20, 95, .06);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.ccn-cen2[hidden] { display: none; }
.ccn-cen2:not(.ccn-cen2--help):hover,
.ccn-cen2:not(.ccn-cen2--help):focus-within {
    border-color: #CDB3D8;
    box-shadow: 0 2px 4px rgba(75, 20, 95, .06), 0 18px 38px rgba(75, 20, 95, .12);
}
.ccn-cen2__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.ccn-cen2__logo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 96px;
    height: 64px;
    overflow: hidden;
    border: 1px solid #EFE7F3;
    border-radius: 14px;
    background: #fff;
}
.ccn-cen2__logo img { display: block; width: 86%; height: 80%; object-fit: contain; }
.ccn-cen2__logo--inverse { border-color: #4B145F; background: #4B145F; }
.ccn-cen2__logo--inverse img { width: 94%; height: 86%; object-fit: contain; }
.ccn-cen2__logo > span { color: #611987; font-weight: 800; font-size: 14px; }
.ccn-cen2__city {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    background: #FDF4DA;
    color: #6B4800;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}
.ccn-cen2__city svg { flex: 0 0 auto; }
.ccn-cen2 h3 {
    margin: 0 0 8px;
    color: #2E1238;
    font-size: 1.06rem;
    line-height: 1.35;
    letter-spacing: -.005em;
}
.ccn-cen2 h3 a { color: inherit; text-decoration: none; }
.ccn-cen2 h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ccn-cen2 h3 a:focus-visible { outline: none; }
.ccn-cen2:has(h3 a:focus-visible) { outline: 3px solid #611987; outline-offset: 3px; }
.ccn-cen2__address {
    display: -webkit-box;
    margin: 0 0 18px;
    overflow: hidden;
    color: #6b6274;
    font-size: 13.5px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.ccn-cen2__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: #611987;
    font-size: 14px;
    font-weight: 800;
}
.ccn-cen2__more svg { transition: transform .2s ease; }
.ccn-cen2:hover .ccn-cen2__more svg { transform: translateX(4px); }

.ccn-cen2--help {
    border-color: transparent;
    background: linear-gradient(150deg, #6E1E98 0%, #4B145F 100%);
    color: #fff;
}
.ccn-cen2__help-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    color: #F9C001;
}
.ccn-cen2--help h3 { color: #fff; }
.ccn-cen2--help p { margin: 0 0 18px; color: rgba(255, 255, 255, .86); font-size: 14px; line-height: 1.6; }
.ccn-cen2__help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: auto;
    padding: 10px 18px;
    border-radius: 999px;
    background: #F9C001;
    color: #2E1238;
    font-size: 14.5px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease;
}
.ccn-cen2__help-btn:hover { background: #FFD234; color: #2E1238; }
.ccn-cen2__help-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 1180px) {
    .ccn-cen2__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .ccn-cen2__head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .ccn-cen2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 600px) {
    .ccn-cen2__stats { width: 100%; }
    .ccn-cen2__stats div { flex: 1; min-width: 0; padding: 12px; }
    .ccn-cen2__filter { flex-wrap: nowrap; margin-inline: -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
    .ccn-cen2__filter::-webkit-scrollbar { display: none; }
    .ccn-cen2__filter button { flex: 0 0 auto; }
    .ccn-cen2__grid { grid-template-columns: 1fr; gap: 12px; }
    .ccn-cen2 { padding: 16px; }
    .ccn-cen2__top { margin-bottom: 14px; }
    .ccn-cen2__logo { width: 88px; height: 58px; }
    .ccn-hv3-centres .ccn-cen2__heading p { font-size: .96rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ccn-cen2__more svg { transition: none; }
    .ccn-cen2:hover .ccn-cen2__more svg { transform: none; }
}

/* ------------------------------------------------------------------
   Experience ("Learning beyond the classroom") redesign (15 Nov 2026)
   Copy with three highlights on the left, a three-photo collage right.
   ------------------------------------------------------------------ */
.ccn-home-experience { overflow-x: clip; background: #fff; }
.ccn-exp2 {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
.ccn-exp2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 1px #E7DCEC;
    color: #611987;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ccn-exp2__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F9C001; }
.ccn-home-experience .ccn-exp2 h2 { margin: 0 0 14px; color: #4B145F; }
.ccn-home-experience .ccn-exp2__copy > p {
    max-width: 520px;
    margin: 0;
    color: #5d5466;
    font-size: 1.04rem !important;
    line-height: 1.7;
}
.ccn-exp2__facts {
    display: grid;
    gap: 4px;
    margin: 26px 0 30px;
    padding: 6px 0;
    border-block: 1px solid #EFE7F3;
    list-style: none;
}
.ccn-exp2__facts li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}
.ccn-exp2__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #F3EAF8;
    color: #611987;
}
.ccn-exp2__icon svg { display: block; }
.ccn-exp2__facts li:nth-child(2) .ccn-exp2__icon { background: #FDF4DA; color: #8A5D00; }
.ccn-exp2__facts strong {
    display: block;
    color: #2E1238;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.3;
}
.ccn-exp2__facts small {
    display: block;
    margin-top: 2px;
    color: #6b6274;
    font-size: 14px;
    line-height: 1.45;
}
.ccn-exp2__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ccn-home-experience .ccn-exp2__primary {
    border-color: #611987;
    background: #611987;
    color: #fff;
}
.ccn-home-experience .ccn-exp2__primary:hover,
.ccn-home-experience .ccn-exp2__primary:focus-visible { border-color: #4B145F; background: #4B145F; color: #fff; }
.ccn-exp2__primary span { display: inline-block; transition: transform .18s ease; }
.ccn-exp2__primary:hover span { transform: translateX(3px); }
.ccn-home-experience .ccn-exp2__secondary {
    border-color: #D9C6E3;
    background: #fff;
    color: #4B145F;
}
.ccn-home-experience .ccn-exp2__secondary:hover,
.ccn-home-experience .ccn-exp2__secondary:focus-visible { border-color: #611987; background: #F8F3FB; color: #4B145F; }

.ccn-exp2__gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ccn-exp2__gallery::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: -18px;
    bottom: -18px;
    width: 46%;
    height: 52%;
    border-radius: 22px;
    background: #F9C001;
    opacity: .9;
}
.ccn-exp2__gallery::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -22px;
    left: -22px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(#D9C6E3 1.6px, transparent 1.6px);
    background-size: 14px 14px;
}
.ccn-exp2__photo {
    position: relative;
    z-index: 1;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #F3EAF8;
    box-shadow: 0 12px 30px rgba(46, 18, 56, .14);
}
.ccn-exp2__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ccn-exp2__photo:hover img { transform: scale(1.04); }
.ccn-exp2__photo--1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ccn-exp2__photo--2,
.ccn-exp2__photo--3 { aspect-ratio: 3 / 2; }
.ccn-exp2__photo figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
    color: #4B145F;
    font-size: 13px;
    font-weight: 700;
}
.ccn-exp2__photo figcaption svg { flex: 0 0 auto; color: #611987; }

@media (max-width: 960px) {
    .ccn-exp2 { grid-template-columns: 1fr; gap: 44px; }
    .ccn-exp2__gallery { margin-right: 18px; }
    .ccn-home-experience .ccn-exp2__copy > p { max-width: 640px; }
}
@media (max-width: 600px) {
    .ccn-exp2 { gap: 36px; }
    .ccn-exp2__facts { margin: 22px 0 24px; }
    .ccn-exp2__icon { width: 40px; height: 40px; }
    .ccn-exp2__actions { display: grid; }
    .ccn-exp2__actions .ccnb-btn { width: 100%; justify-content: center; }
    .ccn-exp2__gallery { gap: 10px; margin-right: 8px; }
    .ccn-exp2__gallery::before { right: -8px; bottom: -8px; }
    .ccn-exp2__gallery::after { top: -12px; left: -8px; width: 80px; height: 80px; }
    .ccn-exp2__photo { border-radius: 12px; }
    .ccn-exp2__photo figcaption { left: 10px; bottom: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .ccn-exp2__photo img,
    .ccn-exp2__primary span { transition: none; }
    .ccn-exp2__photo:hover img,
    .ccn-exp2__primary:hover span { transform: none; }
}

/* ------------------------------------------------------------------
   Homepage FAQ redesign (15 Nov 2026)
   Sticky intro + help box on the left, question cards on the right.
   Only one answer is open at a time (details[name]).
   ------------------------------------------------------------------ */
.ccn-faq2 {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}
.ccn-faq2__side { position: sticky; top: 110px; }
.ccn-faq2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 1px #E7DCEC;
    color: #611987;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ccn-faq2__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F9C001; }
.ccn-hv3-faq .ccn-faq2__side h2 { margin: 0; color: #4B145F; }
.ccn-faq2__intro {
    margin: 12px 0 0;
    color: #5d5466;
    font-size: 1.02rem;
    line-height: 1.65;
}
.ccn-faq2__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 10px;
    color: #611987;
    font-weight: 800;
    text-decoration: none;
}
.ccn-faq2__all span { transition: transform .18s ease; }
.ccn-faq2__all:hover { color: #4B145F; text-decoration: underline; text-underline-offset: 4px; }
.ccn-faq2__all:hover span { transform: translateX(3px); }

.ccn-faq2__help {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #E7DCEC;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(75, 20, 95, .07);
}
.ccn-faq2__help-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #FDF4DA;
    color: #8A5D00;
}
.ccn-faq2__help h3 { margin: 0 0 6px; color: #2E1238; font-size: 1.12rem; line-height: 1.35; }
.ccn-faq2__help p { margin: 0 0 18px; color: #5d5466; font-size: 14.5px; line-height: 1.6; }
.ccn-faq2__help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ccn-faq2__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1.5px solid #611987;
    border-radius: 999px;
    background: #611987;
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}
.ccn-faq2__btn:hover { border-color: #4B145F; background: #4B145F; color: #fff; }
.ccn-faq2__btn--ghost { border-color: #D9C6E3; background: #fff; color: #4B145F; }
.ccn-faq2__btn--ghost svg { color: #1E9E57; }
.ccn-faq2__btn--ghost:hover { border-color: #611987; background: #F8F3FB; color: #4B145F; }
.ccn-faq2__btn:focus-visible { outline: 3px solid #611987; outline-offset: 3px; }

.ccn-faq2__list { display: grid; gap: 12px; }
.ccn-faq2__item {
    border: 1px solid #E7DCEC;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(75, 20, 95, .04);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ccn-faq2__item:hover { border-color: #D6C2E0; }
.ccn-faq2__item[open] {
    border-color: #CDB3D8;
    box-shadow: 0 14px 32px rgba(75, 20, 95, .09);
}
.ccn-faq2__item summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    list-style: none;
    cursor: pointer;
}
.ccn-faq2__item summary::-webkit-details-marker { display: none; }
.ccn-faq2__item summary::after { content: none !important; }
.ccn-faq2__item summary:focus-visible { outline: 3px solid #611987; outline-offset: 2px; }
.ccn-faq2__num {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #F3EAF8;
    color: #611987;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    transition: background-color .2s ease, color .2s ease;
}
.ccn-faq2__item[open] .ccn-faq2__num { background: #611987; color: #fff; }
.ccn-faq2__q {
    flex: 1;
    min-width: 0;
    color: #2E1238;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.45;
}
.ccn-faq2__toggle {
    position: relative;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 1.5px solid #E2D4E9;
    border-radius: 50%;
    transition: background-color .2s ease, border-color .2s ease, transform .25s ease;
}
.ccn-faq2__toggle::before,
.ccn-faq2__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: #611987;
    transform: translate(-50%, -50%);
    transition: transform .25s ease, background-color .2s ease;
}
.ccn-faq2__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.ccn-faq2__item summary:hover .ccn-faq2__toggle { border-color: #611987; }
.ccn-faq2__item[open] .ccn-faq2__toggle { border-color: #F9C001; background: #F9C001; }
.ccn-faq2__item[open] .ccn-faq2__toggle::before,
.ccn-faq2__item[open] .ccn-faq2__toggle::after { background: #2E1238; }
.ccn-faq2__item[open] .ccn-faq2__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.ccn-hv3-faq .ccn-faq2__answer {
    max-width: none;
    margin: 0;
    padding: 0 64px 22px 72px;
    color: #5d5466;
    font-size: 15.5px;
    line-height: 1.7;
    text-align: left;
}
.ccn-faq2__answer p { margin: 0 0 10px; }
.ccn-faq2__answer p:last-child { margin-bottom: 0; }
.ccn-faq2__answer a { color: #611987; font-weight: 700; }

@media (max-width: 960px) {
    /* One column: intro, then the questions, then the help box. */
    .ccn-faq2 { display: flex; flex-direction: column; gap: 0; }
    .ccn-faq2__side { display: contents; }
    .ccn-faq2__side > * { order: 1; }
    .ccn-faq2__eyebrow, .ccn-faq2__all { align-self: flex-start; }
    .ccn-faq2__list { order: 2; margin-top: 24px; }
    /* The enquiry band directly below already offers contact on small screens. */
    .ccn-faq2__side > .ccn-faq2__help { display: none; }
}
@media (max-width: 600px) {
    .ccn-faq2__list { gap: 10px; }
    .ccn-faq2__item summary { gap: 12px; padding: 15px 14px; }
    .ccn-faq2__num { width: 30px; height: 30px; font-size: 12px; border-radius: 8px; }
    .ccn-faq2__q { font-size: 15.5px; }
    .ccn-faq2__toggle { width: 28px; height: 28px; }
    .ccn-hv3-faq .ccn-faq2__answer { padding: 0 16px 18px 56px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .ccn-faq2__toggle,
    .ccn-faq2__toggle::before,
    .ccn-faq2__toggle::after,
    .ccn-faq2__all span { transition: none; }
}

/* ------------------------------------------------------------------
   Premium inner-page header (15 Nov 2026)
   Deep layered purple, gold light, dot texture and a hexagon mark on the
   right, a glass breadcrumb pill, the homepage heading face and a gold rule.
   Applies to the shared .ccnb-pagehead and the older hero copies.
   ------------------------------------------------------------------ */
.ccnb-pagehead,
.ccnb-newsroom-hero,
.ccnb-ss-hero,
.ccn-blog-hero,
.ccnb-program-hero {
    background:
        radial-gradient(38% 70% at 86% 12%, rgba(249, 192, 1, .16), transparent 70%),
        radial-gradient(45% 80% at 4% 110%, rgba(186, 104, 222, .32), transparent 70%),
        linear-gradient(120deg, #3B0D52 0%, #571579 42%, #7A2C9C 100%);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #F9C001 0%, #D9AE5F 35%, rgba(217, 174, 95, 0) 80%) 1;
}
.ccnb-pagehead {
    padding-block: clamp(48px, 6vw, 96px) clamp(56px, 6.5vw, 104px);
}
/* Dot texture fading in from the right. */
.ccnb-pagehead::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: min(60%, 820px);
    background-image: radial-gradient(rgba(255, 255, 255, .13) 1.1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
    pointer-events: none;
}
/* Hexagon mark: two outlined hexagons and a small gold one. */
.ccnb-pagehead::before {
    right: max(4vw, calc((100vw - 1760px) / 2 + 48px));
    width: clamp(170px, 21vw, 330px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cpath d='M100 18 171 59v82l-71 41-71-41V59z' stroke='%23ffffff' stroke-opacity='.22' stroke-width='2'/%3E%3Cpath d='M128 46 165 67v43l-37 21-37-21V67z' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2'/%3E%3Cpath d='M70 112 92 125v25l-22 13-22-13v-25z' stroke='%23F9C001' stroke-opacity='.7' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 1;
    filter: none;
    transform: translate3d(0, -50%, 0) rotate(-8deg);
}
.ccnb-pagehead .ccnb-wrap { position: relative; z-index: 1; }

/* Breadcrumb as a glass pill. */
:is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero) .ccnb-breadcrumb {
    display: inline-flex;
    margin-bottom: clamp(20px, 2.4vw, 30px);
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
:is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero) .ccnb-breadcrumb ol { font-size: 13.5px; }
:is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero) .ccnb-breadcrumb li:first-child a::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 0 6px -1px 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.5 12 3l9 7.5V21h-6v-6H9v6H3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Heading in the homepage face. */
.ccnb-pagehead h1,
.ccnb-newsroom-hero h1,
.ccnb-ss-hero h1,
.ccn-blog-hero h1,
.ccnb-program-hero h1 {
    max-width: 20ch;
    font-family: var(--ccnp-font-heading, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
}
.ccnb-pagehead h1 { margin-bottom: 0; }
body:has(.ccnb-university-directory) .ccnb-pagehead h1 { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.75rem); }

/* Gold rule, then the lede in a calm weight. */
.ccnb-pagehead .ccnb-pagehead__lede {
    max-width: 60ch;
    margin-top: 22px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem);
    font-weight: 400;
    line-height: 1.65;
}
.ccnb-pagehead .ccnb-pagehead__lede::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-bottom: 18px;
    border-radius: 3px;
    background: linear-gradient(90deg, #F9C001, #D9AE5F);
}
.ccnb-pagehead .ccnb-pagehead__lede strong { color: #fff; font-weight: 500; }
.ccnb-pagehead .ccnb-eyebrow { margin-bottom: 10px; color: #F9C001; letter-spacing: .1em; }

@media (max-width: 760px) {
    .ccnb-pagehead { padding-block: 36px 44px; }
    .ccnb-pagehead::before { right: -48px; width: 170px; opacity: .7; }
    .ccnb-pagehead::after { width: 100%; opacity: .6; }
    :is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero) .ccnb-breadcrumb { max-width: 100%; padding: 6px 12px; }
    :is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero) .ccnb-breadcrumb ol { font-size: 12.5px; }
    .ccnb-pagehead .ccnb-pagehead__lede { margin-top: 18px; }
    .ccnb-pagehead .ccnb-pagehead__lede::before { width: 44px; margin-bottom: 14px; }
}
/* The older drift animation faded the mark to 12%; the new mark fades in fully. */
.ccnb-pagehead::before { animation: ccnb-pagehead-mark 900ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ccnb-pagehead-mark {
    from { opacity: 0; transform: translate3d(16px, -50%, 0) rotate(-14deg); }
    to { opacity: 1; transform: translate3d(0, -50%, 0) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
    .ccnb-pagehead::before { animation: none; }
}
@media (max-width: 760px) {
    /* Keep the mark quiet behind the heading on phones. */
    .ccnb-pagehead::before { animation: none; opacity: .5; }
}

/* ------------------------------------------------------------------
   Images placed with the editor's image toolbar (15 Nov 2026)
   Left / right images let the text wrap round them, a centred image sits on
   its own line, and a caption stays under its image. On phones every image
   is full width.
   ------------------------------------------------------------------ */
.ccnb-prose figure.image,
.ccnb-prose figure:has(> img) {
    display: table;
    clear: both;
    max-width: 100%;
    margin: 1.8em auto;
    text-align: center;
}
.ccnb-prose figure.image img,
.ccnb-prose figure:has(> img) img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}
.ccnb-prose figure.image:not(.image_resized) img,
.ccnb-prose figure:not(.image):not([style]):has(> img) img { width: auto; }
.ccnb-prose figure.image figcaption,
.ccnb-prose figure:has(> img) figcaption {
    display: table-caption;
    caption-side: bottom;
    padding: 10px 6px 0;
    color: #6b6274;
    font-size: .9rem;
    line-height: 1.5;
    text-align: center;
}
.ccnb-prose figure.image_resized { box-sizing: border-box; display: block; }
.ccnb-prose figure.image_resized figcaption { display: block; }
.ccnb-prose .image-style-align-center { margin-inline: auto; }
.ccnb-prose .image-style-block-align-left { margin-left: 0; margin-right: auto; }
.ccnb-prose .image-style-block-align-right { margin-left: auto; margin-right: 0; }
.ccnb-prose .image-style-align-left,
.ccnb-prose .image-style-align-right,
.ccnb-prose .image-style-side { max-width: 50%; margin-top: .35em; margin-bottom: 1.2em; }
.ccnb-prose .image-style-align-left { float: left; clear: left; margin-right: 1.6em; margin-left: 0; }
.ccnb-prose .image-style-align-right { float: right; clear: right; margin-left: 1.6em; margin-right: 0; }
.ccnb-prose .image-style-side { float: right; clear: right; max-width: 42%; margin-left: 1.6em; margin-right: 0; }
.ccnb-prose img.image-style-align-left,
.ccnb-prose img.image-style-align-right { height: auto; border-radius: 10px; }
.ccnb-prose h2,
.ccnb-prose h3,
.ccnb-prose h4,
.ccnb-prose table,
.ccnb-prose .ccn-blog-faq { clear: both; }
.ccnb-prose .text-align-left { text-align: left; }
.ccnb-prose .text-align-center { text-align: center; }
.ccnb-prose .text-align-right { text-align: right; }
.ccnb-prose .text-align-justify { text-align: justify; }
@media (max-width: 640px) {
    .ccnb-prose figure.image-style-align-left,
    .ccnb-prose figure.image-style-align-right,
    .ccnb-prose figure.image-style-side,
    .ccnb-prose figure.image_resized,
    .ccnb-prose img.image-style-align-left:not([style*="width"]),
    .ccnb-prose img.image-style-align-right:not([style*="width"]),
    .ccnb-prose img.image-style-side:not([style*="width"]) {
        float: none;
        width: 100% !important;
        max-width: 100%;
        margin: 1.4em 0;
    }
    /* An image given its own size keeps it (never past the screen), centred on its own line. */
    .ccnb-prose img.image-style-align-left[style*="width"],
    .ccnb-prose img.image-style-align-right[style*="width"],
    .ccnb-prose img.image-style-side[style*="width"] { float: none; max-width: 100%; margin: 1.4em auto; }
}

/* Blog article: wider layout, "In this article" at the right edge (15 Nov 2026).
   The text column keeps a comfortable reading width and starts where the
   title does; the contents list sits against the right edge of the page. */
.ccn-blog-article-body__layout {
    max-width: 1320px;
    grid-template-columns: minmax(0, 820px) minmax(240px, 300px);
    justify-content: space-between;
    gap: clamp(32px, 4vw, 72px);
}
.ccn-blog-article-body__layout--no-toc { display: block; max-width: 900px; }
.ccn-blog-article-body .ccn-blog-prose { max-width: none; margin-inline: 0; }
.ccn-blog-article-body__layout--no-toc .ccn-blog-prose { margin-inline: auto; }
.ccn-blog-toc { padding: 22px 22px 18px; }
.ccn-blog-toc li { font-size: .88rem; }
@media (max-width: 1100px) {
    .ccn-blog-article-body__layout { grid-template-columns: minmax(0, 1fr) 240px; }
}
@media (max-width: 900px) {
    .ccn-blog-article-body__layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 26px; }
}
@media (max-width: 680px) {
    .ccn-blog-article-body__layout { grid-template-columns: minmax(0, 1fr); }
}
/* Floated figures are blocks with a set width (tables ignore max-width). */
.ccnb-prose figure.image-style-align-left,
.ccnb-prose figure.image-style-align-right,
.ccnb-prose figure.image-style-side { display: block; }
.ccnb-prose figure.image-style-align-left:not(.image_resized),
.ccnb-prose figure.image-style-align-right:not(.image_resized) { width: 50%; }
.ccnb-prose figure.image-style-side:not(.image_resized) { width: 40%; }
.ccnb-prose figure.image-style-align-left img,
.ccnb-prose figure.image-style-align-right img,
.ccnb-prose figure.image-style-side img { width: 100%; }
.ccnb-prose figure.image-style-align-left figcaption,
.ccnb-prose figure.image-style-align-right figcaption,
.ccnb-prose figure.image-style-side figcaption { display: block; }
/* A size written in the article's HTML wins (17 Nov 2026): a figure with its own
   width or max-width is a block of that size, its image fills it; an image with
   its own width keeps it. Nothing grows past the text column. */
.ccnb-prose figure[style] { display: block; box-sizing: border-box; }
.ccnb-prose figure[style] figcaption { display: block; }
.ccnb-prose figure[style]:not(.image-style-align-left):not(.image-style-align-right):not(.image-style-side) { margin-inline: auto; }
.ccnb-prose img[style*="width"],
.ccnb-prose img[width] { height: auto; }

/* ------------------------------------------------------------------
   Blog article: publication-standard finish (15 Nov 2026)
   ------------------------------------------------------------------ */
/* Hero: the site's heading face, the glass breadcrumb used on other pages. */
.ccn-blog-article-hero h1 {
    font-family: var(--ccnp-font-heading, "Plus Jakarta Sans", sans-serif);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.028em;
    text-wrap: balance;
}
.ccn-blog-article-hero .ccnb-breadcrumb {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: clamp(18px, 2.2vw, 28px);
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.ccn-blog-article-hero .ccnb-breadcrumb ol { font-size: 13px; }
.ccn-blog-article-hero .ccnb-breadcrumb [aria-current="page"] { overflow: hidden; max-width: 34ch; text-overflow: ellipsis; white-space: nowrap; }
.ccn-blog-article-hero .ccnb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(249, 192, 1, .14);
    color: #F9C001;
    font-size: 12px;
    letter-spacing: .1em;
}
/* Meta: author with initials, then date, update and reading time. */
.ccn-blog-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.ccn-blog-article__meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 18px; border-radius: 50%; background: rgba(255, 255, 255, .45); vertical-align: middle; }
.ccn-blog-article__meta > .ccn-blog-article__author + *::before { display: none; }
.ccn-blog-article__author { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.ccn-blog-article__avatar {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: linear-gradient(135deg, #F9C001, #D9AE5F);
    color: #3B0D52;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}
.ccn-blog-article__meta > .ccn-blog-article__author + * { margin-left: 4px; }

/* "In this article": the section being read is marked as you scroll. */
.ccn-blog-toc { top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
.ccn-blog-toc ol { counter-reset: none; }
.ccn-blog-toc li a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid transparent; margin-left: -12px; transition: color .15s, border-color .15s; }
.ccn-blog-toc li a[aria-current="true"] { border-left-color: var(--ccn-purple, #611987); color: var(--ccn-purple, #611987); font-weight: 700; }
.ccn-blog-toc li.ccn-blog-toc__level-3 a { padding-left: 24px; }

/* Share buttons. */
.ccn-blog-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ccn-blog-share__label { color: #4B145F; font-size: 13px; font-weight: 700; }
.ccn-blog-share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.ccn-blog-share__btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #E2D4E9;
    border-radius: 50%;
    background: #fff;
    color: #4B145F;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.ccn-blog-share__btn:hover,
.ccn-blog-share__btn:focus-visible { transform: translateY(-1px); color: #fff; outline: none; }
.ccn-blog-share__btn--facebook:hover, .ccn-blog-share__btn--facebook:focus-visible { border-color: #1877F2; background: #1877F2; }
.ccn-blog-share__btn--whatsapp:hover, .ccn-blog-share__btn--whatsapp:focus-visible { border-color: #1FA855; background: #1FA855; }
.ccn-blog-share__btn--linkedin:hover, .ccn-blog-share__btn--linkedin:focus-visible { border-color: #0A66C2; background: #0A66C2; }
.ccn-blog-share__btn--x:hover, .ccn-blog-share__btn--x:focus-visible { border-color: #111; background: #111; }
.ccn-blog-share__btn--copy:hover, .ccn-blog-share__btn--copy:focus-visible,
.ccn-blog-share__btn--copy.is-copied { border-color: #611987; background: #611987; color: #fff; }
.ccn-blog-share__copied:not(:empty) {
    position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
    padding: 3px 8px; border-radius: 6px; background: #2E1238; color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.ccn-blog-share--side { margin-top: 16px; padding-top: 14px; border-top: 1px solid #ece2f1; }
.ccn-blog-share--side .ccn-blog-share__label { width: 100%; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #6b6274; }
.ccn-blog-share--side .ccn-blog-share__btn { width: 34px; height: 34px; }
.ccn-blog-share--end { clear: both; margin: 40px 0 20px; padding: 18px 20px; border: 1px solid #ece2f1; border-radius: 14px; background: #fbf8fc; }
@media (max-width: 680px) {
    .ccn-blog-article__meta { gap: 6px 12px; font-size: 13px; }
    .ccn-blog-article__meta > * + *::before { margin-right: 12px; }
    .ccn-blog-share--end { padding: 14px 16px; }
}
.ccn-blog-article__meta .ccn-blog-article__avatar { color: #3B0D52; }
.ccn-blog-article__meta .ccn-blog-article__author > span:last-child { color: var(--ccn-yellow, #D9AE5F); }
.ccn-blog-article__meta .ccn-blog-article__author .ccn-blog-article__avatar { color: #3B0D52; }
@media (max-width: 680px) {
    /* A trail that wraps onto several lines reads better in a softer box. */
    .ccn-blog-article-hero .ccnb-breadcrumb,
    :is(.ccnb-pagehead, .ccnb-newsroom-hero, .ccnb-ss-hero, .ccn-blog-hero) .ccnb-breadcrumb { border-radius: 14px; }
    .ccn-blog-article-hero .ccnb-breadcrumb [aria-current="page"] { max-width: 100%; white-space: normal; }
}

/* Article end when there are no related articles yet: "Keep exploring". */
.ccn-blog-explore { padding: clamp(44px, 6vw, 76px) 0; }
.ccn-blog-explore .ccnb-wrap { max-width: 1320px; }
.ccn-blog-explore__head { max-width: 640px; margin-bottom: 24px; }
.ccn-blog-explore__head h2 { margin: 0 0 8px; color: #4B145F; font-family: var(--ccnp-font-heading, "Plus Jakarta Sans", sans-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.ccn-blog-explore__head p { margin: 0; color: #5d5466; line-height: 1.6; }
.ccn-blog-explore__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ccn-blog-explore__card {
    display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px;
    border: 1px solid #E7DCEC; border-radius: 16px; background: #fff; color: inherit; text-decoration: none;
    box-shadow: 0 1px 2px rgba(75, 20, 95, .04); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ccn-blog-explore__card:hover,
.ccn-blog-explore__card:focus-visible { border-color: #CDB3D8; box-shadow: 0 14px 30px rgba(75, 20, 95, .1); transform: translateY(-2px); outline: none; }
.ccn-blog-explore__icon { display: grid; flex: 0 0 auto; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #F3EAF8; color: #611987; }
.ccn-blog-explore__card:hover .ccn-blog-explore__icon { background: #611987; color: #fff; }
.ccn-blog-explore__text { flex: 1; min-width: 0; }
.ccn-blog-explore__text strong { display: block; color: #2E1238; font-size: 1rem; line-height: 1.3; }
.ccn-blog-explore__text small { display: block; margin-top: 3px; color: #6b6274; font-size: .86rem; line-height: 1.45; }
.ccn-blog-explore__arrow { color: #611987; font-weight: 800; transition: transform .2s; }
.ccn-blog-explore__card:hover .ccn-blog-explore__arrow { transform: translateX(3px); }
@media (max-width: 1100px) { .ccn-blog-explore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ccn-blog-explore__grid { grid-template-columns: 1fr; gap: 10px; } .ccn-blog-explore__card { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .ccn-blog-explore__card, .ccn-blog-explore__arrow { transition: none; } .ccn-blog-explore__card:hover { transform: none; } }

/* Share buttons appear once. With "In this article" beside the text they sit
   under it (in view while reading); on phones, where the contents list drops
   below the article, and on articles without one, they follow the article. */
.ccn-blog-article-body__layout:not(.ccn-blog-article-body__layout--no-toc) .ccn-blog-share--end { display: none; }
@media (max-width: 680px) {
    .ccn-blog-article-body__layout:not(.ccn-blog-article-body__layout--no-toc) .ccn-blog-share--end { display: flex; }
    .ccn-blog-share--side { display: none; }
}

/* Cookie banner: a small, quiet card instead of a full-width band (15 Nov 2026). */
.ccn-consent {
    inset: auto auto calc(16px + env(safe-area-inset-bottom, 0px)) 50%;
    width: min(560px, calc(100% - 24px));
    padding: 0;
    border: 1px solid #E7DCEC;
    border-top: 1px solid #E7DCEC;
    border-radius: 14px;
    background: #fff;
    color: #2E1238;
    box-shadow: 0 14px 40px rgba(46, 18, 56, .18);
    transform: translateX(-50%);
}
.ccn-consent__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: auto;
    margin: 0;
    padding: 10px 10px 10px 14px;
}
.ccn-consent__text { display: flex; flex: 1 1 auto; align-items: center; gap: 10px; margin: 0; color: #4a4152; font-size: 13.5px; line-height: 1.45; }
.ccn-consent__icon { flex: 0 0 auto; font-size: 18px; line-height: 1; }
.ccn-consent__text a { color: #611987; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ccn-consent__actions { display: flex; flex: 0 0 auto; flex-wrap: nowrap; gap: 6px; width: auto; }
.ccn-consent__actions .ccnb-btn {
    min-height: 34px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1;
}
.ccn-consent__actions .ccnb-btn:not(.ccnb-btn--primary) { border: 1px solid #E2D4E9; background: #fff; color: #4B145F; }
.ccn-consent__actions .ccnb-btn:not(.ccnb-btn--primary):hover { border-color: #C9AED6; background: #F8F3FB; color: #4B145F; }
.ccn-consent__actions .ccnb-btn--primary { border: 1px solid #611987; background: #611987; color: #fff; }
.ccn-consent__actions .ccnb-btn--primary:hover { border-color: #4B145F; background: #4B145F; color: #fff; }
@media (max-width: 520px) {
    .ccn-consent { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
    .ccn-consent__inner { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
    .ccn-consent__text { flex-basis: 100%; font-size: 13px; }
    .ccn-consent__actions { width: 100%; }
    .ccn-consent__actions .ccnb-btn { flex: 1 1 0; justify-content: center; }
}

/* ------------------------------------------------------------------
   Premium footer (15 Nov 2026)
   Deep layered purple with gold light, a faint dot texture and hexagon
   mark, the site's heading face with gold rules, quiet links that brighten
   with a small gold arrow, gold contact tiles and a separate bottom bar for
   copyright, credit and the legal links.
   ------------------------------------------------------------------ */
.ccnb-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(64px, 7vw, 96px) 0;
    background:
        radial-gradient(40% 60% at 92% 0%, rgba(249, 192, 1, .12), transparent 70%),
        radial-gradient(45% 70% at 0% 100%, rgba(186, 104, 222, .22), transparent 70%),
        linear-gradient(160deg, #2A0A3B 0%, #3F1056 45%, #551673 100%);
    color: rgba(255, 255, 255, .78);
}
.ccnb-footer::before {
    height: 3px;
    background: linear-gradient(90deg, #F9C001 0%, #D9AE5F 30%, rgba(217, 174, 95, .2) 75%, transparent 100%);
}
.ccnb-footer::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -60px;
    top: 40px;
    width: clamp(260px, 30vw, 460px);
    aspect-ratio: 1;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cpath d='M100 14 174 57v86l-74 43-74-43V57z' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.5'/%3E%3Cpath d='M130 44 168 66v44l-38 22-38-22V66z' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.5'/%3E%3Cpath d='M66 116 90 130v28l-24 14-24-14v-28z' stroke='%23F9C001' stroke-opacity='.22' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: rotate(-8deg);
    pointer-events: none;
}
.ccnb-footer > .ccnb-wrap { position: relative; }
.ccnb-footer > .ccnb-wrap::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -40px auto auto -40px;
    width: 240px;
    height: 200px;
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.3px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%);
    mask-image: linear-gradient(135deg, #000, transparent 70%);
    pointer-events: none;
}

/* Brand column */
.ccnb-footer__logo { margin-bottom: 20px; }
.ccnb-footer__logo img { height: 48px; }
.ccnb-footer__about { max-width: 40ch; margin-bottom: 26px; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.75; }
.ccnb-footer__contact { gap: 12px; }
.ccnb-footer__contact li { grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 14px; }
.ccnb-footer__contact svg {
    width: 38px;
    height: 38px;
    padding: 10px;
    border: 1px solid rgba(249, 192, 1, .28);
    border-radius: 11px;
    background: rgba(249, 192, 1, .1);
    color: #F9C001;
}
.ccnb-footer__contact address,
.ccnb-footer__contact span,
.ccnb-footer__contact li > a { padding-top: 0; color: rgba(255, 255, 255, .86); }
.ccnb-footer__contact a { color: rgba(255, 255, 255, .86); transition: color .15s; }
.ccnb-footer__contact a:hover { color: #F9C001; }
.ccnb-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ccnb-footer__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.ccnb-footer__social a:hover,
.ccnb-footer__social a:focus-visible { border-color: #F9C001; background: #F9C001; color: #2A0A3B; transform: translateY(-2px); }

/* Link columns */
.ccnb-footer h2 {
    margin-bottom: 22px;
    padding-bottom: 14px;
    color: #fff;
    font-family: var(--ccnp-font-heading, "Plus Jakarta Sans", sans-serif);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
}
.ccnb-footer h2::after { width: 32px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #F9C001, #D9AE5F); }
.ccnb-footer__list li { margin-bottom: 12px; }
.ccnb-footer__list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 15px;
    transition: color .18s, gap .18s, transform .18s;
}
.ccnb-footer__list a::before {
    content: "→";
    display: inline-block;
    width: 0;
    overflow: hidden;
    color: #F9C001;
    opacity: 0;
    transition: width .18s, opacity .18s, margin .18s;
}
.ccnb-footer__list a:hover,
.ccnb-footer__list a:focus-visible { color: #fff; transform: none; }
.ccnb-footer__list a:hover::before,
.ccnb-footer__list a:focus-visible::before { width: 1.1em; margin-right: 4px; opacity: 1; }

/* Bottom bar */
.ccnb-footer__bottom {
    position: relative;
    margin-top: clamp(44px, 5vw, 64px);
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .62);
    font-size: 13.5px;
}
.ccnb-footer__bottom::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 -100vmax;
    background: rgba(0, 0, 0, .16);
}
.ccnb-footer__credits { gap: 6px 18px; }
.ccnb-footer__credits p { color: rgba(255, 255, 255, .62); }
.ccnb-footer .ccnb-footer__dev { color: rgba(255, 255, 255, .62); padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.ccnb-footer .ccnb-footer__dev img { opacity: .75; }
.ccnb-footer .ccnb-footer__dev:hover { color: #fff; }
.ccnb-footer__legal a { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.ccnb-footer__legal a:hover { color: #F9C001; }
.ccnb-footer__legal li + li::before { content: none; }

@media (max-width: 639px) {
    .ccnb-footer { padding-top: 52px; }
    .ccnb-footer::after { width: 220px; right: -90px; top: 20px; }
    .ccnb-footer .ccnb-footer__dev { padding-left: 0; border-left: 0; }
    .ccnb-footer__legal a { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
}
@media (prefers-reduced-motion: reduce) {
    .ccnb-footer__list a, .ccnb-footer__list a::before, .ccnb-footer__social a { transition: none; }
}
/* Bottom bar on wider screens: copyright and credit left, legal links right. */
@media (min-width: 900px) {
    .ccnb-footer__bottom { grid-template-columns: minmax(0, 1fr) auto; justify-items: stretch; text-align: left; }
    .ccnb-footer__credits { justify-content: flex-start; text-align: left; }
    .ccnb-footer__legal { justify-content: flex-end; gap: 6px 24px; }
}

/* The decorative mark is the real CCN logo icon (not drawn hexagons), shown
   as a faint white silhouette in the footer and the page headers. */
.ccnb-footer::after {
    background: rgba(255, 255, 255, .07);
    -webkit-mask: url("/img/ccn-icon.svg") center / contain no-repeat;
    mask: url("/img/ccn-icon.svg") center / contain no-repeat;
    transform: none;
}
.ccnb-pagehead::before {
    background: rgba(255, 255, 255, .13);
    -webkit-mask: url("/img/ccn-icon.svg") center / contain no-repeat;
    mask: url("/img/ccn-icon.svg") center / contain no-repeat;
}
@keyframes ccnb-pagehead-mark {
    from { opacity: 0; transform: translate3d(16px, -50%, 0); }
    to { opacity: 1; transform: translate3d(0, -50%, 0); }
}
@media (max-width: 760px) {
    .ccnb-pagehead::before { opacity: .6; }
}

/* Blog tables (18 Nov 2026). The table was display:block so it could scroll on
   phones, which left its columns at their natural width inside a full-width
   border. Now the scroll box is a wrapper (added in blog-detail.php) and the
   table stays a real table across the text column; a wider table scrolls. */
.ccn-blog-prose .ccn-table-scroll {
    overflow-x: auto;
    margin: 1.5em 0;
    -webkit-overflow-scrolling: touch;
}
.ccn-blog-prose .ccn-table-scroll:focus-visible { outline: 2px solid var(--ccn-purple, #611987); outline-offset: 3px; }
.ccn-blog-prose table { display: table; width: 100%; margin: 0; border: 1px solid #e5dce9; }
.ccn-blog-prose figure.table { margin: 1.5em 0; }
.ccn-blog-prose figure.table .ccn-table-scroll { margin: 0; }

/* Text beside floated images (20 Nov 2026). Sub-headings no longer jump below
   a left/right image, so the section's text wraps beside it as in WordPress;
   a new main section (H2), tables and the FAQ still start below it. Lists
   form their own box beside the image, so their numbers and bullets never sit
   on top of the picture. */
.ccnb-prose h3,
.ccnb-prose h4 { clear: none; }
.ccnb-prose ul,
.ccnb-prose ol { display: flow-root; }

/* Space between a left/right image and the text beside it (20 Nov 2026).
   The figure rule above (margin: 1.8em auto) outranked the float margins, so
   wrapped text touched the picture. Desktop and tablet only: on phones the
   image already sits on its own line. */
@media (min-width: 641px) {
    .ccnb-prose figure.image-style-align-left,
    .ccnb-prose img.image-style-align-left { margin: .35em 2.2em 1.4em 0; }
    .ccnb-prose figure.image-style-align-right,
    .ccnb-prose figure.image-style-side,
    .ccnb-prose img.image-style-align-right,
    .ccnb-prose img.image-style-side { margin: .35em 0 1.4em 2.2em; }
}

/* A sub-heading beside a left/right image stays in one piece (20 Nov 2026):
   it sits whole beside the image, or whole below it, instead of starting
   beside the picture and finishing under it. Paragraphs still wrap. */
.ccnb-prose h3,
.ccnb-prose h4 { display: flow-root; }

/* Article images with transparent rounded corners (20 Nov 2026): a box-shadow
   is drawn round the image's rectangle, so the transparent corners showed as
   white patches inside the shadow. drop-shadow follows the picture's real
   outline (and the rounded corners), on photos and illustrations alike. */
.ccn-blog-prose img,
.ccnb-prose figure.image img { box-shadow: none; filter: drop-shadow(0 10px 22px rgba(75, 20, 95, .12)); }

/* Blog index (20 Nov 2026) ------------------------------------------------
   Readable breadcrumb on the purple heroes, a scroll-free topic row, a
   featured card that fills its space (label, reading time, summary), cards
   with reading time, a placeholder that names the article instead of
   repeating one banner, linked tags, and the search box beside the heading. */
.ccn-blog-hero .ccnb-breadcrumb a,
.ccn-blog-article-hero .ccnb-breadcrumb a { color: #fff; }
.ccn-blog-hero .ccnb-breadcrumb [aria-current="page"],
.ccn-blog-article-hero .ccnb-breadcrumb [aria-current="page"],
.ccn-blog-hero .ccnb-breadcrumb li + li::before,
.ccn-blog-article-hero .ccnb-breadcrumb li + li::before { color: rgba(255, 255, 255, .82); opacity: 1; }
.ccn-blog-topics { scrollbar-width: none; -ms-overflow-style: none; }
.ccn-blog-topics::-webkit-scrollbar { display: none; }
.ccn-blog-feed__head { flex-wrap: wrap; }
.ccn-blog-feed__head p { margin-top: 4px; }
.ccn-blog-feature { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); }
.ccn-blog-feature__media { min-height: 0; aspect-ratio: 16 / 10; }
.ccn-blog-feature__body { gap: 0; }
.ccn-blog-feature__label { margin-bottom: 14px; color: #a06a12; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ccn-blog-feature h3 { margin: 14px 0 12px; }
.ccn-blog-feature__body > p { margin: 0 0 6px; font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ccn-blog-meta__read { color: #786c7e; }
.ccn-blog-meta time + .ccn-blog-meta__read::before,
.ccn-blog-meta span + time::before { content: none; }
.ccn-blog-meta .ccn-blog-meta__read { padding: 0; background: none; color: #786c7e; }
.ccn-blog-card__body > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ccn-blog-media-fallback { align-content: end; gap: 10px; padding: 24px 24px 26px; background: radial-gradient(circle at 85% 15%, rgba(217, 174, 95, .38), transparent 11rem), linear-gradient(140deg, #3d1052, #611987 70%, #7a2fa3); }
.ccn-blog-media-fallback b { color: #f3c96b; font-size: .7rem; letter-spacing: .12em; }
.ccn-blog-media-fallback strong { max-width: 22ch; font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.25; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ccn-blog-feature .ccn-blog-media-fallback strong { max-width: 18ch; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.ccn-blog-tags a { padding: 5px 12px; border: 1px solid #E5DCEA; border-radius: 999px; background: #fff; color: var(--ccn-purple, #611987); font-size: .82rem; font-weight: 700; text-decoration: none; transition: border-color .15s, background-color .15s; }
.ccn-blog-tags a:hover,
.ccn-blog-tags a:focus-visible { border-color: var(--ccn-purple, #611987); background: #f6eefa; }
@media (max-width: 900px) {
    .ccn-blog-feature { grid-template-columns: minmax(0, 1fr); }
}
/* Text for screen readers only (also used as .sr-only in a few templates). */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Design review, 25 November 2026
   Trust signals for Chinese partners (official office, Chinese name,
   figures), a fuller homepage hero, named member logos, About mission.
   ========================================================================== */

/* Header logo: a little more presence */
.ccnb-logo img { height: 52px; }
@media (max-width: 767px) { .ccnb-logo img { height: 44px; } }

/* Homepage hero: message, Chinese name, two actions and a figures strip */
.ccnb-hero--ccn-home {
    height: auto;
    min-height: clamp(560px, calc(100svh - var(--ccnb-header-h, 108px)), 780px);
}
.ccnb-hero--ccn-home .ccnb-hero__inner {
    min-height: inherit;
    gap: 22px;
    padding-block: clamp(36px, 5vw, 64px);
}
.ccnb-hero--ccn-home .ccnb-hero__copy {
    width: min(100%, 680px);
    max-width: 680px;
    padding: clamp(22px, 2.4vw, 34px);
}
.ccnb-hero__cn {
    margin: 0 auto 12px;
    color: var(--ccn-yellow);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: clamp(1rem, .94rem + .3vw, 1.2rem);
    font-weight: 600;
    letter-spacing: .32em;
    line-height: 1.4;
    text-align: center;
    text-indent: .32em;
}
.ccnb-hero--ccn-home .ccnb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}
.ccnb-hero__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(28, 18, 42, .62);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    overflow: hidden;
}
.ccnb-hero__facts li {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    text-align: center;
}
.ccnb-hero__facts li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.ccnb-hero__facts strong {
    color: var(--ccn-yellow);
    font-family: var(--ccnb-font-display);
    font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
}
.ccnb-hero__facts span {
    color: rgba(255, 255, 255, .82);
    font-size: .84rem;
    line-height: 1.35;
}
@media (max-width: 767px) {
    .ccnb-hero--ccn-home { min-height: 0; }
    .ccnb-hero--ccn-home .ccnb-hero__dock { position: relative; height: auto; }
    .ccnb-hero--ccn-home .ccnb-hero__inner { gap: 14px; padding-block: 28px 22px; }
    .ccnb-hero__cn { letter-spacing: .2em; text-indent: .2em; }
    .ccnb-hero--ccn-home .ccnb-hero__actions .ccnb-btn { flex: 1 1 100%; justify-content: center; }
    .ccnb-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ccnb-hero__facts li { padding: 13px 10px; }
    .ccnb-hero__facts li + li { border-left: 0; }
    .ccnb-hero__facts li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .14); }
    .ccnb-hero__facts li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* Member university logos: show the name under each mark */
.ccn-hv3-logo-grid .ccn-hv3-logo-card { gap: 10px; align-content: center; }
.ccn-hv3-logo-grid .ccn-hv3-logo-card__name {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: var(--ccnp-muted, #5d5266);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.ccn-hv3-logo-card:hover .ccn-hv3-logo-card__name,
.ccn-hv3-logo-card:focus-visible .ccn-hv3-logo-card__name { color: var(--ccn-purple); }

/* Footer: official-office line with the Chinese name */
.ccnb-footer__official {
    max-width: 44ch;
    margin: -10px 0 24px;
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
    line-height: 1.7;
}
.ccnb-footer__official-badge {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 9px;
    border: 1px solid rgba(217, 174, 95, .6);
    border-radius: 999px;
    color: var(--ccn-yellow);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: 1px;
}
.ccnb-footer__cn {
    color: var(--ccn-yellow);
    font-size: .95rem;
    letter-spacing: .24em;
}

/* About: mission statement beside the official office card */
.ccnb-about-mission { background: var(--ccn-pale); }
.ccnb-about-mission__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}
.ccnb-about-mission__statement h2 {
    max-width: 20ch;
    margin: 10px 0 8px;
    color: var(--ccn-purple);
    font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
    line-height: 1.12;
    text-wrap: balance;
}
.ccnb-about-mission__cn {
    margin: 0 0 18px;
    color: #9a7430;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .3em;
}
.ccnb-about-mission__statement p:last-child {
    max-width: 60ch;
    margin: 0;
    color: #3f3448;
    font-size: 1.02rem;
    line-height: 1.75;
}
.ccnb-about-mission__office {
    padding: clamp(22px, 2.4vw, 30px);
    border: 1px solid rgba(97, 25, 135, .14);
    border-top: 4px solid var(--ccn-yellow);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(75, 18, 95, .08);
}
.ccnb-about-mission__badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--ccn-purple);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ccnb-about-mission__office dl { display: grid; gap: 0; margin: 0; }
.ccnb-about-mission__office dl > div { padding: 11px 0; border-top: 1px solid rgba(97, 25, 135, .1); }
.ccnb-about-mission__office dl > div:first-child { border-top: 0; padding-top: 0; }
.ccnb-about-mission__office dt { color: #7a6c84; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ccnb-about-mission__office dd { margin: 3px 0 0; color: var(--ccn-purple); font-weight: 600; line-height: 1.45; }
@media (max-width: 860px) {
    .ccnb-about-mission__grid { grid-template-columns: minmax(0, 1fr); }
}

/* IFP routes: readable note with a clear link */
.ccnb-ifp-source {
    display: block;
    max-width: 70ch;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.6;
}
.ccnb-ifp-routes .ccnb-ifp-source { color: rgba(255, 255, 255, .8); }
.ccnb-ifp-source a { color: var(--ccn-purple-bright); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ccnb-ifp-routes .ccnb-ifp-source a { color: var(--ccn-yellow); }
.ccn-hv3-logo-grid .ccn-hv3-logo-card__mark { height: 88px; }
.ccn-hv3-logo-grid .ccn-hv3-logo-card__mark img { width: 84px; height: 84px; max-height: 84px; }
@media (max-width: 767px) {
    .ccn-hv3-logo-grid .ccn-hv3-logo-card__mark { height: 56px; }
    .ccn-hv3-logo-grid .ccn-hv3-logo-card__mark img { width: 52px; height: 52px; max-height: 52px; }
    .ccn-hv3-logo-grid .ccn-hv3-logo-card__name { font-size: .7rem; }
}
@media (max-width: 767px) {
    .ccn-hv3-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ccn-hv3-logo-grid .ccn-hv3-logo-card { gap: 6px; }
}

/* IFP centre pages: official badge, Chinese name, other centres */
.ccnb-study-centre-hero__badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}
.ccnb-study-centre-hero__badge span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ccn-purple);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ccnb-study-centre-hero__badge span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ccn-yellow);
}
.ccnb-study-centre-hero__badge em {
    padding: 4px 11px;
    border: 1px solid rgba(217, 174, 95, .7);
    border-radius: 999px;
    background: #fdf6e8;
    color: #8a6420;
    font-size: .74rem;
    font-style: normal;
    font-weight: 700;
}
.ccnb-study-centre-hero__cn {
    margin: 10px 0 0;
    color: #9a7430;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem);
    font-weight: 600;
    letter-spacing: .28em;
}
.ccnb-study-centre-others { padding-top: 0; background: #fff; }
.ccnb-study-centre-others__head { max-width: 640px; margin-bottom: 22px; }
.ccnb-study-centre-others__head h2 { margin: 8px 0 6px; color: var(--ccn-purple); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.ccnb-study-centre-others__head p { margin: 0; color: var(--ccnb-muted); line-height: 1.6; }
.ccnb-study-centre-others__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ccnb-study-centre-others__grid a {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 18px;
    gap: 12px;
    align-items: center;
    height: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ccnb-line, #ece4f0);
    border-radius: 14px;
    background: #fff;
    color: var(--ccn-purple);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ccnb-study-centre-others__grid a:hover,
.ccnb-study-centre-others__grid a:focus-visible {
    border-color: var(--ccn-purple-bright);
    box-shadow: 0 12px 28px rgba(75, 18, 95, .08);
    transform: translateY(-2px);
}
.ccnb-study-centre-others__logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #faf7fb; }
.ccnb-study-centre-others__logo img { max-width: 42px; max-height: 42px; object-fit: contain; }
.ccnb-study-centre-others__text { display: grid; gap: 2px; min-width: 0; }
.ccnb-study-centre-others__text strong { font-size: .92rem; line-height: 1.3; }
.ccnb-study-centre-others__text small { color: var(--ccnb-muted); font-size: .78rem; }
.ccnb-study-centre-others__grid b { color: var(--ccn-yellow); }
@media (max-width: 767px) {
    .ccnb-study-centre-hero__cn { letter-spacing: .18em; }
    .ccnb-study-centre-others__grid { grid-template-columns: minmax(0, 1fr); }
}
.ccnb-study-centre-hero__actions { align-items: center; }
.ccnb-study-centre-hero__actions .ccnb-btn--ghost {
    border-color: rgba(97, 25, 135, .35);
    background: #fff;
    color: var(--ccn-purple);
}
.ccnb-study-centre-hero__actions .ccnb-btn--ghost:hover,
.ccnb-study-centre-hero__actions .ccnb-btn--ghost:focus-visible {
    border-color: var(--ccn-purple);
    background: var(--ccn-purple);
    color: #fff;
}
.ccnb-study-centre-hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.ccnb-study-centre-hero__facts > span { min-width: 0; }
.ccnb-study-centre-hero__facts > .ccnb-study-centre-hero__address { grid-column: 1 / -1; }
@media (max-width: 767px) {
    .ccnb-study-centre-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ccnb-study-centre-hero__facts > span:nth-child(3):not(.ccnb-study-centre-hero__address) { grid-column: 1 / -1; }
}
.ccnb-study-centre-others__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ccnb-study-centre-others__logo svg { width: 28px; height: 28px; color: var(--ccn-purple); }
@media (max-width: 1023px) { .ccnb-study-centre-others__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ccnb-study-centre-others__grid { grid-template-columns: minmax(0, 1fr); } }
.ccnb-footer__official-badge { display: table; margin: 0 0 8px; }

/* Footer bottom bar: copyright left; legal links and the developer credit
   right, on one baseline. On phones: links, copyright, credit, centred. */
.ccnb-footer .ccnb-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px 28px;
    padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px));
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}
.ccnb-footer .ccnb-footer__credits { display: block; }
.ccnb-footer .ccnb-footer__credits p { max-width: none; color: rgba(255, 255, 255, .6); font-size: 13px; letter-spacing: .01em; }
.ccnb-footer .ccnb-footer__credits a { color: rgba(255, 255, 255, .78); }
.ccnb-footer .ccnb-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ccnb-footer .ccnb-footer__legal li { display: flex; align-items: center; }
.ccnb-footer .ccnb-footer__legal li + li::before {
    content: "";
    width: 3px;
    height: 3px;
    margin: 0 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
}
.ccnb-footer .ccnb-footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color .18s ease;
}
.ccnb-footer .ccnb-footer__legal a:hover,
.ccnb-footer .ccnb-footer__legal a:focus-visible { color: var(--ccn-yellow); }
.ccnb-footer .ccnb-footer__dev {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 0 0 28px;
    border-left: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    letter-spacing: .02em;
    white-space: nowrap;
}
.ccnb-footer .ccnb-footer__dev img {
    height: 12px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .7;
    transition: opacity .18s ease;
}
.ccnb-footer .ccnb-footer__dev:hover,
.ccnb-footer .ccnb-footer__dev:focus-visible { color: #fff; }
.ccnb-footer .ccnb-footer__dev:hover img,
.ccnb-footer .ccnb-footer__dev:focus-visible img { opacity: 1; }
@media (max-width: 899px) {
    .ccnb-footer .ccnb-footer__bottom {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 10px;
        text-align: center;
    }
    .ccnb-footer .ccnb-footer__legal { order: -1; justify-content: center; }
    .ccnb-footer .ccnb-footer__legal a { min-height: 40px; }
    .ccnb-footer .ccnb-footer__credits p { font-size: 12.5px; }
    .ccnb-footer .ccnb-footer__dev { padding: 0; border-left: 0; min-height: 28px; }
}
@media (max-width: 379px) {
    .ccnb-footer .ccnb-footer__legal { gap: 0 18px; }
    .ccnb-footer .ccnb-footer__legal li + li::before { content: none; }
}
