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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: var(--bg);
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6,
.news-card-title,
.glass-slide-title,
.section-header h2,
.widget-header h3,
.kategori-baslik,
.detay-baslik {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* ============ PREMIUM TEMA DEĞİŞKENLERİ BÜTÜNLÜĞÜ ============ */
:root {
    --bg-light: #F4F7F5;
    --card-light: #FFFFFF;
    --soft-surface-light: #ECFDF5;
    --text-primary-light: #0F172A;
    --text-secondary-light: #475569;
    --border-light: #DCE7E1;

    --bg-dark: #08120f;
    --card-dark: #0F1B17;
    --soft-surface-dark: #13241E;
    --text-primary-dark: #F8FAFC;
    --text-secondary-dark: #94A3B8;
    --border-dark: #1E3A32;

    --primary: #34D399;
    --primary-dark: #10B981;
    --primary-light: #6EE7B7;
    --breaking: #F43F5E;
    --trending: #EF4444;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.10);

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Açık tema değişkenleri */
:root {
    --bg: var(--bg-light);
    --surface: var(--card-light);
    --card: var(--card-light);
    --soft-surface: var(--soft-surface-light);
    --soft-surface-rgb: 236, 253, 245;
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --border: var(--border-light);
}

/* Koyu tema değişkenleri */
html.dark-mode {
    --bg: var(--bg-dark);
    --surface: var(--card-dark);
    --card: var(--card-dark);
    --soft-surface: var(--soft-surface-dark);
    --soft-surface-rgb: 19, 36, 30;
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --border: var(--border-dark);
}

/* ============ CONTAINER & GLOBAL LAYOUT ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============ HEADER & NAVBAR (ÜST MENÜ SABİTLEME) ============ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.datetime-container {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--soft-surface);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
    border: 1px solid var(--border);
}

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

.date-box i, .time-box i {
    color: var(--primary);
}

.search-icon-wrapper, .theme-toggle, .view-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle,
.view-toggle {
    border: none;
}

.search-icon-wrapper:hover, .theme-toggle:hover, .view-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ============ KATEGORİ ÇUBUĞU DÜZENİ ============ */
.kategori-cubugu {
    position: fixed;
    top: 71px;
    left: 0;
    width: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    padding: 10px 0;
}

.kategori-scroll {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.kategori-scroll::-webkit-scrollbar {
    display: none;
}

.kategori-btn {
    background: var(--soft-surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.kategori-btn:hover, .kategori-btn.aktif {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.2);
}

/* ============ SECTION HEADER ============ */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 40px 0 24px;
}

.section-header h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ============ REKLAM ALANLARI ============ */
.reklam-kart,
.ust-banner-reklam .reklam-icerik,
.alt-banner-reklam .reklam-icerik,
.dikey-reklam {
    background: var(--soft-surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.reklam-etiket {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 0.6rem;
    letter-spacing: 1px;
}

.icerik-sutunlar {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.sag-reklam {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    order: 2;
    width: 160px;
    flex-shrink: 0;
}

.sol-reklam {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    width: 140px;
    flex-shrink: 0;
}

.dikey-reklam {
    padding: 20px 10px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .sol-reklam, .sag-reklam { display: none !important; }
    .icerik-sutunlar { flex-direction: column; }
}

/* ============ DAHA FAZLA HABER BUTONU ============ */
.load-more-container {
    display: flex;
    justify-content: center;
    margin: 40px auto 60px;
}

.load-more-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 211, 153, 0.3);
}

/* ============ YAN WIDGET (EN ÇOK OKUNANLAR) ============ */
.yan-widget.sag-widget {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 30px;
}

.widget-baslik {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--soft-surface);
    border-bottom: 1px solid var(--border);
}

.widget-baslik i {
    font-size: 0.9rem;
    color: var(--primary);
}

.widget-baslik h3 {
    font-size: 0.7rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: 0.8px;
}

.populer-widget-list {
    padding: 8px 0;
}

.populer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

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

.populer-item:hover {
    background: var(--soft-surface);
    transform: translateX(4px);
}

.populer-sira {
    font-size: 1.2rem;
    font-weight: 800;
    width: 32px;
    text-align: center;
}

.populer-item:nth-child(1) .populer-sira { color: var(--trending); }
.populer-item:nth-child(2) .populer-sira { color: #94A3B8; }
.populer-item:nth-child(3) .populer-sira { color: #CD7F32; }

.populer-baslik {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* ============ MODAL & ASENKRON ARAMA PANELI ============ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card);
    margin: auto;
    padding: 28px;
    border-radius: var(--radius-xl);
    width: 95%;
    max-width: 650px;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s cubic-bezier(0.2, 0, 0, 1);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--breaking);
}

.search-form {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    width: 100%;
}

.search-form input {
    flex: 1;
    padding: 14px 18px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

.search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

.search-form button {
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--primary-dark);
}

.search-results-grid {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.search-result-item {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--soft-surface);
    border-radius: var(--radius-sm);
}

.search-result-item a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.search-result-item .meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ============ NODNEWS PREMIUM FOOTER ============ */
.main-footer {
    background: var(--card);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
}

.footer-logo span {
    color: var(--primary);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: var(--soft-surface);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col ul li i {
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-credit {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 8px;
    font-weight: 500;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.footer-badge {
    background: var(--soft-surface);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid var(--border);
}

/* ============ SON HABERLER GRID (3'LÜ KART DÜZENİ) ============ */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card-item {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.news-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.news-card-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: var(--soft-surface);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.news-card-kategori {
    background: var(--soft-surface);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
}

.news-card-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

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

.news-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.news-card-source {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.news-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

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

/* ============ HABER DETAY SAYFASI ============ */
.detay-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 20px;
}

.detay-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: var(--soft-surface);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.detay-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detay-meta i {
    color: var(--primary);
}

.detay-baslik {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.detay-stats {
    display: flex;
    gap: 20px;
    margin: 16px 0 24px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.sesli-dinleme {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.btn-ses {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ses:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.2);
}

.ai-ozet {
    background: var(--soft-surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 30px 0;
    border: 1px solid var(--border);
}

.ai-ozet-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.ai-ozet-header i {
    font-size: 1.2rem;
    color: var(--primary);
}

.btn-ai-ozet {
    margin-left: auto;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ai-ozet:hover {
    background: var(--primary-dark);
}

.detay-gorsel {
    text-align: center;
    margin: 28px 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.detay-gorsel img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.detay-icerik {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-primary);
}

.detay-icerik p {
    margin-bottom: 1.5rem;
}

.detay-ozet {
    background: var(--soft-surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin: 20px 0;
    text-align: center;
    border: 1px solid var(--border);
    font-style: italic;
    color: var(--text-primary);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white !important;
}

.diger-haberler {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.diger-haberler-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.diger-haberler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.diger-haber-card {
    display: flex;
    gap: 14px;
    background: var(--card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.diger-haber-image {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    overflow: hidden;
    background: var(--soft-surface);
}

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

.diger-haber-content {
    padding: 12px 12px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.diger-haber-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.3;
}

.diger-haber-source {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.detay-don {
    margin-top: 50px;
    text-align: center;
}

.btn-don {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-don:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 211, 153, 0.2);
}

/* ============ İLETİŞİM FORMU (WIDGET DÜZENİ) ============ */
.contact-wrapper {
    max-width: 650px;
    margin: 0 auto 50px;
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 35px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.section-title {
    text-align: center;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.underline {
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto;
    border-radius: 2px;
}

.form-group {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.btn-send {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

/* ============ PREMIUM SPOTLIGHT HERO ALANI ============ */
.hero-section {
    max-width: 1200px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hero-container:hover {
    box-shadow: var(--shadow-lg);
}

.hero-content {
    flex: 1.2;
    padding: 40px;
}

.hero-badge {
    display: inline-block;
    background: var(--breaking);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-title a {
    color: var(--text-primary);
}

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

.hero-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-meta i {
    color: var(--primary);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white !important;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-image {
    flex: 0.8;
    height: 320px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 25px 25px 25px 0;
}

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

.hero-container:hover .hero-image img {
    transform: scale(1.03);
}

/* ============ MAIN PADDING CORRECTION ============ */
main {
    padding-top: 150px;
}

/* ============ TARAFIZ WEB SCROLLBAR STİLLERİ ============ */
::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--soft-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============ METİN SEÇİMİ ============ */
::selection {
    background: var(--primary);
    color: white;
}

/* ============ MODER KÜRESEL YARDIMCI SINIFLAR ============ */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }

/* ============ KESİN MOBİL MENÜ VE ESNEKLİK KURALLARI ============ */
@media (max-width: 992px) {
    .widgets-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-container {
        gap: 20px;
    }
    .hero-content { padding: 30px; }
}

@media (max-width: 768px) {
    .datetime-container,
    .world-clocks {
        display: none !important;
    }
    .hero-container {
        flex-direction: column;
    }
    .hero-content {
        padding: 25px;
        order: 2;
    }
    .hero-image {
        width: calc(100% - 40px);
        height: 220px;
        margin: 20px 20px 0;
        order: 1;
        border-radius: var(--radius-md);
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .widgets-container {
        grid-template-columns: 1fr;
    }
    .detay-baslik {
        font-size: 1.6rem;
    }
    .detay-icerik {
        font-size: 0.95rem;
    }
    .form-group {
        flex-direction: column;
        gap: 16px;
    }
    .nav-links {
        display: none;
    }
}

/* ============ NODNEWS ANA SAYFA PROFESYONEL DÜZEN ============ */
main {
    padding-top: 92px;
}

.home-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    max-width: 1200px;
    margin: 28px auto 34px;
    padding: 0;
}

.hero-container,
.market-panel,
.project-info-card,
.contact-wrapper,
.map-panel,
.home-category-band,
.glass-slider {
    border-radius: var(--radius-lg);
}

.glass-slider-section {
    margin: 34px 0;
}

.section-header.compact {
    margin: 0 0 18px;
}

.glass-slider {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.glass-slider-viewport {
    overflow: hidden;
}

.glass-slider-track {
    display: flex;
    transition: transform 0.45s ease;
    touch-action: pan-y;
}

.glass-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: stretch;
    min-height: 360px;
}

.glass-slide-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.glass-slide-image {
    min-height: 360px;
    background: var(--soft-surface);
}

.glass-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.glass-slide-content {
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.glass-slide-badge {
    width: fit-content;
    background: var(--soft-surface);
    color: var(--primary-dark);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.glass-slide-title {
    font-size: 1.8rem;
}

.glass-slide-title a {
    color: var(--text-primary);
}

.glass-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--card) 88%, transparent);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.glass-prev { left: 16px; }
.glass-next { right: 16px; }

.glass-nav:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.glass-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.glass-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
}

.glass-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--primary);
}

.live-data-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.market-panel {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.widget-header h3 {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.widget-header span {
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
}

.ticker-grid,
.weather-grid {
    display: grid;
    gap: 10px;
}

.ticker-item,
.weather-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}

.ticker-item:last-child,
.weather-item:last-child {
    border-bottom: none;
}

.ticker-item span,
.weather-item span {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.ticker-item strong,
.weather-item strong {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.home-category-band {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px;
    margin: 28px 0 36px;
    box-shadow: var(--shadow-sm);
}

.home-category-band .kategori-scroll {
    padding: 0;
}

.news-heading {
    margin-top: 0;
}

.news-card-item {
    border-radius: 14px;
}

.news-card-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.ad-card {
    justify-content: center;
    align-items: flex-start;
    min-height: 260px;
    padding: 28px;
    border-style: dashed;
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.10), rgba(59, 130, 246, 0.08)),
        var(--card);
}

.ad-card h3 {
    color: var(--text-primary);
    margin: 8px 0;
}

.ad-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-info-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 64px 0 46px;
}

.project-info-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.project-info-card span {
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.project-info-card h2 {
    margin: 10px 0 12px;
    font-size: 1.35rem;
}

.project-info-card p {
    color: var(--text-secondary);
}

.contact-section {
    margin: 44px 0 30px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
    align-items: stretch;
}

.contact-wrapper {
    max-width: none;
    margin: 0;
}

.contact-wrapper #subject {
    margin-bottom: 16px;
}

.map-panel {
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.map-info {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.map-info h3 {
    font-size: 1rem;
}

.map-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.map-panel iframe {
    width: 100%;
    min-height: 340px;
    flex: 1;
    border: 0;
}

.empty-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: var(--text-secondary);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

@media (max-width: 1100px) {
    .live-data-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 86px;
    }

    .home-shell {
        padding: 0 14px;
    }

    .glass-slide {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .glass-slide-image {
        min-height: 220px;
    }

    .glass-slide-content {
        padding: 26px;
    }

    .glass-slide-title {
        font-size: 1.25rem;
    }

    .live-data-section,
    .project-info-section,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .glass-nav {
        width: 36px;
        height: 36px;
    }
}

/* ============ PREMIUM GLASS & ORTALANMIŞ HABER AKIŞI ============ */
header {
    background: color-mix(in srgb, var(--card) 78%, transparent);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar {
    height: 72px;
}

.hero-container,
.glass-slider,
.market-panel,
.home-category-band,
.news-card-item,
.project-info-card,
.contact-wrapper,
.map-panel,
.detay-container,
.ai-ozet,
.diger-haber-card {
    background: color-mix(in srgb, var(--card) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 78%, white 12%);
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
}

html.dark-mode .hero-container,
html.dark-mode .glass-slider,
html.dark-mode .market-panel,
html.dark-mode .home-category-band,
html.dark-mode .news-card-item,
html.dark-mode .project-info-card,
html.dark-mode .contact-wrapper,
html.dark-mode .map-panel,
html.dark-mode .detay-container,
html.dark-mode .ai-ozet,
html.dark-mode .diger-haber-card {
    background: color-mix(in srgb, var(--card) 72%, transparent);
    border-color: rgba(255, 255, 255, 0.08);
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(118px, 150px) minmax(0, 820px) minmax(118px, 150px);
    justify-content: center;
    gap: 18px;
    align-items: start;
    margin-top: 10px;
}

.news-main-column {
    min-width: 0;
}

.side-ad {
    position: sticky;
    top: 96px;
    min-height: 420px;
    border-radius: var(--radius-lg);
    padding: 22px 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(52, 211, 153, 0.16)),
        color-mix(in srgb, var(--card) 54%, transparent);
    border: 1px dashed color-mix(in srgb, var(--border) 72%, var(--primary) 28%);
    backdrop-filter: blur(30px) saturate(190%);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.side-ad h3 {
    margin: 12px 0 10px;
    font-size: 1rem;
    color: var(--text-primary);
}

.side-ad p {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.news-main-column .news-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.featured-list-item {
    background: color-mix(in srgb, var(--card) 84%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    min-height: 110px;
    backdrop-filter: blur(14px);
}

.featured-list-item a {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.86rem;
    line-height: 1.35;
}

.featured-list-item span {
    display: block;
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 8px;
}

@media (max-width: 980px) {
    .news-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .side-ad {
        display: none;
    }
}

@media (max-width: 860px) {
    .news-main-column .news-cards-grid,
    .featured-list {
        grid-template-columns: 1fr;
    }
}

/* ============ ESKI PORTAL GORUNUMUNE YAKINLASTIRMA ============ */
.home-shell {
    max-width: 1280px;
}

.hero-section {
    max-width: 1280px;
}

.glass-slider-section {
    max-width: 1280px;
    margin: 28px auto 34px;
}

.glass-slider {
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(255, 255, 255, 0.88) 46%, rgba(16, 185, 129, 0.12)),
        var(--card);
    border: 1px solid color-mix(in srgb, var(--border) 82%, var(--primary) 18%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.dark-mode .glass-slider {
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.20), rgba(15, 27, 23, 0.92) 48%, rgba(244, 63, 94, 0.08)),
        var(--card);
}

.glass-slide {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    min-height: 300px;
}

.glass-slide-image {
    min-height: 300px;
    margin: 26px 0 26px 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.glass-slide-content {
    padding: 34px 54px 34px 36px;
}

.glass-slide-badge {
    background: var(--trending);
    border-color: transparent;
    color: #fff;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.featured-list-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 13px 18px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: var(--card);
    backdrop-filter: none;
}

.featured-list-item:last-child {
    border-bottom: 0;
}

.featured-list-item:hover {
    background: var(--soft-surface);
}

.featured-list-item span {
    margin: 0;
    color: var(--trending);
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
}

.featured-list-item a {
    font-size: 0.92rem;
}

.news-layout {
    grid-template-columns: minmax(120px, 145px) minmax(0, 980px) minmax(120px, 145px);
}

.news-main-column .news-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 980px;
    gap: 22px;
}

.news-card-image {
    height: 178px;
}

.news-card-content {
    padding: 18px;
}

.news-card-title {
    font-size: 1rem;
}

.news-card-excerpt {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-ad {
    background: var(--soft-surface);
    border: 1px dashed var(--border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.project-info-card h2 {
    font-size: 1.2rem;
}

.detay-container {
    max-width: 1280px;
    padding: 20px;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.detay-layout-shell {
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(0, 780px) minmax(130px, 180px);
    gap: 22px;
    align-items: start;
}

.detay-article {
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.detay-related-rail {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detay-related-title {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detay-related-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.detay-related-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.detay-related-card img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    display: block;
    background: var(--soft-surface);
}

.detay-related-card span {
    display: block;
    padding: 10px;
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.detay-container > .diger-haberler {
    display: none;
}

@media (max-width: 1180px) {
    .news-main-column .news-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detay-layout-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .detay-related-rail {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detay-related-card img {
        height: 120px;
    }

    .detay-related-left {
        order: 2;
    }

    .detay-article {
        order: 1;
    }

    .detay-related-right {
        order: 3;
    }
}

@media (max-width: 768px) {
    .glass-slide {
        grid-template-columns: 1fr;
    }

    .glass-slide-image {
        margin: 18px 18px 0;
        min-height: 210px;
    }

    .news-main-column .news-cards-grid,
    .detay-related-rail {
        grid-template-columns: 1fr;
    }
}

/* ============ HEADER, GLASS VE GENIS ONE CIKAN ALAN REVIZYONU ============ */
header {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 253, 245, 0.46)),
        color-mix(in srgb, var(--card) 62%, transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

html.dark-mode header {
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.72), rgba(19, 36, 30, 0.52)),
        rgba(15, 27, 23, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.10);
}

.navbar {
    max-width: 1320px;
    height: 82px;
}

.logo-img {
    height: 65px;
    max-height: 65px;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.13));
}

.header-news-strip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: color-mix(in srgb, var(--card) 58%, transparent);
    color: var(--text-primary);
    font-size: 0.76rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
}

.header-strip-item i {
    color: var(--primary-dark);
}

.breaking-strip {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.95), rgba(239, 68, 68, 0.88));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.36);
}

.breaking-strip i {
    color: #fff;
}

.datetime-container,
.search-icon-wrapper,
.theme-toggle {
    background: color-mix(in srgb, var(--card) 62%, transparent);
    border-color: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
}

main {
    padding-top: 104px;
}

.glass-slider-section {
    max-width: 1320px;
    padding: 22px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(236, 253, 245, 0.24)),
        color-mix(in srgb, var(--card) 38%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(26px) saturate(185%);
    -webkit-backdrop-filter: blur(26px) saturate(185%);
}

html.dark-mode .glass-slider-section {
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.72), rgba(52, 211, 153, 0.08)),
        rgba(15, 27, 23, 0.52);
    border-color: rgba(255, 255, 255, 0.09);
}

.glass-slider {
    background:
        radial-gradient(circle at 12% 18%, rgba(52, 211, 153, 0.34), transparent 30%),
        radial-gradient(circle at 84% 10%, rgba(239, 68, 68, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 253, 245, 0.46)),
        color-mix(in srgb, var(--card) 62%, transparent);
    border-color: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.glass-slide {
    min-height: 340px;
    grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1.2fr);
}

.glass-slide-image {
    min-height: 286px;
    margin: 28px 0 28px 32px;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.featured-list-item {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 86px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--card) 66%, transparent);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.news-layout {
    grid-template-columns: minmax(112px, 138px) minmax(0, 1040px) minmax(112px, 138px);
}

.news-main-column .news-cards-grid {
    max-width: 1040px;
}

.detay-layout-shell {
    grid-template-columns: minmax(150px, 205px) minmax(0, 760px) minmax(150px, 205px);
}

.detay-related-rail {
    gap: 10px;
}

.detay-related-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: stretch;
}

.detay-related-card img {
    width: 72px;
    height: 74px;
}

.detay-related-card span {
    padding: 9px;
    font-size: 0.74rem;
}

@media (max-width: 1120px) {
    .header-news-strip {
        display: none;
    }

    .featured-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 74px;
    }

    .logo-img {
        height: 48px;
        max-height: 48px;
    }

    main {
        padding-top: 92px;
    }

    .glass-slider-section {
        padding: 14px;
    }
}

/* ============ DURUM BARI, KAYNAK FILTRESI VE RESPONSIVE DUZELTMELER ============ */
.site-status-bar,
.source-filter-band {
    max-width: 1320px;
    margin: 22px auto;
    border: 1px solid rgba(255, 255, 255, 0.46);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(236, 253, 245, 0.34)),
        color-mix(in srgb, var(--card) 52%, transparent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
}

.site-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    flex-wrap: wrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 700;
}

.status-pill i,
.status-pill strong {
    color: var(--primary-dark);
}

.source-filter-band {
    padding: 14px;
}

.source-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.source-filter-header > span {
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 800;
}

.source-filter-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.source-filter-btn {
    flex: 0 0 auto;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--card) 76%, transparent);
    color: var(--text-primary);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.source-filter-btn span {
    color: var(--text-secondary);
    font-weight: 700;
    margin-left: 5px;
}

.source-filter-btn:hover,
.source-filter-btn.aktif {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.source-filter-btn:hover span,
.source-filter-btn.aktif span {
    color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 1181px) {
    .detay-related-rail {
        min-height: calc(100vh - 118px);
        justify-content: space-between;
    }

    .detay-related-card {
        min-height: calc((100vh - 220px) / 5);
    }

    .detay-related-card img {
        width: 82px;
        height: 100%;
        min-height: 86px;
    }
}

@media (max-width: 768px) {
    .home-shell {
        width: 100%;
        padding: 0 10px;
    }

    .news-layout,
    .news-main-column {
        width: 100%;
        min-width: 0;
    }

    .news-main-column .news-cards-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: none;
        width: 100%;
        gap: 16px;
    }

    .news-card-item {
        width: 100%;
        min-width: 0;
    }

    .news-card-image {
        height: 190px;
    }

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

    .news-card-title {
        font-size: 0.98rem;
        overflow-wrap: anywhere;
    }

    .site-status-bar {
        align-items: stretch;
        gap: 8px;
        margin: 16px auto;
    }

    .status-pill {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
    }

    .source-filter-header {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ============ ANA SAYFA YENI UST AKIS VE MOBIL KART ZORLAYICI DUZEN ============ */
.hero-section {
    display: none !important;
}

.glass-slider-section {
    margin-top: 18px;
}

.earthquake-wide-section {
    max-width: 1320px;
    margin: 24px auto;
    padding: 22px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(236, 253, 245, 0.28)),
        color-mix(in srgb, var(--card) 52%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow: var(--shadow-md);
}

.earthquake-wide-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.earthquake-list-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.earthquake-list-wide .earthquake-item {
    min-height: 88px;
    padding: 14px;
}

.side-ad-right .earthquake-widget {
        display: none !important;
    }

html.dark-mode {
    --trending: #EF4444;
}

html.dark-mode .earthquake-wide-section {
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.94), rgba(19, 36, 30, 0.88)),
        var(--card-dark);
    border-color: rgba(239, 68, 68, 0.18);
}

html.dark-mode .earthquake-wide-card,
html.dark-mode .earthquake-item {
    background: rgba(8, 18, 15, 0.72);
    border-color: rgba(239, 68, 68, 0.16);
}

.earthquake-controls,
.earthquake-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.earthquake-actions {
    justify-content: center;
    margin: 16px 0 0;
}

.earthquake-source-btn,
#earthquakeMoreBtn {
    border: 1px solid var(--border);
    background: var(--soft-surface);
    color: var(--text-primary);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    cursor: pointer;
}

.earthquake-source-btn.aktif,
#earthquakeMoreBtn {
    background: var(--trending);
    border-color: var(--trending);
    color: #fff;
}

html.dark-mode .earthquake-source-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f7f2e8;
}

html.dark-mode .earthquake-source-btn.aktif,
html.dark-mode #earthquakeMoreBtn {
    background: #EF4444;
    border-color: #EF4444;
    color: #111827;
}

@media (max-width: 980px) {
    .earthquake-list-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .glass-slider-section {
        padding: 12px !important;
    }

    .glass-slider {
        display: block !important;
        border-radius: var(--radius-lg);
    }

    .glass-slide {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .glass-slide-image {
        min-height: 160px !important;
        height: 160px !important;
        margin: 12px 12px 0 !important;
        border-radius: 12px !important;
    }

    .glass-slide-content {
        padding: 16px 18px 42px !important;
        gap: 10px !important;
    }

    .glass-slide-title {
        font-size: 1rem !important;
        line-height: 1.32 !important;
    }

    .glass-nav {
        display: none !important;
    }

    .glass-slider-dots {
        bottom: 12px !important;
    }

    .earthquake-wide-section {
        padding: 12px !important;
        margin: 16px auto !important;
    }

    .earthquake-wide-card {
        padding: 12px !important;
    }

    .earthquake-list-wide {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .news-main-column .news-cards-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: none !important;
    }

    .news-card-item {
        display: grid !important;
        grid-template-columns: 136px minmax(0, 1fr) !important;
        width: 100% !important;
        min-height: 134px !important;
        border-radius: 12px !important;
    }

    .news-card-image {
        width: 136px !important;
        min-height: 134px !important;
        height: 100% !important;
    }

    .news-card-content {
        min-width: 0 !important;
        padding: 12px !important;
    }

    .news-card-title {
        font-size: 0.9rem !important;
        line-height: 1.28 !important;
        margin-bottom: 8px !important;
    }
}

/* ============ ADMIN RSS KONTROLLER ============ */
.admin-rss-controls {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 210px));
    gap: 12px;
    align-items: center;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.admin-rss-search {
    display: flex;
    gap: 8px;
}

.admin-rss-controls input,
.admin-rss-controls select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    color: var(--text-primary);
    padding: 0 12px;
    font-weight: 650;
}

.admin-rss-controls button,
.admin-rss-more button {
    min-height: 42px;
    border: none;
    border-radius: 10px;
    background: #EF4444;
    color: #fff;
    padding: 0 16px;
    font-weight: 850;
    cursor: pointer;
}

.admin-rss-more {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.admin-rss-empty {
    padding: 22px;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 750;
}

html.dark-mode .admin-rss-controls {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(239, 68, 68, 0.18);
}

html.dark-mode .admin-rss-controls input,
html.dark-mode .admin-rss-controls select {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

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

    .admin-rss-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .admin-rss-controls {
        grid-template-columns: 1fr;
    }

    .admin-rss-search {
        flex-direction: column;
    }
}

/* ============ SON GORSEL REVIZYON: LOGO, DETAY KARTLARI, FOOTER ============ */
.legacy-footer {
    display: none !important;
}

.navbar {
    height: 96px;
}

.logo-img {
    height: 82px;
    max-height: 82px;
}

main {
    padding-top: 118px;
}

.detay-layout-shell {
    grid-template-columns: minmax(250px, 300px) minmax(0, 700px) minmax(250px, 300px);
    gap: 24px;
}

.detay-related-rail {
    gap: 14px;
}

.detay-related-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 104px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(236, 253, 245, 0.42)),
        var(--card);
}

.detay-related-card img {
    width: 112px;
    height: 100%;
    min-height: 104px;
}

.detay-related-card span {
    align-self: center;
    padding: 12px 13px;
    font-size: 0.82rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 1181px) {
    .detay-related-rail {
        justify-content: stretch;
    }

    .detay-related-card {
        flex: 1;
        min-height: 112px;
    }
}

.redesigned-footer {
    background: var(--bg);
    border-top: 0;
    box-shadow: none;
    padding: 70px 0 22px;
    margin-top: 70px;
}

.redesigned-footer::before {
    display: none;
}

.footer-inner {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.footer-about {
    margin-bottom: 92px;
}

.footer-section-title {
    display: grid;
    grid-template-columns: auto auto minmax(80px, 1fr);
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
    padding-left: 14px;
}

.footer-section-title i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--card);
    font-size: 0.78rem;
}

.footer-section-title h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.45rem;
    font-weight: 800;
}

.footer-section-title span {
    height: 1px;
    background: var(--border);
}

.footer-about > p {
    color: var(--text-primary);
    max-width: 980px;
    margin-bottom: 26px;
}

.footer-kunye p {
    margin: 3px 0;
    color: var(--text-primary);
    font-size: 0.96rem;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 72px;
    margin-bottom: 52px;
}

.footer-brand-block .footer-logo {
    font-size: 1.55rem;
    margin-bottom: 16px;
}

.footer-brand-block p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    margin-bottom: 16px;
}

.redesigned-footer .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 0;
}

.redesigned-footer .footer-social a {
    width: 34px;
    height: 34px;
    background: var(--soft-surface);
    color: var(--text-secondary);
    border-radius: 10px;
}

.footer-link-block {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-link-block h4 {
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-link-block a,
.footer-link-block p {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-link-block a {
    color: var(--text-secondary);
}

.footer-link-block i {
    width: 16px;
    color: var(--text-secondary);
}

.redesigned-footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.redesigned-footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.78rem;
    margin: 0 0 8px;
}

.redesigned-footer .footer-badges {
    justify-content: center;
    margin-top: 14px;
}

.redesigned-footer .footer-badge {
    background: var(--soft-surface);
    border: 0;
    color: var(--text-secondary);
}

@media (max-width: 1180px) {
    .detay-layout-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 84px;
    }

    .logo-img {
        height: 66px;
        max-height: 66px;
    }

    main {
        padding-top: 102px;
    }

    .detay-related-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .detay-related-card img {
        width: 104px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-about {
        margin-bottom: 48px;
    }
}

/* ============ FOOTER REFERANSI VE KOYU TEMA DÜZENİ ============ */
.redesigned-footer {
    position: relative;
    padding-top: 86px;
}

.redesigned-footer::after {
    content: "";
    position: absolute;
    top: 34px;
    left: 50%;
    width: min(1240px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background:
        linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.55), var(--border), transparent);
}

.footer-about {
    position: relative;
    padding: 18px 0 28px;
    margin-bottom: 88px;
}

.footer-about::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.75), var(--border), transparent);
}

.footer-section-title {
    margin-bottom: 24px;
}

.footer-section-title i {
    background: #0F172A;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.footer-section-title h2 {
    letter-spacing: 0;
}

.footer-kunye {
    display: inline-block;
    padding: 8px 0 0;
}

.footer-kunye p {
    line-height: 1.45;
}

.footer-kunye strong {
    color: var(--text-primary);
    font-weight: 850;
}

.footer-main-grid {
    padding-top: 4px;
}

.redesigned-footer .footer-social a {
    background: #ECFDF5;
    color: #475569;
    border: 1px solid rgba(52, 211, 153, 0.10);
}

.redesigned-footer .footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-link-block h4 {
    color: var(--primary);
}

.footer-link-block h4 i {
    color: var(--primary);
}

.redesigned-footer-bottom {
    margin-top: 8px;
}

.redesigned-footer .footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 20px;
    padding: 4px 10px;
    background: #ECFDF5;
    color: #475569;
    border-radius: 7px;
    font-size: 0.68rem;
}

html.dark-mode .site-status-bar,
html.dark-mode .source-filter-band {
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.94), rgba(19, 36, 30, 0.88)),
        var(--card-dark);
    border-color: rgba(110, 231, 183, 0.14);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
}

html.dark-mode .status-pill {
    color: #C7D2FE;
}

html.dark-mode .status-pill i,
html.dark-mode .status-pill strong,
html.dark-mode .source-filter-header > span {
    color: #6EE7B7;
}

html.dark-mode .source-filter-btn {
    background: rgba(8, 18, 15, 0.72);
    border-color: rgba(110, 231, 183, 0.16);
    color: #E5E7EB;
}

html.dark-mode .source-filter-btn span {
    color: #94A3B8;
}

html.dark-mode .source-filter-btn:hover,
html.dark-mode .source-filter-btn.aktif {
    background: #10B981;
    border-color: #10B981;
    color: #fff;
}

html.dark-mode .redesigned-footer .footer-social a,
html.dark-mode .redesigned-footer .footer-badge {
    background: rgba(19, 36, 30, 0.92);
    color: #CBD5E1;
    border-color: rgba(110, 231, 183, 0.10);
}

html.dark-mode .footer-section-title i {
    background: #F8FAFC;
    color: #0F172A;
}

/* ============ MOBIL OPTIMIZASYON, ONE CIKAN LISTE VE DEPREM WIDGET ============ */
.featured-list {
        display: flex !important;
        flex-direction: column !important;
    gap: 0 !important;
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
}

.featured-list-item {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    min-height: 58px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    background: var(--card) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.featured-list-item:last-child {
    border-bottom: 0 !important;
}

.featured-list-item span,
html.dark-mode .featured-list-item span,
html.dark-mode .glass-slide-badge,
html.dark-mode .populer-item:nth-child(1) .populer-sira {
    color: var(--trending) !important;
}

html.dark-mode .glass-slide-badge {
    background: var(--trending) !important;
    color: #fff !important;
}

.earthquake-widget {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.earthquake-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.earthquake-widget-header span {
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 850;
}

.earthquake-widget-header i {
    color: var(--trending);
}

.earthquake-widget-header small {
    color: var(--text-secondary);
    font-size: 0.64rem;
    font-weight: 800;
}

.earthquake-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.earthquake-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid var(--border);
}

.earthquake-mag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.14);
    color: var(--trending);
    font-weight: 900;
}

