﻿.esg24-page {
    background: var(--esg-color-white);
}

    .esg24-page .esg24-wrap-plain {
        padding: 0;
        border: none;
    }

    .esg24-page .esg-figure-panel {
        padding: 24px 26px;
        background: var(--esg-color-white);
    }

        .esg24-page .esg-figure-panel h5,
        .esg-intensity-card h5 {
            margin: 0 0 18px 0;
            font-size: 20px;
            line-height: 1.5;
            font-weight: 700;
            color: #000;
            text-align: center;
        }

    .esg24-page .esg24-row-sm {
        padding-top: 5px;
    }

    .esg24-page .esg24-row-md {
        padding-top: 20px;
    }

    .esg24-page .esg24-row-lg {
        padding-top: 30px;
    }

    .esg24-page .esg24-heading-col {
        font-size: large;
    }

    .esg24-page .esg24-center-col {
        text-align: center;
    }

    .esg24-page .esg24-centered-heading {
        text-align: center;
    }

    .esg24-page .esg-plan-table td.esg24-plan-list ol {
        list-style-type: decimal;
        list-style-position: outside;
        padding-left: 1.4em;
    }

    .esg24-page .esg-plan-table th,
    .esg24-page .esg-plan-table td {
        text-align: left;
        vertical-align: middle;
    }

        .esg24-page .esg-plan-table td.esg24-plan-list {
            text-align: left;
        }

    .esg24-page ul,
    .esg24-page .esg24-management-table ul {
        list-style: disc;
        list-style-position: outside;
        padding-left: 1.2em;
    }

        .esg24-page ul li,
        .esg24-page .esg24-management-table ul li {
            list-style: disc;
            display: list-item;
        }

    .esg24-page .esg24-framework-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        font-size: 14px;
        line-height: 1.7;
    }

        .esg24-page .esg24-framework-table th {
            background: #f3f4f7;
            color: var(--esg-color-heading);
            font-weight: 700;
            text-align: center;
            padding: 12px 10px;
            border: 1px solid #e0e3e8;
        }

        .esg24-page .esg24-framework-table thead th:nth-child(2) {
            border-right: none;
        }

        .esg24-page .esg24-framework-table thead th:nth-child(3) {
            border-left: none;
        }

        .esg24-page .esg24-framework-table td {
            border: 1px solid #e0e3e8;
            vertical-align: top;
            background: var(--esg-color-white);
            text-indent: 0;
        }

            .esg24-page .esg24-framework-table td.cat {
                text-align: center;
                vertical-align: middle;
                color: var(--esg-color-white);
                font-weight: 700;
                font-size: 16px;
                letter-spacing: 1px;
                padding: 10px;
            }

        .esg24-page .esg24-framework-table .cat-governance {
            background: var(--esg-color-green);
        }

        .esg24-page .esg24-framework-table .cat-strategy {
            background: var(--esg-color-chart-orange);
        }

        .esg24-page .esg24-framework-table .cat-risk {
            background: var(--esg-color-teal);
        }

        .esg24-page .esg24-framework-table .cat-target {
            background: var(--esg-color-purple);
        }

        .esg24-page .esg24-framework-table td.key-col {
            font-weight: 700;
            background: transparent;
            border-right: none;
        }

        .esg24-page .esg24-framework-table td.key-governance {
            color: var(--esg-color-green-text);
        }

        .esg24-page .esg24-framework-table td.key-strategy {
            color: var(--esg-color-orange-text);
        }

        .esg24-page .esg24-framework-table td.key-risk {
            color: var(--esg-color-teal-text);
        }

        .esg24-page .esg24-framework-table td.key-target {
            color: var(--esg-color-purple);
        }

        .esg24-page .esg24-framework-table td.action-col {
            color: var(--esg-color-text);
            border-left: none;
        }

        .esg24-page .esg24-framework-table .framework-list {
            margin: 0;
            padding: 12px 10px;
            list-style: none;
        }

            .esg24-page .esg24-framework-table .framework-list li {
                margin-bottom: 6px;
                text-indent: 0;
                padding-left: 0;
            }

                .esg24-page .esg24-framework-table .framework-list li:last-child {
                    margin-bottom: 0;
                }

        .esg24-page .esg24-framework-table .arrow-row td {
            border-left: none;
            border-right: none;
            border-bottom: none;
            background: transparent;
            text-align: center;
            font-size: 28px;
            line-height: 1;
            padding: 6px 0;
            color: var(--esg-process-gray);
        }

    .esg24-page .esg24-ifrs-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        font-size: 14px;
        line-height: 1.65;
    }

        .esg24-page .esg24-ifrs-table th,
        .esg24-page .esg24-ifrs-table td {
            border: 1px solid var(--esg-border-green-soft);
            text-indent: 0;
        }

        .esg24-page .esg24-ifrs-table th {
            font-weight: 700;
            text-align: center;
            vertical-align: middle;
        }

        .esg24-page .esg24-ifrs-table td {
            padding: 18px 16px;
            vertical-align: top;
            background: var(--esg-color-white);
        }

    .esg24-page .table-wrap .esg24-ifrs-table ul {
        margin: 0;
        padding-left: 0;
        list-style: none;
        text-indent: 0;
    }

    .esg24-page .table-wrap .esg24-ifrs-table li {
        display: grid;
        grid-template-columns: 0.65em minmax(0, 1fr);
        column-gap: 0.3em;
        margin-bottom: 8px;
        margin-left: 0;
        padding-left: 0;
        text-indent: 0;
    }

        .esg24-page .table-wrap .esg24-ifrs-table li::before {
            content: "•";
            color: var(--esg-color-text);
            line-height: inherit;
        }

        .esg24-page .table-wrap .esg24-ifrs-table li:last-child {
            margin-bottom: 0;
        }

    .esg24-page .esg24-ifrs-table .ifrs-side-head {
        background: var(--esg-color-green);
        color: #1f1f1f;
        font-size: 18px;
        line-height: 1.45;
        padding: 14px 10px;
    }

    .esg24-page .esg24-ifrs-table .ifrs-stage {
        color: var(--esg-color-white);
        font-size: 21px;
        line-height: 1.45;
        padding: 18px 12px;
    }

    .esg24-page .esg24-ifrs-table .ifrs-stage-one {
        background: var(--esg-color-blue);
    }

    .esg24-page .esg24-ifrs-table .ifrs-stage-two {
        background: var(--esg-color-orange);
    }

    .esg24-page .esg24-ifrs-table .ifrs-stage-three {
        background: var(--esg-color-teal);
    }

    .esg24-page .esg24-ifrs-table .ifrs-stage-four {
        background: var(--esg-color-purple);
    }

    .esg24-page .esg24-ifrs-table .ifrs-time {
        background: var(--esg-color-white);
        font-size: 20px;
        padding: 16px 10px;
        font-variant-numeric: tabular-nums;
    }

    .esg24-page .esg24-ifrs-table .ifrs-time-one {
        color: var(--esg-color-blue);
    }

    .esg24-page .esg24-ifrs-table .ifrs-time-two {
        color: var(--esg-color-orange-text);
    }

    .esg24-page .esg24-ifrs-table .ifrs-time-three {
        color: var(--esg-color-teal-text);
    }

    .esg24-page .esg24-ifrs-table .ifrs-time-four {
        color: var(--esg-color-purple);
    }

