/* Key Information cards (docx 5.3-1/2): rounded, tinted body, line icon per item */
.esg53-page .esg53-feature-card {
    background: var(--esg-color-white);
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
}

.esg53-page .esg53-feature-card--purple {
    --esg53-accent: var(--esg-color-purple);
    background: var(--esg-process-purple-soft);
}

.esg53-page .esg53-feature-card--teal {
    --esg53-accent: var(--esg-color-teal);
    background: var(--esg-process-teal-soft);
}

.esg53-page .esg53-feature-card__header {
    background: var(--esg53-accent);
    height: auto;
    color: var(--esg-color-white);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    padding: 22px 36px;
}

.esg53-page .esg53-feature-card__body {
    padding: 8px 36px 12px;
}

.esg53-page .esg53-feature-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    border-top: 1px solid color-mix(in srgb, var(--esg53-accent) 25%, transparent);
    padding: 22px 0;
}

.esg53-page .esg53-feature-item:first-child {
    border-top: 0;
}

.esg53-page .esg53-feature-icon,
.esg53-page .esg53-support-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--esg-color-white);
    color: var(--esg53-accent);
}

.esg53-page .esg53-feature-icon svg,
.esg53-page .esg53-support-icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.esg53-page .esg53-feature-item h4 {
    margin: 0 0 8px;
    color: var(--esg53-accent);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
}

.esg53-page .esg53-feature-item p {
    margin: 0;
    color: var(--esg-color-text-strong);
    font-size: 17px;
    line-height: 1.7;
    text-indent: 0;
}

.esg53-page .esg53-feature-highlight {
    font-size: 19px;
}

/* 2025 Main Sponsorship Projects: 3 tinted cards, icon + title + left-aligned list */
.esg53-page .esg53-support-overview {
    text-align: center;
}

.esg53-page .esg53-support-overview__title,
.esg53-page .esg53-chart-panel__title {
    margin: 0 0 24px;
    color: var(--esg-color-heading-strong);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
    text-align: center;
}

.esg53-page .esg53-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.esg53-page .esg53-support-card {
    border-radius: 20px;
    padding: 24px 24px 26px;
    text-align: left;
}

.esg53-page .esg53-support-card.is-scholarship {
    --esg53-accent: var(--esg-color-green-text);
    background: var(--esg-process-lime-soft);
}

.esg53-page .esg53-support-card.is-charity {
    --esg53-accent: var(--esg-color-purple);
    background: var(--esg-process-purple-soft);
}

.esg53-page .esg53-support-card.is-education {
    --esg53-accent: var(--esg-color-orange);
    background: var(--esg-process-orange-soft);
}

.esg53-page .esg53-support-card .esg53-support-icon {
    margin: 0 auto 14px;
}

.esg53-page .esg53-support-card h5 {
    margin: 0 0 12px;
    min-height: 2.7em;
    color: var(--esg53-accent);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
    text-align: center;
}

.esg53-page .esg53-support-card ul {
    margin: 0;
    padding-left: 1.1em;
}

