/*
 * /performance-excellence-forum-and-awards-gala-2027 — the PEFAG 2027 page (user's mockup, 2026-12-02).
 * Type scale, weights, buttons, padding and the 1278px container are homepage-v4's (user: "font size, fonts, font
 * weights, padding, margins and the width of the non-full-width content as on homepage 4"); colours are the mockup's.
 * Scoped to .pf27-*. Spec: docs/superpowers/specs/2026-12-02-pefag-2027-page-design.md
 */

.pf27-page {
    --pf27-ink: #101518;
    --pf27-text: #232e33;
    /* homepage-v4's #6e767a darkened for AA on the grey and cream cards (5.5:1 on #f3f5f5). */
    --pf27-muted: #5c6468;
    --pf27-light: #c9d1d4;
    --pf27-line: #e3e6e8;
    --pf27-grey: #f3f5f5;
    --pf27-dark: #09222c;
    --pf27-dark-2: #13272f;
    --pf27-navy: #111823;
    --pf27-graphite: #21272a;
    --pf27-petrol: #004e52;
    /* Text teal: #007a89 (5.1:1 on white; the Digital Forum's AA teal) instead of homepage-v4's #0496a8 (3.5:1). */
    --pf27-teal: #007a89;
    --pf27-teal-light: #7fd2dc;
    --pf27-gold: #eec170;
    --pf27-gold-ink: #b07f22;
    --pf27-gold-light: #ebcf87;
    --pf27-green: #0b3a2e;
    --pf27-container: 1278px;
    /* Every contained block starts on the container's edge (homepage-v4): 44px gutters, centred past 1366px. */
    --pf27-edge: max(44px, calc((100% - var(--pf27-container)) / 2));
    font-family: 'Poppins', sans-serif;
    color: var(--pf27-text);
    background: #fff;
    overflow-x: hidden;
}

.pf27-page *,
.pf27-page *::before,
.pf27-page *::after {
    box-sizing: border-box;
}

/* Beats the site's global h1–h4/p/ul rules (margins, line-height); the weight reset stays at zero specificity so
   the .pf27-* classes that set a weight still win (homepage-v4's reset). */
.pf27-page h1,
.pf27-page h2,
.pf27-page h3,
.pf27-page h4,
.pf27-page p,
.pf27-page ul,
.pf27-page ol,
.pf27-page figure,
.pf27-page figcaption {
    margin: 0;
    padding: 0;
    line-height: normal;
}

:where(.pf27-page) :where(h1, h2, h3, h4, p) {
    font-weight: 400;
}

:where(.pf27-page) :where(ul, ol) {
    list-style: none;
}

.pf27-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.pf27-page :focus-visible {
    outline: 2px solid var(--pf27-teal);
    outline-offset: 2px;
}

.pf27-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Sections ---------- */
/* White sections: homepage-v4's 24px padding plus its 24px gap to the neighbours (48px); coloured bands 44px, flush
   one under the other as in the mockup. */
.pf27-band {
    padding: 48px var(--pf27-edge);
}

.pf27-band--dark,
.pf27-band--grey,
.pf27-band--navy,
.pf27-band--ink {
    padding-block: 44px;
}

.pf27-band--dark {
    background: var(--pf27-dark);
    color: #fff;
}

.pf27-band--grey {
    background: var(--pf27-grey);
}

.pf27-band--navy {
    background: var(--pf27-navy);
    color: #fff;
}

.pf27-band--ink {
    background: var(--pf27-graphite);
    color: #fff;
}

/* Sections whose content spans the mockup stay full width (user, 2026-12-02): homepage-v4's full-width edge, 44px
   up to 1920px, then centred. The others keep the 1278px container. */
.pf27-full {
    --pf27-edge: max(44px, calc((100% - 1920px) / 2 + 44px));
}

/* ---------- Type (homepage-v4) ---------- */
.pf27-page .pf27-title {
    font-size: 24px;
    line-height: 1.3;
    color: inherit;
}

.pf27-band:not(.pf27-band--dark, .pf27-band--navy, .pf27-band--ink) .pf27-title {
    color: var(--pf27-text);
}

