/* =========================================================
   DOĞANBABA KATEGORİ RENKLERİ - KESİN SÜRÜM 2026-07-02
   Haber: buz mavisi | Duyuru: orman yeşili
   İlan: kehribar sarısı | Vefat: antrasit
   ========================================================= */

/* =========================================================
   DOĞANBABA KÖYÜ ARŞİV VE HABER SAYFALARI
   ========================================================= */

:root {
    --archive-bg: #07130f;
    --archive-surface: rgba(10, 26, 20, 0.78);
    --archive-surface-strong: rgba(7, 20, 15, 0.92);
    --archive-border: rgba(255, 255, 255, 0.14);
    --archive-text: #ffffff;
    --archive-muted: rgba(255, 255, 255, 0.72);
    --archive-primary: #7fcf65;
    --archive-primary-dark: #24683d;
    --archive-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --archive-radius: 24px;
    --archive-header-height: 82px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body.archive-page {
    min-height: 100vh;
    margin: 0;
    color: var(--archive-text);
    background: var(--archive-bg);
    overflow-x: hidden;
}

body.archive-page.menu-open {
    overflow: hidden;
}

body.archive-page a {
    color: inherit;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 99999;
    padding: 12px 18px;
    color: #07130f;
    background: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 15px;
}

/* =========================================================
   ARKA PLAN
   ========================================================= */

.archive-background {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #06120e,
            #143123
        );
}

.archive-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1.02);
    transition:
        opacity 0.4s ease,
        filter 0.4s ease;
}

.video-paused .archive-background-video {
    opacity: 0.38;
    filter: grayscale(0.3);
}

.archive-background-cover {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 10, 7, 0.72) 0%,
            rgba(4, 16, 11, 0.46) 35%,
            rgba(2, 10, 7, 0.84) 100%
        );
}

.archive-background-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
}

/* =========================================================
   ÜST MENÜ
   ========================================================= */

.site-main-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    min-height: var(--archive-header-height);
    background: rgba(4, 15, 10, 0.68);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.site-main-header.is-scrolled {
    background: rgba(4, 15, 10, 0.94);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.site-main-header-inner {
    width: min(1500px, calc(100% - 36px));
    min-height: var(--archive-header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-brand {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.08em;
}

.site-brand-main {
    font-size: 1.18rem;
    font-weight: 900;
}

.site-brand-small {
    margin-top: 5px;
    color: var(--archive-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.32em;
}

.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.main-navigation > a,
.navigation-dropdown-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.88);
    background: transparent;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.main-navigation > a:hover,
.main-navigation > a:focus-visible,
.navigation-dropdown-button:hover,
.navigation-dropdown-button:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    outline: none;
}

.navigation-dropdown {
    position: relative;
}

.navigation-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 220px;
    padding: 9px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    color: #ffffff;
    background: rgba(5, 20, 13, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.navigation-dropdown:hover .navigation-dropdown-menu,
.navigation-dropdown:focus-within .navigation-dropdown-menu,
.navigation-dropdown-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.navigation-dropdown-menu a {
    display: block;
    padding: 11px 13px;
    color: rgba(255, 255, 255, 0.86);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.navigation-dropdown-menu a:hover,
.navigation-dropdown-menu a:focus-visible {
    color: #ffffff;
    background: rgba(127, 207, 101, 0.15);
    outline: none;
}

.header-controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
}

.header-control-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header-control-button:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.mobile-menu-button {
    position: relative;
    z-index: 1003;
    display: none;
    width: 46px;
    height: 42px;
    padding: 9px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 100%;
    height: 2px;
    display: block;
    margin: 5px 0;
    background: #ffffff;
    border-radius: 5px;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   SAYFA YAPISI
   ========================================================= */

.archive-page-main {
    width: min(1240px, calc(100% - 36px));
    min-height: 100vh;
    margin: 0 auto;
    padding-top: calc(var(--archive-header-height) + 46px);
    padding-bottom: 120px;
}

.archive-hero {
    min-height: 310px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: 40px;
    padding: clamp(34px, 5vw, 68px);
    background:
        linear-gradient(
            135deg,
            rgba(5, 23, 15, 0.84),
            rgba(18, 50, 32, 0.62)
        );
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    box-shadow: var(--archive-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.archive-location,
.archive-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--archive-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.archive-hero h1 {
    max-width: 800px;
    margin: 14px 0 17px;
    color: #ffffff;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.archive-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1rem, 1.7vw, 1.12rem);
    line-height: 1.75;
}

.archive-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.archive-primary-button,
.archive-secondary-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 13px;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.archive-primary-button {
    color: #102315;
    background: var(--archive-primary);
    box-shadow: 0 10px 28px rgba(74, 170, 93, 0.24);
}

.archive-secondary-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.archive-primary-button:hover,
.archive-secondary-button:hover {
    transform: translateY(-2px);
}

.archive-primary-button:hover {
    background: #94df7b;
}

.archive-secondary-button:hover {
    background: rgba(255, 255, 255, 0.14);
}

.archive-hero-stat {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 25px;
}

.archive-hero-stat span,
.archive-hero-stat small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.archive-hero-stat strong {
    margin: 6px 0;
    color: #ffffff;
    font-size: 3.4rem;
    line-height: 1;
}

.archive-content-section {
    margin-top: 32px;
    padding: clamp(24px, 4vw, 42px);
    background: rgba(5, 19, 13, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow: var(--archive-shadow);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
}

.archive-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.archive-section-heading h2 {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.archive-result-count {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.82rem;
}

/* =========================================================
   HABER KARTLARI
   ========================================================= */

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.archive-card {
    min-width: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 21px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.archive-card:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, 0.105);
    border-color: rgba(127, 207, 101, 0.46);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.archive-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.archive-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
}

.archive-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-card:hover .archive-card-media img {
    transform: scale(1.055);
}

.archive-card-media::after {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    content: "";
    background:
        linear-gradient(
            transparent,
            rgba(3, 12, 8, 0.72)
        );
    pointer-events: none;
}

.archive-card-category {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 7px 10px;
    color: #ffffff;
    background: rgba(14, 86, 48, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 750;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.64);
    background:
        radial-gradient(
            circle at top,
            rgba(127, 207, 101, 0.25),
            transparent 58%
        ),
        linear-gradient(
            135deg,
            rgba(19, 68, 41, 0.92),
            rgba(5, 27, 17, 0.92)
        );
}

.placeholder-image span {
    font-size: 2.5rem;
}

.placeholder-image small {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.archive-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 21px;
}

.archive-card-body h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.22rem;
    line-height: 1.35;
}

.archive-card-body p {
    margin: 12px 0 20px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.91rem;
    line-height: 1.68;
}

.archive-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.archive-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.57);
    font-size: 0.78rem;
}

.archive-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--archive-primary);
    font-size: 0.8rem;
    font-weight: 750;
}

.obituary-card {
    border-color: rgba(210, 210, 210, 0.2);
}

/* =========================================================
   BOŞ DURUM
   ========================================================= */

.empty-state {
    grid-column: 1 / -1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.055);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 21px;
}

.empty-state-icon {
    margin-bottom: 14px;
    font-size: 3rem;
}

.empty-state h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.5rem;
}

