/**
 * TIG kabuk — genel varyant: hero + overlap gövde + çoğu kamu sayfası zemini
 * Bağış sayfası aynı ailedendir ama ayrı dosyada: tig-donate-modern.css + body.page-donate + .tig-page-stack--donate
 * (tek referans: .cursor/rules/tig-kabuk.mdc)
 */

/* Overlap hem hero padding hem gövde margin için tek kaynak */
.tig-page-stack {
    --tig-shell-overlap: clamp(1.65rem, 4.2vw, 2.6rem);
    --tig-hero-pad-top: clamp(2.4rem, 5.5vw, 4.25rem);
    --tig-hero-pad-bottom: clamp(3rem, 8vw, 5.75rem);
}

.tig-page-stack--compact {
    --tig-shell-overlap: clamp(1.35rem, 3.5vw, 2.1rem);
    --tig-hero-pad-top: clamp(2rem, 4.5vw, 3.25rem);
    --tig-hero-pad-bottom: clamp(2.35rem, 6vw, 4rem);
}

/* ─── Ölçek: tüm breakpoint’lerde tutarlı minimum okunabilirlik ─── */
.tig-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    /* stack dışı tek hero için var() fallback; stack içinde üstten miras */
    padding: var(--tig-hero-pad-top, clamp(2.4rem, 5.5vw, 4.25rem)) 0
        calc(
            var(--tig-hero-pad-bottom, clamp(3rem, 8vw, 5.75rem)) +
                var(--tig-shell-overlap, clamp(1.65rem, 4.2vw, 2.6rem)) * 0.35
        );
    background: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    border-bottom: 3px solid var(--accent);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 22px 50px -12px rgba(15, 23, 42, 0.14);
}

/* İnce ışık bandı — başlık alanını “basık” hissettirmez */
.tig-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: 0;
    right: 0;
    top: 0;
    height: min(45%, 180px);
    background: radial-gradient(ellipse 85% 100% at 50% 0%, rgba(255, 255, 255, 0.09) 0%, transparent 72%);
    z-index: 0;
}

.tig-hero__texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    /* Harici PNG isteği yok — LCP / gizlilik; hafif altın-beyaz derinlik */
    background-image:
        radial-gradient(ellipse 100% 85% at 50% -15%, rgba(255, 255, 255, 0.09) 0%, transparent 58%),
        radial-gradient(ellipse 70% 55% at 100% 100%, rgba(201, 155, 59, 0.07) 0%, transparent 52%),
        radial-gradient(ellipse 55% 45% at 0% 85%, rgba(255, 255, 255, 0.05) 0%, transparent 48%),
        repeating-linear-gradient(
            -36deg,
            transparent 0,
            transparent 9px,
            rgba(255, 255, 255, 0.018) 9px,
            rgba(255, 255, 255, 0.018) 10px
        );
}

.tig-hero__inner {
    position: relative;
    z-index: 1;
}

/* Başlık: mobilde asla “küçücük” kalmaz; masaüstünde abartısız */
.tig-hero__title {
    margin: 0 0 clamp(0.65rem, 1.8vw, 0.95rem);
    font-size: clamp(1.68rem, 2.75vw + 0.55rem, 2.38rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #fff;
}

.tig-hero__title i {
    margin-right: 0.55rem;
    color: var(--accent);
    font-size: 0.92em;
    vertical-align: -0.06em;
}

.tig-hero__lead {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(1rem, 0.85vw + 0.9rem, 1.14rem);
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
}

/* İsteğe bağlı: başlık + giriş ortada (ör. Basında Biz) */
.tig-hero--center .tig-hero__inner {
    text-align: center;
}

.tig-hero--center .tig-hero__lead {
    margin-left: auto;
    margin-right: auto;
}

/* Ortalı hero’da ikon + başlık tek satırda dengeli */
.tig-hero--center .tig-hero__title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
}

.tig-hero--center .tig-hero__title i {
    margin-right: 0;
}

/* Overlap alanı: hero ile içerik tek bileşen gibi */
.tig-page-stack .tig-shell-main {
    margin-top: calc(-1 * var(--tig-shell-overlap));
}

