﻿/* ==========================================================
   1. الهوية الملكية لمجلة أثر (Variables)
   ========================================================== */
:root {
    --athar-dark: #050505;
    --athar-gold: #c5a02a;
    --athar-gold-bright: #e5c158;
    --athar-glass: rgba(255, 255, 255, 0.03);
    --athar-border: rgba(197, 160, 42, 0.15);
    --athar-text-main: #e2e2e2;
}

body {
    background-color: var(--athar-dark) !important;
    color: var(--athar-text-main) !important;
    font-family: 'Amiri', serif;
    padding-top: 120px !important;
}

/* تحسين بسيط لإحساس العمق */
.container, main.container {
    position: relative;
    z-index: 1;
}

/* ==========================================================
   2. الهيدر والأقسام (Header & Navigation)
   ========================================================== */

/* (إضافة) اجعل الهيدر زجاجي فعلاً */
header .navbar {
    background: rgba(5,5,5,0.72) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--athar-border) !important;
}

/* (إضافة) شعار ذهبي واضح */
.navbar-brand {
    color: var(--athar-gold-bright) !important;
    letter-spacing: 0.5px;
    text-shadow: 0 0 18px rgba(197,160,42,0.22);
}

/* إزاحة حاوية الأقسام لأسفل قليلاً لتعطي شكلاً أجمل */
.athar-nav .navbar-nav {
    margin-top: 10px !important;
    gap: 12px !important;
}

.nav-link.athar-link {
    color: #d1d1d1 !important;
    padding: 8px 20px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
    transition: all 0.3s ease !important;
    border: 1px solid transparent !important;
    /* حركة التلاشي */
    opacity: 0;
    transform: translateY(10px);
    animation: atharFadeIn 0.6s ease forwards;
    /* (إضافة) خط ذهبي سفلي يظهر عند hover */
    position: relative;
}

    .nav-link.athar-link::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 6px;
        height: 1px;
        background: rgba(197,160,42,0.0);
        transition: .25s ease;
    }

    .nav-link.athar-link:hover {
        color: var(--athar-gold) !important;
        background: rgba(197, 160, 42, 0.08) !important;
        border-color: rgba(197, 160, 42, 0.3) !important;
        transform: translateY(-2px) !important;
    }

        .nav-link.athar-link:hover::after {
            background: rgba(197,160,42,0.55);
        }

/* محرك حركات التلاشي المتتابع */
.navbar-nav li:nth-child(1) .nav-link {
    animation-delay: 0.10s;
}

.navbar-nav li:nth-child(2) .nav-link {
    animation-delay: 0.20s;
}

.navbar-nav li:nth-child(3) .nav-link {
    animation-delay: 0.30s;
}

.navbar-nav li:nth-child(4) .nav-link {
    animation-delay: 0.40s;
}

.navbar-nav li:nth-child(5) .nav-link {
    animation-delay: 0.50s;
}

.navbar-nav li:nth-child(6) .nav-link {
    animation-delay: 0.60s;
}

@keyframes atharFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   3. شريط البحث والوضع الليلي (Search & Tools)
   ========================================================== */

/* صندوق البحث - Luxury Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--athar-border) !important;
    border-radius: 8px !important;
    padding: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.35s ease !important;
    max-width: 250px;
    height: 38px;
}

    .search-box:focus-within {
        border-color: var(--athar-gold) !important;
        box-shadow: 0 0 18px rgba(197, 160, 42, 0.25) !important;
        background: rgba(255, 255, 255, 0.08) !important;
        transform: translateY(-1px);
    }

.search-input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    outline: none !important;
    font-size: 0.9rem !important;
    padding: 8px 0 !important;
    width: 100%;
}

    .search-input::placeholder {
        color: rgba(255, 255, 255, 0.4) !important;
        font-style: italic;
    }

/* الأزرار (بحث + ثيم) */
.search-btn, .btn-theme {
    background: rgba(197, 160, 42, 0.1) !important;
    border: 1px solid rgba(197, 160, 42, 0.2) !important;
    color: var(--athar-gold) !important;
    width: 38px;
    height: 38px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: 0.25s ease !important;
}

    /* (إصلاح) كان عندك hover مكرر — خليناه واحد ثابت */
    .search-btn:hover, .btn-theme:hover {
        background: var(--athar-gold) !important;
        color: #000 !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(197, 160, 42, 0.35) !important;
    }