.earthquake-info {
    min-width: 0;
}

.earthquake-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.76rem;
    line-height: 1.28;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.earthquake-info span,
.earthquake-empty {
    color: var(--text-secondary);
    font-size: 0.68rem;
}

@media (max-width: 768px) {
    .hero-section {
        margin: 12px auto 18px;
    }

    .hero-container {
        display: none;
    }

    .glass-slider-section {
        margin: 12px auto 18px;
        padding: 12px;
        border-radius: var(--radius-lg);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: var(--shadow-sm);
    }

    .glass-slider {
        display: none;
    }

    .featured-list-item {
        min-height: 54px !important;
        padding: 11px 12px !important;
    }

    .featured-list-item a {
        font-size: 0.86rem;
        line-height: 1.32;
    }

    .live-data-section {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .market-panel {
        padding: 12px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .widget-header {
        margin-bottom: 8px;
    }

    .ticker-item,
    .weather-item {
        padding: 6px 0;
    }

    .home-category-band,
    .source-filter-band,
    .site-status-bar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .news-card-item {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 126px;
        border-radius: 12px;
        transform: none !important;
    }

    .news-card-image {
        width: 118px;
        height: 100%;
        min-height: 126px;
    }

    .news-card-content {
        padding: 12px;
    }

    .news-card-date {
        font-size: 0.67rem;
        margin-bottom: 7px;
    }

    .news-card-title {
        font-size: 0.88rem;
        line-height: 1.28;
        margin-bottom: 7px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card-excerpt {
        display: none;
    }

    .news-card-footer {
        padding-top: 8px;
        margin-top: auto;
    }

    .news-card-source {
        max-width: 90px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .side-ad {
        display: block;
        position: static;
        min-height: 0;
        padding: 14px;
        margin-top: 14px;
    }

    .side-ad-left {
        display: none;
    }

    .earthquake-widget {
        margin-top: 14px;
        padding-top: 14px;
    }

    .project-info-section,
    .contact-section {
        margin-top: 28px;
    }
}

/* ===== MOBİLDE HABER KARTLARI YATAY DİKDÖRTGEN ===== */
@media screen and (max-width: 900px) {
    .news-cards-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .news-card-item:not(.ad-card) {
        display: grid !important;
        grid-template-columns: 125px minmax(0, 1fr) !important;
        width: 100% !important;
        min-height: 125px !important;
        max-height: 145px !important;
        overflow: hidden !important;
        border-radius: 14px !important;
    }

    .news-card-item:not(.ad-card) .news-card-image {
        width: 125px !important;
        height: 100% !important;
        min-height: 125px !important;
        grid-column: 1 !important;
    }

    .news-card-item:not(.ad-card) .news-card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .news-card-item:not(.ad-card) .news-card-content {
        grid-column: 2 !important;
        padding: 10px 12px !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .news-card-title {
        font-size: 0.92rem !important;
        line-height: 1.25 !important;
        margin: 0 0 6px 0 !important;
    }

    .news-card-excerpt {
        font-size: 0.74rem !important;
        line-height: 1.35 !important;
        margin: 0 0 8px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .news-card-date {
        font-size: 0.68rem !important;
        margin-bottom: 5px !important;
    }

    .news-card-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        font-size: 0.68rem !important;
    }

    .news-card-source,
    .news-card-link {
        font-size: 0.68rem !important;
    }
}

/* ===== MOBİL ANA SAYFA KART GENİŞLİK KESİN DÜZELTME ===== */
@media screen and (max-width: 900px) {
    .home-shell,
    .news-layout,
    .news-main-column,
    .news-heading,
    .news-cards-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    .news-layout {
        display: block !important;
    }

    .side-ad,
    .side-ad-left,
    .side-ad-right {
        display: none !important;
    }

    .news-cards-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .news-card-item:not(.ad-card) {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 130px minmax(0, 1fr) !important;
        min-height: 130px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .news-card-image {
        width: 130px !important;
        height: 130px !important;
    }

    .news-card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .news-card-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 10px 12px !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .news-card-title,
    .news-card-title a,
    .news-card-excerpt,
    .news-card-date,
    .news-card-footer {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .news-card-title {
        font-size: 0.9rem !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }

    .news-card-excerpt {
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .ad-card {
        display: none !important;
    }
}

/* Header logo düzeni */
.navbar {
    height: 122px;
}

.logo a {
    width: clamp(300px, 32vw, 480px);
    height: 110px;
    align-items: center;
}

.logo-img {
    width: 100%;
    height: 110px;
    max-height: 110px;
    object-fit: contain;
    object-position: left center;
}

main {
    padding-top: 144px;
}

@media (max-width: 768px) {
    .navbar {
        height: 96px;
    }

    .logo a {
        width: clamp(220px, 66vw, 320px);
        height: 86px;
    }

    .logo-img {
        height: 86px;
        max-height: 86px;
    }

    main {
        padding-top: 114px;
    }
}

/* Detay sayfası okuma alanı */
.detay-container {
    max-width: 1640px;
    padding: 22px 28px;
}

.detay-layout-shell {
    grid-template-columns: minmax(280px, 340px) minmax(760px, 940px) minmax(280px, 340px);
    gap: 28px;
}

.detay-article {
    padding: 24px 28px 34px;
}

.detay-gorsel {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.detay-icerik {
    max-width: 820px;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.78;
    color: #00132b;
}

html.dark-mode .detay-icerik {
    color: var(--text-primary);
}

.detay-icerik .parsed-content {
    display: block;
}

.detay-icerik p,
.detay-icerik .parsed-content p {
    margin: 0 0 18px;
}

.detay-related-rail {
    top: 140px;
}

.detay-related-card {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    min-height: 112px;
}

.detay-related-card img {
    width: 124px;
    height: 100%;
    min-height: 112px;
}

.detay-related-card span {
    align-self: center;
    font-size: 0.84rem;
    line-height: 1.42;
}

.side-ad {
    top: 132px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
}

.side-ad .reklam-etiket,
.ad-card .reklam-etiket {
    position: static;
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    z-index: 1;
}

@media (max-width: 1280px) {
    .detay-layout-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .detay-related-rail {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .detay-article {
        padding: 18px 14px 24px;
    }

    .detay-icerik {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.72;
    }

    .detay-related-rail {
        grid-template-columns: 1fr;
    }
}

/* Okuma boyutu ve filtre ağırlıkları */
.detay-icerik {
    font-size: 15.5px;
    line-height: 1.82;
}

.detay-icerik p,
.detay-icerik .parsed-content p {
    margin-bottom: 20px;
}

.kategori-btn,
.source-filter-btn,
.source-filter-btn span,
.news-card-kategori {
    font-weight: 400;
}

.kategori-btn.aktif,
.source-filter-btn.aktif,
.source-filter-btn:hover {
    font-weight: 500;
}

.source-filter-header > span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .detay-icerik {
        font-size: 15px;
        line-height: 1.78;
    }
}

/* Haber metni okunabilirliği */
.detay-icerik p,
.detay-icerik .parsed-content p {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

.detay-icerik p + p,
.detay-icerik .parsed-content p + p {
    margin-top: 4px !important;
}

.btn-outline-disabled {
    opacity: 0.62;
    cursor: not-allowed;
    border-color: var(--border);
    color: var(--text-secondary);
}

/* Cam efektli yüzeyler */
header {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(236, 253, 245, 0.16)),
        color-mix(in srgb, var(--card) 30%, transparent) !important;
    border-bottom-color: rgba(255, 255, 255, 0.34) !important;
    backdrop-filter: blur(34px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(34px) saturate(210%) !important;
}

html.dark-mode header {
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.46), rgba(19, 36, 30, 0.28)),
        rgba(15, 27, 23, 0.38) !important;
}

.glass-slider-section,
.site-status-bar,
.source-filter-band {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(236, 253, 245, 0.12)),
        color-mix(in srgb, var(--card) 24%, transparent) !important;
    border-color: rgba(255, 255, 255, 0.38) !important;
    backdrop-filter: blur(34px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(34px) saturate(210%) !important;
}

.glass-slider,
.market-panel,
.news-card-item,
.project-info-card,
.map-panel,
.diger-haber-card,
.detay-related-card,
.earthquake-wide-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(236, 253, 245, 0.10)),
        color-mix(in srgb, var(--card) 32%, transparent) !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
}

.header-strip-item,
.datetime-container,
.search-icon-wrapper,
.theme-toggle,
.featured-list-item,
.source-filter-btn {
    background: color-mix(in srgb, var(--card) 38%, transparent) !important;
    border-color: rgba(255, 255, 255, 0.30) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
}

html.dark-mode .glass-slider-section,
html.dark-mode .site-status-bar,
html.dark-mode .source-filter-band,
html.dark-mode .glass-slider,
html.dark-mode .market-panel,
html.dark-mode .news-card-item,
html.dark-mode .project-info-card,
html.dark-mode .map-panel,
html.dark-mode .diger-haber-card,
html.dark-mode .detay-related-card,
html.dark-mode .earthquake-wide-card {
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.42), rgba(52, 211, 153, 0.06)),
        rgba(15, 27, 23, 0.32) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-mode .header-strip-item,
html.dark-mode .datetime-container,
html.dark-mode .search-icon-wrapper,
html.dark-mode .theme-toggle,
html.dark-mode .featured-list-item,
html.dark-mode .source-filter-btn {
    background: rgba(8, 18, 15, 0.34) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Ana sayfa katmanlı görünüm */
.header-strip-item.breaking-strip {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.96), rgba(239, 68, 68, 0.94)) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
    box-shadow:
        0 12px 26px rgba(220, 38, 38, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

.header-strip-item.breaking-strip i {
    color: #fff !important;
}

.site-status-bar {
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.88), rgba(209, 250, 229, 0.58)),
        color-mix(in srgb, var(--primary) 9%, transparent) !important;
    border-color: rgba(52, 211, 153, 0.32) !important;
    box-shadow:
        0 16px 34px rgba(16, 185, 129, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.58) !important;
}

html.dark-mode .site-status-bar {
    background:
        linear-gradient(135deg, rgba(18, 48, 39, 0.70), rgba(16, 185, 129, 0.12)),
        rgba(8, 18, 15, 0.44) !important;
    border-color: rgba(52, 211, 153, 0.20) !important;
}

.glass-slider-section {
    position: relative;
    overflow: hidden;
}

.glass-slider-section::before,
.glass-slider-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

.glass-slider-section::before {
    width: 280px;
    height: 280px;
    left: -90px;
    top: 24px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.32), transparent 68%);
}

.glass-slider-section::after {
    width: 260px;
    height: 260px;
    right: -72px;
    top: 34px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.22), transparent 70%);
}

