/* Only the company history and its adjacent, existing achievements module. */
.heritage-page-slug--about2 .report-module-list {
    --history-module-gap: 46px;
    --history-axis: 180px;
    --history-gutter: 212px;
    --history-year-width: 148px;
    row-gap: var(--history-module-gap);
}

body.heritage-page-slug--about2 .company-history > .report-module__header {
    margin: 0 0 34px;
    padding: 0;
    border: 0;
    background: transparent;
}

.heritage-page-slug--about2 .company-history .report-module__title {
    color: #294653;
    font-size: 26px;
}

.heritage-page-slug--about2 .company-history__era {
    --history-color: #7eb537;
    --history-ink: #42722b;
    position: relative;
    padding-bottom: 36px;
    min-width: 0;
}

.heritage-page-slug--about2 .company-history__era--2 {
    --history-color: #14968e;
    --history-ink: #176b68;
}

.heritage-page-slug--about2 .company-history__era--3 {
    --history-color: #0f75bb;
    --history-ink: #225e8b;
}

.heritage-page-slug--about2 .company-history__era::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: -24px;
    left: calc(var(--history-axis) - 2px);
    width: 4px;
    background: var(--history-color);
}

.heritage-page-slug--about2 .company-history__era:last-child {
    padding-bottom: 0;
}

.heritage-page-slug--about2 .company-history__era:last-child::before {
    bottom: 0;
}

.heritage-page-slug--about2 .company-history__era-header,
.heritage-page-slug--about2 .company-history__event {
    position: relative;
    display: grid;
    grid-template-columns: var(--history-year-width) minmax(0, 1fr);
    column-gap: 64px;
    align-items: start;
    min-width: 0;
}

.heritage-page-slug--about2 .company-history__era-header {
    min-height: 48px;
    margin-bottom: 24px;
    align-items: center;
}

.heritage-page-slug--about2 .company-history__period {
    color: var(--history-ink);
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    text-align: right;
    overflow-wrap: anywhere;
}

.heritage-page-slug--about2 .company-history__era-header h4 {
    grid-column: 2;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--history-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0;
}

.heritage-page-slug--about2 .company-history__marker {
    position: absolute;
    z-index: 1;
    top: 0;
    left: calc(var(--history-axis) - 24px);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid var(--history-color);
    border-radius: 50%;
    background: #fff;
    color: var(--history-ink);
}

.heritage-page-slug--about2 .company-history__icon {
    width: 26px;
    height: 26px;
}

.heritage-page-slug--about2 .company-history__events {
    margin: 0;
    padding: 0;
    list-style: none;
}

.heritage-page-slug--about2 .company-history__event {
    margin: 0;
    padding: 0 0 26px;
    list-style: none;
}

.heritage-page-slug--about2 .company-history__event::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 8px;
    left: calc(var(--history-axis) - 7px);
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--history-color);
    box-shadow: 0 0 0 1px var(--history-color);
}

.heritage-page-slug--about2 .company-history__year {
    color: var(--history-ink);
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.85;
    text-align: right;
    overflow-wrap: anywhere;
}

.heritage-page-slug--about2 .company-history__copy {
    grid-column: 2;
    min-width: 0;
}

.heritage-page-slug--about2 .company-history__copy p,
.heritage-page-slug--about2 .company-history__copy strong {
    margin: 0;
    color: #465c66;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

/* Connect only adjacent modules; CMS hiding/reordering must not draw a false link. */
.heritage-page-slug--about2 #ppt-2025-history:has(.company-history) + #ppt-2025-milestones {
    position: relative;
}

.heritage-page-slug--about2 #ppt-2025-history:has(.company-history) + #ppt-2025-milestones::before {
    content: "";
    position: absolute;
    top: calc(-1 * var(--history-module-gap));
    left: calc(var(--history-axis) - 2px);
    width: 4px;
    height: calc(100% + var(--history-module-gap) - 14px);
    background: #0f75bb;
}

.heritage-page-slug--about2 #ppt-2025-history:has(.company-history) + #ppt-2025-milestones::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: calc(var(--history-axis) - 6px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0f75bb;
}

.heritage-page-slug--about2 #ppt-2025-history:has(.company-history) + #ppt-2025-milestones .report-module__header {
    position: relative;
    min-height: 48px;
    margin: 0 0 20px;
    padding: 6px 0 0 var(--history-gutter);
    border: 0;
    background: transparent;
}

.heritage-page-slug--about2 #ppt-2025-history:has(.company-history) + #ppt-2025-milestones .report-module__title {
    position: static;
    margin: 0;
    color: #225e8b;
    font-size: 24px;
    line-height: 1.5;
}

.heritage-page-slug--about2 #ppt-2025-history:has(.company-history) + #ppt-2025-milestones .climate-context__icon {
    position: absolute;
    top: 0;
    left: calc(var(--history-axis) - 24px);
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 9px;
    border: 3px solid #0f75bb;
    border-radius: 50%;
    color: #225e8b;
    background: #fff;
}

.heritage-page-slug--about2 #ppt-2025-history:has(.company-history) + #ppt-2025-milestones .report-module__body {
    padding-left: var(--history-gutter);
}

.heritage-page-slug--about2 #ppt-2025-history:has(.company-history) + #ppt-2025-milestones .report-module__body p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.85;
}

@media (max-width: 1199.98px) {
    .heritage-page-slug--about2 .report-module-list { --history-module-gap: 38px; }
}

@media (max-width: 767.98px) {
    .heritage-page-slug--about2 .report-module-list {
        --history-module-gap: 32px;
        --history-axis: 22px;
        --history-gutter: 58px;
    }

    .heritage-page-slug--about2 .company-history__era-header,
    .heritage-page-slug--about2 .company-history__event {
        display: block;
        padding-left: var(--history-gutter);
    }

    .heritage-page-slug--about2 .company-history__era-header h4 {
        margin-top: 8px;
        font-size: 19px;
    }

    .heritage-page-slug--about2 .company-history__period,
    .heritage-page-slug--about2 .company-history__year {
        display: block;
        text-align: left;
    }

    .heritage-page-slug--about2 .company-history__year { margin-bottom: 6px; }
    .heritage-page-slug--about2 .company-history__era { padding-bottom: 24px; }
    .heritage-page-slug--about2 .company-history__marker { width: 44px; height: 44px; left: 0; }
    .heritage-page-slug--about2 .company-history .report-module__title { font-size: 23px; }
}
