/* ---- About: ESG ---- */

.about-page .es-hero-sub {
    max-width: 28rem;
    line-height: 1.6;
}

/* Impact cards and technical details sit in the same reading column as the FAQ block */
.about-page .es-impact .container,
.about-page .es-tech .container {
    max-width: calc(984px + 2.5rem);
}

@media (min-width: 64rem) {
    .about-page .es-impact .container,
    .about-page .es-tech .container {
        max-width: calc(984px + 5rem);
    }
}

/* ---- Impact grid: one bordered box, split down the middle ---- */

.about-page .es-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--ab-line);
    border-radius: 2px;
}

.about-page .es-item {
    padding: 2rem 2rem 2.25rem;
}

.about-page .es-item:nth-child(odd) {
    border-right: 1px solid var(--ab-line);
}

.about-page .es-num {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    /* Decorative; --accent is brighter in dark mode so the tint holds up there too */
    color: var(--accent);
    opacity: .35;
}

[data-theme="dark"] .about-page .es-num {
    opacity: .55;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .about-page .es-num {
        opacity: .55;
    }
}

.about-page .es-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--page-text);
}

.about-page .es-note {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--ab-muted);
}

/* ---- Report download ---- */

.about-page .es-download {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 2.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--page-text);
    text-decoration: none;
}

.about-page .es-download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--ab-line);
    border-radius: 50%;
    font-size: 0.75rem;
    transition: border-color .2s ease, color .2s ease;
}

.about-page .es-download:hover {
    color: var(--ab-accent);
}

.about-page .es-download:hover .es-download-icon {
    border-color: var(--ab-accent);
}

/* ---- Technical details (collapsible) ---- */

.about-page .es-tech + .faq-block {
    padding-top: 0;
}

.about-page .es-tech-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    cursor: pointer;
    list-style: none;
}

.about-page .es-tech-summary::-webkit-details-marker {
    display: none;
}

.about-page .es-tech-summary:focus-visible {
    outline: 2px solid var(--ab-accent);
    outline-offset: 4px;
}

.about-page .es-tech-eyebrow {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.625rem;
}

.about-page .es-tech-heading {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--page-text);
}

/* Plus that turns into a cross when open, same as the FAQ icons */
.about-page .es-tech-icon {
    flex: none;
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(var(--ink), .25);
    border-radius: 50%;
    transition: transform .2s ease, border-color .2s ease;
}

.about-page .es-tech-icon::before,
.about-page .es-tech-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.75rem;
    height: 1.5px;
    margin: -0.75px 0 0 -0.375rem;
    background: var(--page-text);
    transition: background .2s ease;
}

.about-page .es-tech-icon::after {
    transform: rotate(90deg);
}

.about-page .es-tech-details[open] .es-tech-icon {
    border-color: var(--ab-accent);
    transform: rotate(45deg);
}

.about-page .es-tech-details[open] .es-tech-icon::before,
.about-page .es-tech-details[open] .es-tech-icon::after {
    background: var(--ab-accent);
}

/* Same bordered two-column box as the impact grid, tighter */
.about-page .es-tech-grid {
    margin-top: 1.75rem;
}

.about-page .es-tech-grid .es-item {
    padding: 1.5rem 1.5rem 1.75rem;
}

.about-page .es-tech-label {
    margin: 0 0 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ab-accent);
}

.about-page .es-tech-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--ab-muted);
}

@media (max-width: 767.98px) {
    .about-page .es-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-page .es-item {
        padding: 1.5rem 1.25rem 1.75rem;
    }

    .about-page .es-item:nth-child(odd) {
        border-right: 0;
    }

    .about-page .es-item + .es-item {
        border-top: 1px solid var(--ab-line);
    }
}