.glass-slider-section > * {
    position: relative;
    z-index: 1;
}

.featured-list {
    position: relative;
    padding: 4px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 7% 26%, rgba(52, 211, 153, 0.22), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(220, 38, 38, 0.18), transparent 32%) !important;
}

.featured-list-item {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.40), rgba(236, 253, 245, 0.14)),
        color-mix(in srgb, var(--card) 34%, transparent) !important;
}

.featured-list-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    right: -6px;
    width: 1px;
    height: calc(100% - 32px);
    background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.32), rgba(220, 38, 38, 0.26), transparent);
}

html.dark-mode .featured-list {
    background:
        radial-gradient(circle at 7% 26%, rgba(52, 211, 153, 0.18), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(220, 38, 38, 0.12), transparent 32%) !important;
}

html.dark-mode .featured-list-item {
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.44), rgba(52, 211, 153, 0.06)),
        rgba(8, 18, 15, 0.32) !important;
}

.kategori-scroll,
.source-filter-scroll {
    scroll-behavior: smooth;
    cursor: grab;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(52, 211, 153, 0.55) rgba(236, 253, 245, 0.42);
}

.kategori-scroll::-webkit-scrollbar,
.source-filter-scroll::-webkit-scrollbar {
    display: block !important;
    height: 8px;
}

