/* Destek kampanyası sayfaları */
.donation-page {
    --donation-shell: min(1120px, calc(100% - 2rem));
    padding-bottom: 2.5rem;
}
.donation-shell {
    width: var(--donation-shell);
    max-width: 100%;
    margin: 0 auto;
}

/* Hero */
.donation-page-hero {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 48%, #ffedd5 100%);
    border-bottom: 1px solid #fed7aa;
    padding: 1.75rem 0 2.25rem;
    margin-top: .5rem;
}
.donation-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .5rem;
    align-items: center;
    font-size: .84rem;
    color: #9a3412;
    margin: 0 0 1.35rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(251, 146, 60, .22);
}
.donation-breadcrumb a { color: #c2410c; text-decoration: none; }
.donation-breadcrumb a:hover { text-decoration: underline; }
.donation-breadcrumb [aria-current="page"] { color: #7c2d12; font-weight: 600; }

.donation-page-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 1.5rem 2rem;
    align-items: start;
}
.donation-page-hero-main {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    min-width: 0;
}
.donation-page-hero-icon {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: petBounce 1.1s ease-in-out infinite;
}
.donation-page-hero-copy { min-width: 0; }
.donation-page-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #c2410c;
    background: rgba(255, 255, 255, .72);
    padding: .28rem .65rem;
    border-radius: 999px;
    margin-bottom: .55rem;
}
.donation-page-hero h1 {
    margin: 0 0 .55rem;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    line-height: 1.2;
    color: #7c2d12;
}
.donation-page-lead {
    margin: 0;
    color: #57534e;
    line-height: 1.65;
    font-size: .96rem;
    max-width: 52ch;
}

.donation-page-stats-card {
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 12px 32px rgba(234, 88, 12, .1);
}
.donation-page-stats-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin-bottom: .85rem;
}
.donation-page-stat {
    text-align: center;
    padding: .65rem .5rem;
    background: #fff7ed;
    border-radius: 12px;
    border: 1px solid #ffedd5;
}
.donation-page-stat strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #c2410c;
}
.donation-page-stat span {
    display: block;
    margin-top: .2rem;
    font-size: .74rem;
    color: #78716c;
    line-height: 1.3;
}
.donation-page-progress {
    height: 10px;
    background: #fde68a;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: .45rem;
}
.donation-page-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    border-radius: 999px;
    min-width: 2px;
}
.donation-page-goal,
.donation-page-note {
    margin: 0;
    font-size: .78rem;
    color: #78716c;
    text-align: center;
    line-height: 1.45;
}
.donation-page-note { margin-top: .35rem; }

/* İçerik */
.donation-page-content {
    padding: 2rem 0 1rem;
    background: #fafaf9;
}
.donation-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.5rem;
    align-items: start;
}
.donation-page-layout--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
}
.donation-timeline-head h2 {
    margin: 0 0 .4rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #292524;
}
.donation-timeline-head p {
    margin: 0 0 1.15rem;
    color: #78716c;
    font-size: .92rem;
    line-height: 1.5;
    max-width: 60ch;
}

.donation-post-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.donation-post-card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}
.donation-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: .45rem;
    font-size: .82rem;
    color: #78716c;
}
.donation-post-amount {
    background: #fff7ed;
    color: #c2410c;
    font-weight: 800;
    padding: .2rem .55rem;
    border-radius: 999px;
    border: 1px solid #fed7aa;
    white-space: nowrap;
}
.donation-post-card h3 {
    margin: 0 0 .45rem;
    font-size: 1.05rem;
    color: #1c1917;
}
.donation-post-body {
    margin: 0 0 .9rem;
    color: #57534e;
    line-height: 1.6;
    font-size: .94rem;
}
.donation-post-media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .75rem;
}
.donation-media-thumb {
    position: relative;
    border: none;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f4;
    aspect-ratio: 4/3;
}
.donation-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.donation-media-thumb span {
    position: absolute;
    inset: auto 0 0 0;
    padding: .45rem .6rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    text-align: left;
}
.donation-receipt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 120px;
    border-radius: 12px;
    border: 1px dashed #fdba74;
    background: #fff7ed;
    color: #c2410c;
    text-decoration: none;
    font-weight: 700;
    font-size: .86rem;
    text-align: center;
    padding: .75rem;
}
.donation-receipt-card i { font-size: 1.75rem; }
.donation-video-wrap {
    grid-column: 1 / -1;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}
