/* Homepage refinements: sectors, value cards, projects and editorial content. */
.hpc-extra-sectors {
    padding-top: 24px;
}

.hpc-sector-controls {
    display: flex;
    justify-content: center;
    padding-top: 28px;
}

.hpc-expand-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid #bed4c5;
    border-radius: 30px;
    background: #fff;
    color: #0b6b3a;
    font-size: 14px;
    font-weight: 500;
}

.hpc-expand-button:hover {
    background: #edf8f2;
}

.hpc-expand-arrow {
    transition: transform .25s;
}

.hpc-expand-button[aria-expanded="true"] .hpc-expand-arrow {
    transform: rotate(180deg);
}

/* A stronger visual introduction and three distinct value cards. */
.hpc-value-grid {
    grid-template-columns: .95fr 2fr;
    gap: 28px;
    align-items: stretch;
}

.hpc-value-intro {
    padding: 36px;
    border-radius: 18px;
    background: #0b6b3a;
    color: #fff;
}

.hpc-value-intro h2 {
    color: #fff;
    font-size: 32px;
}

.hpc-value-intro .hpc-eyebrow {
    color: #c6ebd6;
}

.hpc-value-intro p:not(.hpc-eyebrow) {
    margin: 22px 0 28px;
    color: #e2f1e8;
    font-size: 14px;
    line-height: 1.9;
}

.hpc-value-intro .hpc-value-intro-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.hpc-value-items {
    gap: 18px;
}

.hpc-value-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
    border: 1px solid #dce7df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px #12382a04;
}

.hpc-value-card-top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.hpc-value-items .hpc-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 14px;
    background: #edf8f2;
    color: #0b6b3a;
    font-size: 25px;
}

.hpc-value-items .hpc-value-number {
    margin: 0;
    color: #87a293;
    font-size: 12px;
}

.hpc-value-card h3 {
    margin-bottom: 14px;
    font-size: 21px;
}

.hpc-value-card p {
    margin-bottom: 26px;
}

.hpc-value-card .hpc-text-link {
    margin-top: auto;
    font-size: 12px;
}

/* Consistent project imagery, with intentional artwork when no image exists. */
.hpc-project-card,
.hpc-article-card {
    padding: 0;
}

.hpc-project-media,
.hpc-article-media {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hpc-project-media img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #edf8f2;
}

.hpc-project-placeholder {
    position: relative;
    width: 100%;
    min-height: 180px;
    padding: 28px;
    background: linear-gradient(135deg, #edf8f2, #d7ecdf);
    color: #07552e;
    overflow: hidden;
}

.hpc-project-placeholder > span:first-child {
    display: block;
    font: 800 42px/1.2 Nunito, sans-serif;
    margin-bottom: 14px;
}

.hpc-project-placeholder > span:nth-child(2) {
    font-size: 11px;
}

.hpc-project-placeholder > i {
    position: absolute;
    right: 26px;
    top: 26px;
    font-size: 48px;
    opacity: .16;
}

/* Editorial cards with visible dates and an illustrated fallback. */
.hpc-article-card {
    border-color: #cfdfd4;
    box-shadow: 0 5px 20px #12382a05;
}

.hpc-article-card:hover {
    box-shadow: 0 12px 30px #12382a14;
}

.hpc-article-media img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #e4f0e8;
}

.hpc-article-badge {
    display: inline-block;
    position: absolute;
    left: 22px;
    top: 20px;
    padding: 7px 11px;
    border-radius: 20px;
    background: #fff;
    color: #07552e;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .5px;
}

.hpc-article-placeholder {
    position: relative;
    width: 100%;
    min-height: 220px;
    padding: 75px 26px 24px;
    background: linear-gradient(120deg, #07552e, #16804b);
    color: #fff;
    overflow: hidden;
}

.hpc-article-placeholder::after {
    content: "";
    position: absolute;
    right: -70px;
    top: 50px;
    width: 210px;
    height: 210px;
    border: 1px solid #ffffff30;
    border-radius: 50%;
    box-shadow: 0 0 0 24px #ffffff07, 0 0 0 48px #ffffff05;
}

.hpc-article-monogram {
    display: block;
    font: 800 54px/1.1 Nunito, sans-serif;
}

.hpc-article-placeholder-caption {
    display: block;
    margin-top: 16px;
    font-size: 12px;
}

.hpc-article-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 11px !important;
}