.pf27-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.pf27-head--center {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.pf27-page .pf27-lead,
.pf27-page .pf27-text {
    font-size: 16px;
    line-height: 24px;
    color: var(--pf27-muted);
}

.pf27-page .pf27-text {
    color: var(--pf27-text);
}

.pf27-page .pf27-text--muted {
    color: var(--pf27-muted);
}

.pf27-page .pf27-text--light,
.pf27-page .pf27-lead--light {
    color: var(--pf27-light);
}

.pf27-page .pf27-eyebrow {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pf27-eyebrow--teal {
    color: var(--pf27-teal);
}

.pf27-eyebrow--light {
    color: var(--pf27-teal-light);
}

.pf27-eyebrow--gold {
    color: var(--pf27-gold-light);
}

.pf27-eyebrow--petrol {
    color: var(--pf27-petrol);
}

/* The short gold rule above a title (mockup: "Excellence in Focus"; "How to get nominated" lost it on 2026-12-04). */
.pf27-ruled::before {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    margin-bottom: 16px;
    background: var(--pf27-gold-ink);
}

/* homepage-v4's rule title: the text, then a 1px light-teal line to the container's end. */
.pf27-page .pf27-rule-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 24px;
    color: #fff;
}

.pf27-rule-title::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: var(--pf27-teal-light);
}

.pf27-rule-title span {
    white-space: nowrap;
}

.pf27-link {
    font-size: 14px;
    color: var(--pf27-teal-light);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pf27-link:hover,
.pf27-link:focus-visible {
    color: #fff;
}

.pf27-link--gold {
    color: var(--pf27-gold);
}

/* ---------- Buttons (homepage-v4 "button-small-alt") ---------- */
.pf27-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pf27-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: normal;
    letter-spacing: .28px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.pf27-btn__chev {
    font-size: 1.15em;
    line-height: 1;
}

/* No underline on hover (user, 2026-12-05: "cand mergi peste link-uri sau butoane sa nu se sublinieze"; was the
   homepage-v4 hover). Keyboard focus keeps the browser's outline. */

.pf27-btn--gold,
.pf27-btn--gold:hover,
.pf27-btn--gold:focus-visible {
    background: var(--pf27-gold);
    color: var(--pf27-ink);
}

.pf27-btn--dark,
.pf27-btn--dark:hover,
.pf27-btn--dark:focus-visible {
    background: #263238;
    color: #e9ebeb;
}

.pf27-btn--light,
.pf27-btn--light:hover,
.pf27-btn--light:focus-visible {
    background: #fff;
    color: var(--pf27-text);
}

/* The 1px border comes out of the padding, so outline and filled buttons are the same height. */
.pf27-btn--outline-light {
    padding-block: 7px;
    border: 1px solid #e9ebeb;
    background: transparent;
    color: #e9ebeb;
}

.pf27-btn--outline-light:hover,
.pf27-btn--outline-light:focus-visible {
    border-color: var(--pf27-gold);
    color: var(--pf27-gold);
}

/* ---------- 1. Hero: the Digital Forum hero's sizes (user, 2026-12-02; .pedf-hero--split measured at 1366 / 1100 / 390):
   logo 700 / 470 / 360px, text 16px, numbers 30px bold, buttons 16px with 12px 28px padding, the primary bold;
   ≥1200 the Digital Forum's centred content width (2026-12-04). ---------- */
.pf27-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 56px var(--pf27-edge);
    background: #012a3e;
    color: #fff;
    overflow: hidden;
}

.pf27-page .pf27-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
}

.pf27-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 700px) minmax(0, 540px);
    justify-content: space-between;
    align-items: center;
    gap: 32px 56px;
    width: 100%;
}

/* >= 1200: the Digital Forum hero's content width (user, 2026-12-04: "pe hero sa folosim width-ul la content cum e pe
   hero la digital forum"): its .pedf-hero2 grid — the logo + copy group centred, the gap growing from 56px to 128px,
   24px edges — so at 1440 the logo starts at 40 (the hexagon at 58) and the copy runs 842-1382, as the DF. */
@media (min-width: 1200px) {
    .pf27-hero {
        padding-inline: 24px;
    }

    .pf27-hero__inner {
        justify-content: center;
        column-gap: clamp(56px, 23vw - 247px, 128px);
    }
}

.pf27-hero__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* The h1 spans its column: inside the column's flex box a shrink-to-fit h1 left the SVG's percentage width cyclic (it
   fell back to 300px). */
