/* ==========================================================================
   PerforAssess v2 pages (user, 2026-11-23): /perforassess-v2 and the six pages that follow it, after the user's
   full-page mockups. Every rule is scoped to .pa2-page.
   - Layout and imagery are the mockups'; type, buttons and spacing are the site's (the homepage-v4 tokens).
   - One container on every page: homepage-v4's 1278px with its gutters (user: "acelasi width la content ca pe
     homepage4").
   - Nothing rounded (user: "toate elementele de pe pagini sa fie cu colturi. nimic rounded").
   - Bands and badges at the capability pages' sizes (user; capability-page.css .cap-cta / .cap-recognition).
   Spec: docs/superpowers/specs/2026-11-23-perforassess-v2-pages-design.md
   ========================================================================== */

.pa2-page {
    --pa2-container: 1278px;
    --pa2-gutter: max(44px, calc((100% - var(--pa2-container)) / 2));
    --pa2-ink: #101518;
    --pa2-ink-800: #151c1f;
    --pa2-band: #1d2427;
    --pa2-text: #232e33;
    --pa2-muted: #5f686c;
    --pa2-line: #d5d9da;
    --pa2-grey-25: #f3f5f5;
    --pa2-grey-50: #e9ebeb;
    --pa2-teal: #00acc1;
    --pa2-teal-dark: #0a6f7c;
    --pa2-cyan: #2ad1e6;
    --pa2-petrol: #0b3a44;
    --pa2-rainbow: linear-gradient(90deg, #00b7f2 0%, #06733f 22%, #b21702 42%, #ec005b 60%, #a304d4 80%, #0b95a0 100%);
    display: block;
    font-family: 'Poppins', 'Poppins Fallback', sans-serif;
    color: var(--pa2-text);
    background: #fff;
    overflow-x: hidden;
}

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

/* Beats the site's global h1–h3/p/ul rules (margins, line-height). */
.pa2-page h1,
.pa2-page h2,
.pa2-page h3,
.pa2-page p,
.pa2-page ul,
.pa2-page dl,
.pa2-page dd {
    margin: 0;
    padding: 0;
    line-height: normal;
}

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

.pa2-page :where(ul) {
    list-style: none;
}

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

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

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

/* One container on every page (homepage-v4's). */
.pa2-page .pa2-container {
    width: calc(100% - 2 * var(--pa2-gutter));
    max-width: var(--pa2-container);
    margin-right: auto;
    margin-left: auto;
}

.pa2-page .pa2-section {
    padding: 24px 0;
}

/* The homepage-v4 rhythm (user, 2026-11-23: "font size, height, padding, margin ca pe homepage v4"): every block after
   the hero 24px below the previous one, sections padded 24px, 24px from a heading to its content. */
.pa2-page > section + section {
    margin-top: 24px;
}

/* Section heading (centred, as in the mockups): 24px title, 16px muted text 8px under it (homepage-v4). */
.pa2-page .pa2-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 760px;
    margin: 0 auto 24px;
    text-align: center;
}

.pa2-page .pa2-heading__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: var(--pa2-text);
}

.pa2-page .pa2-heading__text {
    font-size: 16px;
    line-height: normal;
    color: var(--pa2-muted);
}

/* ---------- Buttons (homepage-v4 metrics, square) ---------- */
.pa2-page .pa2-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

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

.pa2-page .pa2-btn--outline-light {
    padding: 8px 20px;
    border-color: #fff;
    font-size: 16px;
    color: #fff;
}

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

.pa2-page .pa2-btn--outline {
    border-color: var(--pa2-line);
    background: #fff;
    color: var(--pa2-text);
}

.pa2-page .pa2-btn--outline:hover,
.pa2-page .pa2-btn--outline:focus-visible {
    border-color: var(--pa2-text);
    background: var(--pa2-text);
    color: #fff;
}

/* ---------- Hero ---------- */
/* About a third shorter than the live hero (Excel note); the tabs sit on its bottom edge. */
.pa2-page .pa2-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
    overflow: hidden;
    background: var(--pa2-ink-800);
    color: #fff;
    isolation: isolate;
}

.pa2-page .pa2-hero__slides {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.pa2-page .pa2-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.pa2-page .pa2-hero__slide.is-active {
    opacity: 1;
}

/* Darker where the copy sits; the tabs read on the bottom. */
.pa2-page .pa2-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 20, 26, .78) 0%, rgba(8, 20, 26, .45) 55%, rgba(8, 20, 26, .3) 100%),
        linear-gradient(0deg, rgba(8, 20, 26, .6) 0%, rgba(8, 20, 26, 0) 32%);
}

.pa2-page .pa2-hero__inner {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 56px 0 32px;
}

.pa2-page .pa2-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 560px;
}

.pa2-page .pa2-hero__title {
    font-size: 32px;
    font-weight: 300;
    line-height: 41px;
    color: #fff;
}

.pa2-page .pa2-hero__text {
    font-size: 15.5px;
    font-weight: 300;
    line-height: normal;
    color: #e9eef0;
}

.pa2-page .pa2-hero .pa2-buttons {
    margin-top: 8px;
}

/* --pa2-logo-k (data 'logo_scale'): the products' artboards differ in width, so each logo's width is scaled for one size of
   the "perfor ASSESS" mark (workbook note 1, 2026-12-02). */
.pa2-page .pa2-hero__logo {
    flex: 0 1 auto;
    width: calc(min(520px, 42%) * var(--pa2-logo-k, 1));
}

/* ---------- Tabs (as on Insights: insights-tabs.css) ---------- */
.pa2-page .pa2-tabs {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 14px 0 18px;
    font-family: 'Poppins', 'Poppins Fallback', sans-serif;
}

.pa2-page .pa2-tabs__tab {
    display: block;
    flex: 1 1 0;
    padding: 6px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    opacity: .9;
    transition: opacity .2s ease;
}

.pa2-page .pa2-tabs__tab:hover,
.pa2-page .pa2-tabs__tab:focus-visible {
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

.pa2-page .pa2-tabs__tab:focus-visible {
    outline: 2px solid var(--pa2-cyan);
    outline-offset: 4px;
}

.pa2-page .pa2-tabs__tab::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin: 10px auto 0;
    background: rgba(255, 255, 255, .35);
}

.pa2-page .pa2-tabs__tab.is-active::after {
    height: 3px;
    background: var(--pa2-cyan);
}

/* The Hall of Fame badge in the recognition tabs: phones only (below); desktop and tablets keep the text. */
.pa2-page .pa2-tabs__icon {
    display: none;
}

/* ---------- The GPAU Assessment Suite ---------- */
.pa2-page .pa2-suite__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pa2-page .pa2-suite-card {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16, 21, 24, .12);
    transition: box-shadow .2s, transform .2s;
}

.pa2-page .pa2-suite-card:hover,
.pa2-page .pa2-suite-card:focus-visible {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(16, 21, 24, .2);
    transform: translateY(-2px);
}

/* The light geometric head of the mockup, the rainbow rule under it. */
/* The second section's card heads on the four PerforAssess pages (user, 2026-11-24): a deeper grey, in the direction
   of the Digital Forum's Strategic Partners tiles (greys about #c7–#e5, 174px tall) but a step lighter and smaller, in
   the page's cool grey, about 166px tall; larger icons (Overview) and logos (Suite). Teal icon on the grey 3.5:1. */
