/**
 * Haber — modern arayüz katmanı (design tokens + bileşenler)
 */
:root {
    /* Tipografi */
    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
    --text-base: 14px;
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;

    /* Renk — yüzey */
    --bg-page: #f1f5f9;
    --bg-page-accent: #f1f5f9;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);

    /* Renk — metin */
    --text: #0f172a;
    --text-muted: #64748b;
    --text-on-dark: #f8fafc;

    /* Marka */
    --primary: #e11d48;
    --primary-hover: #be123c;
    --primary-soft: rgba(225, 29, 72, 0.1);
    --accent-2: #0ea5e9;

    /* Üst şerit / footer */
    --nav-bg: #0f172a;
    --nav-bar: #1e293b;
    --strip-bg: rgba(255, 255, 255, 0.85);
    --footer-bg: #0f172a;

    /* Kart / uyumluluk */
    --card: var(--surface);
    --nav-dark: var(--nav-bar);
    --nav-darker: var(--nav-bg);
    --accent-line: var(--primary);

    /* Ölçü */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 999px;

    /* Hareket */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    /* Gölge — hafif katmanlı */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);

    --space-page: clamp(12px, 2.5vw, 20px);
    --content-max: 1200px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background-color: var(--bg-page-accent);
    background-image: radial-gradient(ellipse 85% 55% at 50% -8%, rgba(148, 163, 184, 0.18), transparent 58%);
    color: var(--text);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Odak — erişilebilirlik */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

/* ——— Üst alan (sitemast: util + yerel, header içinde) ——— */
.sitemast__chrome {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sitemast-util--klasik {
    background: linear-gradient(180deg, #020617 0%, #0f172a 92%);
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 38%, transparent);
    width: 100%;
    box-sizing: border-box;
    padding-top: constant(safe-area-inset-top, 0px);
    padding-top: env(safe-area-inset-top, 0px);
}

.sitemast-util--klasik .sitemast-util__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 11px var(--space-page);
}

.sitemast-util__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0;
    margin: 0;
    padding: 0;
}

.sitemast-util__a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

.sitemast-util__a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.sitemast-util__a.is-active {
    color: #fff;
    background: color-mix(in srgb, var(--primary) 28%, transparent);
    box-shadow: inset 0 -2px 0 var(--primary);
}

.sitemast-util__sep--pipe {
    opacity: 0.22;
    user-select: none;
    padding: 0 1px;
}

.sitemast-util__sep {
    opacity: 0.35;
    user-select: none;
    padding: 0 3px;
    color: #64748b;
}

.sitemast-locale--klasik {
    background: linear-gradient(90deg, var(--surface-muted) 0%, var(--surface) 42%, var(--surface-muted) 100%);
    border-bottom: 1px solid var(--border);
    width: 100%;
    box-sizing: border-box;
}

.sitemast-locale--klasik .sitemast-locale__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 12px var(--space-page);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sitemast-locale__label {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 10px;
    flex-shrink: 0;
}

.sitemast-locale__chip {
    flex-shrink: 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sitemast-locale__chip:hover {
    color: var(--primary);
    border-color: var(--primary-soft);
    background: var(--primary-soft);
}

.sitemast--klasik.site-header {
    background: linear-gradient(165deg, var(--nav-bar) 0%, color-mix(in srgb, var(--nav-bg) 88%, #000) 48%, var(--nav-bg) 100%);
    color: var(--text-on-dark);
    box-shadow: var(--shadow-md);
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid color-mix(in srgb, var(--text-on-dark) 8%, transparent);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
}

.skip-link:focus {
    left: var(--space-page);
    top: 8px;
    width: auto;
    height: auto;
    padding: 10px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    overflow: visible;
}

.header-main {
    max-width: var(--content-max);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 16px var(--space-page) 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-block {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-block .brand-logo {
    flex-shrink: 0;
    max-height: 44px;
    width: auto;
    max-width: min(200px, 42vw);
    object-fit: contain;
    display: block;
}

.brand-block .brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.brand-block .brand-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: var(--leading-tight);
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-block .brand-tag {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
    font-weight: 600;
}

.site-nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.site-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}

.site-nav-toggle__lines {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 1px;
    box-shadow: 0 -6px 0 #e2e8f0, 0 6px 0 #e2e8f0;
}

#siteHeader.site-header--open .site-nav-toggle {
    background: rgba(225, 29, 72, 0.35);
    border-color: rgba(251, 113, 133, 0.5);
}

/* Açılır menü üstbilginin dışına taşınca son dakika bandı (DOM’da sonra) üstte kalıyordu */
#siteHeader {
    position: relative;
    z-index: 50;
}

.main-nav-wrap {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Masaüstünde overflow alt menüyü keser; yatay taşma için sayfa kaydırması kabul edilir */
@media (min-width: 961px) {
    .main-nav-wrap {
        overflow-x: visible;
        overflow-y: visible;
    }
}

.main-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 4px 8px 0;
}

.main-nav > a,
.main-nav .nav-item .nav-item__link {
    font-family: var(--font-display);
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    white-space: nowrap;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: background 0.15s, color 0.15s;
}

.main-nav > a:hover,
.main-nav .nav-item .nav-item__link:hover,
.main-nav > a.is-active,
.main-nav .nav-item .nav-item__link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.main-nav > a.is-active,
.main-nav .nav-item .nav-item__link.is-active {
    box-shadow: inset 0 -3px 0 var(--primary);
}

.main-nav .nav-item {
    position: relative;
    flex-shrink: 0;
}

/* Masaüstü: ana menü öğe arası dikey çizgi (::after — border flex + radius ile kaybolabiliyordu) */
@media (min-width: 961px) {
    #siteHeader .main-nav > a:not(:last-child),
    #siteHeader .main-nav > .nav-item:not(:last-child) {
        position: relative;
    }

    #siteHeader .main-nav > a:not(:last-child)::after,
    #siteHeader .main-nav > .nav-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 18%;
        bottom: 18%;
        width: 1px;
        background: rgba(255, 255, 255, 0.88);
        z-index: 2;
        pointer-events: none;
    }

    #siteHeader.hdr-m:not(.hdr-m--menu-koyu) .main-nav > a:not(:last-child)::after,
    #siteHeader.hdr-m:not(.hdr-m--menu-koyu) .main-nav > .nav-item:not(:last-child)::after {
        background: rgba(15, 23, 42, 0.32);
    }
}