.pf27-page .pf27-hero__title {
    width: 100%;
}

.pf27-page .pf27-hero__logo {
    width: min(100%, 700px);
}

/* Two columns: the logo SVG keeps 17.7 of its 680 units empty left of the hexagon, so it moves left by that much
   (2.6% of the column, which is the logo's own width here) — the hexagon on the date's line and the gap to the right
   column 18px wider (user, 2026-12-03: "muta logo mai spre stanga"). */
@media (min-width: 1024px) {
    .pf27-page .pf27-hero__logo {
        margin-left: -2.6%;
    }
}

/* The date uppercase, .04em, gold, at 20px (user, 2026-12-03: "pune data mai mare"; was the Digital Forum's 16px
   pill size); the venue stays at 16px, under it. */
.pf27-page .pf27-hero__date {
    margin-top: 24px;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--pf27-gold);
}

.pf27-page .pf27-hero__venue {
    margin-top: 8px;
    font-size: 16px;
    color: var(--pf27-gold-light);
}

.pf27-hero__copy {
    display: flex;
    flex-direction: column;
}

/* Blur only under the text (user, 2026-12-04: "blurat doar sub text si dupa discret sa se continue imaginea cum este
   original"): an 8px backdrop blur under each text block, from 24px outside it, fading in over 56px on an eased
   mask, so the image continues unchanged around the text. The image itself is untouched. Without backdrop-filter
   support the image simply shows as it is. */
.pf27-hero__brand,
.pf27-hero__copy {
    position: relative;
    isolation: isolate;
}

.pf27-hero__brand::before,
.pf27-hero__copy::before {
    --pf27-feather: transparent, rgba(0, 0, 0, .1) 14px, rgba(0, 0, 0, .36) 28px, rgba(0, 0, 0, .75) 42px, #000 56px,
        #000 calc(100% - 56px), rgba(0, 0, 0, .75) calc(100% - 42px), rgba(0, 0, 0, .36) calc(100% - 28px),
        rgba(0, 0, 0, .1) calc(100% - 14px), transparent;
    content: '';
    position: absolute;
    inset: -24px;
    z-index: -1;
    pointer-events: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to right, var(--pf27-feather)), linear-gradient(to bottom, var(--pf27-feather));
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, var(--pf27-feather)), linear-gradient(to bottom, var(--pf27-feather));
    mask-composite: intersect;
}

.pf27-page .pf27-hero__topics {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
}

.pf27-hero__topics li + li::before {
    content: '|';
    margin: 0 14px;
    color: var(--pf27-gold);
}

/* The tagline under a rule, as the Digital Forum's (16px, line-height 1.6, 18px above the rule, 16px under it); the
   rule is the mockup's gold. */
.pf27-page .pf27-hero__tagline {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--pf27-gold);
    font-size: 16px;
    line-height: 1.6;
}

.pf27-page .pf27-hero__offer {
    margin-top: 16px;
    font-size: 16px;
}

/* The figures at the Digital Forum's stat size (30px, gold): the discount bold, the price regular, so the two read
   apart (user, 2026-12-03: "300 USD fa fara bold sa fie diferit de 50%"). */
.pf27-hero__offer strong,
.pf27-hero__price {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--pf27-gold);
}

.pf27-hero__price {
    font-weight: 400;
}

.pf27-hero .pf27-buttons {
    gap: 16px;
    margin-top: 28px;
}

.pf27-hero .pf27-btn {
    padding: 12px 28px;
    font-size: 16px;
    line-height: 19px;
}

.pf27-hero .pf27-btn--gold {
    font-weight: 700;
}

.pf27-hero .pf27-btn--outline-light {
    padding: 11px 27px;
}

@media (min-width: 1200px) {
    .pf27-hero .pf27-buttons {
        gap: 32px;
    }
}

/* 1024–1199: two columns, the 470px logo and 26px figures (Digital Forum). */
@media (max-width: 1199px) {
    .pf27-hero__inner {
        grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
        column-gap: 40px;
    }

    .pf27-page .pf27-hero__date {
        font-size: 18px;
        line-height: 24px;
    }

    .pf27-hero__offer strong,
    .pf27-hero__price {
        font-size: 26px;
    }
}