.pa2-page .pa2-suite-card__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 166px;
    padding: 28px 32px 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .5) 0 25%, transparent 25% 50%, rgba(255, 255, 255, .3) 50% 62%, transparent 62%),
        linear-gradient(180deg, #e6eaeb 0%, #cfd6d8 100%);
}

.pa2-page .pa2-suite-card__head::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 6px;
    background: var(--pa2-rainbow);
}

.pa2-page .pa2-suite-card__logo {
    width: min(340px, 100%);
}

.pa2-page .pa2-suite-card__body {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 16px 14px;
    align-content: start;
    padding: 24px 24px 28px;
    background: var(--pa2-petrol);
}

.pa2-page .pa2-suite-card__body dt {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    color: var(--pa2-cyan);
}

.pa2-page .pa2-suite-card__body dd {
    font-size: 14px;
    line-height: normal;
    color: #fff;
}

/* ---------- Video beside its summary (journey) ---------- */
.pa2-page .pa2-feature {
    padding-top: 24px;
}

.pa2-page .pa2-feature__title {
    margin-bottom: 24px;
    text-align: center;
}

/* The video as tall as the copy beside it (user, 2026-11-24), the container and the type unchanged: on the 1278px
   container (≥1366) 1.357fr : 1fr gives a 712 × 401 video beside 401px of copy (measured; it was 648 × 365). Narrower,
   the copy wraps to more lines, so the video starts level with it and reaches at least the text above the rule. */
.pa2-page .pa2-feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.357fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.pa2-page .pa2-video {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #000;
    cursor: pointer;
}

.pa2-page .pa2-video img {
    width: 100%;
    transition: opacity .2s;
}

.pa2-page .pa2-video:hover img,
.pa2-page .pa2-video:focus-visible img {
    opacity: .92;
}

.pa2-page .pa2-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.pa2-page .pa2-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pa2-page .pa2-feature__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pa2-page .pa2-feature__name {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: var(--pa2-teal-dark);
}

.pa2-page .pa2-feature__lead {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    color: var(--pa2-text);
}

.pa2-page .pa2-feature__text {
    font-size: 14px;
    line-height: normal;
    color: var(--pa2-muted);
}

.pa2-page .pa2-feature__note {
    padding-top: 16px;
    border-top: 1px solid var(--pa2-line);
    font-size: 14px;
    font-style: italic;
    line-height: normal;
    color: var(--pa2-muted);
}

/* ---------- Bands at the capability pages' CTA size (.cap-cta: min-height 188px, title 24 / text 14, 8 + 16px) ---------- */
.pa2-page .pa2-band {
    display: flex;
    align-items: center;
    min-height: 188px;
    padding: 32px 0;
    background: var(--pa2-band);
    color: #fff;
}

.pa2-page .pa2-band__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 44px;
}

.pa2-page .pa2-band__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 720px;
}

.pa2-page .pa2-band__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-band__text {
    font-size: 14px;
    line-height: normal;
    color: #c9d1d4;
}

/* The capabilities band: the icons above the band's own row, a rule between. */
.pa2-page .pa2-capband {
    padding: 24px 0;
}

.pa2-page .pa2-capband__icons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.pa2-page .pa2-capband__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: normal;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.pa2-page .pa2-capband__icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: transform .2s;
}

.pa2-page .pa2-capband__icon:hover,
.pa2-page .pa2-capband__icon:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pa2-page .pa2-capband__icon:hover img {
    transform: translateY(-2px);
}

/* ---------- Case studies ---------- */
.pa2-page .pa2-stories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pa2-page .pa2-story {
    display: flex;
    flex-direction: column;
    background: var(--pa2-grey-25);
    box-shadow: 0 4px 16px rgba(16, 21, 24, .08);
}

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

.pa2-page .pa2-story__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 20px;
}

.pa2-page .pa2-story__title {
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: var(--pa2-text);
}

.pa2-page .pa2-story__text {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: normal;
    color: var(--pa2-muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pa2-page .pa2-story__btn {
    width: 100%;
    margin-top: auto;
}

/* The excerpt keeps 8px above the button when the card is at its own height. */
.pa2-page .pa2-story__text {
    margin-bottom: 8px;
}

/* /perforassess-v2 (user, 2026-11-24): the cards run full width as the homepage-v4 cases, 44px off the edge up to the
   1920px block (24px below 992px); the title and text stay in the container, the cards as they are. Tablets show two
   per row and phones one, as on the homepage. */
.pa2-page .pa2-stories__wide {
    padding: 0 max(44px, calc((100% - 1920px) / 2 + 44px));
}

@media (max-width: 991px) {
    .pa2-page .pa2-stories__wide {
        padding: 0 var(--pa2-gutter);
    }

    .pa2-page .pa2-stories__wide .pa2-stories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }
}

@media (max-width: 767px) {
    .pa2-page .pa2-stories__wide .pa2-stories__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- FAQ: the site's component carries the look (grey band, square 15px boxes; user, 2026-12-03); the contact is
   the capability pages' (partials/contact), squared ---------- */
.pa2-page .gpau-hubspot-form-frame {
    border-radius: 0;
}

/* ---------- Shared bits for the product pages ---------- */
.pa2-page .pa2-center {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.pa2-page .pa2-btn--dark {
    background: #263238;
    color: #fff;
}

.pa2-page .pa2-btn--dark:hover,
.pa2-page .pa2-btn--dark:focus-visible {
    background: var(--pa2-ink);
    color: #fff;
    text-decoration: underline;
}

.pa2-page .pa2-btn--large {
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 600;
}

/* ---------- Overview cards (QuickScan / Diagnose / Recognized) ---------- */
.pa2-page .pa2-overview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
}

.pa2-page .pa2-ocard {
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(16, 21, 24, .12);
}

.pa2-page .pa2-ocard__head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .5) 0 25%, transparent 25% 50%, rgba(255, 255, 255, .3) 50% 62%, transparent 62%),
        linear-gradient(180deg, #e6eaeb 0%, #cfd6d8 100%);
}

.pa2-page .pa2-ocard__head::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 6px;
    background: var(--pa2-rainbow);
}

.pa2-page .pa2-ocard__icon {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: #127a87;
    stroke-width: 2.2;
    stroke-linecap: square;
}

.pa2-page .pa2-ocard__title {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: var(--pa2-text);
    text-align: center;
}

.pa2-page .pa2-ocard__body {
    flex: 1 1 auto;
    padding: 16px 20px 24px;
    background: var(--pa2-petrol);
    font-size: 14px;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-ocard__body p {
    line-height: normal;
}

.pa2-page .pa2-ocard__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 18px;
    list-style: disc;
}

/* ---------- Choose what to Assess ---------- */
.pa2-page .pa2-choose__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.pa2-page .pa2-choose__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: var(--pa2-text);
}

.pa2-page .pa2-choose__text {
    font-size: 16px;
    line-height: normal;
    color: var(--pa2-muted);
}

.pa2-page .pa2-choose__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 24px 20px;
    margin-bottom: 24px;
}

/* Without a button under it (QuickScan, user 2026-11-24) the grid ends the section on its own padding. */
.pa2-page .pa2-choose__grid:last-child {
    margin-bottom: 0;
}

.pa2-page .pa2-choose__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding-bottom: 14px;
    border-bottom: 4px solid var(--pa2-cap);
    font-size: 16px;
    line-height: normal;
    color: var(--pa2-text);
    text-align: center;
    text-decoration: none;
}