/* ==========================================================
   4. الكروت والمحتوى (Cards & Content) - حياة أكثر
   ========================================================== */

/* أي مساحة بيضاء تظهر في الصور يتم تحويلها لزجاج داكن */
.card, .bg-white, [class*="bg-light"], .content-box {
    background: rgba(15, 15, 15, 0.6) !important;
    border: 1px solid var(--athar-border) !important;
    color: white !important;
    border-radius: 15px !important;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    /* (إضافة) لمعان ذهبي خفيف عند المرور */
    .card::before {
        content: "";
        position: absolute;
        inset: -60%;
        background: radial-gradient(circle at 30% 30%, rgba(197,160,42,0.12), transparent 55%);
        opacity: 0;
        transition: .35s ease;
        pointer-events: none;
    }

    .card:hover {
        transform: translateY(-6px);
        border-color: rgba(197,160,42,0.35) !important;
        box-shadow: 0 18px 45px rgba(0,0,0,0.55), 0 0 0 1px rgba(197,160,42,0.06);
    }

        .card:hover::before {
            opacity: 1;
        }

    /* (إضافة) تكبير بسيط للصور داخل الكرت */
    .card img, .card-img-top {
        transition: transform .35s ease, filter .35s ease;
    }

    .card:hover img, .card:hover .card-img-top {
        transform: scale(1.03);
        filter: contrast(1.05);
    }

/* زر قراءة المقال - ذهبي بدلاً من الأزرق */
.btn-primary {
    background: linear-gradient(45deg, #8e793e, #c5a02a) !important;
    border: none !important;
    color: #000 !important;
    font-weight: bold;
    border-radius: 50px !important;
    padding: 10px 30px !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(197,160,42,0.35);
    }
/* زر المقال المميز فقط - شكل ختم */
/* Featured Button – Elegant Gold Text */
#featuredBtn {
    background: rgba(0,0,0,.35) !important;
    color: var(--athar-gold-bright) !important; /* الخط ذهبي */
    font-weight: 800 !important;
    letter-spacing: .5px;
    border: 1.5px solid rgba(229,193,88,.55) !important;
    border-radius: 999px !important;
    padding: 11px 26px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.45), inset 0 0 0 1px rgba(229,193,88,.12);
    transition: all .25s ease;
}

    /* إحساس توقيع عند المرور */
    #featuredBtn:hover {
        background: rgba(0,0,0,.55) !important;
        color: var(--athar-gold-bright) !important;
        border-color: rgba(229,193,88,.85) !important;
        box-shadow: 0 10px 26px rgba(0,0,0,.6), inset 0 0 0 1px rgba(229,193,88,.25);
    }
/* ==========================================================
   5. شريط عاجل (Breaking News)
   ========================================================== */
/* ====== Breaking News Bar ====== */

.breaking-bar {
    background: #000;
    border: 1px solid var(--athar-gold);
    border-radius: 50px;
    overflow: hidden;
    height: 50px;
}

.breaking-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.breaking-label {
    background: var(--athar-gold);
    color: #000;
    padding: 0 22px;
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    margin: 0 10px;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
}

.breaking-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.breaking-content {
    display: inline-flex;
    align-items: center;
    gap: 50px;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    animation: breaking-marquee 18s linear infinite;
}

.breaking-bar:hover .breaking-content {
    animation-play-state: paused;
}

