.certification-showcase {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(63, 42, 27, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(63, 42, 27, 0.045) 1px, transparent 1px),
        linear-gradient(145deg, #efe0cc 0%, #f7eee3 52%, #dfc9ae 100%);
    background-size: 56px 56px, 56px 56px, auto;
    color: #211a16;
    letter-spacing: 0;
}

.certification-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.74), transparent 46%);
}

.certification-showcase .container {
    position: relative;
    z-index: 1;
}

.certification-showcase-header {
    max-width: 980px;
    margin: 0 auto 52px;
    text-align: center;
}

.certification-showcase-header .section-label {
    justify-content: center;
    margin-bottom: 20px;
}

.certification-showcase-header h2 {
    margin: 0;
    color: #211a16;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 58px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.certification-showcase-header h2 em {
    color: #a95a2f;
    font-weight: 500;
}

.certification-showcase-header > p {
    max-width: 720px;
    margin: 14px auto 0;
    color: #8b4c2d;
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    text-transform: uppercase;
}

.certification-icon-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.certification-levels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.certification-level {
    --level-accent: #96928c;
    --level-surface: #f7f4ef;
    --level-ink: #251f1b;
    --level-muted: #695f58;
    --level-line: rgba(47, 39, 34, 0.14);
    position: relative;
    display: grid;
    grid-template-rows: 320px 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--level-line);
    border-radius: 7px;
    background: var(--level-surface);
    color: var(--level-ink);
    box-shadow: 0 28px 60px rgba(69, 46, 30, 0.18);
}

.certification-level-gold {
    --level-accent: #e1bc60;
    --level-surface: #2d2013;
    --level-ink: #fff8e8;
    --level-muted: #e2d6c2;
    --level-line: rgba(225, 188, 96, 0.58);
    box-shadow: 0 32px 72px rgba(87, 56, 18, 0.28);
}

.certification-level-diamond {
    --level-accent: #b9d6e5;
    --level-surface: #111a21;
    --level-ink: #f4f8fa;
    --level-muted: #c8d2d8;
    --level-line: rgba(185, 214, 229, 0.32);
    box-shadow: 0 32px 72px rgba(8, 18, 26, 0.28);
}

.certification-level-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--level-surface);
}

.certification-level-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 52%, var(--level-surface) 100%);
}

.certification-media-silver { background-position: left 24%; }
.certification-media-gold { background-position: center 30%; }
.certification-media-diamond { background-position: right 26%; }

.certification-level-number {
    position: absolute;
    right: 18px;
    bottom: 10px;
    z-index: 1;
    color: rgba(255,255,255,0.78);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 68px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.certification-level-silver .certification-level-number {
    color: rgba(65, 56, 50, 0.48);
    text-shadow: none;
}

.certification-level-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px 26px 30px;
}

.certification-level-label {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 5px 12px;
    border: 1px solid var(--level-accent);
    border-radius: 3px;
    color: var(--level-ink);
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    background: rgba(247, 244, 239, 0.9);
    box-shadow: 0 8px 22px rgba(24, 18, 14, 0.12);
    backdrop-filter: blur(7px);
}