.pa2-page .pa2-choose__item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform .2s;
}

.pa2-page .pa2-choose__item:hover,
.pa2-page .pa2-choose__item:focus-visible {
    color: var(--pa2-text);
    text-decoration: none;
}

.pa2-page .pa2-choose__item:hover img,
.pa2-page .pa2-choose__item:focus-visible img {
    transform: translateY(-3px);
}

/* Recognized: on the Client Spotlight's colour (user, 2026-11-24). */
.pa2-page .pa2-choose--dark {
    background: #04191f;
}

/* The band's button centred under the capabilities (user, 2026-11-24). */
.pa2-page .pa2-choose__cta {
    display: flex;
    justify-content: center;
}

.pa2-page .pa2-choose--dark .pa2-choose__title,
.pa2-page .pa2-choose--dark .pa2-choose__item,
.pa2-page .pa2-choose--dark .pa2-choose__item:hover {
    color: #fff;
}

.pa2-page .pa2-choose--dark .pa2-choose__text {
    color: #c9d1d4;
}

/* ---------- How QuickScan Works (tabs) ---------- */
.pa2-page .pa2-works__inner {
    padding: 24px;
    background: linear-gradient(135deg, #f6f7f7 0%, #eceeef 100%);
    box-shadow: 0 6px 20px rgba(16, 21, 24, .08);
}

.pa2-page .pa2-works__title {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: var(--pa2-text);
}

/* The step-one advice under the title (workbook note 8, 2026-12-02). */
.pa2-page .pa2-works__intro {
    max-width: 980px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pa2-text);
}

.pa2-page .pa2-works__tablist {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--pa2-line);
}

.pa2-page .pa2-works__tab {
    margin-bottom: -1px;
    padding: 10px 16px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: none;
    font-family: 'Poppins', 'Poppins Fallback', sans-serif;
    font-size: 14px;
    color: var(--pa2-muted);
    cursor: pointer;
}

.pa2-page .pa2-works__tab:hover {
    color: var(--pa2-text);
}

.pa2-page .pa2-works__tab[aria-selected="true"] {
    border-bottom-color: var(--pa2-teal);
    font-weight: 600;
    color: var(--pa2-text);
}

.pa2-page .pa2-works__panel {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 40px;
    align-items: center;
}

/* Every panel in the same grid cell, the inactive ones hidden (also from screen readers and the tab order): the tallest
   step sets the height, so a tab change, also on its own every 3 seconds, never moves the page (user, 2026-11-24). */
.pa2-page .pa2-works__panels {
    display: grid;
}

.pa2-page .pa2-works__panels > .pa2-works__panel {
    grid-area: 1 / 1;
}

.pa2-page .pa2-works__panel[data-pa2-hidden] {
    visibility: hidden;
}

.pa2-page .pa2-works__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pa2-page .pa2-works__step {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: var(--pa2-text);
}

.pa2-page .pa2-works__text {
    font-size: 14px;
    line-height: normal;
    color: var(--pa2-text);
}

/* The white frame keeps the old 2000 × 1450 screenshot's size, so the tabs never move the page; the screenshot, cropped
   to its content, fills it with 16px of white all round (user, 2026-11-24: the picture larger in the frame). */
.pa2-page .pa2-works__frame {
    aspect-ratio: 2000 / 1450;
    padding: 16px;
    border: 1px solid var(--pa2-line);
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 21, 24, .1);
}

.pa2-page .pa2-works__shot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------- Explore Expert-Led Assessment Services ---------- */
.pa2-page .pa2-expert {
    padding: 24px 0;
    background: var(--pa2-ink-800);
    color: #fff;
}

.pa2-page .pa2-expert__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.pa2-page .pa2-expert__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

/* The PerforAssess mark: the left part of the product logo (its first 46%). */
.pa2-page .pa2-expert__mark {
    flex: 0 0 auto;
    width: 92px;
    height: 37px;
    overflow: hidden;
}

.pa2-page .pa2-expert__mark img {
    width: 200px;
    max-width: none;
    height: 37.5px;
}

.pa2-page .pa2-expert__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pa2-page .pa2-expert__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 40px 0 0;
    color: #fff;
}

.pa2-page .pa2-expert__item + .pa2-expert__item {
    padding: 0 0 0 40px;
    border-left: 1px solid rgba(255, 255, 255, .4);
}

.pa2-page .pa2-expert__logo {
    width: min(400px, 100%);
}

.pa2-page .pa2-expert__text {
    font-size: 16px;
    line-height: normal;
}

/* ---------- Light button (on dark bands) ---------- */
.pa2-page .pa2-btn--light {
    background: #fff;
    color: var(--pa2-text);
}

.pa2-page .pa2-btn--light:hover,
.pa2-page .pa2-btn--light:focus-visible {
    color: var(--pa2-text);
    text-decoration: underline;
}

/* ---------- Assessment at a Glance / Service Overview ---------- */
.pa2-page .pa2-glance__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
    padding-top: 32px;
}

.pa2-page .pa2-gcard {
    display: flex;
    flex-direction: column;
}

.pa2-page .pa2-gcard__head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 16px 18px;
    background: var(--pa2-grey-50);
}

/* The icon on a white square tile half above the head (the mockup's circle, squared). */
.pa2-page .pa2-gcard__icon {
    position: absolute;
    top: -32px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--pa2-grey-50);
    border: 4px solid #fff;
    transform: translateX(-50%);
}

.pa2-page .pa2-gcard__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.pa2-page .pa2-gcard__title {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: var(--pa2-text);
    text-align: center;
}

.pa2-page .pa2-gcard__list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 22px 34px;
    background: #263238;
    list-style: disc;
    font-size: 14px;
    line-height: normal;
    color: #fff;
}

/* ---------- Numbered process ---------- */
.pa2-page .pa2-steps__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.pa2-page .pa2-steps__eyebrow {
    font-size: 14px;
    line-height: normal;
    color: var(--pa2-muted);
}

.pa2-page .pa2-steps__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: var(--pa2-text);
}

.pa2-page .pa2-steps__grid {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pa2-page .pa2-steps__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pa2-page .pa2-steps__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pa2-page .pa2-steps__grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pa2-page .pa2-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 24px;
    background: #f7f8f8;
    border: 1px solid #eceeee;
    box-shadow: 0 4px 14px rgba(16, 21, 24, .06);
}

.pa2-page .pa2-step__number {
    font-size: 44px;
    font-weight: 400;
    line-height: 1;
    color: #0b8a9a;
}

.pa2-page .pa2-step__title {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: var(--pa2-text);
}

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

/* ---------- Recognition band (capability-page.css .cap-recognition metrics) ---------- */
.pa2-page .pa2-recognition {
    padding: 44px 0;
    background: var(--pa2-ink-800);
    color: #fff;
}

.pa2-page .pa2-recognition__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pa2-page .pa2-recognition__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    gap: 12px;
    container-type: inline-size;
}

.pa2-page .pa2-recognition__title {
    font-size: 24px;
    font-size: clamp(20px, 6.2cqi, 30px);
    font-weight: 400;
    line-height: 1.25;
    color: #fff;
}

.pa2-page .pa2-recognition__title span {
    display: block;
}

.pa2-page .pa2-recognition__badges {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pa2-page .pa2-recognition__badge {
    position: relative;
    flex: 0 1 186px;
    aspect-ratio: 1;
}

.pa2-page .pa2-recognition__badge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(var(--pa2-badge-scale, 1));
    transition: transform .3s ease;
}