.kategori-scroll::-webkit-scrollbar-track,
.source-filter-scroll::-webkit-scrollbar-track {
    background: rgba(236, 253, 245, 0.52);
    border-radius: 999px;
}

.kategori-scroll::-webkit-scrollbar-thumb,
.source-filter-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.72), rgba(239, 68, 68, 0.55));
    border-radius: 999px;
}

.kategori-scroll.is-dragging,
.source-filter-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}

@media (max-width: 1120px) {
    .featured-list-item:not(:last-child)::after {
        top: auto;
        right: 14px;
        bottom: -6px;
        left: 14px;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.32), rgba(220, 38, 38, 0.24), transparent);
    }
}

/* Öne çıkan haber sliderı */
.glass-slider {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.48), rgba(236, 253, 245, 0.18) 34%, rgba(255, 247, 237, 0.18) 68%, rgba(255, 255, 255, 0.36)),
        color-mix(in srgb, var(--card) 30%, transparent) !important;
    box-shadow:
        0 22px 50px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.50) !important;
}

.glass-slider::before,
.glass-slider::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.glass-slider::before {
    width: 46%;
    height: 120%;
    left: -16%;
    top: -10%;
    background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.24), transparent 68%);
}

.glass-slider::after {
    width: 44%;
    height: 115%;
    right: -14%;
    top: -6%;
    background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.18), transparent 70%);
}