/* Below 1024 one centred column, as the Digital Forum. */
@media (max-width: 1023px) {
    .pf27-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 24px;
        text-align: center;
    }

    /* Full row width, so the logo's percentage width has a definite base (centred grid items shrink to fit). */
    .pf27-hero__brand {
        align-items: center;
        width: 100%;
    }

    .pf27-page .pf27-hero__logo {
        width: min(100%, 470px);
        margin-inline: auto;
    }

    .pf27-hero__copy {
        align-items: center;
        max-width: 720px;
    }

    .pf27-page .pf27-hero__topics,
    .pf27-hero .pf27-buttons {
        justify-content: center;
    }
}

/* ---------- 2. Video ---------- */
.pf27-video__body {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.pf27-video__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pf27-video__copy .pf27-buttons {
    margin-top: 8px;
}

.pf27-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--pf27-dark);
}

.pf27-video__facade,
.pf27-page .pf27-video__facade img,
.pf27-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pf27-page .pf27-video__facade img {
    object-fit: cover;
}

.pf27-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 48px;
    transform: translate(-50%, -50%);
}

.pf27-video__play-bg {
    fill: #212121;
    fill-opacity: .8;
    transition: fill .2s, fill-opacity .2s;
}

.pf27-video__facade:hover .pf27-video__play-bg,
.pf27-video__facade:focus-visible .pf27-video__play-bg {
    fill: #f00;
    fill-opacity: 1;
}

/* ---------- 3. Step Inside PEFAG ---------- */
.pf27-inside__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pf27-page .pf27-inside__item img,
.pf27-page .pf27-photo img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.pf27-page .pf27-inside__item figcaption {
    margin-top: 8px;
    font-size: 16px;
    text-align: center;
}

.pf27-inside__more {
    justify-content: center;
    margin-top: 24px;
}

/* In-page links (the gallery button, the registration buttons) scroll smoothly on this page only. */
:root:has(.pf27-page) {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    :root:has(.pf27-page) {
        scroll-behavior: auto;
    }
}

/* ---------- 4. The Forum and the Awards Gala ---------- */
.pf27-forum-gala .pf27-title {
    margin-bottom: 24px;
}

.pf27-forum-gala__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pf27-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--pf27-line);
    background: #fff;
}

.pf27-page .pf27-card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.pf27-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px 24px;
}

.pf27-page .pf27-card__title {
    font-size: 24px;
    color: var(--pf27-text);
}

.pf27-page .pf27-card__text {
    font-size: 16px;
    line-height: 24px;
    color: var(--pf27-muted);
}

.pf27-expect {
    margin-top: 24px;
}

.pf27-page .pf27-expect__banner {
    display: flex;
    align-items: center;
    min-height: 88px;
    padding: 0 32px;
    background: var(--pf27-dark-2) var(--pf27-expect-bg) right center / cover no-repeat;
    font-size: 24px;
    color: #fff;
}

.pf27-page .pf27-expect__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.pf27-expect__item {
    display: flex;
    gap: 16px;
    padding: 0 24px;
}

.pf27-expect__item:first-child {
    padding-left: 0;
}

.pf27-expect__item + .pf27-expect__item {
    border-left: 1px solid var(--pf27-line);
}

.pf27-expect__icon {
    flex: 0 0 auto;
    color: var(--pf27-gold-ink);
}

.pf27-expect__icon .pf27-icon {
    width: 36px;
    height: 36px;
}

.pf27-page .pf27-expect__title {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--pf27-text);
}

.pf27-page .pf27-expect__text {
    font-size: 14px;
    line-height: 21px;
    color: var(--pf27-muted);
}

/* ---------- 5. Awarding Categories ---------- */
.pf27-categories {
    background: var(--pf27-dark-2);
}

.pf27-categories .pf27-title {
    margin-bottom: 24px;
}

.pf27-categories__list {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
}

.pf27-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding-bottom: 16px;
    border-bottom: 4px solid var(--pf27-cap);
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.pf27-category:hover,
.pf27-category:focus-visible {
    color: #fff;
}

/* No underline on hover (user, 2026-12-04); the icon zooms instead, as on /insights/research-surveys-v2 — with a
   mouse only, and not with reduced motion. Keyboard focus keeps the page's teal outline. */
.pf27-page .pf27-category__icon {
    width: auto;
    height: 64px;
    transition: transform .25s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .pf27-category:hover .pf27-category__icon {
        transform: scale(1.15);
    }
}