.donation-video-wrap iframe,
.donation-video-wrap video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.donation-empty {
    text-align: center;
    padding: 2.25rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e7e5e4;
    max-width: 520px;
}
.donation-page-layout--single .donation-empty {
    margin: 0 auto;
}
.donation-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto .65rem;
    border-radius: 50%;
    background: #fff7ed;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.donation-empty h3 {
    margin: 0 0 .3rem;
    font-size: 1.05rem;
    color: #292524;
}
.donation-empty p {
    margin: 0;
    color: #78716c;
    font-size: .9rem;
    line-height: 1.5;
}

.donation-sidebar {
    position: sticky;
    top: calc(var(--site-header-height, 72px) + 1rem);
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    padding: 1rem;
}
.donation-sidebar h3 {
    margin: 0 0 .65rem;
    font-size: .95rem;
}
.donation-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.donation-sidebar a {
    display: flex;
    gap: .6rem;
    align-items: center;
    padding: .5rem .55rem;
    border-radius: 10px;
    color: inherit;
    background: #fafaf9;
    border: 1px solid #f5f5f4;
    text-decoration: none;
}
.donation-sidebar a:hover {
    border-color: #fdba74;
    background: #fff7ed;
}
.donation-sidebar-icon {
    width: 34px;
    height: 34px;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.donation-sidebar strong {
    display: block;
    font-size: .86rem;
    line-height: 1.3;
}
.donation-sidebar small {
    color: #78716c;
    font-size: .74rem;
}

.donation-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.donation-lightbox[hidden] { display: none !important; }
.donation-lightbox figure {
    margin: 0;
    max-width: min(960px, 100%);
    width: 100%;
}
.donation-lightbox img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}
.donation-lightbox figcaption {
    color: #fff;
    text-align: center;
    margin-top: .75rem;
    font-size: .95rem;
}
.donation-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
}

/* Liste sayfası */
.donation-list-hero {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    padding: 2rem 0;
    border-bottom: 1px solid #fed7aa;
    margin-top: .5rem;
}
.donation-list-hero h1 {
    margin: 0 0 .35rem;
    color: #7c2d12;
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.donation-list-hero p {
    margin: 0;
    color: #57534e;
    max-width: 52ch;
    line-height: 1.55;
}
.donation-list-grid-wrap {
    padding: 2rem 0 1rem;
    background: #fafaf9;
}
.donation-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.15rem;
}
.donation-list-card {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 18px;
    padding: 1.2rem;
    color: inherit;
    text-decoration: none;
    transition: .2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}
.donation-list-card:hover {
    transform: translateY(-3px);
    border-color: #fdba74;
    box-shadow: 0 12px 28px rgba(234, 88, 12, .12);
}
.donation-list-card-icon {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
}
.donation-list-card h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #1c1917;
}
.donation-list-card p {
    margin: 0;
    color: #78716c;
    font-size: .88rem;
    line-height: 1.5;
    flex: 1;
}
.donation-list-card-stats {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    color: #57534e;
}
.donation-list-card-stats strong { color: #c2410c; }
.donation-list-card-link {
    color: #ea580c;
    font-weight: 800;
    font-size: .86rem;
    margin-top: .15rem;
}

@media (max-width: 900px) {
    .donation-page-hero-layout {
        grid-template-columns: 1fr;
    }
    .donation-page-stats-card {
        max-width: 360px;
    }
    .donation-page-layout {
        grid-template-columns: 1fr;
    }
    .donation-page-layout--single {
        max-width: none;
    }
    .donation-sidebar {
        position: static;
    }
}

@media (max-width: 560px) {
    .donation-page {
        --donation-shell: calc(100% - 1.25rem);
    }
    .donation-page-hero-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .donation-page-lead {
        max-width: none;
    }
    .donation-page-stats-card {
        max-width: none;
        width: 100%;
    }
    .donation-page-hero-icon {
        width: 72px;
        height: 72px;
    }
}