@media (max-width: 900px) {
    .esg24-page .esg24-ifrs-table {
        min-width: 1180px;
    }

    .esg24-page .esg24-risk-table td:nth-child(1)::before {
        content: "氣候變遷議題";
    }

    .esg24-page .esg24-risk-table td:nth-child(2)::before {
        content: "議題類別／發生衝擊時間";
    }

    .esg24-page .esg24-risk-table td:nth-child(3)::before {
        content: "風險與機會項目說明";
    }

    .esg24-page .esg24-risk-table td:nth-child(4)::before {
        content: "潛在財務影響";
    }

    .esg24-page .esg24-risk-table td:nth-child(5)::before {
        content: "因應措施";
    }
}

/* 文字本身已有「Note1：」，不再顯示 ol 的 1. 2. 編號（避免雙重編號）；
   凸排讓換行文字對齊在「Note1：」之後（4em ≈ 13px 字下「Note1：」實測 51px） */
.esg24-note-list,
.esg24-note-list ol {
    list-style: none;
    padding-left: 0;
}

    .esg24-page .esg24-note-list li {
        display: list-item;
        list-style: none;
        margin-bottom: 6px;
        padding-left: 4em;
        text-indent: -4em;
    }

.step-title-wrap {
    display: flex;
    align-items: center;
}