.nav-item__row {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.main-nav .nav-item .nav-item__link {
    display: block;
    flex: 1;
    min-width: 0;
}

.nav-submenu-toggle {
    display: none;
}

.nav-caret--toggle {
    font-size: 0.85em;
    opacity: 0.9;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    padding: 6px;
    margin-top: 0;
}

@media (min-width: 961px) {
    /* İmleç linkten panele geçerken boşlukta hover kaybolmasın */
    .main-nav > .nav-item > .nav-submenu {
        top: calc(100% - 6px);
        padding-top: 10px;
    }

    .nav-item:hover .nav-submenu,
    .nav-item--open .nav-submenu,
    .nav-item:focus-within .nav-submenu,
    .nav-item.nav-item--js-expanded .nav-submenu {
        display: flex;
    }
}

.nav-submenu a {
    border-radius: var(--radius-sm) !important;
    color: var(--text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 12px !important;
    box-shadow: none !important;
}

.nav-submenu a:hover {
    background: var(--surface-muted) !important;
    color: var(--primary) !important;
}

.nav-submenu .nav-item {
    position: relative;
    width: 100%;
}

.nav-submenu .nav-item .nav-submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 4px 10px;
    margin-top: 4px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.04);
}

.nav-submenu .nav-item.nav-item--open .nav-submenu,
.nav-submenu .nav-item:hover .nav-submenu,
.nav-submenu .nav-item:focus-within .nav-submenu,
.nav-submenu .nav-item.nav-item--js-expanded .nav-submenu {
    display: flex;
}

.footer-menu-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu-tree--nested {
    margin-top: 6px;
    margin-left: 14px;
    padding-left: 0;
}

.footer-menu-tree li {
    margin-bottom: 6px;
}

.footer-menu-dynamic .footer-menu-tree a {
    display: inline;
    margin-bottom: 0;
    padding: 0;
}

.nav-caret {
    font-size: 0.75em;
    opacity: 0.85;
}

.nav-current {
    display: inline;
}

@media (max-width: 960px) {
    .site-nav-toggle {
        display: inline-flex;
    }

    .main-nav-wrap {
        display: none;
        border-top: 0;
        overflow-x: visible;
    }

    body.site-nav-open {
        overflow: hidden;
    }

    body.site-nav-open .main-nav-wrap {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
        overflow-y: auto;
        padding: calc(72px + constant(safe-area-inset-top, 0px)) var(--space-page) max(28px, constant(safe-area-inset-bottom, 0px));
        padding: calc(72px + env(safe-area-inset-top, 0px)) var(--space-page) max(28px, env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
        -webkit-overflow-scrolling: touch;
    }

    /* Kompakt üst ray + marka satırı: sabit menü içeriği başlığın altında kalsın */
    body.site-nav-open #siteHeader.hdr-k:not(:has(.hdr-k__rail)) .main-nav-wrap {
        padding: calc(88px + constant(safe-area-inset-top, 0px)) var(--space-page) max(28px, constant(safe-area-inset-bottom, 0px));
        padding: calc(88px + env(safe-area-inset-top, 0px)) var(--space-page) max(28px, env(safe-area-inset-bottom, 0px));
    }

    body.site-nav-open #siteHeader.hdr-k:has(.hdr-k__rail) .main-nav-wrap {
        padding: calc(132px + constant(safe-area-inset-top, 0px)) var(--space-page) max(28px, constant(safe-area-inset-bottom, 0px));
        padding: calc(132px + env(safe-area-inset-top, 0px)) var(--space-page) max(28px, env(safe-area-inset-bottom, 0px));
    }

    /* Masaüstü menü ayırıcısı mobilde kapalı (dar / tam ekran menü) */
    #siteHeader .main-nav > a:not(:last-child)::after,
    #siteHeader .main-nav > .nav-item:not(:last-child)::after {
        content: none !important;
        display: none !important;
    }

    #siteHeader {
        position: relative;
        z-index: 1001;
    }

    body.site-nav-open #siteHeader {
        z-index: 1002;
    }

    .main-nav-wrap .main-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        max-width: none;
        padding: 0;
        gap: 0;
    }

    .main-nav > a,
    .main-nav .nav-item .nav-item__link {
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 4px;
    }

    .main-nav .nav-item {
        flex-shrink: 1;
    }

    .nav-item__row {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item__row .nav-item__link {
        border-bottom: 0;
    }

    .nav-caret--desktop {
        display: none;
    }

    .nav-item--open .nav-submenu-toggle {
        display: none;
    }

    .nav-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        min-width: 48px;
        margin: 0;
        padding: 0 10px;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.12);
        color: #e2e8f0;
        cursor: pointer;
        font-family: var(--font-display);
        font-size: 14px;
        line-height: 1;
    }

    .nav-submenu-toggle:hover,
    .nav-submenu-toggle:focus-visible {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        outline: none;
    }

    .nav-item--mobile-expanded .nav-submenu-toggle .nav-caret--toggle {
        transform: rotate(-180deg);
        display: inline-block;
        transition: transform 0.15s ease;
    }

    .nav-item .nav-submenu {
        display: none !important;
    }

    .nav-item:hover .nav-submenu {
        display: none !important;
    }

    .nav-item--open .nav-submenu,
    .nav-item--mobile-expanded .nav-submenu {
        display: flex !important;
        position: static;
        flex-direction: column;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.22);
        padding: 4px 4px 8px 12px;
        margin: 0 0 4px 0;
    }

    .nav-submenu a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 10px 8px !important;
    }

    .nav-submenu a:last-child {
        border-bottom: 0 !important;
    }
}

/* Geniş ekran + dokunmatik: hover yok; alt menü ok düğmesiyle */
@media (min-width: 961px) and (hover: none) {
    .main-nav .nav-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        min-width: 40px;
        margin: 0;
        padding: 0 8px;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(0, 0, 0, 0.15);
        color: #e2e8f0;
        cursor: pointer;
        font-family: var(--font-display);
        font-size: 14px;
        line-height: 1;
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

    .main-nav .nav-submenu-toggle:hover,
    .main-nav .nav-submenu-toggle:focus-visible {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        outline: none;
    }

    .main-nav .nav-submenu .nav-submenu-toggle {
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(0, 0, 0, 0.06);
        color: var(--text);
    }

    .main-nav .nav-submenu .nav-submenu-toggle:hover,
    .main-nav .nav-submenu .nav-submenu-toggle:focus-visible {
        background: rgba(0, 0, 0, 0.1);
        color: var(--primary);
    }

    .main-nav .nav-item--js-expanded > .nav-item__row .nav-submenu-toggle .nav-caret--toggle {
        transform: rotate(-180deg);
        display: inline-block;
        transition: transform 0.15s ease;
    }

    .main-nav .nav-caret--desktop {
        display: none;
    }
}

.nav-accent {
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #fb7185 45%, var(--accent-2));
}