.certification-level-gold .certification-level-label {
    background: linear-gradient(135deg, #f6db8a, #a87827);
    border-color: #f4d67f;
    color: #1d140b;
}

.certification-level-diamond .certification-level-label {
    background: linear-gradient(135deg, #f3f7f9, #8ba7b8);
    border-color: #d8e7ef;
    color: #101a22;
}

.certification-level-audience {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 145px;
    color: #fff;
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    padding: 6px 8px;
    border-radius: 2px;
    background: rgba(15, 15, 14, 0.42);
    text-align: right;
    text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0,0,0,0.75);
    backdrop-filter: blur(5px);
}

.certification-level-silver .certification-level-audience {
    color: #251f1b;
    background: rgba(255,255,255,0.82);
    text-shadow: none;
}

.certification-level-content h3 {
    margin: 0 0 14px;
    color: var(--level-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.certification-level-content > p {
    margin: 0;
    color: var(--level-muted);
    font-size: 14px;
    line-height: 1.65;
}

.certification-level-content ul {
    display: grid;
    gap: 13px;
    margin: 26px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--level-line);
    list-style: none;
}

.certification-level-content li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    color: var(--level-ink);
    font-size: 13px;
    line-height: 1.45;
}

.certification-level-content li svg {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    fill: none;
    stroke: var(--level-accent);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.certification-level-content > .certification-level-tagline {
    margin: auto -26px -30px;
    padding: 22px 26px 20px;
    border-top: 1px solid var(--level-line);
    color: var(--level-ink);
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

html[data-theme="light"] .certification-level-gold .certification-level-content h3,
html[data-theme="light"] .certification-level-gold .certification-level-content h4,
html[data-theme="light"] .certification-level-gold .certification-level-content p,
html[data-theme="light"] .certification-level-gold .certification-level-content li,
html[data-theme="light"] .certification-level-diamond .certification-level-content h3,
html[data-theme="light"] .certification-level-diamond .certification-level-content h4,
html[data-theme="light"] .certification-level-diamond .certification-level-content p,
html[data-theme="light"] .certification-level-diamond .certification-level-content li {
    color: var(--level-ink) !important;
    -webkit-text-fill-color: var(--level-ink) !important;
}

html[data-theme="light"] .certification-level-gold .certification-level-tagline,
html[data-theme="light"] .certification-level-diamond .certification-level-tagline {
    color: var(--level-ink) !important;
    -webkit-text-fill-color: var(--level-ink) !important;
}

html[data-theme="light"] .certification-level-gold .certification-level-content > p,
html[data-theme="light"] .certification-level-diamond .certification-level-content > p {
    color: var(--level-muted) !important;
    -webkit-text-fill-color: var(--level-muted) !important;
}

html[data-theme="light"] .certification-showcase-header > p {
    color: #8b4c2d !important;
    -webkit-text-fill-color: #8b4c2d !important;
}

html[data-theme="light"] .certification-level-gold .certification-level-content > .certification-level-tagline,
html[data-theme="light"] .certification-level-diamond .certification-level-content > .certification-level-tagline {
    color: var(--level-ink) !important;
    -webkit-text-fill-color: var(--level-ink) !important;
}

html.high-contrast .certification-showcase,
html.high-contrast .certification-level {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

html.high-contrast .certification-showcase::before,
html.high-contrast .certification-level-media::after {
    display: none;
}

html.high-contrast .certification-showcase :is(h2,h3,h4,p,li,span) {
    color: #fff !important;
}

html.high-contrast .certification-level-label {
    background: #000 !important;
    border-color: #ffff00 !important;
    color: #ffff00 !important;
}

html.high-contrast .certification-level-content li svg {
    stroke: #ffff00;
}

@media (max-width: 1100px) {
    .certification-showcase-header h2 { font-size: 50px; }
    .certification-levels { grid-template-columns: 1fr; gap: 24px; }
    .certification-level {
        grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
        grid-template-rows: 1fr;
        min-height: 510px;
    }
    .certification-level-media {
        min-height: 510px;
        background-size: auto 100%;
    }
    .certification-media-silver { background-position: left top; }
    .certification-media-gold { background-position: center top; }
    .certification-media-diamond { background-position: right top; }
    .certification-level-media::after {
        background: linear-gradient(90deg, transparent 58%, var(--level-surface) 100%);
    }
    .certification-level-content { justify-content: center; padding: 34px; }
    .certification-level-content > .certification-level-tagline {
        margin-right: -34px;
        margin-bottom: -34px;
        margin-left: -34px;
        padding-right: 34px;
        padding-left: 34px;
    }
}

@media (max-width: 700px) {
    .certification-showcase { padding-block: 72px; }
    .certification-showcase-header { margin-bottom: 34px; }
    .certification-showcase-header h2 { font-size: 36px; }
    .certification-showcase-header > p { font-size: 15px; }
    .certification-level {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 310px 1fr;
        min-height: 0;
    }
    .certification-level-media {
        min-height: 0;
        background-size: 300% auto;
    }
    .certification-media-silver { background-position: left 24%; }
    .certification-media-gold { background-position: center 30%; }
    .certification-media-diamond { background-position: right 26%; }
    .certification-level-media::after {
        background: linear-gradient(180deg, transparent 52%, var(--level-surface) 100%);
    }
    .certification-level-number { font-size: 58px; }
    .certification-level-content { padding: 26px 64px 30px 22px; }
    .certification-level-content h3 { font-size: 28px; }
    .certification-level-audience { width: 130px; }
    .certification-level-content > .certification-level-tagline {
        margin-right: -64px;
        margin-bottom: -30px;
        margin-left: -22px;
        padding-right: 64px;
        padding-left: 22px;
    }
}

@media (max-width: 380px) {
    .certification-showcase-header h2 { font-size: 32px; }
    .certification-level { grid-template-rows: 280px 1fr; }
    .certification-level-content h3 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    .certification-level { scroll-behavior: auto; }
}

/* Editorial poster composition inspired by the supplied certification reference. */
.certification-showcase-poster {
    padding-block: clamp(72px, 8vw, 112px);
}

.certification-showcase-poster .container {
    max-width: 1520px;
    padding-right: clamp(88px, 8vw, 116px);
}

.certification-showcase-poster .certification-showcase-header {
    display: grid;
    grid-template-columns: minmax(210px, 0.8fr) minmax(540px, 2.4fr) minmax(130px, 0.55fr);
    align-items: center;
    gap: 28px;
    max-width: none;
    margin: 0 0 28px;
    text-align: center;
}

.certification-showcase-brand {
    justify-self: start;
    display: grid;
    gap: 5px;
    width: min(100%, 290px);
    text-align: left;
}

.certification-showcase-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.certification-showcase-brand span {
    padding-left: 78px;
    color: #55463c;
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.certification-showcase-heading {
    min-width: 0;
}

.certification-showcase-poster .certification-showcase-header .section-label {
    display: none;
}

.certification-showcase-poster .certification-showcase-header h2 {
    font-size: clamp(32px, 3.1vw, 48px);
    line-height: 1;
}

.certification-showcase-poster .certification-showcase-header > p,
.certification-showcase-poster .certification-showcase-heading > p {
    margin-top: 8px;
    font-size: clamp(14px, 1.25vw, 19px);
}

.certification-showcase-manifesto {
    justify-self: end;
    display: grid;
    gap: 2px;
    padding-left: 22px;
    border-left: 1px solid rgba(94, 59, 35, 0.5);
    color: #2b211b;
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
}

.certification-showcase-poster .certification-levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.certification-showcase-poster .certification-level {
    display: flex;
    min-height: 0;
    border-radius: 8px;
    isolation: isolate;
    background: var(--level-surface);
}

.certification-showcase-poster .certification-level-media {
    position: absolute;
    inset: 0;
    min-height: 0;
    background-size: auto 100%;
}

.certification-showcase-poster .certification-level-media::after {
    inset: 0;
}

.certification-showcase-poster .certification-level-silver .certification-level-media::after {
    background:
        linear-gradient(90deg, rgba(248,246,242,0.98) 0%, rgba(248,246,242,0.9) 50%, rgba(248,246,242,0.18) 100%),
        linear-gradient(0deg, rgba(247,244,239,0.98) 0%, rgba(247,244,239,0.62) 21%, transparent 43%);
}

.certification-showcase-poster .certification-level-gold .certification-level-media::after {
    background:
        linear-gradient(90deg, rgba(42,28,14,0.97) 0%, rgba(42,28,14,0.88) 54%, rgba(42,28,14,0.2) 100%),
        linear-gradient(0deg, rgba(45,32,19,0.98) 0%, rgba(45,32,19,0.68) 22%, transparent 45%);
}

.certification-showcase-poster .certification-level-diamond .certification-level-media::after {
    background:
        linear-gradient(90deg, rgba(13,23,30,0.98) 0%, rgba(13,23,30,0.86) 42%, rgba(13,23,30,0.38) 60%, rgba(13,23,30,0.06) 100%),
        linear-gradient(0deg, rgba(17,26,33,0.78) 0%, rgba(17,26,33,0.18) 14%, rgba(17,26,33,0.02) 28%, transparent 42%);
}

.certification-showcase-poster .certification-level-label {
    top: 18px;
    left: 20px;
    min-width: 110px;
    justify-content: center;
    font-size: 14px;
}

.certification-showcase-poster .certification-level-audience {
    top: 18px;
    right: 18px;
    width: 150px;
    font-size: 11px;
}

.certification-showcase-poster .certification-level-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    justify-content: flex-start;
    min-height: 0;
    padding: 82px 26px 26px;
    background: transparent;
    overflow-wrap: anywhere;
}

.certification-showcase-poster .certification-level-content h3 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 26px;
    line-height: 1.35;
}

.certification-showcase-poster .certification-level-content > p:not(.certification-level-tagline) {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.65;
}

.certification-showcase-poster .certification-level-content > p + p {
    margin-top: 14px;
}

.certification-showcase-poster .certification-level-content h4 {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--level-line);
    color: var(--level-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.certification-showcase-poster .certification-level-content > .certification-level-objective {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--level-line);
}

.certification-level-objective strong {
    color: inherit;
}

.certification-showcase-poster .certification-level-content ul {
    width: 100%;
    margin: 16px 0 24px;
    padding: 0;
    border-top: 0;
    gap: 14px;
}

.certification-showcase-poster .certification-level-content li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.certification-showcase-poster .certification-level-content li svg {
    box-sizing: content-box;
    width: 20px;
    height: 20px;
    margin-top: -1px;
    padding: 4px;
    border: 1px solid color-mix(in srgb, var(--level-accent) 72%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--level-surface) 58%, transparent);
}

.certification-showcase-poster .certification-level-content > .certification-level-tagline {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 62px;
    margin: 0;
    padding: 19px 98px 17px 26px;
    background: rgba(247,244,239,0.82);
    backdrop-filter: blur(7px);
}

.certification-showcase-poster .certification-level-gold .certification-level-tagline {
    background: rgba(111,73,24,0.7);
}

.certification-showcase-poster .certification-level-diamond .certification-level-tagline {
    background: rgba(42,59,72,0.7);
}

.certification-showcase-poster .certification-level-number {
    top: 18px;
    right: 22px;
    bottom: auto;
    z-index: 3;
    font-size: 30px;
}

.certification-showcase-poster .certification-level-gold :is(h3, li),
.certification-showcase-poster .certification-level-diamond :is(h3, li) {
    text-shadow: 0 1px 10px rgba(0,0,0,0.34);
}

.certification-showcase-poster .certification-level-diamond .certification-level-content {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.88);
}

.certification-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid rgba(73, 53, 40, 0.14);
    border-radius: 8px;
    background: rgba(255,252,247,0.82);
    box-shadow: 0 18px 42px rgba(69,46,30,0.12);
    backdrop-filter: blur(8px);
}