.breaking-item {
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
    transition: color .25s ease;
}

    .breaking-item:hover {
        color: var(--athar-gold);
    }

@keyframes breaking-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
    /* لأننا كررنا المحتوى مرتين */
}



/* ==========================================================
   6. تحسينات صغيرة جداً (Luxury Polishing)
   ========================================================== */

/* لمسة ذهبية للنصوص المهمة */
h1, h2, h3, h4, .fw-bold {
    color: var(--athar-gold-bright);
}

/* تقليل خشونة الخطوط */
p, .text-muted, small {
    color: rgba(226,226,226,0.78) !important;
}

/* احترام من لا يحب الحركة */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
:root {
    --athar-bg: #0b0b0b;
    --athar-panel: rgba(255,255,255,.03);
    --athar-border: rgba(218,180,72,.18);
    --athar-gold: #d6b04a;
    --athar-text: rgba(255,255,255,.86);
    --athar-muted: rgba(255,255,255,.55);
}

.athar-footer {
    background: radial-gradient(900px 400px at 50% 0%, rgba(214,176,74,.08), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
    border-top: 1px solid var(--athar-border);
    color: var(--athar-text);
    padding: 28px 0 18px;
    margin-top: 40px;
}

    .athar-footer .footer-brand {
        font-size: 20px;
        letter-spacing: .5px;
        color: var(--athar-gold);
        margin-bottom: 6px;
    }

    .athar-footer .footer-desc {
        color: var(--athar-muted);
        font-size: 13px;
        line-height: 1.7;
        margin: 0;
    }

    .athar-footer .footer-title {
        color: rgba(255,255,255,.85);
        font-size: 14px;
        margin: 0 0 10px;
        position: relative;
        padding-bottom: 10px;
    }

        .athar-footer .footer-title::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 34px;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--athar-gold));
            opacity: .9;
        }

    .athar-footer .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 8px;
    }

        .athar-footer .footer-links a {
            color: var(--athar-muted);
            text-decoration: none; /* إزالة الأزرق والخط */
            font-size: 13px;
            transition: .2s ease;
        }

            .athar-footer .footer-links a:hover {
                color: var(--athar-gold);
                transform: translateX(-2px); /* RTL: حركة بسيطة لليسار */
            }

    .athar-footer .footer-bottom {
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,.06);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        color: var(--athar-muted);
        font-size: 12px;
    }

    .athar-footer .footer-social {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

        .athar-footer .footer-social a {
            border: 1px solid rgba(214,176,74,.22);
            background: rgba(255,255,255,.02);
            color: rgba(255,255,255,.72);
            padding: 6px 10px;
            border-radius: 10px;
            text-decoration: none;
            font-size: 12px;
            transition: .2s ease;
        }

            .athar-footer .footer-social a:hover {
                border-color: rgba(214,176,74,.55);
                color: var(--athar-gold);
                background: rgba(214,176,74,.06);
            }

/* تقليل فراغ كبير فوق الفوتر لو موجود */
.page-content {
    padding-bottom: 20px;
}


/* ===== الأكثر قراءة - Athar Style ===== */

.popular-card {
    background: rgba(10,10,10,.85);
    border: 1px solid rgba(199,165,84,.35);
    border-radius: 14px;
    overflow: hidden;
}

    .popular-card .card-header {
        background: transparent;
        color: #e8d6a2;
        border-bottom: 1px solid rgba(199,165,84,.25);
        font-size: 15px;
    }

.popular-link {
    color: #f1f1f1;
    text-decoration: none;
    font-size: 14px;
    transition: color .3s ease;
}

    .popular-link:hover {
        color: #c7a554;
    }

.popular-badge {
    background: rgba(199,165,84,.15);
    color: #c7a554;
    border: 1px solid rgba(199,165,84,.4);
    font-weight: 600;
}
/* ===== إصلاح اللون الأبيض في الأكثر قراءة ===== */

.popular-card,
.popular-card .list-group-item {
    background-color: #0b0b0b !important;
}

    .popular-card .list-group-item {
        border-color: rgba(199, 165, 84, 0.25) !important;
        color: #eaeaea !important;
    }

        /* إزالة أي خلفية بيضاء عند hover */
        .popular-card .list-group-item:hover {
            background-color: #111 !important;
        }
        /* أيقونة الأكثر قراءة */
        /* ترقيم ذهبي */
        .popular-card .list-group-item::before {
            content: "★";
            color: var(--athar-gold);
            margin-left: 10px;
            font-size: 0.9rem;
        }

    .popular-card .list-group-item {
        transition: transform 0.25s ease, color 0.25s ease;
    }

        .popular-card .list-group-item:hover {
            transform: translateX(-4px);
            color: var(--athar-gold);
        }
/* شريط تقدم القراءه */
/* Reading Progress – Athar Premium Finish */

/* حاوية الشريط العلوية */
#readingProgressWrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px; /* سمك أنيق لا يشتت القارئ */
    z-index: 999999;
    background: rgba(0, 0, 0, 0.2); /* خلفية داكنة شفافة */
    backdrop-filter: blur(4px);
}