.empty-state p {
    max-width: 540px;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.7;
}

.empty-state a {
    margin-top: 20px;
    padding: 10px 16px;
    color: #102315;
    background: var(--archive-primary);
    border-radius: 11px;
    font-weight: 750;
    text-decoration: none;
}

/* =========================================================
   WHATSAPP VE ZİYARETÇİ SAYACI - SİTE GENELİYLE AYNI TASARIM
   ========================================================= */

.bottom-left-widgets,
.bottom-right-widgets {
    position: fixed;
    bottom: max(30px, env(safe-area-inset-bottom));
    z-index: 800;
}

.bottom-left-widgets {
    left: max(30px, env(safe-area-inset-left));
}

.bottom-right-widgets {
    right: max(30px, env(safe-area-inset-right));
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #ffffff;
    background: #25d366;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.30);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
    color: #ffffff;
    background: #1ebd5a;
    transform: scale(1.05);
    outline: none;
}

.whatsapp-btn svg {
    flex: 0 0 auto;
    display: block;
}

.visitor-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    padding: 10px 20px;
    color: #ffffff;
    background: rgba(0, 20, 40, 0.80);
    border-top: 2px solid #00b4d8;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
}

.counter-number {
    color: #00b4d8;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.counter-text {
    margin-top: 4px;
    color: #cccccc;
    font-size: 0.7rem;
    line-height: 1.2;
}

/* Eski detay şablonları için geriye dönük görünüm desteği */
.floating-whatsapp {
    position: fixed;
    bottom: max(30px, env(safe-area-inset-bottom));
    left: max(30px, env(safe-area-inset-left));
    z-index: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #ffffff;
    background: #25d366;
    border: 0;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.30);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    color: #ffffff;
    background: #1ebd5a;
    transform: scale(1.05);
    outline: none;
}

.floating-whatsapp .whatsapp-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: transparent;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.885-9.885 9.885M20.52 3.449C18.24 1.245 15.24 0 12.045 0 5.463 0 .104 5.358.101 11.892c0 2.096.549 4.142 1.595 5.945L0 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.581 0 11.94-5.358 11.943-11.893a11.821 11.821 0 00-3.495-8.411z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 0;
    font-size: 0;
}

.floating-counter {
    position: fixed;
    right: max(30px, env(safe-area-inset-right));
    bottom: max(30px, env(safe-area-inset-bottom));
    z-index: 800;
    min-width: 142px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: #ffffff;
    background: rgba(0, 20, 40, 0.80);
    border: 0;
    border-top: 2px solid #00b4d8;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
}

.floating-counter .counter-icon {
    display: none;
}

.floating-counter .counter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.floating-counter .counter-content strong {
    margin: 0;
    color: #00b4d8;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.floating-counter .counter-content small {
    margin-top: 4px;
    color: #cccccc;
    font-size: 0.7rem;
    line-height: 1.2;
}

/* =========================================================
   AÇIK GÖRÜNÜM
   ========================================================= */

body.archive-page.light-mode {
    color: #172119;
}

body.light-mode .archive-background-video {
    filter: brightness(1.08) saturate(0.82);
}

body.light-mode .archive-background-cover {
    background:
        linear-gradient(
            180deg,
            rgba(236, 244, 236, 0.58) 0%,
            rgba(228, 241, 229, 0.48) 38%,
            rgba(236, 244, 236, 0.76) 100%
        );
}

body.light-mode .site-main-header {
    background: rgba(239, 247, 239, 0.84);
    border-bottom-color: rgba(25, 65, 36, 0.13);
}

body.light-mode .site-main-header.is-scrolled {
    background: rgba(239, 247, 239, 0.96);
}

body.light-mode .site-brand,
body.light-mode .main-navigation > a,
body.light-mode .navigation-dropdown-button,
body.light-mode .header-control-button {
    color: #17351f;
}

body.light-mode .mobile-menu-button span {
    background: #17351f;
}

body.light-mode .mobile-menu-button,
body.light-mode .header-control-button {
    background: rgba(20, 65, 35, 0.08);
    border-color: rgba(20, 65, 35, 0.13);
}

body.light-mode .archive-hero,
body.light-mode .archive-content-section {
    background: rgba(247, 251, 247, 0.82);
    border-color: rgba(18, 66, 34, 0.13);
}

body.light-mode .archive-hero h1,
body.light-mode .archive-section-heading h2,
body.light-mode .archive-card-body h2,
body.light-mode .empty-state h2 {
    color: #14291a;
}

body.light-mode .archive-hero p,
body.light-mode .archive-card-body p,
body.light-mode .empty-state p {
    color: rgba(17, 40, 24, 0.7);
}

body.light-mode .archive-location,
body.light-mode .archive-section-kicker,
body.light-mode .archive-card-more {
    color: #277d42;
}

body.light-mode .archive-hero-stat,
body.light-mode .archive-card,
body.light-mode .empty-state {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(18, 66, 34, 0.13);
}

body.light-mode .archive-hero-stat span,
body.light-mode .archive-hero-stat small,
body.light-mode .archive-card-stats,
body.light-mode .archive-result-count {
    color: rgba(17, 40, 24, 0.62);
}

body.light-mode .archive-hero-stat strong {
    color: #183a22;
}

body.light-mode .archive-card-footer {
    border-top-color: rgba(18, 66, 34, 0.1);
}

body.light-mode .archive-result-count {
    background: rgba(20, 65, 35, 0.07);
    border-color: rgba(20, 65, 35, 0.12);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1250px) {

    .site-main-header-inner {
        gap: 14px;
    }

    .main-navigation > a,
    .navigation-dropdown-button {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 0.73rem;
    }

    .control-text {
        display: none;
    }

    .header-control-button {
        width: 42px;
        padding: 8px;
    }

}