.circle-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #b2be97;
    color: #000;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.esg-result-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .esg-result-list li {
        display: flex;
        margin-bottom: 8px;
    }

        .esg-result-list li:last-child {
            margin-bottom: 0;
        }

    .esg-result-list .bullet {
        margin-right: 8px;
    }

.esg-data-card {
    border: 2px solid #C4DEB4;
    border-radius: 16px;
    background-color: #FFFFFF;
    padding: 0 24px;
    max-width: 960px;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin: 0 auto;
}

.esg-data-item {
    display: flex;
    padding: 24px 0;
    border-bottom: 1.5px solid #C4DEB4;
    align-items: flex-start;
}

    .esg-data-item:last-child {
        border-bottom: none;
    }

.esg-data-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

    .esg-data-icon svg {
        width: 44px;
        height: 44px;
        stroke: #87B777;
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.esg-data-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.esg-data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.esg-data-title {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}

.esg-sasb-tag {
    border: 1px solid #EFA04F;
    color: #EFA04F;
    padding: 2px 14px;
    border-radius: 99px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.esg-data-highlight {
    font-size: 16px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 8px;
}

.esg-text-green {
    color: #87B777;
}

.esg-data-desc {
    margin: 4px 0 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

.esg-data-row-text {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1A1A1A;
}

.esg-intensity-chart {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0 40px;
}

.esg-intensity-axis-title {
    position: absolute;
    top: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    writing-mode: vertical-rl;
    white-space: nowrap;
    transform: translateY(-50%);
}
    .esg-intensity-axis-title.left {
        left: 0 ;
    }

    .esg-intensity-axis-title.right {
        right: 0;
    }

.esg-intensity-plot {
    position: relative;
    height: 280px;
    margin: 0 65px;
    background-color: #f2f8ee;
    border-bottom: 2px solid #82b882;
}

.esg-intensity-y-axis {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

    .esg-intensity-y-axis.left {
        left: -50px;
        text-align: right;
        width: 42px;
    }

    .esg-intensity-y-axis.right {
        right: -48px;
        text-align: left;
        width: 40px;
    }

.esg-intensity-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

    .esg-intensity-grid span {
        width: 100%;
        border-top: 1px solid #c2e0b6;
    }

.esg-intensity-line {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.esg-custom-val {
    position: absolute;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
}

.val-orange {
    color: #e8973e;
}

.val-green {
    color: #82b882;
}

.esg-intensity-points {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.esg-intensity-point {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

    .esg-intensity-point.point-orange {
        background-color: #e8973e;
    }

    .esg-intensity-point.point-green {
        background-color: #82b882;
    }

.esg-intensity-groups {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    height: 30px;
}

.esg-intensity-group {
    position: absolute;
    transform: translateX(-50%);
}

    .esg-intensity-group p {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #333;
    }

@media (max-width: 600px) {
    .esg-data-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .esg-sasb-tag {
        margin-bottom: 8px;
        order: -1;
    }

    .esg-data-icon {
        width: 45px;
        margin-right: 12px;
    }

        .esg-data-icon svg {
            width: 36px;
            height: 36px;
        }
}

.esg24-page .esg-energy-chart-labels-below {
    padding-bottom: 48px;
}

.esg24-page .esg-energy-chart-labels-below .esg-energy-group-label-below {
    position: relative;
}

.esg24-page .esg-energy-chart-labels-below .esg-energy-group-label-below p {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 6px 0 0;
}

@media (max-width: 768px) {
    .esg24-page .esg-energy-chart-labels-below {
        padding-bottom: 76px;
    }

    .esg24-page .esg-energy-chart-labels-below .esg-energy-group-label-below p {
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
    }
}

/* Climate Change Management Framework：右欄原本內距 0，✓ 貼著邊框；清單圓點畫在儲存格外壓到邊框 */
.esg24-page .esg24-framework-table td.action-col {
    padding: 10px 18px;
}

.esg24-page .esg24-framework-table .framework-list {
    padding: 6px 0 0 1.3em; /* 圓點留在儲存格內 */
}

/* 用 <br /> 分行的 1. 2. 3. 編號改成各自一個 div，凸排讓換行文字對齊在編號右側 */
.esg24-page .esg24-num-item {
    padding-left: 1.1em;
    text-indent: -1.1em;
}

/* Energy Consumption 圖下方 Note 第 1 點的子清單：原本只縮 1.2em，圓點落在「1.」正下方；多縮一層到「1. 」之後的文字下方 */
.esg24-page .esg-figure-panel > ol > li > ul {
    padding-left: 2.6em;
}

/* Climate Change Management Framework (docx): grey tab header, four colour-framed
   rounded cards with a vertical category band, check-circle items, and a small
   arrow between cards in the colour of the card above. */
.esg24-page .esg24-fw {
    --fw-band: 74px;
}

.esg24-page .esg24-fw-tabs {
    display: grid;
    grid-template-columns: var(--fw-band) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 6px;
}

.esg24-page .esg24-fw-tabs span {
    padding: 6px 8px;
    border-radius: 12px 12px 0 0;
    background: #a3a6ab;
    color: var(--esg-color-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.esg24-page .esg24-fw-tabs span:first-child {
    padding-inline: 2px;
    font-size: 13px;
    white-space: nowrap;
}

.esg24-page .esg24-fw-tabs span + span {
    margin-right: 6%;
}

.esg24-page .esg24-fw-card {
    --c: #3f7fbf;
    display: grid;
    grid-template-columns: var(--fw-band) minmax(0, 1fr);
    border: 2px solid var(--c);
    border-radius: 16px;
    overflow: hidden;
    background: var(--esg-color-white);
}

.esg24-page .esg24-fw-card.is-strategy,
.esg24-page .esg24-fw-arrow.is-strategy { --c: #6bbf59; }
.esg24-page .esg24-fw-card.is-risk,
.esg24-page .esg24-fw-arrow.is-risk { --c: #e0507a; }
.esg24-page .esg24-fw-card.is-target { --c: #f2a443; }
.esg24-page .esg24-fw-arrow.is-gov { --c: #3f7fbf; }

.esg24-page .esg24-fw-cat {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px 6px;
    background: var(--c);
    color: var(--esg-color-white);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.15;
    text-align: center;
}

/* reads bottom-to-top like the docx */
.esg24-page .esg24-fw-cat span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.esg24-page .esg24-fw-checks {
    margin: 0;
    padding: 14px 22px 14px 18px;
    list-style: none;
}

.esg24-page .esg24-fw-checks > li {
    position: relative;
    display: block;
    margin: 0 0 8px;
    padding-left: 30px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    list-style: none;
    text-indent: 0;
}

.esg24-page .esg24-fw-checks > li:last-child {
    margin-bottom: 0;
}

.esg24-page .esg24-fw-checks > li::before {
    content: "\2713";
    position: absolute;
    top: 0.2em;
    left: 0;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--c);
    color: var(--esg-color-white);
    font-size: 12px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}

.esg24-page .esg24-fw-checks .framework-list {
    margin: 4px 0 0;
    padding-left: 1.2em;
}

.esg24-page .esg24-fw-checks .framework-list li {
    display: list-item;
    margin-bottom: 4px;
    list-style: disc outside;
    font-size: 15px;
}

.esg24-page .esg24-fw-arrow {
    width: 22px;
    height: 22px;
    margin: 6px auto;
    background: var(--c);
    clip-path: polygon(30% 0, 70% 0, 70% 50%, 100% 50%, 50% 100%, 0 50%, 30% 50%);
}

@media (max-width: 768px) {
    .esg24-page .esg24-fw {
        --fw-band: 52px;
    }

    .esg24-page .esg24-fw-tabs span {
        font-size: 13px;
        padding: 6px 4px;
    }

    .esg24-page .esg24-fw-tabs span:first-child {
        font-size: 11px;
    }

    .esg24-page .esg24-fw-cat {
        font-size: 16px;
    }

    .esg24-page .esg24-fw-checks {
        padding: 12px 14px 12px 12px;
    }

    .esg24-page .esg24-fw-checks > li {
        font-size: 15px;
    }
}

/* ===== Import Work Plan (IFRS) like the docx: chevron phase headers, each phase
   column tinted in its colour, coloured schedule row, check-circle items ===== */
.esg24-page .esg24-ifrs-table {
    --p1: #79b971; --p1-soft: #eef7ec;
    --p2: #f2a443; --p2-soft: #fef5e9;
    --p3: #e0507a; --p3-soft: #fdeef3;
    --p4: #9c5aa8; --p4-soft: #f6eef8;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

.esg24-page .esg24-ifrs-table th,
.esg24-page .esg24-ifrs-table td {
    border: 0;
    border-bottom: 2px solid var(--esg-color-white);
}

.esg24-page .esg24-ifrs-table .ifrs-side-head {
    background: #8fc489;
    color: #1f3a1d;
    font-size: 16px;
    border-right: 2px solid var(--esg-color-white);
}

/* chevrons: pointed right edge, notched left edge (first phase keeps a flat left edge) */
.esg24-page .esg24-ifrs-table .ifrs-stage {
    padding: 14px 26px;
    font-size: 17px;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
}

.esg24-page .esg24-ifrs-table .ifrs-stage-one { background: var(--p1); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.esg24-page .esg24-ifrs-table .ifrs-stage-two { background: var(--p2); }
.esg24-page .esg24-ifrs-table .ifrs-stage-three { background: var(--p3); }
.esg24-page .esg24-ifrs-table .ifrs-stage-four { background: var(--p4); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16px 50%); }

.esg24-page .esg24-ifrs-table .ifrs-time {
    font-size: 19px;
}

.esg24-page .esg24-ifrs-table .ifrs-time-one { background: var(--p1-soft); color: #4f9a47; }
.esg24-page .esg24-ifrs-table .ifrs-time-two { background: var(--p2-soft); color: #e08a1e; }
.esg24-page .esg24-ifrs-table .ifrs-time-three { background: var(--p3-soft); color: #d23d68; }
.esg24-page .esg24-ifrs-table .ifrs-time-four { background: var(--p4-soft); color: #8a4598; }

.esg24-page .esg24-ifrs-table .ifrs-cell { --c: var(--p1); background: var(--p1-soft); }
.esg24-page .esg24-ifrs-table .ifrs-cell-two { --c: var(--p2); background: var(--p2-soft); }
.esg24-page .esg24-ifrs-table .ifrs-cell-three { --c: var(--p3); background: var(--p3-soft); }
.esg24-page .esg24-ifrs-table .ifrs-cell-four { --c: var(--p4); background: var(--p4-soft); }

.esg24-page .table-wrap .esg24-ifrs-table li {
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 7px;
}

.esg24-page .table-wrap .esg24-ifrs-table li::before {
    content: "\2713";
    width: 16px;
    height: 16px;
    margin-top: 0.25em;
    border-radius: 50%;
    background: var(--c);
    color: var(--esg-color-white);
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* ===== Reasonably Expected Risks and Opportunities: one card per item (prototype) =====
   type colour: transition teal / physical pink / opportunity blue */
.esg24-page .table-wrap:has(> .esg24-ro) {
    border: 0;
}

.esg24-page .esg24-ro {
    display: grid;
    gap: 18px;
}

.esg24-page .esg24-ro-card {
    --c: #2fa7a5;
    --c-soft: #e8f5f4;
    display: grid;
    grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
    grid-template-areas: "head head" "meta meta" "desc impact";
    gap: 0 24px;
    padding: 0 22px 20px;
    border: 1px solid var(--c);
    border-left-width: 6px;
    border-radius: 16px;
    background: var(--esg-color-white);
    box-shadow: 0 2px 10px rgba(23, 58, 138, 0.06);
}

.esg24-page .esg24-ro-card.is-physical { --c: #e0507a; --c-soft: #fdeef3; }
.esg24-page .esg24-ro-card.is-opportunity { --c: #3f7fbf; --c-soft: #eaf2fa; }

.esg24-page .esg24-ro-head {
    grid-area: head;
    height: auto; /* master gives every <header> a fixed height */
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0 -22px;
    padding: 14px 22px;
    border-radius: 10px 10px 0 0;
    background: var(--c-soft);
}

.esg24-page .esg24-ro-type {
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--c);
    color: var(--esg-color-white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.esg24-page .esg24-ro-title {
    margin: 0;
    color: var(--esg-color-heading-strong);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
}

.esg24-page .esg24-ro-meta {
    grid-area: meta;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 14px 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #d5dce6;
}

.esg24-page .esg24-ro-meta > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.esg24-page .esg24-ro-meta dt,
.esg24-page .esg24-ro-label {
    color: var(--esg-color-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.esg24-page .esg24-ro-meta dd {
    margin: 0;
    color: var(--esg-color-heading-strong);
    font-size: 15px;
    font-weight: 700;
}

.esg24-page .esg24-ro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.esg24-page .esg24-ro-chips li {
    display: inline-block;
    margin: 0;
    padding: 2px 10px;
    border: 1px solid var(--c);
    border-radius: 999px;
    color: var(--c);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
}

.esg24-page .esg24-ro-desc { grid-area: desc; }
.esg24-page .esg24-ro-impact { grid-area: impact; }

.esg24-page .esg24-ro-label {
    margin-bottom: 6px;
}

.esg24-page .esg24-ro-desc p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    text-indent: 0;
}

.esg24-page .esg24-ro-box {
    padding: 10px 14px 12px;
    border-radius: 12px;
    background: var(--c-soft);
}

.esg24-page .esg24-ro-box + .esg24-ro-box {
    margin-top: 10px;
}

.esg24-page .esg24-ro-box h6 {
    margin: 0 0 6px;
    color: var(--c);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: normal;
}

.esg24-page .esg24-ro-box ul {
    margin: 0;
    padding-left: 1.2em;
}

.esg24-page .esg24-ro-box li {
    display: list-item;
    margin-bottom: 4px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    list-style: disc outside;
}

@media (max-width: 991px) {
    .esg24-page .esg24-ro-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "head" "meta" "desc" "impact";
        padding: 0 16px 16px;
    }

    .esg24-page .esg24-ro-head {
        margin: 0 -16px;
        padding: 12px 16px;
    }

    .esg24-page .esg24-ro-desc {
        margin-bottom: 14px;
    }
}

/* Card tweaks (user feedback 2026-11-26): larger type pill, value-chain group
   pushed to the right, timeframe shown as a filled pill to match the chips */
.esg24-page .esg24-ro-type {
    padding: 5px 16px;
    font-size: 16px;
}

/* meta uses the card's own 38/62 columns so the value-chain group lines up with the Impact column */
.esg24-page .esg24-ro-meta {
    display: grid;
    grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
    gap: 8px 24px;
}

.esg24-page .esg24-ro-meta dd:not(:has(ul)) {
    padding: 2px 12px;
    border: 1px solid var(--c);
    border-radius: 999px;
    background: var(--c-soft);
    color: var(--c);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .esg24-page .esg24-ro-meta {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Card variants for the other two risk tables
   .is-sd  Strategic Decisions: Financial Impact | Response Strategy (50/50, no meta row)
   .is-rs  Resilience Assessment: scenario pills, two boxes side by side
   .is-assume  shared Main Assumptions card, neutral colour */
.esg24-page .esg24-ro-text {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    text-indent: 0;
}

.esg24-page .esg24-ro-text ul,
.esg24-page .esg24-ro-box ul {
    margin: 6px 0 0;
    padding-left: 1.2em;
}

.esg24-page .esg24-ro-text li {
    display: list-item;
    margin-bottom: 4px;
    list-style: disc outside;
}

.esg24-page .esg24-ro-box > ul:first-child {
    margin-top: 0;
}

.esg24-page .esg24-ro-box .esg-num-item {
    padding-left: 1.1em;
    text-indent: -1.1em;
}

.esg24-page .esg24-ro-card.is-sd {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head head" "desc impact";
}

.esg24-page .esg24-ro-card.is-sd > .esg24-ro-desc,
.esg24-page .esg24-ro-card.is-sd > .esg24-ro-impact {
    margin-top: 16px;
}

.esg24-page .esg24-ro-card.is-rs {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "meta" "impact";
}

.esg24-page .esg24-ro-card.is-rs .esg24-ro-meta {
    grid-template-columns: minmax(0, 1fr);
}

.esg24-page .esg24-ro-boxes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.esg24-page .esg24-ro-boxes .esg24-ro-box + .esg24-ro-box {
    margin-top: 0;
}

.esg24-page .esg24-ro-card.is-neutral { --c: #5d7a9c; --c-soft: #eef2f7; }

.esg24-page .esg24-ro-card.is-assume {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "text";
}

.esg24-page .esg24-ro-card.is-assume > .esg24-ro-text {
    margin-top: 14px;
}

.esg24-page .esg24-ro-card.is-assume .esg24-num-item {
    margin-bottom: 6px;
    padding-left: 1.3em;
    text-indent: -1.3em;
}

@media (max-width: 991px) {
    .esg24-page .esg24-ro-card.is-sd {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "head" "desc" "impact";
    }

    .esg24-page .esg24-ro-boxes {
        grid-template-columns: minmax(0, 1fr);
    }
}
