/* ============================================================
   🎨 blog-shared.css — أنماط مشتركة بين blog.html وصفحات المقالات
   ============================================================ */
:root {
    --primary:        #1E293B;
    --primary-dark:   #0F172A;
    --primary-light:  #334155;
    --primary-soft:   #F1F5F9;
    --accent:         #F59E0B;
    --accent-dark:    #D97706;
    --accent-light:   #FCD34D;
    --accent-soft:    #FEF3C7;
    --cream:          #FEFCF6;
    --light-bg:       #F8FAFC;
    --white:          #FFFFFF;
    --dark-text:      #0F172A;
    --secondary-text: #64748B;
    --border:         #E2E8F0;
    --shadow-sm:   0 4px 15px rgba(15, 23, 42, 0.06);
    --shadow:      0 12px 40px rgba(15, 23, 42, 0.10);
    --shadow-lg:   0 25px 60px rgba(15, 23, 42, 0.18);
    --radius:      22px;
    --radius-sm:   14px;
    --transition:  all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --whatsapp:      #25D366;
    --whatsapp-dark: #1DA851;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', system-ui, sans-serif;
    background: var(--cream);
    color: var(--dark-text);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.phone-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* الأزرار */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 50px;
    font-weight: 700; font-size: 14.5px; cursor: pointer;
    transition: var(--transition); border: none;
    font-family: inherit; justify-content: center;
    text-align: center; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--white); box-shadow: 0 8px 25px rgba(245,158,11,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(245,158,11,0.5); }
.btn-call { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); box-shadow: 0 8px 25px rgba(30,41,59,0.35); }
.btn-call:hover { transform: translateY(-3px); }
.btn-whatsapp { background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark)); color: var(--white); box-shadow: 0 8px 25px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { transform: translateY(-3px); }
.btn-ghost { background: var(--primary-soft); color: var(--primary); border: 2px solid transparent; }
.btn-ghost:hover { background: transparent; border-color: var(--primary); transform: translateY(-3px); }

/* الشريط العلوي */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: var(--white); padding: 9px 0; font-size: 13px;
    border-bottom: 3px solid var(--accent); position: relative; z-index: 1001;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-left a { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.9); }
.top-bar-left a:hover { color: var(--accent-light); }
.top-bar-left i { color: var(--accent); }
.top-bar-right span { font-weight: 600; font-size: 12px; opacity: 0.9; }

/* الهيدر */
.header {
    background: var(--white); padding: 12px 0; position: sticky;
    top: 0; z-index: 1000;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.07);
    transition: var(--transition);
}
.header.scrolled { padding: 8px 0; box-shadow: 0 8px 35px rgba(15, 23, 42, 0.13); }
.header .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; }

.logo-container { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-container img { width: 70px; height: 70px; object-fit: contain; border-radius: 14px; transition: var(--transition); }
.header.scrolled .logo-container img { width: 58px; height: 58px; }
.logo-text h1 { font-size: 22px; font-weight: 900; color: var(--primary); line-height: 1.2; }
.logo-text h1 span { color: var(--accent-dark); }
.logo-text p { font-size: 11px; color: var(--secondary-text); font-weight: 500; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 5px;
    padding: 10px 15px; font-weight: 700; font-size: 14px;
    color: var(--dark-text); border-radius: 10px;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--primary); background: var(--primary-soft); }
.nav-menu .blog-btn > a {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white) !important; padding: 10px 18px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}
.nav-menu .blog-btn > a:hover { transform: translateY(-2px); }

.header-cta { display: flex; align-items: center; gap: 15px; }
.header-phone {
    display: flex; align-items: center; gap: 10px;
    background: var(--primary-soft); padding: 9px 16px; border-radius: 50px;
}
.header-phone:hover { background: var(--primary); color: var(--white); }
.header-phone i { color: var(--accent-dark); font-size: 17px; }
.header-phone .phone-info { display: flex; flex-direction: column; line-height: 1.3; }
.header-phone .phone-info small { font-size: 10px; color: var(--secondary-text); font-weight: 600; }
.header-phone .phone-info strong { font-size: 13px; font-weight: 800; color: var(--primary); }
.header-phone:hover .phone-info strong,
.header-phone:hover .phone-info small { color: var(--white); }

.mobile-toggle {
    display: none; background: var(--primary); border: none;
    color: var(--white); width: 44px; height: 44px;
    border-radius: 12px; cursor: pointer; font-size: 20px;
    align-items: center; justify-content: center;
}
.mobile-toggle:hover { background: var(--accent-dark); }