.pf27-category__name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

/* All names on one line or all on two, never mixed (user, 2026-12-04: "cand la unul dintre ele trece pe 2 randuri sa
   treaca la toate numele pe 2 randuri deodata"). The grid cells are equal, so they cross the threshold together:
   under 230px (the longest name, "Performance Measurement", is 221px) each name is min-content wide, i.e. one word
   per line — every name has two words. Without container query support the names wrap as before. */
.pf27-categories__list > li {
    container-type: inline-size;
}

@container (width < 230px) {
    .pf27-category__name {
        width: min-content;
    }
}

/* ---------- 6. Award Types ---------- */
.pf27-award-types__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* Both badge files are trimmed to the badge, so one width draws them the same size: 202px = the Hallmark's 180px
   +12% (user, 2026-12-03: "mai pune 10-15% la cea mare si adu si pe cealalta la aceeasi marime"). */
.pf27-award {
    display: grid;
    grid-template-columns: 202px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--pf27-line);
    background: #fff;
}

.pf27-page .pf27-award__badge {
    width: 202px;
}

.pf27-award__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pf27-page .pf27-award__title {
    font-size: 24px;
    color: var(--pf27-text);
}

/* ---------- 7. Hall of Fame: homepage-v4's badge band (.hv4-band) layout (user, 2026-12-02) — on the 1278px container,
   24px padding, copy left and the logo right 24px apart; wraps below 1200px, one column on phones. ---------- */
.pf27-band.pf27-hof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 24px;
    background: var(--pf27-dark-2);
}

.pf27-hof__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}

.pf27-page .pf27-hof__logo {
    flex: 0 1 420px;
    width: 420px;
    min-width: 0;
}

@media (max-width: 1199px) {
    .pf27-band.pf27-hof {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .pf27-band.pf27-hof {
        flex-direction: column;
        align-items: flex-start;
    }

    .pf27-page .pf27-hof__logo {
        flex: 0 0 auto;
        width: min(100%, 360px);
    }
}

/* ---------- 8. How to get nominated ---------- */
.pf27-nominated .pf27-title {
    margin-bottom: 24px;
}

.pf27-nominated__body {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
    align-items: stretch;
}

/* The photo no longer stretches to the steps' height (that box showed only 622 of its 960px and cut the headline and
   the left badge): an 8 / 7 window, 731px of the photo from x 97, always holds "HALLMARK OF EXCELLENCE" (x 165–810)
   and the three badges (x 118–388), centred beside the steps (user, 2026-12-03). Stacked, the 460px cap makes the box
   wider than the photo on tablets: the 12% keeps the headline and badges in. */
.pf27-page .pf27-nominated__img {
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 7;
    align-self: center;
    object-fit: cover;
    object-position: 42% 12%;
}

.pf27-nominated__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pf27-steps {
    counter-reset: pf27-step;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pf27-step {
    position: relative;
    min-height: 36px;
    padding-left: 56px;
    counter-increment: pf27-step;
}

.pf27-step::before {
    content: counter(pf27-step);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pf27-green);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* The gold line joining the numbers. */
.pf27-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 36px;
    bottom: -20px;
    left: 17px;
    width: 2px;
    background: var(--pf27-gold-ink);
}

.pf27-page .pf27-step__title {
    margin-bottom: 2px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pf27-text);
}

.pf27-page .pf27-step__text {
    font-size: 14px;
    line-height: 21px;
    color: var(--pf27-muted);
}

/* ---------- 9. Register award interest ---------- */
.pf27-interest {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 420px;
    padding: 44px var(--pf27-edge);
    background: #0d2226;
    color: #fff;
    overflow: hidden;
}

.pf27-page .pf27-interest__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
}

.pf27-interest__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}

.pf27-interest__copy .pf27-buttons {
    margin-top: 8px;
}

/* ---------- 10. Organizations ---------- */
.pf27-orgs .pf27-title {
    margin-bottom: 24px;
}

.pf27-orgs__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.pf27-orgs__tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 20px 24px;
    border: 1px solid var(--pf27-line);
    background: #fff;
}

.pf27-page .pf27-orgs__tile img {
    width: auto;
    max-height: 100%;
    object-fit: contain;
}