.pa2-page .pa2-recognition__badge:hover img {
    transform: scale(calc(var(--pa2-badge-scale, 1) * 1.05));
}

.pa2-page .pa2-recognition__arrow {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
}

@media (min-width: 768px) {
    .pa2-page .pa2-recognition {
        padding: 45px 0;
    }

    .pa2-page .pa2-recognition__badge,
    .pa2-page .pa2-level__badge {
        --pa2-badge-scale: 1.1;
    }
}

@media (min-width: 1200px) {
    .pa2-page .pa2-recognition__intro {
        flex: 1 1 0;
        min-width: 0;
    }

    .pa2-page .pa2-recognition__badges {
        flex: 0 0 auto;
    }

    .pa2-page .pa2-recognition__badge {
        flex: 0 0 186px;
        width: 186px;
    }
}

/* ---------- Cyan outline button (dark petrol bands) ---------- */
/* White outline at the standard 14px (outline-light is the hero's 16px): the "View Case Study" buttons on the dark
   bands, as every other button there is white (user, 2026-11-24; they were cyan). White fill on hover. */
.pa2-page .pa2-btn--outline-white {
    border-color: #fff;
    color: #fff;
}

.pa2-page .pa2-btn--outline-white:hover,
.pa2-page .pa2-btn--outline-white:focus-visible {
    background: #fff;
    color: var(--pa2-text);
}

/* ---------- QuickScan promo, on the Client Spotlight's colour (user, 2026-11-24; it was the hexagon glow) ---------- */
.pa2-page .pa2-promo {
    padding: 24px 0;
    background: #04191f;
}

.pa2-page .pa2-promo__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.pa2-page .pa2-promo__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    text-align: center;
}

/* The picture carries its own glow and fades into the band (workbook note 16, 2026-12-02): no frame or shadow. */
.pa2-page .pa2-promo__image {
    width: min(1040px, 100%);
}

/* ---------- Success Stories on deep petrol ---------- */
/* On the Client Spotlight's colour (user, 2026-11-24), full width as the homepage-v4 cases: title, link and cards 44px
   off the edge up to the 1920px block, 2 per row on tablets and 1 on phones. The colours are the other dark bands':
   white title and company names, the cyan accent for the link and the buttons. */
.pa2-page .pa2-success {
    background: #04191f;
    color: #fff;
}

.pa2-page .pa2-success__wide {
    padding: 0 max(44px, calc((100% - 1920px) / 2 + 44px));
}

.pa2-page .pa2-success__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.pa2-page .pa2-success__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-success__all {
    font-size: 14px;
    color: var(--pa2-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pa2-page .pa2-success__all:hover,
.pa2-page .pa2-success__all:focus-visible {
    color: #fff;
}

.pa2-page .pa2-success__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pa2-page .pa2-success__cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #0c2a32;
}

.pa2-page .pa2-success__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0 0;
}

.pa2-page .pa2-success__name {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: #fff;
}

/* The same on white (/perforassess-v2, workbook note 5, 2026-12-02): ink title and names, the link in the darker teal
   (5.9:1 on white; the cyan is 2.7:1), the white outline buttons swapped for the dark ones in the markup. */
.pa2-page .pa2-success--light {
    background: #fff;
    color: var(--pa2-text);
}

.pa2-page .pa2-success--light .pa2-success__title,
.pa2-page .pa2-success--light .pa2-success__name {
    color: var(--pa2-ink);
}

.pa2-page .pa2-success--light .pa2-success__all {
    color: #0a6f7c;
}

.pa2-page .pa2-success--light .pa2-success__all:hover,
.pa2-page .pa2-success--light .pa2-success__all:focus-visible {
    color: var(--pa2-ink);
}

.pa2-page .pa2-success--light .pa2-success__cover {
    background: var(--pa2-grey-50);
}

/* Tablets two per row, phones one (homepage-v4 cases); after the grid's own rule so they win. */
@media (max-width: 991px) {
    .pa2-page .pa2-success__wide {
        padding: 0 var(--pa2-gutter);
    }

    .pa2-page .pa2-success__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pa2-page .pa2-success__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Certificates ---------- */
/* 5.9:1 on white (it was #0b8a9a, 4.1:1; Lighthouse, user 2026-11-24). */
.pa2-page .pa2-certificates__text {
    color: #0a6f7c;
}

/* One full-width row (user, 2026-12-02): the Success Stories' edges, as many columns as certificates (--pa2-cert-count:
   six now, seven with Employee Performance Management). */
.pa2-page .pa2-certificates__wide {
    padding: 0 max(44px, calc((100% - 1920px) / 2 + 44px));
}

.pa2-page .pa2-certificates__grid {
    display: grid;
    grid-template-columns: repeat(var(--pa2-cert-count, 6), minmax(0, 1fr));
    gap: 16px;
}

/* Each certificate opens larger in the lightbox (user, 2026-12-02). */
.pa2-page .pa2-certificates__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: zoom-in;
}

.pa2-page .pa2-certificates__grid img {
    width: 100%;
    box-shadow: 0 8px 22px rgba(16, 21, 24, .14);
    transition: transform .2s;
}

.pa2-page .pa2-certificates__grid img:hover {
    transform: translateY(-3px);
}

/* ---------- Client spotlight (PIF) ---------- */
.pa2-page .pa2-spotlight {
    padding: 44px 0;
    background: #04191f;
    color: #fff;
}

/* The video larger and as tall as the copy beside it (user, 2026-11-24): the cyan eyebrow above both columns, the video
   level with the title; on the 1278px container (≥1366) 1fr : 1.66fr gives a 770 × 430 video beside 428px of copy
   (measured; it was 616 × 346). Below 1200 the copy would get too narrow: the halves again, top-aligned. */
.pa2-page .pa2-spotlight__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.66fr);
    gap: 8px 44px;
    align-items: start;
}

@media (max-width: 1199px) {
    .pa2-page .pa2-spotlight__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.pa2-page .pa2-spotlight__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pa2-page .pa2-spotlight__eyebrow {
    grid-column: 1 / -1;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pa2-cyan);
}

.pa2-page .pa2-spotlight__title {
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-spotlight__text {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: normal;
    color: #e3eaec;
}

.pa2-page .pa2-spotlight__point h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-spotlight__point p {
    font-size: 14px;
    line-height: normal;
    color: #c9d1d4;
}

.pa2-page .pa2-spotlight__note {
    margin-top: 8px;
    font-size: 14px;
    line-height: normal;
    color: #9fb0b5;
}

/* ---------- Photo banner with a caption bar ---------- */
/* Straight under the Client Spotlight, no white gap (user, 2026-11-24). */
.pa2-page > .pa2-spotlight + .pa2-photo-banner {
    margin-top: 0;
}

/* At the photo's own ratio (from its width and height), so it is never stretched or cut (user, 2026-11-24). */
.pa2-page .pa2-photo-banner__image {
    width: 100%;
    max-width: none;
    height: auto;
}

/* The Client Spotlight's colour above and below the photo; the caption a white headline between the card names (16px)
   and the band titles (24px), medium weight (user, 2026-11-24; it was cyan 16 / 600 on #0b292e). */
.pa2-page .pa2-photo-banner__bar {
    padding: 12px 0;
    background: #04191f;
}

.pa2-page .pa2-photo-banner__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pa2-page .pa2-photo-banner__caption {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    color: #fff;
}

/* ---------- Recognition pages: hero variants ---------- */
.pa2-page .pa2-btn--hero {
    padding: 8px 20px;
    font-size: 16px;
}

/* Hall of Fame: the logo centred on the dark hero, the h1 for screen readers only (Excel note 1). */
.pa2-page.pa2-page--dark {
    background: var(--pa2-ink-800);
}

.pa2-page .pa2-hero--center {
    min-height: 420px;
}

.pa2-page .pa2-hero--center .pa2-hero__inner {
    justify-content: center;
}

.pa2-page .pa2-hero--center .pa2-hero__logo {
    width: min(420px, 70%);
}

/* ---------- Levels of Achievement ---------- */
.pa2-page .pa2-levels__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pa2-page .pa2-level {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--pa2-line);
    background: #fff;
}