/* Hero المدونة */
.blog-hero {
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(30,41,59,0.88) 60%, rgba(245,158,11,0.55) 100%),
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80') center/cover;
    padding: 70px 0 90px; color: var(--white);
    position: relative; overflow: hidden;
}
.blog-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(245,158,11,0.15), transparent 50%);
}
.blog-hero .container { position: relative; z-index: 2; text-align: center; }
.breadcrumb {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 7px 18px; border-radius: 50px;
    font-size: 13px; margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    flex-wrap: wrap; justify-content: center;
}
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb i { font-size: 10px; color: var(--accent); }
.breadcrumb .current { color: var(--accent-light); font-weight: 700; }
.blog-hero h1 {
    font-size: 40px; font-weight: 900; line-height: 1.3;
    margin-bottom: 14px; text-shadow: 0 4px 25px rgba(0,0,0,0.3);
}
.blog-hero h1 span {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.blog-hero p { font-size: 16px; opacity: 0.92; max-width: 700px; margin: 0 auto; }

/* تخطيط المدونة */
.blog-main { padding: 60px 0 80px; background: var(--cream); }
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
}

/* شريط الأدوات */
.blog-toolbar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.toolbar-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 16px; border-radius: 50px;
    background: var(--light-bg); color: var(--secondary-text);
    font-weight: 700; font-size: 13px;
    cursor: pointer; border: 2px solid transparent;
    transition: var(--transition); font-family: inherit;
}
.cat-btn:hover { background: var(--primary-soft); color: var(--primary); }
.cat-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 6px 18px rgba(30,41,59,0.25);
}
.cat-btn i { font-size: 12px; }

.toolbar-search { position: relative; flex: 1; max-width: 260px; min-width: 200px; }
.toolbar-search input {
    width: 100%; padding: 10px 40px 10px 16px;
    border: 2px solid var(--border); border-radius: 50px;
    font-family: inherit; font-size: 13.5px;
    background: var(--light-bg); color: var(--dark-text);
    transition: var(--transition);
}
.toolbar-search input:focus {
    outline: none; border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(245,158,11,0.13);
}
.toolbar-search i {
    position: absolute; top: 50%; right: 15px;
    transform: translateY(-50%); color: var(--secondary-text);
    font-size: 13px; pointer-events: none;
}

/* شبكة المقالات */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.post-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-light);
    box-shadow: var(--shadow-lg);
}
.post-card-image {
    position: relative; height: 210px; overflow: hidden;
}
.post-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.1); }
.post-category-badge {
    position: absolute; top: 14px; right: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    padding: 6px 14px; border-radius: 50px;
    font-size: 11.5px; font-weight: 800;
    box-shadow: 0 6px 18px rgba(245,158,11,0.4);
    z-index: 2;
}
.post-card-body {
    padding: 22px;
    display: flex; flex-direction: column; flex: 1;
}
.post-meta {
    display: flex; align-items: center; gap: 15px;
    font-size: 12px; color: var(--secondary-text);
    margin-bottom: 12px;
}
.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-meta i { color: var(--accent-dark); }

.post-card h3 {
    font-size: 18px; font-weight: 800;
    color: var(--primary); margin-bottom: 10px;
    line-height: 1.5; transition: var(--transition);
}
.post-card:hover h3 { color: var(--accent-dark); }
.post-card p {
    font-size: 13.5px; color: var(--secondary-text);
    line-height: 1.8; margin-bottom: 18px;
    flex: 1;
}
.post-read-more {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 800; font-size: 13.5px;
    color: var(--accent-dark);
    padding-top: 15px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.post-read-more:hover { gap: 12px; color: var(--primary); }

.no-results {
    grid-column: 1 / -1;
    text-align: center; padding: 60px 20px;
    background: var(--white); border-radius: var(--radius);
    border: 2px dashed var(--border);
    color: var(--secondary-text);
}
.no-results i { font-size: 48px; color: var(--accent); margin-bottom: 15px; display: block; }
.no-results h3 { font-size: 20px; color: var(--primary); margin-bottom: 8px; }

/* الشريط الجانبي */
.blog-sidebar {
    position: sticky; top: 100px;
    display: flex; flex-direction: column; gap: 24px;
}
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.widget-title {
    font-size: 16px; font-weight: 900;
    color: var(--primary); margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-soft);
    display: flex; align-items: center; gap: 9px;
}
.widget-title i { color: var(--accent-dark); }