/* Son dakika */
.breaking-bar {
    position: relative;
    z-index: 10;
    background: linear-gradient(90deg, #9f1239 0%, var(--primary) 50%, #be123c 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
}

.breaking-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 10px var(--space-page);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.breaking-marquee {
    flex: 1;
    min-width: 240px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.breaking-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    will-change: transform;
    animation: breakingMarquee var(--bb-dur, 40s) linear infinite;
    padding-right: 28px;
}

.breaking-track--clone {
    position: absolute;
    left: 100%;
    top: 0;
}

@keyframes breakingMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@media (hover: hover) and (pointer: fine) {
    .breaking-marquee:hover .breaking-track {
        animation-play-state: paused;
    }
}

@media (prefers-reduced-motion: reduce) {
    .breaking-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .breaking-track,
    .breaking-track--clone {
        position: static;
        animation: none !important;
        padding-right: 0;
    }
    .breaking-track--clone {
        display: none;
    }
}

.breaking-label {
    font-family: var(--font-display);
    background: #fff;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.breaking-bar a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}

.breaking-bar a:hover {
    border-bottom-color: #fff;
}

.breaking-sep {
    opacity: 0.45;
}

@media (max-width: 600px) {
    .breaking-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .breaking-label {
        align-self: flex-start;
    }

    .breaking-marquee {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }
}

/* Ana içerik */
main {
    max-width: var(--content-max);
    margin: clamp(16px, 2.8vw, 26px) auto;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    padding: 0 var(--space-page) 36px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(14px, 2.2vw, 20px);
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.28s var(--ease-out), transform 0.28s var(--ease-out), border-color 0.22s var(--ease-out);
    max-width: 100%;
    min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
    .card:hover {
        box-shadow: var(--shadow-md);
        border-color: var(--border-strong);
        transform: translateY(-1px);
    }
}

.hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 55%, #020617 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.hero h1 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero p {
    margin: 0;
    color: #94a3b8;
}

.news-title a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.06rem;
    line-height: var(--leading-tight);
    transition: color 0.18s var(--ease-out);
}

.news-title a:hover {
    color: var(--primary);
}

input,
textarea,
button,
select {
    width: 100%;
    padding: 11px 14px;
    margin: 6px 0;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 15px;
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 28%, transparent);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    font-size: 14px;
    padding: 11px 22px;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--primary) 38%, transparent), 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn:hover {
    box-shadow: 0 6px 22px color-mix(in srgb, var(--primary) 42%, transparent), 0 2px 6px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 6px color-mix(in srgb, var(--primary) 35%, transparent);
}

.muted {
    color: var(--text-muted);
    font-size: 13px;
}

.danger {
    background: #b91c1c;
    color: #fff;
    border: 0;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.news-row {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 16px;
    align-items: start;
}

.news-thumb {
    display: block;
    width: 168px;
}

.news-thumb .thumb-fallback--row {
    min-height: 100px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.news-thumb img {
    display: block;
    width: 168px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 10;
    transition: box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .news-row:hover .news-thumb img {
        box-shadow: var(--shadow-md);
    }
}

.news-body {
    min-width: 0;
}

.news-row .news-title {
    margin: 0 0 8px;
}

.news-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

.news-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 8px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--text-muted);
}

.news-badge--light {
    background: var(--surface-muted);
}

.news-badge--breaking {
    background: linear-gradient(180deg, #fb7185 0%, var(--primary) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 10px rgba(225, 29, 72, 0.28);
}

.news-row--breaking {
    border-color: rgba(225, 29, 72, 0.35);
}

.news-row .news-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-row p {
    margin: 0 0 10px;
    color: rgba(15, 23, 42, 0.88);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta-line a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.news-meta-line a:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 900px) {
    .news-row {
        grid-template-columns: 1fr;
    }
    .news-thumb {
        width: 100%;
    }
    .news-thumb img {
        width: 100%;
        height: auto;
        max-height: 240px;
    }
}

.layout-with-aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.layout-with-aside.layout-has-aside {
    grid-template-columns: 1fr minmax(260px, 300px);
}

.layout-main {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.aside-card h3 {
    margin-top: 0;
    font-size: 13px;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--text);
    border-bottom: none;
    padding-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aside-card h3::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), #fb7185);
}

.aside-card ol {
    margin: 12px 0 0;
    padding-left: 18px;
}

.aside-card .gazi-hit-list {
    padding-left: 0;
    margin: 12px 0 0;
}

.aside-card li {
    margin-bottom: 10px;
}

.aside-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 901px) {
    .aside-stack {
        position: sticky;
        top: 18px;
    }
}

/* Portal manşet */
.portal-manset {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    margin-bottom: 20px;
    align-items: stretch;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--surface);
}

/* Gazi tarzi tam genislik slider + numarali siyah serit */
.portal-manset--slider {
    display: block;
    grid-template-columns: none;
    padding: 0;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.portal-manset--slider .pms-viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Tum slaytlar absolute oldugu icin min-yukseklik sart (Safari / dar ekran) */
    aspect-ratio: 16 / 9;
    min-height: clamp(180px, 56.25vw, 360px);
    max-height: min(72vh, 640px);
    max-height: min(70dvh, 640px);
    background: #0f172a;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.portal-manset--slider .pms-slide {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    z-index: 1;
}

.portal-manset--slider .pms-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .portal-manset--slider .pms-slide {
        transition-duration: 0.01ms;
    }
}

.portal-manset--slider .pms-slide__media {
    position: absolute;
    inset: 0;
}

.portal-manset--slider .pms-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-manset--slider .pms-slide__fallback {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(145deg, #1e293b, #0f172a 55%, #334155);
}

.portal-manset--slider .pms-slide__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 16px 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 42%, transparent 72%);
    pointer-events: none;
}

.portal-manset--slider .pms-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-block;
    padding: 7px 14px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 0;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.portal-manset--slider .pms-title {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.4vw, 1.65rem);
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65);
    pointer-events: none;
    overflow-wrap: anywhere;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.portal-manset--slider .pms-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: stretch;
    justify-content: stretch;
    padding: 8px 8px 10px;
    background: #000;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border: 1px solid var(--border);
    border-top: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.portal-manset--slider .pms-nav__btn {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 10px 4px;
    border: none;
    border-radius: var(--radius-sm);
    background: #343a40;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(12px, 1.8vw, 15px);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.12s;
}

.portal-manset--slider .pms-nav__btn:hover {
    background: #495057;
}

.portal-manset--slider .pms-nav__btn.is-active {
    background: var(--primary);
    color: #fff;
}