/* الشريط الملون المتحرك */
#readingProgressBar {
    height: 100%;
    width: 0%;
    /* استخدام المتغيرات التي سيتحكم بها الجافا سكربت */
    background-color: var(--progress-color, #bfa24b);
    box-shadow: 0 0 15px var(--progress-glow, rgba(191, 162, 75, 0.7));
    /* انتقال ناعم جداً للون والاشعاع */
    transition: width 0.2s ease-out, background-color 0.6s linear, box-shadow 0.6s linear;
    position: relative;
    border-radius: 0 2px 2px 0;
}

    /* إضافة تأثير اللمعان (Shine) ليعطي طابعاً حياً */
    #readingProgressBar::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
        background-size: 200% 100%;
        animation: atharShine 3s infinite linear;
    }

@keyframes atharShine {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}


.navbar-logo {
    /* مضاعفة الحجم (من 60px أو 45px إلى 120px) */
    height: 120px !important;
    width: auto;
    /* تحسين الوضوح ومنع التشوش عند التكبير */
    image-rendering: -webkit-optimize-contrast;
    object-fit: contain;
    /* زيادة التوهج الذهبي ليتناسب مع الحجم الضخم */
    filter: drop-shadow(0 0 15px rgba(191, 162, 75, 0.6));
    /* إضافة مسافة كافية حول الشعار لراحة العين */
    padding: 15px 0;
    /* انتقال ناعم جداً */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    /* تأثير التفاعل الاحترافي */
    .navbar-logo:hover {
        transform: scale(1.05) translateY(-5px); /* تكبير مع حركة للأعلى قليلاً */
        filter: drop-shadow(0 0 25px rgba(191, 162, 75, 0.9));
    }



/* =========================
   ATHAR SHARE (Standalone)
   ========================= */

.athar-share {
    max-width: 900px;
    margin: 18px auto 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.03);
}

.athar-share__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.athar-share__title {
    font-size: 14px;
    font-weight: 700;
    color: #d4af37; /* ذهبي */
    margin: 0;
}

.athar-share__hint {
    font-size: 12px;
    opacity: .7;
    margin: 0;
    color: #fff;
}

.athar-share__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.athar-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.25);
    color: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

    .athar-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(212,175,55,.35);
        background: rgba(255,255,255,.04);
    }

    .athar-btn:active {
        transform: translateY(0);
    }

.athar-btn--ghost {
    background: transparent;
}

.athar-btn__icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    opacity: .9;
}

/* زر النسخ */
.athar-btn--copy.copied {
    border-color: rgba(46, 204, 113, .55);
}