.sidebar-recent li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.sidebar-recent li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent li:first-child { padding-top: 0; }
.sidebar-recent li:hover { padding-right: 6px; }
.sidebar-recent a { display: flex; gap: 12px; }
.sidebar-recent img {
    width: 70px; height: 70px;
    border-radius: 12px; object-fit: cover;
    flex-shrink: 0;
}
.sidebar-recent h4 {
    font-size: 13.5px; font-weight: 800;
    color: var(--primary); line-height: 1.5;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-recent li:hover h4 { color: var(--accent-dark); }
.sidebar-recent small {
    font-size: 11px; color: var(--secondary-text);
    display: flex; align-items: center; gap: 5px;
}
.sidebar-recent small i { color: var(--accent-dark); font-size: 10px; }

.sidebar-cats li { margin-bottom: 6px; }
.sidebar-cats a {
    display: flex; justify-content: space-between;
    align-items: center; padding: 10px 14px;
    border-radius: 12px;
    background: var(--light-bg);
    font-weight: 700; font-size: 13px;
    color: var(--primary);
}
.sidebar-cats a:hover {
    background: var(--primary); color: var(--white);
    padding-right: 20px;
}
.sidebar-cats a i { font-size: 12px; color: var(--accent-dark); margin-left: 6px; }
.sidebar-cats a:hover i { color: var(--accent-light); }
.cat-count {
    background: var(--accent-soft); color: var(--accent-dark);
    padding: 2px 10px; border-radius: 50px;
    font-size: 11px; font-weight: 800;
}
.sidebar-cats a:hover .cat-count { background: var(--accent); color: var(--white); }

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white); text-align: center;
    position: relative; overflow: hidden;
}
.sidebar-cta::before {
    content: ''; position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.3), transparent);
}
.sidebar-cta .widget-title { color: var(--white); border-bottom-color: rgba(255,255,255,0.15); position: relative; }
.sidebar-cta .widget-title i { color: var(--accent); }
.sidebar-cta p { font-size: 13px; opacity: 0.9; margin-bottom: 18px; position: relative; }
.sidebar-cta .btn { width: 100%; position: relative; margin-bottom: 8px; }

/* عرض المقال المنفرد */
.single-post {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.single-post-header { margin-bottom: 25px; }
.single-post-header .post-category-badge {
    position: static; display: inline-block;
    margin-bottom: 15px;
}
.single-post-header h1 {
    font-size: 32px; font-weight: 900;
    color: var(--primary); line-height: 1.4;
    margin-bottom: 18px;
}
.single-post-meta {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-size: 13px; color: var(--secondary-text);
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}
.single-post-meta span { display: flex; align-items: center; gap: 7px; }
.single-post-meta i { color: var(--accent-dark); }

.single-post-image {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 30px;
}
.single-post-image img { width: 100%; height: auto; max-height: 480px; object-fit: cover; }

.single-post-content { font-size: 15.5px; line-height: 2; color: #334155; }
.single-post-content p { margin-bottom: 18px; }
.single-post-content h2 {
    font-size: 24px; font-weight: 900;
    color: var(--primary); margin: 30px 0 15px;
    padding-right: 14px;
    border-right: 4px solid var(--accent);
    line-height: 1.5;
}
.single-post-content h3 {
    font-size: 19px; font-weight: 800;
    color: var(--primary); margin: 24px 0 12px;
}
.single-post-content ul,
.single-post-content ol {
    margin: 0 25px 20px 0;
    padding-right: 20px;
}
.single-post-content ul li { list-style: none; position: relative; padding-right: 22px; margin-bottom: 8px; }
.single-post-content ul li::before {
    content: '●'; color: var(--accent); position: absolute; right: 0; top: 0;
    font-size: 10px;
}
.single-post-content ol { list-style: decimal; }
.single-post-content ol li { margin-bottom: 8px; padding-right: 6px; }
.single-post-content ol li::marker { color: var(--accent-dark); font-weight: 900; }
.single-post-content strong { color: var(--primary); font-weight: 800; }
.single-post-content a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }
.single-post-content blockquote {
    background: var(--accent-soft);
    border-right: 4px solid var(--accent);
    padding: 18px 22px; border-radius: 12px;
    margin: 20px 0; font-weight: 600; color: var(--primary);
}
.single-post-content img { border-radius: 12px; margin: 15px 0; }

.single-post-tags {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: 30px; padding-top: 25px;
    border-top: 2px solid var(--border);
}
.single-post-tags span {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 14px; border-radius: 50px;
    font-size: 12px; font-weight: 700;
}
.single-post-tags span:hover { background: var(--accent); color: var(--white); }

.single-post-cta {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 28px; border-radius: var(--radius);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 15px;
    position: relative; overflow: hidden;
}
.single-post-cta::before {
    content: ''; position: absolute;
    top: -50px; left: -50px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.25), transparent);
}
.single-post-cta h3 { font-size: 18px; font-weight: 900; margin-bottom: 4px; position: relative; }
.single-post-cta p { font-size: 13px; opacity: 0.85; position: relative; }
.single-post-cta .actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

.back-to-blog {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 20px;
    font-weight: 800; font-size: 14px;
    color: var(--accent-dark);
}
.back-to-blog:hover { gap: 12px; }

