/* =========================================================
   DIAMOND AREA CDC — PROJECTS SHOWCASE
   A distinctive editorial portfolio design
========================================================= */

.projects-page {
    --project-green: #0b6e3e;
    --project-deep: #063b25;
    --project-gold: #d6b343;
    --project-ink: #173c2b;
    --project-muted: #5b6b61;
    background: #f6f9f6;
    color: var(--project-ink);
}

.projects-page section {
    padding-top: 0;
    padding-bottom: 0;
}

.projects-page p {
    color: var(--project-muted) !important;
    opacity: 1 !important;
}

.projects-page h1,
.projects-page h2,
.projects-page h3 {
    opacity: 1 !important;
}

/* Hero */
.projects-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 88px !important;
    background:
        radial-gradient(circle at 88% 12%, rgba(214,179,67,.16), transparent 27%),
        linear-gradient(120deg, #f0f8f2 0%, #e5f1e8 100%);
}

.projects-hero:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(11,110,62,.10);
    border-radius: 50%;
    right: -180px;
    top: -180px;
}

.projects-hero-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
    position: relative;
    z-index: 1;
}

.projects-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #a27c19;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.projects-hero-copy h1 {
    max-width: 650px;
    margin: 22px 0 20px;
    color: var(--project-green) !important;
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.08;
    letter-spacing: -2.3px;
    font-weight: 800;
}

.projects-hero-copy h1 em,
.overview-heading h2 em {
    color: #b28b25;
    font-style: normal;
}

.projects-hero-copy > p {
    max-width: 590px;
    margin-bottom: 28px;
    color: #52645a !important;
    font-size: 16px;
    line-height: 1.95;
}

.projects-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.projects-main-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 15px 25px;
    border-radius: 40px;
    background: var(--project-green);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(11,110,62,.18);
    transition: .3s ease;
}

.projects-main-button:hover {
    background: var(--project-deep);
    transform: translateY(-3px);
}

.projects-hero-note {
    color: #50675a;
    font-size: 12px;
    font-weight: 600;
}

.projects-hero-note i {
    margin-right: 6px;
    color: #b28b25;
}

.projects-hero-visual {
    min-height: 405px;
    position: relative;
}

.hero-photo-main {
    position: absolute;
    width: 72%;
    height: 350px;
    right: 8%;
    top: 4px;
    overflow: hidden;
    border: 9px solid #fff;
    border-radius: 22px 22px 95px 22px;
    box-shadow: 0 28px 65px rgba(14,65,39,.18);
    transform: rotate(2deg);
}

.hero-photo-main img,
.hero-photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-small {
    position: absolute;
    width: 43%;
    height: 170px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 17px;
    box-shadow: 0 18px 40px rgba(14,65,39,.2);
    transform: rotate(-4deg);
}

.hero-photo-caption {
    position: absolute;
    right: 0;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(0,0,0,.12);
}

.caption-icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: #f7f0d9;
    color: #a27c19;
}

.hero-photo-caption strong,
.hero-photo-caption small {
    display: block;
}

.hero-photo-caption strong {
    color: var(--project-green);
    font-size: 12px;
}

.hero-photo-caption small {
    margin-top: 2px;
    color: #68766d;
    font-size: 10px;
}

.hero-gold-orbit {
    position: absolute;
    width: 90px;
    height: 90px;
    top: -10px;
    left: 5%;
    border: 12px solid rgba(214,179,67,.65);
    border-radius: 50%;
    z-index: -1;
}

.projects-hero-bottomline {
    position: absolute;
    height: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, var(--project-gold), transparent);
}

/* Overview */
.projects-overview {
    padding: 68px 0 32px !important;
    background: #fff;
}

.projects-overview-inner {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: end;
    gap: 65px;
}

.overview-heading h2 {
    margin-top: 13px;
    color: var(--project-green) !important;
    font-size: clamp(30px, 3.4vw, 43px);
    line-height: 1.2;
}

.projects-overview-inner > p {
    max-width: 510px;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.95;
}