.glass-slider > * {
    position: relative;
    z-index: 1;
}

html.dark-mode .glass-slider {
    background:
        linear-gradient(120deg, rgba(15, 27, 23, 0.48), rgba(52, 211, 153, 0.08) 36%, rgba(239, 68, 68, 0.07) 70%, rgba(8, 18, 15, 0.42)),
        rgba(8, 18, 15, 0.34) !important;
}

.featured-list {
    padding: 0 !important;
    gap: 0 !important;
    background: transparent !important;
    border: 1px solid rgba(17, 24, 39, 0.20);
    overflow: hidden;
}

.featured-list-item {
    border: 0 !important;
    border-right: 1px solid rgba(17, 24, 39, 0.28) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.20) !important;
    box-shadow: none !important;
}

.featured-list-item:last-child {
    border-right: 0 !important;
}

.featured-list-item:not(:last-child)::after {
    display: none !important;
}

.featured-list-item:hover {
    background: rgba(255, 255, 255, 0.34) !important;
}

html.dark-mode .featured-list {
    border-color: rgba(255, 255, 255, 0.16);
}

html.dark-mode .featured-list-item {
    border-right-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(8, 18, 15, 0.22) !important;
}

html.dark-mode .featured-list-item:hover {
    background: rgba(15, 27, 23, 0.38) !important;
}