.certification-benefit {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 78px;
    padding: 14px 18px;
    color: #251e19;
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.certification-benefit + .certification-benefit {
    border-left: 1px solid rgba(73, 53, 40, 0.12);
}

.certification-benefit svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #2a211c;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html[data-theme="light"] .certification-showcase-brand span,
html[data-theme="light"] .certification-showcase-manifesto,
html[data-theme="light"] .certification-benefit {
    color: #251e19 !important;
    -webkit-text-fill-color: #251e19 !important;
}

html[data-theme="light"] .certification-showcase-poster .certification-showcase-heading > p {
    color: #8b4c2d !important;
    -webkit-text-fill-color: #8b4c2d !important;
}

@media (max-width: 1180px) {
    .certification-showcase-poster .certification-showcase-header {
        grid-template-columns: 190px minmax(0, 1fr) 112px;
        gap: 20px;
    }
    .certification-showcase-brand span { padding-left: 50px; }
    .certification-showcase-poster .certification-level-content { padding-inline: 22px; }
    .certification-showcase-poster .certification-level-content > .certification-level-tagline { padding-left: 22px; }
    .certification-benefit { padding-inline: 12px; }
}

@media (max-width: 1020px) {
    .certification-showcase-poster .certification-showcase-header {
        grid-template-columns: 180px minmax(0, 1fr);
    }
    .certification-showcase-manifesto { display: none; }
    .certification-showcase-poster .certification-levels { grid-template-columns: 1fr; }
    .certification-showcase-poster .certification-level-content {
        padding: 82px 36px 28px;
    }
    .certification-showcase-poster .certification-level-content > .certification-level-tagline {
        margin: 0;
        padding-right: 110px;
        padding-left: 36px;
    }
    .certification-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .certification-benefit + .certification-benefit { border-left: 0; }
    .certification-benefit:nth-child(even) { border-left: 1px solid rgba(73, 53, 40, 0.12); }
    .certification-benefit:nth-child(n+3) { border-top: 1px solid rgba(73, 53, 40, 0.12); }
    .certification-benefit:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .certification-showcase-poster .container { padding-right: 58px; }
    .certification-showcase-poster .certification-showcase-header {
        display: block;
        margin-bottom: 26px;
    }
    .certification-showcase-brand { display: none; }
    .certification-showcase-poster .certification-showcase-header h2 { font-size: 34px; }
    .certification-showcase-poster .certification-showcase-heading > p { font-size: 13px; }
    .certification-showcase-poster .certification-level-media { background-size: auto 100%; }
    .certification-showcase-poster .certification-level-content {
        padding: 76px 20px 24px;
    }
    .certification-showcase-poster .certification-level-content :is(h3, p, ul) { max-width: 100%; width: 100%; }
    .certification-showcase-poster .certification-level-content h3 { font-size: 24px; }
    .certification-showcase-poster .certification-level-content > .certification-level-tagline {
        margin: 0;
        padding-right: 82px;
        padding-left: 20px;
    }
    .certification-showcase-poster .certification-level-label {
        left: 14px;
        min-width: 92px;
    }
    .certification-showcase-poster .certification-level-audience {
        right: 14px;
        width: 138px;
    }
    .certification-benefits { grid-template-columns: 1fr; }
    .certification-benefit:nth-child(even),
    .certification-benefit + .certification-benefit { border-left: 0; }
    .certification-benefit:nth-child(n+2) { border-top: 1px solid rgba(73, 53, 40, 0.12); }
    .certification-benefit:last-child { grid-column: auto; }
}

@media (max-width: 380px) {
    .certification-showcase-poster .certification-level-content { padding-inline: 16px; }
}

.certification-showcase-poster .certification-media-diamond {
    background-color: #111a21;
    background-position: 65% top;
    background-size: auto 88%;
}