/* ---------- 11. Partnership ---------- */
.pf27-partners__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.pf27-partner {
    display: flex;
    flex-direction: column;
    background: #1b2430;
}

.pf27-page .pf27-partner__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.pf27-partner__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px 24px;
}

.pf27-page .pf27-partner__title {
    font-size: 24px;
    color: #fff;
}

.pf27-page .pf27-partner__text {
    font-size: 16px;
    line-height: 24px;
    color: var(--pf27-light);
}

.pf27-page .pf27-partner__label {
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pf27-teal-light);
}

/* ---------- 12. Why Attend ---------- */
.pf27-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pf27-why__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--pf27-line);
    background: #fff;
}

.pf27-why__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: #f6efe1;
    color: var(--pf27-gold-ink);
}

.pf27-page .pf27-why__title {
    font-size: 16px;
    font-weight: 500;
    color: var(--pf27-text);
}

.pf27-page .pf27-why__text {
    font-size: 14px;
    line-height: 21px;
    color: var(--pf27-muted);
}

.pf27-why__card--date {
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-color: var(--pf27-dark);
    background: var(--pf27-dark);
    color: #fff;
    text-align: center;
}

.pf27-page .pf27-why__date {
    font-size: 24px;
    font-weight: 500;
}

.pf27-page .pf27-why__venue {
    margin-bottom: 16px;
    font-size: 16px;
}

/* ---------- 13. Attendance Fees ---------- */
.pf27-fees__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 24px;
}

.pf27-page .pf27-fees__event {
    font-size: 16px;
    color: var(--pf27-light);
}

.pf27-fees__event strong {
    font-weight: 600;
    color: #fff;
}

.pf27-fees__tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pf27-tier {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px;
    background: #fff;
    color: var(--pf27-text);
    text-align: center;
}

.pf27-page .pf27-tier__name {
    font-size: 24px;
    font-weight: 500;
}

.pf27-page .pf27-tier__price {
    font-size: 24px;
    font-weight: 300;
}

.pf27-page .pf27-tier__note {
    font-size: 14px;
    color: var(--pf27-muted);
}

.pf27-presale {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 24px;
    padding: 24px 32px;
    background: #014045 var(--pf27-presale-bg) right center / cover no-repeat;
}

.pf27-presale__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pf27-page .pf27-presale__label {
    font-size: 24px;
}

.pf27-presale__label strong {
    font-weight: 500;
    color: var(--pf27-gold);
}

.pf27-page .pf27-presale__price {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--pf27-gold);
}

.pf27-page .pf27-presale__note {
    font-size: 16px;
}

.pf27-page .pf27-fees__group {
    margin-top: 16px;
    font-size: 14px;
    line-height: 21px;
    color: var(--pf27-light);
}

/* ---------- 14. Digital Forum benefits ----------
   The four cards in the user's image colours (2026-12-03, = the Digital Forum page's, unrounded): white with a grey
   line, blue-grey figure panels, petrol figures and highlights; the featured card stays petrol. */
.pf27-benefits__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
}

.pf27-benefits__featured {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: var(--pf27-petrol);
    color: #fff;
}

.pf27-page .pf27-benefits__logo {
    width: min(100%, 320px);
    margin-bottom: 8px;
}

.pf27-page .pf27-benefits__featured-title {
    font-size: 24px;
    font-weight: 500;
}

.pf27-page .pf27-benefits__detail {
    font-size: 16px;
    line-height: 24px;
    color: #e9ebeb;
}

.pf27-benefits__detail a {
    font-weight: 600;
    color: #fff;
    text-decoration: underline;
}

.pf27-page .pf27-benefits__value {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 4px 0 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, .08);
}

.pf27-benefits__value strong {
    font-size: 32px;
    font-weight: 600;
}

.pf27-benefits__value span {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #e9ebeb;
}

.pf27-benefits__value b {
    font-weight: 600;
    color: #fff;
}

.pf27-benefits__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pf27-benefit {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--pf27-line);
    background: #fff;
}

.pf27-page .pf27-benefit__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 4px;
    background: #e3eef1;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pf27-petrol);
}

.pf27-benefit__figure strong {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0;
}

.pf27-page .pf27-benefit__title {
    font-size: 16px;
    font-weight: 500;
    color: var(--pf27-text);
}

