/* Desktop hover dropdown */
@media (min-width: 1200px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 1399.98px) {
    .hero-content h1 {
        font-size: var(--hero-title-size-lg);
    }

    .why-card h4 {
        font-size: 20px;
    }

    .why-card p {
        font-size: 15px;
    }

    .footer-policy-links {
        justify-content: flex-start;
    }
}

@media (max-width: 1199.98px) {
    .main-navbar {
        background: var(--nav-bg-mobile);
        padding: 0.75rem 0;
        box-shadow: var(--shadow-soft);
    }

    .main-navbar .logo-img,
    .main-navbar.scrolled .logo-img {
        height: var(--logo-height-mobile);
    }

    .navbar-collapse {
        background: var(--nav-bg-mobile);
        margin-top: 0.9rem;
        padding: 1rem 1.1rem 1.4rem;
        border-radius: var(--radius-md);
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 0.9rem 0 !important;
    }

    .nav-cta-btn {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .main-dropdown,
    .submenu-dropdown {
        position: static !important;
        transform: none !important;
        min-width: 100%;
        margin-top: 0.35rem;
        box-shadow: none;
        border: 1px solid var(--border-light);
    }

    .dropdown-submenu > .submenu-dropdown {
        display: none;
        margin-left: 0.9rem;
        margin-top: 0.5rem;
    }

    .dropdown-submenu.show > .submenu-dropdown {
        display: block;
    }
    .dropdown-mega-menu {
        min-width: 100%;
        padding: 20px;
    }

    .dropdown-mega-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dropdown-mega-col h5 {
        margin-bottom: 16px;
    }

    .dropdown-mega-menu .dropdown-item {
        margin-bottom: 14px;
    }

    .impact-stat-card {
        min-height: 205px;
    }

    .value-card {
        min-height: 245px;
    }

    .footer-bottom-wrap {
        margin-top: 52px;
    }

    .footer-search-form {
        margin: 0;
    }
}

@media (max-width: 991.98px) {
    .heroSwiper {
        height: 600px;
    }

    .hero-content {
        padding-top: 6.5rem;
    }

    .hero-content h1 {
        font-size: var(--hero-title-size-md);
    }

    .hero-content p {
        font-size: var(--hero-text-size-md);
        max-width: 700px;
    }

    .custom-swiper-btn {
        width: 50px !important;
        height: 50px !important;
    }

    .custom-swiper-btn i {
        font-size: 1.45rem;
    }

    .swiper-button-prev {
        left: 16px !important;
    }

    .swiper-button-next {
        right: 16px !important;
    }

    .why-card {
        padding: 38px 24px 34px;
    }

    .why-image {
        width: 130px;
        height: 130px;
    }

    .why-image img {
        max-width: 130px;
        max-height: 130px;
    }

    .why-card h4 {
        font-size: 22px;
    }

    .why-card p {
        font-size: 18px;
    }

    .impact-values-section {
        padding: 50px 0;
    }

    .impact-stats-row {
        margin-bottom: 18px;
    }

    .impact-stat-card {
        min-height: 195px;
    }

    .impact-stat-icon {
        font-size: 46px;
    }

    .impact-stat-card h3 {
        font-size: 1.85rem;
    }

    .value-card {
        min-height: 230px;
        padding: 24px 18px 22px;
    }

    .value-icon {
        font-size: 44px;
    }

    .value-card h4 {
        font-size: 1.08rem;
    }

    .volunteerSwiper {
        padding: 0 42px;
    }

    .restoration-section {
        padding: 60px 0;
    }

    .video-thumbnail img,
    .video-iframe-wrap iframe,
    .video-iframe-wrap video {
        height: 440px;
    }

    .weforest-footer {
        padding: 48px 0 28px;
    }

    .footer-brand-block {
        max-width: 100%;
    }

    .footer-bottom-wrap {
        margin-top: 42px;
    }

    .footer-membership-logos {
        gap: 18px;
    }

    .footer-membership-logos img {
        max-height: 38px;
    }

    .photo-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 18px;
    }

    .photo-gallery-section .heading h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 767.98px) {
    .heroSwiper {
        height: 550px;
    }

    .hero-content {
        padding-top: 5.8rem;
    }

    .hero-content h1 {
        font-size: var(--hero-title-size-sm);
    }

    .hero-content p {
        font-size: var(--hero-text-size-sm);
        margin-bottom: 1.6rem;
    }

    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .custom-swiper-btn {
        width: 50px !important;
        height: 50px !important;
    }

    .custom-swiper-btn i {
        font-size: 1.2rem;
    }

    .swiper-pagination {
        bottom: 18px !important;
    }

    .swiper-pagination-bullet {
        width: 11px;
        height: 11px;
    }

    .swiper-pagination-bullet-active {
        width: 26px;
    }

    .volunteer-section {
        padding: 50px 0;
    }

    .heading {
        margin-bottom: 30px;
    }

    .heading h2 {
        font-size: 1.45rem;
    }

    .heading p {
        font-size: 0.9rem;
    }

    .volunteer-card-top {
        height: 78px;
    }

    .volunteer-avatar {
        width: 58px;
        height: 58px;
    }

    .volunteer-card-body h5 {
        font-size: 0.88rem;
    }

    .volunteerSwiper {
        padding: 0 34px;
    }

    .volunteer-button-prev,
    .volunteer-button-next {
        width: 34px;
        height: 34px;
    }

    .restoration-section {
        padding: 50px 0;
    }

    .video-thumbnail img,
    .video-iframe-wrap iframe,
    .video-iframe-wrap video {
        height: 280px;
    }

    .video-play-btn {
        width: 64px;
        height: 64px;
        font-size: 1.1rem;
    }

    .restoration-slider-head {
        gap: 8px;
        margin-bottom: 12px;
    }

    .restoration-button-prev,
    .restoration-button-next {
        width: 34px;
        height: 34px;
    }

    .restoration-card,
    .restoration-card img {
        min-height: 220px;
    }

    .restoration-card-overlay {
        padding: 16px 14px;
    }

    .restoration-card-overlay h4 {
        font-size: 0.95rem;
    }

    .restoration-card-overlay p {
        font-size: 0.82rem;
    }

    .measure-section {
        padding: 70px 0 50px;
    }

    .measure-content {
        margin-bottom: 30px;
    }

    .measure-content h2 {
        font-size: 1.7rem;
    }

    .measure-content p {
        font-size: 0.92rem;
    }

    .measure-card {
        min-height: auto;
        padding: 26px 18px;
    }

    .measure-icon img {
        width: 46px;
        height: 46px;
    }

    .measure-card p {
        font-size: 0.9rem;
    }

    .measure-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .weforest-footer {
        padding: 42px 0 24px;
    }

    .footer-logo img {
        max-width: 145px;
        margin-bottom: 22px;
    }

    .footer-social a {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .footer-newsletter-form input,
    .footer-newsletter-form button {
        height: 48px;
    }

    .footer-newsletter-form button {
        width: 92px;
    }

    .footer-bottom-wrap {
        margin-top: 34px;
    }

    .footer-search-form {
        max-width: 100%;
    }

    .footer-policy-links {
        gap: 8px 12px;
    }

    .footer-policy-links a {
        font-size: 0.9rem;
    }

    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .gallery-item img {
        height: 140px;
    }

    .photo-gallery-section {
        padding: 50px 0;
    }

    .photo-gallery-section .heading h2 {
        font-size: 1.55rem;
    }

    .from-left,
    .from-right,
    .from-bottom-right {
        transform: translateY(40px);
    }

    .animate-item.in-view {
        transform: translateY(0);
    }
}

/* Site-wide type scale: shared by the Blade pages and imported HTML pages. */
@font-face {
    font-family: "VFE DM Sans";
    src: url("../../fonts/dm-sans-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: "VFE Manrope";
    src: url("../../fonts/manrope-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --vfe-font-family: "VFE DM Sans", "DM Sans", Arial, sans-serif;
    --vfe-heading-family: "VFE Manrope", Manrope, Arial, sans-serif;
    --vfe-text-color: #25332b;
}

html {
    font-size: 16px;
}
body {
    font-family: var(--vfe-font-family) !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    color: var(--vfe-text-color);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body *:not(i):not(svg):not(path):not(.fa):not([class*="fa-"]) {
    font-family: var(--vfe-font-family) !important;
}
body h1 {
    font-family: var(--vfe-heading-family) !important;
    font-size: clamp(2.1rem, 4.1vw, 3.35rem) !important;
    line-height: 1.14 !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em;
}
body h2 {
    font-family: var(--vfe-heading-family) !important;
    font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em;
}
body h3 {
    font-family: var(--vfe-heading-family) !important;
    font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}
body h4,
body h5,
body h6 {
    font-family: var(--vfe-heading-family) !important;
}
body h4 {
    font-size: clamp(1.08rem, 1.5vw, 1.3rem) !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}
body h5 {
    font-size: 1.08rem !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
}
body h6 {
    font-size: 0.94rem !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
}
body p {
    font-size: 1rem !important;
    line-height: 1.72 !important;
}
body .hero-content p,
body .banner-content p,
body .impact-detail-hero .lead {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
}
body .nav-link {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
}
body .dropdown-item {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}
body button,
body .btn,
body input,
body select,
body textarea {
    font-size: 0.95rem;
}
body .btn,
body button {
    font-weight: 500;
}
body .insight-date,
body .job-type,
body .announcement-category,
body .announcement-month,
body .announcement-day {
    letter-spacing: 0.02em;
}

@media (max-width: 767.98px) {
    html {
        font-size: 15.5px;
    }
    body h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem) !important;
    }
    body h2 {
        font-size: clamp(1.55rem, 6vw, 2rem) !important;
    }
    body h3 {
        font-size: clamp(1.18rem, 4.8vw, 1.45rem) !important;
    }
    body p {
        line-height: 1.68 !important;
    }
    body .hero-content p,
    body .banner-content p {
        font-size: 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .heroSwiper {
        height: 300px;
    }

    .hero-content h1 {
        font-size: var(--hero-title-size-xs);
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: 50%;
    }

    .why-volunteer-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .why-card {
        border-radius: 22px;
        padding: 30px 20px;
    }

    .why-image {
        width: 110px;
        height: 110px;
        margin-bottom: 24px;
    }

    .why-image img {
        max-width: 60px;
        max-height: 60px;
    }

    .why-card h4 {
        font-size: 20px;
    }

    .why-card p {
        font-size: 16px;
    }

    .impact-values-section {
        padding: 40px 0;
    }

    .impact-stat-card,
    .value-card {
        min-height: auto;
    }

    .footer-newsletter-form {
        flex-direction: row;
    }

    .footer-newsletter-form input {
        font-size: 0.92rem;
    }

    .footer-links ul li a,
    .language-switch,
    .footer-address p {
        font-size: 0.94rem;
    }

    .footer-policy-links a:not(:last-child)::after {
        margin-left: 10px;
    }

    .gallery-item img {
        height: 125px;
    }
}

/* Brand, Info, What We Do, and Contact; newsletter and socials share the lower row. */
.weforest-footer .footer-main-row {
    display: grid;
    grid-template-columns: 4fr 2fr 2fr 4fr;
    gap: clamp(1.25rem, 2vw, 2.5rem);
    width: 100%;
    margin: 0;
    padding-bottom: 2.25rem;
}
.weforest-footer {
    margin-top: 0;
    padding-top: 135px;
}
.photo-gallery-section {
    background-color: #fff;
    padding-bottom: calc(3rem + 64px) !important;
}
.weforest-footer > .container-fluid {
    max-width: 1780px;
    margin-right: auto;
    margin-left: auto;
}
.weforest-footer .footer-logo-band {
    display: none;
}
.weforest-footer .footer-overlap-logo {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    transform: translate(-50%, -40%);
}
.weforest-footer .footer-overlap-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}
.weforest-footer .footer-main-row > .footer-main-column {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
}
.weforest-footer .footer-bottom-row {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.weforest-footer .footer-bottom-row .footer-newsletter-form {
    width: 100%;
}
.weforest-footer .footer-bottom-row .footer-follow {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
}
.weforest-footer .footer-bottom-row .footer-follow h6 {
    width: 100%;
    text-align: right;
}
.weforest-footer .footer-social {
    flex-wrap: nowrap;
    gap: 12px;
}
.weforest-footer .footer-social a {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
}
.weforest-footer .footer-social .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #8ea42a;
    color: #fff;
    font-size: 1rem;
}
.weforest-footer .footer-social a.footer-social-icon:hover {
    background: #9db632;
    color: #fff;
    transform: translateY(-2px);
}
.weforest-footer .footer-social .footer-social-placeholder {
    opacity: .55;
    cursor: default;
}
.weforest-footer .footer-contact-info ul li,
.weforest-footer .footer-contact-info ul li a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 767.98px) {
    .weforest-footer { margin-top: 0; padding-top: 115px; }
    .photo-gallery-section { padding-bottom: calc(3rem + 48px) !important; }
    .weforest-footer .footer-main-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
    .weforest-footer .footer-overlap-logo { width: 160px; }
    .weforest-footer .footer-brand-column { grid-column: auto; }
    .weforest-footer .footer-bottom-row .footer-follow {
        align-items: flex-start;
    }
    .weforest-footer .footer-bottom-row .footer-follow h6 {
        text-align: left;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .weforest-footer .footer-main-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .weforest-footer .footer-brand-column { grid-column: span 2; }
}

/* banner section responsive */
@media (max-width: 1399.98px) {
    .banner-content h2 {
        font-size: 3.3rem;
    }
}

@media (max-width: 991.98px) {
    .banner-section {
        height: 300px;
    }

    .banner-subtitle {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }

    .banner-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .banner-section {
        height: 250px;
    }

    .banner-subtitle {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }

    .banner-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .banner-section {
        height: 180px;
    }

    .banner-content h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .climate-goals-heading h2 {
        font-size: 2rem;
    }

    .climate-goals-content {
        padding: 40px 28px;
    }

    .climate-goals-content h3 {
        font-size: 1.18rem;
    }
}

@media (max-width: 767.98px) {
    .climate-goals-section {
        padding: 50px 0;
    }

    .climate-goals-heading {
        padding: 32px 18px 70px;
        margin-bottom: -40px;
    }

    .climate-goals-heading h2 {
        font-size: 1.65rem;
    }

    .climate-goals-grid {
        grid-template-columns: 1fr;
    }

    .climate-goals-content {
        padding: 32px 20px;
    }

    .climate-goals-image img {
        min-height: 220px;
    }

    .climate-goals-content h3 {
        font-size: 1.08rem;
    }

    .climate-goals-content p {
        font-size: 0.9rem;
    }

    .climate-goals-footer {
        padding-top: 34px;
    }

    .climate-goals-footer a {
        font-size: 0.92rem;
    }
}
@media (max-width: 991.98px) {
    .content-section {
        padding: 60px 0;
    }

    .content-intro h2,
    .section-main-title {
        font-size: 1.95rem;
    }

    .content-main h3 {
        font-size: 1.6rem;
    }

    .content-block p,
    .content-block li {
        font-size: 0.97rem;
    }
}

@media (max-width: 767.98px) {
    .content-section {
        padding: 50px 0;
    }

    .content-block {
        margin-bottom: 32px;
    }

    .content-intro h2,
    .section-main-title {
        font-size: 1.65rem;
        margin-bottom: 20px;
    }

    .content-main h3 {
        font-size: 1.35rem;
        margin-bottom: 14px;
    }

    .content-block p,
    .content-block li {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .content-block ul {
        padding-left: 18px;
    }

    .content-main .mt-5 {
        margin-top: 34px !important;
    }
}

@media (max-width: 991.98px) {
    .insight-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .insight-sort {
        align-self: flex-end;
    }

    .insight-card-body h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .insight-section {
        padding: 50px 0;
    }

    .insight-card-image img {
        height: 210px;
    }

    .insight-card-body {
        padding: 18px 18px 22px;
    }

    .insight-card-body h3 {
        font-size: 1.15rem;
    }

    .insight-card-body p {
        font-size: 0.92rem;
    }

    .insight-sort {
        align-self: stretch;
    }

    .insight-sort .btn {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .resources-page-section {
        padding: 60px 0 70px;
    }

    .resources-intro {
        margin-bottom: 50px;
    }

    .resources-intro h2 {
        font-size: 1.6rem;
    }

    .resources-intro p {
        font-size: 0.93rem;
    }

    .resource-year {
        font-size: 1.7rem;
        margin-bottom: 24px;
    }

    .resource-item-title {
        font-size: 1.15rem;
    }

    .resource-thumb {
        width: 95px;
        min-width: 95px;
    }

    .resource-thumb img {
        height: 120px;
    }
}

@media (max-width: 767.98px) {
    .resources-page-section {
        padding: 50px 0 60px;
    }

    .resources-intro {
        margin-bottom: 40px;
    }

    .resources-intro h2 {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    .resources-intro p {
        font-size: 0.7rem;
        line-height: 1.7;
    }

    .resource-year {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .resource-item {
        gap: 16px;
        padding: 20px 0;
    }

    .resource-thumb {
        width: 78px;
        min-width: 78px;
    }

    .resource-thumb img {
        height: 100px;
    }

    .resource-item-title {
        font-size: 80rem;
    }

    .resource-item-date {
        font-size: 0.58rem;
    }

    .resource-item-desc {
        font-size: 0.6rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .resource-download-btn {
        min-width: 105px;
        height: 38px;
        font-size: 0.72rem;
    }
}

@media (max-width: 575.98px) {
    .resource-item {
        flex-direction: column;
    }

    .resource-thumb {
        width: 100px;
        min-width: 100px;
    }

    .resource-thumb img {
        height: 125px;
    }

    .resource-content {
        width: 100%;
    }
}

@media (max-width: 1399.98px) {
    .priority-content-inner {
        padding: 100px 60px;
    }

    .priority-item h2 {
        font-size: 1.5rem;
    }

    .priority-item p {
        font-size: 0.96rem;
    }
}

@media (max-width: 1199.98px) {
    .priority-scroll-layout {
        grid-template-columns: 42% 58%;
    }

    .priority-content-inner {
        padding: 90px 44px;
    }

    .priority-item h2 {
        font-size: 1.35rem;
    }

    .priority-item {
        margin-bottom: 90px;
    }
}

@media (max-width: 991.98px) {
    .priority-scroll-layout {
        grid-template-columns: 1fr;
    }

    .priority-visual {
        position: sticky;
        top: 0;
        height: 55vh;
    }

    .priority-content-side {
        grid-template-columns: 1fr;
        border-left: none;
    }

    .priority-side-nav {
        display: none;
    }

    .priority-content-inner {
        padding: 50px 24px 60px;
    }

    .priority-item {
        min-height: auto;
        margin-bottom: 80px;
        opacity: 1;
        transform: none;
    }

    .priority-item h2 {
        font-size: 1.35rem;
        margin-bottom: 18px;
    }

    .priority-item p {
        font-size: 0.8rem;
        line-height: 1.7;
    }
}

@media (max-width: 767.98px) {
    .priority-visual {
        height: 42vh;
    }

    .priority-content-inner {
        padding: 42px 18px 50px;
    }

    .priority-label {
        font-size: 0.46rem;
        margin-bottom: 14px;
    }

    .priority-item h2 {
        font-size: 0.96rem;
        line-height: 1.22;
    }

    .priority-item p {
        font-size: 0.5rem;
    }

    .priority-item {
        margin-bottom: 65px;
    }
}

@media (max-width: 767.98px) {
    .solution-intro-section {
        padding: 45px 0 30px;
    }

    .solution-intro {
        padding: 0 12px;
    }

    .solution-intro p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .solution-intro h2 {
        font-size: 1.45rem;
    }

    .solution-intro-logo img,
    .solution-intro-logo svg {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 991.98px) {
    .event-item {
        grid-template-columns: 180px 1fr;
    }

    .event-date span {
        font-size: 0.9rem;
    }

    .event-body h3 {
        font-size: 0.92rem;
    }

    .event-body p {
        font-size: 0.88rem;
    }
}

@media (max-width: 767.98px) {
    .events-section {
        padding: 24px 0 36px;
    }

    .events-topbar {
        margin-bottom: 24px;
    }

    .events-sort {
        width: 100%;
        height: 48px;
        font-size: 0.94rem;
    }

    .event-item {
        grid-template-columns: 1fr;
    }

    .event-date {
        border-right: none;
        border-bottom: 1px solid #d7d7d7;
        min-height: 92px;
        padding: 16px;
    }

    .event-body {
        padding: 16px 18px;
    }
}

@media (max-width: 991.98px) {
    .announcement-page-section {
        padding: 60px 0;
    }

    .announcement-page-intro h1 {
        font-size: 1.9rem;
    }

    .announcement-item {
        grid-template-columns: 130px 1fr;
    }

    .announcement-day {
        font-size: 1.7rem;
    }

    .announcement-content-box h3 {
        font-size: 1.08rem;
    }
}

@media (max-width: 767.98px) {
    .announcement-page-section {
        padding: 50px 0;
    }

    .announcement-page-intro {
        margin-bottom: 30px;
    }

    .announcement-page-intro h1 {
        font-size: 1.55rem;
    }

    .announcement-page-intro p {
        font-size: 0.92rem;
    }

    .announcement-item {
        grid-template-columns: 1fr;
    }

    .announcement-date-box {
        border-right: none;
        border-bottom: 1px solid #d7d7d7;
        padding: 18px 14px;
    }

    .announcement-content-box {
        padding: 18px;
    }

    .announcement-content-box h3 {
        font-size: 1rem;
    }

    .announcement-content-box p {
        font-size: 0.9rem;
    }

    .announcement-readmore-btn {
        min-width: 110px;
        height: 40px;
        font-size: 0.78rem;
    }
}

@media (max-width: 991.98px) {
    .project-page-section {
        padding: 60px 0;
    }

    .project-page-intro h1 {
        font-size: 1.9rem;
    }

    .project-card-image img {
        height: 220px;
    }

    .project-card-body h3 {
        font-size: 1.14rem;
    }
}

@media (max-width: 767.98px) {
    .project-page-section {
        padding: 50px 0;
    }

    .project-page-intro {
        margin-bottom: 30px;
    }

    .project-page-intro h1 {
        font-size: 1.55rem;
    }

    .project-page-intro p {
        font-size: 0.92rem;
    }

    .project-tabs-wrap {
        margin-bottom: 26px;
    }

    .project-tab-btn {
        width: 100%;
        min-width: 100%;
    }

    .project-card-image img {
        height: 210px;
    }

    .project-card-body {
        padding: 18px;
    }

    .project-card-body h3 {
        font-size: 0.95rem;
    }

    .project-card-body p,
    .project-meta span {
        font-size: 0.6rem;
    }
}

@media (max-width: 1199.98px) {
    .about-hero-image img {
        height: 360px;
    }

    .about-hero-title-bar {
        width: calc(100% - 60px);
        bottom: 14px;
    }

    .about-hero-title-bar h1 {
        font-size: 20px;
    }
}

@media (max-width: 991.98px) {
    .about-hero-section {
        padding: 0 0 24px;
    }

    .about-hero-image img {
        height: 320px;
    }

    .about-hero-title-bar {
        width: calc(100% - 40px);
        bottom: 12px;
        padding: 8px 10px;
    }

    .about-hero-title-bar h1 {
        font-size: 18px;
        line-height: 1.1;
    }
}

@media (max-width: 767.98px) {
    .about-hero-section {
        padding: 0 0 20px;
    }

    .about-hero-image img {
        height: 260px;
    }

    .about-hero-title-bar {
        width: calc(100% - 24px);
        bottom: 10px;
        padding: 7px 10px;
    }

    .about-hero-title-bar h1 {
        font-size: 16px;
        line-height: 1.15;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 575.98px) {
    .about-hero-image img {
        height: 220px;
    }

    .about-hero-title-bar {
        width: calc(100% - 16px);
        bottom: 8px;
        padding: 6px 8px;
    }

    .about-hero-title-bar h1 {
        font-size: 14px;
        line-height: 1.2;
    }
}

@media (max-width: 1199.98px) {
    .about-intro-section {
        padding: 22px 0 36px;
    }

    .about-breadcrumb {
        margin-bottom: 28px;
        font-size: 15px;
    }

    .about-intro-content p {
        font-size: 15px;
        line-height: 1.45;
        margin-bottom: 15px;
    }

    .about-intro-logo-wrap img {
        max-width: 320px;
    }
}

@media (max-width: 991.98px) {
    .about-intro-section {
        padding: 20px 0 32px;
    }

    .about-breadcrumb {
        margin-bottom: 24px;
        font-size: 14px;
        gap: 8px;
    }

    .about-intro-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .about-intro-logo-wrap {
        margin-top: 10px;
    }

    .about-intro-logo-wrap img {
        max-width: 260px;
    }
}

@media (max-width: 767.98px) {
    .about-intro-section {
        padding: 18px 0 28px;
    }

    .about-breadcrumb {
        margin-bottom: 20px;
        font-size: 14px;
        flex-wrap: wrap;
    }

    .about-intro-content {
        text-align: left;
    }

    .about-intro-content p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .about-intro-logo-wrap {
        margin-top: 6px;
        text-align: center;
    }

    .about-intro-logo-wrap img {
        max-width: 220px;
    }
}

@media (max-width: 575.98px) {
    .about-intro-section {
        padding: 16px 0 24px;
    }

    .about-breadcrumb {
        margin-bottom: 16px;
        font-size: 13px;
        gap: 6px;
    }

    .about-intro-content p {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 12px;
    }

    .about-intro-logo-wrap img {
        max-width: 190px;
    }
}

@media (max-width: 1199.98px) {
    .story-title h2 {
        font-size: 22px;
    }

    .story-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 18px;
    }
}

@media (max-width: 991.98px) {
    .story-section {
        padding: 24px 0 34px;
    }

    .story-content {
        padding-right: 0;
    }

    .story-title {
        margin-bottom: 20px;
    }

    .story-title img {
        width: 48px;
    }

    .story-title h2 {
        font-size: 20px;
    }

    .story-content p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    .story-video {
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    .story-section {
        padding: 20px 0 28px;
    }

    .story-title {
        gap: 10px;
        margin-bottom: 16px;
    }

    .story-title img {
        width: 42px;
    }

    .story-title h2 {
        font-size: 17px;
        line-height: 1.2;
    }

    .story-content p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 8px;
    }
}

@media (max-width: 575.98px) {
    .story-title img {
        width: 36px;
    }

    .story-title h2 {
        font-size: 15px;
    }

    .story-content p {
        font-size: 13px;
        line-height: 1.75;
    }
}

@media (max-width: 1199.98px) {
    .how-we-work-section {
        padding: 22px 0 36px;
    }

    .how-we-work-content h2 {
        font-size: 26px;
    }

    .how-we-work-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .how-we-work-image img {
        max-width: 760px;
    }
}

@media (max-width: 991.98px) {
    .how-we-work-section {
        padding: 20px 0 32px;
    }

    .how-we-work-content h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .how-we-work-content p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .how-we-work-image {
        margin-top: 28px;
    }
}

@media (max-width: 767.98px) {
    .how-we-work-section {
        padding: 18px 0 28px;
    }

    .how-we-work-content h2 {
        font-size: 21px;
        margin-bottom: 14px;
    }

    .how-we-work-content p {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 12px;
    }

    .how-we-work-image {
        margin-top: 22px;
    }
}

@media (max-width: 575.98px) {
    .how-we-work-section {
        padding: 16px 0 24px;
    }

    .how-we-work-content h2 {
        font-size: 18px;
    }

    .how-we-work-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .how-we-work-image {
        margin-top: 18px;
    }
}

@media (max-width: 1199.98px) {
    .annual-impact-wrap h2 {
        font-size: 27px;
    }

    .annual-impact-content h3 {
        font-size: 18px;
    }

    .annual-impact-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .annual-impact-logo {
        margin-top: 46px;
    }
}

@media (max-width: 991.98px) {
    .annual-impact-section {
        padding: 20px 0 34px;
    }

    .annual-impact-wrap h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .annual-impact-content h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .annual-impact-content p {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 14px;
    }

    .annual-impact-logo {
        margin-top: 38px;
    }

    .annual-impact-logo img {
        max-width: 150px;
    }

    .annual-impact-btn {
        margin-top: 24px;
    }
}

@media (max-width: 767.98px) {
    .annual-impact-section {
        padding: 18px 0 30px;
    }

    .annual-impact-wrap h2 {
        font-size: 20px;
    }

    .annual-impact-content h3 {
        font-size: 15px;
    }

    .annual-impact-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .annual-impact-logo {
        margin-top: 30px;
    }

    .annual-impact-logo img {
        max-width: 130px;
    }

    .donate-btn {
        min-width: 86px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .annual-impact-wrap h2 {
        font-size: 17px;
    }

    .annual-impact-content h3 {
        font-size: 14px;
    }

    .annual-impact-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .annual-impact-logo img {
        max-width: 115px;
    }

    .annual-impact-btn {
        margin-top: 20px;
    }
}

@media (max-width: 1199.98px) {
    .section-heading h2,
    .career-intro-wrap h2,
    .career-why-content h2,
    .career-cta-wrap h2 {
        font-size: 30px;
    }
}

@media (max-width: 991.98px) {
    .career-intro-section,
    .career-why-section,
    .career-openings-section,
    .career-benefits-section,
    .career-process-section,
    .career-cta-section {
        padding: 45px 0;
    }

    .section-heading h2,
    .career-intro-wrap h2,
    .career-why-content h2,
    .career-cta-wrap h2 {
        font-size: 26px;
    }

    .career-why-image img {
        min-height: 300px;
    }

    .career-why-content {
        padding: 28px 24px;
    }
}

@media (max-width: 767.98px) {
    .career-intro-section,
    .career-why-section,
    .career-openings-section,
    .career-benefits-section,
    .career-process-section,
    .career-cta-section {
        padding: 35px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2,
    .career-intro-wrap h2,
    .career-why-content h2,
    .career-cta-wrap h2 {
        font-size: 22px;
    }

    .section-heading p,
    .career-intro-wrap p,
    .career-why-content p,
    .career-cta-wrap p,
    .career-why-content ul li,
    .job-card p,
    .benefit-card p,
    .process-card p {
        font-size: 14px;
        line-height: 1.75;
    }

    .job-card h3,
    .benefit-card h4,
    .process-card h4 {
        font-size: 18px;
    }

    .career-cta-wrap {
        padding: 30px 18px;
    }
}

@media (max-width: 575.98px) {
    .career-breadcrumb {
        font-size: 13px;
        gap: 6px;
        margin-bottom: 20px;
    }

    .section-heading h2,
    .career-intro-wrap h2,
    .career-why-content h2,
    .career-cta-wrap h2 {
        font-size: 18px;
    }

    .job-card,
    .benefit-card,
    .process-card,
    .career-cta-wrap,
    .career-why-content {
        padding: 22px 16px;
    }

    .apply-btn,
    .career-cta-btn {
        min-width: 120px;
        height: 40px;
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .career-faq-section {
        padding: 45px 0;
    }

    .career-faq-question {
        font-size: 17px;
        padding: 20px;
    }

    .career-faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 767.98px) {
    .career-faq-section {
        padding: 35px 0;
    }

    .career-faq-question {
        font-size: 16px;
        line-height: 1.45;
        padding: 18px;
    }

    .career-faq-answer {
        padding: 0 18px 18px;
    }

    .career-faq-answer p {
        font-size: 14px;
        line-height: 1.75;
    }
}

@media (max-width: 575.98px) {
    .career-faq-question {
        font-size: 15px;
        padding: 16px;
    }

    .career-faq-answer {
        padding: 0 16px 16px;
    }

    .career-faq-answer p {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .contact-hero-image {
        height: 220px;
    }

    .contact-hero-title-bar h1 {
        font-size: 28px;
    }

    .contact-info-card-bordered {
        border-left: none;
        border-right: none;
    }

    .contact-info-card {
        padding: 10px 18px 20px;
    }

    .contact-form-wrap h2 {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero-image {
        height: 180px;
    }

    .contact-hero-title-bar {
        padding: 10px 18px;
    }

    .contact-hero-title-bar h1 {
        font-size: 22px;
    }

    .contact-info-section {
        padding: 40px 0 25px;
    }

    .contact-info-icon i {
        font-size: 34px;
    }

    .contact-info-card h3 {
        font-size: 16px;
    }

    .contact-info-card a {
        font-size: 17px;
    }

    .contact-form-wrap h2 {
        font-size: 22px;
    }

    .contact-map-wrap,
    .contact-map-wrap iframe {
        min-height: 260px;
    }
}

@media (max-width: 575.98px) {
    .contact-hero-image {
        height: 150px;
    }

    .contact-hero-title-bar h1 {
        font-size: 18px;
    }

    .contact-form-wrap h2 {
        font-size: 20px;
    }

    .contact-info-card p,
    .contact-info-card small,
    .contact-form-group label {
        font-size: 12px;
    }

    .contact-form-group input,
    .contact-form-group textarea {
        font-size: 13px;
    }
}

@media (max-width: 1199.98px) {
    .donation-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 991.98px) {
    .donation-section {
        padding: 50px 0;
    }

    .donation-content {
        max-width: 100%;
        margin-left: 0;
    }

    .donation-content h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .donation-content p {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .donation-amount-preview input {
        font-size: 22px;
        height: 50px;
    }

    .donation-amount-btn {
        font-size: 16px;
        height: 44px;
    }

    .donate-now-btn {
        font-size: 15px;
        min-width: 190px;
        height: 48px;
    }
}

@media (max-width: 767.98px) {
    .donation-section {
        padding: 40px 0;
    }

    .donation-image-wrap img {
        max-width: 100%;
    }

    .donation-content h2 {
        font-size: 22px;
        line-height: 1.35;
    }

    .donation-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .donation-amount-preview input {
        height: 46px;
        font-size: 20px;
    }

    .donation-amount-btn {
        font-size: 15px;
        height: 42px;
    }

    .donate-now-btn {
        width: 100%;
        min-width: 100%;
        margin-top: 20px;
        font-size: 14px;
        height: 46px;
    }

    .donation-form-wrap {
        padding: 20px;
    }

    .donation-form-group label {
        font-size: 14px;
    }

    .donation-form-group input,
    .donation-form-group select,
    .donation-form-group textarea {
        font-size: 14px;
        min-height: 44px;
    }

    .donation-form-group textarea {
        min-height: 180px;
    }

    .donation-submit-btn {
        font-size: 14px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .donation-content h2 {
        font-size: 19px;
    }

    .donation-content p {
        font-size: 13px;
    }

    .donation-amount-preview input {
        font-size: 18px;
    }

    .donation-amount-btn {
        font-size: 14px;
    }

    .donation-form-wrap {
        padding: 16px;
    }
}

@media (max-width: 991.98px) {
    .volunteer-form-section {
        padding: 50px 0;
    }

    .volunteer-form-header h2 {
        font-size: 28px;
    }

    .volunteer-form-wrap {
        padding: 28px;
    }
}

@media (max-width: 767.98px) {
    .volunteer-form-section {
        padding: 40px 0;
    }

    .volunteer-form-header {
        margin-bottom: 25px;
    }

    .volunteer-form-header h2 {
        font-size: 24px;
    }

    .volunteer-form-header p {
        font-size: 14px;
        line-height: 1.75;
    }

    .volunteer-form-wrap {
        padding: 22px 18px;
    }

    .volunteer-form-group label,
    .volunteer-form-group input,
    .volunteer-form-group select,
    .volunteer-form-group textarea {
        font-size: 14px;
    }

    .volunteer-submit-btn {
        width: 100%;
        min-width: 100%;
        height: 46px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .volunteer-form-header h2 {
        font-size: 20px;
    }

    .volunteer-form-wrap {
        padding: 18px 14px;
    }
}

@media (max-width: 991.98px) {
    .contact-hero-image {
        height: 220px;
    }

    .contact-hero-title-bar h1 {
        font-size: 28px;
    }

    .contact-info-card-bordered {
        border-left: none;
        border-right: none;
    }

    .contact-info-card {
        padding: 10px 18px 20px;
    }

    .contact-form-wrap h2 {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero-image {
        height: 180px;
    }

    .contact-hero-title-bar {
        padding: 10px 18px;
    }

    .contact-hero-title-bar h1 {
        font-size: 22px;
    }

    .contact-info-section {
        padding: 40px 0 25px;
    }

    .contact-info-icon i {
        font-size: 34px;
    }

    .contact-info-card h3 {
        font-size: 16px;
    }

    .contact-info-card a {
        font-size: 17px;
    }

    .contact-form-wrap h2 {
        font-size: 22px;
    }

    .contact-map-wrap,
    .contact-map-wrap iframe {
        min-height: 260px;
    }
}

@media (max-width: 575.98px) {
    .contact-hero-image {
        height: 150px;
    }

    .contact-hero-title-bar h1 {
        font-size: 18px;
    }

    .contact-form-wrap h2 {
        font-size: 20px;
    }

    .contact-info-card p,
    .contact-info-card small,
    .contact-form-group label {
        font-size: 12px;
    }

    .contact-form-group input,
    .contact-form-group textarea {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-slider-wrap {
        padding: 0 40px;
    }

    .testimonial-avatar {
        width: 95px;
        height: 95px;
        margin-bottom: 20px;
    }

    .testimonial-text {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .testimonial-card h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .testimonial-section {
        padding: 50px 0;
    }

    .testimonial-slider-wrap {
        padding: 0 34px;
    }

    .testimonial-card {
        padding: 10px 10px 0;
    }

    .testimonial-avatar {
        width: 78px;
        height: 78px;
        margin-bottom: 18px;
    }

    .testimonial-text {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .testimonial-card h4 {
        font-size: 1.2rem;
    }

    .testimonial-button-prev,
    .testimonial-button-next {
        width: 34px;
        height: 34px;
    }
}

/* Database-driven events and projects share the site's existing project-card style. */
.homepage-events-section {
    background: #f7faf6;
}
.homepage-events-section .heading h2 {
    color: #1b2b20;
    font-weight: 700;
}
.homepage-events-section .heading p {
    color: #67736b;
}
.homepage-opportunity-card {
    display: flex;
    flex-direction: column;
}
.homepage-opportunity-card .project-card-image > a {
    display: block;
}
.homepage-opportunity-card .project-card-image img {
    height: 250px;
}
.homepage-opportunity-card .project-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.homepage-opportunity-card .project-card-body h3 a {
    color: inherit;
    text-decoration: none;
}
.homepage-opportunity-card .project-card-body h3 a:hover {
    color: var(--primary-green-dark);
}
.homepage-opportunity-card .project-card-body p {
    min-height: 7.2em;
    margin-bottom: 16px;
    font-size: 0.91rem;
    line-height: 1.7;
}
.homepage-opportunity-card .project-meta {
    margin-top: auto;
    padding: 13px 0;
    border-top: 1px solid #e5e7eb;
}
.homepage-opportunity-card .project-meta span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.83rem;
}
.homepage-opportunity-card .project-meta i {
    margin-top: 3px;
    color: var(--primary-green-dark);
}
.homepage-opportunity-card .project-btn {
    width: fit-content;
    margin-top: 16px;
}
.homepage-events-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-green-dark, #389e0d);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}
.homepage-events-all:hover {
    color: #236f12;
    gap: 13px;
}
.homepage-events-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #e3eae2;
    border-radius: 12px;
    background: #fff;
    color: #68756b;
    text-align: center;
}
.event-detail-page {
    background: #f7faf6;
    min-height: 55vh;
}
.event-detail-back {
    color: var(--primary-green-dark, #389e0d);
    font-weight: 700;
    text-decoration: none;
}
.event-detail-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8eee7;
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(24, 55, 32, 0.08);
}
.event-detail-image {
    max-height: 500px;
    overflow: hidden;
    background: #eaf2e8;
}
.event-detail-image img {
    width: 100%;
    max-height: 500px;
    display: block;
    object-fit: cover;
}
.event-detail-content {
    max-width: 900px;
    padding: clamp(24px, 5vw, 52px);
    margin: auto;
}
.event-detail-category {
    position: static;
    margin-bottom: 14px;
}
.event-detail-content h1 {
    margin: 0 0 18px;
    color: #243129;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
}
.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin: 0 0 24px;
    color: #65716a;
}
.event-detail-meta i {
    margin-right: 7px;
    color: var(--primary-green-dark, #389e0d);
}
.event-detail-copy {
    color: #536057;
    font-size: 1rem;
    line-height: 1.85;
}
.event-detail-cta {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 27px;
    padding: 12px 20px;
    border-radius: 7px;
    background: var(--primary-green, #52c41a);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.event-detail-cta:hover {
    background: var(--primary-green-dark, #389e0d);
    color: #fff;
}
@media (max-width: 575.98px) {
    .homepage-opportunity-card .project-card-image img {
        height: 220px;
    }
    .homepage-opportunity-card .project-card-body p {
        min-height: 0;
    }
}