.pa2-page .pa2-level__eyebrow {
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0b8a9a;
}

.pa2-page .pa2-level__title {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: var(--pa2-text);
}

/* The badge at the capability pages' size: a 186px frame, the picture 10% larger from 768px. */
.pa2-page .pa2-level__badge {
    position: relative;
    align-self: center;
    width: min(186px, 100%);
    aspect-ratio: 1;
    margin: 12px 0;
}

.pa2-page .pa2-level__badge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(var(--pa2-badge-scale, 1));
}

.pa2-page .pa2-level__subtitle {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    color: var(--pa2-text);
}

.pa2-page .pa2-level__points {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 18px;
    list-style: disc;
    font-size: 14px;
    line-height: normal;
    color: var(--pa2-muted);
}

/* Folded to about five lines; "Read More" unfolds (perforassess-v2.js shows it only when the points are longer). */
.pa2-page .pa2-level.is-folded .pa2-level__points {
    max-height: 104px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
}

.pa2-page .pa2-level__more {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', sans-serif;
    font-size: 14px;
    color: #0b8a9a;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.pa2-page .pa2-level__less-label,
.pa2-page .pa2-level__more[aria-expanded="true"] .pa2-level__more-label {
    display: none;
}

.pa2-page .pa2-level__more[aria-expanded="true"] .pa2-level__less-label {
    display: inline;
}

.pa2-page .pa2-level__cta {
    width: 100%;
    margin-top: auto;
    white-space: normal;
    text-align: center;
}

/* ---------- Hall of Fame honorees ---------- */
.pa2-page .pa2-honorees {
    background: var(--pa2-ink-800);
    color: #fff;
}

/* Certification: the PIF video's cream band straight under the certificates, no white band (user, 2026-11-24). */
.pa2-page > .pa2-honorees + .pa2-video-block {
    margin-top: 0;
}

/* Awards: the coloured sections touch, no white bands between them (user, 2026-11-24); the white sections (categories,
   process, stories) keep their 24px. */
.pa2-page > .pa2-hero + .pa2-award-types,
.pa2-page > .pa2-award-types + .pa2-categories,
.pa2-page > .pa2-gallery + .pa2-video-block,
.pa2-page > .pa2-video-block + .pa2-hof-band,
.pa2-page > .pa2-hof-band + .gpau-faq {
    margin-top: 0;
}

.pa2-page .pa2-honorees .pa2-heading__title {
    color: #fff;
}

.pa2-page .pa2-honorees .pa2-heading__text {
    color: #c9d1d4;
}

/* Excel note 2: a gold line under the Hall of Fame logo, the certificates' width, between the two areas. */
.pa2-page .pa2-gold-rule {
    height: 2px;
    max-width: 1080px;
    margin: 0 auto 32px;
    border: 0;
    background: linear-gradient(90deg, transparent 0%, #b8913c 12%, #f1d27c 50%, #b8913c 88%, transparent 100%);
    opacity: 1;
}

/* And under the certificates, at half its thickness, mirrored (user, 2026-12-04: "o linie aurie cum este sus si jos
   dupa certificate. da la jumate din grosimea de sus"). */
.pa2-page .pa2-gold-rule--end {
    height: 1px;
    margin: 32px auto 0;
}

.pa2-page .pa2-honorees__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.pa2-page .pa2-honoree {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pa2-page .pa2-honoree__head {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.pa2-page .pa2-honoree__logo {
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

.pa2-page .pa2-honoree__logo img {
    max-width: 56px;
    max-height: 56px;
    object-fit: contain;
}

.pa2-page .pa2-honoree__name {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-honoree__certificate {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: zoom-in;
}

.pa2-page .pa2-honoree__certificate img {
    width: 100%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    transition: transform .2s;
}

.pa2-page .pa2-honoree__certificate:hover img,
.pa2-page .pa2-honoree__certificate:focus-visible img {
    transform: translateY(-3px);
}

/* Certification's "Formal Recognition Certificates" (user, 2026-12-02): four certificates, one per level, the level's
   name over each (in place of the companies' logo and name), on the same dark band. */
.pa2-page .pa2-honorees__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
}

.pa2-page .pa2-level-cert {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pa2-page .pa2-level-cert__name {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-level-cert__certificate {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: zoom-in;
}

/* The shapes differ a little (A4 PDFs, a frame-cropped award, the Hall of Fame scan): each in an A4 white frame. */
.pa2-page .pa2-level-cert__certificate img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1240 / 1755;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    transition: transform .2s;
}

.pa2-page .pa2-level-cert__certificate:hover img,
.pa2-page .pa2-level-cert__certificate:focus-visible img {
    transform: translateY(-3px);
}

/* Certification's lightbox (user, 2026-12-02): the certificate alone, as tall as the screen allows, in the cards' A4
   frame (so the four open at one size); Previous / Next beside it (over its edges on portrait phones). */
/* .pa2-dialog.pa2-dialog--image: the generic dialog's rules (920px, white) come later in the file. */
.pa2-page .pa2-dialog.pa2-dialog--image {
    width: fit-content;
    height: fit-content;
    max-width: none;
    max-height: none;
    overflow: visible;
    background: transparent;
}

/* 15% under the screen's height (user, 2026-12-02: "smaller by 15% when open"). */
.pa2-page .pa2-dialog--image .pa2-dialog__image {
    display: block;
    width: auto;
    height: min(calc((100dvh - 48px) * .85), 935px);
    max-width: calc(100vw - 32px);
    aspect-ratio: 1240 / 1755;
    object-fit: contain;
    background: #fff;
}

@media (max-aspect-ratio: 1240 / 1755) {
    .pa2-page .pa2-dialog--image .pa2-dialog__image {
        width: calc(100vw - 32px);
        height: auto;
    }
}

/* The three controls one size (44 x 44, the touch-target minimum) and one look (UI/UX skill, user 2026-12-02). */
.pa2-page .pa2-lightbox__nav {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.pa2-page .pa2-dialog--image .pa2-dialog__close,
.pa2-page .pa2-lightbox__nav {
    background: rgba(255, 255, 255, .92);
    color: var(--pa2-ink);
}

.pa2-page .pa2-dialog--image .pa2-dialog__close:hover,
.pa2-page .pa2-dialog--image .pa2-dialog__close:focus-visible,
.pa2-page .pa2-lightbox__nav:hover,
.pa2-page .pa2-lightbox__nav:focus-visible {
    background: #fff;
}

.pa2-page .pa2-lightbox__nav--prev {
    left: -60px;
}

.pa2-page .pa2-lightbox__nav--next {
    right: -60px;
}

/* No room beside the certificate (it is as wide as the screen): the buttons over its edges. */
@media (max-width: 767px), (max-aspect-ratio: 1240 / 1755) {
    .pa2-page .pa2-lightbox__nav--prev {
        left: 8px;
    }

    .pa2-page .pa2-lightbox__nav--next {
        right: 8px;
    }

    .pa2-page .pa2-dialog--image .pa2-dialog__close,
    .pa2-page .pa2-lightbox__nav {
        box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    }
}

/* The certificate dialog (native <dialog>). */
.pa2-page .pa2-dialog {
    width: min(920px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--pa2-text);
}

.pa2-page .pa2-dialog::backdrop {
    background: rgba(8, 20, 26, .75);
}

/* 44 x 44, the touch-target minimum (UI/UX skill, 2026-12-02; it was 40), as the lightbox's arrows. */
.pa2-page .pa2-dialog__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: var(--pa2-grey-50);
    font-size: 24px;
    line-height: 1;
    color: var(--pa2-text);
    cursor: pointer;
}

.pa2-page .pa2-dialog__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 24px;
}

.pa2-page .pa2-dialog__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 32px;
}

.pa2-page .pa2-dialog__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}

.pa2-page .pa2-dialog__text {
    font-size: 14px;
    line-height: normal;
    color: var(--pa2-muted);
}

.pa2-page .pa2-dialog__date {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
}

/* ---------- Centred video ---------- */
.pa2-page .pa2-video-block--cream {
    background: #f6f2ea;
}

.pa2-page .pa2-video-block__frame {
    max-width: 880px;
    margin: 0 auto;
    box-shadow: 0 10px 28px rgba(16, 21, 24, .18);
}

/* The text beside the video (PEFAG Highlights; workbook, user 2026-11-24): video 60%, text 40%, the copy at the page's
   14px with its list, the button under it; stacked below 992px. */
.pa2-page .pa2-video-block--split .pa2-video-block__body {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 40px;
    align-items: center;
}

.pa2-page .pa2-video-block--split .pa2-video-block__frame {
    max-width: none;
    margin: 0;
}

/* The longer title on one line over the two columns (760px left "Gala" alone on a second line). */
.pa2-page .pa2-video-block--split .pa2-heading {
    max-width: none;
}

.pa2-page .pa2-video-block__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.pa2-page .pa2-video-block__text,
.pa2-page .pa2-video-block__points {
    font-size: 14px;
    line-height: 1.5;
    color: var(--pa2-text);
}

.pa2-page .pa2-video-block__points {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 18px;
    list-style: disc;
}

.pa2-page .pa2-video-block__copy .pa2-btn {
    margin-top: 4px;
}

@media (max-width: 991px) {
    .pa2-page .pa2-video-block--split .pa2-video-block__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/* A square play badge over the poster (nothing rounded). */
.pa2-page .pa2-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    background: rgba(4, 25, 31, .85);
    transform: translate(-50%, -50%);
    transition: background-color .2s;
}

.pa2-page .pa2-video__play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    width: 22px;
    height: 26px;
    background: #fff;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: translate(-50%, -50%);
}

.pa2-page .pa2-video:hover .pa2-video__play,
.pa2-page .pa2-video:focus-visible .pa2-video__play {
    background: var(--pa2-teal-dark);
}

/* ---------- Square arrows (badge panel, gallery) ---------- */
.pa2-page .pa2-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--pa2-line);
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}