.portal-manset--slider .pms-nav__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Dar ekran + tablet: sekme şeridi yatay kaydırma, içerik genişliği (masaüstü flex:1 eşit % genişlik yok) */
@media (max-width: 768px) {
    .portal-manset--slider .pms-viewport {
        min-height: 180px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .portal-manset--slider .pms-slide__overlay {
        padding: 12px 12px 20px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 48%, transparent 78%);
    }

    .portal-manset--slider .pms-title {
        font-size: clamp(0.95rem, 4.2vw, 1.25rem);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .portal-manset--slider .pms-badge {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 10px;
    }

    .portal-manset--slider .pms-nav {
        gap: 3px;
        padding: 5px 4px 7px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        overscroll-behavior-x: contain;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .portal-manset--slider .pms-nav__btn {
        flex: 0 0 auto;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: auto;
        width: auto;
        min-width: 0;
        min-height: 34px;
        padding: 5px 8px;
        font-size: 11px;
        line-height: 1.2;
        box-sizing: border-box;
    }

    .portal-manset {
        grid-template-columns: 1fr;
    }
}

.portal-manset-main {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: #1e293b;
}

.portal-manset-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.portal-manset-main .pm-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 85%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 24px;
    gap: 10px;
}

.portal-manset-main .pm-overlay a {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    font-weight: 800;
    text-decoration: none;
    line-height: var(--leading-tight);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.portal-manset-main .pm-overlay a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pm-cat-pill {
    display: inline-block;
    align-self: flex-start;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 12px rgba(225, 29, 72, 0.45);
}

.portal-manset-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--border);
    background: var(--surface-muted);
}

@media (max-width: 768px) {
    .portal-manset-side {
        border-left: 0;
        border-top: 1px solid var(--border);
    }
}

.portal-side-item {
    display: flex;
    gap: 12px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    transition: background 0.15s;
}

.portal-side-item:last-child {
    border-bottom: 0;
}

.portal-side-item:hover {
    background: var(--surface);
}

.portal-side-item img {
    width: 88px;
    height: 66px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.portal-side-item span {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    font-family: var(--font-display);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .portal-side-item:hover img {
        border-color: var(--border-strong);
    }
}

.section-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin: 4px 0 14px;
    padding: 0 0 10px 14px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 12px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), #fb7185);
}

.cat-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

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

.cat-col {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.cat-col h3 {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-display);
    font-weight: 800;
}

.cat-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cat-col li {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 14px;
}

.cat-col li:last-child {
    border-bottom: 0;
}

.cat-col a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.cat-col a:hover {
    color: var(--primary);
}

