/* @import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Syne:wght@600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap'); */
@font-face {
    font-family: AraHamah1964B-Bold;
    src: url(/Fonts/AraHamah1964B-Bold.otf);
}
@font-face {
    font-family: AraHamah1964R-Regular;
    src: url(/Fonts/AraHamah1964R-Regular.otf);
}
@font-face {
    font-family: AraHamahKilania-Regular;
    src: url(/Fonts/AraHamahKilania-Regular.otf);
}
@font-face {
    font-family: AraHamahSahetAlAssi-Regular;
    src: url(/Fonts/AraHamahSahetAlAssi-Regular.otf);
}
:root {
    --primary: #e89548;
    --secondary: #556655;
    --light-bg: #f0e7d3;
    --dark-bg: #556655;
    --text: #333;
    --light-text: #fff;
    --muted: #777;
    --card-shadow: 0 8px 32px rgba(85,102,85,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lora', Georgia, serif;
    color: var(--text);
    line-height: 1.8;
    background: #faf8f4;
    overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────────── */
.blog-header {
    background: var(--dark-bg);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #d0caa6;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.header-logo img {
    height: 48px;
    border-radius: 6px;
}

.header-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light-bg);
    text-decoration: none;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.header-back:hover { opacity: 1; color: var(--primary); }

/* ── HERO BANNER ─────────────────────────────── */
.article-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #3d4d3d 100%);
    padding: 72px 40px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(232,149,72,0.10);
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.article-hero .container {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.article-cat {
    display: inline-block;
    background: rgba(232,149,72,0.22);
    color: #f4c07a;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.article-hero h1 {
    font-family: 'AraHamahSahetAlAssi-Regular', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.article-hero-arabic {
    font-family: 'Amiri', serif;
    font-size: 22px;
    color: #d0caa6;
    direction: rtl;
    margin-bottom: 24px;
    opacity: 0.9;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: Tahoma, sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta i { color: var(--primary); font-size: 12px; }


/* Share Buttons Styling */
/* Sticky Sidebar Share Bar */
.sticky-share-bar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.sticky-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.sticky-btn:hover {
    width: 55px; /* Expands slightly on hover */
    padding-left: 10px;
}

.sticky-whatsapp {
    background-color: #25D366;
    border-top-right-radius: 4px;
}

.sticky-facebook {
    background-color: #1877F2;
    border-bottom-right-radius: 4px;
}

/* Hide on Mobile and Tablets to prevent screen clutter */
@media (max-width: 1100px) {
    .sticky-share-bar {
        display: none;
    }
}

.sticky-x {
    background-color: #000000; /* لون منصة X الأسود */
}

.sticky-linkedin {
    background-color: #0077b5; /* لون لينكد إن الأزرق */
    border-bottom-right-radius: 4px; /* نقل نصف القطر لآخر زر */
}

/* تعديل لجعل الزر الأخير فقط هو المنحني من الأسفل */
.sticky-facebook {
    border-bottom-right-radius: 0px; 
}
/* ── LAYOUT ──────────────────────────────────── */
.article-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

/* ── ARTICLE CONTENT ─────────────────────────── */
.article-content h2 {
    font-family: 'AraHamahSahetAlAssi-Regular', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
    font-family: 'AraHamahSahetAlAssi-Regular', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 12px;
}

.article-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin: 16px 0 24px 24px;
}

.article-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

.article-content li::marker { color: var(--primary); }

/* Callout / tip box */
.tip-box {
    background: rgba(232,149,72,0.09);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.tip-box strong {
    display: block;
    color: var(--primary);
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tip-box p { margin: 0; font-size: 15px; }

/* Arabic quote pull */
.arabic-pull {
    font-family: 'Amiri', serif;
    font-size: 22px;
    color: var(--secondary);
    direction: rtl;
    text-align: center;
    background: rgba(85,102,85,0.06);
    border: 1px solid rgba(85,102,85,0.15);
    border-radius: 12px;
    padding: 20px 28px;
    margin: 28px 0;
    line-height: 2;
}

/* Step cards */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 24px 0 32px;
}

.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--primary);
    text-align: center;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #f4b56a);
    color: #fff;
    font-family: 'AraHamahSahetAlAssi-Regular', sans-serif;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.step-card h4 {
    font-family: 'AraHamahSahetAlAssi-Regular', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

/* Highlight strip */
.highlight-strip {
    background: linear-gradient(135deg, var(--secondary), #3d4d3d);
    border-radius: 16px;
    padding: 32px 36px;
    margin: 36px 0;
    color: #fff;
}

.highlight-strip h3 {
    font-family: 'AraHamahSahetAlAssi-Regular', sans-serif;
    color: var(--primary);
    margin-bottom: 14px;
}

.highlight-strip ul { margin-left: 20px; }
.highlight-strip li { color: rgba(255,255,255,0.85); margin-bottom: 8px; font-size: 15px; }
.highlight-strip li::marker { color: var(--primary); }

/* CTA in article */
.article-cta {
    background: linear-gradient(135deg, rgba(232,149,72,0.12), rgba(85,102,85,0.08));
    border: 1px solid rgba(232,149,72,0.25);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin: 48px 0 0;
}

.article-cta h3 {
    font-family: 'AraHamahSahetAlAssi-Regular', sans-serif;
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.article-cta p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 40px;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover { background: var(--primary); transform: translateY(-2px); }
.cta-btn i { font-size: 18px; }

/* ── SIDEBAR ─────────────────────────────────── */
.article-sidebar { position: sticky; top: 90px; }

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
}

.sidebar-card h4 {
    font-family: 'AraHamahSahetAlAssi-Regular', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
}

.toc-list { list-style: none; }

.toc-list li {
    padding: 7px 0;
    border-bottom: 1px solid #f5f0e8;
}

.toc-list li:last-child { border-bottom: none; }

.toc-list a {
    text-decoration: none;
    color: var(--muted);
    font-family: Tahoma, sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, padding-left 0.2s;
}

.toc-list a::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.toc-list a:hover { color: var(--secondary); padding-left: 4px; }
.toc-list a:hover::before { opacity: 1; }

.sidebar-related a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f0e8;
    text-decoration: none;
    transition: padding-left 0.2s;
}

.sidebar-related a:last-child { border-bottom: none; }
.sidebar-related a:hover { padding-left: 4px; }

.rel-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--light-bg);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: var(--secondary);
}

.rel-text { font-family: Tahoma, sans-serif; font-size: 12px; color: var(--muted); line-height: 1.5; }
.rel-text strong { display: block; color: var(--text); font-size: 13px; margin-bottom: 2px; }

.sidebar-whatsapp {
    background: linear-gradient(135deg, var(--secondary), #3d4d3d);
    color: #fff;
    text-align: center;
    padding: 28px 20px;
}

.sidebar-whatsapp h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.15); }
.sidebar-whatsapp p { font-family: Tahoma, sans-serif; font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.6; }

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    justify-content: center;
}

.wa-btn:hover { background: #1fb855; transform: translateY(-2px); }

/* ── FOOTER ──────────────────────────────────── */
.blog-footer {
    background: var(--dark-bg);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 28px 20px;
    font-family: Tahoma, sans-serif;
    font-size: 13px;
    margin-top: 40px;
}

.blog-footer a { color: var(--primary); text-decoration: none; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }
    .article-sidebar { position: static; }
    .article-hero { padding: 48px 24px 40px; }
    .blog-header .container { padding: 0 20px; }
}

@media (max-width: 600px) {
    .steps-grid { grid-template-columns: 1fr; }
    .article-cta { padding: 28px 20px; }
    .highlight-strip { padding: 24px 20px; }
}