.pa2-page .pa2-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--pa2-text);
    border-right: 2px solid var(--pa2-text);
}

.pa2-page .pa2-arrow--prev {
    left: 16px;
}

.pa2-page .pa2-arrow--prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.pa2-page .pa2-arrow--next {
    right: 16px;
}

.pa2-page .pa2-arrow--next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.pa2-page .pa2-arrow:hover,
.pa2-page .pa2-arrow:focus-visible {
    background: var(--pa2-grey-50);
}

/* ---------- Award categories ---------- */
/* On black, as the workbook's dark variant (user, 2026-11-24), a little refined: the page's near-black (#101518, the
   screenshot's #0b0d10), white title and light text as on the other dark bands, no rule under the head. */
.pa2-page .pa2-categories {
    background: var(--pa2-ink);
    color: #fff;
}

.pa2-page .pa2-categories__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.pa2-page .pa2-categories__title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-categories__text {
    max-width: 980px;
    font-size: 16px;
    line-height: normal;
    color: #c9d1d4;
}

/* The list and the badges one group in the middle of the container, the list close to the badges (user, 2026-12-02;
   they were the list on the left edge and the badges in the middle of the rest). */
.pa2-page .pa2-categories__body {
    display: grid;
    grid-template-columns: minmax(260px, 340px) auto;
    justify-content: center;
    column-gap: clamp(32px, 6vw, 80px);
    row-gap: 32px;
    align-items: center;
}

.pa2-page .pa2-categories__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pa2-page .pa2-categories__tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: 'Poppins', 'Poppins Fallback', sans-serif;
    font-size: 16px;
    line-height: normal;
    color: #e9ebeb;
    text-align: left;
    cursor: pointer;
}

.pa2-page .pa2-categories__tab img {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.pa2-page .pa2-categories__tab:hover {
    background: rgba(255, 255, 255, .05);
}

.pa2-page .pa2-categories__tab[aria-selected="true"] {
    background: rgba(255, 255, 255, .08);
    font-weight: 600;
    color: #fff;
}

/* The badges larger (260px, was 205) straight on the black, no panel or arrows (the workbook's dark variant). */
.pa2-page .pa2-categories__panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.pa2-page .pa2-categories__badges[data-pa2-hidden] {
    display: none;
}

/* Two badges in one picture (trimmed of its margins; a transparent band at its middle, x 537-560 of 1100), 260px tall:
   each badge a window on its half, 32px apart (user, 2026-12-02: "a little more airy"; they were ~10px apart). */
.pa2-page .pa2-categories__badges {
    display: flex;
    gap: 32px;
}

.pa2-page .pa2-categories__badge {
    display: block;
    height: 260px;
    aspect-ratio: 550 / 548;
    overflow: hidden;
}

.pa2-page .pa2-categories__badge img {
    display: block;
    width: 200%;
    max-width: none;
    height: auto;
}

.pa2-page .pa2-categories__badge--right img {
    margin-left: -100%;
}

/* ---------- Award Types ---------- */
.pa2-page .pa2-award-types {
    background: #f3f1ea;
}

.pa2-page .pa2-award-types__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* One card per row below 1366: side by side the text outgrew the certificate, which then left a gap under it (user,
   2026-11-24: the certificate in the card's corners). */
@media (max-width: 1365px) {
    .pa2-page .pa2-award-types__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 760px;
        margin: 0 auto;
    }
}

/* The certificate larger, the text a little narrower (workbook "Recogniton Tabs", user 2026-11-24): 1.2 : 1, a thinner
   mat, the certificates' empty margins cut. */
.pa2-page .pa2-award-type {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
    padding: 0;
    background: #12313a;
    color: #fff;
}

/* The certificate flush in the card's corners, no mat (user, 2026-11-24: no space between the edge and the certificate). */
.pa2-page .pa2-award-type__media {
    padding: 0;
    background: none;
}

.pa2-page .pa2-award-type__media img {
    display: block;
    width: 100%;
}

.pa2-page .pa2-award-type__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 20px 20px 0;
}