.esg53-page .esg53-support-card li {
    display: list-item;
    list-style: disc outside;
    color: var(--esg-color-text-strong);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.esg53-page .esg53-chart-panel {
    text-align: center;
}

.esg53-page .esg53-combo {
    --esg-combo-min-height: 520px;
    --esg-combo-pad-top: 20px;
    --esg-combo-pad-right: 92px;
    --esg-combo-pad-bottom: 120px;
    --esg-combo-pad-left: 92px;
    --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: 16px;
    --esg-combo-text-color: var(--esg-color-text-strong);
    --esg-combo-grid-color: var(--esg-color-purple);
    --esg-combo-line-color: var(--esg-color-teal);
    --esg-combo-line-width: 1.3;
    --esg-combo-group-gap: 20px;
    --esg-combo-group-pad-x: 20px;
    --esg-combo-bar-width: 22%;
    --esg-combo-bar-min-width: 48px;
    --esg-combo-bar-label-size: 16px;
    --esg-combo-point-color: var(--esg-color-teal);
    --esg-combo-point-size: 12px;
    --esg-combo-point-value-size: 16px;
    --esg-combo-x-offset-bottom: 70px;
    --esg-combo-x-font-size: 18px;
}

.esg53-page .esg53-combo .esg-combo-chart__bar.series-school-count {
    background: var(--esg-color-green);
}

.esg53-page .esg53-combo .esg-combo-chart__bar.series-department-count {
    background: var(--esg-color-orange);
}

.esg53-page .esg53-combo .esg-combo-chart__bar.series-awardee-count {
    background: var(--esg-color-purple);
}

.esg53-page .esg53-combo-legend {
    position: absolute;
    right: var(--esg-combo-pad-right);
    bottom: 0;
    left: var(--esg-combo-pad-left);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
}

.esg53-page .esg53-combo-legend .legend-item {
    align-items: center;
    color: var(--esg-color-text-strong);
    display: inline-flex;
    font-size: 16px;
    gap: 10px;
    line-height: 1.2;
}

.esg53-page .esg53-combo-legend i {
    display: inline-block;
}

.esg53-page .esg53-combo-legend i.series-school-count,
.esg53-page .esg53-combo-legend i.series-department-count,
.esg53-page .esg53-combo-legend i.series-awardee-count {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.esg53-page .esg53-combo-legend i.series-school-count {
    background: var(--esg-color-green);
}

.esg53-page .esg53-combo-legend i.series-department-count {
    background: var(--esg-color-orange);
}

.esg53-page .esg53-combo-legend i.series-awardee-count {
    background: var(--esg-color-purple);
}

.esg53-page .esg53-combo-legend i.series-amount-line {
    position: relative;
    width: 42px;
    height: 10px;
}

.esg53-page .esg53-combo-legend i.series-amount-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 2px solid var(--esg-color-teal);
    transform: translateY(-50%);
}

.esg53-page .esg53-combo-legend i.is-line::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--esg-color-teal);
    transform: translate(-50%, -50%);
}

@media (max-width: 1199px) {
    .esg53-page .esg53-feature-card__header {
        font-size: 22px;
        padding: 20px 28px;
    }

    .esg53-page .esg53-feature-card__body {
        padding: 8px 28px 12px;
    }

    .esg53-page .esg53-feature-item h4,
    .esg53-page .esg53-support-card h5 {
        font-size: 20px;
    }

    .esg53-page .esg53-support-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .esg53-page .esg53-support-grid {
        grid-template-columns: 1fr;
    }

    .esg53-page .esg53-support-card h5 {
        min-height: 0;
    }

    .esg53-page .esg53-combo {
        --esg-combo-min-height: 470px;
        --esg-combo-pad-right: 76px;
        --esg-combo-pad-left: 76px;
    }
}

@media (max-width: 768px) {
    .esg53-page .esg53-feature-card__header {
        font-size: 22px;
    }

    .esg53-page .esg53-feature-item h4,
    .esg53-page .esg53-support-card h5,
    .esg53-page .esg53-support-overview__title,
    .esg53-page .esg53-chart-panel__title {
        font-size: 20px;
    }

    .esg53-page .esg53-feature-item p,
    .esg53-page .esg53-support-card li {
        font-size: 16px;
    }

    .esg53-page .esg53-feature-highlight {
        font-size: 18px;
    }

    .esg53-page .esg53-combo {
        --esg-combo-min-height: 430px;
        --esg-combo-pad-right: 56px;
        --esg-combo-pad-bottom: 124px;
        --esg-combo-pad-left: 56px;
        --esg-combo-axis-width: 44px;
        --esg-combo-axis-font-size: 12px;
        --esg-combo-y-title-size: 12px;
        --esg-combo-group-gap: 10px;
        --esg-combo-group-pad-x: 10px;
        --esg-combo-bar-min-width: 34px;
        --esg-combo-bar-label-size: 14px;
        --esg-combo-point-value-size: 14px;
        --esg-combo-x-font-size: 14px;
    }

    .esg53-page .esg53-combo-legend .legend-item {
        font-size: 14px;
    }
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

/* Medical service teams table: same soft look as ESG51/ESG52 tables
   (rounded frame, row lines only, blue header); replaces the old pink table */
.esg53-page .esg53-soft-wrap {
    margin-top: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--esg-process-blue-soft);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(23, 58, 138, 0.06);
}