/* موبايل */
@media (max-width: 576px) {
    .athar-share {
        padding: 12px;
    }

    .athar-share__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .athar-btn {
        width: 100%;
        justify-content: center;
    }
}



.related-card {
    display: block;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.related-thumb {
    height: 170px;
    background: rgba(255,255,255,.03);
    position: relative;
    overflow: hidden;
}

    .related-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transform: scale(1.02);
        transition: transform .25s ease;
    }

.related-card:hover .related-thumb img {
    transform: scale(1.08);
}

.related-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
}

.related-thumb-placeholder {
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.related-body {
    padding: 14px 14px 16px;
}

.related-meta {
    font-size: 12px;
    opacity: .7;
    margin-bottom: 6px;
}

.related-title {
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    font-size: 15px;
    color: inherit;
}

.related-summary {
    font-size: 13px;
    opacity: .8;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================
   Article Related - FIX LAYOUT
   ========================= */

/* يخلي القسم كله بحد أقصى واضح ويمنع فراغات غبية */
.related-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

    /* عنوان القسم + الوصف يصير متزن */
    .related-wrap > .d-flex {
        gap: 12px;
    }

    /* أهم سطر: يوسّط البطاقات إذا عددها قليل */
    .related-wrap .row {
        justify-content: center; /* يعالج الفراغ الكبير يسار */
    }

    /* خلي العمود ما يكون “مضغوط” يمين */
    .related-wrap .col-12.col-md-4 {
        display: flex;
    }

/* البطاقة تتمدد بشكل طبيعي وتلتزم بحد أقصى */
.related-card {
    width: 100%;
    max-width: 360px; /* يحافظ على شكل فاخر بدون نحافة */
    margin: 0 auto; /* توسيط البطاقة داخل العمود */
}

/* تحسين شكل النص داخل البطاقة (بدون تغيير الهوية) */
.related-title {
    color: var(--athar-gold-bright);
    font-weight: 800;
}

.related-meta {
    color: rgba(255,255,255,0.55);
}

/* على الشاشات الكبيرة: كروت أكبر قليلًا */
@media (min-width: 1200px) {
    .related-card {
        max-width: 380px;
    }
}
/* =========================
   Share block - polish
   ========================= */
.athar-section {
    max-width: 900px;
    margin: 22px auto 0;
}

.athar-section-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--athar-gold-bright);
    margin: 0 0 10px;
}

/* أزرار المشاركة تتصف في RTL بشكل محترم */
.athar-share__actions {
    justify-content: flex-start; /* RTL: يبدأ من اليمين تلقائيًا */
}
/* =========================
   Related Articles – Smart Layout
   ========================= */

/* حالة مقال واحد فقط */
.related-wrap .row:has(.col-md-4:only-child) {
    justify-content: center;
}

    .related-wrap .row:has(.col-md-4:only-child) .related-card {
        max-width: 520px; /* كرت أعرض */
        text-align: center;
    }

    .related-wrap .row:has(.col-md-4:only-child) .related-thumb {
        height: 220px;
    }

/* العنوان والنص */
.related-wrap h4 {
    font-size: 20px;
}

.related-wrap .text-muted {
    opacity: 0.6;
}


/* =========================
   Article Content Lلللللالالالاinks (Remove Blue)
   ========================= */
article a,
.fs-5 a,
.article-content a {
    color: var(--athar-gold) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(197,160,42,.28);
    transition: .2s ease;
}

    article a:hover,
    .fs-5 a:hover,
    .article-content a:hover {
        color: var(--athar-gold-bright) !important;
        border-bottom-color: rgba(229,193,88,.55);
    }
/* =========================
   Read More link/button رررر(Remove Blue)
   ========================= */
a.btn-link,
.read-more,
.read-more a {
    color: var(--athar-gold) !important;
    text-decoration: none !important;
}

    a.btn-link:hover,
    .read-more:hover,
    .read-more a:hover {
        color: var(--athar-gold-bright) !important;
    }