.pa2-page .pa2-award-type__tag {
    padding: 4px 10px;
    background: #0b8a9a;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-award-type__title {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-award-type__text {
    font-size: 14px;
    line-height: normal;
    color: #d7dfe1;
}

/* ---------- Induction Ceremony gallery ---------- */
.pa2-page .pa2-gallery {
    background: #0b1d24;
    color: #fff;
}

.pa2-page .pa2-gallery .pa2-heading__title {
    color: #fff;
}

.pa2-page .pa2-gallery .pa2-heading__text {
    color: #c9d1d4;
}

.pa2-page .pa2-gallery__stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.pa2-page .pa2-gallery__side {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    opacity: .45;
}

.pa2-page .pa2-gallery__main {
    margin: 0;
}

.pa2-page .pa2-gallery__main img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.pa2-page .pa2-gallery__stage .pa2-arrow--prev {
    left: calc(100% / 5.2 + 24px);
}

.pa2-page .pa2-gallery__stage .pa2-arrow--next {
    right: calc(100% / 5.2 + 24px);
}

.pa2-page .pa2-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.pa2-page .pa2-gallery__thumb {
    display: block;
    flex: 0 0 auto;
    border: 2px solid transparent;
    opacity: .7;
}

.pa2-page .pa2-gallery__thumb img {
    width: 96px;
    height: 64px;
    object-fit: cover;
}

.pa2-page .pa2-gallery__thumb:hover,
.pa2-page .pa2-gallery__thumb.is-active {
    border-color: var(--pa2-cyan);
    opacity: 1;
}

/* ---------- Hall of Fame band ---------- */
.pa2-page .pa2-hof-band {
    background: #22292c;
    color: #fff;
}

.pa2-page .pa2-hof-band__logo {
    width: min(260px, 60%);
    margin: 0 auto 24px;
}

.pa2-page .pa2-hof-band__photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.pa2-page .pa2-hof-band__photos img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .18);
}

.pa2-page .pa2-hof-band__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.pa2-page .pa2-hof-band__title {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #fff;
}

.pa2-page .pa2-hof-band__text {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: normal;
    color: #c9d1d4;
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1199px) {
    .pa2-page .pa2-suite-card__body {
        padding: 20px;
    }

    .pa2-page .pa2-suite-card__body dt,
    .pa2-page .pa2-suite-card__body dd {
        font-size: 14px;
    }

    .pa2-page .pa2-feature__grid {
        gap: 32px;
    }
}

@media (max-width: 1199px) {
    .pa2-page .pa2-choose__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pa2-page .pa2-steps__grid--4,
    .pa2-page .pa2-steps__grid--5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pa2-page .pa2-levels__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* As on the capability pages: the title above, the badge row across the width. */
    .pa2-page .pa2-recognition__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pa2-page .pa2-recognition__badges {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 991px) {
    .pa2-page {
        --pa2-gutter: 24px;
    }

    .pa2-page .pa2-overview__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
    }

    .pa2-page .pa2-glance__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 48px;
    }

    .pa2-page .pa2-certificates__wide {
        padding: 0 var(--pa2-gutter);
    }

    .pa2-page .pa2-certificates__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pa2-page .pa2-spotlight__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .pa2-page .pa2-photo-banner__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .pa2-page .pa2-honorees__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa2-page .pa2-categories__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .pa2-page .pa2-gallery__stage {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 2 * var(--pa2-gutter));
        margin: 0 auto;
    }

    .pa2-page .pa2-gallery__side {
        display: none;
    }

    .pa2-page .pa2-gallery__stage .pa2-arrow--prev {
        left: 8px;
    }

    .pa2-page .pa2-gallery__stage .pa2-arrow--next {
        right: 8px;
    }

    .pa2-page .pa2-dialog__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .pa2-page .pa2-dialog__image {
        max-width: 320px;
    }

    .pa2-page .pa2-steps__grid--3,
    .pa2-page .pa2-steps__grid--4,
    .pa2-page .pa2-steps__grid--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa2-page .pa2-works__inner {
        padding: 24px;
    }

    .pa2-page .pa2-works__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .pa2-page .pa2-expert__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .pa2-page .pa2-expert__item,
    .pa2-page .pa2-expert__item + .pa2-expert__item {
        padding: 0;
        border-left: 0;
    }

    .pa2-page .pa2-expert__item + .pa2-expert__item {
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, .3);
    }

    .pa2-page .pa2-hero {
        min-height: 440px;
    }

    .pa2-page .pa2-hero__inner {
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        padding: 40px 0 24px;
    }

    /* The Hall of Fame logo (centre variant, its page and its slide) stays centred when the hero stacks, as on desktop
       (user, 2026-12-04: "trebuie sa fie centrat pe mijloc peste tot ca pe desktop"). */
    .pa2-page .pa2-hero--center .pa2-hero__inner {
        align-items: center;
    }

    .pa2-page .pa2-hero__logo {
        width: calc(min(360px, 80%) * var(--pa2-logo-k, 1));
    }

    .pa2-page .pa2-suite__grid,
    .pa2-page .pa2-stories__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
        margin: 0 auto;
    }

    .pa2-page .pa2-feature__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pa2-page .pa2-band__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .pa2-page .pa2-capband__icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 24px;
    }
}

