.esg52-page .esg52-section-heading {
    color: var(--esg-color-heading);
    font-size: 28px;
    line-height: 1.3;
    margin: 0;
}

.esg52-page .esg52-figure-title {
    color: var(--esg-color-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    text-align: center;
}

.esg52-page .esg52-figure {
    display: grid;
    gap: 12px;
}

.esg52-page .esg52-combo {
    --esg-combo-min-height: 420px;
    --esg-combo-pad-top: 16px;
    --esg-combo-pad-right: 86px;
    --esg-combo-pad-bottom: 58px;
    --esg-combo-pad-left: 86px;
    --esg-combo-axis-width: 72px;
    --esg-combo-axis-font-size: 13px;
    --esg-combo-y-title-left: -10px;
    --esg-combo-y-title-right: 10px;
    --esg-combo-y-title-size: 13px;
    --esg-combo-text-color: var(--esg-color-text);
    --esg-combo-grid-color: var(--esg-process-purple-grid);
    --esg-combo-plot-border-width: 0;
    --esg-combo-line-color: var(--esg-color-chart-orange);
    --esg-combo-line-width: 1.1;
    --esg-combo-bar-width: 32%;
    --esg-combo-bar-min-width: 58px;
    --esg-combo-bar-min-height: 4px;
    --esg-combo-bar-color: var(--esg-process-purple-strong);
    --esg-combo-bar-label-size: 15px;
    --esg-combo-point-color: var(--esg-color-chart-orange);
    --esg-combo-point-size: 12px;
    --esg-combo-point-value-size: 14px;
    --esg-combo-x-font-size: 14px;
}

/* Training framework: 4 soft rounded cards in a row (docx 5.2-1 layout and colors) */
.esg52-page .esg52-training-architecture {
    display: grid;
    gap: 20px;
    margin-top: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.esg52-page .esg52-architecture-card {
    border-radius: 20px;
    padding: 24px 22px 26px;
}

.esg52-page .esg52-architecture-badge {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.esg52-page .esg52-architecture-card.is-ojt { background: var(--esg-process-orange-soft); }
.esg52-page .esg52-architecture-card.is-ojt .esg52-architecture-badge { color: var(--esg-process-orange); }
.esg52-page .esg52-architecture-card.is-competence { background: var(--esg-process-lime-soft); }
.esg52-page .esg52-architecture-card.is-competence .esg52-architecture-badge { color: var(--esg-process-lime-badge-text); }
.esg52-page .esg52-architecture-card.is-elearning { background: var(--esg-process-teal-soft); }
.esg52-page .esg52-architecture-card.is-elearning .esg52-architecture-badge { color: var(--esg-process-teal); }
.esg52-page .esg52-architecture-card.is-self { background: var(--esg-process-blue-soft); }
.esg52-page .esg52-architecture-card.is-self .esg52-architecture-badge { color: var(--esg-process-blue); }

.esg52-page .esg52-architecture-card ul {
    margin: 0;
    padding-left: 1.1em;
}

.esg52-page .esg52-architecture-card li {
    display: list-item;
    font-size: 17px;
    line-height: 1.6;
    list-style: disc outside;
    margin-bottom: 6px;
}

.esg52-page .esg52-chart-grid,
.esg52-page .esg52-training-grid {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.esg52-page .esg52-training-image {
    display: block;
    justify-self: center;
    max-width: 100%;
    width: 100%;
}

.esg52-page .esg52-platform-panel {
    align-items: center;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(120px, auto));
    justify-items: center;
    min-height: 520px;
    padding: 10px 0;
    position: relative;
}

.esg52-page .esg52-platform-center {
    color: var(--esg-color-text-strong);
    font-size: 28px;
    font-weight: 700;
    grid-column: 2;
    grid-row: 2;
    text-align: center;
}

.esg52-page .esg52-platform-orbit {
    align-items: center;
    border-radius: 50%;
    color: var(--esg-color-white);
    display: flex;
    font-size: 22px;
    font-weight: 700;
    height: 170px;
    justify-content: center;
    line-height: 1.35;
    padding: 20px;
    text-align: center;
    width: 170px;
}

.esg52-page .orbit-top { grid-column: 2; grid-row: 1; }
.esg52-page .orbit-right-top { grid-column: 3; grid-row: 1; align-self: end; }
.esg52-page .orbit-right { grid-column: 3; grid-row: 2; }
.esg52-page .orbit-bottom-right { grid-column: 3; grid-row: 3; align-self: start; }
.esg52-page .orbit-bottom-left { grid-column: 2; grid-row: 3; justify-self: start; }
.esg52-page .orbit-left { grid-column: 1; grid-row: 2; }
.esg52-page .orbit-left-top { grid-column: 1; grid-row: 1; align-self: end; }

.esg52-page .is-blue { background: var(--esg-process-blue); }
.esg52-page .is-orange { background: var(--esg-process-orange); }
.esg52-page .is-teal { background: var(--esg-process-teal); }
.esg52-page .is-lime { background: var(--esg-process-lime); color: var(--esg-color-white); }
.esg52-page .is-purple { background: var(--esg-process-purple); }
.esg52-page .is-gray { background: var(--esg-process-gray); }
.esg52-page .is-navy { background: var(--esg-process-blue-deep); }

/* Certificate table: same soft look as the ESG51 tables (rounded frame,
   row lines only, light zebra, blue header), narrower because it has 3 columns */
.esg52-page .esg52-soft-wrap {
    max-width: 820px;
    margin: 12px auto 0;
    border: 1px solid var(--esg-process-blue-soft);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(23, 58, 138, 0.06);
}

.esg52-page .esg52-certificate-table {
    border: none;
    border-collapse: collapse;
    margin: 0;
    table-layout: fixed;
}

.esg52-page .esg52-certificate-table th,
.esg52-page .esg52-certificate-table td {
    border: none;
    border-bottom: 1px solid var(--esg-process-blue-soft);
    line-height: 1.65;
    text-indent: 0;
    vertical-align: middle;
}

.esg52-page .esg52-certificate-table th + th {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.esg52-page .esg52-certificate-table th {
    background: var(--esg-process-blue-strong);
    color: var(--esg-color-white);
    font-size: 18px;
    font-weight: 700;
    padding: 16px 12px;
    text-align: center;
}

.esg52-page .esg52-certificate-table td {
    background: var(--esg-color-white);
    color: var(--esg-color-heading-strong);
    font-size: 17px;
    padding: 13px 14px;
}

.esg52-page .esg52-certificate-table tbody tr:nth-child(even) td {
    background: #f5f8fc;
}

.esg52-page .esg52-certificate-table td:first-child,
.esg52-page .esg52-certificate-table td:last-child {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.esg52-page .esg52-certificate-table td:first-child {
    color: var(--esg-color-muted);
}

.esg52-page .esg52-certificate-table th:nth-child(1) { width: 14%; }
.esg52-page .esg52-certificate-table th:nth-child(2) { width: 68%; }
.esg52-page .esg52-certificate-table th:nth-child(3) { width: 18%; }

.esg52-page .esg52-certificate-table tbody tr.total td {
    background: var(--esg-process-blue-soft);
    border-bottom: none;
    border-top: 2px solid var(--esg-process-blue-strong);
    color: var(--esg-process-blue-strong);
    font-weight: 700;
}

.esg52-page .esg52-ordered-list {
    line-height: 30px;
    margin: 0 0 12px;
    padding-left: 1.2em;
}

.esg52-page .esg52-ordered-list li {
    margin-bottom: 4px;
}

@keyframes esg52BarRise {
    from {
        opacity: 0.3;
        transform: scaleY(0);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@media (max-width: 1199px) {
    .esg52-page .esg52-combo {
        --esg-combo-min-height: 380px;
        --esg-combo-pad-right: 76px;
        --esg-combo-pad-left: 76px;
        --esg-combo-axis-width: 64px;
    }

    .esg52-page .esg52-training-architecture {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .esg52-page .esg52-platform-orbit {
        font-size: 20px;
        height: 150px;
        width: 150px;
    }
}

@media (max-width: 991px) {
    .esg52-page .esg52-section-heading {
        font-size: 25px;
    }

    .esg52-page .esg52-chart-grid,
    .esg52-page .esg52-training-grid {
        grid-template-columns: 1fr;
    }

    .esg52-page .esg52-platform-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        min-height: auto;
        row-gap: 18px;
    }

    .esg52-page .esg52-platform-center,
    .esg52-page .orbit-top,
    .esg52-page .orbit-right-top,
    .esg52-page .orbit-right,
    .esg52-page .orbit-bottom-right,
    .esg52-page .orbit-bottom-left,
    .esg52-page .orbit-left,
    .esg52-page .orbit-left-top {
        align-self: auto;
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
    }

    .esg52-page .esg52-platform-center {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (max-width: 768px) {
    .esg52-page .esg52-section-heading {
        font-size: 22px;
    }

    .esg52-page .esg52-figure-title {
        font-size: 19px;
    }

    .esg52-page .esg52-training-architecture {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .esg52-page .esg52-architecture-card {
        padding: 18px 18px 20px;
    }

    .esg52-page .esg52-architecture-badge {
        font-size: 20px;
        margin-bottom: 8px;
        min-height: 0;
    }

    .esg52-page .esg52-combo {
        --esg-combo-min-height: 340px;
        --esg-combo-pad-top: 16px;
        --esg-combo-pad-right: 56px;
        --esg-combo-pad-bottom: 58px;
        --esg-combo-pad-left: 56px;
        --esg-combo-axis-width: 48px;
        --esg-combo-axis-font-size: 12px;
        --esg-combo-y-title-size: 12px;
        --esg-combo-bar-label-size: 15px;
        --esg-combo-point-value-size: 15px;
        --esg-combo-x-font-size: 15px;
    }

    .esg52-page .esg52-certificate-table td,
    .esg52-page .esg52-certificate-table th,
    .esg52-page .esg52-architecture-card li {
        font-size: 15px;
    }

    .esg52-page .esg52-certificate-table th {
        padding: 14px 6px;
    }

    .esg52-page .esg52-certificate-table th:nth-child(1) { width: 16%; }
    .esg52-page .esg52-certificate-table th:nth-child(2) { width: 60%; }
    .esg52-page .esg52-certificate-table th:nth-child(3) { width: 24%; }

    .esg52-page .esg52-platform-orbit {
        font-size: 18px;
        height: 130px;
        width: 130px;
    }

    .esg52-page .esg52-platform-center {
        font-size: 22px;
    }
}

/* Chart titles: one line on desktop (drop the global h5 letter-spacing) */
.esg52-page .esg52-figure-title {
    font-size: 19px;
    letter-spacing: normal;
}

/* Group Digital Learning Platform screenshot: framed like the page's cards */
.esg52-page .esg52-platform-shot {
    display: block;
    width: 100%;
    border: 1px solid var(--esg-process-blue-soft);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(23, 58, 138, 0.10);
}

/* Combo charts on phones (page-scoped; shared .esg-combo-chart untouched):
   axis titles go horizontal above each axis instead of vertical over the ticks,
   bar values sit above the bars so they don't collide with the line values */
@media (max-width: 768px) {
    .esg52-page .esg52-combo {
        --esg-combo-pad-top: 40px;
    }

    .esg52-page .esg52-combo--level {
        --esg-combo-pad-left: 48px;
        --esg-combo-pad-right: 48px;
        --esg-combo-axis-width: 44px;
        --esg-combo-x-font-size: 11px;
    }

    .esg52-page .esg52-combo--level .esg-combo-chart__x-axis p {
        line-height: 1.25;
        padding: 0 1px;
    }

    .esg52-page .esg52-combo .esg-combo-chart__ytitle {
        top: 0;
        left: 0;
        font-size: 12px;
        transform: none;
        writing-mode: horizontal-tb;
    }

    .esg52-page .esg52-combo .esg-combo-chart__ytitle--right {
        left: auto;
        right: 0;
        text-align: right;
    }

    .esg52-page .esg52-combo .esg-combo-chart__bar-label {
        top: auto;
        bottom: calc(100% + 6px);
        color: var(--esg-combo-bar-color);
        font-size: 14px;
    }
}