@media (max-width: 1120px) {
    .featured-list-item {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(17, 24, 39, 0.24) !important;
    }

    .featured-list-item:last-child {
        border-bottom: 0 !important;
    }

    html.dark-mode .featured-list-item {
        border-bottom-color: rgba(255, 255, 255, 0.16) !important;
    }
}

/* Öne çıkan liste ve slider kontrolleri */
.featured-list {
    background: transparent !important;
    border-color: rgba(17, 24, 39, 0.34) !important;
}

.featured-list-item,
.featured-list-item:hover {
    background: transparent !important;
}

.featured-list-item span,
.featured-list-item a {
    color: #111827 !important;
}

html.dark-mode .featured-list {
    border-color: rgba(255, 255, 255, 0.24) !important;
}

html.dark-mode .featured-list-item span,
html.dark-mode .featured-list-item a {
    color: rgba(255, 255, 255, 0.88) !important;
}

.glass-slider > .glass-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.glass-slider > .glass-prev {
    left: 16px !important;
    right: auto !important;
}

.glass-slider > .glass-next {
    right: 16px !important;
    left: auto !important;
}

.glass-slider > .glass-slider-dots {
    position: absolute !important;
    left: 50% !important;
    bottom: 16px !important;
    transform: translateX(-50%) !important;
    z-index: 5 !important;
}

/* Slider renk geçişleri */
.glass-slider-section::before,
.glass-slider-section::after {
    display: none !important;
}

.featured-list,
.featured-list::before,
.featured-list::after {
    background: rgba(255, 255, 255, 0.42) !important;
    box-shadow: none !important;
}

.featured-list-item,
.featured-list-item:hover,
html.dark-mode .featured-list-item,
html.dark-mode .featured-list-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.featured-list-item {
    border-right-color: rgba(17, 24, 39, 0.42) !important;
}

html.dark-mode .featured-list,
html.dark-mode .featured-list::before,
html.dark-mode .featured-list::after {
    background: rgba(8, 18, 15, 0.34) !important;
}

/* Üst bölüm yerleşimi */
.home-shell {
    max-width: 1080px;
}

.hero-section {
    margin: 24px auto 26px !important;
}

.hero-container {
    min-height: 218px;
    gap: 34px !important;
    padding: 24px 26px;
    border-radius: 12px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(236, 253, 245, 0.34)),
        color-mix(in srgb, var(--card) 70%, transparent) !important;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
}

.hero-content {
    padding: 0 !important;
}

.hero-badge {
    background: var(--primary) !important;
    border-radius: 999px !important;
    padding: 5px 13px !important;
    margin-bottom: 14px !important;
    letter-spacing: 0.5px !important;
    font-size: 0.68rem !important;
}

.hero-title {
    font-size: clamp(1.45rem, 2.2vw, 2.05rem) !important;
    margin-bottom: 12px !important;
}

.hero-excerpt {
    max-width: 520px;
    margin-bottom: 18px !important;
    font-size: 0.9rem !important;
}

.hero-meta {
    margin-bottom: 18px !important;
}

.hero-btn {
    padding: 10px 20px !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.22);
}

.hero-image {
    flex: 0 0 40%;
    height: 185px !important;
    margin: 0 !important;
    border-radius: 10px !important;
}

.live-data-section {
    max-width: 820px;
    margin: 24px auto 18px !important;
    gap: 14px !important;
}

.market-panel {
    position: relative;
    overflow: hidden;
    min-height: 104px;
    padding: 0 !important;
    border-radius: 12px !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.market-panel .widget-header {
    margin: 0 !important;
    padding: 10px 14px;
    background: rgba(209, 250, 229, 0.58);
    border-bottom: 1px solid rgba(16, 185, 129, 0.16);
}

.market-panel .widget-header h3 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem !important;
    text-transform: uppercase;
}

.market-panel .widget-header h3::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
}

.market-panel:nth-child(1) .widget-header h3::before { content: "\f201"; }
.market-panel:nth-child(2) .widget-header h3::before { content: "\f51e"; }
.market-panel:nth-child(3) .widget-header h3::before { content: "\f0c2"; }
.market-panel:nth-child(4) .widget-header h3::before { content: "\f3f5"; }

.market-panel .widget-header span {
    font-size: 0.66rem !important;
}

.ticker-grid,
.weather-grid {
    padding: 12px 14px;
    gap: 8px !important;
}

.ticker-item,
.weather-item {
    padding: 0 !important;
    border-bottom: 0 !important;
}

.ticker-item span,
.weather-item span {
    font-size: 0.66rem !important;
    text-transform: uppercase;
}

.ticker-item strong,
.weather-item strong {
    font-size: 0.72rem !important;
}

.market-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.46) !important;
    box-shadow:
        0 18px 34px rgba(16, 185, 129, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.64) !important;
}

.project-info-card span i,
.project-info-card p i {
    margin-right: 7px;
}

.project-info-card p i {
    color: #111827;
    font-size: 1rem;
}

html.dark-mode .hero-container {
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.58), rgba(52, 211, 153, 0.08)),
        rgba(8, 18, 15, 0.44) !important;
}

html.dark-mode .market-panel .widget-header {
    background: rgba(18, 48, 39, 0.66);
    border-bottom-color: rgba(52, 211, 153, 0.14);
}

