/* VHCS custom styles – Latest News & Updates (home page blog section) */
.vhcs-blog { padding: 95px 0 100px; position: relative; background: linear-gradient(180deg, #fff8f3 0%, #fafafa 100%); overflow: hidden; }
.vhcs-blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 42px; flex-wrap: wrap; }
.vhcs-blog-head h2 { font-family: 'Prata', serif; font-size: 42px; line-height: 1.15; color: #1d1747; margin: 0 0 12px; }
.vhcs-blog-head p { font-size: 16px; color: #6b6685; margin: 0; max-width: 560px; }
.vhcs-blog-nav { display: flex; gap: 12px; flex-shrink: 0; }
.blog-slider-prev, .blog-slider-next { width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all .3s ease; }
.blog-slider-prev { border: 2px solid #f57134; background: #fff; color: #f57134; box-shadow: 0 3px 10px rgba(245,113,52,.15); }
.blog-slider-next { border: 2px solid #f57134; background: #f57134; color: #fff; box-shadow: 0 4px 12px rgba(245,113,52,.25); }
.blog-slider-prev:hover { background: #f57134; color: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(245,113,52,.35); }
.blog-slider-next:hover { background: #1d1747; border-color: #1d1747; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(29,23,71,.35); }
.blog-slider { padding: 34px 5px 20px !important; overflow: hidden; }
.blog-slider .swiper-slide { height: auto; }
.vhcs-post { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #f2ede9; border-radius: 10px; overflow: visible; box-shadow: 0 6px 22px rgba(29,23,71,.06); transition: transform .35s ease, box-shadow .35s ease; }
.vhcs-post:hover { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(29,23,71,.13); }
.vhcs-post-media { position: relative; }
.vhcs-post-media a.img-wrap { display: block; border-radius: 10px 10px 0 0; overflow: hidden; }
.vhcs-post-media img { height: 230px; width: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.vhcs-post:hover .vhcs-post-media img { transform: scale(1.07); }
.vhcs-post-media .category { position: absolute; left: 20px; top: 20px; z-index: 9; }
.vhcs-post-media .category a { background: var(--dark-color); color: #fff; padding: 4px 10px; border-radius: 6px; margin-right: 6px; text-decoration: none; font-size: 13px; }
.vhcs-post-date { position: absolute; left: 18px; bottom: -22px; z-index: 2; background: #fff; border-radius: 8px; box-shadow: 0 8px 20px rgba(29,23,71,.14); display: flex; align-items: center; gap: 9px; padding: 8px 15px 8px 12px; }
.vhcs-post-date strong { font-family: 'Prata', serif; font-size: 24px; line-height: 1; color: #f57134; }
.vhcs-post-date span { font-family: 'Rubik', sans-serif; font-size: 11px; font-weight: 600; line-height: 1.35; color: #302c51; text-transform: uppercase; letter-spacing: .5px; }
.vhcs-post-body { flex: 1; display: flex; flex-direction: column; padding: 36px 22px 20px; }
.vhcs-post-body h4 { font-size: 18px; line-height: 1.45; font-weight: 700; margin: 0 0 10px; min-height: 52px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vhcs-post-body h4 a { color: #1d1747; text-decoration: none; transition: color .25s ease; }
.vhcs-post-body h4 a:hover { color: #f57134; }
.vhcs-post-body > p { font-size: 14px; line-height: 1.7; color: #6b6685; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vhcs-post-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #f2ede9; padding-top: 14px; }
.vhcs-post-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vhcs-post-author .ava { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #fafafa; border: 1px solid #eaeaea; display: flex; align-items: center; justify-content: center; }
.vhcs-post-author .ava img { width: 100%; height: 100%; object-fit: cover; }
.vhcs-post-author .ava i { color: #18bec2; font-size: 14px; }
.vhcs-post-author span { font-size: 13px; font-weight: 600; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vhcs-post-link { font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 700; color: #f57134; text-decoration: none; white-space: nowrap; }
.vhcs-post-link:hover { color: #1d1747; }
.vhcs-post-link i { margin-left: 5px; }
.vhcs-achv-date { display: inline-block; font-family: 'Rubik', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #f57134; margin-bottom: 10px; }
.vhcs-achv-date i { margin-right: 6px; }
.vhcs-read-more { display: inline-block; font-size: 14px; font-weight: 700; color: #f57134; text-decoration: none; margin-bottom: 16px; }
.vhcs-read-more:hover { color: #1d1747; }
.vhcs-read-more i { margin-left: 5px; font-size: 12px; }
.vhcs-post-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(245,113,52,.95); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .3s ease; z-index: 2; }
.vhcs-post:hover .vhcs-post-play { transform: translate(-50%,-50%) scale(1.1); }

@media (max-width: 991px) {
    .vhcs-blog { padding: 70px 0 75px; }
    .vhcs-blog-head h2 { font-size: 34px; }
}

@media (max-width: 767px) {
    .vhcs-blog { padding: 60px 0 65px; }
    .vhcs-blog-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
    .vhcs-blog-head h2 { font-size: 29px; }
    .vhcs-blog-head p { font-size: 15px; }
    .blog-slider { padding: 30px 2px 20px !important; }
    .vhcs-post-media img { height: 200px; }
    .vhcs-post-body { padding: 34px 20px 18px; }
    .vhcs-post-body h4 { font-size: 17px; min-height: 0; }
    .vhcs-post-author span { max-width: 130px; }
}

/* Hero text sizing on mobile (home) – layout untouched */
@media (max-width: 767px) {
    .banner-section.style-two .content-box h1 { font-size: 38px; line-height: 1.25; margin-bottom: 18px; }
    .banner-section.style-two h4 { font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
    .top-bar .contact-info li:has(a[href^="tel:"]) { display: none; }
}
@media (max-width: 480px) {
    .banner-section.style-two .content-box h1 { font-size: 32px; }
}

/* Mobile sticky scroll navbar – runs the desktop transition on phones */
.sticky-header .sticky-menu-btn { display: none; }
@media (max-width: 1199px) {
    .sticky-header { display: block; }
    .fixed-header .sticky-header { z-index: 9990; }
    .main-header .sticky-header .logo img { max-width: 150px !important; height: auto !important; }
    .sticky-header .menu-column { display: flex; align-items: center; }
    .sticky-header .menu-column .nav-outer { display: none; }
    .sticky-header .sticky-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0; }
    .main-header .sticky-header .sticky-menu-btn .flaticon-menu { font-size: 26px; line-height: 1; color: #302c51 !important; }
    .main-header .sticky-header .sticky-menu-btn:hover .flaticon-menu { color: #f57134 !important; }
}

/* Donate modal rework (home) – theme-consistent, subtle rounding */
#donate-popup .donate-form-wrapper { border-radius: 12px; padding: 36px; }
#donate-popup .bank-details h3,
#donate-popup .payment-methods h3 { font-family: 'Prata', serif; font-size: 24px; color: #1d1747; margin-bottom: 24px; }
#donate-popup .account-card { border-radius: 10px; }
#donate-popup .account-card::before { border-radius: 10px 0 0 10px; }
#donate-popup .method-card { border-radius: 10px; }
#donate-popup .method-icon { background: linear-gradient(135deg, #f57134, #d95e26); }
#donate-popup .copy-btn:hover { background: #1d1747; border-color: #1d1747; box-shadow: 0 4px 12px rgba(29,23,71,.3); }
#donate-popup .close-donate:hover { background: #f57134; transform: scale(1.05); }
#donate-popup .donate-cta,
#donate-popup .gratitude-message { border-radius: 12px; }
#donate-popup .contact-item { border-radius: 10px; }
#donate-popup .cta-buttons .theme-btn { border-radius: 8px; }
@media (max-width: 767px) {
    #donate-popup .donate-form-wrapper { padding: 24px 18px; }
    #donate-popup .donate-form-area { width: 94%; max-height: 92vh; }
    #donate-popup .close-donate { width: 36px; height: 36px; top: 12px; right: 12px; }
    #donate-popup .bank-details { margin-bottom: 20px; padding-top: 8px; }
    #donate-popup .bank-details h3 { font-size: 20px; margin-bottom: 16px; }
    #donate-popup .payment-methods h3 { font-size: 19px; margin-bottom: 14px; }
    #donate-popup .account-cards { gap: 12px; }
    #donate-popup .account-card { padding: 16px; gap: 12px; }
    #donate-popup .bank-logo { width: 44px; height: 44px; }
    #donate-popup .account-info h4 { font-size: .95rem; margin-bottom: 8px; }
    #donate-popup .account-number { padding: 10px; min-height: 0; }
    #donate-popup .account-number .number { font-size: 1rem; }
    #donate-popup .copy-btn { height: 32px; padding: 6px 10px; font-size: .75rem; }
    #donate-popup .bank-name { font-size: .8rem; }
    #donate-popup .payment-methods { margin-bottom: 20px; }
    #donate-popup .method-grid { gap: 12px; }
    #donate-popup .method-card { padding: 16px 12px; }
    #donate-popup .method-icon { width: 48px; height: 48px; margin-bottom: 10px; }
    #donate-popup .method-icon i { font-size: 22px; }
    #donate-popup .method-card h4 { font-size: 1rem; margin-bottom: 6px; }
    #donate-popup .method-card p { font-size: .82rem; }
    #donate-popup .donate-cta { padding: 20px 16px; margin-bottom: 20px; }
    #donate-popup .cta-message { margin-bottom: 16px; }
    #donate-popup .cta-message p { font-size: .9rem; margin-bottom: 12px; }
    #donate-popup .contact-item { padding: 10px 14px; font-size: .85rem; }
    #donate-popup .cta-buttons { gap: 12px; }
    #donate-popup .cta-buttons .theme-btn { padding: 10px 20px; font-size: 14px; }
    #donate-popup .gratitude-message { padding: 20px 16px; }
    #donate-popup .gratitude-message p { font-size: .92rem; margin-bottom: 12px; }
    #donate-popup .quote-icon { font-size: 30px; margin-bottom: 10px; }
    #donate-popup .inkind-note { padding: 14px; margin-bottom: 20px; }
    #donate-popup .inkind-note p { font-size: .85rem; }
}
@media (max-width: 480px) {
    #donate-popup .donate-form-wrapper { padding: 20px 14px; }
    #donate-popup .bank-details h3 { font-size: 18px; }
    #donate-popup .payment-methods h3 { font-size: 17px; }
    #donate-popup .account-card { padding: 14px 12px; }
    #donate-popup .method-card p { font-size: .78rem; }
}

/* Volunteer modal rework (home) – theme-consistent, compact */
#volunteer-popup .donate-form-wrapper { border-radius: 12px; padding: 36px; }
#volunteer-popup .donate-header { margin-bottom: 24px; padding-bottom: 24px; }
#volunteer-popup .donate-header h1 { font-family: 'Prata', serif; font-size: 30px; color: #1d1747; margin-bottom: 8px; }
#volunteer-popup .donate-header .subtitle { font-size: 1rem; }
#volunteer-popup .message-card { background: linear-gradient(135deg, #1d1747, #302c51); border-radius: 12px; padding: 28px; }
#volunteer-popup .message-card h3 { font-size: 22px; margin-bottom: 12px; }
#volunteer-popup .message-card p { font-size: .95rem; margin-bottom: 18px; }
#volunteer-popup .message-icon { font-size: 40px; margin-bottom: 14px; }
#volunteer-popup .contact-item { border-radius: 10px; font-size: .85rem; }
#volunteer-popup .cta-buttons .theme-btn { border-radius: 8px; }
@media (max-width: 767px) {
    #volunteer-popup .donate-form-wrapper { padding: 24px 18px; }
    #volunteer-popup .donate-header { margin-bottom: 18px; padding-bottom: 18px; }
    #volunteer-popup .donate-header h1 { font-size: 24px; }
    #volunteer-popup .impact-message { margin-bottom: 20px; }
    #volunteer-popup .message-card { padding: 20px 16px; }
    #volunteer-popup .message-card h3 { font-size: 19px; }
    #volunteer-popup .message-card p { font-size: .88rem; }
    #volunteer-popup .message-icon { font-size: 32px; margin-bottom: 10px; }
    #volunteer-popup .contact-item { font-size: .8rem; padding: 10px 12px; }
}

/* Moments gallery (home #project) */
.vhcs-gallery { columns: 3; column-gap: 16px; }
.vhcs-g-item { position: relative; display: block; border-radius: 10px; overflow: hidden; break-inside: avoid; margin-bottom: 16px; }
.vhcs-g-item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.vhcs-g-item:hover img { transform: scale(1.06); }
.vhcs-g-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(29,23,71,.45); opacity: 0; transition: opacity .3s ease; }
.vhcs-g-item:hover .vhcs-g-zoom { opacity: 1; }
.vhcs-g-zoom i { width: 46px; height: 46px; border-radius: 50%; background: #f57134; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
@media (max-width: 767px) {
    .vhcs-gallery { columns: 2; column-gap: 12px; }
    .vhcs-g-item { margin-bottom: 12px; }
}

/* Testimonial header lifted off the bg image */
.testimonial-section .sec-title { position: relative; z-index: 2; background: #fff; border-radius: 12px; padding: 28px 20px; margin-bottom: 35px; box-shadow: 0 6px 22px rgba(29,23,71,.08); }


/* Testimonial bg-4 focal point on mobile */
@media (max-width: 767px) {
    .testimonial-section .sec-bg-two { background-position: 25% 30%; }
}

.vhcs-sec-center { text-align: center; padding: 60px 0 30px; }

/* Partners marquee (home) */
.vhcs-partners { padding: 90px 0 80px; background: #fff; overflow: hidden; }
.vhcs-partners .sec-title { margin-bottom: 40px; }
.vhcs-partners .sec-title h1 { font-family: 'Prata', serif; font-size: 40px; color: #1d1747; margin: 0 0 12px; }
.vhcs-partners .sec-title .text { color: #6b6685; }
.vhcs-thanks { margin: 30px 0 8px; color: #6b6685; font-size: 15px; }
.vhcs-partner-link { color: #f57134; font-size: 15px; font-weight: 700; text-decoration: none; }
.vhcs-partner-link:hover { color: #1d1747; }
.vhcs-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.vhcs-marquee-track { display: flex; width: max-content; padding: 10px 0; animation: vhcs-marquee 30s linear infinite; }
@keyframes vhcs-marquee { to { transform: translateX(-50%); } }
.vhcs-partner-img { height: 64px; width: auto; object-fit: contain; margin-right: 56px; flex-shrink: 0; transition: transform .3s ease; }
.vhcs-partner-img:hover { transform: scale(1.05); }
@media (max-width: 767px) {
    .vhcs-partners { padding: 60px 0 55px; }
    .vhcs-partners .sec-title h1 { font-size: 29px; }
    .vhcs-partner-img { height: 48px; margin-right: 36px; }
    .vhcs-marquee-track { animation-duration: 22s; }
}
@media (prefers-reduced-motion: reduce) {
    .vhcs-marquee-track { animation: none; }
}

/* Donate modal – in-kind donations note */
#donate-popup .inkind-note { display: flex; gap: 14px; align-items: flex-start; background: #fff8f3; border: 1px dashed rgba(245,113,52,.5); border-radius: 10px; padding: 16px 18px; margin-bottom: 30px; }
#donate-popup .inkind-note i { color: #f57134; font-size: 22px; margin-top: 2px; }
#donate-popup .inkind-note p { margin: 0; font-size: .92rem; line-height: 1.65; color: #444; }

/* Bigger mobile logo (home) */
@media (max-width: 1199px) {
    .main-header .mobile-menu .logo img { width: auto; height: auto; max-width: 230px !important; }
}

/* Medium, consistent image frames for the VHCS home photo carousel. */
.causes-section-three .cause-carousel-wrapper { padding-left: 48px; }
.causes-section-three .cause-block-three .image img {
    width: 600px;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}
.causes-section-three .cause-block-three .image {
    overflow: hidden;
    border-radius: 4px;
}
.causes-section-three .cause-block-three .content {
    border-radius: 8px;
}
@media (max-width: 991px) and (min-width: 768px) {
    .causes-section-three .cause-carousel-wrapper { padding-left: 24px; }
    .causes-section-three .cause-block-three .image img { width: 520px; height: 390px; }
    .causes-section-three .cause-block-three .inner-box { padding-left: 140px; }
    .causes-section-three .cause-block-three .content-wrapper { max-width: 340px; }
}
@media (max-width: 767px) {
    .causes-section-three .cause-carousel-wrapper { padding: 48px 0; padding-right: 0; }
    .causes-section-three .cause-carousel-wrapper:before { display: none; }
    .causes-section-three .cause-block-three .inner-box { padding-left: 0; }
    .causes-section-three .cause-block-three .image img {
        width: min(100%, 450px);
        height: 338px;
        margin: 0 auto;
        display: block;
    }
    .causes-section-three .cause-block-three .content-wrapper {
        position: relative;
        top: auto;
        left: auto;
        max-width: 370px;
        margin: -24px auto 0;
        z-index: 1;
    }
    .causes-section-three .cause-block-three .content { padding: 32px 16px 24px; }
    .causes-section-three .owl-dot-style-one .owl-dots {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        display: flex;
        justify-content: center;
        gap: 12px;
        padding-top: 22px;
    }
    .causes-section-three .owl-dot-style-one .owl-dots .owl-dot { margin: 0; }
}

/* Three quiet vertical photo columns for Moments at VHCS. */
.vhcs-gallery-section { overflow: hidden; }
.vhcs-gallery-section .sec-title { margin-bottom: 34px; }
.vhcs-photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    height: 700px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
}
.vhcs-photo-column { min-width: 0; overflow: hidden; }
.vhcs-photo-track { display: flex; flex-direction: column; will-change: transform; }
.vhcs-photo-group { display: grid; grid-template-columns: 1fr; gap: 18px; padding-bottom: 18px; }
.vhcs-photo-card { margin: 0; overflow: hidden; border-radius: 4px; background: #f4f2ed; aspect-ratio: 4 / 3; }
.vhcs-photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.vhcs-photo-up .vhcs-photo-track { animation: vhcs-photo-scroll-up 22s linear infinite; }
.vhcs-photo-down .vhcs-photo-track { animation: vhcs-photo-scroll-down 22s linear infinite; }
.vhcs-photo-third .vhcs-photo-track { animation-duration: 22s; animation-delay: -11s; }
.vhcs-photo-column:hover .vhcs-photo-track { animation-play-state: paused; }
@keyframes vhcs-photo-scroll-up { to { transform: translateY(-50%); } }
@keyframes vhcs-photo-scroll-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (max-width: 991px) {
    .vhcs-photo-gallery { height: 540px; gap: 14px; }
    .vhcs-photo-group { gap: 14px; padding-bottom: 14px; }
}
@media (max-width: 767px) {
    .vhcs-gallery-section { padding: 60px 0 55px; }
    .vhcs-gallery-section .sec-title { margin-bottom: 26px; }
    .vhcs-photo-gallery { height: 400px; gap: 10px; }
    .vhcs-photo-group { gap: 10px; padding-bottom: 10px; }
    .vhcs-photo-card { aspect-ratio: 3 / 4; }
}
@media (max-width: 380px) {
    .vhcs-photo-gallery { height: 350px; }
}
@media (prefers-reduced-motion: reduce) {
    .vhcs-photo-track { animation: none !important; transform: none !important; }
}