.esg53-page .esg53-medical-table {
    border: none;
    border-collapse: collapse;
    margin: 0;
    table-layout: fixed;
    width: 100%;
}

.esg53-page .esg53-medical-table th,
.esg53-page .esg53-medical-table td {
    border: none;
    border-bottom: 1px solid var(--esg-process-blue-soft);
    line-height: 1.6;
    padding: 14px 12px;
    text-indent: 0;
    vertical-align: middle;
}

.esg53-page .esg53-medical-table th {
    background: var(--esg-process-blue-strong);
    color: var(--esg-color-white);
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

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

.esg53-page .esg53-medical-table th:nth-child(1) { width: 18%; }
.esg53-page .esg53-medical-table th:nth-child(2) { width: 32%; }
.esg53-page .esg53-medical-table th:nth-child(3) { width: 28%; }
.esg53-page .esg53-medical-table th:nth-child(4),
.esg53-page .esg53-medical-table th:nth-child(5) { width: 11%; }

.esg53-page .esg53-medical-table td {
    background: var(--esg-color-white);
    color: var(--esg-color-heading-strong);
    font-size: 16px;
}

.esg53-page .esg53-medical-table tbody tr:last-child td {
    border-bottom: none;
}

.esg53-page .esg53-medical-table td.school-col {
    background: var(--esg-process-blue-soft);
    border-bottom-color: var(--esg-process-blue-soft);
    color: var(--esg-process-blue-strong);
    font-weight: 700;
    text-align: center;
}

.esg53-page .esg53-medical-table td.number {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Phones: university becomes a header bar, each club a labelled block */
@media (max-width: 768px) {
    .esg53-page .esg53-medical-table,
    .esg53-page .esg53-medical-table tbody,
    .esg53-page .esg53-medical-table tr,
    .esg53-page .esg53-medical-table td {
        display: block;
        width: auto !important;
    }

    .esg53-page .esg53-medical-table thead {
        display: none;
    }

    .esg53-page .esg53-medical-table tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid var(--esg-process-blue-soft);
    }

    .esg53-page .esg53-medical-table tbody tr:last-child {
        border-bottom: none;
    }

    .esg53-page .esg53-medical-table td {
        border-bottom: none;
        padding: 6px 14px;
        text-align: left !important;
    }

    .esg53-page .esg53-medical-table td.school-col,
    .esg53-page .esg53-medical-table td[data-label="Club"],
    .esg53-page .esg53-medical-table td[data-label="Location"] {
        grid-column: 1 / -1;
    }

    .esg53-page .esg53-medical-table td.school-col {
        background: var(--esg-process-blue-strong);
        color: var(--esg-color-white);
        font-size: 17px;
        padding: 12px 14px;
    }

    .esg53-page .esg53-medical-table td[data-label="Club"] {
        font-weight: 700;
        padding-top: 14px;
    }

    .esg53-page .esg53-medical-table td[data-label="Location"],
    .esg53-page .esg53-medical-table td.number {
        padding-bottom: 12px;
    }

    .esg53-page .esg53-medical-table td.number::before,
    .esg53-page .esg53-medical-table td[data-label="Location"]::before {
        content: attr(data-label);
        display: block;
        color: var(--esg-process-blue-strong);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
    }
}

/* Sub-headings under Philanthropic Activities: navy like the h3s, normal spacing */
.esg53-page .esg53-subheading {
    color: var(--esg-color-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
    margin: 0;
}

/* Photos inside list items (no nested Bootstrap rows, so no negative margins) */
.esg53-page .esg53-li-photo {
    display: block;
    width: 100%;
    margin: 12px 0 0;
}

.esg-donut-infographic {
    width: 100%;
    font-family: sans-serif;
    background: #ffffff;
    padding: 20px 0;
    overflow: hidden;
}

.esg-chart-grid {
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    gap: 15px;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 10px;
}

.col-left, .col-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0;
    position: relative;
}

.esg-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    z-index: 2;
    width: 100%;
}

    .esg-item .dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        margin-top: 5px;
        flex-shrink: 0;
        position: relative;
        z-index: 3;
    }

    .esg-item .text {
        font-size: 16px;
        font-weight: 700;
        color: #333;
        line-height: 1.5;
        background: #fff; 
        padding-right: 10px;
        position: relative;
        z-index: 3;
    }

    .esg-item .val {
        font-weight: 500;
        color: #555;
        font-size: 15px;
    }