.tig-shell-main {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.tig-shell-main__inner {
    /* .container zaten max-width: var(--tig-vitrin-max) */
}

/* Okuma/liste sütunu: charter 1200 içinde dar kanal */
.tig-shell-main__inner--reading {
    max-width: min(900px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.tig-shell-main__inner--920 {
    max-width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.tig-shell-main__inner--1000 {
    max-width: min(1000px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.tig-shell-main__inner--1040 {
    max-width: min(1040px, 100%);
    margin-left: auto;
    margin-right: auto;
}

/* Eski overlap sarmalayıcıları tig-shell-main ile birlikte: çift negatif margin yok */
.tig-shell-main .donate-main-wrapper,
.tig-shell-main .contact-stack,
.tig-shell-main .about-main-wrap,
.tig-shell-main .tuzuk-main-wrap,
.tig-shell-main .ql-wrap,
.tig-shell-main .blog-main-wrap,
.tig-shell-main .events-main-wrap,
.tig-shell-main .board-main-wrap,
.tig-shell-main .gallery-main-wrap,
.tig-shell-main .ann-main-wrap,
.tig-shell-main .islam-main-wrap,
.tig-shell-main .history-main-wrap,
.tig-shell-main .mv-stack,
.tig-shell-main .mv-main-wrap,
.tig-shell-main .gdetail-main-wrap,
.tig-shell-main .ev-detail-main-wrap,
.tig-shell-main .ann-detail-main-wrap,
.tig-shell-main .blog-detail-main-wrap {
    margin-top: 0;
}

.tig-shell-main .success-main-content {
    margin-top: 0;
}

.tig-shell-main .mt-page {
    margin-top: 0;
}

.tig-shell-main .qlegal-wrap {
    margin-top: 0;
}

.tig-shell-main .wiz-wrap {
    margin-top: 0;
}

.tig-shell-main .qr-wrap,
.tig-shell-main .ims-wrap,
.tig-shell-main .pr-wrap,
.tig-shell-main .mp-wrap {
    margin-top: 0;
}

/* Ana sayfa: ikinci bir TIG hero yok; gövde zemini kabukla uyumlu */
body.page-home {
    background: linear-gradient(180deg, #f1f5f9 0%, var(--off-white, #f8fafc) 22%, var(--off-white, #f8fafc) 100%);
    background-color: var(--off-white, #f8fafc);
}

.tig-shell-main__inner--1100 {
    max-width: min(1100px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.tig-shell-surface {
    background: linear-gradient(165deg, #ffffff 0%, #fafbfc 100%);
    border-radius: clamp(18px, 2.5vw, 24px);
    padding: clamp(1.35rem, 4vw, 2.35rem) clamp(1.15rem, 3.5vw, 2.25rem);
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 20px 48px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(238, 242, 246, 0.95);
}

/* İsteğe bağlı: hafif cam hissi (backdrop destekleyen tarayıcılarda) */
.tig-shell-surface--glass {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.92) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

@media (min-width: 768px) {
    .tig-shell-surface {
        padding: clamp(1.75rem, 3vw, 2.65rem) clamp(1.75rem, 3.5vw, 2.75rem);
    }
}

/* ─── Site geneli: stack zemin (tek dosyada; gzip ile birkaç KiB, FCP’yi belirlemez) ─── */
.tig-page-stack:not(.tig-page-stack--donate) {
    background: linear-gradient(
        180deg,
        rgba(241, 245, 249, 0.85) 0%,
        var(--off-white, #f8fafc) 38%,
        transparent 72%
    );
    background-color: var(--off-white, #f8fafc);
}

/* Giriş / şifre kartları — kabuk sayfalarıyla uyumlu yumuşak yüzey */
.tig-shell-main .auth-section {
    padding-bottom: clamp(2rem, 5vw, 3rem);
}

.tig-shell-main .auth-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, #ffffff 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 16px 40px rgba(15, 23, 42, 0.07);
    border-radius: clamp(18px, 2.5vw, 22px);
}

/* İnsan doğrulaması (login, iletişim, sihirbaz formlar) */
.human-verification {
    margin-top: 4px;
    margin-bottom: 2px;
}
.human-verification-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}
.human-verification-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--accent, #c99b3b);
}
.wiz-card .human-verification,
.qr-card .human-verification {
    margin-bottom: 12px;
}

.tig-turnstile-wrap {
    margin-bottom: 14px;
}
.tig-turnstile-wrap .cf-turnstile {
    min-height: 65px;
}

.tig-recaptcha-wrap {
    margin-bottom: 14px;
}
.tig-recaptcha-wrap .g-recaptcha {
    min-height: 78px;
}

/* ─── /quick-links — önbelleğe alınır; cam yüzey + dokunmatik UX ─── */
.ql-page {
    --ql-gold: #c99b3b;
    --ql-gold-d: #a67d2b;
    --ql-gold-12: rgba(201, 155, 59, 0.12);
    --ql-ink: #1e293b;
    --ql-muted: #64748b;
}

.ql-body {
    background: transparent;
    padding: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.ql-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
    position: relative;
    z-index: 2;
}

.ql-surface {
    position: relative;
    border-radius: 22px;
    padding: 1.5rem 1.1rem 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.86) 0%,
        rgba(255, 255, 255, 0.96) 100%
    );
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 22px 56px -14px rgba(15, 23, 42, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ql-surface::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--ql-gold-d), #d4b066, var(--ql-gold));
    opacity: 0.92;
}

@media (min-width: 640px) {
    .ql-surface {
        padding: 1.75rem 1.5rem 2rem;
    }
}

.ql-prose {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.92) 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    padding: 1rem 1.1rem 1.1rem;
    margin: 0 0 1.35rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.ql-intro {
    font-size: 0.98rem;
    color: #475569;
    margin: 0 0 0.65rem;
    line-height: 1.65;
}

.ql-sub {
    display: block;
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.45;
}

.ql-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 0.8rem;
}

@media (min-width: 900px) {
    .ql-grid {
        gap: 0.95rem;
    }
}

.ql-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 3.25rem;
    padding: 0.95rem 0.8rem 0.95rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(232, 226, 209, 0.95);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, #fff 100%);
    text-decoration: none;
    color: var(--ql-ink);
    font-weight: 600;
    font-size: 0.94rem;
    line-height: 1.35;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.ql-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, var(--ql-gold), #d4b066);
    transition: width 0.2s ease;
}

.ql-card:hover,
.ql-card:focus-visible {
    border-color: rgba(201, 155, 59, 0.5);
    box-shadow:
        0 0 0 1px rgba(201, 155, 59, 0.12),
        0 12px 28px -8px rgba(15, 23, 42, 0.12);
    outline: none;
}

.ql-card:focus-visible {
    box-shadow:
        0 0 0 3px rgba(201, 155, 59, 0.28),
        0 12px 28px -8px rgba(15, 23, 42, 0.12);
}

.ql-card:hover::before,
.ql-card:focus-visible::before {
    width: 3px;
}

.ql-card:hover .ql-card__go,
.ql-card:focus-visible .ql-card__go {
    opacity: 0.55;
    color: var(--ql-gold-d);
}

@media (prefers-reduced-motion: no-preference) {
    .ql-card:hover {
        transform: translateY(-2px);
    }
}

.ql-card__icn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ql-gold-12);
    color: var(--ql-gold-d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    flex-shrink: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 1px 2px rgba(15, 23, 42, 0.04);
}

.ql-card__txt {
    flex: 1;
    min-width: 0;
}

.ql-card__go {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #cbd5e1;
    opacity: 0.4;
    transition: opacity 0.2s ease, color 0.2s ease;
    padding: 0 0.1rem 0 0.25rem;
}

@media (max-width: 480px) {
    .ql-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ql-card:hover {
        transform: none;
    }
}

/* Quick-links sayfası: stack zemini biraz daha ferah */
body.page-quick-links .tig-page-stack:not(.tig-page-stack--donate) {
    background: linear-gradient(
        180deg,
        rgba(241, 245, 249, 0.92) 0%,
        var(--off-white, #f8fafc) 42%,
        transparent 78%
    );
    background-color: var(--off-white, #f8fafc);
}

/* ─── Ana sayfa (yalnız index): hero, namaz bandı, hızlı menü, kartlar ─── */
body.page-home .hero-slider {
    box-shadow: 0 18px 48px -18px rgba(15, 23, 42, 0.18);
}

body.page-home .slider-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.28) 52%,
        rgba(201, 155, 59, 0.06) 100%
    );
}

body.page-home .slider-overlay--fallback {
    background: linear-gradient(
        135deg,
        var(--primary-dark, #2f2f2f) 0%,
        var(--primary, #4a4a4a) 48%,
        rgba(201, 155, 59, 0.42) 100%
    );
}

body.page-home .slider-content h1,
body.page-home .slider-content h2.h1 {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

body.page-home .slider-arrow:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    body.page-home .slider-dots {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        position: absolute;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 0;
        right: 0;
        z-index: 6;
        padding: 10px 16px 14px;
        pointer-events: auto;
    }

    body.page-home .slider-dot {
        width: 12px;
        height: 12px;
        padding: 14px;
        box-sizing: content-box;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.45);
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
    }

    body.page-home .slider-dot.active {
        background: var(--accent, #c99b3b);
        border-color: rgba(255, 255, 255, 0.75);
        transform: scale(1.12);
    }
}

body.page-home .prayer-times-bar {
    box-shadow: 0 10px 32px -12px rgba(15, 23, 42, 0.2);
}

body.page-home .prayer-times-title {
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Namaz bandı: sağda vurgu ikonu — /prayer-times bağlantısı */
body.page-home a.prayer-times-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 1.1rem 0 0.65rem;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: transform 0.15s ease, filter 0.15s ease;
}

body.page-home a.prayer-times-deco:hover {
    transform: scale(1.07);
}

body.page-home a.prayer-times-deco:focus-visible {
    outline: 3px solid rgba(201, 155, 59, 0.5);
    outline-offset: 3px;
}

body.page-home a.prayer-times-deco i {
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    color: var(--accent, #c99b3b);
    opacity: 0.92;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.22));
}

/* Ana sayfa namaz bandı: dar/tablet ekranda tek satır yatay kaydırma (6 vakit taşmasın) */
@media (max-width: 992px) {
    body.page-home .prayer-times-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    body.page-home .prayer-times-title {
        order: 0;
    }

    body.page-home a.prayer-times-deco {
        order: 1;
        padding: 0.35rem 0.75rem 0.15rem;
        margin: 0 auto;
    }

    body.page-home a.prayer-times-deco i {
        font-size: clamp(1.65rem, 5vw, 2.1rem);
    }

    body.page-home .prayer-times-list--scroll {
        order: 2;
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        padding: 12px max(12px, env(safe-area-inset-right)) 14px max(12px, env(safe-area-inset-left));
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 12px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.4) rgba(0, 0, 0, 0.12);
        mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 32px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 32px), transparent 100%);
    }

    body.page-home .prayer-times-list--scroll::-webkit-scrollbar {
        height: 5px;
    }

    body.page-home .prayer-times-list--scroll::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.35);
        border-radius: 999px;
    }

    body.page-home .prayer-times-list--scroll .prayer-time-item {
        flex: 0 0 auto;
        min-width: 4.85rem;
        scroll-snap-align: start;
        padding: 12px 10px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    body.page-home .prayer-times-list--scroll .prayer-time-item::after {
        display: none;
    }
}

@media (max-width: 992px) and (prefers-reduced-motion: reduce) {
    body.page-home .prayer-times-list--scroll {
        scroll-snap-type: none;
    }
}

/* Ana sayfa namaz bandı: telefonda daha kompakt */
@media (max-width: 576px) {
    body.page-home .prayer-times-title {
        padding: 10px 12px;
        gap: 6px;
    }

    body.page-home .prayer-times-title i {
        font-size: 1.05rem;
    }

    body.page-home .prayer-times-title span {
        font-size: 0.84rem;
        letter-spacing: 0.35px;
    }

    body.page-home .prayer-times-title small {
        font-size: 0.62rem;
        margin-left: 4px;
    }

    body.page-home .prayer-times-list--scroll {
        gap: 8px;
        padding: 8px max(10px, env(safe-area-inset-right)) 11px max(10px, env(safe-area-inset-left));
        scroll-padding-inline: 10px;
    }

    body.page-home .prayer-times-list--scroll .prayer-time-item {
        min-width: 4rem;
        padding: 8px 6px;
        border-radius: 8px;
    }

    body.page-home .prayer-times-list--scroll .prayer-name {
        font-size: 0.62rem;
        letter-spacing: 0.06em;
        margin-bottom: 2px;
    }

    body.page-home .prayer-times-list--scroll .prayer-value {
        font-size: 0.95rem;
    }
}

body.page-home .quick-menu {
    padding: clamp(1.15rem, 3vw, 1.75rem) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

body.page-home .quick-menu-grid {
    gap: clamp(1rem, 2.5vw, 1.45rem);
}

body.page-home .quick-menu-item:not(.quick-menu-expand) {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, var(--off-white, #f8fafc) 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    border-radius: clamp(14px, 2vw, 18px);
}

body.page-home a.quick-menu-item.qm-link:focus-visible {
    outline: 3px solid rgba(201, 155, 59, 0.4);
    outline-offset: 3px;
}

body.page-home .quick-menu-item:hover {
    box-shadow:
        0 12px 28px -8px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(201, 155, 59, 0.12);
}

body.page-home .section .card {
    border-radius: clamp(14px, 2vw, 18px);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.75);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

body.page-home .section .card:hover {
    box-shadow: 0 16px 40px -14px rgba(15, 23, 42, 0.14);
}

/* Ana sayfa: galeri önizleme (tam sayfa gallery.php etkilenmez) */
body.page-home .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 2.5vw, 1.35rem);
}

body.page-home .gallery-album-card {
    border-radius: clamp(16px, 2.2vw, 20px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 2px 12px rgba(15, 23, 42, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

body.page-home .gallery-album-card:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(201, 155, 59, 0.35),
        0 14px 36px -12px rgba(15, 23, 42, 0.15);
    border-color: rgba(201, 155, 59, 0.4);
}

body.page-home .gallery-album-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 44px -16px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(201, 155, 59, 0.1);
    border-color: rgba(201, 155, 59, 0.22);
}

body.page-home .album-cover {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: clamp(12px, 1.8vw, 16px) clamp(12px, 1.8vw, 16px) 0 0;
}

body.page-home .album-overlay {
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.72));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 14px 16px;
}

