@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════
   Haber Scripti — Frontend Stylesheet
   Modern, responsive news site theme
   ═══════════════════════════════════════════════════════════ */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Proxima Nova', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    background: #f8f9fc;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.satir-sinirla {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1400px) {
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* ===== HEADER ===== */
.site-header {
    background: #fff;
    z-index: 1000;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    contain: layout style;
}

.site-header.hs-sticky {
    position: sticky;
    top: 0;
}

/* Common Header Elements */
.header-logo img {
    height: 45px;
    display: block;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

.header-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li a {
    display: block;
    padding: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-extra {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 5px;
}

.header-extra-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
}

.hs-btn {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.hs-btn:hover {
    background: #1a1a2e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f845;
    color: #333;
    transition: all 0.2s;
}

/* Force icon color to theme primary (not inherited gray) */
.search-toggle i {
    color: #ffffff;
}

.mobile-menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 0;
    border: none;
    display: none;
    /* Hidden by default on desktop */
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #333;
    transition: color 0.2s;
}

.mobile-menu-toggle:hover {
    background: transparent;
}

.search-toggle:hover {
    background: var(--primary);
    color: #fff;
}

.search-toggle:hover i {
    color: #fff;
}

/* ==========================================
   CUSTOM HEADER STYLES
   ========================================== */

/* Top Bar */
.custom-top-bar {
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.ctb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ctb-left {
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 0.3px;
}

.ctb-weather {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ctb-divider {
    opacity: 0.4;
}

.ctb-social {
    display: flex;
    gap: 15px;
}

.ctb-social a {
    color: inherit;
    transition: all 0.2s;
    opacity: 0.8;
    font-size: 1rem;
}

.ctb-social a:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 9999;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cb-inner {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #f1f5f9;
}

.cb-text {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.5;
}

.btn-accept {
    background: var(--primary, #da0000);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s;
    white-space: nowrap;
}

.btn-accept:hover {
    filter: brightness(1.1);
}

@media (max-width: 640px) {
    .cb-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
}

/* Top bar mobile */
@media (max-width: 768px) {
    .ctb-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 4px 0;
    }

    .custom-top-bar {
        padding: 6px 0;
    }

    .ctb-social {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .ctb-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: space-between;
        align-items: center;
    }

    .ctb-left {
        gap: 8px;
        font-size: 0.78rem;
    }

    .ctb-social {
        display: none !important;
    }
}

.custom-header-main {
    background: inherit;
    border-bottom: 1px solid #f0f0f0;
}

.chm-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.chm-logo {
    display: flex;
    align-items: center;
}

.chm-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.chm-nav .nav-menu {
    display: flex;
    gap: 5px;
}

.chm-nav .nav-menu > li > a {
    line-height: 80px;
    padding: 0 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.chm-nav .nav-menu > li > a:hover {
    color: var(--active-color, var(--primary));
    border-bottom-color: var(--active-color, var(--primary));
}

/* Active (current page/category) state in header menus */
.chm-nav .nav-menu > li.active > a,
.chm-nav .nav-menu > li > a.is-active {
    color: var(--active-color, var(--primary));
    border-bottom-color: var(--active-color, var(--primary));
}

.chm-nav .nav-menu li {
    position: relative;
}

.chm-nav .nav-menu > li.has-dropdown > a {
    display: flex;
    align-items: center;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    margin-top: -1px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
}

.chm-nav .nav-menu li:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block !important;
    line-height: 40px !important;
    padding: 0 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    border: none !important;
    transition: all 0.2s !important;
}

/* Prevent top-level underline effects from leaking into dropdown links */
.dropdown-menu li a::after,
.dropdown-menu li a::before {
    display: none !important;
    content: none !important;
}

.dropdown-menu li a:hover {
    background: #f8f8f8;
    color: var(--active-color, var(--primary)) !important;
    padding-left: 25px !important;
}

/* Responsive (Mobile) Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f9f9f9;
        padding-left: 20px;
        display: none;
        width: 100%;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Responsive: Custom Header mobile nav */
@media (max-width: 768px) {
    .chm-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    .chm-nav.mobile-open {
        display: block;
    }

    .chm-nav .nav-menu {
        flex-direction: column;
        padding: 10px 0;
        gap: 0;
    }

    .chm-nav .nav-menu > li > a {
        line-height: 50px !important;
        border-bottom: 1px solid #f9f9f9 !important;
        padding: 0 25px !important;
        color: #333 !important;
        border-bottom-color: transparent !important;
        font-size: 0.95rem !important;
    }

    .chm-inner {
        flex-wrap: nowrap;
    }
}

/* Site-wide: prevent any element from overflowing viewport */
.site-main {
    margin-top: 20px;
    max-width: 100%;
    flex: 1 0 auto;
}

.site-header {
    max-width: 100%;
}

/* --- Search Overlay --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: searchFadeIn 0.22s ease;
}

@keyframes searchFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.search-overlay.active {
    display: flex;
}

.search-form {
    width: 90%;
    max-width: 680px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s;
}

.search-form:focus-within {
    border-color: rgba(255, 255, 255, 0.35);
}

.search-form input[type="text"],
.search-form input[name="q"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 10px 0;
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.search-form button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.search-form button[type="submit"]:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    margin-left: 4px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.search-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Hint text below search box */
.search-overlay::after {
    content: 'Aramak için yazmaya başlayın · ESC ile kapat';
    position: absolute;
    bottom: calc(50% - 80px);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    pointer-events: none;
}


/* ===== NUMBERED HEADLINE SLIDER (CNBC-e Style) ===== */
.numbered-headline-section {
    padding: 0 0 20px;
}

.numbered-headline-slider {
    border-radius: 0;
    /* Square corners as requested */
    overflow: hidden;
    position: relative;
}

.headline-slide {
    display: block;
    position: relative;
    padding-top: 56.25%;
}

.headline-image {
    position: absolute;
    inset: 0;
}

.headline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headline-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.headline-image img {
    filter: brightness(calc(var(--image-opacity, 0.7) * 1.428));
    /* Map opacity to brightness for base image dimming without losing bg */
}

.headline-overlay {
    position: absolute;
    inset: 0;
    /* Dynamic opacity for bottom gradient */
    background: linear-gradient(to top, var(--overlay-color, #000) 0%, transparent 60%);
    opacity: var(--gradient-opacity, 0.9);
    z-index: 1;
}

.headline-content {
    position: absolute;
    bottom: 60px;
    /* Reduced spacing */
    left: 0;
    right: 0;
    padding: 0 40px;
    z-index: 2;
}

.headline-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    max-width: 90%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    display: block;
    /* Restore block display */
}

.headline-title span {
    background-image: linear-gradient(var(--active-color), var(--active-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 3px;
    transition: background-size 0.4s ease;
    padding-bottom: 2px;
}

.headline-slide:hover .headline-title span {
    background-size: 100% 3px;
}

/* Desktop Pagination (Numbers) */
.headline-numbers-desktop {
    position: absolute;
    bottom: 20px;
    /* Tighter spacing */
    left: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    justify-content: flex-start;
}

.headline-numbers-inner {
    display: flex;
    justify-content: center;
    gap: 5px;
    /* Slightly tighter gap to allow fitting more numbers */
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    /* Force them to stay on one line */
}

.headline-num-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    /* Allow shrinking and growing evenly */
    align-self: center;
    /* Prevent vertical stretching in flex parent */
    max-width: 32px;
    height: auto;
    aspect-ratio: 1 / 1;
    /* Keep width and height equal */
    font-size: 1rem;
    /* Slightly smaller font */
    font-weight: 800;
    /* Bolder */
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
    border-radius: 4px;
    /* Keep radius on numbers */
    text-decoration: none;
}

.headline-num-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.headline-num-link.active {
    color: #fff;
    background: var(--active-color, var(--primary)) !important;
    /* Dynamic color */
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile Pagination (Dots) */
.headline-dots-mobile {
    display: none;
}

/* Hidden by default */
.headline-dots-mobile .swiper-pagination-bullet {
    display: inline-block;
    background: #fff;
    opacity: 0.5;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    cursor: pointer;
}

.headline-dots-mobile .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 4px;
    background: var(--active-color, #fff);
}

/* ===== NUMBERED HEADLINE 2 (Split Layout) ===== */
.headline-layout {
    width: 100%;
}

.headline-layout.layout-double {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 20px;
    align-items: stretch;
    height: 500px;
    /* Fixed height for double layout */
}

@media (max-width: 991px) {
    .headline-layout.layout-double {
        grid-template-columns: 1fr;
        height: auto;
    }

    .headline-side-col {
        margin-top: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        height: auto;
    }
}

@media (max-width: 576px) {
    .headline-side-col {
        grid-template-columns: 1fr;
    }
}

.headline-main-col {
    min-width: 0;
}

.headline-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.headline-side-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex: 1;
    min-height: 0;
}

.headline-side-image {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    margin-bottom: 10px;
}

.headline-side-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(calc(var(--image-opacity, 0.7) * 1.428));
    transition: transform 0.5s;
}

.headline-side-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.headline-side-item:hover .headline-side-title {
    background-size: 100% 2px;
}

/* Double Layout Specifics */
.headline-layout.layout-double .headline-main-col {
    display: flex;
    /* Ensure child fills height */
    flex-direction: column;
    min-width: 0;
    /* Fix flexbox overflow */
    width: 100%;
}

.headline-layout.layout-double .numbered-headline-slider {
    height: 100%;
    /* Fill main-col */
    width: 100%;
    /* Fix 0 width issue */
    min-width: 0;
}

.headline-layout.layout-double .swiper-wrapper {
    height: 100%;
}

.headline-layout.layout-double .swiper-slide {
    height: 100%;
}

.headline-layout.layout-double .headline-slide {
    height: 100%;
    padding-top: 0;
    /* Remove 16:9 ratio */
    /* Let the grid item's stretched height dictate the slide height */
}

/* Responsive adjustment for Double Layout */
@media (max-width: 991px) {
    .headline-layout.layout-double {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .headline-layout.layout-double .headline-slide {
        height: auto;
        padding-top: 56.25%;
        min-height: 0;
    }

    .headline-layout.layout-double .headline-side-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 15px;
        height: auto;
    }

    .headline-layout.layout-double .headline-side-item {
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .headline-layout.layout-double .headline-side-col {
        grid-template-columns: 1fr;
    }

    .headline-layout.layout-double .headline-side-item {
        min-height: 250px;
    }
}

.headline-side-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.headline-side-item:hover .headline-side-title {
    color: var(--active-color, var(--primary));
}

/* ===== CATEGORY BADGE ===== */
.category-badge,
.category-badge-small,
.category-badge-tiny {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-badge:hover,
.category-badge-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.category-badge-small {
    padding: 3px 10px;
    font-size: 0.6875rem;
    font-weight: 800;
}

.category-badge-tiny {
    padding: 2px 8px;
    font-size: 0.625rem;
    box-shadow: none;
}

/* ===== LAYOUT: CONTENT + SIDEBAR ===== */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    padding: 30px 0;
}

.main-content {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-height, 0px) + 20px);
    align-self: start;
}

/* Row 2: Main Alt + Main Sidebar — Inside main-content */
.main-bottom-row {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 24px;
    margin-top: 24px;
}

.main-bottom-row.sidebar-none {
    grid-template-columns: 1fr;
}

.main-bottom-content {
    min-width: 0;
}

.main-bottom-sidebar {
    min-width: 0;
}

.main-bottom-sidebar.sidebar-sticky {
    position: sticky;
    top: calc(var(--header-height, 0px) + 20px);
    align-self: start;
}

.sticky-block-wrapper {
    position: sticky;
    top: calc(var(--header-height, 0px) + 20px);
    z-index: 10;
}

@media (max-width: 991px) {

    .sticky-block-wrapper,
    .sidebar,
    .main-bottom-sidebar.sidebar-sticky {
        position: static !important;
        top: auto !important;
    }
}

/* ===== SECTION HEADER ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    color: #1a1a2e;
}

.section-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0066cc;
}

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

/* ===== NEWS CARDS ===== */
.news-grid {
    display: grid;
    gap: 24px;
}

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

.news-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.news-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.news-card-image {
    display: block;
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.news-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 3px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-card-body {
    padding: 16px;
}

.news-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 6px 0 8px;
}

.news-card-body h3 a {
    color: #1a1a2e;
}

.news-card-body h3 a:hover {
    color: var(--primary);
}

.news-card-summary {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.news-card-meta {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    color: #999;
}

.news-card-date {
    font-size: 0.8rem;
    color: #999;
}

.news-card-author {
    font-size: 0.8rem;
    color: #666;
}

/* Featured card */
.news-card-featured .news-card-body h3 {
    font-size: 1.2rem;
}

/* Horizontal card */
.news-card-horizontal {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-radius: 12px;
}

.news-card-horizontal .news-card-image {
    padding-top: 0;
    min-height: 180px;
}

.news-card-horizontal .news-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-horizontal .news-card-body h3 {
    font-size: 1.1rem;
}

/* ===== NEWS LIST ===== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== NEWS DETAIL ===== */
.news-detail {
    padding: 20px 0 40px;
}

.news-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: #1a202c;
    line-height: 1.15;
    margin: 20px 0 24px;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .news-title {
        font-size: 2rem;
    }
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin: 24px 0 32px;
    color: #64748b;
    font-size: 0.875rem;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
    font-weight: 700;
    transition: color 0.2s;
}

.news-author:hover {
    color: var(--primary, #da0000);
}

.author-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-date,
.news-views {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date i,
.news-views i {
    color: var(--primary, #da0000);
    opacity: 0.7;
}

.news-image-main {
    margin: 32px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-image-main figcaption {
    padding: 12px 20px;
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.news-summary {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    border-left: 5px solid var(--primary, #da0000);
    padding: 24px 28px;
    border-radius: 12px;
    margin: 32px 0;
    font-size: 1.125rem;
    color: #334155;
    line-height: 1.8;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.news-summary p {
    margin-bottom: 0;
}

.news-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #2D3748;
    margin-top: 32px;
}

.news-content p {
    margin-bottom: 24px;
    font-weight: 400;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    color: #1a202c;
    font-weight: 800;
    line-height: 1.3;
}

.news-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 20px;
    border-left: 5px solid var(--primary, #da0000);
    padding-left: 20px;
}

.news-content h3 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    position: relative;
}

.news-content h3::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary, #da0000);
    opacity: 0.5;
}

.news-content img {
    border-radius: 12px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-content figure {
    margin: 32px 0;
}

.news-content figcaption {
    font-size: 0.875rem;
    color: #718096;
    text-align: center;
    margin-top: 12px;
    font-style: italic;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 6px;
}

.news-content blockquote {
    position: relative;
    border-left: none;
    padding: 32px 40px;
    margin: 48px 0;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 600;
}

.news-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary, #da0000);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.news-content ul,
.news-content ol {
    margin: 24px 0 24px 24px;
}

.news-content ul li {
    position: relative;
    padding-left: 10px;
    margin-bottom: 12px;
    list-style-type: disc;
}

.news-content ol li {
    padding-left: 10px;
    margin-bottom: 12px;
    list-style-type: decimal;
}

.news-content a {
    color: var(--primary, #da0000);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
}

.news-content a:hover {
    color: #000;
    text-decoration-color: var(--primary, #da0000);
}

.news-content hr {
    margin: 48px 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

/* Tags */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 48px 0 24px;
    padding-top: 32px;
    border-top: 2px dashed #f1f5f9;
}

.news-tags i {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-right: 4px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.tag:hover {
    background: #fff;
    color: var(--primary, #da0000);
    border-color: var(--primary, #da0000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 0, 0, 0.1);
}

/* Share */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 32px 0;
    padding: 16px 24px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.share-buttons span {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.share-btn:hover {
    transform: scale(1.15) rotate(8deg);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.share-facebook {
    background: #1877F2;
}

.share-twitter {
    background: #000000;
}

.share-whatsapp {
    background: #25D366;
}

/* Author box */
.author-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    margin: 48px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.author-box-avatar img,
.author-box-avatar .avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8fafc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 2.5rem;
}

.author-box-info {
    flex: 1;
}

.author-box-info h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.author-box-info h4 a {
    color: #1e293b;
}

.author-box-info h4 a:hover {
    color: var(--primary, #da0000);
}

.author-box-info p {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fafc;
    font-size: 0.875rem;
    color: #64748b;
    transition: all 0.2s;
}

.author-social a:hover {
    background: var(--primary, #da0000);
    color: #fff;
    transform: translateY(-2px);
}

/* Related news */
.related-news {
    margin-top: 40px;
}

.related-news h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.85rem;
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 8px;
    color: #ccc;
}

.breadcrumbs li:last-child::after {
    content: '';
}

.breadcrumbs a {
    color: #0066cc;
}

.breadcrumbs span {
    color: #888;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 30px 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-weight: 500;
    color: #555;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.page-link:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.page-link.active {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.page-link.dots {
    border: none;
    background: none;
    cursor: default;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 10px 0 20px;
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
}

.page-desc {
    color: #888;
    margin-top: 6px;
    font-size: 0.95rem;
}

/* ===== AUTHOR PROFILE ===== */
.author-profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
    margin: 20px 0 30px;
}

.author-profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.author-profile-info h1 {
    font-size: 1.8rem;
    font-weight: 800;
}

.author-role {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 4px;
}

.author-profile-info p {
    margin-top: 8px;
    opacity: 0.9;
    font-size: 0.95rem;
}

.author-profile-info .author-social a {
    color: rgba(255, 255, 255, 0.8);
}

.author-profile-info .author-social a:hover {
    color: #fff;
}

/* ===== SEARCH PAGE ===== */
.search-page {
    padding: 28px 0 36px;
}

.search-hero {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    padding: 18px;
    margin-bottom: 18px;
}

.search-title {
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.search-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 12px;
}

.search-form-large {
    display: flex;
    max-width: 100%;
    margin: 0;
}

.search-form-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-main-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbe3ee;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0 12px;
}

.search-main-input-wrap i {
    color: #64748b;
    font-size: 0.9rem;
}

.search-form-large input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 13px 0;
    border-radius: 0;
    font-size: 0.98rem;
    outline: none;
}

.search-form-large input:focus {
    outline: none;
}

.search-form-large button {
    height: 44px;
    border-radius: 10px;
    padding: 0 16px;
    background: var(--primary, #0066cc);
    color: #fff;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.search-form-large button:hover {
    filter: brightness(0.95);
}

.search-info {
    margin: 10px 2px 14px;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.search-pagination {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-pagination a {
    border: 1px solid #dbe3ee;
    background: #fff;
    color: #334155;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.86rem;
    font-weight: 700;
}

.search-pagination .search-pagination-state {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 4px;
}

/* Search results in "dot separated list" style */
.search-dot-list {
    display: flex;
    flex-direction: column;
}

.search-dot-item {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
    align-items: start;
    padding: 14px 0 18px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.28);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
}

.search-dot-item:last-child {
    border-bottom: none;
}

.search-dot-item .news-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.search-dot-item .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-dot-body h3 {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
}

.search-dot-body h3 a {
    color: #0f172a;
}

.search-dot-body h3 a:hover {
    color: var(--primary);
}

.search-dot-cat {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
    text-decoration: none;
}

.search-dot-body p {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 1.02rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-dot-meta {
    font-size: 0.82rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .search-hero {
        padding: 14px;
        border-radius: 12px;
    }
    .search-title {
        font-size: 1.2rem;
    }
    .search-subtitle {
        font-size: 0.84rem;
    }
    .search-form-large button {
        width: 100%;
        justify-content: center;
    }
    .search-dot-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .search-dot-body h3 {
        font-size: 1.28rem;
        line-height: 1.2;
    }
    .search-dot-body p {
        font-size: 0.95rem;
    }
}

/* ===== WIDGETS ===== */
.widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.widget-title i {
    color: var(--primary);
    margin-right: 6px;
}

.widget-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.widget-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: #f0f0f0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #666;
}

.widget-item:first-child .widget-rank {
    background: var(--primary);
    color: #fff;
}

.widget-item:nth-child(2) .widget-rank {
    background: #f39c12;
    color: #fff;
}

.widget-item:nth-child(3) .widget-rank {
    background: #3498db;
    color: #fff;
}

.widget-item-content {
    flex: 1;
    min-width: 0;
}

.widget-item-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: block;
}

.widget-item-title:hover {
    color: var(--primary);
}

.widget-item-date {
    font-size: 0.75rem;
    color: #aaa;
    display: block;
    margin-top: 4px;
}

.widget-item-image {
    width: 70px;
    height: 52px;
    overflow: hidden;
    flex-shrink: 0;
}

.widget-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 1rem;
}

/* ===== ERROR PAGE ===== */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.error-content h1 {
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.error-content p {
    font-size: 1.2rem;
    color: #666;
    margin: 16px 0 30px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background: #0055aa;
    color: #fff;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ===== AD BLOCKS ===== */
.ad-block {
    text-align: center;
    margin: 20px 0;
    min-height: 90px;
    contain: layout style;
}

.ad-block:empty {
    min-height: 0;
    display: none;
}

.ad-block img {
    max-width: 100%;
    border-radius: 8px;
}

/* ===== FOOTER (footer_templates) ===== */
.ft-footer { margin-top: 0; font-family: inherit; }
.ft-footer * { box-sizing: border-box; }
.ft-footer a { text-decoration: none; }
.ft-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.ft-premium-max { max-width: 1152px; }
.ft-centered-max { max-width: 896px; }
.ft-minimal-max { max-width: 1024px; }
.ft-py-6 { padding-top: 24px; padding-bottom: 24px; }
.ft-py-8 { padding-top: 32px; padding-bottom: 32px; }
.ft-py-12 { padding-top: 48px; padding-bottom: 48px; }
.ft-py-16 { padding-top: 64px; padding-bottom: 64px; }
.ft-mb-4 { margin-bottom: 16px; }
.ft-mb-6 { margin-bottom: 24px; }
.ft-mb-8 { margin-bottom: 32px; }
.ft-mb-12 { margin-bottom: 48px; }
.ft-text-center { text-align: center; }
.ft-text-sm { font-size: 1rem; font-weight: 600; }
.ft-muted { color: color-mix(in srgb, currentColor 60%, transparent); }
.ft-white { color: #fff; }
.ft-maxw-sm { max-width: 24rem; }
.ft-row { display: flex; align-items: center; }
.ft-row { flex-wrap: wrap; }
.ft-gap-3 { gap: 12px; }
.ft-divider { padding-top: 32px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.ft-grid { display: grid; gap: 32px; }
.ft-col { min-width: 0; }
.ft-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ft-list--loose { gap: 12px; }
.ft-h3 { font-weight: 700; margin: 0 0 16px; color: currentColor; }
.ft-kicker { font-size: 0.875rem; color: color-mix(in srgb, currentColor 58%, transparent); margin: 0 0 16px; font-weight: 500; }
.ft-link { color: color-mix(in srgb, currentColor 82%, transparent); font-size: 1rem; font-weight: 600; transition: color .15s ease; }
.ft-link:hover { color: currentColor; }
.ft-link--muted { color: color-mix(in srgb, currentColor 60%, transparent); }
.ft-link--muted:hover { color: currentColor; }
.ft-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 10px 20px; font-size: 0.875rem; font-weight: 600; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.ft-btn--sm { padding: 6px 16px; border-radius: 6px; font-size: 0.875rem; }
.ft-btn--danger { background: var(--primary, #dc2626); color: #fff; }
.ft-btn--danger:hover { background: color-mix(in srgb, var(--primary, #dc2626) 82%, #000); color: #fff; }
.ft-btn--dark { background: #1f2937; color: #fff; }
.ft-btn--dark:hover { background: #334155; color: #fff; }

/* Modern (gradient) footer: make RSS button match icon button background */
.ft-footer.ft-variant--modern .ft-btn--dark {
    background: color-mix(in srgb, currentColor 12%, transparent);
    color: currentColor;
}
.ft-footer.ft-variant--modern .ft-btn--dark:hover {
    background: color-mix(in srgb, currentColor 18%, transparent);
    color: currentColor;
}
.ft-btn--light { background: #fff; color: #dc2626; }
.ft-btn--light:hover { background: #fef2f2; color: #dc2626; }
.ft-social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.ft-social-plain { color: color-mix(in srgb, currentColor 82%, transparent); transition: color .15s ease; }
.ft-social-plain:hover { color: currentColor; }
.ft-social-boxes { display: flex; gap: 12px; flex-wrap: wrap; }
.ft-social-box { width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, currentColor 12%, transparent); color: currentColor; display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease; }
.ft-social-box:hover { background: color-mix(in srgb, currentColor 18%, transparent); color: currentColor; }
.ft-social-box--red { background: rgba(185, 28, 28, 1); }
.ft-social-box--red:hover { background: rgba(153, 27, 27, 1); }
.ft-social-box--red,
.ft-social-box--red:hover { color: #fff; }
.ft-logo { height: 32px; width: auto; display: block; }
.ft-logo--compact { height: 20px; }
.ft-logo--split { height: 36px; }
.ft-logo--premium { height: 42px; }
.ft-logo--centered { height: 44px; margin: 0 auto; }
.ft-centered-logo { margin-bottom: 12px; display: flex; justify-content: center; }

/* Variant backgrounds */
.ft-footer.ft-variant--classic,
.ft-footer.ft-variant--compact,
.ft-footer.ft-variant--centered { background: var(--ft-bg, #0f172a); color: var(--ft-fg, rgba(203, 213, 225, 1)); }
.ft-footer.ft-variant--premium { background: var(--ft-bg, #020617); color: var(--ft-fg, rgba(226, 232, 240, 1)); }
/* Modern gradient: use both accent (top) and footer bg (bottom) */
.ft-footer.ft-variant--modern { background: linear-gradient(to bottom, var(--ft-accent, var(--ft-bg, #0f172a)), var(--ft-bg, #000)); color: var(--ft-fg, #fff); }
.ft-footer.ft-variant--magazine { background: var(--ft-bg, #f1f5f9); color: var(--ft-fg, #0f172a); }
.ft-footer.ft-variant--minimal { background: var(--ft-bg, #fff); border-top: 1px solid color-mix(in srgb, var(--ft-fg, #0f172a) 12%, transparent); color: var(--ft-fg, #0f172a); }

/* Classic layout */
.ft-grid--classic { grid-template-columns: 1fr; }
.ft-btn.ft-mb-6 { width: 100%; }
.ft-divider.ft-text-center { border-top-color: color-mix(in srgb, currentColor 18%, transparent); }

/* Modern layout */
.ft-grid--modern { grid-template-columns: 1fr; }
.ft-modern-brand .ft-brand-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ft-brand-name { font-size: 24px; font-weight: 500; color: currentColor; }

/* Compact */
.ft-compact-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; }
.ft-compact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; font-size: 1rem; font-weight: 600; justify-content: center; }
.ft-compact-brand { color: currentColor; font-weight: 600; }
.ft-compact-actions { display: flex; align-items: center; gap: 16px; }
.ft-compact-social { display: flex; gap: 12px; padding-left: 12px; border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.ft-compact-bottom { margin-top: 16px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); text-align: center; font-size: 0.75rem; color: color-mix(in srgb, currentColor 58%, transparent); }

/* Split */
.ft-split { display: grid; grid-template-columns: 1fr; }
.ft-split-left { background: var(--ft-bg, #dc2626); color: #fff; padding: 40px 20px; }
.ft-split-right { background: var(--ft-accent, #0f172a); color: color-mix(in srgb, var(--ft-fg, rgba(203, 213, 225, 1)) 100%, transparent); padding: 40px 20px; }
.ft-split-left-inner, .ft-split-right-inner { max-width: 768px; margin: 0 auto; }
.ft-split-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ft-split-icon { font-size: 28px; }
.ft-split-name { font-size: 30px; font-weight: 500; }
.ft-split-about { color: color-mix(in srgb, currentColor 70%, transparent); margin: 0 0 32px; line-height: 1.7; }
.ft-split-follow-label { font-size: 0.875rem; color: color-mix(in srgb, currentColor 70%, transparent); margin-bottom: 12px; }
.ft-grid--split { grid-template-columns: 1fr; gap: 28px; }
.ft-split-bottom { padding-top: 32px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.ft-split-left-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
.ft-split-left-bottom .ft-muted { color: color-mix(in srgb, currentColor 85%, transparent); }
.ft-split-bottom-links { display: none; }

/* Premium */
.ft-grid--premium { grid-template-columns: 1fr; gap: 48px; }
.ft-footer.ft-variant--premium .ft-kicker { text-transform: uppercase; letter-spacing: 0.08em; }
.ft-footer.ft-variant--premium .ft-divider { border-top-color: color-mix(in srgb, currentColor 18%, transparent); }
.ft-footer.ft-variant--premium .ft-muted { color: color-mix(in srgb, currentColor 60%, transparent); }
.ft-premium-title { font-size: 30px; font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; margin: 0 0 16px; }
.ft-premium-social { display: flex; gap: 16px; flex-wrap: wrap; }
.ft-premium-social-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); display: inline-flex; align-items: center; justify-content: center; color: currentColor; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.ft-premium-social-btn:hover { border-color: color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, currentColor 10%, transparent); color: currentColor; }
.ft-grid--premium-links { grid-template-columns: 1fr; gap: 24px; }
.ft-premium-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
.ft-premium-bottom-links { display: flex; flex-wrap: wrap; gap: 24px; }

/* Centered */
.ft-centered-title { font-size: 30px; color: currentColor; margin: 0 0 12px; font-weight: 500; }
.ft-centered-about { color: color-mix(in srgb, currentColor 60%, transparent); margin: 0 auto 48px; max-width: 40rem; }
.ft-centered-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.ft-centered-social-btn { width: 44px; height: 44px; border-radius: 999px; background: color-mix(in srgb, currentColor 12%, transparent); color: currentColor; display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease; }
.ft-centered-social-btn:hover { background: color-mix(in srgb, currentColor 18%, transparent); }
.ft-centered-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; font-size: 1rem; font-weight: 600; margin-bottom: 32px; }
.ft-centered-bottom-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 16px; }

/* Minimal */
.ft-minimal-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; }
.ft-minimal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px; font-size: 1rem; font-weight: 600; }
.ft-minimal-link { color: color-mix(in srgb, currentColor 82%, transparent); transition: color .15s ease; }
.ft-minimal-link:hover { color: currentColor; }
.ft-minimal-social { display: flex; gap: 16px; }
.ft-minimal-social-btn { color: color-mix(in srgb, currentColor 82%, transparent); transition: color .15s ease; }
.ft-minimal-social-btn:hover { color: currentColor; }
.ft-minimal-bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); text-align: center; font-size: 0.875rem; color: color-mix(in srgb, currentColor 58%, transparent); }

/* Magazine */
.ft-grid--magazine { grid-template-columns: 1fr; }
.ft-magazine-cta { background: linear-gradient(135deg, #dc2626, #991b1b); border-radius: 16px; padding: 32px; color: #fff; }
.ft-magazine-cta-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.ft-magazine-title { font-size: 30px; margin: 0 0 12px; font-weight: 500; }
.ft-magazine-sub { color: color-mix(in srgb, currentColor 75%, transparent); margin: 0 0 24px; }
.ft-magazine-cta-media { display: none; }
.ft-magazine-cta-media img { width: 160px; height: 160px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,0.15); padding: 12px; }
.ft-magazine-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; color: color-mix(in srgb, currentColor 58%, transparent); font-weight: 600; }
.ft-magazine-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ft-magazine-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: color-mix(in srgb, currentColor 92%, transparent); padding: 6px 0; transition: color .15s ease; }
.ft-magazine-link i { opacity: 0; transition: opacity .15s ease; }
.ft-magazine-link:hover { color: #dc2626; }
.ft-magazine-link:hover i { opacity: 1; }
.ft-magazine-social { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.ft-magazine-social-btn { width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, currentColor 10%, transparent); color: color-mix(in srgb, currentColor 92%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease; }
.ft-magazine-social-btn:hover { background: #dc2626; color: #fff; }
.ft-magazine-bottom { padding-top: 24px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
.ft-magazine-bottom-links { display: flex; flex-wrap: wrap; gap: 24px; }
.ft-magazine-bottom-link { color: color-mix(in srgb, currentColor 70%, transparent); transition: color .15s ease; }
.ft-magazine-bottom-link:hover { color: currentColor; }

/* Responsive */
@media (min-width: 768px) {
  .ft-grid--classic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ft-grid--modern { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .ft-grid--magazine { grid-template-columns: 2fr 1fr; align-items: start; }
  /* Premium: slightly narrower brand to fit 3 menu columns */
  .ft-grid--premium { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .ft-grid--premium-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .ft-split-left { padding: 64px 24px; }
  .ft-split-right { padding: 64px 24px; }
  .ft-grid--split { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .ft-compact-row { flex-direction: row; }
  .ft-premium-bottom { flex-direction: row; }
  .ft-minimal-row { flex-direction: row; }
  .ft-magazine-bottom { flex-direction: row; }
}
@media (min-width: 1024px) {
  .ft-split { grid-template-columns: 1fr 1fr; }
  .ft-magazine-cta-media { display: block; }
  /* Premium: 3 menu columns on desktop */
  .ft-grid--premium-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .ft-container { padding-left: 16px; padding-right: 16px; }
}

/* Mobile typography boost for footer templates */
@media (max-width: 640px) {
  .ft-text-sm { font-size: 0.95rem; }
  .ft-link { font-size: 0.95rem; }
  .ft-kicker { font-size: 0.9rem; }
  .ft-list { gap: 10px; }

  .ft-premium-title,
  .ft-centered-title,
  .ft-magazine-title { font-size: 26px; }

  .ft-h3 { font-size: 1.05rem; margin-bottom: 14px; }
  .ft-btn { font-size: 0.95rem; padding: 12px 18px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .main-bottom-row {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .news-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .header-nav.mobile-open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    /* Drawer uses .mobile-nav-links; avoid duplicating desktop ul.nav-menu */
    .header-nav.mobile-open .nav-menu.hidden-md {
        display: none !important;
    }

    .header-nav.mobile-open .nav-menu {
        flex-direction: column;
        padding: 10px 0;
        text-align: left;
    }

    .header-nav.mobile-open .nav-menu li a {
        line-height: 50px !important;
        padding: 0 25px;
        color: var(--nav-text-color, #111827) !important;
    }

    /* Mobile drawer accordion: submenu must push content down (not absolute dropdown) */
    .header-nav.mobile-open .mobile-nav-links .has-dropdown > .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        min-width: 0 !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        display: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .header-nav.mobile-open .mobile-nav-links .has-dropdown.open > .dropdown-menu {
        display: block !important;
    }
    .header-nav.mobile-open .mobile-nav-links .has-dropdown > .dropdown-menu a {
        display: block;
        padding: 12px 25px 12px 40px !important;
        line-height: 1.25 !important;
        font-size: 14px !important;
        border-bottom: 1px solid rgba(0,0,0,0.04) !important;
        color: var(--nav-text-color, #111827) !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .news-grid-2,
    .news-grid-3,
    .news-grid-4 {
        grid-template-columns: 1fr;
    }

    .news-card-horizontal {
        grid-template-columns: 1fr;
    }

    .news-card-horizontal .news-card-image {
        padding-top: 55%;
    }

    .slider-title {
        font-size: 1.3rem;
    }

    .news-title {
        font-size: 1.5rem;
    }

    .author-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .headline-numbers-desktop {
        display: none;
    }

    .headline-dots-mobile {
        display: block;
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        z-index: 10;
        display: flex;
        justify-content: center;
    }

    .headline-title {
        font-size: 1.4rem;
    }

    .headline-content {
        bottom: 40px;
        padding: 0 20px;
    }

    .search-form-large {
        flex-direction: column;
    }

    .search-form-large input {
        border-right: 2px solid #e0e0e0;
        border-radius: 12px;
    }

    .search-form-large button {
        border-radius: 12px;
        margin-top: 8px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SPLITTER WIDGET GRID SYSTEM
   ═══════════════════════════════════════════════════════════ */
.splitter-widget .splitter-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.splitter-widget .splitter-col {
    box-sizing: border-box;
    width: 100%;
    /* Mobile default */
}

/* Desktop Breakpoint */
@media (min-width: 992px) {
    .splitter-widget .splitter-col.w-100 {
        width: 100%;
    }

    .splitter-widget .splitter-col.w-50 {
        width: 50%;
    }

    .splitter-widget .splitter-col.w-33 {
        width: 33.333%;
    }

    .splitter-widget .splitter-col.w-25 {
        width: 25%;
    }

    .splitter-widget .splitter-col.w-70 {
        width: 70%;
    }

    .splitter-widget .splitter-col.w-30 {
        width: 30%;
    }

    .splitter-widget .splitter-col.w-16 {
        width: 16.666%;
    }

    /* 12-Column Grid System for Splitter */
    .splitter-widget .splitter-col-1 {
        width: 8.333333%;
    }

    .splitter-widget .splitter-col-2 {
        width: 16.666667%;
    }

    .splitter-widget .splitter-col-3 {
        width: 25%;
    }

    .splitter-widget .splitter-col-4 {
        width: 33.333333%;
    }

    .splitter-widget .splitter-col-5 {
        width: 41.666667%;
    }

    .splitter-widget .splitter-col-6 {
        width: 50%;
    }

    .splitter-widget .splitter-col-7 {
        width: 58.333333%;
    }

    .splitter-widget .splitter-col-8 {
        width: 66.666667%;
    }

    .splitter-widget .splitter-col-9 {
        width: 75%;
    }

    .splitter-widget .splitter-col-10 {
        width: 83.333333%;
    }

    .splitter-widget .splitter-col-11 {
        width: 91.666667%;
    }

    .splitter-widget .splitter-col-12 {
        width: 100%;
    }
}

/* ========================================================
   GRID HABER BLOĞU — Grid News Block (1-6 Sütun)
   ======================================================== */

.block-grid-news {
    margin-bottom: 20px;
}

/* --- Unified Block Header & Container Styles (10 Variations) --- */
.block-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
    width: 100%;
}

.block-header h2 {
    margin: 0;
    line-height: 1;
    color: #1a1a2e;
}

/* 1. Alt Çizgili (style_border) */
.style_border .block-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
}

.style_border .block-header h2 {
    position: relative;
    font-size: 1.4rem;
    font-weight: 800;
}

.style_border .block-header h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--cv-accent, var(--vn-accent, var(--gn-accent, var(--primary))));
}

/* 2. Sol Şeritli (style_ribbon) */
.style_ribbon .block-header {
    padding-left: 15px;
    border-left: 5px solid var(--cv-accent, var(--vn-accent, var(--gn-accent, var(--primary))));
}

.style_ribbon .block-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
}

/* 3. Kutu Arkaplanlı (style_boxed) */
.style_boxed .block-header {
    background: rgba(0, 0, 0, 0.03);
    padding: 12px 18px;
    border-radius: 6px;
    border-left: 4px solid var(--cv-accent, var(--vn-accent, var(--gn-accent, var(--primary))));
}

.style_boxed .block-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 4. Çift Çizgili (style_double) */
.style_double .block-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}

.style_double .block-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    position: relative;
}

.style_double .block-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--cv-accent, var(--vn-accent, var(--gn-accent, var(--primary))));
}

.style_double .block-header h2::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

/* 5. Kapsül / Pill (style_pill) */
.style_pill .block-header {
    justify-content: flex-start;
}

.style_pill .block-header h2 {
    background: var(--cv-accent, var(--vn-accent, var(--gn-accent, var(--primary))));
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.95rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 6. Dış Çerçeveli (style_outline) */
.style_outline .container {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    border-radius: 12px;
}

.style_outline .block-header {
    margin-bottom: 20px;
}

.style_outline .block-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--vn-accent, var(--gn-accent, var(--primary)));
}

/* 7. Gradyan Bar (style_gradient) */
.style_gradient .block-header {
    background: linear-gradient(to right, var(--vn-accent, var(--gn-accent, var(--primary))), transparent);
    padding: 12px 20px;
    border-radius: 6px;
}

.style_gradient .block-header h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

/* 8. İki Renkli (style_dual) */
.style_dual .block-header {
    background: #1a1a2e;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
}

.style_dual .block-header h2 {
    color: #fff;
    padding: 12px 25px;
    background: var(--vn-accent, var(--gn-accent, var(--primary)));
    font-size: 1.1rem;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
    padding-right: 45px;
}

/* 9. Eğik Vurgu (style_slash) */
.style_slash .block-header {
    border-bottom: 3px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 10px;
}

.style_slash .block-header h2 {
    position: relative;
    padding-right: 25px;
    font-weight: 800;
}

.style_slash .block-header h2::after {
    content: '//';
    position: absolute;
    right: 0;
    color: var(--vn-accent, var(--gn-accent, var(--primary)));
    font-style: italic;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -2px;
}

/* 10. Yan Çizgili (style_side) */
.style_side .block-header {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.style_side .block-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    padding-left: 14px;
    border-left: 4px solid var(--vn-accent, var(--gn-accent, var(--primary)));
}

/* --- Grid Container --- */
.gn-grid {
    display: grid;
    gap: 24px;
}

.gn-cols-1 {
    grid-template-columns: 1fr;
}

.gn-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gn-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gn-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gn-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gn-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* --- Ortak Kart Öğeleri --- */
.gn-card {
    position: relative;
    height: 100%;
}

.gn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.gn-card-img {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.gn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gn-card:hover .gn-card-img img {
    transform: scale(1.08);
}

.gn-card-cat {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    /* Improve legibility on bright category colors (PageSpeed contrast). */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    /* Darken the (often bright) inline background without changing markup */
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.35);
}

.gn-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    transition: color 0.2s;
}

.gn-card-date {
    font-size: 0.78rem;
    color: #475569;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gn-card-date i { opacity: 0.7; font-size: 0.72rem; }

/* ==========================================
   STYLE 1: CLASSIC
   ========================================== */
.gn-style-classic .gn-card-classic {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gn-style-classic .gn-card-classic:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gn-style-classic .gn-card-img {
    aspect-ratio: 16 / 10;
}

.gn-style-classic .gn-card-cat {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gn-style-classic .gn-card-body {
    padding: 15px;
}

.gn-style-classic .gn-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.gn-style-classic .gn-card-desc {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gn-card-title+*,
.vn-classic-title+*,
.vn-mag-title+*,
.vn-nm-title+*,
.vn-min-title+*,
.vn-compact-right-title+*,
.vn-hero-title+*,
.vn-hlist-title+*,
.vn-timeline-title+* {
    margin-top: 12px !important;
}

.gn-style-classic .gn-card:hover .gn-card-title {
    color: var(--gn-accent);
}

/* ==========================================
   STYLE 2: MODERN OVERLAY
   ========================================== */
.gn-style-modern_overlay .gn-card-modern .gn-card-img {
    aspect-ratio: 10 / 12;
}

.gn-style-modern_overlay .gn-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.gn-style-modern_overlay .gn-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
    color: #fff;
}

.gn-style-modern_overlay .gn-card-cat {
    margin-bottom: 8px;
}

.gn-style-modern_overlay .gn-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gn-style-modern_overlay .gn-card-date {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 6px;
}

/* ==========================================
   STYLE 3: MINIMAL
   ========================================== */
.gn-style-minimal .gn-card-minimal {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.gn-style-minimal .gn-grid {
    gap: 30px;
}

.gn-style-minimal .gn-card-cat {
    display: inline-block;
    padding: 3px 10px;
    margin-bottom: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 3px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.35);
    box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.25);
}

.gn-style-minimal .gn-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.gn-style-minimal .gn-card:hover .gn-card-title {
    color: var(--gn-accent);
}

/* ==========================================
   STYLE 4: MAGAZINE (Horizontal)
   ========================================== */
.gn-style-magazine .gn-grid { gap: 0; }

.gn-style-magazine .gn-card-magazine {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.gn-style-magazine .gn-card-magazine:last-child { border-bottom: none; }
.gn-style-magazine .gn-card-magazine:first-child { padding-top: 0; }

.gn-style-magazine .gn-card-magazine .gn-card-link {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    align-items: start;
    text-decoration: none;
    color: inherit;
}

.gn-style-magazine .gn-card-img {
    flex: unset;
    width: 180px;
    height: 135px;          /* 180 * 3/4 = 135 — sabit oran (4:3) */
    aspect-ratio: auto;
    border-radius: 0;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: none;
    border: none;
    flex-shrink: 0;
}
.gn-style-magazine .gn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.2,.6,.2,1);
}
.gn-style-magazine .gn-card-magazine:hover .gn-card-img img {
    transform: scale(1.04);
}

.gn-style-magazine .gn-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 2px 0;
    min-width: 0;
    overflow: hidden;
}

.gn-style-magazine .gn-card-cat {
    background: none !important;
    padding: 0;
    box-shadow: none;
    text-shadow: none;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gn-accent);
    align-self: flex-start;
}

.gn-style-magazine .gn-card-title {
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.gn-style-magazine .gn-card-magazine:hover .gn-card-title {
    color: var(--gn-accent);
}

.gn-style-magazine .gn-card-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gn-style-magazine .gn-card-date {
    margin-top: auto;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding-top: 4px;
}

@media (max-width: 560px) {
    .gn-style-magazine .gn-card-magazine .gn-card-link {
        grid-template-columns: 110px 1fr;
        gap: 12px;
    }
    .gn-style-magazine .gn-card-img {
        width: 110px;
        height: 82px;   /* 110 * 3/4 ≈ 82 */
    }
    .gn-style-magazine .gn-card-title { font-size: 1rem; }
    .gn-style-magazine .gn-card-desc { -webkit-line-clamp: 2; line-clamp: 2; font-size: 0.82rem; }
}

/* ==========================================
   STYLE 5: BOLD CARD — editöryal, sol accent şerit
   ========================================== */
.gn-style-bold_card .gn-card-bold {
    position: relative;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(.2,.6,.2,1), box-shadow 0.3s ease;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.gn-style-bold_card .gn-card-bold::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--gn-accent);
    transition: width 0.25s ease;
    z-index: 2;
}

.gn-style-bold_card .gn-card-bold:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(15,23,42,0.18);
}
.gn-style-bold_card .gn-card-bold:hover::before { width: 8px; }

.gn-style-bold_card .gn-card-img {
    aspect-ratio: 3 / 2;
    border-bottom: none;
    overflow: hidden;
}
.gn-style-bold_card .gn-card-img img {
    filter: saturate(1);
    transition: transform 0.6s cubic-bezier(.2,.6,.2,1), filter 0.3s;
}
.gn-style-bold_card .gn-card-bold:hover .gn-card-img img { transform: scale(1.06); }

.gn-style-bold_card .gn-card-cat {
    position: static;
    display: inline-block;
    background: transparent !important;
    color: var(--gn-accent) !important;
    text-shadow: none;
    box-shadow: none;
    padding: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 22px;
}
.gn-style-bold_card .gn-card-cat::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 14px; height: 2px;
    background: var(--gn-accent);
    transform: translateY(-50%);
}

.gn-style-bold_card .gn-card-body {
    padding: 20px 22px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gn-style-bold_card .gn-card-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0f172a;
    text-transform: none;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.gn-style-bold_card .gn-card-bold:hover .gn-card-title { color: var(--gn-accent); }

.gn-style-bold_card .gn-card-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gn-style-bold_card .gn-card-meta {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(15,23,42,0.06);
}
.gn-style-bold_card .gn-card-date {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ==========================================
   Grid: BORDERED CARD (Figma Block 3)
   ========================================== */
.gn-style-bordered_card .gn-card-bordered {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.gn-style-bordered_card .gn-card-bordered:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gn-style-bordered_card .gn-card-img {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.gn-style-bordered_card .gn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gn-style-bordered_card .gn-card-bordered:hover .gn-card-img img {
    transform: scale(1.1);
}

.gn-style-bordered_card .gn-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.gn-style-bordered_card .gn-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gn-style-bordered_card .gn-card-title {
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.gn-style-bordered_card .gn-card-bordered:hover .gn-card-title {
    color: var(--gn-accent, var(--primary));
}

.gn-style-bordered_card .gn-card-desc {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gn-style-bordered_card .gn-card-date {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ==========================================
   Grid: OVERLAY CARD (Figma Block 4)
   ========================================== */
.gn-style-overlay_card .gn-card-overlay {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.gn-style-overlay_card .gn-card-overlay:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gn-style-overlay_card .gn-overlay-img {
    position: relative;
    height: 256px;
    overflow: hidden;
}

.gn-style-overlay_card .gn-overlay-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gn-style-overlay_card .gn-card-overlay:hover .gn-overlay-img img {
    transform: scale(1.05);
}

.gn-style-overlay_card .gn-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    pointer-events: none;
}

.gn-style-overlay_card .gn-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: #fff;
}

.gn-style-overlay_card .gn-overlay-content .gn-card-cat {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
}

.gn-style-overlay_card .gn-overlay-content .gn-card-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 4px;
    transition: color 0.2s;
}

.gn-style-overlay_card .gn-card-overlay:hover .gn-overlay-content .gn-card-title {
    color: rgba(255, 200, 200, 1);
}

.gn-style-overlay_card .gn-overlay-content .gn-card-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.gn-style-overlay_card .gn-card-body {
    padding: 16px;
}

.gn-style-overlay_card .gn-card-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   Grid: VIDEO CARD (Figma Block 11)
   ========================================== */
.gn-style-video_card .gn-card-video {
    overflow: hidden;
}

.gn-style-video_card .gn-video-img {
    position: relative;
    height: 256px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.gn-style-video_card .gn-video-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gn-style-video_card .gn-card-video:hover .gn-video-img img {
    transform: scale(1.05);
}

.gn-style-video_card .gn-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

.gn-style-video_card .gn-card-video:hover .gn-video-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.gn-style-video_card .gn-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.gn-style-video_card .gn-card-video:hover .gn-video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.gn-style-video_card .gn-video-play i {
    color: #fff;
    font-size: 1.4rem;
    margin-left: 4px;
}

.gn-style-video_card .gn-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc2626;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.gn-style-video_card .gn-video-cat {
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.gn-style-video_card .gn-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 4px 0 8px;
    transition: color 0.2s;
}

.gn-style-video_card .gn-card-video:hover .gn-card-title {
    color: var(--gn-accent, var(--primary));
}

.gn-style-video_card .gn-card-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 8px;
}

/* ==========================================
   Grid: TWO COL LIST (Figma Block 14)
   ========================================== */
.gn-style-two_col_list .gn-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .gn-style-two_col_list .gn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gn-style-two_col_list .gn-card-twocol {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 20px;
}

.gn-style-two_col_list .gn-card-twocol:last-child {
    border-bottom: none;
}

.gn-style-two_col_list .gn-twocol-link {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

@media (max-width: 480px) {
    .gn-style-two_col_list .gn-twocol-link {
        flex-direction: column;
    }

    .gn-style-two_col_list .gn-twocol-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }
}

.gn-style-two_col_list .gn-twocol-img {
    width: 160px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

@media (min-width: 1200px) {
    .gn-style-two_col_list .gn-twocol-img {
        width: 192px;
        height: 128px;
    }
}

.gn-style-two_col_list .gn-twocol-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s, transform 0.5s;
}

.gn-style-two_col_list .gn-card-twocol:hover .gn-twocol-img img {
    opacity: 0.9;
    transform: scale(1.05);
}

.gn-style-two_col_list .gn-twocol-cat {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gn-accent, var(--primary));
    margin-bottom: 4px;
    display: block;
}

.gn-style-two_col_list .gn-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 4px 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.gn-style-two_col_list .gn-card-twocol:hover .gn-card-title {
    color: var(--gn-accent, var(--primary));
}

.gn-style-two_col_list .gn-card-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   Grid: MINI CARDS (Figma Block 18)
   ========================================== */
.gn-style-mini_cards .gn-grid {
    grid-template-columns: repeat(4, 1fr);
}



.gn-style-mini_cards .gn-card-mini {
    border: none;
    background: transparent;
    box-shadow: none;
}
.gn-style-mini_cards .gn-card-mini .gn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gn-style-mini_cards .gn-mini-img {
    position: relative;
    height: 128px;
    overflow: hidden;
    border-radius: 0;
    border: none;
    margin-bottom: 10px;
    background: #f1f5f9;
}

.gn-style-mini_cards .gn-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(.2,.6,.2,1);
}

.gn-style-mini_cards .gn-card-mini:hover .gn-mini-img img {
    transform: scale(1.06);
}

.gn-style-mini_cards .gn-mini-gradient { display: none; }

.gn-style-mini_cards .gn-card-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 9px;
    font-size: 0.66rem;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.gn-style-mini_cards .gn-mini-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.gn-style-mini_cards .gn-card-mini:hover .gn-mini-title {
    color: var(--gn-accent, var(--primary));
}

.gn-style-mini_cards .gn-card-meta { padding: 0; }
.gn-style-mini_cards .gn-card-date { font-size: 0.74rem; color: #64748b; font-weight: 600; }

/* --- Responsive --- */
@media (max-width: 992px) {

    .gn-cols-4,
    .gn-cols-5,
    .gn-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .gn-cols-3,
    .gn-cols-4,
    .gn-cols-5,
    .gn-cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .gn-cols-2,
    .gn-cols-3,
    .gn-cols-4,
    .gn-cols-5,
    .gn-cols-6 {
        grid-template-columns: 1fr;
    }

    /* magazine kendi responsive kurallarını yukarıda tanımlıyor */
}

/* ========================================================
   BORSA DIKEY LISTE — Stock Vertical List Block
   ======================================================== */

.block-stock-vertical {
    margin-bottom: 20px;
}


.sv-title {
    font-size: 1rem;
    font-weight: 900;
    color: #1a1a2e;
    text-transform: uppercase;
}

/* --- Global Trend Colors --- */
.sv-up {
    color: #00873c;
}

.sv-down {
    color: #cc0000;
}

/* ==========================================
   STYLE 1: CLASSIC (Prototype Match)
   ========================================== */
.sv-style-classic .sv-group {
    margin-bottom: 18px;
}

.sv-style-classic .sv-group-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
}

.sv-style-classic .sv-item {
    border-bottom: 1px dashed #ccc;
    padding: 2px 0;
}

.sv-style-classic .sv-item:last-child {
    border-bottom: none;
}

.sv-style-classic .sv-row-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.sv-style-classic .sv-symbol {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
}

.sv-style-classic .sv-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
}

.sv-style-classic .sv-row-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sv-style-classic .sv-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sv-style-classic .sv-change-group {
    display: flex;
    gap: 5px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ==========================================
   STYLE: PİYASALAR (minimal — tek sütun liste)
   ========================================== */
.sv-style-piyasalar {
    background: #fff;
    color: #0f172a;
    border-radius: 0;
}

.sv-style-piyasalar .sv-piy-head {
    padding-bottom: 8px;
    margin-bottom: 2px;
    border-bottom: 1px solid #e5e7eb;
}

.sv-style-piyasalar .sv-piy-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    text-transform: none;
}

.sv-style-piyasalar .sv-piy-sub {
    margin: 3px 0 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
}

.sv-style-piyasalar .sv-piy-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sv-style-piyasalar .sv-piy-section {
    margin-bottom: 12px;
}

.sv-style-piyasalar .sv-piy-section:last-of-type {
    margin-bottom: 0;
}

.sv-style-piyasalar .sv-piy-section-title {
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sv-style-piyasalar .sv-piy-list {
    display: flex;
    flex-direction: column;
}

.sv-style-piyasalar .sv-piy-empty {
    padding: 10px 0;
    margin: 0;
    color: #64748b;
    font-weight: 600;
    font-size: 0.875rem;
}

.sv-style-piyasalar .sv-piy-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: none;
    cursor: default;
}

.sv-style-piyasalar .sv-piy-row[role="link"] {
    cursor: pointer;
}

.sv-style-piyasalar .sv-piy-row[role="link"]:hover .sv-piy-symbol {
    color: var(--sv-accent, #1a1a2e);
}

.sv-style-piyasalar .sv-piy-start {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.sv-style-piyasalar .sv-piy-logo-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-style-piyasalar .sv-piy-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 5px;
    box-sizing: border-box;
}

.sv-style-piyasalar .sv-piy-logo.sv-piy-logo--broken {
    display: none !important;
}

.sv-style-piyasalar .sv-piy-logo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 900;
    color: #64748b;
    letter-spacing: -0.02em;
    text-align: center;
    line-height: 1.05;
    padding: 2px;
    box-sizing: border-box;
}

.sv-style-piyasalar .sv-piy-logo-fallback.sv-piy-logo-fallback--show {
    display: flex;
}

.sv-style-piyasalar .sv-piy-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.sv-style-piyasalar .sv-piy-symbol {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.sv-style-piyasalar .sv-piy-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sv-style-piyasalar .sv-piy-vol {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
}

.sv-style-piyasalar .sv-piy-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
    text-align: right;
}

.sv-style-piyasalar .sv-piy-price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.sv-style-piyasalar .sv-piy-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.sv-style-piyasalar .sv-piy-row--up .sv-piy-pct,
.sv-style-piyasalar .sv-piy-row--up .sv-piy-ico {
    color: #00873c;
}

.sv-style-piyasalar .sv-piy-row--down .sv-piy-pct,
.sv-style-piyasalar .sv-piy-row--down .sv-piy-ico {
    color: #cc0000;
}

.sv-style-piyasalar .sv-piy-ico {
    font-size: 0.875rem;
}

.sv-style-piyasalar .sv-piy-foot {
    text-align: center;
    padding-top: 10px;
    margin-top: 4px;
}

.sv-style-piyasalar .sv-piy-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    box-shadow: none !important;
}

.sv-style-piyasalar .sv-piy-all:hover {
    color: var(--sv-accent, #1a1a2e);
}

.sv-style-piyasalar .sv-piy-all i {
    font-size: 0.75rem;
    opacity: 0.85;
}

/* ==========================================
   STYLE: PİYASA KARTLARI (şeffaf; hacim metadan / quote)
   ========================================== */
.sv-style-piyasa_kartlari {
    background: transparent !important;
    color: #0f172a;
}

.sv-style-piyasa_kartlari .sv-pk-shell {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-sizing: border-box;
}

.sv-style-piyasa_kartlari .sv-pk-head {
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.sv-style-piyasa_kartlari .sv-pk-title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.sv-style-piyasa_kartlari .sv-pk-sub {
    margin: 3px 0 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
}

.sv-style-piyasa_kartlari .sv-pk-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sv-style-piyasa_kartlari .sv-pk-section {
    margin-bottom: 10px;
}

.sv-style-piyasa_kartlari .sv-pk-section:last-of-type {
    margin-bottom: 0;
}

.sv-style-piyasa_kartlari .sv-pk-section-title {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sv-style-piyasa_kartlari .sv-pk-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sv-style-piyasa_kartlari .sv-pk-empty {
    padding: 8px 0;
    margin: 0;
    color: #64748b;
    font-weight: 600;
    font-size: 0.8125rem;
}

.sv-style-piyasa_kartlari .sv-pk-card {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 6px 0 7px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    transition: opacity 0.15s ease;
}

.sv-style-piyasa_kartlari .sv-pk-list .sv-pk-card:last-child {
    border-bottom: none;
}

.sv-style-piyasa_kartlari .sv-pk-card[role="link"] {
    cursor: pointer;
}

.sv-style-piyasa_kartlari .sv-pk-card[role="link"]:hover {
    opacity: 0.92;
}

.sv-style-piyasa_kartlari .sv-pk-card[role="link"]:hover .sv-pk-symbol {
    color: var(--sv-accent, #1a1a2e);
}

.sv-style-piyasa_kartlari .sv-pk-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.sv-style-piyasa_kartlari .sv-pk-logo-wrap {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 6px;
    background: transparent;
    border: 1px solid rgba(226, 232, 240, 0.85);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-style-piyasa_kartlari .sv-pk-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 4px;
    box-sizing: border-box;
}

.sv-style-piyasa_kartlari .sv-pk-logo.sv-pk-logo--broken {
    display: none !important;
}

.sv-style-piyasa_kartlari .sv-pk-logo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 900;
    color: #64748b;
    letter-spacing: -0.02em;
    text-align: center;
    line-height: 1.05;
    padding: 2px;
    box-sizing: border-box;
}

.sv-style-piyasa_kartlari .sv-pk-logo-fallback.sv-pk-logo-fallback--show {
    display: flex;
}

.sv-style-piyasa_kartlari .sv-pk-main {
    flex: 1 1 auto;
    min-width: 0;
}

.sv-style-piyasa_kartlari .sv-pk-row1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.sv-style-piyasa_kartlari .sv-pk-symgrp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.sv-style-piyasa_kartlari .sv-pk-symbol {
    font-size: 0.875rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.sv-style-piyasa_kartlari .sv-pk-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.sv-style-piyasa_kartlari .sv-pk-pill--up {
    background: #dcfce7;
    color: #166534;
}

.sv-style-piyasa_kartlari .sv-pk-pill--down {
    background: #fee2e2;
    color: #991b1b;
}

.sv-style-piyasa_kartlari .sv-pk-pill-ico {
    font-size: 0.65rem;
    line-height: 1;
    opacity: 0.95;
}

.sv-style-piyasa_kartlari .sv-pk-price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    line-height: 1.2;
}

.sv-style-piyasa_kartlari .sv-pk-name {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sv-style-piyasa_kartlari .sv-pk-vol {
    display: block;
    margin-top: 3px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #475569;
    font-variant-numeric: tabular-nums;
}

.sv-style-piyasa_kartlari .sv-pk-vol-lbl {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
}

.sv-style-piyasa_kartlari .sv-pk-vol-val {
    color: #2563eb;
    font-weight: 800;
}

.sv-style-piyasa_kartlari .sv-pk-foot {
    margin-top: 10px;
    padding-top: 2px;
}

.sv-style-piyasa_kartlari .sv-pk-all {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--sv-accent, #2563eb);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.8125rem;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
    box-shadow: none !important;
    transition: filter 0.15s ease, opacity 0.15s ease;
}

.sv-style-piyasa_kartlari .sv-pk-all:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

/* ==========================================
   PUAN DURUMU SİDEBAR — League Table Widget
   ========================================== */
.block-league-table {
    margin-bottom: 30px;
    background: #fff;
    overflow: hidden;
    font-family: inherit;
    border: none;
    /* No outer border as requested */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow for depth */
}

/* --- Shared Table Core --- */
.lt-table {
    width: 100%;
    border-collapse: collapse;
}

.lt-table thead th {
    padding: 12px 10px;
    font-weight: 800;
    color: #334155;
    font-size: 0.8rem;
    border-bottom: 1px solid #f0f3f7;
}

.lt-table td {
    padding: 14px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f3f7;
    font-size: 0.95rem;
}

.lt-th-rank,
.lt-td-rank {
    width: 45px;
    text-align: center;
}

.lt-th-team,
.lt-td-team {
    text-align: left !important;
}

.lt-th-cell,
.lt-td-cell {
    width: 35px;
    text-align: center;
    color: #334155;
}

.lt-td-pts {
    font-weight: 900;
    color: #000;
    width: 40px;
}

.lt-team-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.lt-team-name {
    font-weight: 700;
    color: #1a1e2e;
    font-size: 1rem;
}

/* ==========================================
   TASARIM 1 — TEMİZ AÇIK (clean_light)
   ========================================== */
.lt-style-clean_light .lt-header {
    background: #f1f2f4;
    /* Greyish header */
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-style-clean_light .lt-header-icon {
    color: #d00a0a;
    font-size: 1.3rem;
}

.lt-style-clean_light .lt-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 900;
    color: #000;
    letter-spacing: -0.2px;
}

.lt-style-clean_light .lt-table thead th {
    border-top: 1px solid #f0f3f7;
    text-align: left;
    background: #fff;
    padding-left: 20px;
}

.lt-style-clean_light .lt-td-rank {
    font-weight: 900;
    font-size: 1rem;
    color: #000;
}

.lt-style-clean_light .lt-row:first-child .lt-td-rank {
    color: #d00a0a;
}

/* Rank 1 red */
.lt-style-clean_light .lt-team-logo {
    border-radius: 4px;
    border: 1px solid #eee;
}

.lt-style-clean_light .lt-footer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    color: #cc0000;
    font-weight: 900;
    font-size: 0.95rem;
    text-decoration: none;
    background: #fff;
}

.lt-style-clean_light .lt-footer-link i {
    font-size: 0.8rem;
}

/* ==========================================
   TASARIM 2 — MODERN LACİVERT (modern_dark)
   ========================================== */
.lt-style-modern_dark .lt-header {
    background: #0b1a3b;
    /* Dark Navy */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lt-style-modern_dark .lt-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.lt-style-modern_dark .lt-header-icon {
    color: #fff;
    font-size: 1.2rem;
}

.lt-style-modern_dark .lt-table thead th {
    background: #f2f6f9;
    color: #556e8a;
    border-bottom: none;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.lt-style-modern_dark .lt-td-rank {
    font-weight: 900;
    font-size: 1.1rem;
}

.lt-style-modern_dark .lt-rank-first {
    border-left: 4px solid #f00;
}

/* Rank 1 left bar */
.lt-style-modern_dark .lt-team-logo {
    border-radius: 50%;
}

.lt-style-modern_dark .lt-footer {
    padding: 15px 20px;
    background: #fff;
}

.lt-style-modern_dark .lt-btn-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #f0f4f9;
    color: #0b1a3b;
    padding: 14px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
}

/* ==========================================
   TASARIM 3 — CANLI YEŞİL (vibrant_green)
   ========================================== */
.lt-style-vibrant_green .lt-header {
    background: #17b676;
    /* Vibrant Green */
    padding: 22px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lt-style-vibrant_green .lt-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-style-vibrant_green .lt-header-icon {
    color: #fff;
    font-size: 1.5rem;
}

.lt-style-vibrant_green .lt-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
}

.lt-style-vibrant_green .lt-header {
    flex-wrap: wrap;
    gap: 8px 12px;
}

.lt-style-vibrant_green .lt-league-badge {
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
    padding: 5px 10px;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.lt-style-vibrant_green .lt-league-badge i {
    font-size: 0.7rem;
    opacity: 0.9;
}

.lt-style-vibrant_green .lt-title {
    font-size: 0.9rem;
}

.lt-style-vibrant_green .lt-table thead th {
    background: #f4f7f9;
    color: #5a6e84;
    border-bottom: none;
}

.lt-style-vibrant_green .lt-td-rank {
    color: #17b676;
    font-size: 1.1rem;
    font-weight: 900;
}

.lt-style-vibrant_green .lt-team-name {
    text-transform: uppercase;
    font-size: 1rem;
    color: #1a1e2e;
}

.lt-style-vibrant_green .lt-team-logo-placeholder {
    background: #f0f3f6;
    padding: 3px;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.lt-style-vibrant_green .lt-team-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lt-style-vibrant_green .lt-team-info {
    gap: 10px;
}

.lt-style-vibrant_green .lt-td-team {
    min-width: 0;
}

.lt-style-vibrant_green .lt-team-name {
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
}

.lt-style-vibrant_green .lt-footer {
    padding: 15px 20px;
    background: #fff;
}

.lt-style-vibrant_green .lt-btn-full {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #121e2d;
    /* Dark Footer */
    color: #fff;
    padding: 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
}

/* ==========================================
   TASARIM 4 — ZEBRA / GRİ BEYAZ (zebra_striped)
   ========================================== */
.lt-style-zebra_striped .lt-header,
.lt-style-grey_white .lt-header {
    padding: 18px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 0;
}

.lt-style-zebra_striped .lt-header-main,
.lt-style-grey_white .lt-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lt-style-zebra_striped .lt-header-icon,
.lt-style-grey_white .lt-header-icon {
    color: var(--lt-accent);
    font-size: 1.1rem;
}

.lt-style-zebra_striped .lt-title,
.lt-style-grey_white .lt-title {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e293b;
}

.lt-style-zebra_striped .lt-league-info,
.lt-style-grey_white .lt-league-info {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lt-style-zebra_striped .lt-table thead th,
.lt-style-grey_white .lt-table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 12px 10px;
}

.lt-style-zebra_striped .lt-row:nth-child(even) td,
.lt-style-grey_white .lt-row:nth-child(even) td {
    background: #f8fafc;
}

.lt-style-zebra_striped .lt-logo-box,
.lt-style-grey_white .lt-logo-box {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lt-style-zebra_striped .lt-logo-box img,
.lt-style-grey_white .lt-logo-box img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.lt-style-zebra_striped .lt-td-pts,
.lt-style-grey_white .lt-td-pts {
    color: var(--lt-accent);
    font-weight: 800;
}

.lt-style-zebra_striped .lt-btn-zebra,
.lt-style-grey_white .lt-btn-zebra {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border-top: 1px solid #eee;
    color: var(--lt-accent);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.2s;
}

.lt-style-zebra_striped .lt-btn-zebra:hover,
.lt-style-grey_white .lt-btn-zebra:hover {
    background: var(--lt-accent);
    color: #fff;
}

.lt-style-zebra_striped .lt-legend,
.lt-style-grey_white .lt-legend {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #eee;
}

.lt-style-zebra_striped .lt-sep,
.lt-style-grey_white .lt-sep {
    width: 4px;
    height: 12px;
    background: var(--lt-accent);
}

.lt-style-zebra_striped .lt-legend p,
.lt-style-grey_white .lt-legend p {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    margin: 0;
}

/* ==========================================
   TASARIM 5 — LİSTE STİLİ V2 (list_style_v2)
   ========================================== */
.lt-style-list_style_v2 {
    background: #f1f5f9;
    padding: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 0;
}

.lt-style-list_style_v2 .lt-header-v2 {
    background: var(--lt-accent);
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lt-style-list_style_v2 .lt-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.lt-style-list_style_v2 .lt-header-left i {
    font-size: 1.2rem;
}

.lt-style-list_style_v2 .lt-header-left .lt-title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
}

.lt-style-list_style_v2 .lt-league {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.lt-style-list_style_v2 .lt-table-head {
    display: grid;
    grid-template-columns: 40px 1fr 40px 40px;
    gap: 4px;
    padding: 10px 8px;
    background: rgba(203, 213, 225, 0.5);
    margin-top: 4px;
}

.lt-style-list_style_v2 .lt-th {
    font-size: 10px;
    font-weight: 900;
    color: #334155;
    text-transform: uppercase;
}

.lt-style-list_style_v2 .lt-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.lt-style-list_style_v2 .lt-list-item {
    display: grid;
    grid-template-columns: 40px 1fr 40px 40px;
    gap: 4px;
    background: #fff;
    align-items: center;
    transition: all 0.2s;
    border-radius: 0;
}

.lt-style-list_style_v2 .lt-top-rank {
    border-left: 4px solid var(--lt-accent);
}

.lt-style-list_style_v2 .lt-rank {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0f172a;
}

.lt-style-list_style_v2 .lt-team-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    color: #0f172a;
}

.lt-style-list_style_v2 .lt-team-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.lt-style-list_style_v2 .lt-played {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.lt-style-list_style_v2 .lt-points {
    height: 48px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--lt-accent);
    font-size: 0.9rem;
}

.lt-style-list_style_v2 .lt-footer-v2 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-top: 4px;
    transition: background 0.2s;
    border-radius: 0;
}

.lt-style-list_style_v2 .lt-footer-v2:hover {
    background: #000;
}

/* ==========================================
   TASARIM 6 — KURUMSAL AÇIK (corporate_light)
   ========================================== */
.lt-style-corporate_light {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0;
}

.lt-style-corporate_light .lt-corp-header {
    background: #0a1d37;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lt-style-corporate_light .lt-corp-header .lt-title {
    color: #fff !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
}

.lt-style-corporate_light .lt-corp-header i {
    color: #fff;
    font-size: 1.1rem;
}

.lt-style-corporate_light .lt-table thead th {
    background: rgba(226, 232, 240, 0.5);
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    padding: 12px 8px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.lt-style-corporate_light .lt-corp-row {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.lt-style-corporate_light .lt-corp-top .lt-td-rank {
    border-left: 4px solid var(--lt-accent);
}

.lt-style-corporate_light .lt-td-rank {
    text-align: center;
    font-weight: 800;
    color: #0a1d37;
    width: 40px;
    height: 52px;
}

.lt-style-corporate_light .lt-td-team {
    padding: 12px 8px;
}

.lt-style-corporate_light .lt-logo-circle {
    width: 26px;
    height: 26px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lt-style-corporate_light .lt-logo-circle img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.lt-style-corporate_light .lt-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0a1d37;
    margin-left: 10px;
}

.lt-style-corporate_light .lt-td-played {
    text-align: center;
    color: #64748b;
    width: 40px;
}

.lt-style-corporate_light .lt-td-pts {
    text-align: center;
    font-weight: 800;
    color: #0a1d37;
    background: #f8fafc;
    font-size: 1rem;
    width: 45px;
}

.lt-style-corporate_light .lt-corp-footer {
    padding: 12px;
    background: #fff;
}

.lt-style-corporate_light .lt-corp-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px;
    background: #f1f5f9;
    color: #0a1d37;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    transition: all 0.2s;
    border-radius: 0;
}

.lt-style-corporate_light .lt-corp-btn:hover {
    background: var(--lt-accent);
    color: #fff;
}






/* ==========================================
   YATAY TAKIM LİSTESİ — Team Horizontal List
   ========================================== */
.block-team-horizontal-list {
    margin-bottom: 25px;
    background: transparent;
    padding: 10px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Kenarlardan taşmayı engelle */
}

.thl-header {
    padding: 0 20px 15px;
}

.thl-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1e2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thl-container {
    width: 100%;
    padding: 0 40px;
    position: relative;
}

.thl-swiper {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
}

.thl-scroll {
    align-items: center;
}

.thl-slide {
    width: auto !important;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

/* Navigation arrows */
.thl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #1a1e2e;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    font-size: 0.85rem;
    user-select: none;
}

.thl-nav:hover {
    background: var(--thl-accent);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.thl-nav-prev { left: 2px; }
.thl-nav-next { right: 2px; }

.thl-nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 768px) {
    .thl-container { padding: 0 32px; }
    .thl-nav { width: 28px; height: 28px; font-size: 0.75rem; }
}

.thl-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.thl-item:hover {
    transform: translateY(-5px);
}

.thl-item-circle:hover,
.thl-item-nobg:hover,
.thl-item-float:hover {
    transform: translateY(-5px) scale(1.1);
}

.thl-logo-wrapper {
    width: 48px;
    height: 48px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .thl-logo-wrapper {
        width: 40px;
        height: 40px;
    }

    .thl-scroll {
        gap: 15px;
    }
}

.thl-item:hover .thl-logo-wrapper {
    transform: scale(1.1);
}

.thl-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thl-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4a5568;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .thl-name {
        font-size: 0.65rem;
    }
}

/* --- New Styles --- */
/* Styline Identity Fixes */
.thl-style-card .thl-item {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 8px 12px;
}

.thl-style-card .thl-item:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.thl-style-only_logo .thl-name {
    display: none;
}

.thl-style-only_logo .thl-logo-wrapper {
    width: 75px;
    height: 75px;
}

.thl-style-only_logo .thl-logo {
    width: 55px;
    height: 55px;
}

/* Minimal Circle */
.thl-item-circle {
    flex: 0 0 auto;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    padding: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

@media (max-width: 768px) {
    .thl-item-circle {
        width: 45px;
        height: 45px;
        padding: 6px;
    }
}

.thl-item-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thl-item-circle:hover {
    transform: scale(1.15);
    border-color: var(--thl-accent);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* No Background Grid */
.thl-item-nobg {
    flex: 0 0 auto;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.thl-item-nobg img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.thl-item-nobg span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #718096;
}

@media (max-width: 768px) {
    .thl-item-nobg {
        width: 60px;
    }

    .thl-item-nobg img {
        width: 35px;
        height: 35px;
    }

    .thl-item-nobg span {
        font-size: 0.6rem;
    }
}

.thl-item-nobg:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-3px);
}

.thl-item-nobg:hover span {
    color: var(--thl-accent);
}

/* Floating Logos */
.thl-item-float {
    flex: 0 0 auto;
    width: 65px;
    display: flex;
    justify-content: center;
}

.thl-logo-glow {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .thl-item-float {
        width: 50px;
    }

    .thl-logo-glow {
        width: 35px;
        height: 35px;
    }
}

.thl-logo-glow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

.thl-logo-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--thl-accent);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.thl-item-float:hover .thl-logo-glow {
    transform: translateY(-8px) scale(1.1);
}

.thl-item-float:hover .thl-logo-glow::after {
    opacity: 0.2;
}



/* ========================================================
   DIKEY HABER BLOĞU — Vertical News Block (5 Tema)
   ======================================================== */



/* --- Vertical News Header (Integrated with block-header) --- */
.vn-header {
    gap: 12px;
}

.vn-header-content {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.vn-top-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    opacity: 0.8;
}

.vn-title {
    white-space: nowrap;
}

/* --- Ortak Elemanlar --- */
.vn-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vn-cat-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.vn-cat-text {
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vn-date {
    font-size: 0.72rem;
    color: #999;
}

.vn-date i {
    margin-right: 3px;
}

.vn-sep {
    color: #ccc;
    margin: 0 4px;
}

.vn-empty {
    color: #aaa;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* ========================================================
   TEMA 1: CLASSIC — Yatay resim + başlık
   ======================================================== */
.vn-classic .vn-classic-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vn-classic .vn-classic-item:last-child,
.vn-classic .vn-classic-item.vn-no-image {
    border-bottom: none;
    padding: 5px 0;
}

.vn-classic .vn-classic-img {
    flex-shrink: 0;
    width: 90px;
    height: 65px;
    overflow: hidden;
    display: block;
}

.vn-classic .vn-classic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vn-classic .vn-classic-item:hover .vn-classic-img img {
    transform: scale(1.05);
}

.vn-classic .vn-classic-body {
    flex: 1;
    min-width: 0;
}

.vn-classic .vn-classic-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1px;
    margin: 4px 0 6px;
}

.vn-classic .vn-classic-title a {
    color: #1a1a2e;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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


/* ========================================================
   TEMA 3: MAGAZINE — Numaralı dergi stili
   ======================================================== */
.vn-magazine .vn-magazine-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed #e8e8e8;
    position: relative;
}

.vn-magazine .vn-magazine-item:last-child {
    border-bottom: none;
}

.vn-magazine .vn-mag-num {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.18;
    min-width: 32px;
    text-align: center;
    flex-shrink: 0;
    font-family: Georgia, serif;
    transition: opacity 0.2s;
}

.vn-magazine .vn-magazine-item:hover .vn-mag-num {
    opacity: 0.45;
}

.vn-magazine .vn-mag-img {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    display: block;
}

.vn-magazine .vn-mag-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vn-magazine .vn-mag-body {
    flex: 1;
    min-width: 0;
}

.vn-magazine .vn-mag-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 3px 0 5px;
}

.vn-magazine .vn-mag-title a {
    color: #1a1a2e;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vn-magazine .vn-mag-title a:hover {
    color: var(--primary);
}

/* ========================================================
   TEMA: NUMBERED MODERN — Görseldeki modern numaralı stil
   ======================================================== */
.vn-numbered-modern .vn-nm-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.vn-numbered-modern .vn-nm-item:last-child {
    border-bottom: none;
}

.vn-numbered-modern .vn-nm-item:hover {
    transform: translateX(5px);
}

.vn-numbered-modern .vn-nm-num-box {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 8px;
    /* Simplified from shield shape */
    /* Farklı bi yapı: çapraz köşeler oval */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.vn-numbered-modern .vn-nm-body {
    flex: 1;
    min-width: 0;
}

.vn-numbered-modern .vn-nm-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.vn-numbered-modern .vn-nm-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vn-numbered-modern .vn-nm-item:hover .vn-nm-title a {
    color: var(--primary);
}

.vn-numbered-modern .vn-nm-meta {
    font-size: 0.75rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vn-numbered-modern .vn-sep {
    opacity: 0.4;
}

/* ========================================================
   TEMA 4: MINIMAL — Sadece başlık, nokta göstergesi
   ======================================================== */
.vn-minimal .vn-minimal-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.vn-minimal .vn-minimal-item:last-child {
    border-bottom: none;
}

.vn-minimal .vn-min-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 6px;
}

.vn-minimal .vn-min-body {
    flex: 1;
    min-width: 0;
}

.vn-minimal .vn-min-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
}

.vn-minimal .vn-min-title a {
    color: #1a1a2e;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vn-minimal .vn-min-title a:hover {
    color: var(--primary);
}

.vn-minimal .vn-min-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


/* ========================================================
   Theme: COMPACT RIGHT (Right Thumbnail)
   ======================================================== */
.vn-compact-right .vn-compact-right-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.vn-compact-right .vn-compact-right-item:last-child {
    border-bottom: none;
}

.vn-compact-right .vn-compact-right-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.vn-compact-right .vn-compact-right-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vn-compact-right .vn-compact-right-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.vn-compact-right .vn-compact-right-title a:hover {
    color: var(--vn-accent, var(--primary));
}

.vn-compact-right .vn-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vn-compact-right .vn-compact-right-img {
    width: 140px;
    height: 85px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: block;
}

.vn-compact-right .vn-compact-right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.vn-compact-right .vn-compact-right-item:hover .vn-compact-right-img img {
    transform: scale(1.05);
}

/* ========================================================
   Theme: DOT SEPARATED LIST (Nokta Ayrımlı Liste)
   ======================================================== */
.vn-dot-separated .vn-dot-item {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
    align-items: start;
    padding: 14px 0 18px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.28);
}

.vn-dot-separated .vn-dot-item:last-child {
    border-bottom: none;
    padding-bottom: 8px;
}

.vn-dot-separated .vn-dot-body {
    min-width: 0;
}

.vn-dot-separated .vn-dot-cat {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-decoration: none;
}

.vn-dot-separated .vn-dot-title {
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 8px;
}

.vn-dot-separated .vn-dot-title a {
    color: inherit;
    text-decoration: none;
}

.vn-dot-separated .vn-dot-title a:hover {
    color: var(--vn-accent, var(--primary));
}

.vn-dot-separated .vn-dot-desc {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 1.02rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vn-dot-separated .vn-dot-date {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: none;
}

.vn-dot-separated .vn-dot-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
}

.vn-dot-separated .vn-dot-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.vn-dot-separated .vn-dot-item:hover .vn-dot-img img {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .vn-dot-separated .vn-dot-item {
        grid-template-columns: 1fr 260px;
        gap: 14px;
    }
    .vn-dot-separated .vn-dot-title {
        font-size: 1.6rem;
    }
    .vn-dot-separated .vn-dot-cat {
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .vn-dot-separated .vn-dot-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .vn-dot-separated .vn-dot-img {
        max-width: 100%;
    }
    .vn-dot-separated .vn-dot-title {
        font-size: 1.28rem;
        line-height: 1.2;
    }
    .vn-dot-separated .vn-dot-cat {
        font-size: 0.76rem;
        margin-bottom: 6px;
    }
    .vn-dot-separated .vn-dot-desc {
        font-size: 0.95rem;
    }
}

/* ========================================================
   TEMA: HERO — Tam genişlik overlay (Figma Block 1)
   ======================================================== */
.vn-hero {
    gap: 16px;
}

.vn-hero .vn-hero-item {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.vn-hero .vn-hero-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.vn-hero .vn-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vn-hero .vn-hero-item:hover .vn-hero-img {
    transform: scale(1.05);
}

.vn-hero .vn-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    pointer-events: none;
}

.vn-hero .vn-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: #fff;
}

.vn-hero .vn-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.vn-hero .vn-hero-cat {
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
}

.vn-hero .vn-hero-content .vn-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.vn-hero .vn-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    transition: color 0.2s;
}

.vn-hero .vn-hero-item:hover .vn-hero-title {
    color: var(--vn-accent, var(--primary));
}

.vn-hero .vn-hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    line-height: 1.5;
    margin: 0;
}

/* ========================================================
   TEMA: HORIZONTAL LIST — Kenarlıklı yatay kart (Figma Block 2)
   ======================================================== */
.vn-hlist {
    gap: 16px;
}

.vn-hlist .vn-hlist-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.vn-hlist .vn-hlist-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.vn-hlist .vn-hlist-link {
    display: flex;
    gap: 16px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.vn-hlist .vn-hlist-img {
    width: 160px;
    height: 112px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.vn-hlist .vn-hlist-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.vn-hlist .vn-hlist-item:hover .vn-hlist-img img {
    opacity: 0.8;
}

.vn-hlist .vn-hlist-body {
    flex: 1;
    min-width: 0;
}

.vn-hlist .vn-hlist-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.vn-hlist .vn-hlist-meta .vn-cat-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.vn-hlist .vn-hlist-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #1a1a2e;
    transition: color 0.2s;
}

.vn-hlist .vn-hlist-item:hover .vn-hlist-title {
    color: var(--vn-accent, var(--primary));
}

.vn-hlist .vn-hlist-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================================
   TEMA: TIMELINE — Dikey zaman çizelgesi (Figma Block 8)
   ======================================================== */
.vn-timeline {
    position: relative;
    padding-left: 0;
}

.vn-timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.vn-timeline .vn-timeline-item {
    position: relative;
    padding-left: 64px;
    margin-bottom: 32px;
}

.vn-timeline .vn-timeline-item:last-child {
    margin-bottom: 0;
}

.vn-timeline .vn-timeline-dot {
    position: absolute;
    left: 12px;
    top: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.vn-timeline .vn-timeline-link {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.vn-timeline .vn-timeline-img {
    width: 128px;
    height: 96px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.vn-timeline .vn-timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.vn-timeline .vn-timeline-item:hover .vn-timeline-img img {
    opacity: 0.8;
}

.vn-timeline .vn-timeline-body {
    flex: 1;
    min-width: 0;
}

.vn-timeline .vn-timeline-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.vn-timeline .vn-timeline-meta .vn-cat-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.vn-timeline .vn-timeline-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #1a1a2e;
    transition: color 0.2s;
}

.vn-timeline .vn-timeline-item:hover .vn-timeline-title {
    color: var(--vn-accent, var(--primary));
}

.vn-timeline .vn-timeline-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ========================================================
   TEMA: RANKING — Büyük numara listesi (Figma Block 15)
   ======================================================== */


.vn-ranking .vn-ranking-item {
    border-radius: 8px;
    transition: background 0.2s;
}

.vn-ranking .vn-ranking-item:hover {
    background: #f9f9f9;
}

.vn-ranking .vn-ranking-link {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.vn-ranking .vn-ranking-num {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vn-ranking .vn-ranking-num span {
    font-size: 3.5rem;
    font-weight: 800;
    opacity: 0.5;
    transition: opacity 0.2s;
    color: var(--vn-accent, var(--primary));
}

.vn-ranking .vn-ranking-item:hover .vn-ranking-num span {
    opacity: 0.4;
}

.vn-ranking .vn-ranking-img {
    width: 160px;
    height: 112px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.vn-ranking .vn-ranking-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.vn-ranking .vn-ranking-item:hover .vn-ranking-img img {
    opacity: 0.8;
}

.vn-ranking .vn-ranking-body {
    flex: 1;
    min-width: 0;
}

.vn-ranking .vn-ranking-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.vn-ranking .vn-ranking-meta .vn-cat-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.vn-ranking .vn-ranking-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(220, 38, 38, 0.1);
    color: var(--vn-accent, #dc2626);
}

.vn-ranking .vn-ranking-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #1a1a2e;
    transition: color 0.2s;
}

.vn-ranking .vn-ranking-item:hover .vn-ranking-title {
    color: var(--vn-accent, var(--primary));
}

.vn-ranking .vn-ranking-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 12px;
}

/* ========================================================
   TEMA: ZIGZAG — Single News V1 Stili (Görsel %40)
   ======================================================== */
.vn-zigzag {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vn-zigzag .vn-zigzag-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.vn-zigzag-item:first-child {
    padding-top: 0;
}

.vn-zigzag .vn-zigzag-link {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.vn-zigzag .vn-zigzag-reverse .vn-zigzag-link {
    flex-direction: row-reverse;
}

.vn-zigzag .vn-zigzag-img {
    width: 50%;
    flex-shrink: 0;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
}

.vn-zigzag .vn-zigzag-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vn-zigzag .vn-zigzag-item:hover .vn-zigzag-img img {
    transform: scale(1.08);
}

.vn-zigzag .vn-zigzag-cat-badge {
    background-color: var(--vn-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    border-radius: 0;
    margin-bottom: 1rem;
}

.vn-zigzag .vn-zigzag-body {
    flex: 1;
}

.vn-zigzag .vn-zigzag-body .vn-date {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
    display: inline-block;
}

.vn-zigzag .vn-zigzag-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: #111827;
    transition: color 0.3s ease;
}

.vn-zigzag .vn-zigzag-item:hover .vn-zigzag-title {
    color: var(--vn-accent);
}

.vn-zigzag .vn-zigzag-desc {
    color: #1f1f1f;
    font-weight: 450;
    line-height: 1.4;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

@media (max-width: 1024px) {
    .vn-zigzag .vn-zigzag-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .vn-zigzag .vn-zigzag-link {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .vn-zigzag .vn-zigzag-img {
        width: 100%;
    }

    .vn-zigzag .vn-zigzag-item {
        padding: 1.5rem 0;
    }
}

/* ========================================================
   Responsive — Dikey Haber
   ======================================================== */
@media (max-width: 480px) {
    .vn-classic .vn-classic-img {
        width: 75px;
        height: 55px;
    }


    .vn-magazine .vn-mag-img {
        width: 65px;
        height: 50px;
    }


    .vn-compact-right .vn-compact-right-img {
        width: 90px;
        height: 65px;
    }

    .vn-magazine .vn-mag-num {
        font-size: 1.5rem;
        min-width: 24px;
    }
}


/* ========================================================
   Container-Query Responsive — Dikey Haber (Sidebar desteği)
   ======================================================== */
.block-vertical-news {
    container-type: inline-size;
    container-name: vn-block;
}

@media (max-width: 500px) {
    .gn-style-modern_overlay .gn-card-modern .gn-card-img {
        aspect-ratio: 10 / 5;
    }

    .gn-card-title {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
        transition: color 0.2s;
    }

    .gn-card-desc {
        color: #1f1f1f !important;
        font-weight: 450 !important;
        line-height: 1.2 !important;
        font-size: 1.1rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
}

/* -------- < 500px konteyner -------- */
@container vn-block (max-width: 500px) {

    /* HERO — keep overlay layout, just shrink */
    .vn-hero .vn-hero-item {
        height: 280px;
    }

    .vn-hero .vn-hero-title {
        font-size: 1.4rem;
    }

    .vn-hero .vn-hero-desc {
        font-size: 1rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .vn-hero .vn-hero-content {
        padding: 16px;
    }

    .vn-hero .vn-hero-meta {
        gap: 8px;
        margin-bottom: 8px;
    }

    .vn-hero .vn-hero-cat {
        font-size: 0.85rem;
        padding: 3px 8px;
    }

    /* HORIZONTAL LIST — keep row, shrink image */
    .vn-hlist .vn-hlist-link {
        gap: 12px;
        padding: 12px;
    }

    .vn-hlist .vn-hlist-img {
        width: 110px;
        height: 80px;
    }

    .vn-hlist .vn-hlist-title {
        font-size: 1.3rem;
    }

    .vn-hlist .vn-hlist-desc {
        font-size: 1rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    /* TIMELINE — keep row, shrink image + dots */
    .vn-timeline .vn-timeline-item {
        padding-left: 48px;
        margin-bottom: 20px;
    }

    .vn-timeline .vn-timeline-img {
        width: 90px;
        height: 68px;
    }

    .vn-timeline .vn-timeline-title {
        font-size: 1rem;
    }

    .vn-timeline .vn-timeline-desc {
        display: none;
    }

    .vn-timeline-line {
        left: 16px;
    }

    .vn-timeline .vn-timeline-dot {
        left: 6px;
        width: 20px;
        height: 20px;
    }

    /* RANKING — keep row, compact number */
    .vn-ranking .vn-ranking-link {
        gap: 8px;
        padding: 8px;
    }

    .vn-ranking .vn-ranking-num {
        width: 36px;
        height: 36px;
    }

    .vn-ranking .vn-ranking-num span {
        font-size: 1.5rem;
    }

    .vn-ranking .vn-ranking-img {
        width: 80px;
        height: 56px;
    }

    .vn-ranking .vn-ranking-title {
        font-size: 0.9rem;
    }

    .vn-ranking .vn-ranking-desc {
        display: none;
    }

    .vn-ranking .vn-ranking-badge {
        font-size: 0.55rem;
        padding: 1px 5px;
    }

    /* ZIGZAG — keep side-by-side, shrink image height + text */
    .vn-zigzag {
        gap: 20px;
    }

    .vn-zigzag .vn-zigzag-link {
        gap: 16px;
    }

    .vn-zigzag .vn-zigzag-img {
        height: 180px;
    }

    .vn-zigzag .vn-zigzag-title {
        font-size: 1.3rem;
    }

    .vn-zigzag .vn-zigzag-desc {
        font-size: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Eski stiller */
    .vn-classic .vn-classic-img {
        width: 75px;
        height: 55px;
    }

    .vn-compact-right .vn-compact-right-img {
        width: 100px;
        height: 70px;
    }

    .vn-compact-right .vn-compact-right-title {
        font-size: 1.3em;
    }
}

/* -------- < 350px konteyner (çok dar sidebar) -------- */
@container vn-block (max-width: 350px) {

    /* HERO — compact overlay */
    .vn-hero .vn-hero-item {
        height: 200px;
    }

    .vn-hero .vn-hero-title {
        font-size: 1.05rem;
    }

    .vn-hero .vn-hero-desc {
        display: none;
    }

    .vn-hero .vn-hero-cat {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .vn-hero .vn-hero-content {
        padding: 10px;
    }

    /* HORIZONTAL LIST — keep row, very compact */
    .vn-hlist .vn-hlist-link {
        gap: 8px;
        padding: 8px;
    }

    .vn-hlist .vn-hlist-img {
        width: 80px;
        height: 60px;
        border-radius: 3px;
    }

    .vn-hlist .vn-hlist-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .vn-hlist .vn-hlist-desc {
        display: none;
    }

    .vn-hlist .vn-hlist-meta {
        margin-bottom: 4px;
    }

    .vn-hlist .vn-hlist-meta .vn-cat-text {
        font-size: 0.65rem;
    }

    /* TIMELINE — keep row, small dots */
    .vn-timeline .vn-timeline-item {
        padding-left: 32px;
        margin-bottom: 14px;
    }

    .vn-timeline .vn-timeline-link {
        gap: 8px;
    }

    .vn-timeline .vn-timeline-img {
        width: 64px;
        height: 48px;
    }

    .vn-timeline .vn-timeline-title {
        font-size: 0.85rem;
    }

    .vn-timeline .vn-timeline-desc {
        display: none;
    }

    .vn-timeline-line {
        left: 10px;
    }

    .vn-timeline .vn-timeline-dot {
        left: 2px;
        width: 16px;
        height: 16px;
        border-width: 3px;
    }

    /* RANKING — keep row, compact number */
    .vn-ranking .vn-ranking-link {
        gap: 8px;
        padding: 8px;
    }

    .vn-ranking .vn-ranking-num {
        width: 36px;
        height: 36px;
    }

    .vn-ranking .vn-ranking-num span {
        font-size: 1.5rem;
    }

    .vn-ranking .vn-ranking-img {
        width: 80px;
        height: 56px;
    }

    .vn-ranking .vn-ranking-title {
        font-size: 0.9rem;
    }

    .vn-ranking .vn-ranking-desc {
        display: none;
    }

    .vn-ranking .vn-ranking-badge {
        font-size: 0.55rem;
        padding: 1px 5px;
    }

    /* ZIGZAG — keep side-by-side, very tight */
    .vn-zigzag {
        gap: 14px;
    }

    .vn-zigzag .vn-zigzag-link {
        gap: 10px;
    }

    .vn-zigzag .vn-zigzag-img {
        height: 120px;
    }

    .vn-zigzag .vn-zigzag-title {
        font-size: 1rem;
    }

    .vn-zigzag .vn-zigzag-desc {
        display: none;
    }

    .vn-zigzag .vn-zigzag-more {
        font-size: 0.75rem;
    }

    .vn-zigzag .vn-zigzag-cat {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    /* Eski stiller */
    .vn-classic .vn-classic-img {
        width: 60px;
        height: 45px;
    }

    .vn-compact-right .vn-compact-right-img {
        width: 75px;
        height: 55px;
    }

    .vn-compact-right .vn-compact-right-title {
        font-size: 0.95rem;
    }

    .vn-magazine .vn-mag-img {
        width: 55px;
        height: 42px;
    }

    .vn-magazine .vn-mag-num {
        font-size: 1.2rem;
        min-width: 20px;
    }
}

/* ========================================================
   VERTICAL SLIDER BLOCK (2:3 Aspect Ratio)
   ======================================================== */

.vertical-news-slider {
    width: 100%;
    max-width: 700px;
    height: 500px;
    /* Same height as double slider */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.v-slide-wrap {
    display: block;
    position: relative;
    height: 100%;
}

.v-slide-img {
    position: absolute;
    inset: 0;
}

.v-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-slide-placeholder {
    width: 100%;
    height: 100%;
    background: #111;
}

.v-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 25%, transparent 60%);
}

.v-slide-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 0 30px;
    z-index: 2;
}

.v-slide-title {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.v-slider-nav {

    align-items: center;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v-nav-prev,
.v-nav-next {
    margin-bottom: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}

.v-nav-prev:hover,
.v-nav-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

.v-nav-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
    overflow: hidden;
    position: relative;
    max-width: 70%;
    /* Give space to arrows */
}

.v-nav-pagination .swiper-pagination-bullets-dynamic {
    display: flex;
    gap: 5px;
    transition: transform 0.3s ease;
}

.v-nav-pagination .swiper-pagination-bullet {
    width: auto;
    height: auto;
    background: transparent;
    opacity: 0.6;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 !important;
    border-radius: 6px;
    padding: 2px 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
}

.v-nav-pagination .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    color: #fff;
}

@media (max-width: 480px) {
    .v-slide-title {
        font-size: 1.4rem;
    }

    .v-slide-content {
        padding: 0 20px;
        bottom: 70px;
    }
}

/* =========================================
   Magazine Grid Layouts
   ========================================= */


.magazine-grid {
    display: grid;
    gap: var(--grid-gap, 1.25rem);
    width: 100%;
}

.magazine-grid-item {
    position: relative;
    border-radius: var(--border-radius, var(--radius));
    overflow: hidden;
    display: flex;
    background: #000;
    transition: transform 0.3s ease;
    text-decoration: none;
    min-height: 220px;
}

/* Hover effect simplified to underline on title */

.magazine-grid-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--image-opacity, 0.7);
    transition: opacity 0.3s ease, transform 0.5s ease;
}

/* Zoom effect removed */

.magazine-grid-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: linear-gradient(to top, var(--overlay-color, #000) 0%, transparent 70%);
    opacity: var(--gradient-opacity, 0.9);
}

/* Overlay change removed */

.magazine-grid-content {
    position: relative;
    z-index: 10;
    margin-top: auto;
    padding: 1.5rem;
    width: 100%;
}

.magazine-grid-category {
    display: inline-block;
    background: var(--active-color, var(--primary));
    color: #fff;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.magazine-grid-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    display: block;
    /* Restore block display */
}

.magazine-grid-title span,
.headline-title span,
.headline-side-title span {
    background-image: linear-gradient(var(--active-color), var(--active-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease;
    padding-bottom: 2px;
}

.headline-title span {
    background-size: 0% 3px;
    /* Slightly thicker for large main headlines */
}

.magazine-grid-item:hover .magazine-grid-title span,
.headline-slide:hover .headline-title span,
.headline-side-item:hover .headline-side-title span {
    background-size: 100% 2px;
}

.headline-slide:hover .headline-title span {
    background-size: 100% 3px;
}

.magazine-grid-item.large .magazine-grid-title {
    font-size: 1.75rem;
}

.magazine-grid-meta {
    color: #ccc;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.magazine-grid-meta i {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Variation 1: 1 Left, 3 Right */
.magazine_grid_1 {
    grid-template-columns: 2fr 1.2fr 1.2fr;
    grid-template-rows: 240px 240px;
}

.magazine_grid_1 .item-0 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.magazine_grid_1 .item-1 {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
}

.magazine_grid_1 .item-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.magazine_grid_1 .item-3 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Variation 2: 1 Center, 4 Sides (2 Left, 2 Right) */
.magazine_grid_2 {
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 240px 240px;
}

.magazine_grid_2 .item-0 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.magazine_grid_2 .item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.magazine_grid_2 .item-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.magazine_grid_2 .item-3 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.magazine_grid_2 .item-4 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Variation 3: 2 Top, 3 Bottom */
.magazine_grid_3 {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 280px 220px;
}

.magazine_grid_3 .item-0 {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
}

.magazine_grid_3 .item-1 {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
}

.magazine_grid_3 .item-2 {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.magazine_grid_3 .item-3 {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

.magazine_grid_3 .item-4 {
    grid-column: 5 / 7;
    grid-row: 2 / 3;
}

/* ===== MAGAZINE GRID RESPONSIVE ===== */

/* Tablet: 640px–1024px — 2 column fallback */
@media (max-width: 1024px) {

    /* Grid 1: 1 large left + 3 small right → large top + 2 col bottom */
    .magazine_grid_1 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 200px 200px;
    }

    .magazine_grid_1 .item-0 {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
    }

    .magazine_grid_1 .item-1 {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
    }

    .magazine_grid_1 .item-2 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .magazine_grid_1 .item-3 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    /* Grid 2: 1 center large + 4 side → large top + 2×2 bottom */
    .magazine_grid_2 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 200px 200px;
    }

    .magazine_grid_2 .item-0 {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
    }

    .magazine_grid_2 .item-1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .magazine_grid_2 .item-2 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .magazine_grid_2 .item-3 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .magazine_grid_2 .item-4 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    /* Grid 3: 2 top large + 3 bottom → each spans half on tablet */
    .magazine_grid_3 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 200px 200px;
    }

    .magazine_grid_3 .item-0 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .magazine_grid_3 .item-1 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .magazine_grid_3 .item-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .magazine_grid_3 .item-3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .magazine_grid_3 .item-4 {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
    }
}

/* Mobile: < 640px — single column stack */
@media (max-width: 640px) {

    .magazine_grid_1,
    .magazine_grid_2,
    .magazine_grid_3 {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .magazine_grid_1 .magazine-grid-item,
    .magazine_grid_2 .magazine-grid-item,
    .magazine_grid_3 .magazine-grid-item {
        min-height: 220px;
        grid-column: unset;
        grid-row: unset;
    }

    /* Large items get more height */
    .magazine_grid_1 .item-0,
    .magazine_grid_2 .item-0 {
        min-height: 260px;
    }

    .magazine-grid-title {
        font-size: 1.4rem;
    }

    .magazine-grid-item.large .magazine-grid-title {
        font-size: 1.6rem;
    }

    .magazine-grid-content {
        padding: 1.4rem;
    }
}

/* =========================================
   Slider: MAGAZINE SPLIT (Figma Block 5)
   ========================================= */
.slider-magazine-split {
    margin: 20px 0;
}

.sms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sms-featured {
    position: relative;
    display: block;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}

.sms-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: var(--image-opacity, 1);
}

.sms-featured:hover .sms-featured-img {
    transform: scale(1.05);
}

.sms-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

.sms-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #fff;
}

.sms-cat {
    display: inline-block;
    background: var(--active-color, #dc2626);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 12px;
}

.sms-featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
}

.sms-featured:hover .sms-featured-title {
    color: rgba(255, 200, 200, 1);
}

.sms-featured-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px;
    line-height: 1.5;
}

.sms-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.sms-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sms-side-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.3s;
}

.sms-side-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sms-side-img {
    height: 160px;
    overflow: hidden;
}

.sms-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sms-side-card:hover .sms-side-img img {
    transform: scale(1.1);
}

.sms-side-body {
    padding: 12px;
}

.sms-side-cat {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--active-color, #dc2626);
    display: block;
    margin-bottom: 4px;
}

.sms-side-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sms-side-card:hover .sms-side-title {
    color: var(--active-color, #dc2626);
}

.sms-side-body .sms-date {
    color: #999;
    font-size: 0.75rem;
}

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

    .sms-featured {
        height: 350px;
    }

    .sms-side-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* =========================================
   Slider: FEATURED GRID (Figma Block 10)
   ========================================= */
.slider-featured-grid {
    margin: 20px 0;
}

.sfg-featured {
    position: relative;
    display: block;
    height: 384px;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 24px;
}

.sfg-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: var(--image-opacity, 1);
}

.sfg-featured:hover .sfg-featured-img {
    transform: scale(1.05);
}

.sfg-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    pointer-events: none;
}

.sfg-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #fff;
}

.sfg-featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.sfg-cat {
    background: var(--active-color, #dc2626);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
}

.sfg-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.sfg-featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
}

.sfg-featured:hover .sfg-featured-title {
    color: rgba(255, 200, 200, 1);
}

.sfg-featured-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

.sfg-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sfg-mini-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sfg-mini-img {
    position: relative;
    height: 128px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sfg-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sfg-mini-card:hover .sfg-mini-img img {
    transform: scale(1.1);
}

.sfg-mini-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--active-color, #dc2626);
    color: #fff;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 4px;
}

.sfg-mini-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sfg-mini-card:hover .sfg-mini-title {
    color: var(--active-color, #dc2626);
}

.sfg-mini-card .sfg-date {
    color: #999;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .sfg-featured {
        height: 280px;
    }

    .sfg-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sfg-mini-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .sfg-mini-img {
        height: 100px;
    }
}

/* =========================================
   NEW BLOCK: CARD CAROUSEL (Figma Block 7)
   ========================================= */
.block-card-carousel {
    margin: 20px 0;
}

.card-carousel-wrapper {
    position: relative;
}

.card-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px;
}

.card-carousel-track::-webkit-scrollbar {
    display: none;
}

.cc-card {
    flex-shrink: 0;
    width: 320px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.cc-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.cc-card-img {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.cc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.cc-card:hover .cc-card-img img {
    transform: scale(1.1);
}

.cc-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
}

.cc-card-body {
    padding: 16px;
}

.cc-card-date {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.cc-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.cc-card:hover .cc-card-title {
    color: var(--cc-accent, var(--primary));
}

.cc-card-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}

.cc-nav-btn:hover {
    background: #fff;
}

.cc-nav-prev {
    left: 0;
}

.cc-nav-next {
    right: 0;
}

@media (max-width: 480px) {
    .cc-card {
        width: 280px;
    }
}

/* =========================================
   NEW BLOCK: MASONRY GRID (Figma Block 9)
   ========================================= */
.block-masonry-grid {
    margin: 20px 0;
}

.masonry-columns {
    columns: 3;
    column-gap: 24px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.masonry-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.masonry-img {
    position: relative;
    overflow: hidden;
}

.masonry-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.masonry-item:hover .masonry-img img {
    transform: scale(1.1);
}

.masonry-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    pointer-events: none;
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: #fff;
}

.masonry-cat {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 8px;
}

.masonry-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px;
}

.masonry-item:hover .masonry-title {
    color: rgba(255, 200, 200, 1);
}

.masonry-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 4px;
}

.masonry-body {
    padding: 16px;
}

.masonry-desc {
    font-size: 0.9rem;
    color: #1c1c1c;
    line-height: 1.2;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 992px) {
    .masonry-columns {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .masonry-columns {
        columns: 1;
    }
}

/* =========================================
   BREAKING NEWS TICKER VARIANTS
   ========================================= */
.block-breaking-ticker {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.bt-inner {
    display: flex;
    align-items: stretch;
    min-height: 44px;
}

.bt-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    z-index: 10;
}

.bt-label i {
    animation: bt-pulse 1.5s ease-in-out infinite;
}

@keyframes bt-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.bt-track-wrapper {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bt-track {
    display: flex;
    animation: bt-marquee 40s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.bt-track:hover {
    animation-play-state: paused;
}

@keyframes bt-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.bt-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s;
    line-height: normal;
}

.bt-time {
    font-weight: 700;
}

.bt-all {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

/* ─── VARIANT: MODERN (Default) ─── */
.bt-style-ticker_modern {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    padding: 6px 0;
}

.bt-style-ticker_modern .bt-label {
    height: 40px;
    padding: 0 20px;
    border-radius: 4px;
    margin-right: 15px;
    margin-left: 0;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    gap: 8px;
}

/* Badge on the right: order is handled in Twig; swap spacing + shadow */
.bt-style-ticker_modern .bt-inner.bt-label-right .bt-label {
    margin-right: 0;
    margin-left: 15px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
}

.bt-style-ticker_modern .bt-item {
    color: #1e293b;
    font-size: 0.9375rem;
    font-weight: 600;
    gap: 12px;
}

.bt-style-ticker_modern .bt-item:hover {
    color: var(--primary);
}

.bt-style-ticker_modern .bt-time {
    background: #e2e8f0;
    color: #334155;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.bt-style-ticker_modern .bt-sep {
    color: #cbd5e1;
    margin: 0 20px;
    font-weight: 300;
}

/* ─── VARIANT: CLASSIC (Stitch 1) ─── */
.bt-style-ticker_classic {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.bt-style-ticker_classic .bt-label {
    padding: 0 25px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    gap: 10px;
}

.bt-style-ticker_classic .bt-track {
    gap: 0;
}

.bt-style-ticker_classic .bt-item {
    padding: 0 24px;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 10px;
    border-right: 1px solid #f1f5f9;
}

.bt-style-ticker_classic .bt-item:hover {
    text-decoration: underline;
}

.bt-style-ticker_classic .bt-time {
    color: var(--primary);
}

.bt-style-ticker_classic .bt-sep {
    display: none;
}

.bt-style-ticker_classic .bt-all {
    background: #f1f5f9;
    color: #1e293b;
    padding: 0 24px;
    font-size: 0.85rem;
}

.bt-style-ticker_classic .bt-all:hover {
    background: #e2e8f0;
}

/* ─── VARIANT: MINIMAL (Stitch 3) ─── */
.bt-style-ticker_minimal {
    background: #f1f5f9;
    height: 48px;
}

.bt-style-ticker_minimal .container {
    height: 100%;
}

.bt-style-ticker_minimal .bt-inner {
    height: 100%;
    align-items: stretch;
}

.bt-style-ticker_minimal .bt-label {
    padding: 0 24px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.bt-style-ticker_minimal .bt-item {
    color: #334155;
    font-size: 0.875rem;
    padding: 0 20px;
    gap: 15px;
}

.bt-style-ticker_minimal .bt-time {
    color: var(--primary);
    font-size: 0.85rem;
}

.bt-style-ticker_minimal .bt-sep {
    color: #cbd5e1;
}

.bt-style-ticker_minimal .bt-all {
    width: 48px;
    border-left: 1px solid #e2e8f0;
    color: #64748b;
}

.bt-style-ticker_minimal .bt-all span {
    display: none;
}

/* Hide "Tümü" text, only icon */

.bt-style-ticker_minimal .bt-all:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   TEKLI BLOK HABER (SINGLE NEWS) VARIANTS
   ========================================================================== */

.sn-block {
    --sn-accent: #f20d0d;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

@media (max-width: 599px) {
    .sn-block {
        background: #e8e8eb;
        padding: 0;
        margin-bottom: 2.5rem;
        border-radius: 0;
    }

    .sn-block .sn-content {
        padding: 1.5rem 1.25rem !important;
    }
}

/* Base Layout */
.sn-wrapper {
    display: flex;
    flex-direction: column;
}

@media (min-width: 600px) {
    .sn-wrapper {
        flex-direction: row;
    }
}

/* Common Image Style */
.sn-img-box {
    position: relative;
    overflow: hidden;
    flex-shrink: 1;
    /* Küçülmeye izin ver */
}

.sn-img-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
}

.sn-img-ratio img,
.sn-img-ratio .sn-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.sn-img-box:hover img,
.sn-img-box:hover .sn-img-bg {
    transform: scale(1.08);
}

/* Common Text Styles */
.sn-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.sn-badge {
    background-color: var(--sn-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    border-radius: 0;
}

.sn-title {
    margin: 0.75rem 0;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    font-size: 2.2rem;
}

@media (max-width: 599px) {
    .sn-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .sn-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 1400px) {
    .sn-title {
        font-size: 1.8rem;
    }
}

.sn-desc {
    color: #1f1f1f;
    font-weight: 450;
    line-height: 1.2;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .sn-title {
    color: #f8fafc;
}

.sn-title:hover {
    color: var(--sn-accent);
}


.sn-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
}

.sn-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.sn-read-more {
    color: var(--sn-accent);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sn-read-more:hover {
    opacity: 0.8;
}

/* VARIANT 1 - GLOBAL STYLE */
.sn-style-1 {
    border-bottom: 1px solid #e2e8f0;
}

.sn-style-1 .sn-img-box {
    width: 100%;
}

@media (min-width: 600px) {
    .sn-style-1 .sn-img-box {
        width: 42%;
        min-width: 200px;
    }
}



@media (min-width: 600px) {
    .sn-style-1 .sn-content {
        padding: 0 0 0 2rem;
        flex: 1;
        min-width: 250px;
    }
}



/* VARIANT 2 - LIST STYLE */
.sn-style-2 {
    border-bottom: 1px solid #f1f5f9;
}

.sn-style-2 .sn-img-box {
    width: 100%;
}

@media (min-width: 600px) {
    .sn-style-2 .sn-img-box {
        width: 62%;
        min-width: 280px;
    }
}



@media (min-width: 600px) {
    .sn-style-2 .sn-content {
        padding: 0 0 0 1.5rem;
        flex: 1;
        min-width: 200px;
    }
}



.sn-style-2 .sn-title {
    font-weight: 900;
}


.sn-list {
    margin-top: 1.25rem;
    list-style: none;
    padding-left: 0;
}

.sn-list-item {
    margin-bottom: 1rem;
}

.sn-list-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.sn-list-link .material-symbols-outlined {
    color: var(--sn-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sn-list-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.sn-list-link:hover .sn-list-title {
    color: var(--sn-accent);
}

/* VARIANT 3 - MODERN LIST */
.sn-style-3 {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 3rem;
}

.sn-style-3 .sn-img-box {
    width: 100%;
}

@media (min-width: 600px) {
    .sn-style-3 .sn-img-box {
        width: 70%;
    }
}

.sn-style-3 .sn-content {
    padding: 2rem 0;
    background-color: transparentize(var(--sn-accent), 0.95);
}

@media (min-width: 600px) {
    .sn-style-3 .sn-content {
        padding: 0 1.5rem;
        flex: 1;
    }
}



.sn-style-3 .sn-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 2rem 0;
}

.sn-style-2 .sn-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 2rem 0;
}

.sn-style-3 .sn-list-link .material-icons-round {
    color: var(--sn-accent);
    font-size: 1.4rem;
}

.sn-style-3 .sn-list-title {
    font-size: 1rem;
}

/* TACTICAL OVERLAY STYLE */
.sn-tactical {
    width: 100%;
    margin: 20px 0;
    border-bottom: 6px solid var(--sn-accent);
}

.sn-tactical-container {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.sn-tactical-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sn-tactical-overlay {
    z-index: 10;
    background: rgba(15, 23, 42, 0.95);
    width: 50%;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: bottom;
    color: #fff;
    margin-left: 0;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
}

.sn-tactical-badge {
    display: inline-block;
    background: var(--sn-accent);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
}

.sn-tactical-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
}

.sn-tactical-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.sn-tactical-link {
    color: var(--sn-accent);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sn-tactical-link .material-icons-round {
    font-size: 1.2rem;
}

.sn-tactical-link:hover {
    gap: 15px;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .sn-tactical-title {
        font-size: 2rem;
    }

    .sn-tactical-overlay {
        width: 55%;
    }
}

@media (max-width: 991px) {


    .sn-tactical-overlay {
        width: 65%;
        padding: 2.5rem;
    }

    .sn-tactical-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .sn-tactical {
        border-bottom: 4px solid var(--sn-accent);
    }

    .sn-tactical-container {
        min-height: auto;
        flex-direction: column;
    }

    .sn-tactical-bg {
        position: relative;
        height: 300px;
    }

    .sn-tactical-overlay {
        width: 100%;
        min-height: auto;
        padding: 2.5rem 1.5rem;
    }

    .sn-tactical-title {
        font-size: 1.6rem;
    }

    .sn-tactical-badge {
        margin-bottom: 1.5rem;
    }
}


.tactical-slider-container {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.tactical-swiper {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius, 8px);
    overflow: hidden;
}

.ts-slide {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: flex-end;
}

.ts-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.ts-overlay {
    position: relative;
    z-index: 10;
    background: #0f172a;
    /* Solid background */
    width: 50%;
    min-width: 480px;
    padding: 2rem 3rem 2rem 70px;
    /* text starts 70px from left (40px boxes + 30px gap) */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
}

.ts-badge {
    display: inline-block;
    background: var(--active-color);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    width: fit-content;
}

.ts-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: #fff;
}

.ts-link {
    color: var(--active-color);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.ts-link:hover {
    gap: 12px;
}

/* Boxed Numbers Pagination - Flush & Fitting */
.ts-pagination {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 40px !important;
    overflow: visible !important;
    /* Ensure border-right replacement is visible */
}

/* Continuous guaranteed visible line */
.ts-pagination::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 2px !important;
    /* Thin but 2px to ensure it's noticed */
    background: var(--active-color) !important;
    z-index: 30 !important;
    /* Above everything */
}

.ts-pagination .swiper-pagination-bullet {
    width: 40px !important;
    height: auto !important;
    flex: 1 !important;
    background: #0f172a !important;
    color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    box-sizing: border-box !important;
}

.ts-pagination .swiper-pagination-bullet:last-child {
    border-bottom: none !important;
}

.ts-pagination .swiper-pagination-bullet-active {
    background: var(--active-color) !important;
    color: #fff !important;
    border-bottom-color: var(--active-color) !important;
}

/* Progress Bar at Bottom */
.ts-progress-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 21;
}

.ts-progress-bar {
    height: 100%;
    background: var(--active-color);
    width: 0%;
    transition: width 100ms linear;
}

@media (max-width: 991px) {
    .ts-overlay {
        width: 65%;
    }

    .ts-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .tactical-slider-container {
        min-height: 0;
    }

    .ts-slide {
        height: auto;
        flex-direction: column;
    }

    .ts-bg {
        position: relative;
        height: 220px;
    }

    .ts-overlay {
        width: 100%;
        min-width: 0;
        padding: 1.25rem 1.25rem 2rem;
        box-shadow: none;
    }

    .ts-title {
        font-size: 1.25rem;
    }

    .ts-badge {
        font-size: 0.7rem;
        padding: 4px 9px;
        margin-bottom: 0.75rem;
    }

    .ts-link {
        font-size: 0.85rem;
    }

    .ts-meta {
        font-size: 0.75rem !important;
        gap: 10px !important;
        flex-wrap: wrap;
    }

    /* Pagination: row of equal-width bullets across the top of the image strip */
    .ts-pagination {
        position: absolute !important;
        top: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        flex-direction: row !important;
        width: 100% !important;
        height: 32px !important;
    }

    .ts-pagination::after {
        display: none !important;
    }

    .ts-pagination .swiper-pagination-bullet {
        width: auto !important;
        height: 32px !important;
        flex: 1 1 auto !important;
        font-size: 0.7rem !important;
        border-bottom: none !important;
        border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .ts-pagination .swiper-pagination-bullet:last-child {
        border-right: none !important;
    }

    .ts-progress-wrap {
        height: 3px;
    }
}

/* 1024px altı için %50-%50 Side-by-Side Kuralı */
@media (min-width: 600px) and (max-width: 1024px) {

    .sn-style-1 .sn-img-box,
    .sn-style-1 .sn-content,
    .sn-style-2 .sn-img-box,
    .sn-style-2 .sn-content,
    .sn-style-3 .sn-img-box,
    .sn-style-3 .sn-content {
        width: 50% !important;
    }

    .sn-style-1 .sn-content,
    .sn-style-2 .sn-content,
    .sn-style-3 .sn-content {
        padding-left: 1.5rem !important;
    }
}

/* Image Alignment (Left/Right) */
@media (min-width: 600px) {
    .sn-reverse .sn-wrapper {
        flex-direction: row-reverse !important;
    }

    .sn-reverse.sn-style-1 .sn-content {
        padding: 0 2rem 0 0 !important;
    }

    .sn-reverse.sn-style-2 .sn-content {
        padding: 0 1.5rem 0 0 !important;
    }

    .sn-reverse.sn-style-3 .sn-content {
        padding: 0 1.5rem 0 0 !important;
    }
}

/* Premium Bold Grid Style */
.gn-style-premium_bold .gn-card-premium .gn-card-img {
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.gn-style-premium_bold .gn-premium-cat {
    font-family: inherit;
    letter-spacing: 0.05em;
}

.gn-style-premium_bold .gn-card-title {
    color: #111827;
    transition: color 0.3s ease;
}

.gn-style-premium_bold .gn-card-premium:hover .gn-card-title {
    color: var(--gn-accent);
}

.gn-style-premium_bold .gn-card-desc {
    font-weight: 450;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Global Grid Image Overlay */
.gn-custom-overlay {
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* ========================================================
   NEWSPAPER STYLE — Gazete Stili (A4 Dikey)
   ======================================================== */
.gn-style-newspaper .gn-grid { gap: 28px; }

.gn-style-newspaper .gn-card-newspaper {
    display: block;
    min-width: 0;
    max-width: 100%;
}
.gn-style-newspaper .gn-card-newspaper .gn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    max-width: 100%;
}

.gn-np-sheet {
    position: relative;
    aspect-ratio: 3 / 4.4;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.015) 0%, rgba(0,0,0,0) 40%),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 26px,
            rgba(0,0,0,0.018) 26px,
            rgba(0,0,0,0.018) 27px
        ),
        #fbf8f1;
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 22px rgba(0,0,0,0.09),
        0 20px 40px -12px rgba(0,0,0,0.12);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: Georgia, 'Times New Roman', serif;
    color: #1a1a1a;
}
.gn-np-sheet:has(.gn-np-body) { padding-bottom: 14px; }
.gn-np-sheet > .gn-np-masthead,
.gn-np-sheet > .gn-np-body { padding-left: 18px; padding-right: 18px; }
.gn-np-sheet > .gn-np-masthead { padding-top: 14px; }
.gn-np-sheet::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0));
    pointer-events: none;
}
.gn-np-sheet::after {
    content: '';
    position: absolute;
    right: 0; bottom: 0;
    width: 40px; height: 40px;
    background:
        linear-gradient(225deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 50%),
        linear-gradient(135deg, #fbf8f1 50%, rgba(0,0,0,0.06) 50%);
    pointer-events: none;
    opacity: 0.7;
}

.gn-style-newspaper .gn-card-newspaper:hover .gn-np-sheet {
    transform: translateY(-4px) rotate(-0.3deg);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.05),
        0 14px 32px rgba(0,0,0,0.12),
        0 30px 60px -14px rgba(0,0,0,0.18);
}

.gn-np-masthead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.gn-np-edition {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.6);
    font-weight: 600;
}
.gn-np-name {
    font-family: 'UnifrakturCook', Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: clamp(14px, 1.7vw, 22px);
    letter-spacing: -0.01em;
    color: #0a0a0a;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.gn-np-rule {
    display: block;
    width: 100%;
    height: 2px;
    background: #0a0a0a;
    position: relative;
}

.gn-np-img {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    background: #e8e4d8;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.gn-np-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: contrast(0.96) saturate(0.88);
}
.gn-np-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: #1a1a1a;
}

.gn-np-body {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}
.gn-np-section {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 9px;
    letter-spacing: 0.25em;
    color: rgba(0,0,0,0.55);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.gn-np-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 800;
    font-size: clamp(16px, 1.6vw, 22px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #0a0a0a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gn-np-lead {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(0,0,0,0.7);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gn-np-lead::first-letter {
    font-size: 1.8em;
    font-weight: 700;
    float: left;
    line-height: 0.9;
    padding-right: 4px;
    padding-top: 2px;
    color: #0a0a0a;
}
.gn-np-dateline {
    margin-top: auto;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.55);
    font-weight: 600;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.12);
}

.gn-np-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid rgba(0,0,0,0.12);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.45);
    font-weight: 600;
}
.gn-np-corner {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0;
    color: rgba(0,0,0,0.5);
}

@media (max-width: 640px) {
    .gn-np-sheet { padding: 18px 16px 14px; }
    .gn-np-name { font-size: 18px; }
    .gn-np-title { font-size: 16px; }
    .gn-np-lead { font-size: 12px; -webkit-line-clamp: 3; line-clamp: 3; }
}

/* ========================================================
   OBITUARY STYLE — Vefat İlanı
   ======================================================== */
.gn-style-obituary .gn-grid { gap: 22px; }

.gn-style-obituary .gn-card-obituary {
    display: block;
    min-width: 0;
    max-width: 100%;
}
.gn-style-obituary .gn-card-obituary .gn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    max-width: 100%;
}

.gn-ob-frame {
    position: relative;
    background: #ffffff;
    color: #111111;
    padding: 18px 18px 20px;
    border: 2px solid #111111;
    box-shadow:
        inset 0 0 0 1px #ffffff,
        inset 0 0 0 6px #111111,
        inset 0 0 0 7px #ffffff,
        0 6px 16px -4px rgba(0,0,0,0.15);
    font-family: Georgia, 'Times New Roman', serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gn-style-obituary .gn-card-obituary:hover .gn-ob-frame {
    transform: translateY(-3px);
    box-shadow:
        inset 0 0 0 1px #ffffff,
        inset 0 0 0 6px #111111,
        inset 0 0 0 7px #ffffff,
        0 14px 28px -8px rgba(0,0,0,0.25);
}

.gn-ob-header {
    text-align: center;
    padding: 4px 8px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    min-width: 0;
}
.gn-ob-verse {
    display: block;
    font-family: 'Amiri', 'Scheherazade', 'Traditional Arabic', serif;
    font-size: 15px;
    line-height: 1.4;
    color: #111;
    direction: rtl;
    margin-bottom: 3px;
}
.gn-ob-hu {
    display: block;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.6);
    font-family: Georgia, serif;
    font-weight: 700;
}

.gn-ob-label {
    text-align: center;
    background: #111;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.5em;
    font-size: 14px;
    padding: 6px 0 6px 8px;
    text-indent: 4px;
}

.gn-ob-img {
    width: 110px;
    height: 130px;
    margin: 6px auto 0;
    overflow: hidden;
    border: 1px solid #000;
    padding: 4px;
    background: #fff;
    box-sizing: content-box;
}
.gn-ob-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.05);
}

.gn-ob-body {
    text-align: center;
    padding: 4px 6px 2px;
    min-width: 0;
}
.gn-ob-intro {
    font-size: 12px;
    font-style: italic;
    color: rgba(0,0,0,0.62);
    margin-bottom: 6px;
}
.gn-ob-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 800;
    font-size: clamp(17px, 1.9vw, 24px);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0a0a0a;
    line-height: 1.15;
    margin: 0;
    overflow-wrap: break-word;
    hyphens: auto;
}
.gn-ob-rule {
    width: 48px;
    height: 1px;
    background: #111;
    margin: 10px auto;
}
.gn-ob-date {
    font-size: 12.5px;
    color: #222;
    line-height: 1.45;
    font-style: italic;
}
.gn-ob-lead {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(0,0,0,0.72);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gn-ob-foot {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.15);
    font-size: 11px;
    font-style: italic;
    color: rgba(0,0,0,0.55);
    letter-spacing: 0.04em;
}

@media (max-width: 480px) {
    .gn-ob-frame { padding: 14px 14px 16px; }
    .gn-ob-verse { font-size: 13px; }
    .gn-ob-label { font-size: 12px; letter-spacing: 0.4em; }
    .gn-ob-img { width: 90px; height: 110px; }
}

/* ========================================================
   BIOGRAPHY — CLASSIC (Editorial portrait card)
   ======================================================== */
.gn-style-biography_classic .gn-grid { gap: 28px; }

.gn-style-biography_classic .gn-card-bio-classic { display: block; min-width: 0; }
.gn-style-biography_classic .gn-card-bio-classic .gn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.gn-bio-frame {
    background: #fdfcf8;
    border: 1px solid #e6e1d4;
    border-radius: 4px;
    padding: 26px 24px 28px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px -2px rgba(40,30,10,0.08);
    height: 100%;
}
.gn-style-biography_classic .gn-card-bio-classic:hover .gn-bio-frame {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -10px rgba(40,30,10,0.18);
}
.gn-bio-portrait {
    width: 130px;
    height: 130px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--gn-accent, #c8a25b), 0 6px 16px -4px rgba(0,0,0,0.2);
}
.gn-bio-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gn-bio-body { padding: 0 4px; }
.gn-bio-cat {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.gn-bio-name {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
    line-height: 1.25;
}
.gn-bio-rule {
    width: 44px;
    height: 2px;
    background: var(--gn-accent, #c8a25b);
    margin: 12px auto;
}
.gn-bio-date {
    font-size: 12.5px;
    font-style: italic;
    color: #6b6356;
    margin-bottom: 10px;
}
.gn-bio-lead {
    font-size: 14px;
    line-height: 1.65;
    color: #3d3a33;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================================
   BIOGRAPHY — MODERN (Centered portrait profile card)
   ======================================================== */
.gn-style-biography_modern .gn-grid { gap: 28px; }

.gn-style-biography_modern .gn-card-bio-modern { display: block; min-width: 0; }
.gn-style-biography_modern .gn-card-bio-modern .gn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.gn-biom-card {
    position: relative;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 28px;
}
.gn-style-biography_modern .gn-card-bio-modern:hover .gn-biom-card {
    transform: translateY(-8px);
}

/* Hero band with blurred image backdrop */
.gn-biom-hero {
    position: relative;
    height: 130px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 50%, #ec4899 100%);
}
.gn-biom-blur {
    position: absolute;
    inset: -10px;
    background-size: cover;
    background-position: center;
    filter: blur(4px) saturate(1.15);
    transform: scale(1.08);
    opacity: 1;
}
.gn-biom-tint {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top, rgba(255,255,255,0.10) 0%, transparent 60%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.45) 100%);
}
.gn-biom-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.28) 1px, transparent 0);
    background-size: 14px 14px;
    opacity: 0.55;
    pointer-events: none;
    mix-blend-mode: overlay;
}
.gn-biom-cat {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px -4px rgba(0,0,0,0.4);
    white-space: nowrap;
}

/* Centered circular portrait that overlaps the hero */
.gn-biom-portrait {
    margin-top: -64px;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 4;
}
.gn-biom-portrait-ring {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.06),
        0 14px 30px -10px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gn-biom-portrait-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--gn-accent, #6366f1), #ec4899, #f59e0b, var(--gn-accent, #6366f1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gn-style-biography_modern .gn-card-bio-modern:hover .gn-biom-portrait-ring {
    transform: scale(1.05) rotate(-2deg);
}
.gn-style-biography_modern .gn-card-bio-modern:hover .gn-biom-portrait-ring::before {
    opacity: 1;
}
.gn-biom-portrait-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.gn-biom-body {
    padding: 4px 26px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gn-biom-name {
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.gn-biom-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    width: 100%;
}
.gn-biom-line {
    height: 1px;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.25), transparent);
}
.gn-biom-date {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.gn-biom-lead {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gn-biom-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gn-accent, #6366f1);
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 22px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    background: transparent;
}
.gn-biom-readmore i { transition: transform 0.3s ease; }
.gn-style-biography_modern .gn-card-bio-modern:hover .gn-biom-readmore {
    background: var(--gn-accent, #6366f1);
    color: #fff;
    transform: translateY(-2px);
}
.gn-style-biography_modern .gn-card-bio-modern:hover .gn-biom-readmore i {
    transform: translateX(4px);
}

/* ========================================================
   BIOGRAPHY — MAGAZINE (Side-by-side editorial spread)
   ======================================================== */
.gn-style-biography_magazine .gn-grid { gap: 30px; }

.gn-style-biography_magazine .gn-card-bio-mag { display: block; min-width: 0; }
.gn-style-biography_magazine .gn-card-bio-mag .gn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.gn-biog-wrap {
    background: #fff;
    padding: 22px 22px 24px;
    border-top: 4px solid var(--gn-accent, #111);
    border-bottom: 1px solid #ececec;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.gn-style-biography_magazine .gn-card-bio-mag:hover .gn-biog-wrap {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px -14px rgba(0,0,0,0.18);
}
.gn-biog-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 280px;
    overflow: hidden;
    background: #f3f1ec;
}
.gn-biog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.15) contrast(1.04);
    transition: filter 0.4s ease, transform 0.6s ease;
}
.gn-style-biography_magazine .gn-card-bio-mag:hover .gn-biog-photo img {
    filter: grayscale(0) contrast(1.05);
    transform: scale(1.03);
}
.gn-biog-frame {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255,255,255,0.6);
    pointer-events: none;
}
.gn-biog-body {
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
}
.gn-biog-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gn-accent, #111);
    margin-bottom: 12px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.gn-biog-name {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    color: #0a0a0a;
    line-height: 1.2;
    margin: 0 0 8px;
    letter-spacing: 0.01em;
}
.gn-biog-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 14px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.gn-biog-quote {
    font-size: 14.5px;
    font-style: italic;
    line-height: 1.7;
    color: #2c2c2c;
    margin: 12px auto 16px;
    max-width: 92%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gn-biog-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}
.gn-biog-line {
    height: 1px;
    width: 40px;
    background: #c8c2b4;
}
.gn-biog-date {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b6356;
    font-weight: 600;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

@media (max-width: 600px) {
    .gn-bio-frame { padding: 22px 18px 24px; }
    .gn-bio-portrait { width: 110px; height: 110px; }
    .gn-biog-wrap { padding: 18px; }
    .gn-biog-photo { max-height: 240px; }
}

/* ========================================================
   BORSA YATAY TICKER — Compact Horizontal Strip (No borders)
   ======================================================== */

.weather-widget {
    position: relative;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    contain: layout style;
}

.weather-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.weather-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.weather-link:hover {
    opacity: 0.7;
    color: var(--primary);
}

.weather-dropdown-trigger {
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.6;
    padding: 4px;
    transition: all 0.2s;
    border-radius: 4px;
}

.weather-dropdown-trigger:hover {
    opacity: 1;
    background: rgba(0,0,0,0.05);
    transform: scale(1.1);
}

.weather-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
    padding: 16px;
    z-index: 10000;
    min-width: 280px;
    margin-top: 12px;
    display: none;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.weather-dropdown.active {
    display: flex;
    animation: weatherFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.weather-city-list {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 5px;
    margin-top: 8px;
}

.weather-city-list::-webkit-scrollbar {
    width: 4px;
}

.weather-city-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.weather-city-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.weather-city-item {
    padding: 12px 16px;
    font-size: 1.05rem;
    color: #1e293b;
    cursor: pointer;
    border-radius: 10px;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 500;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}

.weather-city-item:hover {
    background: #f1f5f9;
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.1);
    padding-left: 20px;
}

.weather-city-item.hidden {
    display: none;
}

@keyframes weatherFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.weather-dropdown input {
    width: 100%;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    color: #1e293b;
    transition: all 0.2s;
}

.weather-dropdown input:focus {
    border-color: var(--primary);
}

.weather-dropdown button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
}

.weather-dropdown button:hover {
    opacity: 0.9;
}

/* ========================================================
   WEATHER PAGE STYLES (Dedicated Page)
   ======================================================== */
.weather-page {
    background: #f1f5f9;
    padding: 40px 0;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

.weather-page .card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.wp-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.wp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

.wp-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #64748b;
}

.wp-search {
    flex: 1;
}

.wp-search-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.wp-search-box input {
    background: transparent !important;
    border: none !important;
    padding: 12px 0 !important;
    width: 100%;
    font-size: 0.95rem;
    outline: none;
    box-shadow: none !important;
}

.wp-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    border: 1px solid #e2e8f0;
}

.wp-search-results a {
    display: block;
    padding: 12px 16px;
    color: #475569 !important;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
}

.wp-search-results a:hover {
    background: #f8fafc;
    color: var(--primary) !important;
    padding-left: 20px;
}

.wp-main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.wp-current-card {
    margin-bottom: 30px;
}

.wp-current-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.wp-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wp-time {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-top: 4px;
}

.wp-current-main {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 24px;
}

.wp-current-temp-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wp-main-icon {
    font-size: 4rem;
    color: #f59e0b;
}

.wp-temp-val {
    display: flex;
    align-items: flex-start;
}

.wp-temp-val .num {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
}

.wp-temp-val .unit {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 10px;
}

.wp-current-desc {
    display: flex;
    flex-direction: column;
}

.desc-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.feels-like {
    color: #64748b;
    font-weight: 500;
}

.wp-current-summary {
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
}

.wp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.wp-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wp-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.wp-stat-icon.air { background: #eff6ff; color: #3b82f6; }
.wp-stat-icon.wind { background: #f0fdf4; color: #22c55e; }
.wp-stat-icon.hum { background: #fdf2f8; color: #ec4899; }
.wp-stat-icon.vis { background: #f5f3ff; color: #8b5cf6; }
.wp-stat-icon.uv { background: #fffbeb; color: #f59e0b; }
.wp-stat-icon.press { background: #ecfeff; color: #06b6d4; }

.wp-stat-info .wp-val {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 2px;
}

.wp-sun-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.wp-sun-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wp-sun-item i {
    font-size: 2rem;
    color: #f59e0b;
}

.wp-sun-curve {
    flex: 1;
    height: 60px;
    margin: 0 40px;
    position: relative;
    border-bottom: 2px dashed #e2e8f0;
}

.curve-path {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #fde68a;
    border-bottom: none;
    border-radius: 100px 100px 0 0;
    top: 10px;
}

.sun-pos {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #f59e0b;
    border-radius: 50%;
    top: 5px;
    box-shadow: 0 0 10px #f59e0b;
}

.wp-forecast-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.wp-tabs button {
    background: transparent;
    border: none;
    padding: 12px 0;
    font-weight: 700;
    color: #64748b;
    position: relative;
    cursor: default;
}

.wp-tabs button.active {
    color: var(--primary);
}

.wp-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.wp-forecast-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wp-forecast-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f8fafc;
}

.wp-forecast-item:last-child {
    border-bottom: none;
}

.wp-f-time {
    width: 100px;
}

.wp-f-time .day {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.wp-f-time .weekday {
    font-size: 0.8rem;
    color: #94a3b8;
}

.wp-f-cond {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.wp-f-cond i {
    font-size: 1.25rem;
    color: #64748b;
}

.wp-f-temp {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wp-f-temp .high {
    font-weight: 800;
    font-size: 1.25rem;
}

.wp-f-temp .low {
    font-weight: 600;
    color: #94a3b8;
}

.wp-f-stats {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .wp-main-grid {
        grid-template-columns: 1fr;
    }
    .wp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.block-stock-ticker {
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
}

/* --- Trend Colors --- */
.block-stock-ticker .st-up {
    color: #00d26a;
    /* Vibrant Green */
}

.block-stock-ticker .st-down {
    color: #ff4757;
    /* Vibrant Red */
}

/* ==========================================
   STYLE 1: MODERN — Compact Horizontal Strip
   ========================================== */
.st-style-modern .st-strip {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.st-style-modern .st-strip-label {
    display: none;
}

.st-style-modern .st-strip-label i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.st-style-modern .st-strip-items {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.st-style-modern .st-strip-items::-webkit-scrollbar {
    display: none;
}

/* Individual item */
.st-style-modern .st-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
    cursor: default;
}

.st-style-modern .st-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.st-style-modern .st-item-icon {
    font-size: 0.7rem;
    opacity: 0.5;
    color: #666;
}

.st-style-modern .st-item-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0f172a;
    text-transform: capitalize;
}

.st-style-modern .st-item-sym {
    font-size: 0.62rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.st-style-modern .st-item-price {
    font-size: 0.75rem;
    font-weight: 800;
    color: #000;
}

.st-style-modern .st-item-change {
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2px;
}

.st-style-modern .st-item-change i {
    font-size: 0.8rem;
}

/* Group tags */
.st-style-modern .st-group-tag {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.st-style-modern .st-tag-up {
    background: rgba(0, 135, 60, 0.08);
    color: #00873c;
}

.st-style-modern .st-tag-down {
    background: rgba(204, 0, 0, 0.08);
    color: #cc0000;
}

/* Divider (vertical thin line) */
.st-style-modern .st-divider {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    margin: 0 4px;
}

/* ==========================================
   STYLE 2: TICKER SCROLL (Marquee)
   ========================================== */
.st-style-ticker_scroll .st-ticker-wrapper {
    display: flex;
    align-items: stretch;
    background: transparent;
    overflow: hidden;
}

.st-style-ticker_scroll .st-ticker-label {
    display: none;
}

.st-style-ticker_scroll .st-ticker-label i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.st-style-ticker_scroll .st-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 2%, #000 98%, transparent 100%);
}

.st-style-ticker_scroll .st-ticker-content {
    display: flex;
    align-items: center;
    gap: 0;
    animation: stTickerScroll var(--st-speed, 30s) linear infinite;
    width: max-content;
}

.st-style-ticker_scroll .st-ticker-wrapper:hover .st-ticker-content {
    animation-play-state: paused;
}

@keyframes stTickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.st-style-ticker_scroll .st-ticker-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    white-space: nowrap;
    transition: background 0.2s;
    cursor: default;
}

.st-style-ticker_scroll .st-ticker-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.st-style-ticker_scroll .st-ticker-icon {
    font-size: 0.7rem;
    opacity: 0.45;
    color: #666;
}

.st-style-ticker_scroll .st-ticker-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f172a;
}

.st-style-ticker_scroll .st-ticker-sym {
    font-size: 0.62rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 3px;
}

.st-style-ticker_scroll .st-ticker-price {
    font-size: 0.75rem;
    font-weight: 800;
    color: #000;
}

.st-style-ticker_scroll .st-ticker-change {
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2px;
}

.st-style-ticker_scroll .st-ticker-change i {
    font-size: 0.8rem;
}

.st-style-ticker_scroll .st-ticker-divider {
    display: flex;
    align-items: center;
    padding: 0 8px;
    flex-shrink: 0;
}

.st-style-ticker_scroll .st-ticker-divider span {
    display: inline-block;
    background: rgba(0, 0, 0, 0.06);
    color: #888;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 2px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .st-style-modern .st-strip {
        border-radius: 0;
    }

    .st-style-modern .st-strip-label {
        padding: 6px 10px;
        font-size: 0.65rem;
    }

    .st-style-modern .st-item {
        padding: 6px 8px;
        gap: 4px;
    }

    .st-style-ticker_scroll .st-ticker-wrapper {
        border-radius: 0;
    }

    .st-style-ticker_scroll .st-ticker-label {
        padding: 6px 10px;
        font-size: 0.65rem;
    }

    .st-style-ticker_scroll .st-ticker-item {
        padding: 6px 10px;
        gap: 4px;
    }
}

/* ==========================================
   STYLE 3: PILLS
   ========================================== */
.st-pills-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.st-pills-label {
    display: none;
}

.st-pills-scroller {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.st-pills-scroller::-webkit-scrollbar {
    display: none;
}

.st-pill {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    gap: 6px;
    background: #f0f0f4;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.st-pill:hover {
    transform: translateY(-2px);
}

.st-pill-up {
    background: rgba(0, 135, 60, 0.08);
    color: #00873c;
}

.st-pill-down {
    background: rgba(204, 0, 0, 0.08);
    color: #cc0000;
}

.st-pill-icon {
    opacity: 0.7;
}

.st-pill-name {
    color: #0f172a;
    font-weight: 700;
}

.st-pill-sym {
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.st-pill-price,
.st-pill-change {
    font-weight: 800;
}

/* ==========================================
   STYLE 4: MINIMAL DOTS
   ========================================== */
.st-minimal-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.st-minimal-title {
    display: none;
}

.st-minimal-scroller {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.st-minimal-scroller::-webkit-scrollbar {
    display: none;
}

.st-min-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.st-min-name {
    font-weight: 700;
    color: #0f172a;
}

.st-min-sym {
    font-size: 0.6rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.st-min-price {
    font-weight: 700;
    color: #000;
}

.st-min-change {
    font-weight: 800;
}

.st-min-change.st-up {
    color: #00873c;
}

.st-min-change.st-down {
    color: #cc0000;
}

.st-min-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d0d0d0;
    margin-left: 4px;
    display: inline-block;
}

/* ==========================================
   STYLE 5: CARD ROW
   ========================================== */
.st-cardrow-wrapper {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.st-cardrow-title {
    display: none;
}

.st-cardrow-title i {
    font-size: 1rem;
    margin-bottom: 4px;
    opacity: 0.8;
}

.st-cardrow-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex: 1;
}

.st-cardrow-scroller::-webkit-scrollbar {
    display: none;
}

.st-c-card {
    background: transparent;
    padding: 4px 8px;
    border-radius: 0;
    min-width: 100px;
    flex-shrink: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px dashed rgba(0, 0, 0, 0.1);
}

.st-c-card:last-child {
    border-right: none;
}

.st-c-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 0.65rem;
    color: #777;
    font-weight: 700;
}

.st-c-icon {
    font-size: 0.7rem;
    opacity: 0.5;
}

.st-c-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0f172a;
}

.st-c-name small {
    display: block;
    font-size: 0.58rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 500;
}

.st-c-bot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.st-c-price {
    font-size: 0.85rem;
    font-weight: 900;
    color: #000;
    letter-spacing: -0.2px;
}

.st-c-change {
    font-size: 0.72rem;
    font-weight: 900;
}

.st-c-up .st-c-change,
.st-c-up .st-c-icon {
    color: #00d26a;
    opacity: 1;
}

.st-c-down .st-c-change,
.st-c-down .st-c-icon {
    color: #ff4757;
    opacity: 1;
}

/* ==========================================
   STYLE 6: SPLIT SECTIONS
   ========================================== */
.st-split-wrapper {
    display: flex;
    background: transparent;
    overflow: hidden;
}

.st-split-title {
    display: none;
}

.st-split-scroller {
    display: flex;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.st-split-scroller::-webkit-scrollbar {
    display: none;
}

.st-split-group {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.st-split-curr {
    background: #f8f8fa;
}

.st-split-up {
    background: rgba(0, 135, 60, 0.03);
}

.st-split-down {
    background: rgba(204, 0, 0, 0.03);
}

.st-s-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.st-split-up .st-s-tag {
    color: #00873c;
}

.st-split-down .st-s-tag {
    color: #cc0000;
}

.st-s-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    white-space: nowrap;
}

.st-s-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0f172a;
}

.st-s-sym {
    font-size: 0.6rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.st-s-price {
    font-size: 0.75rem;
    font-weight: 900;
    color: #000;
}

.st-s-dir {
    font-size: 0.75rem;
}

.st-s-up .st-s-dir {
    color: #00873c;
}

.st-s-down .st-s-dir {
    color: #cc0000;
}

@media (max-width: 768px) {
    .st-cardrow-wrapper {
        flex-direction: column;
        gap: 6px;
    }

    .st-cardrow-title {
        flex-direction: row;
        gap: 8px;
        padding: 6px;
        font-size: 0.65rem;
    }

    .st-cardrow-title i {
        margin-bottom: 0;
    }

    .st-split-wrapper {
        flex-direction: column;
    }

    .st-split-title {
        justify-content: center;
    }
}


/* ==========================================
   STYLE 8: SOFT BUBBLES
   ========================================== */
.st-soft-wrapper {
    padding: 12px 0;
}

.st-soft-scroller {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.st-soft-scroller::-webkit-scrollbar {
    display: none;
}

.st-soft-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 40px;
    padding: 6px 14px 6px 6px;
    gap: 10px;
    min-width: max-content;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.st-soft-icon-bg {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.st-soft-bg-up {
    background: rgba(0, 210, 106, 0.1);
    color: #00d26a;
}

.st-soft-bg-down {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

.st-soft-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.st-soft-sym {
    font-size: 0.7rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.st-soft-sym small {
    font-size: 0.58rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.st-soft-prc {
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1;
}

.st-soft-prc.st-soft-up {
    color: #00d26a;
}

.st-soft-prc.st-soft-down {
    color: #ff4757;
}

.st-soft-prc small {
    font-size: 0.65rem;
    font-weight: 800;
    opacity: 0.8;
}

/* ==========================================
   STYLE 9: AIRY MINIMAL
   ========================================== */
.st-airy-wrapper {
    padding: 10px 0;
}

.st-airy-scroller {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    scrollbar-width: none;
}

.st-airy-scroller::-webkit-scrollbar {
    display: none;
}

.st-airy-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4a4a4a;
}

.st-airy-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.st-airy-bg-up {
    background: #00d26a;
}

.st-airy-bg-down {
    background: #ff4757;
}

.st-airy-name {
    color: #0f172a;
    font-weight: 700;
}

.st-airy-sym {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.st-airy-prc {
    color: #000;
    font-weight: 800;
}

.st-airy-pct.st-airy-up {
    color: #00d26a;
    font-weight: 800;
}

.st-airy-pct.st-airy-down {
    color: #ff4757;
    font-weight: 800;
}

/* ==========================================
   STYLE 10: ELEGANT CLEAN
   ========================================== */
.st-elegant-wrapper {
    padding: 10px 0;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.st-elegant-scroller {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.st-elegant-scroller::-webkit-scrollbar {
    display: none;
}

.st-elegant-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 4px 16px;
    border-right: 1px solid #e0e0e0;
    min-width: max-content;
}

.st-elegant-item:last-child {
    border-right: none;
}

.st-elegant-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.st-elegant-sym {
    font-size: 0.6rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.5px;
}

.st-elegant-prc {
    font-size: 0.95rem;
    font-weight: 800;
    color: #000;
}

.st-elegant-pct {
    font-size: 0.75rem;
    font-weight: 900;
}

.st-elegant-pct.st-elegant-up {
    /* Darker green to meet contrast on white background */
    color: #15803d;
}

.st-elegant-pct.st-elegant-down {
    /* Darker red to meet contrast on white background */
    color: #b91c1c;
}

/* ========================================================
   GLOBAL PRICE COLOR OVERRIDE (For all blocks as requested)
   ======================================================== */

/* Up (Rising) */
.block-stock-ticker .st-up .st-item-price,
.block-stock-ticker .st-up .st-ticker-price,
.block-stock-ticker .st-pill-up .st-pill-price,
.block-stock-ticker .st-up .st-min-price,
.block-stock-ticker .st-c-up .st-c-price,
.block-stock-ticker .st-s-up .st-s-price,
.block-stock-vertical .sv-up .sv-price,
.block-stock-vertical .sv-up .sv-min-price {
    color: #00d26a !important;
}

/* ==========================================
   BLOCK: MATCH TICKER
   ========================================== */
.block-match-ticker {
    padding: 10px 0;
    background: transparent !important;
}

.mt-wrapper {
    position: relative;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.mt-swiper-area {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* ---- League filter (compact 2-row vertical) ---- */
.mt-league-filter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 4px 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 6px;
    flex-shrink: 0;
    align-self: stretch;
    background: rgba(15, 23, 42, 0.02);
    transition: border-color 0.2s ease, background 0.2s ease;
    min-width: 0;
}
.mt-league-filter:hover {
    border-color: var(--mt-accent);
}
.mt-filter-row {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}
.mt-filter-icon {
    color: #94a3b8;
    font-size: 0.6rem;
    flex-shrink: 0;
}
.mt-league-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
    padding: 0 12px 0 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%2364748b' d='M6 8.5L1.5 4h9z'/></svg>");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 8px;
    max-width: 110px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1;
}
.mt-league-select option {
    background: #fff;
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
}
.mt-league-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--mt-accent);
    text-decoration: none;
    line-height: 1;
    visibility: hidden;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: opacity 0.2s ease;
}
.mt-league-detail:hover {
    opacity: 0.75;
    color: var(--mt-accent);
}
.mt-league-detail i {
    font-size: 0.55rem;
}
@media (max-width: 640px) {
    .mt-league-select { max-width: 80px; font-size: 0.68rem; }
    .mt-filter-icon { display: none; }
    .mt-league-filter { padding: 4px 6px; }
    .mt-league-detail { font-size: 0.55rem; }
}

.mt-swiper {
    padding: 15px 5px !important;
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
}

.mt-card-slide {
    width: auto !important;
    height: auto !important;
}

.mt-card {
    background: #fff;
    border-radius: 0;
    padding: 10px 12px;
    width: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mt-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: var(--mt-accent);
}



/* ==========================================
   STYLE: COMPACT DARK
   ========================================== */
.mt-style-compact_dark .mt-card {
    background: #1e293b;
    border-color: #334155;
}

.mt-style-compact_dark .mt-name {
    color: #e2e8f0;
}

.mt-style-compact_dark .mt-date {
    color: #cbd5e1;
}

.mt-style-compact_dark .mt-league {
    background: #334155;
    color: #94a3b8;
}

.mt-style-compact_dark .mt-card-top {
    border-bottom-color: #334155;
}

.mt-style-compact_dark .mt-time {
    background: transparent;
    color: var(--mt-accent);
    border-color: var(--mt-accent);
}

.mt-style-compact_dark .mt-score {
    color: #f1f5f9;
}

.mt-style-compact_dark .mt-card:hover {
    border-color: var(--mt-accent);
}

/* Generic financial up/down labels (PageSpeed contrast) */
.text-up { color: #15803d !important; }
.text-down { color: #b91c1c !important; }

.mt-style-compact_dark .mt-nav {
    background: #334155;
    color: #e2e8f0;
    box-shadow: none;
    border: 1px solid #475569;
}

.mt-style-compact_dark .mt-nav:hover {
    background: var(--mt-accent);
    border-color: var(--mt-accent);
    color: #fff;
}

/* ==========================================
   STYLE: LINE SEPARATOR (Clean dividers, transparent)
   ========================================== */
.mt-style-line_separator .mt-card {
    background: transparent;
    box-shadow: none;
    border: none;
    border-right: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 4px 14px;
    height: 100%;
    justify-content: center;
    gap: 6px;
}
.mt-style-line_separator .mt-card:hover {
    background: transparent;
    box-shadow: none;
}
.mt-style-line_separator .swiper-slide:last-child .mt-card {
    border-right: none;
}
.mt-style-line_separator .mt-card-top {
    border: none;
    margin: 0 0 4px;
    padding: 0;
    justify-content: center;
    gap: 8px;
}
.mt-style-line_separator .mt-date {
    font-size: 0.58rem;
    color: #94a3b8;
    font-weight: 700;
}
.mt-style-line_separator .mt-league {
    background: transparent;
    padding: 0;
    color: #94a3b8;
    font-size: 0.55rem;
    font-weight: 800;
}
.mt-style-line_separator .mt-card-main {
    gap: 6px;
}
.mt-style-line_separator .mt-team {
    min-width: 0;
}
.mt-style-line_separator .mt-logo {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
}
.mt-style-line_separator .mt-name {
    font-size: 0.95rem;
}
.mt-style-line_separator .mt-score-box {
    min-width: 36px;
}
.mt-style-line_separator .mt-time {
    background: transparent;
    color: var(--mt-accent);
    border: none;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 800;
}
.mt-style-line_separator .mt-score {
    font-size: 0.95rem;
}
.mt-style-line_separator .mt-card-slide {
    width: auto !important;
}

/* ==========================================
   STYLE: ACCENT TOP — Üstte ince accent şerit
   Şeffaf, default sans font, hover'da kayma yok
   ========================================== */
.mt-style-accent_top .mt-card {
    background: transparent;
    border: none;
    border-top: 2px solid var(--mt-accent);
    border-radius: 0;
    box-shadow: none;
    padding: 12px 14px 10px;
    height: 100%;
    transition: background-color 0.2s ease;
}
.mt-style-accent_top .mt-card:hover {
    background: rgba(15, 23, 42, 0.03);
    box-shadow: none;
    border-color: var(--mt-accent);
}
.mt-style-accent_top .mt-card-top {
    border: none;
    padding: 0 0 8px;
    margin: 0 0 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.mt-style-accent_top .mt-date {
    font-size: 0.62rem;
    color: #64748b;
    font-weight: 600;
}
.mt-style-accent_top .mt-league {
    background: transparent;
    color: var(--mt-accent);
    padding: 0;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.mt-style-accent_top .mt-card-main { gap: 8px; }
.mt-style-accent_top .mt-logo {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
}
.mt-style-accent_top .mt-name {
    font-size: 1rem;
    font-weight: 900;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mt-style-accent_top .mt-score-box { min-width: 44px; }
.mt-style-accent_top .mt-time {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--mt-accent);
    font-size: 0.82rem;
    font-weight: 800;
}
.mt-style-accent_top .mt-score {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.mt-style-accent_top .mt-live-badge {
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 1px 5px;
    border-radius: 2px;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.mt-style-accent_top .mt-card-slide { width: auto !important; }

/* ==========================================
   Default behavior: tüm stillerde kısaltma kullanılsın, full ad gizli
   ========================================== */
.mt-name-full { display: none; }
.mt-name-short { display: inline; }

/* ==========================================
   STYLE: BOXED SCORE — Skor/saat accent renkli kutuda
   Takımlar bold kısaltma, simetrik dizilim, net ayrım
   ========================================== */
.mt-style-boxed_score .mt-card {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    box-shadow: none;
    padding: 12px 16px;
    height: 100%;
    transition: background-color 0.2s ease;
}
.mt-style-boxed_score .swiper-slide:last-child .mt-card {
    border-right: none;
}
.mt-style-boxed_score .mt-card:hover {
    background: rgba(15, 23, 42, 0.03);
    box-shadow: none;
}
.mt-style-boxed_score .mt-card-top {
    border: none;
    padding: 0;
    margin-bottom: 12px;
}
.mt-style-boxed_score .mt-date {
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 600;
}
.mt-style-boxed_score .mt-league {
    background: transparent;
    color: #94a3b8;
    padding: 0;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.8px;
}

/* Takımlar yatay sıralı: home (NAME ← LOGO) score (LOGO → NAME) away
   Her iki takım da skor kutusuna doğru yöneliyor — net simetrik ayrım */
.mt-style-boxed_score .mt-card-main {
    gap: 10px;
    align-items: center;
}
.mt-style-boxed_score .mt-team {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.mt-style-boxed_score .mt-team-home {
    flex-direction: row-reverse;
    justify-content: flex-start;
}
.mt-style-boxed_score .mt-team-away {
    justify-content: flex-start;
}
.mt-style-boxed_score .mt-logo {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
    flex-shrink: 0;
}
.mt-style-boxed_score .mt-name {
    font-size: 1rem;
    font-weight: 900;
    color: #0f172a;
    text-transform: none;
    letter-spacing: 0.5px;
    max-width: none;
    white-space: nowrap;
    line-height: 1;
}
.mt-style-boxed_score .mt-score-box {
    min-width: 56px;
    background: color-mix(in srgb, var(--mt-accent) 10%, transparent);
    border-radius: 6px;
    padding: 6px 4px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}
.mt-style-boxed_score .mt-card:hover .mt-score-box {
    background: color-mix(in srgb, var(--mt-accent) 18%, transparent);
}
.mt-style-boxed_score .mt-time {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--mt-accent);
    font-size: 0.85rem;
    font-weight: 900;
}
.mt-style-boxed_score .mt-score {
    color: var(--mt-accent);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 1px;
}
.mt-style-boxed_score .mt-live-badge {
    background: transparent;
    color: #ef4444;
    border: none;
    padding: 0 0 2px;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.mt-style-boxed_score .mt-card-slide { width: auto !important; }

/* ==========================================
   STYLE: SIDE BAR — Solda accent dikey şerit
   Şeffaf, "kategori indikatörü" hissi (haber kartlarındaki gibi)
   ========================================== */
.mt-style-side_bar .mt-card {
    background: transparent;
    border: none;
    border-left: 3px solid var(--mt-accent);
    border-radius: 0;
    box-shadow: none;
    padding: 10px 14px;
    height: 100%;
    transition: background-color 0.2s ease;
}
.mt-style-side_bar .mt-card:hover {
    background: rgba(15, 23, 42, 0.03);
    box-shadow: none;
}
.mt-style-side_bar .mt-card-top {
    border: none;
    padding: 0;
    margin-bottom: 8px;
    gap: 6px;
}
.mt-style-side_bar .mt-date {
    font-size: 0.6rem;
    color: #475569;
    font-weight: 700;
}
.mt-style-side_bar .mt-league {
    background: transparent;
    color: #94a3b8;
    padding: 0;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: none;
}
.mt-style-side_bar .mt-card-main { gap: 6px; }
.mt-style-side_bar .mt-logo {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
}
.mt-style-side_bar .mt-name {
    font-size: 1rem;
    font-weight: 900;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mt-style-side_bar .mt-score-box { min-width: 42px; }
.mt-style-side_bar .mt-time {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--mt-accent);
    font-size: 0.8rem;
    font-weight: 800;
}
.mt-style-side_bar .mt-score {
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.mt-style-side_bar .mt-live-badge {
    background: transparent;
    color: #ef4444;
    border: none;
    padding: 0;
    font-size: 0.5rem;
    font-weight: 800;
}
.mt-style-side_bar .mt-card-slide { width: auto !important; }

.mt-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.mt-date {
    font-size: 0.6rem;
    color: #475569;
    font-weight: 700;
}

.mt-league {
    font-size: 0.55rem;
    font-weight: 900;
    color: #64748b;
    background: #f8fafc;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mt-card-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.mt-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.mt-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-bottom: 5px;
}

.mt-name {
    font-size: 0.95rem;
    font-weight: 900;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
}

.mt-score-box {
    text-align: center;
    min-width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mt-time {
    background: #f8fafc;
    color: #334155;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    display: inline-block;
}

.mt-score {
    font-size: 1rem;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: 2px;
}

.mt-live-badge {
    color: #ef4444;
    font-size: 0.5rem;
    font-weight: 900;
    margin-bottom: 3px;
    padding: 1px 4px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 2px;
    animation: mtFlash 1.5s infinite;
}

@keyframes mtFlash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ---- Navigation (Tam yükseklikte dikey şerit) ---- */
.mt-nav {
    position: relative;
    width: 32px;
    align-self: stretch;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.25s ease;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mt-nav:hover {
    background: var(--mt-accent);
    color: #fff;
    border-color: var(--mt-accent);
}

.mt-nav.swiper-button-disabled,
.mt-nav.swiper-button-lock {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .mt-nav {
        width: 28px;
        font-size: 0.75rem;
    }
}

/* Down (Falling) */
.block-stock-ticker .st-down .st-item-price,
.block-stock-ticker .st-down .st-ticker-price,
.block-stock-ticker .st-pill-down .st-pill-price,
.block-stock-ticker .st-down .st-min-price,
.block-stock-ticker .st-c-down .st-c-price,
.block-stock-ticker .st-s-down .st-s-price,
.block-stock-vertical .sv-down .sv-price,
.block-stock-vertical .sv-down .sv-min-price {
    color: #ff4757 !important;
}

/* ═══════════════════════════════════════════════════
   NEWS DETAIL — DİNAMİK PORTAL DÜZENİ
   ═══════════════════════════════════════════════════ */

.nd-portal-article {
    padding: 0 0 60px;
}

/* ─── Breadcrumbs ─── */
.nd-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.nd-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nd-breadcrumbs a {
    color: #64748b;
    transition: color 0.15s;
}

.nd-breadcrumbs a:hover {
    color: var(--primary, #da0000);
}

.nd-bc-sep {
    font-size: 8px;
    color: #cbd5e1;
}

.nd-bc-current {
    color: var(--primary, #da0000);
}

/* ─── Category Tag ─── */
.nd-category-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 3px;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    transition: opacity 0.2s;
}

.nd-category-tag:hover {
    opacity: 0.85;
    color: #fff;
}

/* ─── Portal Title ─── */
.nd-portal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
}

/* ─── Info Bar (Modern Meta Bar) ─── */
.nd-info-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f8fafc;
    border-top: 1px dashed #cbd5e1;
    border-bottom: 1px dashed #cbd5e1;
    padding: 0;
    margin-bottom: 32px;
    overflow: hidden;
}

.nd-info-bar__segment {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e8f0;
    min-height: 64px;
}

.nd-info-bar__segment:last-child {
    border-right: none;
    margin-left: auto;
}

/* Source Group */
.nd-info-group--source {
    flex-shrink: 0;
}

.nd-source-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nd-source-logo {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.nd-source-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.nd-source-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

/* Dates Group */
.nd-info-group--dates {
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.nd-date-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nd-date-label {
    font-size: 0.625rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.05em;
    line-height: 1;
}

.nd-date-value {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

/* Share Group */
.nd-info-group--share {
    border-right: none;
}

.nd-share-minimal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nd-share-minimal a,
.nd-share-minimal .nd-copy-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s;
    cursor: pointer;
}

.nd-share-minimal a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.nd-share-minimal .nd-copy-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}

/* Google News Group */
.nd-google-news-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.2s;
    height: 32px;
}

.nd-google-news-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nd-google-news-btn span {
    font-size: 0.625rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.nd-google-news-btn img {
    height: 16px;
}

.nd-google-news-btn strong {
    font-size: 0.8125rem;
    color: #334155;
    font-weight: 700;
    white-space: nowrap;
}

/* ─── Font Size Controller ─── */
.nd-font-controller {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #e2e8f0;
}

.nd-font-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.nd-font-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.nd-font-btn span {
    font-size: 0.75rem;
    margin-left: 1px;
}

@media (max-width: 900px) {
    .nd-info-bar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        background: #ffffff;
        border: 1px solid #edf2f7;
        border-radius: 12px;
        padding: 14px 18px;
        margin-bottom: 28px;
        gap: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 100%;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }

    .nd-info-bar::-webkit-scrollbar {
        display: none;
    }

    .nd-info-bar__segment {
        border: none;
        padding: 0;
        min-height: auto;
        display: flex !important;
        flex-shrink: 0;
        width: auto;
    }

    .nd-info-group--source {
        order: 1;
    }

    .nd-info-group--dates {
        order: 2;
        padding-left: 20px;
        border-left: 1px solid #edf2f7 !important;
    }

    .nd-info-group--google-news {
        order: 3;
    }

    .nd-source-name {
        font-size: 0.9375rem;
        color: #1e293b;
    }

    .nd-source-logo,
    .nd-source-avatar {
        width: 40px;
        height: 40px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .nd-date-value {
        font-size: 0.8125rem;
        color: #64748b;
    }

    .nd-date-label {
        font-size: 0.625rem;
    }

    .nd-info-group--dates {
        gap: 16px;
        flex-shrink: 0;
    }
}

/* ─── Action Bar (Under Image) ─── */
.nd-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin: 20px auto 32px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    max-width: 800px;
}

.nd-action-bar__share-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nd-action-bar__label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .nd-action-bar {
        padding: 14px 0;
        margin: 24px 0;
    }

    .nd-action-bar__label {
        display: none;
        /* Hide label on mobile to save space */
    }
}

/* Mobile Only Author Footer (Hidden) */
.nd-mobile-footer {
    display: none !important;
}

.nd-meta-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary, #da0000);
    font-size: 0.8rem;
    transition: all 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nd-meta-share-btn:hover {
    background: var(--primary, #da0000);
    color: #fff;
    transform: translateY(-1px);
}

/* ─── Hero Image ─── */
.nd-portal-hero {
    margin: 0 0 32px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nd-portal-hero img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.nd-portal-hero figcaption {
    padding: 10px 16px;
    font-size: 0.8rem;
    color: #94a3b8;
    font-style: italic;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

/* ─── Summary / Lead (Sub-headline) ─── */
.nd-portal-summary {
    font-size: 1.25rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0;
    border: none;
}

/* ─── Article Body ─── */
.nd-portal-content {
    font-weight: 500;
    font-size: var(--article-font-size, 1.22rem);
    line-height: 1.7;
    color: #2a2a2a;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}


.nd-portal-content h2 {
    font-size: 1.625rem;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    margin: 26px 0 12px;
    /* İçerik başlıkları tema ana rengiyle karışmasın */
    color: #0f172a;
}

.nd-portal-content h3 {
    font-size: 1.375rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.015em;
    margin: 20px 0 10px;
}

.nd-portal-content h1,
.nd-portal-content h4,
.nd-portal-content h5,
.nd-portal-content h6 {
    color: #0f172a;
}

.nd-portal-content strong,
.nd-portal-content b {
    color: inherit;
}

.nd-portal-content blockquote {
    position: relative;
    margin: 24px 0;
    padding: 20px 22px;
    background: #f1f5f9;
    border-left: 5px solid var(--primary, #da0000);
    border-radius: 0 12px 12px 0;
}

.nd-portal-content blockquote::before {
    content: '\f10d';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -24px;
    left: -10px;
    color: var(--primary, #da0000);
    font-size: 2.5rem;
    transform: rotate(-15deg);
    opacity: 0.4;
}

.nd-portal-content blockquote p {
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #1e293b;
}

.nd-portal-content blockquote cite {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.nd-portal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.nd-portal-content a {
    color: var(--primary, #da0000);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nd-portal-content ul,
.nd-portal-content ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.nd-portal-content li {
    margin-bottom: 8px;
}

/* Avoid extra whitespace at boundaries */
.nd-portal-content > *:first-child { margin-top: 0 !important; }
.nd-portal-content > *:last-child { margin-bottom: 0 !important; }
.nd-portal-content li:last-child { margin-bottom: 0; }

/* ─── Tags ─── */
.nd-portal-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 40px 0 0;
    padding-top: 28px;
    border-top: 2px solid #f1f5f9;
}

.nd-portal-tags__icon {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-right: 4px;
}

.nd-portal-tag {
    display: inline-block;
    padding: 5px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 3px;
    transition: all 0.2s;
}

.nd-portal-tag:hover {
    background: var(--primary, #da0000);
    color: #fff;
}

/* ─── Author Box ─── */
.nd-portal-author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #f8fafc;
    border-top: 4px solid var(--primary, #da0000);
    padding: 28px;
    margin: 40px 0;
}

@media (max-width: 640px) {
    .nd-portal-author-box {
        flex-direction: column;
    }
}

.nd-portal-author-box__avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nd-portal-author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nd-portal-author-box__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary, #da0000);
    color: #fff;
    font-size: 1.5rem;
}

.nd-portal-author-box__label {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
}

.nd-portal-author-box__name {
    font-size: 1.125rem;
    font-weight: 900;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.nd-portal-author-box__name a {
    color: #0f172a;
}

.nd-portal-author-box__name a:hover {
    color: var(--primary, #da0000);
}

.nd-portal-author-box__bio {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 12px;
}

.nd-portal-author-box__social {
    display: flex;
    gap: 8px;
}

.nd-author-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary, #da0000);
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.nd-author-social-btn:hover {
    background: var(--primary, #da0000);
    color: #fff;
    border-color: var(--primary, #da0000);
}

/* ─── Related News ─── */
.nd-portal-related {
    margin-top: 48px;
}

.nd-portal-related__header {
    margin-bottom: 24px;
    border-bottom: 3px solid #0f172a;
    padding-bottom: 12px;
}

.nd-portal-related__label {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f172a;
}

.nd-portal-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .nd-portal-related__grid {
        grid-template-columns: 1fr;
    }
}

.nd-related-card {
    display: flex;
    flex-direction: column;
}

.nd-related-card__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 12px;
}

.nd-related-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.nd-related-card__img:hover img {
    transform: scale(1.05);
}

.nd-related-card__cat {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 6px;
}

.nd-related-card__title {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.nd-related-card__title a {
    color: #0f172a;
}

.nd-related-card__title a:hover {
    color: var(--primary, #da0000);
}

.nd-related-card__date {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════
   INFINITE SCROLL — Sonsuz Kaydırma
   ═══════════════════════════════════════════════════ */

/* Ayırıcı kuşak */
.nd-scroll-separator {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 48px 0 0;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #94a3b8;
}

.nd-scroll-separator::before,
.nd-scroll-separator::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #f1f5f9;
}

.nd-scroll-separator span {
    white-space: nowrap;
    padding: 6px 16px;
    background: var(--primary, #da0000);
    color: #fff;
    border-radius: 50px;
    font-size: 0.625rem;
    letter-spacing: 0.12em;
}

/* Scroll article title links */
.nd-scroll-title a {
    color: inherit;
    text-decoration: none;
}

.nd-scroll-title a:hover {
    color: var(--primary, #da0000);
}

/* Yüklenme göstergesi */
#nd-scroll-loader {
    padding: 40px 0;
}

.nd-scroll-loader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
}

.nd-scroll-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: var(--primary, #da0000);
    border-radius: 50%;
    animation: nd-spin 0.7s linear infinite;
}

@keyframes nd-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Fade-in yüklenen makaleler */
.nd-scroll-article {
    animation: nd-fadein 0.4s ease both;
}

@keyframes nd-fadein {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Infinite scroll — loaded articles get a subtle divider on top */
.nd-article-entry--loaded {
    border-top: 3px solid #f1f5f9;
    padding-top: 48px;
    margin-top: 48px;
    animation: nd-fadein 0.5s ease both;
    position: relative;
}

.nd-article-entry--loaded::before {
    content: 'SIRADAKİ HABER';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #da0000);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    z-index: 2;
}

/* ═════════════════════════════════════════════════════════════════════
   GÖRSEL ÜSTÜ MANŞET DESTEĞİ
   ─────────────────────────────────────────────────────────────────────
   Tema bloklarındaki haber görselleri "object-fit: cover" ile kırpılırken
   varsayılan olarak görselin ORTASINI tutuyordu. Bu, görsel üstüne baskılanan
   manşet yazısının (üstten konumlandırılmış olanlar özellikle) kesilmesine
   sebep oluyordu. Aşağıdaki kural blok haber görsellerini ÜST kenardan
   sabitler — kırpılma alttan olur, manşet daima görünür kalır.
   Avatarlar/yuvarlak portreler kapsam dışında (kendi merkezleri korunsun).
   ═════════════════════════════════════════════════════════════════════ */
.cc-card-img img,
.gn-card-img img, .gn-np-img img, .gn-ob-img img,
.gn-style-bordered_card .gn-card-img img,
.gn-style-magazine .gn-card-img img,
.gn-style-mini_cards .gn-mini-img img,
.gn-style-overlay_card .gn-overlay-img img,
.gn-style-two_col_list .gn-twocol-img img,
.gn-style-video_card .gn-video-img img,
.headline-image img,
.headline-side-image img,
.magazine-grid-image,
.nd-portal-hero img,
.nd-related-card__img img,
.news-card-image img,
.search-dot-item .news-card-image img,
.sfg-featured-img,
.sfg-mini-img img,
.sms-featured-img,
.sms-side-img img,
.sn-img-box img,
.sn-tactical-bg,
.ts-bg,
.v-slide-img img,
.vn-classic .vn-classic-img img,
.vn-compact-right .vn-compact-right-img img,
.vn-dot-separated .vn-dot-img img,
.vn-hero .vn-hero-img,
.vn-hlist .vn-hlist-img img,
.vn-magazine .vn-mag-img img,
.vn-ranking .vn-ranking-img img,
.vn-timeline .vn-timeline-img img,
.vn-zigzag .vn-zigzag-img img,
.widget-item-image img {
    object-position: top center !important;
}