.bg-orange {
    background-color: #F2A03D;
}

.bg-purple {
    background-color: #5A3A8A;
}

.bg-green {
    background-color: #C4D647;
}

.bg-blue {
    background-color: #6DB6B5;
}


.col-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.donut-chart {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient( #C4D647 0% 30.4%, #6DB6B5 30.4% 40.3%, #5A3A8A 40.3% 80.2%, #F2A03D 80.2% 100% );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.donut-inner {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
}

    .donut-inner .yr {
        font-size: 22px;
        font-weight: 700;
        color: #222;
    }

    .donut-inner .title {
        font-size: 15px;
        font-weight: 700;
        color: #444;
        line-height: 1.4;
        margin-top: 4px;
    }

.line {
    position: absolute;
    z-index: 1;
}


.line-tl {
    top: 11px;
    left: 7px;
    width: calc(100% + 40px);
    height: 70px;
    border-top: 1.5px solid #F2A03D;
    border-right: 1.5px solid #F2A03D;
}


.line-bl {
    bottom: 15px;
    left: 7px;
    width: calc(100% + 30px);
    height: 70px;
    border-bottom: 1.5px solid #5A3A8A;
    border-right: 1.5px solid #5A3A8A;
}

.line-tr {
    top: 11px;
    right: calc(100% - 7px);
    width: 60px; 
    height: 70px;
    border-top: 1.5px solid #C4D647;
    border-left: 1.5px solid #C4D647;
}


.line-br {
    bottom: 15px;
    right: calc(100% - 7px);
    width: 60px;
    height: 70px;
    border-bottom: 1.5px solid #6DB6B5;
    border-left: 1.5px solid #6DB6B5;
}



@media (max-width: 768px) {
    .esg-chart-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
        padding: 10px;
    }

    .col-center {
        grid-row: 1;
        margin-bottom: 10px;
    }

    .col-left, .col-right {
        padding: 0;
        gap: 20px;
    }

    .esg-item {
        justify-content: center;
    }

        .esg-item .text {
            text-align: left;
        }


    .line {
        display: none;
    }
}
/* Key Information / sponsorship icons on phones */
@media (max-width: 768px) {
    .esg53-page .esg53-feature-card__header {
        padding: 16px 18px;
    }

    .esg53-page .esg53-feature-card__body {
        padding: 4px 18px 8px;
    }

    .esg53-page .esg53-feature-item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 0;
    }

    .esg53-page .esg53-feature-icon,
    .esg53-page .esg53-support-icon {
        width: 52px;
        height: 52px;
    }

    .esg53-page .esg53-feature-icon svg,
    .esg53-page .esg53-support-icon svg {
        width: 34px;
        height: 34px;
    }

    .esg53-page .esg53-support-card {
        padding: 20px 18px;
    }
}