@media (max-width: 767px) {
    .pa2-page .pa2-heading__title {
        font-size: 22px;
    }

    .pa2-page .pa2-success__head {
        flex-direction: column;
        gap: 4px;
    }

    /* Phones: a slider, not a stack (user, 2026-12-02): one certificate and part of the next, snapping, the row running
       edge to edge (a click still opens the lightbox). */
    .pa2-page .pa2-certificates__wide {
        padding: 0;
    }

    .pa2-page .pa2-certificates__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100vw - 48px) / 1.6);
        gap: 12px;
        overflow-x: auto;
        padding: 4px 24px 18px;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 24px;
        scrollbar-width: none;
    }

    .pa2-page .pa2-certificates__grid::-webkit-scrollbar {
        display: none;
    }

    .pa2-page .pa2-certificates__grid > li {
        scroll-snap-align: start;
    }

    .pa2-page .pa2-levels__grid,
    .pa2-page .pa2-honorees__grid,
    .pa2-page .pa2-hof-band__photos {
        grid-template-columns: minmax(0, 1fr);
    }

    .pa2-page .pa2-honorees__grid {
        max-width: 420px;
    }

    .pa2-page .pa2-award-type {
        grid-template-columns: minmax(0, 1fr);
    }

    .pa2-page .pa2-award-type__copy {
        padding: 0 16px 20px;
    }

    .pa2-page .pa2-categories__panel {
        min-height: 0;
        padding: 16px 0;
    }

    /* The full width, so the badges' height is kept before they load (no jump, also when the autoplay shows a
       category for the first time). */
    .pa2-page .pa2-categories__badges {
        width: 100%;
        gap: 16px;
    }

    .pa2-page .pa2-categories__badge {
        flex: 1 1 0;
        height: auto;
    }

    .pa2-page .pa2-glance__grid,
    .pa2-page .pa2-steps__grid--3,
    .pa2-page .pa2-steps__grid--4,
    .pa2-page .pa2-steps__grid--5 {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Recognition: 2 × 2, no arrows (capability pages). */
    .pa2-page .pa2-recognition__title span {
        display: inline;
    }

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

    .pa2-page .pa2-recognition__badge {
        width: 100%;
    }

    .pa2-page .pa2-recognition__arrow {
        display: none;
    }

    /* Seven capabilities: three per row, the last one centred under them. */
    .pa2-page .pa2-choose__grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 0;
    }

    .pa2-page .pa2-choose__grid li {
        flex: 0 0 33.333%;
        padding: 0 6px;
    }

    .pa2-page .pa2-choose__item {
        font-size: 13px;
    }

    .pa2-page .pa2-choose__item img {
        width: 52px;
        height: 52px;
    }

    /* The three tabs one under the other on phones (no label cut off), the current one marked on its left. */
    .pa2-page .pa2-works__inner {
        padding: 20px 16px 24px;
    }

    .pa2-page .pa2-works__tablist {
        flex-direction: column;
        gap: 0;
        border-bottom: 0;
    }

    .pa2-page .pa2-works__tab {
        margin: 0;
        padding: 10px 12px;
        border-bottom: 1px solid var(--pa2-line);
        border-left: 3px solid transparent;
        font-size: 15px;
        text-align: left;
    }

    .pa2-page .pa2-works__tab[aria-selected="true"] {
        border-bottom-color: var(--pa2-line);
        border-left-color: var(--pa2-teal);
        background: #fff;
    }


    .pa2-page .pa2-hero__title {
        font-size: 26px;
        line-height: 34px;
    }

    .pa2-page .pa2-hero__logo {
        width: calc(min(300px, 86%) * var(--pa2-logo-k, 1));
    }

    /* Four tabs do not fit a phone's width: two per row, each with its rule (no tab hidden off-screen). */
    .pa2-page .pa2-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 16px;
    }

    .pa2-page .pa2-tabs__tab {
        font-size: 15px;
        white-space: normal;
    }

    /* Recognition pages (user, 2026-12-04: "in loc la hall of fame sa punem iconul de la hall of fame cu link catre
       pagina. si sa fie la mijloc. si toate trei pe acelasi rand"): the row holding the Hall of Fame badge = one row of
       three, the badge (56px, the filled one the Recognition page shows) in the middle. Visual order only: the DOM
       keeps Recognition · Awards · Hall of Fame (desktop's, and the hero slider's index). The label stays for screen
       readers. Without :has() the 2 + 1 grid above stays, the badge on the second row. */
    .pa2-page .pa2-tabs:has(.pa2-tabs__tab--icon) {
        display: flex;
        gap: 8px;
    }

    .pa2-page .pa2-tabs:has(.pa2-tabs__tab--icon) > .pa2-tabs__tab:first-child {
        order: -2;
    }

    .pa2-page .pa2-tabs__tab--icon {
        order: -1;
    }

    .pa2-page .pa2-tabs__icon {
        display: block;
        width: auto;
        height: 56px;
        margin: 0 auto;
    }

    .pa2-page .pa2-tabs__tab--icon .pa2-tabs__label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    /* Certification and Awards heroes, two buttons (user, 2026-12-04: "butoanele ... din stanga in dreapta", chose full
       width): on phones both span the row, one under the other, as on homepage-v4 and PEFAG 2027; also on their slides
       in the Recognition slider. Single-button heroes keep their width. */
    .pa2-page .pa2-hero .pa2-buttons:has(.pa2-btn--hero) {
        flex-direction: column;
        align-self: stretch;
        align-items: stretch;
    }

    /* Five capabilities: three per row, the last two centred under them. */
    .pa2-page .pa2-capband__icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 0;
    }

    .pa2-page .pa2-capband__icons li {
        flex: 0 0 33.333%;
        padding: 0 4px;
    }

    .pa2-page .pa2-capband__icon {
        font-size: 13px;
    }

    .pa2-page .pa2-capband__icon img {
        width: 48px;
        height: 48px;
    }

    .pa2-page .pa2-capband .pa2-btn {
        white-space: normal;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pa2-page .pa2-hero__slide,
    .pa2-page .pa2-suite-card,
    .pa2-page .pa2-capband__icon img {
        transition: none;
    }
}

/* ---------- Hero slider (user, 2026-12-03: "sa functioneze cum functioneaza acum pe academy-v2") ----------
   /perforassess-v2 and /recognition-and-certification-v2 show their group's page heroes in turn (partials/hero-slider,
   perforassess-v2.js). The change is /academy-v2's (= /insights-v2's): the title, text and logo fade out (.25s), the
   picture dims to .2 and grows to 1.04 (.5s / .6s), and after 180ms the next hero comes in (copy .2s, picture back to
   1 / 1.02). Spec docs/superpowers/specs/2026-12-03-hero-slider-insights-perforassess-recognition-design.md */
.pa2-page .pa2-hero--slider .pa2-hero__slide {
    transform: scale(1.02);
    transition: opacity .5s ease, transform .6s ease;
}

.pa2-page .pa2-hero--slider .pa2-hero__title,
.pa2-page .pa2-hero--slider .pa2-hero__text,
.pa2-page .pa2-hero--slider .pa2-hero__logo {
    transition: opacity .2s ease;
}

.pa2-page .pa2-hero--slider .fading {
    opacity: 0;
    transition: opacity .25s ease;
}

/* A part the slide lacks (the buttons' and logo's slots keep their place in the markup). */
.pa2-page .pa2-hero--slider [hidden] {
    display: none;
}

/* Hall of Fame's slide, as its page: the logo centred, the title for screen readers only. */
.pa2-page .pa2-hero--slider.pa2-hero--center .pa2-hero__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* One height for every slide at every width, so the page below never moves when the hero changes: the group's tallest
   page hero there, measured on the seven pages at every width 320–1920 (2026-12-03). Desktop 500px, as the pages (Hall
   of Fame's own 420px hero grows to it); narrower, the longest copy (QuickScan / Diagnose; Recognition) sets it. */
.pa2-page .pa2-hero--slider-perforassess,
.pa2-page .pa2-hero--slider-recognition {
    min-height: 500px;
}

@media (max-width: 991px) {
    .pa2-page .pa2-hero--slider-perforassess {
        min-height: 528px;
    }

    .pa2-page .pa2-hero--slider-recognition {
        min-height: 440px;
    }
}

@media (max-width: 767px) {
    .pa2-page .pa2-hero--slider-perforassess {
        min-height: 511px;
    }
}

@media (max-width: 568px) {
    .pa2-page .pa2-hero--slider-perforassess {
        min-height: 545px;
    }
}

@media (max-width: 518px) {
    .pa2-page .pa2-hero--slider-perforassess {
        min-height: 568px;
    }
}

@media (max-width: 447px) {
    .pa2-page .pa2-hero--slider-perforassess {
        min-height: 592px;
    }
}

@media (max-width: 408px) {
    .pa2-page .pa2-hero--slider-recognition {
        min-height: 463px;
    }
}

@media (max-width: 393px) {
    .pa2-page .pa2-hero--slider-perforassess {
        min-height: 621px;
    }
}

@media (max-width: 390px) {
    .pa2-page .pa2-hero--slider-recognition {
        min-height: 486px;
    }
}

@media (max-width: 360px) {
    .pa2-page .pa2-hero--slider-perforassess {
        min-height: 677px;
    }
}

@media (max-width: 331px) {
    .pa2-page .pa2-hero--slider-recognition {
        min-height: 510px;
    }
}
