.hero { position: relative; overflow: hidden; background: #07111f; min-height: calc(100vh - 74px); display: flex; align-items: center; justify-content: center; padding: 60px 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.08)); }
.hero-bg-gradient { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at center, #1e293b 0%, #090e1a 100%); }
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-video-bg video, .hero-video-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5,10,20,.42), rgba(5,10,20,.78)), linear-gradient(90deg, rgba(7,17,31,.45), rgba(7,17,31,.12)); }
.hero-video-text { position: relative; z-index: 4; width: min(880px, calc(100% - 48px)); margin: 0 auto; text-align: center; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.45); }
.hero-logo-intro { width: 88px; height: 88px; margin: 0 auto 20px; padding: 12px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 20px 40px rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; color: #0284c7; font-size: 2.2rem; }
.hero-video-text h1 { margin: 0 0 16px; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
.hero-typing-text { display: inline-block; border-right: 3px solid rgba(255,255,255,.88); animation: heroCaret .72s step-end infinite; }
.hero-video-text p { max-width: 760px; margin: 0 auto; color: rgba(255,255,255,.88); font-size: clamp(.95rem, 1.6vw, 1.15rem); line-height: 1.65; }
@keyframes heroCaret { 0%,100% { border-color: transparent; } 50% { border-color: rgba(255,255,255,.88); } }
.hero-quote-ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; width: 100%; overflow: hidden; border-top: 1px solid rgba(255,255,255,.2); background: rgba(15,23,42,.75); color: #fff; backdrop-filter: blur(14px); display: flex; align-items: center; }
.hero-quote-badge { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: rgba(15,23,42,.95); border-right: 1px solid rgba(251,191,36,.35); color: #fbbf24; font-weight: 800; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.hero-quote-marquee { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.hero-quote-track { display: inline-flex; align-items: center; gap: 28px; min-width: 100%; white-space: nowrap; padding: 13px 0; animation: heroQuoteScroll 35s linear infinite; }
.hero-quote-item { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: #f1f5f9; }
@keyframes heroQuoteScroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.counter-section { padding: 40px 20px 20px; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; background: #ffffff; border: 1px solid #eef2f6; border-radius: 20px; padding: 26px 32px; box-shadow: 0 10px 35px rgba(0,0,0,0.05); }
[data-theme="dark"] .counter-grid { background: #101d31; border-color: #263a55; }
.counter-card { display: flex; align-items: center; gap: 16px; padding: 6px; }
.cc-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(0, 137, 123, 0.1); color: var(--primary-teal, #00897b); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.cc-content h3 { font-size: 1.65rem; font-weight: 800; color: #0f172a; line-height: 1.1; margin: 0; }
[data-theme="dark"] .cc-content h3 { color: #fff; }
.cc-content p { font-size: 0.85rem; color: #64748b; font-weight: 500; margin: 4px 0 0; }
.sambutan-pastor-section { background: transparent; padding: 50px 20px 70px; }
[data-theme="dark"] .sambutan-pastor-section { background: #090e1a; }
.sambutan-pastor-card { display: grid; grid-template-columns: 340px 1fr; max-width: 1100px; margin: 0 auto; background: #ffffff; border: 1px solid #eef2f6; border-radius: 24px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
[data-theme="dark"] .sambutan-pastor-card { background: #101d31; border-color: #263a55; }
.sambutan-pastor-photo { position: relative; background: #ff7a00; display: flex; align-items: flex-end; justify-content: center; min-height: 320px; overflow: hidden; }
.sambutan-pastor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sambutan-pastor-badge { position: absolute; top: 20px; left: 20px; z-index: 5; background: rgba(0, 0, 0, 0.28); backdrop-filter: blur(4px); color: #ffffff; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; padding: 6px 16px; border-radius: 20px; }
.sambutan-pastor-body { padding: 45px 50px; display: flex; flex-direction: column; justify-content: center; }
.sambutan-pastor-body h3 { font-size: 2.1rem; font-weight: 800; color: #0c4a6e; margin: 0 0 6px; }
[data-theme="dark"] .sambutan-pastor-body h3 { color: #38bdf8; }
.sambutan-pastor-role { font-size: 0.95rem; font-weight: 700; color: var(--primary-teal, #00897b); margin-bottom: 20px; }
.sambutan-pastor-body p { font-size: 0.96rem; line-height: 1.8; color: #475569; font-style: italic; margin-bottom: 26px; }
[data-theme="dark"] .sambutan-pastor-body p { color: #cbd5e1; }
.btn-sambutan { background: #0c4a6e; color: #ffffff !important; border-radius: 30px; padding: 11px 28px; font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; box-shadow: 0 4px 15px rgba(12, 74, 110, 0.25); transition: all 0.3s; border: none; }
.btn-sambutan:hover { background: #075985; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(12, 74, 110, 0.35); color: #ffffff !important; }

/* Responsive Adjustments for Tablet & Mobile */
@media (max-width: 900px) { 
    .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px; } 
    .sambutan-pastor-card { grid-template-columns: 1fr; } 
    .hero { min-height: 60vh; padding: 50px 14px 60px; } 
}

@media (max-width: 640px) { 
    .hero { min-height: 460px; padding: 35px 12px 55px; }
    .hero-video-text { width: 100%; }
    .hero-video-text h1 { font-size: clamp(1.35rem, 5.2vw, 1.85rem) !important; line-height: 1.25; margin-bottom: 10px; }
    .hero-subtitle-readable { font-size: 0.82rem !important; padding: 7px 14px !important; line-height: 1.45; }
    .hero-quote-badge { padding: 8px 12px; font-size: 0.72rem; }
    .hero-quote-item { font-size: 0.78rem; }
    .hero-quote-track { animation-duration: 22s; padding: 9px 0; }
    
    .counter-section { padding: 20px 12px 10px; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px 12px; border-radius: 16px; } 
    .counter-card { padding: 6px 4px; gap: 10px; }
    .cc-icon { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 10px; }
    .cc-content h3 { font-size: 1.28rem; }
    .cc-content p { font-size: 0.76rem; }

    .sambutan-pastor-section { padding: 10px 12px 40px; }
    .sambutan-pastor-card { border-radius: 18px; }
    .sambutan-pastor-photo { min-height: 200px; max-height: 230px; }
    .sambutan-pastor-body { padding: 24px 18px; text-align: center; align-items: center; }
    .sambutan-pastor-body h3 { font-size: 1.35rem; }
    .sambutan-pastor-role { font-size: 0.84rem; margin-bottom: 12px; }
    .sambutan-pastor-body p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 18px; }
    .btn-sambutan { padding: 9px 22px; font-size: 0.82rem; }

    .pelayan-pastoral-section { padding: 25px 12px 50px; }
    .pelayan-pastoral-header { margin-bottom: 24px; }
    .pelayan-pastoral-header h2 { font-size: 1.5rem; }
    .pelayan-pastoral-header p { font-size: 0.84rem; }
    .pelayan-pastoral-grid { gap: 16px; }
    .pelayan-card { width: 100%; max-width: 100%; min-width: 0; padding: 24px 16px 20px; border-radius: 16px; }
    .pelayan-btn-group { flex-direction: column; width: 100%; gap: 10px; margin-top: 24px; padding: 0 10px; }
    .pelayan-btn-group a { width: 100%; justify-content: center; text-align: center; }
}

/* Keep the homepage video close to its original color; only add a soft readability veil. */
.hero {
    min-height: calc(100vh - 110px);
}

.hero::before {
    background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) !important;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.02)) !important;
}

.hero-video-bg::after,
.hero-video-overlay {
    background:
        linear-gradient(180deg, rgba(5,10,20,.06), rgba(5,10,20,.18)),
        linear-gradient(90deg, rgba(7,17,31,.12), rgba(7,17,31,.03)) !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.hero-video-element {
    filter: none !important;
    opacity: 1 !important;
}

/* YouTube Video Background Full-Cover Styling */
.hero-youtube-wrapper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 0 !important;
    background-color: #07111f !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

body.public-portal .hero-youtube-iframe,
.hero-youtube-iframe {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: none !important;
    height: 56.25vw !important; /* 16:9 ratio */
    min-height: 100% !important;
    min-width: 177.78vh !important;
    transform: translate(-50%, -50%) scale(1.35) !important;
    transform-origin: center center !important;
    pointer-events: none !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

@media (min-aspect-ratio: 16/9) {
    body.public-portal .hero-youtube-iframe,
    .hero-youtube-iframe {
        height: 56.25vw !important;
        width: 100vw !important;
    }
}

@media (max-aspect-ratio: 16/9) {
    body.public-portal .hero-youtube-iframe,
    .hero-youtube-iframe {
        width: 177.78vh !important;
        height: 100vh !important;
        min-height: 100% !important;
    }
}

@media (max-width: 768px) {
    body.public-portal .hero-youtube-iframe,
    .hero-youtube-iframe {
        min-height: 120% !important;
        min-width: 220% !important;
        transform: translate(-50%, -50%) scale(1.45) !important;
    }
}

.hero-video-text {
    text-shadow: 0 4px 24px rgba(0,0,0,.55) !important;
}

.hero-video-text h1 {
    text-shadow: 0 5px 26px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.58) !important;
}

.hero-subtitle-readable {
    display: inline-block !important;
    max-width: 780px !important;
    margin-top: 8px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    background: rgba(5, 10, 20, .44) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    color: rgba(255,255,255,.96) !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.72) !important;
    backdrop-filter: blur(8px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(8px) saturate(1.2) !important;
}

/* ===== Konoha Style - Pelayan Pastoral Section ===== */
.pelayan-pastoral-section {
    padding: 40px 20px 70px;
    background: transparent;
}
[data-theme="dark"] .pelayan-pastoral-section {
    background: #090e1a;
}
.pelayan-pastoral-container {
    max-width: 1100px;
    margin: 0 auto;
}
.pelayan-pastoral-header {
    text-align: center;
    margin-bottom: 36px;
}
.pelayan-pastoral-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 152, 0, 0.12);
    color: var(--primary-orange, #ff9800);
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.pelayan-pastoral-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0c4a6e;
    margin: 0 0 10px;
}
[data-theme="dark"] .pelayan-pastoral-header h2 {
    color: #38bdf8;
}
.pelayan-pastoral-header h2 span {
    color: var(--primary-orange, #ff9800);
}
.pelayan-pastoral-header p {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
}
[data-theme="dark"] .pelayan-pastoral-header p {
    color: #94a3b8;
}

.pelayan-pastoral-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.pelayan-card {
    flex: 1 1 300px;
    max-width: 360px;
    min-width: 260px;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .pelayan-card {
    background: #101d31;
    border-color: #263a55;
}
.pelayan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 137, 123, 0.12);
    border-color: var(--primary-teal, #00897b);
}
.pelayan-card.pastor-paroki {
    border-top: 4px solid var(--primary-orange, #ff9800);
}
.pelayan-card.pastor-rekan {
    border-top: 4px solid #0284c7;
}
.pelayan-card.frater-katekis {
    border-top: 4px solid var(--primary-teal, #00897b);
}

.pelayan-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
}
.pelayan-avatar-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-orange, #ff9800);
    padding: 3px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.pelayan-avatar-img.rekan {
    border-color: #0284c7;
}
.pelayan-avatar-img.frater {
    border-color: var(--primary-teal, #00897b);
}
.pelayan-avatar-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(0, 137, 123, 0.1);
    color: var(--primary-teal, #00897b);
    border: 3px solid var(--primary-teal, #00897b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.pelayan-avatar-icon.rekan {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border-color: #0284c7;
}
.pelayan-avatar-icon.frater {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    border-color: #0d9488;
}
.pelayan-tag {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--primary-orange, #ff9800);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.pelayan-tag.vikaris {
    background: #0284c7;
}
.pelayan-tag.pastoral {
    background: var(--primary-teal, #00897b);
}

.pelayan-role-badge {
    display: inline-block;
    background: rgba(255, 152, 0, 0.12);
    color: #d97706;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 14px;
    border-radius: 14px;
    margin-bottom: 8px;
}
.pelayan-role-badge.rekan {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
}
.pelayan-role-badge.frater {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.pelayan-card h4 {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
[data-theme="dark"] .pelayan-card h4 {
    color: #ffffff;
}
.pelayan-subrole {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-teal, #00897b);
    margin-bottom: 4px;
}
.btn-pelayan-detail {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-pelayan-detail:hover {
    background: var(--primary-teal, #00897b);
    color: #ffffff;
    border-color: var(--primary-teal, #00897b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.2);
}
[data-theme="dark"] .btn-pelayan-detail {
    background: #1a2942;
    border-color: #334e68;
    color: #e2e8f0;
}
[data-theme="dark"] .btn-pelayan-detail:hover {
    background: #0d9488;
    border-color: #0d9488;
    color: #ffffff;
}
.pelayan-divider {
    height: 1px;
    background: #eef2f6;
    margin: 14px 0;
}
[data-theme="dark"] .pelayan-divider {
    background: #263a55;
}
.pelayan-duties {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
[data-theme="dark"] .pelayan-duties {
    color: #cbd5e1;
}
.pelayan-duties li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.pelayan-duties li i {
    color: var(--primary-teal, #00897b);
    font-size: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.pelayan-card-footer {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px dashed #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}
[data-theme="dark"] .pelayan-card-footer {
    border-color: #263a55;
}
.pelayan-status-label {
    color: #94a3b8;
    font-weight: 500;
}
.pelayan-status-val {
    color: #10b981;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pelayan-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
}
.pelayan-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.btn-konoha-teal {
    background: var(--primary-teal, #00897b);
    color: #ffffff !important;
    border-radius: 30px;
    padding: 10px 26px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.25);
    transition: all 0.3s;
    border: none;
}
.btn-konoha-teal:hover {
    background: var(--primary-teal-dark, #004d40);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 137, 123, 0.35);
    color: #ffffff !important;
}
.btn-konoha-amber-outline {
    background: #ffffff;
    color: var(--primary-orange, #ff9800) !important;
    border: 1px solid var(--primary-orange, #ff9800);
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
}
[data-theme="dark"] .btn-konoha-amber-outline {
    background: #101d31;
}
.btn-konoha-amber-outline:hover {
    background: var(--primary-orange, #ff9800);
    color: #ffffff !important;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .pelayan-pastoral-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ===== Gallery Section Styling ===== */
.home-gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e2e8f0;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    text-decoration: none !important;
}
[data-theme="dark"] .home-gallery-card {
    background: #1e293b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.home-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 137, 123, 0.2);
}
.home-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-gallery-card:hover img {
    transform: scale(1.08);
}
.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 40, 35, 0.88) 0%, rgba(0, 77, 64, 0.35) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    transition: opacity 0.3s ease;
}
.home-gallery-card:hover .home-gallery-overlay {
    opacity: 1;
}
.home-gallery-badge {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.92);
    color: #004d40;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
}
.home-gallery-title {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ============================================================
   SWIPER SLIDER PELAYAN PASTORAL (BERANDA)
   ============================================================ */
.pelayan-pastoral-slider-wrap {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    padding: 0 46px;
}
@media (max-width: 768px) {
    .pelayan-pastoral-slider-wrap {
        padding: 0 4px;
    }
}
.swiper-pelayan-pastoral {
    width: 100%;
    padding: 16px 8px 52px !important;
    overflow: hidden;
}
.swiper-pelayan-pastoral .swiper-wrapper {
    align-items: stretch;
}
.swiper-pelayan-pastoral .swiper-slide {
    height: auto !important;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}
.swiper-pelayan-pastoral .swiper-slide .pelayan-card {
    width: 100%;
    max-width: 360px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Slider Nav Buttons (Prev / Next) */
.pelayan-slider-nav {
    position: absolute;
    top: calc(50% - 24px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.pelayan-slider-nav:hover {
    background: var(--primary-orange, #ff9800);
    border-color: var(--primary-orange, #ff9800);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.35);
}
.pelayan-slider-prev {
    left: -2px;
}
.pelayan-slider-next {
    right: -2px;
}
@media (max-width: 768px) {
    .pelayan-slider-nav {
        display: none !important;
    }
}
[data-theme="dark"] .pelayan-slider-nav {
    background: #152238;
    border-color: #2b3d58;
    color: #f1f5f9;
}
[data-theme="dark"] .pelayan-slider-nav:hover {
    background: var(--primary-orange, #ff9800);
    border-color: var(--primary-orange, #ff9800);
    color: #ffffff;
}

/* Swiper Pagination */
.swiper-pagination-pelayan {
    bottom: 12px !important;
}
.swiper-pagination-pelayan .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 4px !important;
}
.swiper-pagination-pelayan .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 8px;
    background: var(--primary-orange, #ff9800);
    opacity: 1;
}
[data-theme="dark"] .swiper-pagination-pelayan .swiper-pagination-bullet {
    background: #475569;
}
[data-theme="dark"] .swiper-pagination-pelayan .swiper-pagination-bullet-active {
    background: var(--primary-orange, #ff9800);
}

/* Fallback jika Swiper belum initialized */
.swiper-pelayan-pastoral:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.swiper-pelayan-pastoral:not(.swiper-initialized) .swiper-slide {
    flex: 1 1 300px;
    max-width: 360px;
}
.swiper-pelayan-pastoral:not(.swiper-initialized) ~ .pelayan-slider-nav {
    display: none;
}


