/*
 * أخبار السيارات - التنسيقات الرئيسية المطورة (Main CSS v2.0.0)
 * هيكل شبكي موحد (Unified Container Architecture) بين الهيدر والبودي والفوتر
 * متجاوب 100% مع الجوال بدون أي اقتطاع للمحتوى أو إزاحة أفقية
 */

/* ==============================================================
   0. الحاوية القياسية الموحدة (Unified Container)
   تُستخدم بنفس الأبعاد في الهيدر، الأشرطة الفرعية، البودي، والفوتر
   ============================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
    min-width: 0;
}

@media (max-width: 767px) {
    .container {
        padding-right: 12px;
        padding-left: 12px;
    }
}

/* ==============================================================
   1. شريط القمة العلوي (Top Bar)
   ============================================================== */
.top-bar {
    width: 100%;
    max-width: 100%;
    background: #090d12;
    color: #94a3b8;
    font-size: 12.5px;
    border-bottom: 1px solid #1a222d;
    padding: 6px 0;
    overflow: hidden;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.top-bar-start,
.top-bar-end {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.current-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

.top-bar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.top-bar-menu li a {
    color: #94a3b8;
    font-size: 12px;
    white-space: nowrap;
}

.top-bar-menu li a:hover {
    color: #fff;
}

.header-social-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.header-social-links a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    transition: var(--transition);
}

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

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    cursor: pointer;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
    flex-shrink: 0;
}

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

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: inline-block; }
:root:not([data-theme="dark"]) .icon-moon { display: inline-block; }
:root:not([data-theme="dark"]) .icon-sun { display: none; }

@media (max-width: 767px) {
    .top-bar {
        padding: 4px 0;
    }
    .top-bar-menu,
    .top-bar-end {
        display: none;
    }
    .top-bar-inner,
    .top-bar-start {
        justify-content: center;
        width: 100%;
    }
    .current-date {
        font-size: 11.5px;
    }
}

/* ==============================================================
   2. الترويسة الرئيسية (Site Header & Navbar)
   ============================================================== */