html.dark-mode .project-info-card p i {
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-image {
        width: 100%;
        flex-basis: auto;
    }

    .live-data-section {
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Liste yoğunluğu ve okunabilirlik */
.live-data-section {
    max-width: 980px;
    grid-template-columns: repeat(4, minmax(210px, 1fr));
    gap: 16px !important;
    margin: 28px auto 24px !important;
}

.market-panel {
    min-height: 128px;
    border-radius: 14px !important;
}

.market-panel .widget-header {
    padding: 12px 16px;
}

.ticker-grid,
.weather-grid {
    padding: 15px 16px;
    gap: 11px !important;
}

.ticker-item span,
.weather-item span {
    font-size: 0.72rem !important;
}

.ticker-item strong,
.weather-item strong {
    font-size: 0.82rem !important;
    font-weight: 900;
}

.home-category-band {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 26px 0 34px !important;
}

.home-category-band .kategori-scroll {
    gap: 12px;
    padding: 4px 2px 10px !important;
}

.kategori-btn {
    min-height: 32px;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(17, 24, 39, 0.14) !important;
    background: rgba(255, 255, 255, 0.54) !important;
    color: var(--text-primary) !important;
    box-shadow: none !important;
}

.kategori-btn:hover,
.kategori-btn.aktif {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.featured-list {
    border-top: 3px solid var(--primary) !important;
}

.featured-list-item span {
    color: #ef4444 !important;
    font-weight: 900 !important;
    font-size: 1.08rem !important;
}

.featured-list-item a {
    color: #111827 !important;
    font-weight: 500 !important;
}

html.dark-mode .featured-list-item span {
    color: #ef4444 !important;
}

html.dark-mode .featured-list-item a {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500 !important;
}

html.dark-mode .kategori-btn {
    background: rgba(8, 18, 15, 0.36) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 1100px) {
    .live-data-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }
}

/* Kontrast ve metin dengesi */
.header-strip-item,
.source-filter-btn,
.kategori-btn {
    font-size: 0.86rem !important;
}

.market-panel .widget-header h3 {
    font-size: 0.82rem !important;
}

.market-panel .widget-header span {
    font-size: 0.74rem !important;
}

.ticker-item span,
.weather-item span {
    font-size: 0.78rem !important;
}

.ticker-item strong,
.weather-item strong {
    font-size: 0.9rem !important;
}

.source-filter-btn.aktif,
.source-filter-btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.source-filter-btn.aktif span,
.source-filter-btn:hover span {
    color: rgba(255, 255, 255, 0.88) !important;
}

html.dark-mode .source-filter-btn.aktif,
html.dark-mode .source-filter-btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

html.dark-mode .source-filter-btn.aktif span,
html.dark-mode .source-filter-btn:hover span {
    color: rgba(255, 255, 255, 0.88) !important;
}

.header-strip-item.breaking-strip,
html.dark-mode .header-strip-item.breaking-strip {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    box-shadow:
        0 12px 28px rgba(220, 38, 38, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

.header-strip-item.breaking-strip i,
html.dark-mode .header-strip-item.breaking-strip i {
    color: #fff !important;
}

/* Geniş haber gridleri ve reklam alanları */
.featured-showcase-layout {
    display: grid;
    grid-template-columns: minmax(130px, 170px) minmax(0, 1fr) minmax(130px, 170px);
    gap: 16px;
    align-items: stretch;
}

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

.featured-ad {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 18px 14px;
    border-radius: 14px;
    border: 1px dashed rgba(17, 24, 39, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(236, 253, 245, 0.22)),
        color-mix(in srgb, var(--card) 44%, transparent);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.featured-ad strong {
    font-size: 0.92rem;
}

.featured-ad p {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.news-layout {
    grid-template-columns: minmax(110px, 132px) minmax(0, 1180px) minmax(110px, 132px) !important;
}

.news-main-column .news-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    max-width: 1180px !important;
    gap: 18px !important;
}

.news-main-column .news-card-image {
    height: 154px !important;
}

.news-main-column .news-card-content {
    padding: 15px !important;
}

.news-main-column .news-card-title {
    font-size: 0.94rem !important;
}

.news-main-column .news-card-excerpt {
    font-size: 0.8rem !important;
}

html.dark-mode .featured-ad {
    border-color: rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(15, 27, 23, 0.44), rgba(52, 211, 153, 0.06)),
        rgba(8, 18, 15, 0.30);
}

.movie-ad-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(16, 185, 129, 0.18);
}

.movie-ad-list > span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.movie-ad-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.movie-ad-item {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(255, 255, 255, 0.38);
}

.movie-ad-item strong,
.movie-ad-item span,
.movie-ad-item small {
    display: block;
}

.movie-ad-item strong {
    color: var(--text-primary);
    font-size: 0.86rem;
    line-height: 1.25;
}

.movie-ad-item span {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 0.74rem;
    line-height: 1.35;
}

.movie-ad-item small {
    margin-top: 6px;
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 800;
}

html.dark-mode .movie-ad-item {
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(8, 18, 15, 0.34);
}

@media (max-width: 1240px) {
    .featured-showcase-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .featured-ad {
        min-height: auto;
    }

    .news-main-column .news-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    .news-main-column .news-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .news-main-column .news-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Masaüstü öne çıkan alanı */
@media (min-width: 1241px) {
    .glass-slider-section {
        width: calc(100vw - 48px) !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw + 24px) !important;
        margin-right: calc(50% - 50vw + 24px) !important;
        padding: 24px !important;
    }

    .featured-showcase-layout {
        grid-template-columns: minmax(220px, 280px) minmax(720px, 1fr) minmax(220px, 280px) !important;
        gap: 22px !important;
    }

    .featured-ad {
        min-height: 100%;
        padding: 24px 20px;
        justify-content: space-between;
    }

    .featured-ad strong {
        font-size: 1.05rem;
    }

    .featured-ad p {
        font-size: 0.88rem;
    }

    .featured-main .glass-slider {
        min-height: 380px;
    }
}

/* Masaüstü geniş sayfa düzeni */
@media (min-width: 1241px) {
    .home-shell {
        max-width: none !important;
        width: calc(100vw - 48px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-section,
    .earthquake-wide-section,
    .live-data-section,
    .site-status-bar,
    .home-category-band,
    .source-filter-band,
    .news-layout,
    .project-info-section,
    .contact-section {
        max-width: none !important;
        width: 100% !important;
    }

    .live-data-section {
        grid-template-columns: repeat(4, minmax(260px, 1fr)) !important;
        gap: 22px !important;
        margin: 32px 0 28px !important;
    }

    .market-panel {
        min-height: 154px !important;
    }

    .market-panel .widget-header {
        padding: 15px 18px !important;
    }

    .ticker-grid,
    .weather-grid {
        padding: 18px !important;
        gap: 14px !important;
    }

    .ticker-item span,
    .weather-item span {
        font-size: 0.84rem !important;
    }

    .ticker-item strong,
    .weather-item strong {
        font-size: 1rem !important;
    }

    .earthquake-wide-section {
        margin: 34px 0 !important;
    }

    .earthquake-wide-card {
        padding: 24px !important;
        min-height: 300px;
    }

    .earthquake-list-wide {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .news-layout {
        grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) minmax(170px, 230px) !important;
        gap: 24px !important;
        align-items: start;
    }

    .side-ad {
        min-height: 420px;
        position: sticky;
        top: 108px;
    }

    .news-main-column .news-cards-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        max-width: none !important;
        gap: 18px !important;
    }

    .news-main-column .news-card-image {
        height: 142px !important;
    }

    .news-main-column .news-card-title {
        font-size: 0.88rem !important;
    }

    .news-main-column .news-card-excerpt {
        font-size: 0.76rem !important;
    }
}

@media (min-width: 1500px) {
    .news-main-column .news-cards-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
}

/* Dengeli masaüstü genişliği */
@media (min-width: 1241px) {
    .home-shell {
        width: min(1440px, calc(100vw - 64px)) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .glass-slider-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .featured-showcase-layout {
        grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) minmax(190px, 240px) !important;
    }

    .live-data-section {
        grid-template-columns: repeat(4, minmax(230px, 1fr)) !important;
    }

    .home-category-band .kategori-scroll {
        flex-wrap: wrap;
        overflow-x: visible !important;
        cursor: default;
    }

    .home-category-band .kategori-scroll::-webkit-scrollbar {
        display: none !important;
    }

    .news-layout {
        grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(150px, 190px) !important;
        gap: 22px !important;
    }

    .side-ad {
        min-height: 360px;
    }

    .news-main-column .news-cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }

    .news-main-column .news-card-image {
        height: 188px !important;
    }

    .news-main-column .news-card-content {
        padding: 18px !important;
    }

    .news-main-column .news-card-title {
        font-size: 1rem !important;
    }

    .news-main-column .news-card-excerpt {
        font-size: 0.84rem !important;
    }
}

@media (min-width: 1241px) and (max-width: 1360px) {
    .home-category-band .kategori-scroll {
        flex-wrap: nowrap;
        overflow-x: auto !important;
        cursor: grab;
    }

    .home-category-band .kategori-scroll::-webkit-scrollbar {
        display: block !important;
    }

    .news-main-column .news-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1500px) {
    .news-main-column .news-cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* Sabit yan alan hizalaması */
.home-shell,
.news-layout,
.news-main-column {
    overflow: visible !important;
}

.side-ad,
.side-ad-left,
.side-ad-right {
    overflow: visible !important;
    align-self: start;
}

@media (min-width: 1025px) {
    .side-ad,
    .side-ad-left,
    .side-ad-right {
        position: sticky !important;
        top: 150px !important;
        margin-top: 8px;
        margin-bottom: 28px;
        z-index: 2;
        transform: translateZ(0);
    }
}

@media (min-width: 1241px) {
    .side-ad,
    .side-ad-left,
    .side-ad-right {
        top: 154px !important;
    }
}

/* Milli takım header bannerı */
.national-header-banner {
    flex: 1 1 560px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 420px;
    margin-left: -26px;
    pointer-events: none;
}

.national-header-banner img {
    width: clamp(640px, 50vw, 920px);
    height: auto;
    max-height: 128px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.18));
}

@media (min-width: 1025px) {
    .navbar {
        max-width: min(1720px, calc(100vw - 56px)) !important;
        height: 148px !important;
        gap: 18px;
        padding-left: 28px;
        padding-right: 28px;
        justify-content: flex-start;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo a {
        width: clamp(340px, 23vw, 520px) !important;
        height: 136px !important;
    }

    .logo-img {
        height: 136px !important;
        max-height: 136px !important;
    }

    .nav-actions {
        flex: 0 0 auto;
        margin-left: auto;
        gap: 10px;
        white-space: nowrap;
        min-width: max-content;
    }

    .header-news-strip {
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }

    .header-strip-item {
        flex: 0 0 auto;
        white-space: nowrap;
        min-width: max-content;
        padding-left: 14px;
        padding-right: 14px;
    }

    main {
        padding-top: 172px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1380px) {
    .navbar {
        height: 132px !important;
        gap: 12px;
    }

    .logo a {
        width: clamp(270px, 22vw, 340px) !important;
        height: 118px !important;
    }

    .logo-img {
        height: 118px !important;
        max-height: 118px !important;
    }

    .national-header-banner {
        min-width: 240px;
        margin-left: 0;
    }

    .national-header-banner img {
        width: clamp(180px, 70vw, 300px);
        max-height: 52px;
        object-fit: contain;
    }

    .datetime-container {
        padding-left: 11px;
        padding-right: 11px;
        gap: 9px;
    }

    .header-strip-item {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 0.8rem !important;
    }

    main {
        padding-top: 154px !important;
    }
}

@media (max-width: 1180px) {
    .national-header-banner img {
        width: clamp(400px, 38vw, 560px);
        max-height: 92px;
    }
}

@media (max-width: 980px) {
    .navbar {
        max-width: 100% !important;
        height: 154px !important;
        padding: 8px 12px 10px !important;
        display: grid !important;
        grid-template-columns: minmax(132px, 1fr) auto;
        grid-template-areas:
            "logo actions"
            "banner banner";
        align-items: center;
        gap: 4px 10px;
    }

    .logo {
        grid-area: logo;
        min-width: 0;
    }

    .logo a {
        width: clamp(138px, 38vw, 210px) !important;
        height: 54px !important;
    }

    .logo-img {
        height: 54px !important;
        max-height: 54px !important;
    }

    .nav-actions {
        grid-area: actions;
        justify-content: flex-end;
        gap: 7px !important;
        min-width: 0;
        white-space: nowrap;
    }

    .header-news-strip {
        gap: 6px;
    }

    .header-strip-item {
        min-height: 34px !important;
        padding: 0 10px !important;
        font-size: 0.76rem !important;
        white-space: nowrap;
    }

    .datetime-container {
        display: none !important;
    }

    .search-icon-wrapper,
    .theme-toggle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }

    .national-header-banner {
        grid-area: banner;
        display: flex;
        justify-content: center;
        min-width: 0;
        width: 100%;
        margin: -2px 0 0;
        overflow: hidden;
    }

    .national-header-banner img {
        width: min(96vw, 420px);
        max-height: 64px;
        object-fit: contain;
    }

    main {
        padding-top: 176px !important;
    }
}

@media (max-width: 640px) {
    .navbar {
        height: 148px !important;
        grid-template-columns: minmax(120px, 1fr) auto;
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 3px 8px;
    }

    .logo a {
        width: clamp(122px, 34vw, 168px) !important;
        height: 48px !important;
    }

    .logo-img {
        height: 48px !important;
        max-height: 48px !important;
    }

    .header-strip-item {
        min-height: 32px !important;
        padding: 0 8px !important;
        font-size: 0.7rem !important;
        gap: 5px;
    }

    .header-strip-item:not(.breaking-strip) span {
        display: none;
    }

    .search-icon-wrapper,
    .theme-toggle {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }

    .national-header-banner img {
        width: 98vw;
        max-height: 78px;
    }

    main {
        padding-top: 168px !important;
    }
}

@media (max-width: 390px) {
    .navbar {
        height: 142px !important;
    }

    .header-strip-item {
        padding: 0 7px !important;
        font-size: 0.68rem !important;
    }

    .search-icon-wrapper,
    .theme-toggle {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }

    .national-header-banner img {
        max-height: 72px;
    }

    main {
        padding-top: 162px !important;
    }
}

/* Admin kullanıcı formu */
@media (max-width: 1180px) {
    .admin-user-create-form {
        grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
    }

    .admin-user-create-form button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .admin-user-create-form {
        grid-template-columns: 1fr !important;
    }
}

/* Okunabilirlik ve header ayarlari */
body,
button,
input,
textarea,
select {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.glass-slide-title,
.news-card-title,
.detay-baslik,
.kategori-baslik,
.section-header h2,
.widget-header h3,
.footer-logo,
.footer-section-title h2,
.project-info-card h2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

body :where(a, p, span, strong, small, li, button, label, input, textarea, select, td, th, div) {
    font-weight: 400 !important;
}

.news-card-title a,
.featured-list-item a,
.populer-baslik,
.footer-col h4,
.footer-link-block h4,
.footer-kunye strong,
.status-pill strong,
.ticker-item strong,
.weather-item strong,
.earthquake-info strong,
.movie-ad-title,
.movie-ad-item strong,
.source-filter-header > span {
    font-weight: 500 !important;
}

.kategori-btn,
.source-filter-btn,
.header-strip-item,
.load-more-btn,
.btn-send,
.hero-btn,
#earthquakeMoreBtn,
.earthquake-source-btn,
.news-card-source,
.news-card-link,
.footer-badge,
.reklam-etiket {
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

@media (min-width: 1025px) {
    .logo a {
        width: clamp(260px, 18vw, 380px) !important;
        height: 118px !important;
    }

    .logo-img {
        height: 118px !important;
        max-height: 118px !important;
        object-fit: contain !important;
    }

    .national-header-banner {
        flex: 1 1 420px !important;
        min-width: 260px !important;
        margin-left: 0 !important;
        overflow: hidden !important;
    }

    .national-header-banner img {
        width: min(46vw, 620px) !important;
        max-height: 86px !important;
        object-fit: contain !important;
    }
}

.home-category-band .kategori-btn.aktif,
.kategori-scroll .kategori-btn.aktif,
button.kategori-btn.aktif {
    background: var(--primary) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.22) !important;
}

html.dark-mode .home-category-band .kategori-btn.aktif,
html.dark-mode .kategori-scroll .kategori-btn.aktif,
html.dark-mode button.kategori-btn.aktif {
    background: var(--primary) !important;
    border-color: var(--primary-light) !important;
    color: #06110d !important;
}

.search-icon-wrapper,
.theme-toggle,
.view-toggle {
    color: #0f172a !important;
}

.search-icon-wrapper i,
.theme-toggle i,
.view-toggle i {
    color: currentColor !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    opacity: 1 !important;
}

html.dark-mode .search-icon-wrapper,
html.dark-mode .theme-toggle,
html.dark-mode .view-toggle {
    color: #f8fafc !important;
}

@media (min-width: 641px) {
    .view-toggle {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .navbar {
        height: 78px !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        grid-template-areas: "logo banner actions" !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 9px !important;
    }

    .logo {
        grid-area: logo !important;
    }

    .logo a {
        width: clamp(136px, 36vw, 174px) !important;
        height: 62px !important;
    }

    .logo-img {
        height: 62px !important;
        max-height: 62px !important;
        object-fit: contain !important;
    }

    .national-header-banner {
        grid-area: banner !important;
        width: auto !important;
        min-width: 0 !important;
        max-height: 48px !important;
        margin: 0 !important;
        justify-content: flex-end !important;
        overflow: hidden !important;
    }

    .national-header-banner img {
        width: min(100%, 218px) !important;
        max-height: 48px !important;
        object-fit: contain !important;
        object-position: right center !important;
    }

    .nav-actions {
        position: static !important;
        grid-area: actions !important;
        display: inline-flex !important;
        width: auto !important;
        min-width: max-content !important;
        gap: 6px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .header-news-strip,
    .datetime-container {
        display: none !important;
    }

    .search-icon-wrapper,
    .theme-toggle,
    .view-toggle {
        display: inline-flex !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.78) !important;
        border: 1px solid rgba(15, 23, 42, 0.14) !important;
        color: #0f172a !important;
    }

    html.dark-mode .search-icon-wrapper,
    html.dark-mode .theme-toggle,
    html.dark-mode .view-toggle {
        background: rgba(8, 18, 15, 0.74) !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
        color: #f8fafc !important;
    }

    main {
        padding-top: 94px !important;
    }

    body:not(.mobile-news-list) .home-shell .news-main-column .news-cards-grid {
        gap: 10px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-item:not(.ad-card) {
        display: grid !important;
        grid-template-columns: 104px minmax(0, 1fr) !important;
        min-height: 112px !important;
        max-height: 124px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-image {
        width: 104px !important;
        height: 112px !important;
        min-height: 112px !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-content {
        padding: 8px 9px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        justify-content: center !important;
        gap: 3px !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-date {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        min-width: 0 !important;
        margin-bottom: 3px !important;
        font-size: 0.6rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-kategori {
        max-width: 76px !important;
        padding: 1px 6px !important;
        font-size: 0.56rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-title {
        margin: 0 0 3px !important;
        font-size: 0.78rem !important;
        line-height: 1.22 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        overflow-wrap: anywhere !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-title a {
        display: block !important;
        overflow-wrap: anywhere !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-excerpt {
        display: none !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        padding-top: 4px !important;
        margin-top: 0 !important;
        min-width: 0 !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-source {
        max-width: 72px !important;
        font-size: 0.58rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-link {
        font-size: 0.6rem !important;
        white-space: nowrap !important;
    }

    body.mobile-news-list .home-shell .news-main-column .news-cards-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        border-top: 1px solid var(--border) !important;
    }

    body.mobile-news-list .home-shell .news-card-item.ad-card {
        display: none !important;
    }

    body.mobile-news-list .home-shell .news-card-item:not(.ad-card) {
        display: block !important;
        min-height: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid var(--border) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body.mobile-news-list .home-shell .news-card-item:not(.ad-card):hover {
        border-color: var(--border) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    body.mobile-news-list .home-shell .news-card-image,
    body.mobile-news-list .home-shell .news-card-date,
    body.mobile-news-list .home-shell .news-card-excerpt,
    body.mobile-news-list .home-shell .news-card-footer {
        display: none !important;
    }

    body.mobile-news-list .home-shell .news-card-content {
        display: block !important;
        padding: 11px 4px !important;
    }

    body.mobile-news-list .home-shell .news-card-title {
        margin: 0 !important;
        font-size: 0.94rem !important;
        line-height: 1.34 !important;
    }

    body.mobile-news-list .home-shell .news-card-title a {
        display: block !important;
        color: var(--text-primary) !important;
    }

    body.mobile-news-list .home-shell .news-card-title a:hover {
        color: var(--primary-dark) !important;
    }
}

@media (max-width: 520px) {
    .navbar {
        height: 74px !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        grid-template-areas: "logo banner" !important;
        gap: 7px !important;
    }

    .logo a {
        width: clamp(126px, 36vw, 150px) !important;
        height: 58px !important;
    }

    .logo-img {
        height: 58px !important;
        max-height: 58px !important;
    }

    .national-header-banner img {
        width: min(100%, 190px) !important;
        max-height: 44px !important;
    }

    .nav-actions {
        position: fixed !important;
        top: 80px !important;
        right: 9px !important;
        z-index: 1002 !important;
        display: inline-flex !important;
        gap: 6px !important;
        padding: 5px !important;
        border: 1px solid var(--border) !important;
        border-radius: 999px !important;
        background: color-mix(in srgb, var(--card) 94%, transparent) !important;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12) !important;
        backdrop-filter: blur(10px) !important;
    }

    main {
        padding-top: 122px !important;
    }
}

@media (min-width: 521px) and (max-width: 640px) {
    .national-header-banner img {
        width: min(100%, 184px) !important;
    }
}

@media (max-width: 390px) {
    .view-toggle {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-item:not(.ad-card) {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        min-height: 106px !important;
        max-height: 118px !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-image {
        width: 92px !important;
        height: 106px !important;
        min-height: 106px !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-content {
        padding: 7px 8px !important;
    }

    body:not(.mobile-news-list) .home-shell .news-card-title {
        font-size: 0.74rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 360px) {
    .logo a {
        width: 118px !important;
        height: 54px !important;
    }

    .logo-img {
        height: 54px !important;
        max-height: 54px !important;
    }

    .national-header-banner img {
        width: min(100%, 164px) !important;
        max-height: 40px !important;
    }
}
