/* ===== Hero ===== */
    .hero {
        position: relative;
        width: 100%;
        height: 85vh;
        min-height: 450px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        overflow: hidden;
        border-bottom: none;
    }
    .hero-slides { position: absolute; inset: 0; z-index: 0; }
    .hero-slide {
        position: absolute; inset: 0;
        background-size: cover; background-position: center center;
        background-repeat: no-repeat;
        opacity: 0; transition: opacity 1.2s ease-in-out;
    }
    .hero-slide.active { opacity: 1; }
    .hero-slide:first-child { opacity: 1; }
    .hero-image {
        position: absolute; top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        z-index: 0;
    }
    .hero-content {
        position: relative; z-index: 1;
        max-width: 800px; width: 90%;
        padding: 1.5rem;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 20px;
        animation: fadeInUp 0.8s ease-out;
    }
    .hero h1 {
        font-size: 3rem; font-weight: 800;
        margin-bottom: 0.8rem; color: white;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }
    .hero p {
        font-size: 1.1rem; margin-bottom: 1.8rem;
        color: rgba(255, 255, 255, 0.95); font-weight: 500;
    }
    .hero-logo { text-align: center; margin: 0.8rem 0; }
    .hero-logo img { max-width: 80px; }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(25px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .btn {
        display: inline-block;
        background: #F5DD00; color: #001B3A;
        text-decoration: none;
        padding: 0.9rem 2rem;
        border-radius: 40px;
        font-weight: 700; font-size: 0.95rem;
        transition: all 0.25s ease;
        border: none; cursor: pointer;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .btn:hover { transform: translateY(-3px); background: #ffea3a; }
    .card { cursor: pointer; }

    /* ===== About ===== */
    .about-gm { background: #f5f7fa; }
    .about-content { max-width: 800px; margin: 0 auto 2.5rem; text-align: center; }
    .about-content h3 {
        color: #002D62; font-size: 1.35rem; font-weight: 700;
        margin-bottom: 1rem; line-height: 1.4;
    }
    .about-content p {
        font-size: 1rem; color: #4a5568; line-height: 1.75;
        margin-bottom: 1rem; text-align: left;
    }
    .about-video-wrapper { max-width: 900px; margin: 0 auto; text-align: center; }
    .video-frame {
        position: relative; width: 100%; padding-bottom: 56.25%;
        background: #000; border-radius: 16px; overflow: hidden;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); margin-bottom: 1.5rem;
    }
    .video-frame iframe {
        position: absolute; top: 0; left: 0;
        width: 100%; height: 100%; border: 0; display: block;
    }
    .youtube-btn {
        background: #FF0000; color: white;
        padding: 0.8rem 2rem; border-radius: 40px;
        font-weight: 700; text-decoration: none;
        display: inline-block; transition: 0.25s;
        border: none; cursor: pointer;
    }
    .youtube-btn:hover { background: #cc0000; transform: translateY(-3px); }

    /* ===== Life at Great Mercy Gallery ===== */
    .gallery-section { background: #ffffff; padding: 4.5rem 5%; }
    .gallery-inner { max-width: 1200px; margin: 0 auto; }
    .gallery-header { text-align: center; margin-bottom: 3.5rem; }
    .gallery-title {
        color: #002D62; font-size: 2rem; font-weight: 800;
        margin: 0 0 0.5rem; letter-spacing: -0.3px; position: relative;
    }
    .gallery-title::after {
        content: ''; display: block;
        width: 60px; height: 3px; background: #F5DD00;
        margin: 0.8rem auto 0; border-radius: 4px;
    }
    .gallery-sub {
        color: #666; font-size: 0.95rem;
        margin: 0.8rem auto 0; max-width: 600px; line-height: 1.5;
    }
    .gallery-group { margin-bottom: 3rem; }
    .gallery-group:last-child { margin-bottom: 0; }
    .gallery-group-header {
        display: flex; align-items: baseline; justify-content: space-between;
        gap: 1rem; margin-bottom: 1.2rem; padding-bottom: 0.75rem;
        border-bottom: 2px solid #F5DD00; flex-wrap: wrap;
    }
    .gallery-category {
        font-size: 1.25rem; color: #002D62; font-weight: 700;
        margin: 0; text-transform: uppercase; letter-spacing: 0.8px;
        display: flex; align-items: center; gap: 0.6rem;
    }
    .gallery-category::before {
        content: ''; display: inline-block;
        width: 6px; height: 6px; background: #F5DD00;
        border-radius: 50%; flex-shrink: 0;
    }
    .gallery-count {
        font-size: 0.8rem; color: #94a3b8; font-weight: 500;
        text-transform: none; letter-spacing: 0;
    }
    .gallery-grid {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    }
    .gallery-item { margin: 0; display: flex; flex-direction: column; }
    .gallery-image-wrap {
        position: relative; overflow: hidden; border-radius: 12px;
        background: #eef2f7; aspect-ratio: 1 / 1;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
        transition: box-shadow 0.3s ease;
    }
    .gallery-image-wrap img {
        width: 100%; height: 100%; object-fit: cover; display: block;
        transition: transform 0.5s ease; will-change: transform;
    }
    .gallery-item:hover .gallery-image-wrap {
        box-shadow: 0 12px 28px rgba(0, 45, 98, 0.15);
    }
    .gallery-item:hover .gallery-image-wrap img { transform: scale(1.06); }
    .gallery-caption {
        margin-top: 10px; font-size: 0.85rem; color: #4a5568;
        line-height: 1.4; font-weight: 500; text-align: center; padding: 0 4px;
    }

    /* ===== Home News ===== */
    .home-news-grid {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .home-news-card {
        background: white; border-radius: 12px; overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        border: 1px solid #e0e7ed; transition: transform 0.2s;
    }
    .home-news-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
    .home-news-card img { width: 100%; height: 180px; object-fit: cover; }
    .home-news-no-image {
        height: 180px; display: flex; align-items: center; justify-content: center;
        font-size: 3rem; background: #eee; color: #ccc;
    }
    .home-news-body { padding: 1.2rem; }
    .home-news-body h3 { font-size: 1rem; color: #002D62; margin-bottom: 0.3rem; font-weight: 700; }
    .home-news-body p { font-size: 0.8rem; color: #666; margin-bottom: 0.5rem; line-height: 1.4; }
    .home-news-date {
        font-size: 0.7rem; color: #999;
        padding-top: 0.5rem; border-top: 1px solid #eee;
    }

    /* ===== Responsive ===== */
    @media (max-width: 992px) {
        .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
        .hero { height: 70vh; min-height: 400px; }
        .hero h1 { font-size: 2rem; }
        .hero p { font-size: 0.95rem; }
        .hero-content { padding: 1.2rem; }
        .hero-logo img { max-width: 60px; }
        .home-news-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
        .home-news-card img,
        .home-news-no-image { height: 140px; }
        .about-content h3 { font-size: 1.15rem; }
        .about-content p { font-size: 0.95rem; }
        .youtube-btn { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
        .gallery-section { padding: 3rem 4%; }
        .gallery-title { font-size: 1.6rem; }
        .gallery-sub { font-size: 0.9rem; }
        .gallery-category { font-size: 1.1rem; }
        .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
        .gallery-caption { font-size: 0.8rem; }
        .gallery-group { margin-bottom: 2.5rem; }
    }
    @media (max-width: 500px) {
        .hero { height: 65vh; min-height: 360px; }
        .hero h1 { font-size: 1.5rem; line-height: 1.2; }
        .hero p { font-size: 0.85rem; margin-bottom: 1.2rem; }
        .hero-content { padding: 1rem; border-radius: 14px; }
        .hero-logo img { max-width: 50px; }
        .btn { padding: 0.7rem 1.6rem; font-size: 0.85rem; width: 100%; max-width: 280px; }
        .home-news-grid { grid-template-columns: 1fr; gap: 1rem; }
        .home-news-card img,
        .home-news-no-image { height: 180px; }
        .gallery-section { padding: 2.5rem 4%; }
        .gallery-title { font-size: 1.4rem; }
        .gallery-grid { gap: 10px; }
        .gallery-category { font-size: 1rem; }
        .gallery-group-header { padding-bottom: 0.6rem; margin-bottom: 1rem; }
        .gallery-caption { font-size: 0.75rem; margin-top: 8px; }
    }