.site-header {
    width: 100%;
    max-width: 100%;
    background: var(--light-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-navbar {
    width: 100%;
    max-width: 100%;
    background: var(--light-surface);
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.site-branding {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.site-branding .site-logo,
.site-branding .custom-logo {
    max-height: 46px;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.site-title-wrap {
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.site-branding .site-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.25;
    letter-spacing: -0.3px;
    max-width: 100%;
}

.site-branding .site-title .highlight {
    color: var(--primary-color);
}

.site-branding .site-description {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-ad-banner {
    display: none;
    flex-shrink: 1;
    min-width: 0;
}

@media (min-width: 992px) {
    .header-ad-banner {
        display: block;
        max-width: 728px;
        overflow: hidden;
    }
}

.mobile-toggle-btn {
    display: none;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-toggle-btn span {
    display: block;
    width: 20px;
    height: 2.2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-header-end {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-header-end .mobile-theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

/* ==============================================================
   ضبط ترويسة الجوال والتابلت بنظام Grid ثلاثي متناظر 100%
   (38px يمين للقائمة | 1fr منتصف للشعار | 38px يسار للوضع الليلي)
   ============================================================== */
@media (max-width: 991px) {
    .header-main-row {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        align-items: center;
        gap: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
        min-height: 56px;
    }

    .mobile-toggle-btn {
        display: inline-flex;
        grid-column: 1;
    }

    .site-branding {
        grid-column: 2;
        justify-content: center;
        text-align: center;
        width: 100%;
        min-width: 0;
    }

    .site-title-wrap {
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        min-width: 0;
    }

    .site-branding .site-title {
        font-size: 20px;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-branding .site-description {
        text-align: center;
        font-size: 11px;
        width: 100%;
    }

    .site-branding .site-logo,
    .site-branding .custom-logo {
        max-height: 38px;
        margin: 0 auto;
    }

    .mobile-header-end {
        display: inline-flex;
        grid-column: 3;
    }

    .header-ad-banner {
        display: none !important;
    }
}

/* ==============================================================
   3. القائمة الرئيسية للحاسوب (Main Navigation)
   ============================================================== */
.main-navigation {
    width: 100%;
    max-width: 100%;
    background: #0d131a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

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

.nav-menu > li > a {
    display: block;
    padding: 12px 15px;
    color: #e2e8f0;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-menu > li.current-menu-item > a::after,
.nav-menu > li > a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.nav-search-box {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.search-form-mini {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field-mini {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    color: #fff;
    padding: 5px 12px 5px 32px;
    font-size: 13px;
    width: 190px;
    outline: none;
    transition: var(--transition);
}

.search-field-mini:focus {
    width: 230px;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.search-submit-mini {
    position: absolute;
    left: 8px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .main-navigation {
        display: none !important;
    }
}

/* ==============================================================
   4. الأشرطة الفرعية (الماركات + شريط الأخبار العاجلة)
   ============================================================== */
.header-sub-bars {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.car-brands-bar {
    width: 100%;
    max-width: 100%;
    background: #141b24;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 7px 0;
    overflow: hidden;
}

.brands-bar-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.brands-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
}

.brands-scroll-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.brands-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.car-brands-list {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 2px 0;
    width: max-content;
}

.brand-pill,
.car-brands-list li a {
    display: inline-block;
    padding: 3px 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: #e2e8f0;
    white-space: nowrap;
    transition: var(--transition);
}

.brand-pill:hover,
.car-brands-list li a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 5. شريط الأخبار العاجلة (Breaking News Ticker) */
.breaking-news-bar {
    width: 100%;
    max-width: 100%;
    background: #1e2632;
    color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    font-size: 13px;
    overflow: hidden;
}

.ticker-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.ticker-badge {
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    white-space: nowrap;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.ticker-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    height: 22px;
    position: relative;
}

.ticker-item {
    display: none;
    color: #f8fafc !important;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
    font-size: 12.5px;
}

.ticker-item.active {
    display: block;
    animation: fadeIn 0.35s ease-in-out;
}

.ticker-time {
    color: #94a3b8;
    margin-left: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   6. قائمة الجوال الجانبية (Mobile Off-canvas Drawer)
   ============================================================== */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: none;
}

.mobile-drawer-overlay.open {
    display: block;
}

.mobile-drawer-content {
    width: 280px;
    max-width: 82vw;
    height: 100%;
    background: var(--light-surface);
    position: fixed;
    right: 0;
    top: 0;
    overflow-y: auto;
    padding: 20px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    z-index: 10000;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.mobile-drawer-header .drawer-title {
    font-size: 17px;
    font-weight: 800;
}

.mobile-drawer-header .close-btn {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-drawer-search {
    margin-bottom: 16px;
}

.drawer-search-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.drawer-search-form input {
    width: 100%;
    min-width: 0;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    background: var(--light-bg);
    color: var(--text-main);
}

.drawer-search-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 15px;
}

/* ==============================================================
   7. قسم الصدارة المميز (Hero Featured Section)
   ============================================================== */
.hero-featured-section {
    margin: 16px 0 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    min-width: 0;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
}

.hero-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #0f172a;
    width: 100%;
    min-width: 0;
}

.hero-thumb-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 65%, transparent 100%);
    color: #fff;
    box-sizing: border-box;
    width: 100%;
}

.category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    line-height: 1.4;
}

.category-badge.small {
    font-size: 10.5px;
    padding: 2px 7px;
    margin-bottom: 4px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 4.2vw, 24px);
    font-weight: 800;
    line-height: 1.4;
    margin: 8px 0;
    color: #fff;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post-meta-mini {
    font-size: 12px;
    color: #cbd5e1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-side-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.hero-sub-card {
    min-height: 130px;
}

.hero-sub-title {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ==============================================================
   8. تخطيط المحتوى والشريط الجانبي (Content & Sidebar Layout)
   ============================================================== */
.main-content-wrap {
    padding-top: 16px;
    padding-bottom: 36px;
    width: 100%;
    min-width: 0;
}

.content-and-sidebar-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: start;
}

@media (min-width: 992px) {
    .content-and-sidebar-row {
        grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr);
        gap: 28px;
    }
}

.main-articles-col,
.single-article-content-col,
.main-sidebar-col,
.single-sidebar-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* ترويسة الأقسام */
.section-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
    min-width: 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(17px, 4vw, 20px);
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.section-line {
    flex: 1 1 auto;
    height: 2px;
    background: var(--border-color);
    position: relative;
    min-width: 20px;
}

.section-line::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* شبكة الأخبار (News Cards Grid) */
.articles-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 640px) {
    .articles-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.news-card {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230, 0, 18, 0.3);
}

.news-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
    width: 100%;
}

.card-image,
.news-card-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

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

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 14px;
}

.card-cat-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
}

.news-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-card-excerpt {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 12px;
    flex-grow: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

/* ترقيم الصفحات */
.pagination-container {
    margin: 24px 0 0;
    text-align: center;
    width: 100%;
}

.pagination-container .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    background: var(--light-surface);
}

.pagination-container .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ==============================================================
   9. الشريط الجانبي (Sidebar)
   ============================================================== */
.card-widget {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 16.5px;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.widget-title span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 45px;
    height: 2px;
    background: var(--primary-color);
}

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

.trending-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    min-width: 0;
}

.trending-list li:last-child {
    border-bottom: none;
}

.rank-num {
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    flex-shrink: 0;
}

.trending-list li:first-child .rank-num {
    background: var(--primary-color);
}

.trending-list li a {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

/* ==============================================================
   10. مسار التنقل (Breadcrumbs) - متجاوب ويلتف تلقائياً بدون إزاحة
   ============================================================== */
.akhbar-breadcrumbs {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 14px 0;
    padding: 9px 14px;
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.akhbar-breadcrumbs ol,
.akhbar-breadcrumbs nav,
.akhbar-breadcrumbs .rank-math-breadcrumb p {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.akhbar-breadcrumbs .sep {
    color: var(--text-muted);
    opacity: 0.6;
}

.akhbar-breadcrumbs .current {
    color: var(--text-main);
    font-weight: 700;
}

/* ==============================================================
   11. صفحة المقال الفردي (Single Post View) والصفحات الثابتة
   متجاوبة 100% مع الهيدر بدون أي اقتصاص للمحتوى
   ============================================================== */
.single-article-content-col,
.static-page-card {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 767px) {
    .single-article-content-col,
    .static-page-card {
        padding: 16px 14px;
        border-radius: 10px;
    }
}

.entry-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 16px;
}

.entry-meta-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 11.5px;
    color: var(--text-muted);
    width: 100%;
    min-width: 0;
}

.entry-meta-top > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
}

.entry-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 900;
    line-height: 1.45;
    margin: 0 0 16px 0;
    color: var(--text-main);
    text-align: right;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
}

/* شريط الكاتب وأزرار المشاركة السريعة */
.author-and-share-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.author-info-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.author-avatar-img {
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
    object-fit: cover;
}

.author-details {
    min-width: 0;
}

.author-by {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    line-height: 1.3;
}

.author-name {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-share-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: #fff !important;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.3;
}

.share-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.share-btn.whatsapp { background: #22c55e; }
.share-btn.twitter { background: #0f172a; }
.share-btn.telegram { background: #0284c7; }
.share-btn.copy-link { background: #475569; }

@media (max-width: 640px) {
    .author-and-share-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 0;
    }

    .author-info-chip {
        width: auto;
        flex: 0 1 auto;
        gap: 8px;
    }

    .author-avatar-img {
        width: 34px !important;
        height: 34px !important;
    }

    .author-name {
        font-size: 12.5px;
    }

    .article-share-buttons {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
        width: auto;
        max-width: 100%;
    }

    .share-btn {
        width: auto !important;
        flex: 0 0 auto;
        padding: 4px 7px;
        font-size: 11px;
        border-radius: 5px;
    }
}

/* الصورة البارزة والكابشن */
.featured-image-wrapper {
    margin: 0 0 20px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
}

.featured-hero-img,
.featured-image-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.featured-caption {
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-muted);
    padding: 8px 12px;
    background: var(--light-bg);
    text-align: right;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* صندوق مواصفات السيارة (Car Specs Box) */
.car-specs-box {
    background: linear-gradient(135deg, #0d131a 0%, #1e2632 100%);
    color: #fff;
    padding: 18px;
    border-radius: var(--radius-md);
    margin: 22px 0;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.specs-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 10px;
    width: 100%;
    min-width: 0;
}

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

.spec-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 12px;
    border-radius: 6px;
    border-right: 3px solid var(--primary-color);
    min-width: 0;
    overflow: hidden;
}

.spec-item .label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.spec-item strong {
    font-size: 13px;
    color: #fff;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.spec-item.highlight-price {
    background: rgba(230, 0, 18, 0.18);
    border-right-color: #ffd700;
}

/* صندوق تقييم المحرر (Review Verdict Box) */
.car-review-verdict-box {
    background: var(--light-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    margin: 22px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.verdict-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    min-width: 0;
}

@media (max-width: 576px) {
    .verdict-header {
        flex-direction: column;
        text-align: center;
    }
}

.verdict-score-circle {
    width: 66px;
    height: 66px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.35);
}

.score-number {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.score-out-of {
    font-size: 10px;
    opacity: 0.9;
}

.verdict-header-text {
    min-width: 0;
}

.verdict-header-text h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.verdict-header-text p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.scores-bars-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
}

@media (min-width: 600px) {
    .scores-bars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bar-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: 700;
}

.progress-track {
    height: 7px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to left, var(--primary-color), #ff5722);
    border-radius: 4px;
}

/* متن المقال والخطوط (Article Body) */
.article-body {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--text-main);
    margin: 0 0 24px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    text-align: right;
}

.article-body > * {
    max-width: 100% !important;
    box-sizing: border-box;
}

.article-body p {
    margin-bottom: 16px;
    text-align: right;
}

.article-body ul,
.article-body ol {
    margin: 0 0 18px 0;
    padding-right: 22px;
    padding-left: 0;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(18px, 4.2vw, 22px);
    font-weight: 800;
    line-height: 1.45;
    margin: 26px 0 12px;
    color: var(--text-main);
    border-right: 4px solid var(--primary-color);
    padding-right: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: clamp(16.5px, 3.8vw, 19px);
    font-weight: 700;
    line-height: 1.45;
    margin: 20px 0 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-body img,
.article-body figure,
.article-body .wp-block-image,
.article-body .wp-caption,
.article-body iframe,
.article-body video,
.article-body embed {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-sm);
    margin: 16px auto;
}

.article-body table {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.article-body th,
.article-body td {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    text-align: right;
}

.article-body blockquote {
    border-right: 4px solid var(--primary-color);
    background: var(--light-bg);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin: 18px 0;
    font-weight: 600;
}

.article-body pre,
.article-body code {
    max-width: 100%;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
}

/* وسوم المقال */
.article-tags-wrap {
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    width: 100%;
}

.article-tags-wrap a {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}


/* صندوق الرابط القصير للمقالة (Article Shortlink Box) */
.article-shortlink-box {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-right: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.shortlink-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
}

.shortlink-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 230px;
    min-width: 0;
    max-width: 100%;
}

.shortlink-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 7px 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12.5px;
    color: var(--text-main);
    direction: ltr;
    text-align: left;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
}

.shortlink-input:focus {
    border-color: var(--primary-color);
}

.shortlink-copy-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: var(--transition);
}

.shortlink-copy-btn:hover {
    background: var(--primary-hover);
}

.shortlink-copy-btn.copied {
    background: #16a34a !important;
}

/* بطاقة الكاتب */
.author-bio-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 22px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .author-bio-card {
        flex-direction: column;
        text-align: center;
    }
}

.author-box-avatar {
    border-radius: 50%;
    width: 56px !important;
    height: 56px !important;
    flex-shrink: 0;
    object-fit: cover;
}

.author-bio-content {
    min-width: 0;
}

.author-box-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

.author-box-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

/* مقالات ذات صلة */
.related-articles-section {
    margin-top: 26px;
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.related-section-title {
    font-family: var(--font-heading);
    font-size: 17.5px;
    font-weight: 800;
    margin-bottom: 14px;
    text-align: right;
}

.related-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    min-width: 0;
}

@media (min-width: 600px) {
    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.related-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.related-thumb-link {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 6px;
    background: #0f172a;
}

.related-thumb-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.related-card-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* أرشيف وتعليقات */
.archive-header {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 20px;
}

.archive-header .page-title {
    font-family: var(--font-heading);
    font-size: clamp(19px, 4.5vw, 24px);
    font-weight: 800;
}

.comments-area {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    width: 100%;
    min-width: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    margin-bottom: 10px;
    box-sizing: border-box;
}

.comment-form .submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
}

/* ==============================================================
   12. تذييل الموقع (Footer)
   ============================================================== */
.site-footer {
    width: 100%;
    max-width: 100%;
    background: #090d12;
    color: #94a3b8;
    border-top: 1px solid #1a222d;
    padding-top: 36px;
    overflow: hidden;
    margin-top: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 28px;
    width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr);
    }
}

.footer-col {
    min-width: 0;
    width: 100%;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.footer-brand .highlight {
    color: var(--primary-color);
}

.footer-desc {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.footer-social-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-bar a {
    background: #141b24;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 6px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links-list li {
    margin-bottom: 6px;
}

.footer-links-list li a {
    color: #94a3b8;
    font-size: 13px;
}

.footer-links-list li a:hover {
    color: #fff;
}

.newsletter-sub {
    font-size: 13px;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    width: 100%;
}

.footer-newsletter-form input {
    background: #141b24;
    border: 1px solid #273142;
    border-radius: 5px;
    padding: 8px 10px;
    color: #fff;
    font-size: 13px;
    flex: 1 1 auto;
    min-width: 0;
}

.footer-newsletter-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.footer-bottom-bar {
    background: #05080b;
    border-top: 1px solid #141b24;
    padding: 14px 0;
    font-size: 12px;
    width: 100%;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gn-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    display: inline-block;
}

@media (max-width: 767px) {
    .footer-grid {
        text-align: center;
    }
    .footer-social-bar {
        justify-content: center;
    }
    .footer-heading::after {
        right: 50%;
        transform: translateX(50%);
    }
    .footer-newsletter-form {
        max-width: 360px;
        margin-inline: auto;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* زر الصعود للأعلى */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    left: 16px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.4);
    z-index: 90;
    transition: var(--transition);
}

.back-to-top-btn.visible {
    display: flex;
}

/* ==============================================================
   13. المساحات الإعلانية المتجاوبة (Responsive Ad Slots)
   ============================================================== */
.ad-slot {
    width: 100%;
    max-width: 100%;
    margin: 16px auto;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    clear: both;
}

.ad-slot img,
.ad-slot iframe,
.ad-slot ins {
    max-width: 100% !important;
    margin: 0 auto;
}

.ad-slot.ad-header {
    margin: 0;
}

.ad-slot.in-content-ad {
    margin: 22px auto;
    background: var(--light-bg);
    padding: 10px;
    border-radius: 6px;
}

.mobile-sticky-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: var(--light-surface);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    padding: 6px 8px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.mobile-sticky-ad .ad-close {
    position: absolute;
    top: 2px;
    left: 8px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}

@media (min-width: 768px) {
    .mobile-sticky-ad {
        display: none !important;
    }
}


/* ==========================================================================
   Footer Legal Links (AdSense Compliance)
   ========================================================================== */
.footer-legal-nav {
    display: inline-block;
}
.footer-legal-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.footer-legal-links li {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.footer-legal-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.footer-legal-links li a:hover {
    color: #38bdf8;
    text-decoration: underline;
}
@media (max-width: 767px) {
    .footer-legal-links {
        justify-content: center;
        gap: 10px 14px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
}