@media (max-width: 1050px) {

    :root {
        --archive-header-height: 72px;
    }

    .site-main-header-inner {
        justify-content: space-between;
    }

    .mobile-menu-button {
        display: block;
        order: 3;
    }

    .header-controls {
        margin-left: auto;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        bottom: auto;
        width: min(390px, 90vw);
        height: calc(100vh - var(--archive-header-height));
        height: calc(100dvh - var(--archive-header-height));
        max-height: calc(100vh - var(--archive-header-height));
        max-height: calc(100dvh - var(--archive-header-height));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 5px;
        padding: 20px;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateX(100%);
        background: rgba(4, 18, 11, 0.98);
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 1002;
        pointer-events: none;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transition:
            transform 0.25s ease,
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .main-navigation.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .main-navigation > a,
    .navigation-dropdown-button {
        width: 100%;
        min-height: 49px;
        justify-content: flex-start;
        padding: 12px 14px;
        font-size: 0.94rem;
    }

    .navigation-dropdown {
        width: 100%;
    }

    .navigation-dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0 8px;
        overflow: hidden;
        visibility: visible;
        opacity: 1;
        transform: none;
        background: rgba(255, 255, 255, 0.045);
        border: 0;
        border-radius: 12px;
        box-shadow: none;
        transition:
            max-height 0.25s ease,
            padding 0.25s ease;
    }

    .navigation-dropdown:hover .navigation-dropdown-menu:not(.is-open) {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .navigation-dropdown .navigation-dropdown-menu.is-open {
        max-height: 360px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    body.light-mode .main-navigation {
        background: rgba(239, 247, 239, 0.99);
        border-left-color: rgba(20, 65, 35, 0.13);
    }

    .archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 768px) {

    :root {
        --archive-header-height: 68px;
    }

    .site-main-header-inner {
        width: min(100% - 24px, 1500px);
        gap: 9px;
    }

    .site-brand-main {
        font-size: 0.98rem;
    }

    .site-brand-small {
        font-size: 0.6rem;
    }

    .header-controls {
        gap: 5px;
    }

    .header-control-button {
        width: 38px;
        min-height: 38px;
        border-radius: 10px;
    }

    .mobile-menu-button {
        width: 41px;
        height: 38px;
    }

    .archive-page-main {
        width: min(100% - 24px, 1240px);
        padding-top: calc(var(--archive-header-height) + 22px);
        padding-bottom: 105px;
    }

    .archive-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 22px;
        border-radius: 23px;
    }

    .archive-hero h1 {
        margin-top: 11px;
        font-size: clamp(2rem, 12vw, 3.2rem);
    }

    .archive-hero p {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .archive-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .archive-primary-button,
    .archive-secondary-button {
        width: 100%;
    }

    .archive-hero-stat {
        min-height: 120px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title count"
            "label count";
        align-items: center;
        padding: 18px 20px;
        text-align: left;
    }

    .archive-hero-stat span {
        grid-area: title;
    }

    .archive-hero-stat strong {
        grid-area: count;
        margin: 0;
        font-size: 3rem;
    }

    .archive-hero-stat small {
        grid-area: label;
    }

    .archive-content-section {
        margin-top: 20px;
        padding: 22px 16px;
        border-radius: 22px;
    }

    .archive-section-heading {
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .archive-result-count {
        font-size: 0.73rem;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .archive-card {
        border-radius: 18px;
    }

    .archive-card-body {
        padding: 18px;
    }

    .archive-card-body h2 {
        font-size: 1.12rem;
    }

    .archive-card-body p {
        margin-bottom: 17px;
        font-size: 0.88rem;
    }

    .bottom-left-widgets,
    .bottom-right-widgets {
        bottom: max(15px, env(safe-area-inset-bottom));
    }

    .bottom-left-widgets {
        left: max(15px, env(safe-area-inset-left));
    }

    .bottom-right-widgets {
        right: max(15px, env(safe-area-inset-right));
    }

    .whatsapp-btn {
        width: 44px;
        height: 44px;
        justify-content: center;
        padding: 12px;
        border-radius: 50%;
    }

    .whatsapp-btn span {
        display: none;
    }

    .visitor-counter {
        min-width: 132px;
        padding: 9px 14px;
    }

    .floating-whatsapp,
    .floating-counter {
        bottom: max(15px, env(safe-area-inset-bottom));
    }

    .floating-whatsapp {
        left: max(15px, env(safe-area-inset-left));
        width: 44px;
        height: 44px;
        justify-content: center;
        padding: 12px;
        border-radius: 50%;
    }

    .floating-whatsapp .floating-label {
        display: none;
    }

    .floating-counter {
        right: max(15px, env(safe-area-inset-right));
        min-width: 132px;
        padding: 9px 14px;
    }

}

@media (max-width: 420px) {

    .site-brand-main {
        font-size: 0.87rem;
    }

    .site-brand-small {
        letter-spacing: 0.22em;
    }

    .archive-section-heading {
        display: block;
    }

    .archive-result-count {
        display: inline-flex;
        margin-top: 10px;
    }

    .archive-card-footer {
        align-items: flex-end;
    }

    .archive-card-more {
        font-size: 0.74rem;
    }

}

/* =========================================================
   HAREKET AZALTMA TERCİHİ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .archive-background-video {
        display: none;
    }

}

/* =========================================================
   YAZDIRMA
   ========================================================= */

@media print {

    .archive-background,
    .site-main-header,
    .bottom-left-widgets,
    .bottom-right-widgets,
    .floating-whatsapp,
    .floating-counter,
    .archive-hero-actions {
        display: none !important;
    }

    body.archive-page {
        color: #000000;
        background: #ffffff;
    }

    .archive-page-main {
        width: 100%;
        padding: 0;
    }

    .archive-hero,
    .archive-content-section,
    .archive-card {
        color: #000000;
        background: #ffffff;
        border: 1px solid #cccccc;
        box-shadow: none;
    }

}

/* =========================================================
   HABER / DUYURU / İLAN / VEFAT DETAY SAYFALARI
   ========================================================= */

body.detail-page {
    min-height: 100vh;
    margin: 0;
    color: #eef7f0;
    background: #07130f;
    overflow-x: hidden;
}

body.detail-page::before {
    display: none;
}

body.detail-page a {
    color: inherit;
}

.detail-page-main {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100% - 36px));
    min-height: 100vh;
    margin: 0 auto;
    padding-top: calc(var(--archive-header-height) + 34px);
    padding-bottom: 120px;
}

.detail-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-navigation a {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(5, 20, 13, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.detail-navigation a:hover,
.detail-navigation a:focus-visible {
    color: #ffffff;
    background: rgba(127, 207, 101, 0.15);
    border-color: rgba(127, 207, 101, 0.34);
    transform: translateY(-2px);
    outline: none;
}

.detail-card,
.comments-section {
    background:
        linear-gradient(
            145deg,
            rgba(6, 24, 16, 0.88),
            rgba(12, 42, 27, 0.80)
        );
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.detail-page.archive-type-haber .detail-card,
body.detail-page.archive-type-haber .comments-section {
    background:
        linear-gradient(
            145deg,
            rgba(8, 38, 50, 0.90),
            rgba(27, 75, 92, 0.80)
        );
    border-color: rgba(202, 239, 249, 0.23);
}

.detail-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 5vw, 54px);
}

.detail-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background:
        linear-gradient(
            90deg,
            var(--archive-primary, #7fcf65),
            #2a9d8f
        );
}

.detail-obituary::before {
    background:
        linear-gradient(
            90deg,
            #d9f5fb,
            #8bcfe2
        );
}

.detail-article-header {
    position: relative;
    z-index: 1;
}

.detail-badge {
    width: max-content;
    max-width: 100%;
    margin-bottom: 17px;
    padding: 7px 12px;
    color: #102315;
    background: var(--archive-primary, #7fcf65);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.detail-page.archive-type-haber .detail-badge {
    color: #07303d;
}

.detail-card h1 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 21px;
}

.detail-meta > span,
.detail-meta > a {
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
}

.detail-meta > a {
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.detail-meta > a:hover,
.detail-meta > a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    outline: none;
}

.detail-image-frame {
    width: 100%;
    margin: 31px 0 0;
    overflow: hidden;
    background: rgba(2, 11, 8, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 19px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.detail-image {
    width: 100%;
    height: auto;
    max-height: 760px;
    display: block;
    margin: 0;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}

.detail-image[src*="nophoto.jpg"] {
    min-height: 320px;
    object-fit: contain;
    background: rgba(3, 14, 10, 0.82);
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.detail-info p,
.public-contact {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    padding: 16px 18px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(127, 207, 101, 0.10);
    border: 1px solid rgba(127, 207, 101, 0.22);
    border-radius: 15px;
    line-height: 1.6;
}

body.detail-page.archive-type-haber .detail-info p,
body.detail-page.archive-type-haber .public-contact {
    background: rgba(169, 231, 247, 0.09);
    border-color: rgba(169, 231, 247, 0.22);
}

.detail-info p > span:first-child,
.public-contact > span:first-child {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 1.05rem;
}

.detail-info p > span:last-child,
.public-contact > span:last-child {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.detail-info strong,
.public-contact strong {
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-text {
    max-width: 850px;
    margin: 32px auto 0;
    color: rgba(255, 255, 255, 0.91);
    font-size: clamp(1rem, 1.8vw, 1.09rem);
    line-height: 1.93;
    overflow-wrap: anywhere;
}

.detail-text br + br {
    content: "";
    display: block;
    margin-top: 0.9em;
}

.public-contact {
    max-width: 850px;
    margin: 27px auto 0;
}

.detail-share {
    max-width: 850px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 30px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.detail-share > span {
    margin-right: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    font-weight: 700;
}

.detail-share a {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    font-size: 0.8rem;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.detail-share a:hover,
.detail-share a:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    outline: none;
}

.comments-section {
    margin-top: 27px;
    padding: clamp(22px, 4vw, 40px);
}

.comments-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 21px;
}

.comments-heading h2 {
    margin: 7px 0 0;
    color: #ffffff;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.comments-count {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.muted {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.7;
}

.comments-list {
    display: grid;
    gap: 12px;
}

.comment-card {
    padding: 17px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 15px;
}

.comment-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.comment-card strong {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #ffffff;
    font-size: 0.94rem;
}

.comment-card strong small {
    padding: 4px 8px;
    color: rgba(255, 255, 255, 0.66);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 650;
}

.comment-card time {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
}

.comment-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.68;
    overflow-wrap: anywhere;
}

.comment-form-card {
    margin-top: 25px;
    padding: clamp(18px, 4vw, 29px);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 19px;
}

.comment-form-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.18rem;
}

.comment-form-note {
    margin: 7px 0 18px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.55;
}

.comment-form-card form {
    display: grid;
    gap: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.comment-form-card label {
    display: grid;
    gap: 7px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.84rem;
    font-weight: 700;
}

.comment-form-card input,
.comment-form-card textarea {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    color: #17262d;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 10px;
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.comment-form-card textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form-card input:focus,
.comment-form-card textarea:focus {
    border-color: var(--archive-primary, #7fcf65);
    box-shadow: 0 0 0 4px rgba(127, 207, 101, 0.14);
}

.primary-btn {
    width: max-content;
    max-width: 100%;
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    color: #102315;
    background: var(--archive-primary, #7fcf65);
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(74, 170, 93, 0.22);
    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.primary-btn:hover,
.primary-btn:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-2px);
    outline: none;
}

.form-alert {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
    line-height: 1.5;
}

.form-alert.success {
    color: #dff9e6;
    background: rgba(37, 145, 73, 0.25);
    border: 1px solid rgba(91, 210, 125, 0.30);
}

.form-alert.error {
    color: #ffe5e9;
    background: rgba(153, 32, 53, 0.28);
    border: 1px solid rgba(235, 111, 132, 0.30);
}

.detail-empty-state {
    position: relative;
    z-index: 1;
    min-height: 390px;
    color: #ffffff;
    background: rgba(6, 24, 16, 0.86);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
}

.detail-empty-state h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.detail-empty-state p {
    color: rgba(255, 255, 255, 0.68);
}

/* =========================================================
   DETAY SAYFASI AÇIK GÖRÜNÜM
   ========================================================= */

body.detail-page.light-mode {
    color: #18251c;
}

body.detail-page.light-mode .detail-navigation a {
    color: #17351f;
    background: rgba(246, 251, 247, 0.86);
    border-color: rgba(20, 65, 35, 0.14);
}

body.detail-page.light-mode .detail-card,
body.detail-page.light-mode .comments-section,
body.detail-page.light-mode .detail-empty-state {
    color: #17261b;
    background:
        linear-gradient(
            145deg,
            rgba(249, 252, 249, 0.91),
            rgba(231, 244, 234, 0.86)
        );
    border-color: rgba(20, 65, 35, 0.15);
}

body.detail-page.light-mode.archive-type-haber .detail-card,
body.detail-page.light-mode.archive-type-haber .comments-section {
    background:
        linear-gradient(
            145deg,
            rgba(244, 251, 253, 0.93),
            rgba(218, 239, 245, 0.88)
        );
    border-color: rgba(52, 114, 132, 0.18);
}

body.detail-page.light-mode .detail-card h1,
body.detail-page.light-mode .comments-heading h2,
body.detail-page.light-mode .comment-card strong,
body.detail-page.light-mode .comment-form-card h3,
body.detail-page.light-mode .detail-empty-state h1,
body.detail-page.light-mode .detail-info strong,
body.detail-page.light-mode .public-contact strong {
    color: #15291a;
}

body.detail-page.light-mode .detail-meta > span,
body.detail-page.light-mode .detail-meta > a,
body.detail-page.light-mode .comments-count,
body.detail-page.light-mode .comment-card strong small {
    color: rgba(21, 45, 28, 0.68);
    background: rgba(20, 65, 35, 0.07);
    border-color: rgba(20, 65, 35, 0.11);
}

body.detail-page.light-mode .detail-image-frame {
    background: rgba(225, 237, 228, 0.86);
    border-color: rgba(20, 65, 35, 0.14);
}

body.detail-page.light-mode .detail-text,
body.detail-page.light-mode .comment-card p,
body.detail-page.light-mode .comment-form-card label,
body.detail-page.light-mode .detail-info p,
body.detail-page.light-mode .public-contact {
    color: rgba(20, 43, 26, 0.84);
}

body.detail-page.light-mode .detail-info p,
body.detail-page.light-mode .public-contact {
    background: rgba(38, 125, 66, 0.08);
    border-color: rgba(38, 125, 66, 0.16);
}

body.detail-page.light-mode .detail-share {
    border-top-color: rgba(20, 65, 35, 0.12);
}

body.detail-page.light-mode .detail-share > span,
body.detail-page.light-mode .muted,
body.detail-page.light-mode .comment-form-note,
body.detail-page.light-mode .comment-card time,
body.detail-page.light-mode .detail-empty-state p {
    color: rgba(20, 43, 26, 0.62);
}

body.detail-page.light-mode .detail-share a,
body.detail-page.light-mode .comment-card,
body.detail-page.light-mode .comment-form-card {
    color: #17351f;
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(20, 65, 35, 0.12);
}

body.detail-page.light-mode .comment-form-card input,
body.detail-page.light-mode .comment-form-card textarea {
    color: #17262d;
    background: #ffffff;
    border-color: rgba(20, 65, 35, 0.17);
}

/* =========================================================
   DETAY SAYFASI MOBİL
   ========================================================= */

@media (max-width: 768px) {

    .detail-page-main {
        width: min(100% - 24px, 1040px);
        padding-top: calc(var(--archive-header-height) + 20px);
        padding-bottom: 106px;
    }

    .detail-navigation {
        margin-bottom: 13px;
    }

    .detail-navigation a {
        flex: 1;
        min-width: 135px;
    }

    .detail-card,
    .comments-section {
        border-radius: 21px;
    }

    .detail-card {
        padding: 25px 18px;
    }

    .detail-card h1 {
        font-size: clamp(1.8rem, 9vw, 2.7rem);
        line-height: 1.12;
    }

    .detail-meta {
        gap: 7px;
        margin-top: 17px;
    }

    .detail-meta > span,
    .detail-meta > a {
        min-height: 34px;
        padding: 6px 9px;
        font-size: 0.72rem;
    }

    .detail-image-frame {
        margin-top: 23px;
        border-radius: 14px;
    }

    .detail-image {
        max-height: 560px;
    }

    .detail-image[src*="nophoto.jpg"] {
        min-height: 230px;
    }

    .detail-info,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .detail-text {
        margin-top: 25px;
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .detail-share {
        align-items: stretch;
    }

    .detail-share > span {
        width: 100%;
    }

    .detail-share a {
        flex: 1;
    }

    .comments-section {
        margin-top: 19px;
        padding: 21px 15px;
    }

    .comments-heading {
        align-items: flex-start;
    }

    .comment-card-heading {
        display: block;
    }

    .comment-card time {
        display: block;
        margin-top: 7px;
    }

    .primary-btn {
        width: 100%;
    }

}

@media (max-width: 460px) {

    .detail-navigation {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .detail-navigation a {
        min-width: 0;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.75rem;
    }

    .comments-heading {
        display: block;
    }

    .comments-count {
        display: inline-flex;
        margin-top: 10px;
    }

    .detail-share {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .detail-share > span {
        grid-column: 1 / -1;
    }

}

/* =========================================================
   DETAY SAYFASI YAZDIRMA
   ========================================================= */

@media print {

    .detail-page .archive-background,
    .detail-page .site-main-header,
    .detail-page .detail-navigation,
    .detail-page .detail-share,
    .detail-page .comments-section,
    .detail-page .bottom-left-widgets,
    .detail-page .bottom-right-widgets,
    .detail-page .floating-whatsapp,
    .detail-page .floating-counter {
        display: none !important;
    }

    body.detail-page {
        color: #000000;
        background: #ffffff;
    }

    .detail-page-main {
        width: 100%;
        padding: 0;
    }

    .detail-card {
        padding: 0;
        color: #000000;
        background: #ffffff;
        border: 0;
        box-shadow: none;
    }

    .detail-card::before {
        display: none;
    }

    .detail-card h1,
    .detail-text {
        color: #000000;
    }

}

/* =========================================================
   MOBİL MENÜ ARKA PLANI VE SAĞLAMLAŞTIRMA
   ========================================================= */

.mobile-menu-backdrop {
    position: fixed;
    inset: var(--archive-header-height) 0 0;
    z-index: 990;
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.48);
    border: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

@media (max-width: 1050px) {
    .mobile-menu-button {
        position: relative;
        z-index: 1003;
        flex: 0 0 auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .main-navigation {
        z-index: 1002;
        pointer-events: none;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation.is-open {
        pointer-events: auto;
    }

    .mobile-menu-backdrop.is-visible {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .navigation-dropdown .navigation-dropdown-menu.is-open {
        max-height: 360px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (min-width: 1051px) {
    .mobile-menu-backdrop {
        display: none;
    }
}

/* =========================================================
   ARŞİV KART GÖRSELLERİ - TEK VE KESİN TANIM
   ========================================================= */
body.archive-page .archive-card-media {
    position: relative !important;
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    overflow: hidden !important;

    padding: 0 !important;
    border-radius: 0 !important;

    background: #07151c !important;
    background-image: none !important;

    box-shadow: none !important;
    isolation: isolate !important;
}

/* style.css içinden gelebilecek oval katmanları kapat */
body.archive-page .archive-card-media::before,
body.archive-page .archive-card-media::after {
    display: none !important;
    visibility: hidden !important;
    content: none !important;

    width: 0 !important;
    height: 0 !important;

    background: none !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Bütün haber görsellerini sıfırla */
body.archive-page .archive-card-media > img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;

    display: block !important;
    visibility: visible !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-image: none !important;

    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;

    clip-path: none !important;
    -webkit-clip-path: none !important;

    mask: none !important;
    -webkit-mask: none !important;

    box-shadow: none !important;
    transform: none !important;
}

/* nophoto.jpg kırpılmadan, orijinal haliyle gösterilsin */
body.archive-page .archive-card-media > img[src*="nophoto.jpg"] {
    object-fit: contain !important;
    object-position: center !important;
    background: #10191d !important;
}

/* Haber etiketi görselin üzerinde kalsın */
body.archive-page .archive-card-category {
    position: absolute !important;
    top: 14px !important;
    right: auto !important;
    bottom: auto !important;
    left: 14px !important;
    z-index: 5 !important;
}

/* Mobil */
@media (max-width: 768px) {
    body.archive-page .archive-card-media {
        height: 210px !important;
        min-height: 210px !important;
    }
}

/* =========================================================
   HABERLER – BUZ MAVİSİ TASARIM
   ========================================================= */

body.archive-page.archive-type-haber {
    --archive-primary: #a9e7f7;
    --archive-primary-dark: #387e95;
}

body.archive-page.archive-type-haber .archive-hero {
    background:
        linear-gradient(
            135deg,
            rgba(25, 64, 78, 0.88),
            rgba(82, 139, 158, 0.70)
        ) !important;

    border-color: rgba(198, 238, 249, 0.28) !important;

    box-shadow:
        0 22px 65px rgba(0, 27, 39, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

body.archive-page.archive-type-haber .archive-content-section {
    background:
        linear-gradient(
            145deg,
            rgba(11, 43, 56, 0.91),
            rgba(35, 79, 94, 0.86)
        ) !important;

    border-color: rgba(198, 238, 249, 0.23) !important;
}

body.archive-page.archive-type-haber .archive-location,
body.archive-page.archive-type-haber .archive-section-kicker,
body.archive-page.archive-type-haber .archive-card-more {
    color: #a9e7f7 !important;
}

body.archive-page.archive-type-haber .archive-primary-button {
    color: #0a3341 !important;

    background:
        linear-gradient(
            135deg,
            #c9f2fc,
            #82d5e9
        ) !important;

    box-shadow:
        0 11px 28px rgba(87, 190, 216, 0.28) !important;
}

body.archive-page.archive-type-haber .archive-hero-stat {
    background: rgba(218, 246, 253, 0.10) !important;
    border-color: rgba(218, 246, 253, 0.24) !important;
}

body.archive-page.archive-type-haber .archive-card {
    background: rgba(217, 244, 251, 0.08) !important;
    border-color: rgba(200, 237, 247, 0.20) !important;
}

body.archive-page.archive-type-haber .archive-card-category {
    color: #ffffff !important;
    background: rgba(38, 121, 148, 0.94) !important;
    border-color: rgba(210, 243, 251, 0.28) !important;
}

/* =========================================================
   KATEGORİYE ÖZEL ARŞİV VE DETAY RENKLERİ
   Haber: buz mavisi
   Duyuru: orman yeşili
   İlan: sarı / kehribar
   Vefat: antrasit / kırık beyaz
   ========================================================= */

/* ---------------------------------------------------------
   DUYURULAR – ORMAN YEŞİLİ
   --------------------------------------------------------- */

body.archive-page.archive-type-duyuru,
body.detail-page.archive-type-duyuru {
    --archive-primary: #9bd29f;
    --archive-primary-dark: #2f6948;
}

body.archive-page.archive-type-duyuru .archive-hero {
    background:
        linear-gradient(
            135deg,
            rgba(10, 49, 31, 0.93),
            rgba(32, 91, 58, 0.82)
        ) !important;
    border-color: rgba(157, 219, 168, 0.28) !important;
    box-shadow:
        0 24px 68px rgba(0, 28, 16, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

body.archive-page.archive-type-duyuru .archive-content-section {
    background:
        linear-gradient(
            145deg,
            rgba(7, 38, 24, 0.94),
            rgba(24, 70, 45, 0.88)
        ) !important;
    border-color: rgba(151, 214, 162, 0.22) !important;
    box-shadow:
        0 24px 68px rgba(0, 26, 14, 0.31),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.archive-page.archive-type-duyuru .archive-location,
body.archive-page.archive-type-duyuru .archive-section-kicker,
body.archive-page.archive-type-duyuru .archive-card-more {
    color: #a9dcae !important;
}

body.archive-page.archive-type-duyuru .archive-primary-button {
    color: #10351f !important;
    background:
        linear-gradient(
            135deg,
            #c7ebc9,
            #87c990
        ) !important;
    box-shadow: 0 11px 28px rgba(67, 151, 88, 0.28) !important;
}

body.archive-page.archive-type-duyuru .archive-hero-stat {
    background: rgba(197, 235, 202, 0.10) !important;
    border-color: rgba(197, 235, 202, 0.23) !important;
}

body.archive-page.archive-type-duyuru .archive-card {
    background: rgba(196, 234, 202, 0.075) !important;
    border-color: rgba(166, 220, 177, 0.19) !important;
}

body.archive-page.archive-type-duyuru .archive-card:hover {
    border-color: rgba(166, 220, 177, 0.42) !important;
}

body.archive-page.archive-type-duyuru .archive-card-category {
    color: #ffffff !important;
    background: rgba(32, 103, 61, 0.95) !important;
    border-color: rgba(202, 237, 208, 0.24) !important;
}

body.archive-page.archive-type-duyuru .archive-card-media img {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

body.detail-page.archive-type-duyuru .detail-card,
body.detail-page.archive-type-duyuru .comments-section {
    background:
        linear-gradient(
            145deg,
            rgba(7, 39, 24, 0.94),
            rgba(26, 77, 48, 0.88)
        ) !important;
    border-color: rgba(169, 220, 177, 0.22) !important;
}

body.detail-page.archive-type-duyuru .detail-card::before {
    background:
        linear-gradient(
            90deg,
            #b8e2bb,
            #4c9a66
        ) !important;
}

body.detail-page.archive-type-duyuru .detail-badge,
body.detail-page.archive-type-duyuru .primary-btn {
    color: #10351f !important;
    background:
        linear-gradient(
            135deg,
            #c7ebc9,
            #87c990
        ) !important;
}

body.detail-page.archive-type-duyuru .detail-info p,
body.detail-page.archive-type-duyuru .public-contact {
    background: rgba(155, 210, 159, 0.09) !important;
    border-color: rgba(155, 210, 159, 0.22) !important;
}


/* ---------------------------------------------------------
   VEFAT DUYURULARI – ANTRASİT / KIRIK BEYAZ
   --------------------------------------------------------- */

body.archive-page.archive-type-vefat,
body.detail-page.archive-type-vefat {
    --archive-primary: #d8d2c8;
    --archive-primary-dark: #716b64;
}

body.archive-page.archive-type-vefat .archive-hero {
    background:
        linear-gradient(
            135deg,
            rgba(32, 33, 35, 0.95),
            rgba(74, 72, 69, 0.86)
        ) !important;
    border-color: rgba(226, 220, 210, 0.25) !important;
    box-shadow:
        0 24px 68px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.archive-page.archive-type-vefat .archive-content-section {
    background:
        linear-gradient(
            145deg,
            rgba(26, 27, 29, 0.96),
            rgba(56, 55, 53, 0.91)
        ) !important;
    border-color: rgba(220, 214, 204, 0.20) !important;
    box-shadow:
        0 24px 68px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

body.archive-page.archive-type-vefat .archive-location,
body.archive-page.archive-type-vefat .archive-section-kicker,
body.archive-page.archive-type-vefat .archive-card-more {
    color: #ded8cf !important;
}

body.archive-page.archive-type-vefat .archive-primary-button {
    color: #2d2c2a !important;
    background:
        linear-gradient(
            135deg,
            #ece8e1,
            #c8c1b7
        ) !important;
    box-shadow: 0 11px 28px rgba(0, 0, 0, 0.24) !important;
}

body.archive-page.archive-type-vefat .archive-hero-stat {
    background: rgba(232, 226, 216, 0.08) !important;
    border-color: rgba(232, 226, 216, 0.20) !important;
}

body.archive-page.archive-type-vefat .archive-card {
    background: rgba(226, 220, 210, 0.06) !important;
    border-color: rgba(220, 214, 204, 0.18) !important;
}

body.archive-page.archive-type-vefat .archive-card:hover {
    border-color: rgba(224, 218, 208, 0.34) !important;
}

body.archive-page.archive-type-vefat .archive-card-category {
    color: #f7f4ef !important;
    background: rgba(73, 71, 68, 0.96) !important;
    border-color: rgba(230, 224, 214, 0.24) !important;
}

body.archive-page.archive-type-vefat .archive-card-media img {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

body.detail-page.archive-type-vefat .detail-card,
body.detail-page.archive-type-vefat .comments-section {
    background:
        linear-gradient(
            145deg,
            rgba(25, 26, 28, 0.96),
            rgba(58, 57, 54, 0.91)
        ) !important;
    border-color: rgba(222, 216, 206, 0.20) !important;
}

body.detail-page.archive-type-vefat .detail-card::before,
body.detail-page.archive-type-vefat .detail-obituary::before {
    background:
        linear-gradient(
            90deg,
            #ece7df,
            #a9a198
        ) !important;
}

body.detail-page.archive-type-vefat .detail-badge,
body.detail-page.archive-type-vefat .primary-btn {
    color: #2d2c2a !important;
    background:
        linear-gradient(
            135deg,
            #ece8e1,
            #c8c1b7
        ) !important;
}

body.detail-page.archive-type-vefat .detail-info p,
body.detail-page.archive-type-vefat .public-contact {
    background: rgba(216, 210, 200, 0.08) !important;
    border-color: rgba(216, 210, 200, 0.20) !important;
}


/* Vefat arka plan videosu siyah-beyaz kalır. */
/* Arka plan videosunu siyah-beyaz yap */
body.archive-page.archive-type-vefat .archive-background-video {
    filter:
        grayscale(1)
        brightness(0.58)
        contrast(1.08) !important;

    opacity: 0.88 !important;
}

/* Videonun üzerine sakin koyu katman */
body.archive-page.archive-type-vefat .archive-background::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.48) 0%,
            rgba(22, 22, 22, 0.30) 40%,
            rgba(7, 7, 7, 0.72) 100%
        );
}

/* Desen video örtüsünün üzerinde kalsın */
body.archive-page.archive-type-vefat .archive-background-pattern {
    z-index: 3;
    opacity: 0.10;
}

/* ---------------------------------------------------------
   AÇIK GÖRÜNÜMDE KATEGORİ RENKLERİNİ KORU
   --------------------------------------------------------- */

body.archive-page.light-mode.archive-type-duyuru .archive-hero,
body.archive-page.light-mode.archive-type-duyuru .archive-content-section,
body.archive-page.light-mode.archive-type-ilan .archive-hero,
body.archive-page.light-mode.archive-type-ilan .archive-content-section,
body.archive-page.light-mode.archive-type-vefat .archive-hero,
body.archive-page.light-mode.archive-type-vefat .archive-content-section {
    color: #ffffff !important;
}

body.archive-page.light-mode.archive-type-duyuru .archive-hero h1,
body.archive-page.light-mode.archive-type-duyuru .archive-section-heading h2,
body.archive-page.light-mode.archive-type-duyuru .archive-card-body h2,
body.archive-page.light-mode.archive-type-ilan .archive-hero h1,
body.archive-page.light-mode.archive-type-ilan .archive-section-heading h2,
body.archive-page.light-mode.archive-type-ilan .archive-card-body h2,
body.archive-page.light-mode.archive-type-vefat .archive-hero h1,
body.archive-page.light-mode.archive-type-vefat .archive-section-heading h2,
body.archive-page.light-mode.archive-type-vefat .archive-card-body h2 {
    color: #ffffff !important;
}

body.archive-page.light-mode.archive-type-duyuru .archive-hero p,
body.archive-page.light-mode.archive-type-duyuru .archive-card-body p,
body.archive-page.light-mode.archive-type-ilan .archive-hero p,
body.archive-page.light-mode.archive-type-ilan .archive-card-body p,
body.archive-page.light-mode.archive-type-vefat .archive-hero p,
body.archive-page.light-mode.archive-type-vefat .archive-card-body p {
    color: rgba(255, 255, 255, 0.74) !important;
}

body.archive-page.light-mode.archive-type-duyuru .archive-hero-stat strong,
body.archive-page.light-mode.archive-type-ilan .archive-hero-stat strong,
body.archive-page.light-mode.archive-type-vefat .archive-hero-stat strong {
    color: #ffffff !important;
}

body.archive-page.light-mode.archive-type-duyuru .archive-hero-stat span,
body.archive-page.light-mode.archive-type-duyuru .archive-hero-stat small,
body.archive-page.light-mode.archive-type-duyuru .archive-result-count,
body.archive-page.light-mode.archive-type-duyuru .archive-card-stats,
body.archive-page.light-mode.archive-type-ilan .archive-hero-stat span,
body.archive-page.light-mode.archive-type-ilan .archive-hero-stat small,
body.archive-page.light-mode.archive-type-ilan .archive-result-count,
body.archive-page.light-mode.archive-type-ilan .archive-card-stats,
body.archive-page.light-mode.archive-type-vefat .archive-hero-stat span,
body.archive-page.light-mode.archive-type-vefat .archive-hero-stat small,
body.archive-page.light-mode.archive-type-vefat .archive-result-count,
body.archive-page.light-mode.archive-type-vefat .archive-card-stats {
    color: rgba(255, 255, 255, 0.66) !important;
}

/* =========================================================
   İLANLAR – #FFFF00 SARI CAM TASARIM
   ========================================================= */

body.archive-page.archive-type-ilan {
    --archive-primary: #ffff00 !important;
    --archive-primary-dark: #b8b800 !important;
}

/* İlan sayfası arka plan videosu */
body.archive-page.archive-type-ilan .archive-background-video {
    filter:
        brightness(0.70)
        contrast(1.05)
        saturate(0.88) !important;
}

/* Üst büyük sarı cam alan */
body.archive-page.archive-type-ilan .archive-hero {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 0, 0.28),
            rgba(255, 210, 0, 0.17)
        ) !important;

    border: 1px solid rgba(255, 255, 0, 0.48) !important;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 180, 0.24) !important;

    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}

/* İlanların listelendiği büyük sarı cam alan */
body.archive-page.archive-type-ilan .archive-content-section {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 0, 0.20),
            rgba(214, 180, 0, 0.14)
        ) !important;

    border: 1px solid rgba(255, 255, 0, 0.38) !important;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 170, 0.18) !important;

    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}

/* İlan sayacı */
body.archive-page.archive-type-ilan .archive-hero-stat {
    background: rgba(255, 255, 0, 0.18) !important;
    border-color: rgba(255, 255, 0, 0.42) !important;
}

/* İlan kartları */
body.archive-page.archive-type-ilan .archive-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 0, 0.14),
            rgba(255, 220, 0, 0.08)
        ) !important;

    border-color: rgba(255, 255, 0, 0.32) !important;
}

body.archive-page.archive-type-ilan .archive-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 0, 0.22),
            rgba(255, 220, 0, 0.14)
        ) !important;

    border-color: rgba(255, 255, 0, 0.70) !important;

    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.36),
        0 0 24px rgba(255, 255, 0, 0.10) !important;
}

/* Sarı vurgu yazıları */
body.archive-page.archive-type-ilan .archive-location,
body.archive-page.archive-type-ilan .archive-section-kicker,
body.archive-page.archive-type-ilan .archive-card-more {
    color: #ffff00 !important;
}

/* Güncel içerikleri gör butonu */
body.archive-page.archive-type-ilan .archive-primary-button {
    color: #242400 !important;
    background: #ffff00 !important;

    box-shadow:
        0 12px 30px rgba(255, 255, 0, 0.26) !important;
}

body.archive-page.archive-type-ilan .archive-primary-button:hover {
    color: #151500 !important;
    background: #ffff55 !important;
}

/* İlan etiketi */
body.archive-page.archive-type-ilan .archive-card-category {
    color: #242400 !important;
    background: #ffff00 !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
}

/* Sonuç sayısı */
body.archive-page.archive-type-ilan .archive-result-count {
    color: #ffffff !important;
    background: rgba(255, 255, 0, 0.14) !important;
    border-color: rgba(255, 255, 0, 0.30) !important;
}


/* =========================================================
   İLAN DETAY SAYFASI – #FFFF00 SARI CAM
   ========================================================= */

body.detail-page.archive-type-ilan {
    --archive-primary: #ffff00 !important;
    --archive-primary-dark: #b8b800 !important;
}

body.detail-page.archive-type-ilan .archive-background-video {
    filter:
        brightness(0.70)
        contrast(1.05)
        saturate(0.88) !important;
}

body.detail-page.archive-type-ilan .detail-card,
body.detail-page.archive-type-ilan .comments-section {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 0, 0.20),
            rgba(211, 177, 0, 0.14)
        ) !important;

    border-color: rgba(255, 255, 0, 0.38) !important;

    box-shadow:
        0 26px 76px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 170, 0.18) !important;

    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}

body.detail-page.archive-type-ilan .detail-card::before {
    background:
        linear-gradient(
            90deg,
            #ffff00,
            #d8b800
        ) !important;
}

body.detail-page.archive-type-ilan .detail-badge {
    color: #242400 !important;
    background: #ffff00 !important;
}

body.detail-page.archive-type-ilan .detail-info p,
body.detail-page.archive-type-ilan .public-contact {
    background: rgba(255, 255, 0, 0.12) !important;
    border-color: rgba(255, 255, 0, 0.30) !important;
}

body.detail-page.archive-type-ilan .primary-btn {
    color: #242400 !important;
    background: #ffff00 !important;
}