.project-status-key {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid #edf1ed;
}

.project-status-key span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #52645a;
    font-size: 12px;
    font-weight: 700;
}

.status-mark {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
}
.status-mark.completed { background: #16834d; }
.status-mark.ongoing { background: #d49b22; }
.status-mark.proposed { background: #5279a7; }

/* Project directory */
.project-directory {
    padding: 75px 0 85px !important;
    background: #f4f8f5;
}

.project-directory-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.project-directory-heading h2 {
    margin: 10px 0 8px;
    color: var(--project-green) !important;
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.2;
}

.project-directory-heading p {
    font-size: 14px;
}

.project-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-button {
    padding: 10px 16px;
    border: 1px solid #dce7df;
    border-radius: 30px;
    background: #fff;
    color: #456052;
    font-size: 11px;
    font-weight: 700;
    transition: .25s ease;
}

.filter-button:hover,
.filter-button.active {
    border-color: var(--project-green);
    background: var(--project-green);
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px;
}

.project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4ece6;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(13,66,39,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(13,66,39,.12);
}

.project-card[hidden] {
    display: none !important;
}

.project-card-image {
    position: relative;
    height: 265px;
    overflow: hidden;
    background: #dfeae2;
}

.project-card-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.project-card:hover .project-card-image > img {
    transform: scale(1.045);
}

.project-status-badge {
    position: absolute;
    top: 17px;
    left: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}

.project-status-badge.completed { background: #16834d; }
.project-status-badge.ongoing { background: #bd8614; }
.project-status-badge.proposed { background: #5279a7; }

.project-image-label {
    position: absolute;
    right: 16px;
    bottom: 15px;
    padding: 7px 11px;
    border-radius: 5px;
    background: rgba(5,44,26,.82);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.project-card-content {
    padding: 26px 27px 28px;
}

.project-card-topline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.project-category {
    color: #a27c19;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.project-category i {
    margin-right: 5px;
}

.project-location {
    color: #68776d;
    font-size: 11px;
    font-weight: 600;
}

.project-location i {
    color: var(--project-green);
    margin-right: 4px;
}

.project-card-content h3 {
    margin: 0 0 13px;
    color: var(--project-green) !important;
    font-size: 25px;
    line-height: 1.25;
}

.project-card-content > p {
    margin: 0;
    color: #53645a !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    opacity: 1 !important;
}

.project-impact-line,
.project-funding-line {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 21px;
    padding: 15px 16px;
    border-radius: 12px;
    background: #f1f7f2;
}

.project-impact-line > i,
.funding-icon {
    display: grid;
    place-items: center;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: #dceee1;
    color: var(--project-green);
    font-size: 16px;
}

.project-impact-line strong,
.project-impact-line small,
.project-funding-line strong,
.project-funding-line small {
    display: block;
}

.project-impact-line strong,
.project-funding-line strong {
    color: var(--project-green);
    font-size: 12px;
}

.project-impact-line small,
.project-funding-line small {
    margin-top: 2px;
    color: #65756a;
    font-size: 11px;
    line-height: 1.5;
}

.project-story-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: var(--project-green) !important;
    font-size: 12px;
    font-weight: 800;
}

.project-story-link:hover {
    color: #a27c19 !important;
    gap: 13px;
}

/* School photo gallery */
.project-gallery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 23px 0 11px;
    padding-top: 17px;
    border-top: 1px solid #e9efea;
}

.project-gallery-heading span {
    color: var(--project-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.project-gallery-heading small {
    color: #7a877e;
    font-size: 10px;
}

.project-photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.project-photo {
    display: block;
    padding: 0;
    height: 91px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 9px;
    background: #e4eee7;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    cursor: zoom-in;
}

.project-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.project-photo:hover img {
    transform: scale(1.1);
}

.projects-empty-state {
    padding: 55px 20px;
    text-align: center;
    color: #637268;
}
.projects-empty-state[hidden] { display: none !important; }
.projects-empty-state > i {
    color: #b28b25;
    font-size: 34px;
}
.projects-empty-state h3 {
    margin: 14px 0 5px;
    color: var(--project-green) !important;
}
.projects-empty-state p {
    font-size: 13px;
}

.projects-more-note {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding: 24px 28px;
    border: 1px solid #e1ebe3;
    border-radius: 15px;
    background: #fff;
}

.more-note-icon {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f8f0d9;
    color: #a27c19;
    font-size: 21px;
}

.projects-more-note span {
    color: #a27c19;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.projects-more-note h3 {
    margin: 4px 0;
    color: var(--project-green) !important;
    font-size: 17px;
}

.projects-more-note p {
    font-size: 12px;
}

/* Call to action */
.projects-callout {
    padding: 48px 0 !important;
    background: var(--project-deep);
    position: relative;
    overflow: hidden;
}

.projects-callout:after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -70px;
    top: -130px;
    border: 1px solid rgba(214,179,67,.28);
    border-radius: 50%;
}

.projects-callout-inner {
    display: flex;
    align-items: center;
    gap: 23px;
    position: relative;
    z-index: 1;
}

.callout-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(214,179,67,.55);
    border-radius: 18px;
    color: var(--project-gold);
    font-size: 25px;
}

.callout-copy {
    flex: 1;
}

.callout-copy > span {
    color: var(--project-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.callout-copy h2 {
    margin: 5px 0;
    color: #fff !important;
    font-size: 26px;
}

.callout-copy p {
    color: rgba(255,255,255,.78) !important;
    font-size: 13px;
}

.projects-callout-inner > a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 14px 22px;
    border-radius: 40px;
    background: var(--project-gold);
    color: #173d2b !important;
    font-size: 12px;
    font-weight: 800;
    transition: .3s ease;
}

.projects-callout-inner > a:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* Lightbox */
body.lightbox-open { overflow: hidden; }

.project-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 65px 80px;
    background: rgba(2,15,9,.94);
}

.project-lightbox.active { display: flex; }

.project-lightbox > img {
    display: block;
    max-width: min(100%, 1100px);
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.project-lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.project-lightbox button:hover { background: var(--project-green); }
.project-lightbox-close {
    top: 22px;
    right: 25px;
    font-size: 32px !important;
}
.project-lightbox-prev {
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
}
.project-lightbox-next {
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}
.project-lightbox-count {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1050px) {
    .projects-hero-layout { gap: 30px; }
    .projects-hero-copy h1 { font-size: 52px; }
    .project-directory-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .projects-hero { padding: 55px 0 65px !important; }
    .projects-hero-layout { grid-template-columns: 1fr; gap: 35px; }
    .projects-hero-copy { text-align: center; }
    .projects-hero-copy h1 {
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(38px, 9vw, 52px);
        letter-spacing: -1.5px;
    }
    .projects-hero-copy > p {
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
    }
    .projects-hero-actions { justify-content: center; }
    .projects-hero-visual { min-height: 340px; max-width: 520px; width: 100%; margin: auto; }
    .hero-photo-main { height: 290px; width: 75%; }
    .hero-photo-small { height: 135px; }
    .hero-photo-caption { right: 0; bottom: 10px; }
    .projects-overview { padding: 52px 0 25px !important; }
    .projects-overview-inner { grid-template-columns: 1fr; gap: 18px; }
    .overview-heading h2 { font-size: 32px; }
    .project-directory { padding: 55px 0 60px !important; }
    .projects-grid { grid-template-columns: 1fr; gap: 22px; }
    .project-card-image { height: 245px; }
    .project-card-content { padding: 23px 22px 25px; }
    .project-card-content h3 { font-size: 23px; }
    .projects-callout-inner { align-items: flex-start; flex-wrap: wrap; }
    .callout-copy { flex-basis: calc(100% - 90px); }
    .projects-callout-inner > a { margin-left: 85px; }
}

@media (max-width: 480px) {
    .projects-hero-copy h1 { font-size: 36px; }
    .projects-hero-visual { min-height: 280px; }
    .hero-photo-main { height: 235px; right: 5%; }
    .hero-photo-small { height: 105px; width: 45%; }
    .hero-photo-caption { padding: 9px 11px; bottom: 3px; }
    .hero-photo-caption small { font-size: 9px; }
    .project-status-key { gap: 13px; }
    .project-status-key span { font-size: 10px; }
    .filter-button { padding: 9px 12px; font-size: 10px; }
    .project-card-image { height: 215px; }
    .project-card-content { padding: 20px 17px 22px; }
    .project-card-content > p { font-size: 13px !important; }
    .project-photo { height: 70px; }
    .project-gallery-heading { align-items: flex-start; flex-direction: column; }
    .projects-more-note { align-items: flex-start; padding: 19px; }
    .projects-more-note h3 { font-size: 15px; }
    .callout-copy h2 { font-size: 21px; }
    .projects-callout-inner > a { margin-left: 0; }
    .project-lightbox { padding: 55px 15px; }
    .project-lightbox-prev { left: 8px; }
    .project-lightbox-next { right: 8px; }
}



/* =========================================================
   INTERACTIVE EXPERIENCE LAYER
   CSS-only motion and feedback for the Projects page
========================================================= */

/* Smooth in-page navigation */
html {
    scroll-behavior: smooth;
}

/* Project cards respond to pointer and keyboard focus */
.project-card {
    transform: translateY(0);
    transition:
        transform .35s cubic-bezier(.2,.75,.25,1),
        box-shadow .35s ease,
        border-color .35s ease;
}

.project-card:hover,
.project-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(11,110,62,.25);
    box-shadow: 0 24px 55px rgba(13,66,39,.15);
}

/* Hero photos have a gentle parallax-like hover response */
.hero-photo-main,
.hero-photo-small {
    transition: transform .45s cubic-bezier(.2,.75,.25,1), box-shadow .45s ease;
}

.projects-hero-visual:hover .hero-photo-main {
    transform: rotate(0deg) translateY(-5px) scale(1.015);
    box-shadow: 0 32px 70px rgba(14,65,39,.22);
}

.projects-hero-visual:hover .hero-photo-small {
    transform: rotate(-1deg) translateY(-7px);
}

/* Project images invite interaction */
.project-card-image {
    cursor: default;
}

.project-card-image > img {
    transition: transform .65s cubic-bezier(.2,.75,.25,1), filter .4s ease;
}

.project-card:hover .project-card-image > img {
    filter: saturate(1.08) contrast(1.02);
}

/* Filter buttons have clear hover, pressed and keyboard states */
.filter-button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition:
        color .22s ease,
        background .22s ease,
        border-color .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.filter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11,110,62,.12);
}

.filter-button:active {
    transform: translateY(0) scale(.97);
}

.filter-button:focus-visible,
.projects-main-button:focus-visible,
.project-story-link:focus-visible,
.projects-callout-inner > a:focus-visible,
.project-photo:focus-visible,
.project-lightbox button:focus-visible {
    outline: 3px solid #d6b343;
    outline-offset: 4px;
}

/* Photo thumbnails lift and brighten on hover/focus */
.project-photo {
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-photo:hover,
.project-photo:focus-visible {
    z-index: 2;
    transform: translateY(-4px);
    border-color: #d6b343;
    box-shadow: 0 10px 22px rgba(5,44,26,.2);
}

.project-photo::after {
    content: "\\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 17px;
    background: rgba(3,40,23,.0);
    opacity: 0;
    transition: opacity .25s ease, background .25s ease;
    pointer-events: none;
}

.project-photo:hover::after,
.project-photo:focus-visible::after {
    opacity: 1;
    background: rgba(3,40,23,.28);
}

/* CTA and links feel responsive */
.projects-main-button,
.project-story-link,
.projects-callout-inner > a {
    transition: gap .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.projects-main-button:hover,
.projects-callout-inner > a:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,.16);
}

.project-story-link i,
.projects-main-button i,
.projects-callout-inner > a i {
    transition: transform .25s ease;
}

.project-story-link:hover i,
.projects-main-button:hover i,
.projects-callout-inner > a:hover i {
    transform: translateX(4px);
}

/* Lightbox opens with a soft fade and image zoom */
.project-lightbox {
    opacity: 0;
    transition: opacity .25s ease;
}

.project-lightbox.active {
    opacity: 1;
    animation: projectLightboxFade .25s ease both;
}

.project-lightbox.active > img {
    animation: projectLightboxImageIn .32s cubic-bezier(.2,.75,.25,1) both;
}

.project-lightbox button {
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.project-lightbox button:hover {
    border-color: #d6b343;
}

.project-lightbox-prev:hover {
    transform: translate(-3px, -50%);
}

.project-lightbox-next:hover {
    transform: translate(3px, -50%);
}

.project-lightbox-close:hover {
    transform: rotate(90deg);
}

/* Subtle entrance animation when page loads */
@keyframes projectLightboxFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes projectLightboxImageIn {
    from { opacity: 0; transform: scale(.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes projectCardEnter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.projects-hero-copy,
.projects-hero-visual,
.projects-overview-inner,
.project-directory-heading,
.project-card,
.projects-more-note,
.projects-callout-inner {
    animation: projectCardEnter .65s ease both;
}

.projects-hero-visual { animation-delay: .08s; }
.project-card:nth-child(2) { animation-delay: .12s; }
.projects-more-note { animation-delay: .18s; }

/* Keep interaction comfortable on touch devices */
@media (hover: none) {
    .project-card:hover,
    .project-photo:hover,
    .filter-button:hover {
        transform: none;
    }

    .projects-hero-visual:hover .hero-photo-main,
    .projects-hero-visual:hover .hero-photo-small {
        transform: none;
    }
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}



/* =========================================================
   HEADING ALIGNMENT — MATCH THE REST OF THE CDC WEBSITE
   Consistent Poppins typography, green heading colour,
   weight and spacing across the Projects page.
========================================================= */

.projects-page h1,
.projects-page h2,
.projects-page h3,
.projects-page h4 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.6px;
    text-transform: none;
}

/* Main page title follows the site's bold green hero-heading style */
.projects-page .projects-hero-copy h1 {
    color: var(--primary) !important;
    font-size: clamp(42px, 5vw, 64px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -1.6px !important;
}

/* Keep the gold emphasis subtle, not like a separate heading style */
.projects-page .projects-hero-copy h1 em,
.projects-page .overview-heading h2 em {
    color: var(--gold) !important;
    font-style: normal;
    font-weight: 800 !important;
}

/* Section headings use one consistent scale and CDC green */
.projects-page .overview-heading h2,
.projects-page .project-directory-heading h2 {
    color: var(--primary) !important;
    font-size: clamp(30px, 3.2vw, 40px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.8px !important;
}

/* Project titles share the same hierarchy */
.projects-page .project-card-content h3,
.projects-page .projects-more-note h3 {
    color: var(--primary) !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.45px !important;
}

/* Callout heading follows the same family and weight */
.projects-page .callout-copy h2 {
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
}

/* Keep small section labels consistent with existing page tags */
.projects-page .projects-kicker,
.projects-page .project-gallery-heading span,
.projects-page .projects-more-note span,
.projects-page .callout-copy > span {
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.25px !important;
}

@media (max-width: 768px) {
    .projects-page .projects-hero-copy h1 {
        font-size: clamp(36px, 8.5vw, 48px) !important;
        line-height: 1.15 !important;
        letter-spacing: -1px !important;
    }

    .projects-page .overview-heading h2,
    .projects-page .project-directory-heading h2 {
        font-size: 29px !important;
        line-height: 1.25 !important;
    }

    .projects-page .project-card-content h3 {
        font-size: 21px !important;
    }
}

@media (max-width: 480px) {
    .projects-page .projects-hero-copy h1 {
        font-size: 35px !important;
    }

    .projects-page .overview-heading h2,
    .projects-page .project-directory-heading h2 {
        font-size: 26px !important;
    }
}