.hpc-article-date > span {
    padding-left: 12px;
    border-left: 1px solid #dce7df;
    color: #0b6b3a;
}

.hpc-article-card h3 {
    font-size: 25px;
    line-height: 1.3;
}

.hpc-article-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid #e3ece6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.hpc-article-link > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf8f2;
}

.hpc-news-card .hpc-eyebrow {
    margin-bottom: 8px;
}

.hpc-news-date {
    margin-bottom: 15px;
    color: var(--hpc-muted);
    font-size: 12px;
}

.hpc-news-sector {
    align-self: flex-start;
    padding: 5px 10px;
    margin-bottom: 16px;
    border-radius: 5px;
    background: #edf8f2;
    color: #07552e;
    font-size: 11px;
}

@media (max-width: 1199px) {
    .hpc-value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hpc-value-items {
        grid-template-columns: 1fr;
    }

    .hpc-value-intro,
    .hpc-value-card {
        padding: 26px;
    }

    .hpc-value-intro h2 {
        font-size: 30px;
    }

    .hpc-project-card,
    .hpc-article-card {
        padding: 0;
    }
}
/* Original founder event photos, displayed together rather than hidden in a slider. */
.hpc-founders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.hpc-founder-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--hpc-line);
    border-radius: 18px;
    background: #fff;
}

.hpc-founder-card img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 20%;
}

.hpc-founder-card figcaption {
    padding: 26px;
}

.hpc-founder-card .hpc-eyebrow {
    margin-bottom: 10px;
}

.hpc-founder-card h3 {
    margin: 0;
    font-size: 25px;
}

@media (max-width: 767px) {
    .hpc-founders-grid {
        grid-template-columns: 1fr;
    }

    .hpc-founder-card img {
        height: 360px;
    }
}
/* Shared HTML artwork for missing homepage banner, article and project images. */
.hpc-brand-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 330px;
    padding: 36px;
    border-radius: 100px 16px 16px 16px;
    background: #0b6b3a;
    color: #fff;
}

.hpc-media-fallback {
    width: 100%;
    height: 220px;
    background: #edf8f2;
}

.hpc-media-fallback .hpc-brand-art {
    display: none;
}

.hpc-media-fallback.hpc-image-missing > .hpc-brand-art {
    display: flex;
    min-height: 0;
    height: 100%;
    padding: 24px;
    border-radius: 0;
}

.hpc-media-fallback .hpc-art-label {
    font-size: 8px;
    letter-spacing: 1px;
}

.hpc-media-fallback .hpc-art-logo {
    font-size: 52px;
    margin-top: 18px;
}

.hpc-media-fallback .hpc-art-logo span {
    font-size: 14px;
    margin-top: 12px;
}

.hpc-media-fallback > img[hidden] {
    display: none !important;
}

.hpc-feature-image .hpc-media-fallback {
    height: 330px;
}

.hpc-feature-image .hpc-media-fallback .hpc-brand-art {
    padding: 36px;
    border-radius: 100px 16px 16px 16px;
}

.hpc-feature-image .hpc-art-logo {
    font-size: 72px;
}

.hpc-project-media .hpc-media-fallback {
    height: 220px;
}

.hpc-project-media img {
    height: 220px;
}

.hpc-article-badge {
    z-index: 2;
}

@media (max-width: 767px) {
    .hpc-brand-art {
        min-height: 240px;
        padding: 26px;
        border-top-left-radius: 64px;
    }

    .hpc-feature-image .hpc-media-fallback {
        height: 240px;
    }

    .hpc-feature-image .hpc-art-logo {
        font-size: 54px;
    }
}

/* Compact cards reserve the top corner for their category badge. */
.hpc-media-fallback .hpc-art-label {
    display: none;
}

.hpc-feature-image .hpc-art-label {
    display: block;
}