body.page-home .album-info {
    padding: 16px 18px 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.55) 0%, #fff 100%);
    border-top: 1px solid rgba(241, 245, 249, 0.95);
}

body.page-home .album-info h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--primary-dark, #2f2f2f);
}

body.page-home .album-placeholder {
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--accent, #c99b3b);
}

/* Ana sayfa: yönetim kurulu önizleme (board.php etkilenmez) */
body.page-home .board-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: clamp(1.1rem, 2.8vw, 1.5rem);
}

body.page-home .board-card {
    padding: clamp(1.15rem, 3vw, 1.5rem) 1.1rem;
    border-radius: clamp(16px, 2.2vw, 22px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.98) 100%
    );
    box-shadow:
        0 2px 14px rgba(15, 23, 42, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

body.page-home .board-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 18px 40px -14px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(201, 155, 59, 0.12);
    border-color: rgba(201, 155, 59, 0.22);
}

body.page-home .board-photo {
    width: 112px;
    height: 112px;
    border: 3px solid rgba(201, 155, 59, 0.38);
    box-shadow:
        0 4px 14px rgba(201, 155, 59, 0.2),
        0 0 0 4px rgba(255, 255, 255, 0.88) inset;
}

body.page-home .board-placeholder {
    background: linear-gradient(145deg, #f1f5f9, #e8ecf1);
    color: var(--accent, #c99b3b);
}

body.page-home .board-title {
    background: linear-gradient(135deg, var(--accent, #c99b3b), var(--accent-dark, #a67d2b));
    color: #fff;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    box-shadow: 0 2px 8px rgba(201, 155, 59, 0.28);
}

body.page-home .board-info h3 {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
    body.page-home .section .card,
    body.page-home .quick-menu-item {
        transition: none !important;
    }

    body.page-home .quick-menu-item:hover {
        transform: none;
    }

    body.page-home .gallery-album-card,
    body.page-home .gallery-album-card:hover {
        transition: none !important;
        transform: none !important;
    }

    body.page-home .gallery-album-card:hover .album-cover img {
        transform: none !important;
    }

    body.page-home .board-card,
    body.page-home .board-card:hover {
        transition: none !important;
        transform: none !important;
    }
}