.pf27-page .pf27-benefit__detail {
    margin-top: 4px;
    font-size: 14px;
    line-height: 21px;
    color: var(--pf27-muted);
}

.pf27-page .pf27-benefit__highlight {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pf27-petrol);
}

.pf27-benefit--extras {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.pf27-benefit__extra + .pf27-benefit__extra {
    padding-top: 12px;
    border-top: 1px solid var(--pf27-line);
}

/* ---------- 15. Gallery ---------- */
.pf27-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
}

.pf27-page .pf27-photo figcaption {
    margin-top: 8px;
    font-size: 16px;
    color: #e9ebeb;
}

/* ---------- 16. Register ---------- */
.pf27-register {
    background: #fafafa;
}

/* ---------- Laptops (≤1279): the video stacks under its copy (homepage-v4) ---------- */
@media (max-width: 1279px) {
    .pf27-video__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .pf27-video__copy {
        order: -1;
        max-width: 760px;
    }
}

/* ---------- ≤1199 ---------- */
@media (max-width: 1199px) {
    .pf27-categories__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 24px;
    }

    .pf27-award {
        grid-template-columns: 158px minmax(0, 1fr);
    }

    .pf27-page .pf27-award__badge {
        width: 158px;
    }

    .pf27-benefits__layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Tablets (≤991): 24px gutters ---------- */
@media (max-width: 991px) {
    .pf27-page {
        --pf27-edge: 24px;
    }

    .pf27-hero {
        min-height: 0;
        padding-block: 48px;
    }

    .pf27-full {
        --pf27-edge: 24px;
    }

    .pf27-award-types__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pf27-nominated__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .pf27-page .pf27-nominated__img {
        height: auto;
        max-height: 460px;
    }

    .pf27-orgs__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pf27-partners__grid,
    .pf27-why__grid,
    .pf27-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pf27-page .pf27-expect__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .pf27-expect__item,
    .pf27-expect__item:first-child {
        padding: 0;
    }

    .pf27-expect__item + .pf27-expect__item {
        padding-top: 16px;
        border-top: 1px solid var(--pf27-line);
        border-left: 0;
    }
}