/* الفوتر */
.footer {
    background: linear-gradient(180deg, var(--primary-dark), #050A14);
    color: rgba(255, 255, 255, 0.8);
    padding: 65px 0 25px; position: relative;
}
.footer::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 35px; margin-bottom: 35px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.footer-logo img { width: 65px; height: 65px; object-fit: contain; border-radius: 12px; }
.footer-logo-text h3 { font-size: 20px; font-weight: 900; color: var(--white); }
.footer-logo-text h3 span { color: var(--accent); }
.footer-about p { font-size: 13px; line-height: 1.9; margin-bottom: 18px; opacity: 0.75; }
.footer h4 {
    font-size: 15px; font-weight: 800; color: var(--white);
    margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer h4::after {
    content: ''; position: absolute;
    bottom: 0; right: 0; width: 28px; height: 3px;
    background: var(--accent); border-radius: 3px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    font-size: 13px; opacity: 0.75;
    display: flex; align-items: center; gap: 8px;
}
.footer-links a i { font-size: 10px; color: var(--accent); }
.footer-links a:hover { opacity: 1; color: var(--accent); padding-right: 6px; }
.footer-contact-item {
    display: flex; align-items: center;
    gap: 10px; margin-bottom: 12px; font-size: 13px;
}
.footer-contact-item i {
    width: 34px; height: 34px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); flex-shrink: 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap;
    gap: 12px; font-size: 13px;
}
.footer-bottom p { opacity: 0.7; }

/* الأزرار العائمة */
.floating-buttons {
    position: fixed; bottom: 25px; right: 25px;
    z-index: 999; display: flex; flex-direction: column; gap: 12px;
}
.floating-btn {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--white);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    transition: var(--transition); position: relative;
    border: none; cursor: pointer;
}
.floating-btn:hover { transform: scale(1.1) translateY(-4px); }
.floating-btn.whatsapp { background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark)); }
.floating-btn.phone { background: var(--primary); }
.floating-btn .tooltip {
    position: absolute; right: 68px;
    background: var(--dark-text); color: var(--white);
    padding: 7px 13px; border-radius: 8px;
    font-size: 12px; font-weight: 700; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: var(--transition);
}
.floating-btn:hover .tooltip { opacity: 1; right: 72px; }
.back-to-top { display: none; background: var(--primary-dark); }

.mobile-cta-bar {
    display: none; position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.12);
    padding: 10px 15px; gap: 10px;
    z-index: 998; border-top: 3px solid var(--accent);
}
.mobile-cta-bar a {
    flex: 1; padding: 12px; border-radius: 50px;
    text-align: center; font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.mobile-cta-bar .m-call { background: var(--primary); color: var(--white); }
.mobile-cta-bar .m-wa { background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark)); color: var(--white); }

/* الاستجابة */
@media (max-width: 1024px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .blog-hero h1 { font-size: 30px; }
    .single-post { padding: 28px; }
    .single-post-header h1 { font-size: 26px; }
}
@media (max-width: 768px) {
    .top-bar-right { display: none; }
    .header-cta { display: none; }
    .mobile-toggle { display: flex; }
    .logo-container img { width: 55px; height: 55px; }
    .logo-text h1 { font-size: 17px; }
    .nav-menu {
        display: none; position: absolute;
        top: 100%; right: 0; left: 0;
        background: var(--white);
        flex-direction: column; align-items: stretch;
        padding: 15px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 22px 22px;
        border-top: 3px solid var(--accent);
    }
    .nav-menu.active { display: flex; }
    .nav-menu > li > a { padding: 14px 15px; font-size: 15px; }
    .nav-menu .blog-btn > a { text-align: center; justify-content: center; margin-top: 6px; }
    .blog-hero { padding: 55px 0 70px; }
    .blog-hero h1 { font-size: 23px; }
    .blog-hero p { font-size: 14px; }
    .blog-main { padding: 40px 0 60px; }
    .posts-grid { grid-template-columns: 1fr; }
    .blog-toolbar { padding: 15px; }
    .toolbar-search { max-width: none; }
    .single-post { padding: 22px; }
    .single-post-header h1 { font-size: 21px; }
    .single-post-content { font-size: 14.5px; }
    .single-post-content h2 { font-size: 20px; }
    .single-post-content h3 { font-size: 17px; }
    .single-post-cta { padding: 20px; flex-direction: column; text-align: center; }
    .single-post-cta .actions { width: 100%; }
    .single-post-cta .actions .btn { flex: 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .mobile-cta-bar { display: flex; }
    .floating-buttons { bottom: 90px; right: 15px; }
    .floating-btn { width: 46px; height: 46px; font-size: 19px; }
    body { padding-bottom: 75px; }
}
@media (max-width: 480px) {
    .blog-hero h1 { font-size: 20px; }
    .single-post-header h1 { font-size: 18px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}