/* =========================
   Fix "Read" Button (remove bootstrap blue)
   ========================= */
.btn-outline-primary {
    color: var(--athar-gold) !important;
    border-color: rgba(197,160,42,.38) !important;
    background: rgba(0,0,0,.25) !important;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        color: #000 !important;
        background: var(--athar-gold) !important;
        border-color: var(--athar-gold) !important;
        box-shadow: 0 10px 22px rgba(197,160,42,.25) !important;
    }

    .btn-outline-primary:active {
        transform: translateY(0) !important;
    }
/* ==========================================================
   Kill Bootstrap Blue (Athar Links)
   - Removes blue from links in article content + cards
   ========================================================== */

/* روابط داخل صفحة المقال */
article a,
.fs-5 a,
.article-content a,
.athar-article a {
    color: var(--athar-gold) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(197,160,42,.25);
    transition: .2s ease;
}

    article a:hover,
    .fs-5 a:hover,
    .article-content a:hover,
    .athar-article a:hover {
        color: var(--athar-gold-bright) !important;
        border-bottom-color: rgba(229,193,88,.55);
    }

/* روابط داخل الكروت/الاختصارات (الصفحة الرئيسية) */
.card a,
.related-card a,
.related-summary a {
    color: var(--athar-gold) !important;
    text-decoration: none !important;
}

/* إذا Bootstrap أعطاها link-primary/text-primary */
a.link-primary,
.text-primary {
    color: var(--athar-gold) !important;
}

    /* ==========================================================
   Kill Bootstrap Blue (Athar Links)
   - Removes blue from links in article content + cards
   ========================================================== */
    /* روابط داخل صفحة المقال */
    article a, .fs-5 a, .article-content a, .athar-article a

{
    color: var(--athar-gold) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(197,160,42,.25);
    transition: .2s ease;
}

article a:hover,
.fs-5 a:hover,
.article-content a:hover,
.athar-article a:hover {
    color: var(--athar-gold-bright) !important;
    border-bottom-color: rgba(229,193,88,.55);
}

/* روابط داخل الكروت/الاختصارات (الصفحة الرئيسية) */
.card a,
.related-card a,
.related-summary a {
    color: var(--athar-gold) !important;
    text-decoration: none !important;
}

/* إذا Bootstrap أعطاها link-primary/text-primary */
a.link-primary,
.text-primary {
    color: var(--athar-gold) !important;
}
/* ==========================================================
   Read Button color (remove blue outline)
   ========================================================== */
.btn-outline-primary {
    color: var(--athar-gold) !important;
    border-color: rgba(197,160,42,.38) !important;
    background: rgba(0,0,0,.22) !important;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        color: #000 !important;
        background: var(--athar-gold) !important;
        border-color: var(--athar-gold) !important;
        box-shadow: 0 10px 22px rgba(197,160,42,.22) !important;
    }



/* Athar Hamburger Icon (☰) - Works always */
.athar-nav .athar-toggler-icon {
    width: 1.6em;
    height: 1.6em;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(229,193,88,0.98)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* شكل زر القائمة نفسه */
.athar-nav .navbar-toggler {
    border: 1px solid rgba(229,193,88,.35) !important;
    border-radius: 12px;
    padding: 8px 10px;
}

    .athar-nav .navbar-toggler:focus {
        box-shadow: 0 0 0 .2rem rgba(229,193,88,.18) !important;
    }
/* Social Icons - Athar */
.athar-social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(214,176,74,.22);
    background: rgba(255,255,255,.02);
    color: rgba(255,255,255,.80);
    text-decoration: none;
    transition: .2s ease;
}

    .athar-social-icons a i {
        font-size: 18px;
    }

    .athar-social-icons a:hover {
        border-color: rgba(214,176,74,.55);
        color: var(--athar-gold);
        background: rgba(214,176,74,.06);
        transform: translateY(-2px);
    }