/* ——— Footer (minimal, düz, responsive) ——— */
.site-footer {
    margin-top: 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    background: var(--footer-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.footer__edge {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.footer__wrap {
    width: 100%;
    max-width: min(var(--content-max), 100%);
    margin: 0 auto;
    padding: 18px var(--space-page) max(16px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 0 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand__home {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #f1f5f9 !important;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    touch-action: manipulation;
}

.footer-brand__home:hover {
    color: #fff !important;
}

.footer-brand__logo-box {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer-brand__logo {
    max-height: 28px;
    width: auto;
    max-width: min(140px, 42vw);
    display: block;
    object-fit: contain;
}

.footer-brand__tagline {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
    max-width: 56ch;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 14px;
}

@media (min-width: 520px) {
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 24px;
    }
}

@media (min-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px 28px;
        align-items: start;
    }
}

.footer__section {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    min-width: 0;
}

/* Mobil: <details> ile açılır menü; geniş ekranda hep açık (site.js) */
.footer-panel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}

@media (min-width: 768px) {
    .footer-panel {
        border-bottom: none;
    }
}

.footer-panel__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 8px 0;
    margin: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.footer-panel__summary::-webkit-details-marker {
    display: none;
}

.footer-panel__summary::after {
    content: "";
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(-45deg);
    transition: transform 0.2s ease, border-color 0.15s ease;
}

.footer-panel[open] > .footer-panel__summary::after {
    transform: rotate(45deg);
    margin-top: -4px;
    border-color: #cbd5e1;
}

.footer-panel__summary .footer-panel__label {
    margin: 0;
}

.footer-panel__body {
    padding: 0 0 14px;
}

@media (min-width: 768px) {
    .footer-panel__summary {
        cursor: default;
        pointer-events: none;
        min-height: 0;
        padding: 0 0 8px;
    }

    .footer-panel__summary::after {
        display: none;
    }

    .footer-panel__body {
        padding-bottom: 0;
    }
}

.footer-panel__label {
    padding: 0;
    border: none;
    font-size: 11px;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cbd5e1;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .footer-panel__label {
        margin: 0 0 8px;
    }
}

.site-footer .footer__section .footer-nav-stack a,
.site-footer .footer__section .footer-menu-dynamic .footer-menu-tree a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.12s ease;
    touch-action: manipulation;
}

.site-footer .footer__section .footer-nav-stack a:hover,
.site-footer .footer__section .footer-menu-dynamic .footer-menu-tree a:hover {
    color: #f1f5f9;
}

.footer-nav-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-nav-stack a {
    display: block !important;
    padding: 5px 0 !important;
    margin: 0 !important;
    font-weight: 400;
    font-size: 13px;
    min-height: 0;
}

.footer-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    margin-top: 10px;
    row-gap: 4px;
}

.footer-quick a {
    display: inline !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    min-height: 0 !important;
}

.footer-quick a:hover {
    color: #f1f5f9 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__lead {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

.footer__cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 200px;
    min-height: 0;
    padding: 7px 14px !important;
    margin: 0 !important;
    font-weight: 600;
    font-size: 12px;
    color: #fff !important;
    background: var(--primary);
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: none;
    touch-action: manipulation;
}

.footer__cta:hover {
    background: var(--primary-hover);
    color: #fff !important;
    filter: none;
}

.footer-menu-dynamic .footer-menu-tree > li > a {
    display: block !important;
    padding: 5px 0 !important;
    margin: 0 !important;
    width: auto;
    min-height: 0;
    font-weight: 400;
    font-size: 13px;
}

.footer-menu-dynamic .footer-menu-tree > li > a:hover {
    background: transparent;
}

.footer-menu-dynamic .footer-menu-tree--nested {
    margin-top: 2px;
    margin-left: 6px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-menu-dynamic .footer-menu-tree--nested > li > a {
    display: block !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    width: auto;
    min-height: 0;
    font-weight: 400;
    font-size: 12px;
}

.footer-menu-dynamic .footer-menu-tree--nested > li > a:hover {
    background: transparent;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.footer-social a {
    display: inline !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    min-height: 0;
    font-weight: 500;
    font-size: 13px;
    color: #94a3b8 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.footer-social a:hover {
    color: #f1f5f9 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__legal {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    line-height: 1.55;
    color: #64748b;
}

.footer__copy {
    margin: 0;
    max-width: 100%;
}

.footer__legal a {
    color: #94a3b8 !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__legal a:hover {
    color: #cbd5e1 !important;
}

.footer__section--newsletter .footer__cta {
    max-width: 200px;
}

.cookie-note {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #e2e8f0;
    padding: 14px var(--space-page);
    padding-bottom: calc(14px + constant(safe-area-inset-bottom, 0px));
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    font-size: 13px;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-note a {
    color: #7dd3fc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-note .btn {
    width: auto;
    margin: 0;
    padding: 8px 18px;
    font-size: 13px;
    box-shadow: none;
}

/* Ön yüz sayfalama */
.pagination {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pagination__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
}

.pagination__meta {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.pagination__step {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.pagination__step:hover {
    text-decoration: underline;
}

.pagination__step--disabled {
    color: var(--text-muted);
    font-weight: 500;
    cursor: default;
}

.pagination__nums {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
}

.pagination__nums a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    background: var(--surface-muted);
}

.pagination__nums a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination__cur {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 800;
    background: var(--primary);
    color: #fff;
}

@media (max-width: 900px) {
    .row {
        grid-template-columns: 1fr;
    }
    .news-thumb img {
        width: 100%;
        height: auto;
        max-height: 220px;
    }
    .layout-with-aside.layout-has-aside {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .gallery-home-split {
        grid-template-columns: 1fr !important;
    }
}

.home-portal {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    animation: homeFade 0.45s ease-out;
}

.home-portal > .card {
    margin-bottom: 14px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.home-quick-topics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 14px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.home-quick-topics__label {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
}

.home-quick-topics__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.home-chip:hover {
    color: var(--primary);
    border-color: rgba(225, 29, 72, 0.35);
    background: rgba(225, 29, 72, 0.07);
}

@keyframes homeFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.gazi-search-toolbar {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.gazi-search-toolbar input {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
}

.gazi-search-toolbar .btn {
    padding: 10px 22px;
}

.portal-manset--featured .portal-manset-main {
    min-height: 300px;
}

.portal-manset--featured .portal-manset-main img {
    min-height: 300px;
}

.thumb-fallback {
    width: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #334155 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    border-radius: 0;
}

.thumb-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(225, 29, 72, 0.25), transparent 55%);
}

.thumb-fallback--sm {
    min-height: 0;
    width: 88px;
    height: 66px;
    border-radius: var(--radius-sm);
}

.thumb-fallback--row {
    width: 160px;
    height: 100px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.headline-card {
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.headline-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.headline-card img {
    border-radius: var(--radius-md);
}

.headline-card--link {
    text-decoration: none;
    color: inherit;
    padding: 14px;
    display: block;
    margin-bottom: 0;
}

.headline-card__img {
    width: 100%;
    height: 108px;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
}

.headline-card__fallback {
    height: 108px;
    min-height: 0 !important;
    margin-bottom: 10px;
    border-radius: var(--radius-md);
}

.headline-card__cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.headline-card__title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
    margin-top: 6px;
    font-family: var(--font-display);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.headline-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)) !important;
    gap: 14px !important;
}

.headline-card {
    padding: 14px !important;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    position: relative;
}

@media (hover: hover) and (pointer: fine) {
    .headline-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: var(--border-strong);
    }
}

.market-strip {
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 0 !important;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.market-strip .market-strip-head {
    font-family: var(--font-display);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 12px 16px 0;
    margin: 0;
    font-weight: 700;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
}

.gazi-market-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.gazi-market-cell {
    padding: 14px 12px;
    text-align: center;
    border-right: 1px solid var(--border);
    background: var(--surface-muted);
    font-size: 13px;
    font-weight: 700;
    min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
    .gazi-market-cell {
        transition: background 0.15s, transform 0.15s;
    }
    .gazi-market-cell:hover {
        background: linear-gradient(180deg, #ffffff 0%, var(--surface-muted) 100%);
        transform: translateY(-1px);
    }
}

.gazi-market-cell:last-child {
    border-right: 0;
}

.gazi-market-cell .gazi-mk-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.gazi-ad-slot {
    min-height: 72px;
    margin: 16px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 10px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.burc-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

@media (max-width: 640px) {
    .burc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.burc-grid a {
    display: block;
    text-align: center;
    padding: 11px 8px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.burc-grid a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.burc-grid__link {
    display: block;
    text-align: center;
    padding: 11px 8px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.burc-grid__link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Ana sayfa geliştirmeleri */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-empty {
    text-align: center;
    padding: 32px 24px;
}

.home-empty__title {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.home-empty__text {
    margin: 0 0 20px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.home-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.portal-search-card {
    padding: 14px 18px;
    margin-bottom: 20px;
}

.portal-search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.portal-search-form input[type="search"] {
    margin: 0;
    flex: 1;
    min-width: 200px;
    max-width: 520px;
}

.portal-search-form .btn {
    width: auto;
    margin: 0;
}

.home-portal__summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    max-width: 52ch;
}

.market-strip-note {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85em;
}

.home-section-spaced {
    margin-top: 10px;
}

.cat-col__title-link {
    color: inherit;
    text-decoration: none;
}

.cat-col__title-link:hover {
    color: var(--primary);
}

.cat-columns--authors {
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
}

.cat-col__line {
    margin: 0;
    font-size: 12px;
}

.cat-col__bio {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
}

.home-more-link {
    margin: 12px 0 0;
}

.gallery-home-panel__title {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-display);
    font-weight: 800;
}

.gallery-home-panel__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery-home-panel__item {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.gallery-home-panel__item:last-child {
    border-bottom: 0;
}

.gallery-home-panel__link {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.gallery-home-panel__link:hover {
    color: var(--primary);
}

.gallery-home-panel__date {
    font-size: 12px;
    margin-top: 4px;
}

.gallery-home-panel__more {
    margin: 12px 0 0;
}

.gundem-card {
    padding: 4px 16px 16px;
}

.gundem-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: gundem;
}

.gundem-list__item {
    counter-increment: gundem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.gundem-list__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.gundem-list__item::before {
    content: counter(gundem);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.gundem-list__link {
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.gundem-list__link:hover {
    color: var(--primary);
}

.gundem-list__time {
    white-space: nowrap;
    font-size: 12px;
}

.yerel-sehir-strip {
    padding: 14px 16px;
}

.yerel-sehir-strip__intro {
    margin: 0 0 10px;
    font-size: 13px;
}

.yerel-sehir-strip__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.burc-card {
    padding: 14px 16px;
}

.btn--pill {
    display: inline-block;
    width: auto;
    padding: 6px 12px;
    margin: 0;
    font-size: 13px;
}

.btn--ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn--ghost:hover {
    background: var(--primary-soft);
    transform: none;
}

.btn--burc-cta {
    display: inline-block;
    width: auto;
    padding: 8px 16px;
    margin: 14px 0 0;
}

.aside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aside-tags__link {
    font-size: 13px;
    color: var(--accent-2);
    text-decoration: none;
    font-weight: 600;
}

.aside-tags__link:hover {
    text-decoration: underline;
}

.aside-weather__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.aside-weather__icon {
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--surface-muted, #f8fafc);
}

.aside-weather__city {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
}

.aside-weather__deg {
    margin: 4px 0 0;
    line-height: 1.1;
}

.aside-weather__num {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.aside-weather__unit {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 2px;
    color: var(--muted, #64748b);
}

.aside-weather__cond {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.35;
}

.aside-weather__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent, #2563eb);
    text-decoration: none;
    line-height: 1.3;
}

.aside-weather__link::after {
    content: '→';
    font-weight: 700;
    opacity: 0.75;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.aside-weather__link:hover {
    text-decoration: underline;
}

.aside-weather__link:hover::after {
    transform: translateX(3px);
    opacity: 1;
}

.aside-weather__src {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border, rgba(15, 23, 42, 0.08));
    font-size: 11px;
}

.aside-prayer__yer {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.aside-prayer__list {
    margin: 0;
    padding: 0;
}

.aside-prayer__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid var(--border, rgba(15, 23, 42, 0.06));
    font-size: 13px;
}

.aside-prayer__row:last-of-type {
    border-bottom: none;
}

.aside-prayer__row dt {
    margin: 0;
    font-weight: 600;
    color: var(--muted, #64748b);
}

.aside-prayer__row dd {
    margin: 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.aside-prayer__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent, #2563eb);
    text-decoration: none;
    line-height: 1.3;
}

.aside-prayer__link::after {
    content: '→';
    font-weight: 700;
    opacity: 0.75;
}

.aside-prayer__link:hover {
    text-decoration: underline;
}

.aside-prayer__src {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border, rgba(15, 23, 42, 0.08));
    font-size: 11px;
}

.aside-pharmacy__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aside-pharmacy__item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border, rgba(15, 23, 42, 0.06));
    font-size: 13px;
    line-height: 1.35;
}

.aside-pharmacy__item:last-child {
    border-bottom: none;
}

.aside-pharmacy__name {
    display: block;
    font-weight: 700;
}

.aside-pharmacy__tel,
.aside-pharmacy__map {
    display: inline-block;
    margin-top: 4px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-2, #0ea5e9);
    text-decoration: none;
}

.aside-pharmacy__tel:hover,
.aside-pharmacy__map:hover {
    text-decoration: underline;
}

.aside-pharmacy__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent, #2563eb);
    text-decoration: none;
}

.aside-pharmacy__link::after {
    content: '→';
    font-weight: 700;
    opacity: 0.75;
}

.aside-pharmacy__link:hover {
    text-decoration: underline;
}

.aside-pharmacy__src {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border, rgba(15, 23, 42, 0.08));
    font-size: 11px;
    line-height: 1.4;
}

.aside-pharmacy__src a {
    color: inherit;
    font-weight: 600;
}

.pharmacy-duty-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
    .pharmacy-duty-grid {
        grid-template-columns: 1fr;
    }
}

.pharmacy-duty-field span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-muted, #64748b);
}

.pharmacy-duty-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-size: 15px;
}

.pharmacy-duty-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pharmacy-duty-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pharmacy-duty-table th,
.pharmacy-duty-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.pharmacy-duty-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.aside-market {
    font-size: 13px;
    line-height: 1.7;
}

.aside-authors {
    margin: 8px 0 0;
    padding-left: 16px;
}

.aside-authors li {
    margin-bottom: 8px;
}

.aside-authors__all {
    font-size: 13px;
    margin-top: 8px;
    display: inline-block;
}

.aside-comments {
    margin: 0;
    padding-left: 18px;
}

.aside-comments__item {
    margin-bottom: 12px;
}

.aside-comments__body {
    font-size: 13px;
    margin-top: 4px;
}

.aside-comments__news {
    font-size: 12px;
}

.hero__sub {
    margin-top: 8px;
}

.hero-search {
    margin-top: 14px;
}

.hero-search input {
    max-width: 100%;
}

.news-meta-line {
    margin-top: 8px;
}

.gazi-hit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: ghit;
}

.gazi-hit-list li {
    counter-increment: ghit;
    position: relative;
    padding: 0 0 14px 44px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.gazi-hit-list li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gazi-hit-list li::before {
    content: counter(ghit);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary), #fb7185);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
}

.gallery-home-panel {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.gallery-home-panel h3 {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    font-family: var(--font-display);
    font-weight: 800;
}

.news-row--elevated {
    border-radius: var(--radius-lg);
    transition: box-shadow 0.2s, transform 0.2s;
}

.news-row--elevated:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

@media (min-width: 520px) {
    .gallery-home-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

.gallery-home-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    min-width: 0;
}

.gallery-home-card:hover {
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.gallery-home-card__media {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--surface-muted);
}

.gallery-home-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-home-card__fallback {
    width: 100%;
    height: 100%;
    min-height: 72px;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.gallery-home-card__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-home-card__date {
    font-size: 11px;
}

.gallery-home-panel--visual .gallery-home-panel__more {
    margin-top: 14px;
}

.hero--photo-gallery h1 {
    font-family: var(--font-display);
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 16px;
}

.photo-gallery-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
    min-width: 0;
}

.photo-gallery-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(225, 29, 72, 0.28);
}

.photo-gallery-card__media {
    aspect-ratio: 4 / 3;
    background: var(--surface-muted);
    overflow: hidden;
}

.photo-gallery-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-gallery-card__fallback {
    width: 100%;
    height: 100%;
    min-height: 160px;
    background: linear-gradient(145deg, #1e293b, #0f172a 60%, #334155);
}

.photo-gallery-card__body {
    padding: 12px 14px 14px;
}

.photo-gallery-card__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-display);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-gallery-card__meta {
    font-size: 12px;
}

.photo-gallery-empty {
    padding: 20px 18px;
}

/* ——— Makale / statik sayfa ——— */
.article-preview-banner {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fdba74 !important;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
    margin: 0 0 12px;
}

.article-meta {
    font-size: 14px;
    margin-bottom: 4px;
}

.article-meta a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.article-meta a:hover {
    text-decoration: underline;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.share-row__label {
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 4px;
}

.share-row a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: var(--surface-muted);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s;
}

.share-row a:hover {
    background: var(--primary-soft);
    border-color: transparent;
    color: var(--primary);
}

.share-row__btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: var(--surface-muted);
    border: 1px solid var(--border);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.share-row__btn:hover {
    background: var(--primary-soft);
    border-color: transparent;
    color: var(--primary);
}

.share-row__btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.share-row__btn[hidden] {
    display: none !important;
}

.article-figure {
    margin: 20px 0;
}

.article-figure img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.article-body,
.page-body {
    line-height: var(--leading-relaxed);
    font-size: 1.05rem;
    color: var(--text);
}

.page-body--html section {
    margin-bottom: 1.25rem;
}

.page-body--html h2 {
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.article-body {
    margin: 16px 0 0;
}

.article-body p {
    margin: 0 0 1rem;
}

.article-inline-figure {
    margin: 1.1rem 0 1.2rem;
}

.article-inline-figure img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.article-inline-figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.article--photo-gallery .article-figure img,
.article--photo-gallery .article-inline-figure img {
    cursor: zoom-in;
}

.photo-gal-lightbox {
    position: relative;
    max-width: min(96vw, 1100px);
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: #f8fafc;
}

.photo-gal-lightbox::backdrop {
    background: rgba(15, 23, 42, 0.82);
    cursor: pointer;
}

.photo-gal-lightbox__inner {
    background: #0f172a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.photo-gal-lightbox__inner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(82vh, 900px);
    object-fit: contain;
    background: #020617;
}

.photo-gal-lightbox__cap {
    margin: 0;
    padding: 10px 14px 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #e2e8f0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.photo-gal-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(248, 250, 252, 0.35);
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    align-items: center;
}

.tag-pills__label {
    width: 100%;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.tag-pills a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--surface-muted);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.tag-pills a:hover {
    color: var(--primary);
    border-color: var(--primary-soft);
    background: var(--primary-soft);
}

.adj-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.adj-nav a {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.adj-nav a:hover {
    color: var(--primary);
}

.adj-nav-col--end {
    text-align: right;
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #6ee7b7 !important;
}

.alert-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fca5a5 !important;
    color: #7f1d1d;
}

.contact-form-card .req {
    color: var(--primary);
    font-weight: 700;
}

.related-list {
    margin: 0;
    padding-left: 20px;
}

.related-list li {
    margin-bottom: 10px;
}

.comment-item {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 14px;
}

.comment-item:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.form-stack label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 2px;
}

.form-stack .btn {
    margin-top: 12px;
    width: auto;
}

/* 404 */
.error-page {
    text-align: center;
    padding: clamp(32px, 8vw, 56px) var(--space-page);
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 4.5rem);
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), #fb7185);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.04em;
}

.error-page .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 8px 0 20px;
}

.btn--inline {
    display: inline-block;
    width: auto;
    padding: 12px 28px;
    text-decoration: none;
}

/* Reklam slotlari */
.site-ad-slot {
    max-width: min(var(--content-max), 100%);
    width: 100%;
    margin: 0 auto;
    padding: 12px var(--space-page);
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.site-ad-slot iframe,
.site-ad-slot embed,
.site-ad-slot object {
    max-width: 100% !important;
}

.site-ad-slot ins {
    max-width: 100% !important;
}

.site-ad-slot--header_below_nav {
    background: rgba(15, 23, 42, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-ad-slot--footer_above {
    padding-top: 20px;
    padding-bottom: 8px;
}

.site-ad {
    display: block;
    text-align: center;
    line-height: 0;
}

.site-ad--html {
    line-height: var(--leading-normal, 1.5);
    text-align: center;
}

.site-ad__link {
    display: inline-block;
    line-height: 0;
}

.site-ad__img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: var(--radius-md, 8px);
}

/* Namaz vakitleri */
.nv-form {
    margin: 0;
}

.nv-prayer-form.nv-is-loading {
    opacity: 0.72;
}

.nv-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.nv-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted, #64748b);
}

.nv-field span {
    font-weight: 600;
    color: var(--text, #0f172a);
}

.nv-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--border-strong, rgba(15, 23, 42, 0.14));
    background: var(--surface, #fff);
    color: var(--text, #0f172a);
    font-family: inherit;
    font-size: 14px;
}

.nv-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
}

.nv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.nv-table th,
.nv-table td {
    padding: 10px 12px;
    text-align: center;
    border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
}

.nv-table th {
    background: var(--surface-muted, #f8fafc);
    font-weight: 700;
}

.wx-input {
    width: 100%;
    max-width: 400px;
    padding: 10px 12px;
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--border-strong, rgba(15, 23, 42, 0.14));
    background: var(--surface, #fff);
    color: var(--text, #0f172a);
    font: inherit;
}

.wx-current-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.wx-icon {
    flex-shrink: 0;
}

.wx-degree-line {
    margin: 12px 0 8px;
    font-size: 1.25rem;
}

.wx-degree {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.wx-field {
    display: block;
    max-width: 440px;
}

.wx-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 12px 0 0;
}

.wx-form-hint {
    font-size: 14px;
}

.wx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border, rgba(15, 23, 42, 0.08));
}

.wx-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-strong, rgba(15, 23, 42, 0.14));
    color: var(--text, #0f172a);
    background: var(--surface-muted, #f8fafc);
    transition: background 0.15s, border-color 0.15s;
}

.wx-chip:hover {
    border-color: var(--accent, #2563eb);
    background: var(--surface, #fff);
}

.wx-chip--active {
    border-color: var(--accent, #2563eb);
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent, #1d4ed8);
}

.pd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.pd-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-strong, rgba(15, 23, 42, 0.14));
    color: var(--text, #0f172a);
    background: var(--surface-muted, #f8fafc);
    transition: background 0.15s, border-color 0.15s;
}

.pd-chip:hover {
    border-color: var(--accent, #2563eb);
    background: var(--surface, #fff);
}

.pd-chip--active {
    border-color: var(--accent, #2563eb);
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent, #1d4ed8);
}

.pd-meta-line {
    margin: 0 0 12px;
    font-size: 13px;
}

.pd-table td[data-pd-team="1"] {
    white-space: nowrap;
    font-weight: 600;
}

.wx-meta-line {
    margin: 0 0 12px;
    font-size: 13px;
}

.wx-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wx-day-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: lowercase;
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent, #1d4ed8);
    vertical-align: middle;
}

.wx-forecast-cards {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    margin-top: 8px;
}

.wx-day-card {
    border: 1px solid var(--border, rgba(15, 23, 42, 0.08));
    border-radius: var(--radius-md, 8px);
    padding: 12px 14px;
    background: var(--surface, #fff);
}

.wx-day-card--today {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.wx-day-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wx-day-card__date {
    font-weight: 700;
    font-size: 15px;
}

.wx-day-card__cond {
    margin: 8px 0 4px;
    font-size: 14px;
}

.wx-day-card__temps {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.wx-day-card__lo {
    color: var(--muted, #64748b);
    margin-right: 10px;
}

.wx-day-card__hi {
    color: var(--text, #0f172a);
}

.wx-day-card__extra {
    margin: 8px 0 0;
    font-size: 13px;
}

.wx-forecast-table-wrap {
    display: none;
    margin-top: 16px;
}

.wx-forecast-table .wx-th-icon,
.wx-forecast-table .wx-td-icon {
    width: 52px;
    padding-left: 8px;
    padding-right: 8px;
}

.wx-forecast-row--today {
    background: rgba(37, 99, 235, 0.06);
}

@media (min-width: 800px) {
    .wx-forecast-cards {
        display: none;
    }

    .wx-forecast-table-wrap {
        display: block;
    }
}

/* Resmi ilan: video gomme + liste kapak */
.official-notice-embed-wrap {
    margin: 0 0 1rem;
}

.official-notice-embed {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #0f172a;
}

.official-notice-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.official-notice-file-video {
    margin: 0 0 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0f172a;
}

.official-notice-file-video video {
    display: block;
    width: 100%;
    max-height: min(70vh, 720px);
}

.official-notice-list-row {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 16px;
    align-items: start;
}

.official-notice-list-thumb img {
    display: block;
    width: 132px;
    height: 88px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

@media (max-width: 520px) {
    .official-notice-list-row {
        grid-template-columns: 1fr;
    }

    .official-notice-list-thumb img {
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 3 / 2;
    }
}

/* --- Tema modülü: ana sayfa blok varyantları + liste / yan sütun --- */
.home-quick-topics--minimal .home-chip {
    background: transparent;
    border: 0;
    padding: 0.15rem 0.35rem;
    font-weight: 500;
    box-shadow: none;
}

.home-quick-topics--minimal .home-quick-topics__list {
    gap: 0.35rem 0.75rem;
}

.market-strip--inline .gazi-market-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.75rem;
    padding: 0 4px 6px;
    border-top: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: none;
}

.market-strip--inline .gazi-market-cell {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.9rem;
    border-right: 0;
    background: var(--surface-muted);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

/* Dar ekranda yatay kaydirma + grid karisimi: sol bosluk / hizasizlik olmasin */
@media (max-width: 640px) {
    .gazi-market-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-strip--inline .gazi-market-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 0;
        overflow-x: visible;
        overflow-y: visible;
    }

    .market-strip--inline .gazi-market-cell {
        white-space: normal;
        font-size: 0.88rem;
        border-radius: 0;
        border-right: 1px solid var(--border);
        padding: 12px 10px;
    }

    .market-strip--inline .gazi-market-cell:nth-child(2n) {
        border-right: 0;
    }

    .home-quick-topics {
        flex-direction: column;
        align-items: stretch;
    }

    .home-quick-topics__label {
        width: 100%;
    }

    .home-quick-topics__list {
        width: 100%;
    }
}

.headline-grid--dense {
    gap: 10px;
}

@media (min-width: 640px) {
    .headline-grid--dense {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

.headline-grid--dense .headline-card__img {
    aspect-ratio: 16 / 10;
}

.news-row--theme-compact {
    padding: 0.65rem 0.85rem;
    gap: 12px;
}

.news-row--theme-compact .news-thumb {
    width: 112px;
    min-width: 112px;
}

.news-row--theme-compact .news-thumb img {
    width: 112px;
    height: 70px;
}

.news-row--theme-compact .news-title {
    font-size: 1rem;
}

.news-row--theme-compact p {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.news-row--theme-text_only .news-body {
    padding-left: 0;
}

.news-row--theme-text_only {
    grid-template-columns: 1fr;
}

.cat-columns--theme-compact {
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .cat-columns--theme-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-home-split--stacked {
    flex-direction: column;
}

.gundem-list--simple {
    counter-reset: none;
}

.gundem-list--simple .gundem-list__item {
    grid-template-columns: 1fr auto;
}

.gundem-list--simple .gundem-list__item::before {
    content: none;
    display: none;
}

.gundem-list--simple .gundem-list__link {
    font-weight: 500;
}

.cat-columns--authors-list .cat-col__bio {
    display: none;
}

.yerel-sehir-strip--links .yerel-sehir-strip__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}

.yerel-sehir-strip--links .btn--pill {
    background: transparent;
    border: 0;
    padding: 0;
    font-weight: 500;
    color: var(--primary, #e11d48);
    box-shadow: none;
}

.burc-grid--compact {
    gap: 6px;
}

.burc-grid--compact .burc-grid__link {
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
}

.aside-stack--tight {
    gap: 10px;
}

.aside-stack--tight .aside-card {
    padding: 0.75rem 0.85rem;
}

.aside-stack--tight .aside-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Ön yüz mobil tamamlama: güvenli alan, taşan içerik, dar ızgaralar */
@media (max-width: 768px) {
    main {
        margin-top: 14px;
        margin-bottom: 14px;
        padding-left: max(var(--space-page), env(safe-area-inset-left, 0px));
        padding-right: max(var(--space-page), env(safe-area-inset-right, 0px));
        padding-bottom: 28px;
    }

    .header-main {
        padding-left: max(var(--space-page), env(safe-area-inset-left, 0px));
        padding-right: max(var(--space-page), env(safe-area-inset-right, 0px));
    }

    .article-title {
        font-size: clamp(1.2rem, 5.2vw, 1.65rem);
        overflow-wrap: anywhere;
    }

    .section-title {
        font-size: 0.92rem;
        overflow-wrap: anywhere;
    }

    .gundem-list__link {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .gundem-list__time {
        white-space: normal;
        text-align: right;
        font-size: 11px;
        max-width: 38%;
    }

    .headline-grid {
        gap: 10px !important;
    }

    .article-body iframe,
    .article-body video,
    .page-body iframe,
    .page-body video {
        max-width: 100%;
        height: auto;
    }

    .article-body table,
    .page-body table {
        display: block;
        width: max-content;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .article-body pre,
    .page-body pre {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .pagination__nums {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        padding-bottom: 4px;
        overscroll-behavior-x: contain;
    }

    .portal-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-search-form input[type="search"] {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        flex: 1 1 auto;
    }

    .portal-search-form .btn {
        width: 100%;
        justify-content: center;
    }

    .gundem-list__item {
        grid-template-columns: auto 1fr;
        gap: 8px;
    }

    .gundem-list__time {
        grid-column: 1 / -1;
        max-width: none;
        text-align: left;
        margin-top: 2px;
    }
}

@media (max-width: 380px) {
    .burc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