/* ---------- Phones (≤767) ---------- */
@media (max-width: 767px) {
    .pf27-band {
        padding-block: 40px;
    }

    .pf27-band--dark,
    .pf27-band--grey,
    .pf27-band--navy,
    .pf27-band--ink {
        padding-block: 36px;
    }

    /* Digital Forum phones: 360px logo, 14px text and buttons (8px 16px), 22px figures; the date one step above at
       16px. */
    .pf27-page .pf27-hero__logo {
        width: min(100%, 360px);
    }

    .pf27-page .pf27-hero__date {
        font-size: 16px;
        line-height: 22px;
    }

    .pf27-page .pf27-hero__tagline,
    .pf27-page .pf27-hero__topics,
    .pf27-page .pf27-hero__offer,
    .pf27-page .pf27-hero__venue {
        font-size: 14px;
    }

    .pf27-hero__offer strong,
    .pf27-hero__price {
        font-size: 22px;
    }

    /* Each topic carries its own gold dot, so a wrapped line never starts with a separator. */
    .pf27-page .pf27-hero__topics {
        gap: 4px 14px;
    }

    .pf27-hero__topics li::before,
    .pf27-hero__topics li + li::before {
        content: '•';
        margin: 0 6px 0 0;
    }

    .pf27-hero .pf27-btn,
    .pf27-hero .pf27-btn--outline-light {
        padding: 8px 16px;
        font-size: 14px;
    }

    .pf27-hero .pf27-btn--outline-light {
        padding: 7px 15px;
    }

    .pf27-buttons .pf27-btn {
        flex: 1 1 100%;
        min-height: 44px;
    }

    .pf27-inside__grid,
    .pf27-forum-gala__cards,
    .pf27-partners__grid,
    .pf27-why__grid,
    .pf27-fees__tiers,
    .pf27-benefits__list {
        grid-template-columns: minmax(0, 1fr);
    }

    /* The gallery and the organizations' logos as sideways sliders (user, 2026-12-02), the site's phone row
       (capability pages' Assess / Pathways): edge to edge, snapping item by item, one item and a half in view. Width
       of one item: the screen minus the 24px edge and the 12px gap, divided by 1.5. Prefixed: .pf27-page ul resets
       margins. */
    .pf27-page .pf27-gallery__grid,
    .pf27-page .pf27-orgs__grid {
        display: flex;
        gap: 12px;
        margin-inline: calc(-1 * var(--pf27-edge));
        padding: 0 var(--pf27-edge) 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--pf27-edge);
        scrollbar-width: none;
    }

    .pf27-gallery__grid::-webkit-scrollbar,
    .pf27-orgs__grid::-webkit-scrollbar {
        display: none;
    }

    .pf27-photo,
    .pf27-orgs__tile {
        flex: 0 0 calc((100vw - 36px) / 1.5);
        scroll-snap-align: start;
    }

    .pf27-page .pf27-photo figcaption {
        font-size: 14px;
        line-height: 1.4;
    }

    /* The presale band stacks on phones and its gold wave would sit behind the gold figures: the copy keeps a solid
       band colour, the wave shows dimmed under the buttons. */
    .pf27-presale {
        background-image: linear-gradient(180deg, #014045 0, #014045 52%, rgba(1, 64, 69, .55) 100%), var(--pf27-presale-bg);
        background-size: cover, cover;
    }

    .pf27-categories__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pf27-orgs__tile {
        height: 104px;
        padding: 16px 20px;
    }

    .pf27-award {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .pf27-page .pf27-expect__banner {
        min-height: 72px;
        padding: 0 20px;
    }

    .pf27-presale {
        padding: 24px 20px;
    }

    .pf27-presale .pf27-buttons {
        width: 100%;
    }

    .pf27-page .pf27-benefits__value {
        padding: 12px 16px;
    }

    .pf27-interest {
        min-height: 0;
    }

    /* The copy over the left of the photo would sit on the trophy: a scrim keeps it readable. Above the photo (which
       comes after it in the markup) and under the copy. */
    .pf27-interest::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(9, 34, 44, .72);
    }

    .pf27-interest__copy {
        z-index: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pf27-page *,
    .pf27-page *::before,
    .pf27-page *::after {
        transition-duration: .01ms !important;
    }
}

/* ---------- FAQ: moved from the 2025 page (user, 2026-12-05), its look kept: the site's uniform FAQ (grey band,
   564px centred heading, 790px list, square white boxes, 15px inside; FaqUniformityTest). The band takes the page's
   gutter. Two classes per selector: the page's h2/p reset (.pf27-page h2) would beat one. ---------- */
.pf27-faq {
    padding: clamp(48px, 5.85vw, 80px) var(--pf27-edge);
    background: #e9edf0;
    /* The 2025 page's ink and font stack, so the moved FAQ computes the same. */
    color: #263238;
    font-family: "Poppins", "Poppins Fallback", sans-serif;
}

.pf27-faq .pf27-faq__inner {
    display: grid;
    justify-items: center;
    gap: 32px;
}

.pf27-faq .pf27-faq__head {
    display: grid;
    gap: 8px;
    width: min(100%, 564px);
    text-align: center;
}

.pf27-faq .pf27-faq__title {
    margin: 0;
    color: #232e33;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 500;
    line-height: 1.25;
}

.pf27-faq .pf27-faq__lead {
    margin: 0;
    color: #5f686c;
    font-size: 14px;
    line-height: 1.5;
}

.pf27-faq .pf27-faq__list {
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: 790px;
}

.pf27-faq .pf27-faq__item {
    overflow: hidden;
    border: 1px solid #f3f5f5;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.pf27-faq .pf27-faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 15px;
    border: 0;
    background: transparent;
    color: #232e33;
    font-family: "Poppins", "Poppins Fallback", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
}

.pf27-faq .pf27-faq__item.is-open .pf27-faq__trigger {
    padding-bottom: 8px;
}

.pf27-faq .pf27-faq__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 4px;
    color: #232e33;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.pf27-faq .pf27-faq__item.is-open .pf27-faq__icon {
    transform: rotate(180deg);
}

.pf27-faq .pf27-faq__panel {
    display: none;
    padding: 0 15px 16px;
    color: #515b60;
    font-family: "Poppins", "Poppins Fallback", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.pf27-faq .pf27-faq__item.is-open .pf27-faq__panel {
    display: block;
}

@media (max-width: 640px) {
    .pf27-faq .pf27-faq__inner {
        gap: 24px;
    }
}
