/*
Theme Name: منصة محامي مكة
Theme URI: https://example.com/makkah-lawyer-platform
Author: SEO Law
Author URI: https://muhamon.com/
Description: قالب ووردبريس عربي RTL لمنصة قانونية مستقلة ومحايدة باسم منصة محامي مكة، بهوية قانونية مستقلة ومحتوى مخصص لمكة وصفحات خدمات قانونية موثوقة المكرمة مع تقييمات وبوت دردشة وأزرار تواصل عائمة.
Version: 3.2.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: makkah-lawyer-platform
Tags: rtl-language-support, blog, custom-logo, custom-menu, featured-images, one-column, accessibility-ready
*/

/*
 * التنسيقات الكاملة للقالب مضافة هنا أيضًا كحل آمن، حتى لا تظهر الصفحة بدون تصميم إذا لم تُحمّل ملفات assets لأي سبب.
 */

:root {
    --navy: #102a43;
    --navy-2: #183b56;
    --blue: #1d4ed8;
    --gold: #c49a3a;
    --gold-soft: #f5ead0;
    --green: #12715b;
    --ink: #182433;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f7f9fc;
    --white: #ffffff;
    --danger-soft: #fff7ed;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.9;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus { color: var(--blue); }
p { margin-top: 0; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow-container { width: min(100% - 32px, 920px); margin-inline: auto; }
.screen-reader-text, .skip-link {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
    top: 12px; right: 12px; z-index: 9999; width: auto; height: auto; padding: 12px 18px; clip: auto;
    background: var(--navy); color: var(--white); border-radius: 10px;
}

.top-notice { background: #091827; color: rgba(255,255,255,.88); font-size: 13px; }
.top-notice__inner { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.top-notice__badge, .eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.top-notice__badge { background: rgba(196,154,58,.18); color: #f8dc93; padding: 3px 10px; white-space: nowrap; }
.eyebrow, .section-kicker { background: var(--gold-soft); color: #835f17; padding: 6px 13px; margin-bottom: 14px; }

.site-header { position: sticky; top: 0; z-index: 99; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(226,232,240,.85); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.site-branding { flex: 0 0 auto; }
.brand-mark { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-mark__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), var(--green)); color: var(--white); font-size: 22px; font-weight: 900; box-shadow: 0 10px 25px rgba(16,42,67,.25); }
.brand-mark__text strong, .brand-mark__text small { display: block; }
.brand-mark__text strong { font-size: 18px; line-height: 1.35; }
.brand-mark__text small { color: var(--muted); font-size: 12px; }
.main-navigation { flex: 1 1 auto; }
.main-navigation ul { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { display: inline-flex; color: var(--navy-2); font-weight: 700; font-size: 13px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--navy); padding: 10px; }
.nav-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; border-radius: 99px; background: var(--white); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(135deg, var(--green), #0a5a49); color: var(--white); box-shadow: 0 12px 28px rgba(18,113,91,.25); }
.btn--primary:hover, .btn--primary:focus { color: var(--white); box-shadow: 0 16px 34px rgba(18,113,91,.34); }
.btn--secondary { background: linear-gradient(135deg, var(--gold), #ab7a1f); color: #111827; }
.btn--ghost { background: var(--white); border-color: var(--line); color: var(--navy); }
.btn--light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); color: var(--white); }
.btn--large { min-height: 54px; padding-inline: 24px; font-size: 15px; }
.btn--wide { width: 100%; }
.text-link { color: var(--green); font-weight: 800; border-bottom: 2px solid rgba(18,113,91,.18); }

.hero-section { position: relative; overflow: hidden; background: radial-gradient(circle at 15% 0%, rgba(196,154,58,.28), transparent 33%), linear-gradient(135deg, #071724 0%, #102a43 58%, #0b5c4c 100%); color: var(--white); padding: 88px 0 66px; }
.hero-section::after { content: ""; position: absolute; inset: auto -10% -35% auto; width: 520px; height: 520px; background: rgba(255,255,255,.08); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: center; }
.hero-content h1 { margin: 0 0 16px; font-size: clamp(36px, 6vw, 68px); line-height: 1.15; letter-spacing: -1px; }
.hero-lead { max-width: 720px; color: rgba(255,255,255,.86); font-size: 19px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.86); }
.hero-points li { position: relative; padding-right: 24px; }
.hero-points li::before { content: "✓"; position: absolute; right: 0; color: #f8dc93; font-weight: 900; }
.hero-card { background: rgba(255,255,255,.94); color: var(--ink); border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.hero-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--gold-soft); color: var(--gold); font-size: 26px; }
.hero-card__top strong, .hero-card__top small { display: block; }
.hero-card__top small, .microcopy { color: var(--muted); font-size: 13px; }
.lead-box { display: grid; gap: 13px; margin-bottom: 20px; }
.lead-row { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; padding: 14px; background: #f8fafc; border: 1px solid var(--line); border-radius: 16px; }
.lead-row span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 900; }
.lead-row p { margin: 0; }

.trust-strip { margin-top: -34px; position: relative; z-index: 3; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow); background: var(--line); }
.trust-strip__grid > div { background: var(--white); padding: 22px; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: var(--navy); font-size: 18px; }
.trust-strip span { color: var(--muted); font-size: 14px; }

.section { padding: 84px 0; }
.section--muted { background: #eef3f8; }
.section--dark { background: linear-gradient(135deg, var(--navy), #092135); color: var(--white); }
.two-col, .content-split { display: grid; grid-template-columns: 1fr .9fr; gap: 36px; align-items: start; }
.section h2, .cta-section h2, .archive-header h1, .entry-header h1, .platform-page-hero h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(28px, 4vw, 44px); line-height: 1.3; letter-spacing: -.5px; }
.section--dark h2, .section-header.light h2, .cta-section h2 { color: var(--white); }
.section p, .entry-content p { color: #405166; font-size: 17px; }
.section--dark p, .section-header.light p, .cta-section p { color: rgba(255,255,255,.78); }
.section-header { max-width: 760px; margin-bottom: 34px; }
.section-header.compact { max-width: 900px; text-align: center; margin-inline: auto; }
.section-action { margin-top: 24px; text-align: center; }

.feature-panel, .content-card, .entry-content-card, .sidebar-card, .not-found-card, .answer-panel, .notice-box, .section-lite, .copy-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 12px 35px rgba(15,23,42,.07); }
.compact-panel { padding: 24px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-right: 28px; color: #334155; }
.check-list li::before { content: "✓"; position: absolute; right: 0; top: 0; color: var(--green); font-weight: 900; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card, .mini-card, .step-card, .service-wide-card, .contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.service-card span, .step-card span, .service-wide-card span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); color: #835f17; font-weight: 900; margin-bottom: 16px; }
.service-card h3, .mini-card h3, .step-card h3, .service-wide-card h2, .contact-card h2 { margin: 0 0 10px; color: var(--navy); font-size: 21px; }
.service-card p, .mini-card p, .service-wide-card p, .contact-card p { color: #475569; }
.service-card a { color: var(--green); font-weight: 800; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.section--dark .step-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); box-shadow: none; }
.section--dark .step-card h3 { color: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.ai-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 22px; }
.ai-grid > div { background: #f8fafc; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.ai-grid strong, .ai-grid span { display: block; }
.ai-grid strong { color: var(--navy); }
.ai-grid span { color: var(--muted); font-size: 14px; }

.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 900; color: var(--navy); }
.faq-item p { padding-bottom: 18px; margin: 0; color: #475569; }
.rich-faq { margin-top: 20px; }

.cta-section { background: linear-gradient(135deg, #071724 0%, #102a43 54%, #0b5c4c 100%); padding: 62px 0; color: var(--white); }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta-inline { background: linear-gradient(135deg, #102a43, #0b5c4c); color: var(--white); border-radius: var(--radius-lg); padding: 34px; margin-top: 28px; }
.cta-inline h2 { color: var(--white); margin-top: 0; }
.cta-inline p { color: rgba(255,255,255,.82); }

.site-main.page-main { padding: 64px 0 84px; }
.breadcrumbs { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--green); font-weight: 700; }
.entry-content-card { padding: 0; overflow: hidden; }
.entry-header { padding: 32px 34px 0; }
.entry-content { padding: 0 34px 34px; }
.entry-content h2 { color: var(--navy); margin: 26px 0 10px; line-height: 1.35; }
.entry-content ul { margin: 0 0 18px; }
.platform-page-hero { background: linear-gradient(135deg, #f8fafc, #eef7f3); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; margin: 8px 0 24px; }
.lead-text { font-size: 19px !important; color: #334155 !important; }
.answer-panel { background: #fffdf7; border-color: #f2dfb3; margin-bottom: 24px; }
.answer-panel h2, .notice-box h2, .section-lite h2 { margin-top: 0; }
.notice-box { background: var(--danger-soft); border-color: #fed7aa; margin-top: 24px; }
.section-lite { margin-top: 24px; }
.services-directory { display: grid; gap: 18px; }
.service-wide-card { display: grid; grid-template-columns: 70px 1fr; gap: 0 18px; align-items: start; }
.service-wide-card span { grid-row: span 2; }
.contact-layout { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 24px 0; }
.copy-box { background: #f8fafc; }
.policy-content h2 { margin-top: 30px; }

.archive-header, .search-header { margin-bottom: 28px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.post-card__content { padding: 22px; }
.post-card h2 { font-size: 22px; line-height: 1.4; margin: 0 0 10px; }
.post-card .entry-meta { color: var(--muted); font-size: 13px; }
.single-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 28px; }
.entry-featured { margin: 22px 0; border-radius: var(--radius-md); overflow: hidden; }

.site-footer { background: #071724; color: rgba(255,255,255,.8); padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1fr; gap: 28px; }
.brand-mark--footer, .site-footer h3 { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #f8dc93; }
.footer-disclaimer { color: rgba(255,255,255,.72); font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding: 18px 0; font-size: 14px; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.66); }

.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-family: inherit; }
.search-submit { min-height: 44px; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--green); color: var(--white); font-weight: 800; }

@media (max-width: 1080px) {
    .header-actions { display: none; }
    .main-navigation ul { gap: 10px; }
    .main-navigation a { font-size: 12px; }
    .cards-grid, .mini-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid, .ai-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
    .header-inner { min-height: 70px; justify-content: space-between; }
    .nav-toggle { display: inline-block; }
    .main-navigation { position: absolute; inset-inline: 16px; top: 76px; display: none; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; }
    .main-navigation.is-open { display: block; }
    .main-navigation ul { display: grid; justify-content: stretch; gap: 0; }
    .main-navigation li + li { border-top: 1px solid var(--line); }
    .main-navigation a { padding: 12px 4px; font-size: 14px; }
    .hero-grid, .two-col, .content-split, .cta-box, .single-layout { grid-template-columns: 1fr; }
    .trust-strip__grid { grid-template-columns: repeat(2,1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .cta-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
    .top-notice__inner { align-items: flex-start; flex-direction: column; }
    .hero-section { padding: 64px 0 52px; }
    .hero-card, .feature-panel, .content-card, .entry-content-card, .answer-panel, .notice-box, .section-lite { border-radius: 20px; }
    .cards-grid, .mini-grid, .steps-grid, .ai-grid, .posts-grid, .trust-strip__grid, .footer-grid { grid-template-columns: 1fr; }
    .entry-header { padding: 26px 22px 0; }
    .entry-content { padding: 0 22px 26px; }
    .service-wide-card { grid-template-columns: 1fr; }
    .service-wide-card span { grid-row: auto; }
    .brand-mark__text small { display: none; }
}



/* ===== إصلاحات نسخة 1.2.1: عرض صفحة الخدمات + خط عربي احترافي + أحجام متوازنة ===== */
html[lang="ar"], body, button, input, textarea, select {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif !important;
}
body {
    font-size: 16px !important;
    line-height: 1.85 !important;
    letter-spacing: 0 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.site-main.page-main {
    padding: 46px 0 76px !important;
}
.page-main .container,
.page-main .narrow-container {
    width: min(100% - 36px, 1120px) !important;
    max-width: 1120px !important;
}
.entry-content-card {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
}
.entry-header {
    padding: 28px 32px 0 !important;
}
.entry-header h1 {
    font-size: clamp(28px, 3vw, 40px) !important;
    line-height: 1.25 !important;
    margin: 0 0 12px !important;
}
.entry-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 32px 34px !important;
}
.entry-content > section,
.entry-content .services-directory,
.entry-content .section-lite,
.entry-content .answer-panel,
.entry-content .platform-page-hero,
.entry-content .policy-content,
.entry-content .faq-list,
.entry-content .contact-layout {
    width: 100% !important;
    max-width: 100% !important;
}
.section h2,
.cta-section h2,
.archive-header h1,
.platform-page-hero h2 {
    font-size: clamp(26px, 2.7vw, 38px) !important;
    line-height: 1.35 !important;
}
.entry-content h2 {
    font-size: clamp(23px, 2.1vw, 32px) !important;
    line-height: 1.45 !important;
}
.section p,
.entry-content p,
.service-card p,
.mini-card p,
.service-wide-card p,
.contact-card p,
.faq-item p {
    font-size: 16px !important;
    line-height: 1.9 !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
}
.lead-text {
    font-size: 17px !important;
    line-height: 1.9 !important;
}
.platform-page-hero {
    padding: 30px !important;
    margin-bottom: 24px !important;
}
.services-directory {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}
.service-wide-card {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    column-gap: 18px !important;
    row-gap: 6px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    direction: rtl !important;
    padding: 22px !important;
}
.service-wide-card > span {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    border-radius: 17px !important;
    font-size: 23px !important;
    line-height: 1 !important;
    display: inline-grid !important;
    place-items: center !important;
    white-space: nowrap !important;
}
.service-wide-card > h2,
.service-wide-card > h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 4px !important;
    font-size: 21px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}
.service-wide-card > p {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}
.mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.main-navigation a {
    font-size: 13px !important;
    font-weight: 800 !important;
}
@media (max-width: 980px) {
    .services-directory,
    .mini-grid,
    .contact-layout {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 620px) {
    .page-main .container,
    .page-main .narrow-container {
        width: min(100% - 24px, 100%) !important;
    }
    .entry-header { padding: 22px 20px 0 !important; }
    .entry-content { padding: 0 20px 24px !important; }
    .service-wide-card {
        grid-template-columns: 50px minmax(0, 1fr) !important;
        padding: 18px !important;
    }
    .service-wide-card > span {
        width: 46px !important;
        height: 46px !important;
        font-size: 21px !important;
    }
}


/* ===== عناصر واجهة إضافية نسخة 1.3.0: بلوكات حديثة + بطاقات تفاعلية + تحسين بصري ===== */
.hero-search-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    max-width: 680px;
    padding: 12px 14px;
    margin: 0 0 22px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
}
.hero-search-card > span { color: #f8dc93; font-weight: 900; white-space: nowrap; }
.hero-search-card .search-form { width: 100%; margin: 0; }
.hero-search-card .search-field { background: rgba(255,255,255,.96); border: 0; min-height: 46px; }
.hero-search-card .search-submit { background: var(--gold); color: #111827; min-height: 46px; }
.hero-side-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 18px 0;
}
.hero-side-stats div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
}
.hero-side-stats strong { display: block; color: var(--navy); font-size: 22px; line-height: 1.1; }
.hero-side-stats span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.quick-access-section { padding-top: 66px; }
.quick-access-shell,
.service-hub-panel {
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #eef7f3 100%);
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
}
.quick-access-head,
.service-hub-head { max-width: 780px; margin-bottom: 22px; }
.quick-access-head h2,
.service-hub-head h2 { color: var(--navy); font-size: clamp(26px, 3vw, 40px); margin: 0 0 10px; line-height: 1.35; }
.quick-access-head p,
.service-hub-head p { color: #475569; margin: 0; }
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.quick-tile {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 18px 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.quick-tile:hover,
.quick-tile:focus {
    transform: translateY(-3px);
    color: var(--navy);
    border-color: rgba(18,113,91,.32);
    box-shadow: 0 16px 35px rgba(15,23,42,.10);
}
.quick-tile > span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--gold-soft);
    font-size: 23px;
}
.quick-tile strong { color: var(--navy); font-size: 16px; line-height: 1.4; }
.quick-tile small { color: var(--muted); line-height: 1.55; }
.compact-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-tiles .quick-tile { min-height: 132px; }
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}
.tool-card,
.comparison-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
.tool-card--wide { grid-column: span 1; }
.tool-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--gold-soft);
    font-size: 24px;
    margin-bottom: 14px;
}
.tool-card h3,
.comparison-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 21px; }
.tool-card p,
.comparison-card p { margin: 0; color: #475569; }
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}
.comparison-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    padding: 0 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #102a43;
    color: var(--white);
    font-weight: 900;
}
.area-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: start;
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(135deg, #fff, #f8fafc);
    border: 1px solid var(--line);
    box-shadow: 0 12px 35px rgba(15,23,42,.07);
}
.area-cloud span {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eef7f3;
    color: var(--green);
    font-weight: 800;
    border: 1px solid rgba(18,113,91,.12);
}
.service-hub-panel { margin-bottom: 24px; }
.service-checklist-panel .tools-grid { margin-top: 14px; }
@media (max-width: 1120px) {
    .quick-access-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .hero-search-card { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .quick-access-shell, .service-hub-panel { padding: 22px; border-radius: 24px; }
}
@media (max-width: 620px) {
    .quick-access-grid,
    .compact-tiles,
    .comparison-grid,
    .hero-side-stats { grid-template-columns: 1fr !important; }
    .quick-tile { min-height: auto; }
    .hero-search-card .search-form { display: grid; grid-template-columns: 1fr; }
}

/* Homepage editor compatibility */
.home-main.editable-home { padding: 0; }
.editable-home-article { margin: 0; }
.editable-home-article > *:first-child { margin-top: 0; }
.editable-home-article .wp-block-html,
.editable-home-article .wp-block-group { margin-block-start: 0; }
.block-editor-block-list__layout .hero-section,
.block-editor-block-list__layout .section,
.block-editor-block-list__layout .trust-strip { direction: rtl; }

/* v1.4.1 - إصلاح تكسير الكلمات في بطاقة الهيرو وبطاقات الخدمات */
.hero-section,
.hero-section * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}
.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 460px) !important;
    gap: 46px !important;
}
.hero-content,
.hero-card {
    min-width: 0 !important;
}
.hero-card {
    width: 100% !important;
    max-width: 460px !important;
    min-width: 390px !important;
    justify-self: stretch !important;
}
.hero-card__top {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
}
.hero-card__top > div {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
.hero-card__top strong,
.hero-card__top small,
.lead-row p,
.quick-tile strong,
.quick-tile small,
.service-card h3,
.service-card p,
.service-wide-card h2,
.service-wide-card p,
.tool-card h3,
.tool-card p,
.comparison-card h3,
.comparison-card p {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    max-width: 100% !important;
    text-align: right !important;
}
.lead-box {
    width: 100% !important;
}
.lead-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
}
.lead-row span {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
}
.lead-row p {
    flex: 1 1 auto !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    line-height: 1.85 !important;
    font-size: 15px !important;
}
.quick-tile,
.service-card,
.service-wide-card,
.tool-card,
.comparison-card {
    min-width: 0 !important;
}
.quick-tile {
    align-items: flex-start !important;
}
@media (max-width: 1020px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .hero-card {
        max-width: 720px !important;
        min-width: 0 !important;
        justify-self: start !important;
    }
}
@media (max-width: 620px) {
    .hero-card {
        padding: 20px !important;
        border-radius: 22px !important;
    }
    .lead-row {
        padding: 12px !important;
    }
    .lead-row p {
        font-size: 14px !important;
    }
}

/* ===== Blog and single article professional upgrade v1.6.0 ===== */
.blog-main {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 44%, #f7f9fc 100%);
}
.blog-hero {
    padding: 74px 0 54px;
    background:
        radial-gradient(circle at 18% 10%, rgba(196,154,58,.18), transparent 32%),
        linear-gradient(135deg, #071724 0%, #102a43 56%, #0b5c4c 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.blog-hero::after {
    content: "";
    position: absolute;
    inset-inline-start: -90px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.blog-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 34px;
    align-items: center;
}
.blog-hero .breadcrumbs,
.blog-hero .breadcrumbs a {
    color: rgba(255,255,255,.78);
}
.blog-hero .section-kicker {
    background: rgba(248,220,147,.18);
    color: #f8dc93;
    border-color: rgba(248,220,147,.38);
}
.blog-hero h1 {
    color: var(--white);
    margin: 16px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.2;
    letter-spacing: -.8px;
}
.blog-hero p {
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.95;
    max-width: 780px;
}
.blog-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.blog-hero__search {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
    backdrop-filter: blur(10px);
}
.blog-hero__search strong {
    display: block;
    color: var(--white);
    font-size: 22px;
    margin-bottom: 8px;
}
.blog-hero__search p,
.blog-hero__search small {
    display: block;
    color: rgba(255,255,255,.74);
    margin: 0 0 16px;
}
.blog-hero__search .search-form {
    background: var(--white);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 16px 36px rgba(0,0,0,.18);
}
.blog-hero__search .search-field {
    border: 0;
    background: transparent;
}
.blog-hero__search .search-submit {
    white-space: nowrap;
}
.blog-list-section {
    padding-top: 48px;
}
.blog-filter-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.blog-filter-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    border: 1px solid var(--line);
}
.blog-filter-strip a:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.blog-posts-grid,
.post-grid,
.posts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}
.post-card.blog-card,
.post-card {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100%;
    background: var(--white) !important;
    border: 1px solid rgba(226,232,240,.96) !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 45px rgba(15,23,42,.08) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.post-card.blog-card:hover,
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(15,23,42,.14) !important;
    border-color: rgba(196,154,58,.42) !important;
}
.post-card__media {
    position: relative;
    display: block;
    min-height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #102a43, #0b5c4c);
}
.post-card__media img,
.post-card__thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.post-card:hover .post-card__media img,
.post-card:hover .post-card__thumb img {
    transform: scale(1.045);
}
.post-card__placeholder {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 230px !important;
    color: #f8dc93 !important;
    font-size: 54px !important;
    background:
        radial-gradient(circle at 25% 20%, rgba(248,220,147,.22), transparent 34%),
        linear-gradient(135deg, #102a43, #0b5c4c) !important;
}
.post-card__placeholder-text {
    position: absolute;
    inset-inline-start: 18px;
    bottom: 16px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 800;
}
.post-card__badge {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 32px);
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.post-card__content,
.post-card__body {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    flex: 1 1 auto !important;
    padding: 24px !important;
    min-width: 0 !important;
}
.post-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.post-card__meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.post-card__meta-row span:first-child::before {
    content: "📅";
}
.post-card__meta-row span:last-child::before {
    content: "⏱️";
}
.post-card__title,
.post-card h2 {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.45 !important;
    color: var(--navy) !important;
}
.post-card__title a,
.post-card h2 a {
    color: var(--navy) !important;
}
.post-card__title a:hover,
.post-card h2 a:hover {
    color: var(--green) !important;
}
.post-card__excerpt,
.post-card p {
    color: #475569 !important;
    font-size: 15.5px !important;
    line-height: 1.9 !important;
    margin: 0 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}
.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.post-card__read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green) !important;
    font-weight: 900;
}
.post-card__mark {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}
.blog-pagination {
    margin-top: 34px;
}
.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    font-weight: 800;
}
.blog-pagination .current,
.blog-pagination .page-numbers:hover {
    background: var(--navy);
    color: var(--white);
}
.legal-article-main {
    padding: 58px 0 84px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 36%, #f7f9fc 100%);
}
.article-layout--enhanced {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 30px !important;
    align-items: start !important;
}
.legal-article-card {
    border-radius: 30px !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 22px 70px rgba(15,23,42,.09) !important;
}
.legal-article-header {
    padding: 38px 42px 14px !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(196,154,58,.14), transparent 34%),
        linear-gradient(180deg, #ffffff, #fbfdff);
}
.article-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.article-meta-pills > span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.article-meta-pills a {
    color: var(--green);
}
.legal-article-header h1 {
    margin: 0 0 16px !important;
    color: var(--navy) !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: 1.25 !important;
    letter-spacing: -.7px;
}
.article-excerpt {
    max-width: 850px;
    color: #475569 !important;
    font-size: 18px !important;
    line-height: 1.95 !important;
    margin: 0 !important;
}
.legal-article-featured {
    margin: 24px 42px 0 !important;
    border-radius: 22px !important;
    max-height: 460px;
}
.legal-article-featured img {
    width: 100%;
    height: auto;
    display: block;
}
.legal-article-content {
    padding: 28px 42px 42px !important;
    font-size: 18px;
}
.legal-article-content > p:first-child::first-letter {
    color: var(--gold);
    font-weight: 900;
}
.legal-article-content h2,
.legal-article-content h3 {
    scroll-margin-top: 120px;
}
.article-inline-cta {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 30px 0;
    padding: 26px;
    border-radius: 26px;
    color: var(--white);
    background: linear-gradient(135deg, #102a43 0%, #0b5c4c 100%);
    box-shadow: 0 22px 55px rgba(15,23,42,.18);
    border: 1px solid rgba(255,255,255,.12);
}
.article-inline-cta__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: rgba(248,220,147,.16);
    color: #f8dc93;
    font-size: 30px;
}
.article-inline-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #f8dc93;
    font-size: 13px;
    font-weight: 900;
}
.article-inline-cta h2 {
    color: var(--white) !important;
    margin: 0 0 8px !important;
    font-size: clamp(22px, 2.2vw, 30px) !important;
    line-height: 1.35 !important;
}
.article-inline-cta p {
    color: rgba(255,255,255,.82) !important;
    margin: 0 0 16px !important;
    font-size: 16px !important;
}
.article-inline-cta__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.article-inline-cta .btn--ghost {
    color: var(--white);
    border-color: rgba(255,255,255,.34);
    background: rgba(255,255,255,.07);
}
.legal-disclaimer-note {
    margin: 0 42px 42px;
    padding: 20px 22px;
    border-radius: 20px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #7c2d12;
}
.legal-disclaimer-note p {
    margin: 8px 0 0;
    color: #7c2d12;
}
.article-sidebar {
    display: grid;
    gap: 18px;
}
.sidebar-card--sticky {
    position: sticky;
    top: 112px;
}
.sidebar-kicker {
    display: inline-flex;
    padding: 6px 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #835f17;
    font-size: 13px;
    font-weight: 900;
}
.article-sidebar .sidebar-card h2,
.article-sidebar .sidebar-card h3 {
    color: var(--navy);
    margin-top: 0;
}
.article-sidebar .btn + .btn {
    margin-top: 10px;
}
.article-checklist-card {
    background: #fbfdff;
}
.article-navigation-wrap {
    margin-top: 22px;
}
.article-navigation-wrap .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}
.article-navigation-wrap .nav-previous,
.article-navigation-wrap .nav-next {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.article-navigation-wrap a {
    color: var(--navy);
    font-weight: 900;
}
@media (max-width: 1080px) {
    .blog-posts-grid,
    .post-grid,
    .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .blog-hero__grid,
    .article-layout--enhanced {
        grid-template-columns: 1fr !important;
    }
    .blog-hero__search,
    .article-sidebar {
        max-width: 760px;
    }
    .sidebar-card--sticky {
        position: static;
    }
}
@media (max-width: 680px) {
    .blog-hero {
        padding: 52px 0 42px;
    }
    .blog-hero__search,
    .legal-article-header,
    .legal-article-content,
    .article-inline-cta,
    .legal-disclaimer-note {
        padding: 22px !important;
    }
    .legal-article-featured {
        margin: 18px 20px 0 !important;
        border-radius: 18px !important;
    }
    .blog-posts-grid,
    .post-grid,
    .posts-grid {
        grid-template-columns: 1fr !important;
    }
    .post-card__media,
    .post-card__media img,
    .post-card__placeholder {
        min-height: 190px !important;
        height: 210px !important;
    }
    .post-card__content,
    .post-card__body {
        padding: 20px !important;
    }
    .post-card__footer,
    .post-card__meta-row,
    .article-navigation-wrap .nav-links {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-content: start;
    }
    .article-inline-cta {
        grid-template-columns: 1fr !important;
    }
    .article-inline-cta__icon {
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}


/* Floating WhatsApp + Call Actions */
.mlp-floating-contact {
    position: fixed;
    right: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: var(--font-main, 'Tajawal', Arial, sans-serif);
    direction: rtl;
    pointer-events: none;
}

.mlp-floating-contact * {
    box-sizing: border-box;
}

.mlp-floating-contact__hint {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(7, 26, 40, 0.86);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 12px 35px rgba(7, 26, 40, 0.18);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.mlp-floating-contact__hint::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #17b26a;
    box-shadow: 0 0 0 6px rgba(23, 178, 106, 0.16);
}

.mlp-floating-contact__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    min-width: 202px;
    max-width: calc(100vw - 34px);
    min-height: 58px;
    padding: 10px 13px 10px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    color: #fff !important;
    box-shadow: 0 18px 40px rgba(7, 26, 40, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: visible;
    pointer-events: auto;
    transform: translateZ(0);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
    isolation: isolate;
}

.mlp-floating-contact__btn:hover,
.mlp-floating-contact__btn:focus-visible {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 22px 48px rgba(7, 26, 40, 0.28);
    filter: saturate(1.06);
    outline: none;
}

.mlp-floating-contact__btn--whatsapp {
    background: linear-gradient(135deg, #0f9f5a 0%, #14c779 100%);
    animation: mlp-floating-soft-bounce 5.2s ease-in-out infinite;
}

.mlp-floating-contact__btn--phone {
    background: linear-gradient(135deg, #092336 0%, #0d3b5f 100%);
    animation: mlp-floating-soft-bounce 5.2s ease-in-out infinite .65s;
}

.mlp-floating-contact__btn--whatsapp::before {
    content: '';
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(20, 199, 121, 0.36);
    border-radius: 26px;
    opacity: 0;
    transform: scale(.94);
    animation: mlp-floating-pulse 2.7s ease-out infinite;
    z-index: -1;
}

.mlp-floating-contact__icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.mlp-floating-contact__icon svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
}

.mlp-floating-contact__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    text-align: right;
    white-space: nowrap;
}

.mlp-floating-contact__text strong {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
}

.mlp-floating-contact__text small {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.84);
}

@keyframes mlp-floating-pulse {
    0% { opacity: 0; transform: scale(.92); }
    20% { opacity: .95; }
    100% { opacity: 0; transform: scale(1.12); }
}

@keyframes mlp-floating-soft-bounce {
    0%, 84%, 100% { transform: translateY(0); }
    88% { transform: translateY(-6px); }
    92% { transform: translateY(0); }
    96% { transform: translateY(-3px); }
}

@media (max-width: 700px) {
    .mlp-floating-contact {
        right: 12px;
        left: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        align-items: stretch;
        gap: 8px;
    }

    .mlp-floating-contact__hint {
        align-self: flex-end;
        font-size: 12px;
        padding: 7px 11px;
    }

    .mlp-floating-contact__btn {
        min-width: 0;
        width: 100%;
        min-height: 54px;
        border-radius: 18px;
        padding: 9px 11px;
    }

    .mlp-floating-contact__icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 13px;
    }

    .mlp-floating-contact__text strong {
        font-size: 14px;
    }

    .mlp-floating-contact__text small {
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .mlp-floating-contact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }

    .mlp-floating-contact__hint {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .mlp-floating-contact__btn {
        justify-content: center;
        gap: 7px;
        padding-inline: 8px;
    }

    .mlp-floating-contact__text small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mlp-floating-contact__btn,
    .mlp-floating-contact__btn--whatsapp::before {
        animation: none !important;
    }
}


/* Legal Chatbot */
.mlp-chatbot {
    position: fixed;
    left: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 100000;
    font-family: var(--font-main, 'Tajawal', Arial, sans-serif);
    direction: rtl;
    color: var(--ink, #182433);
}

.mlp-chatbot * { box-sizing: border-box; }

.mlp-chatbot__launcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 214px;
    border: 0;
    border-radius: 22px;
    padding: 12px 14px 12px 16px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #102a43 0%, #1d4ed8 100%);
    box-shadow: 0 20px 55px rgba(16, 42, 67, .24);
    text-align: right;
    overflow: visible;
    animation: mlp-chatbot-float 6s ease-in-out infinite;
}

.mlp-chatbot__launcher:hover,
.mlp-chatbot__launcher:focus-visible {
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 26px 65px rgba(16, 42, 67, .32);
}

.mlp-chatbot__launcher-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
    font-size: 22px;
    flex: 0 0 auto;
}

.mlp-chatbot__launcher-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
}

.mlp-chatbot__launcher-text strong {
    font-size: 15px;
    font-weight: 900;
}

.mlp-chatbot__launcher-text small {
    font-size: 11.5px;
    opacity: .86;
    font-weight: 600;
}

.mlp-chatbot__launcher-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    border: 2px solid rgba(29, 78, 216, .28);
    animation: mlp-chatbot-pulse 2.8s ease-out infinite;
    pointer-events: none;
}

.mlp-chatbot__panel {
    width: min(390px, calc(100vw - 32px));
    max-height: min(680px, calc(100vh - 44px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 95px rgba(15, 23, 42, .28);
    border: 1px solid rgba(226, 232, 240, .95);
}

.mlp-chatbot__panel[hidden] { display: none !important; }

.mlp-chatbot.is-open .mlp-chatbot__launcher { display: none; }

.mlp-chatbot__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    background: linear-gradient(135deg, #102a43 0%, #183b56 55%, #1d4ed8 100%);
    color: #fff;
}

.mlp-chatbot__avatar {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.16);
    font-size: 22px;
    flex: 0 0 auto;
}

.mlp-chatbot__header strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
}

.mlp-chatbot__header span {
    display: block;
    font-size: 12px;
    opacity: .84;
    font-weight: 600;
}

.mlp-chatbot__close {
    margin-inline-start: auto;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.14);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.mlp-chatbot__notice {
    margin: 12px 14px 0;
    padding: 10px 12px;
    border-radius: 16px;
    background: #fff7ed;
    color: #7c2d12;
    border: 1px solid #fed7aa;
    font-size: 12.5px;
    line-height: 1.8;
    font-weight: 600;
}

.mlp-chatbot__messages {
    flex: 1;
    min-height: 250px;
    overflow: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.mlp-chatbot__msg {
    max-width: 92%;
    padding: 11px 13px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.9;
    word-break: normal;
    overflow-wrap: break-word;
}

.mlp-chatbot__msg p { margin: 0; }

.mlp-chatbot__msg--bot {
    align-self: flex-start;
    background: #f1f5f9;
    color: #183b56;
    border-bottom-right-radius: 8px;
}

.mlp-chatbot__msg--user {
    align-self: flex-end;
    background: linear-gradient(135deg, #12715b 0%, #16a34a 100%);
    color: #fff;
    border-bottom-left-radius: 8px;
}

.mlp-chatbot__quick {
    display: flex;
    gap: 7px;
    padding: 0 14px 12px;
    overflow-x: auto;
    background: #f8fafc;
}

.mlp-chatbot__quick button {
    flex: 0 0 auto;
    border: 1px solid #dbe5ef;
    background: #fff;
    color: #102a43;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.mlp-chatbot__quick button:hover,
.mlp-chatbot__quick button:focus-visible {
    border-color: #1d4ed8;
    color: #1d4ed8;
    outline: none;
}

.mlp-chatbot__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mlp-chatbot__form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dbe5ef;
    border-radius: 15px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.mlp-chatbot__form input:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, .08);
}

.mlp-chatbot__form button,
.mlp-chatbot__whatsapp,
.mlp-chatbot__footer a {
    min-height: 44px;
    border: 0;
    border-radius: 15px;
    padding: 0 13px;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.mlp-chatbot__form button {
    background: #102a43;
    color: #fff;
}

.mlp-chatbot__footer {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 8px;
    padding: 0 14px 14px;
    background: #fff;
}

.mlp-chatbot__whatsapp {
    background: #128c5a;
    color: #fff;
}

.mlp-chatbot__footer a {
    background: #f1f5f9;
    color: #102a43;
}

@keyframes mlp-chatbot-pulse {
    0% { opacity: 0; transform: scale(.93); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: scale(1.12); }
}

@keyframes mlp-chatbot-float {
    0%, 85%, 100% { transform: translateY(0); }
    90% { transform: translateY(-6px); }
    95% { transform: translateY(0); }
}

@media (max-width: 700px) {
    .mlp-chatbot {
        left: 12px;
        right: 12px;
        bottom: calc(132px + env(safe-area-inset-bottom));
    }

    .mlp-chatbot__launcher {
        min-width: 0;
        width: auto;
        max-width: 100%;
        margin-inline-start: auto;
    }

    .mlp-chatbot__panel {
        width: 100%;
        max-height: calc(100vh - 156px);
        border-radius: 24px;
    }

    .mlp-chatbot__messages { min-height: 210px; }
}

@media (max-width: 420px) {
    .mlp-chatbot__footer { grid-template-columns: 1fr; }
    .mlp-chatbot__launcher-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .mlp-chatbot__launcher,
    .mlp-chatbot__launcher-pulse {
        animation: none !important;
    }
}


/* v1.9.0 - صفحات الخدمات المستقلة وروابط الأقسام القانونية */
.legal-services-link-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    margin-top:26px;
}
.legal-service-link-card{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:12px;
    min-height:260px;
    padding:26px;
    border:1px solid rgba(15,34,64,.10);
    border-radius:26px;
    background:linear-gradient(145deg,#ffffff 0%,#f8fbff 100%);
    box-shadow:0 18px 50px rgba(15,34,64,.08);
    text-decoration:none !important;
    color:var(--mlp-navy,#0f2240);
    overflow:hidden;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.legal-service-link-card:before{
    content:"";
    position:absolute;
    inset:auto -45px -55px auto;
    width:140px;
    height:140px;
    border-radius:50%;
    background:rgba(191,144,0,.12);
}
.legal-service-link-card:hover{
    transform:translateY(-6px);
    box-shadow:0 28px 70px rgba(15,34,64,.13);
    border-color:rgba(191,144,0,.35);
}
.legal-service-link-card__icon{
    display:inline-flex;
    width:54px;
    height:54px;
    border-radius:18px;
    align-items:center;
    justify-content:center;
    background:#0f2240;
    color:#fff;
    font-size:26px;
    box-shadow:0 12px 24px rgba(15,34,64,.18);
}
.legal-service-link-card h3{
    margin:4px 0 0;
    font-size:1.22rem;
    line-height:1.45;
    color:#0f2240;
}
.legal-service-link-card p{
    margin:0;
    line-height:1.9;
    color:#516173;
    font-size:.98rem;
}
.legal-service-link-card strong{
    margin-top:auto;
    color:#936f00;
    font-size:.95rem;
}
.service-landing-hero{
    padding:70px 0;
    background:radial-gradient(circle at 15% 20%,rgba(191,144,0,.16),transparent 28%),linear-gradient(135deg,#071a33 0%,#0f294d 62%,#173b66 100%);
    color:#fff;
    overflow:hidden;
}
.service-landing-hero__grid{
    display:grid;
    grid-template-columns:minmax(0,1.6fr) minmax(310px,.75fr);
    gap:34px;
    align-items:center;
}
.service-landing-hero .section-kicker{
    color:#f7d987;
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.16);
}
.service-landing-hero h1{
    margin:16px 0 18px;
    color:#fff;
    font-size:clamp(2rem,4vw,3.4rem);
    line-height:1.25;
    letter-spacing:-.02em;
}
.service-landing-hero .lead-text{
    max-width:850px;
    color:rgba(255,255,255,.86);
    font-size:1.16rem;
    line-height:2.05;
}
.service-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:26px 0 22px;
}
.service-hero-points{
    display:grid;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
    color:rgba(255,255,255,.82);
}
.service-hero-points li{
    position:relative;
    padding-inline-start:25px;
}
.service-hero-points li:before{
    content:"✓";
    position:absolute;
    inset-inline-start:0;
    color:#f7d987;
    font-weight:900;
}
.service-landing-hero__card{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    border-radius:30px;
    padding:28px;
    box-shadow:0 25px 90px rgba(0,0,0,.22);
    backdrop-filter:blur(18px);
}
.service-landing-icon{
    width:68px;
    height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:24px;
    background:#fff;
    color:#0f2240;
    font-size:32px;
    margin-bottom:16px;
}
.service-landing-hero__card h2{color:#fff;margin:0 0 12px;font-size:1.35rem;}
.service-landing-hero__card p{color:rgba(255,255,255,.84);line-height:1.9;margin:0 0 18px;}
.service-landing-hero__card small{display:block;color:rgba(255,255,255,.68);margin-top:14px;line-height:1.7;}
.service-answer-panel{
    padding:42px 0;
    background:#fff;
    border-bottom:1px solid rgba(15,34,64,.08);
}
.service-answer-panel__grid{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
    gap:34px;
    align-items:start;
}
.service-answer-panel h2{margin:10px 0 0;font-size:clamp(1.6rem,3vw,2.25rem);color:#0f2240;}
.service-answer-panel p{line-height:2;color:#4c5c6d;margin:0 0 12px;font-size:1.04rem;}
.service-long-content{padding:64px 0;background:#f5f7fb;}
.service-long-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:34px;
    align-items:start;
}
.service-main-copy{
    background:#fff;
    border-radius:30px;
    padding:38px;
    box-shadow:0 22px 70px rgba(15,34,64,.08);
    border:1px solid rgba(15,34,64,.07);
}
.service-main-copy h2{
    color:#0f2240;
    margin:34px 0 14px;
    font-size:1.65rem;
    line-height:1.45;
}
.service-main-copy h2:first-child{margin-top:0;}
.service-main-copy p{
    color:#4f5f70;
    line-height:2.08;
    font-size:1.05rem;
    margin:0 0 16px;
}
.service-mid-cta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    margin:32px 0;
    padding:24px;
    border-radius:24px;
    background:linear-gradient(135deg,#0f2240,#15365f);
    color:#fff;
}
.service-mid-cta span{display:block;color:#f7d987;margin-bottom:7px;font-weight:700;}
.service-mid-cta strong{display:block;font-size:1.18rem;line-height:1.7;}
.service-focus-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin:22px 0 30px;
}
.service-focus-item{
    display:flex;
    gap:12px;
    align-items:flex-start;
    padding:18px;
    border-radius:20px;
    background:#f8fafc;
    border:1px solid rgba(15,34,64,.08);
}
.service-focus-item span{
    width:28px;height:28px;border-radius:50%;background:#1c7c54;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;flex:none;
}
.service-focus-item p{margin:0;line-height:1.8;font-size:.98rem;}
.service-doc-list,.service-steps-list{padding:0;margin:18px 0 28px;list-style:none;display:grid;gap:12px;}
.service-doc-list li,.service-steps-list li{
    padding:16px 18px;
    border-radius:18px;
    background:#fffdf7;
    border:1px solid rgba(191,144,0,.18);
    line-height:1.9;
    color:#4d5b68;
}
.service-doc-list li:before{content:"📌 ";}
.service-steps-list{counter-reset:service-step;}
.service-steps-list li{counter-increment:service-step;background:#f8fbff;border-color:rgba(15,34,64,.09);}
.service-steps-list li:before{content:counter(service-step);display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#0f2240;color:#fff;font-weight:900;margin-inline-end:10px;}
.service-faq-list{display:grid;gap:12px;margin-top:20px;}
.service-sticky-sidebar{position:sticky;top:105px;display:grid;gap:18px;}
.service-sidebar-card{
    padding:24px;
    border-radius:26px;
    background:#fff;
    border:1px solid rgba(15,34,64,.09);
    box-shadow:0 18px 60px rgba(15,34,64,.08);
}
.service-sidebar-card__icon{display:inline-flex;width:56px;height:56px;border-radius:20px;align-items:center;justify-content:center;background:#0f2240;color:#fff;font-size:26px;margin-bottom:14px;}
.service-sidebar-card h3{margin:0 0 10px;color:#0f2240;line-height:1.5;font-size:1.25rem;}
.service-sidebar-card p{margin:0 0 16px;color:#5b6875;line-height:1.9;}
.service-sidebar-card--soft{background:#fffdf6;border-color:rgba(191,144,0,.20);}
.service-final-cta{padding:54px 0;background:#0f2240;color:#fff;}
.service-final-cta__inner{display:flex;justify-content:space-between;align-items:center;gap:28px;}
.service-final-cta h2{color:#fff;margin:10px 0 10px;font-size:2rem;}
.service-final-cta p{color:rgba(255,255,255,.82);line-height:1.9;margin:0;max-width:780px;}
.service-final-cta .section-kicker{color:#f7d987;background:rgba(255,255,255,.08);}
@media (max-width: 1024px){
    .legal-services-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .service-landing-hero__grid,.service-long-layout,.service-answer-panel__grid{grid-template-columns:1fr;}
    .service-sticky-sidebar{position:static;}
}
@media (max-width: 680px){
    .legal-services-link-grid,.service-focus-grid{grid-template-columns:1fr;}
    .service-main-copy{padding:24px;border-radius:24px;}
    .service-mid-cta,.service-final-cta__inner{flex-direction:column;align-items:flex-start;}
    .service-landing-hero{padding:48px 0;}
    .service-landing-hero__card{padding:22px;}
}


/* v2.0.0 - إصلاح البوت، توزيع خدمات سطح المكتب، وتوسيع صفحات الخدمات */
:root{
    --mlp-wide-container: 1480px;
}

/* توسيع الصفحات حتى لا تبقى الخدمات محصورة في عمود ضيق */
.page-main .container,
.page-main .narrow-container{
    width: min(100% - 40px, var(--mlp-wide-container)) !important;
    max-width: var(--mlp-wide-container) !important;
}
.entry-content-card{
    border-radius: 34px !important;
}
.entry-content{
    padding-inline: clamp(18px, 3vw, 44px) !important;
}

/* صفحة خدماتنا: توزيع احترافي على كامل شاشة سطح المكتب */
.legal-services-link-grid,
.legal-services-link-grid--directory,
.legal-services-link-grid--home{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
    width: 100% !important;
}
.legal-service-link-card{
    min-height: 300px !important;
    height: 100%;
    padding: 28px !important;
}
.legal-service-link-card p{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 1280px){
    .legal-services-link-grid,
    .legal-services-link-grid--directory,
    .legal-services-link-grid--home{
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
@media (min-width: 1680px){
    .legal-services-link-grid,
    .legal-services-link-grid--directory,
    .legal-services-link-grid--home{
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

/* صفحات الخدمة المستقلة بعرض أوسع */
.service-landing-hero .container,
.service-answer-panel .container,
.service-long-content .container,
.service-final-cta .container{
    width: min(100% - 44px, 1500px) !important;
    max-width: 1500px !important;
}
.service-long-layout{
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 38px !important;
}
.service-main-copy{
    padding: clamp(26px, 3.2vw, 54px) !important;
}
@media (min-width: 1280px){
    .service-main-copy p{
        font-size: 1.08rem !important;
    }
}
@media (max-width: 1080px){
    .service-long-layout{
        grid-template-columns: 1fr !important;
    }
}

/* إزالة أي تكرارات نصية داخل صفحة الخدمات القديمة وإبقاء شبكة الصفحات فقط */
.services-clean-note{
    padding: 22px;
    border-radius: 24px;
    background: #fffdf5;
    border: 1px solid rgba(191,144,0,.18);
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 24px;
}

/* بوت الدردشة القانوني - نسخة أكثر وضوحًا وتوافقًا */
.mlp-chatbot{
    z-index: 100050 !important;
}
.mlp-chatbot__launcher-icon,
.mlp-chatbot__avatar{
    overflow: hidden;
    background: #fff !important;
    border: 1px solid rgba(255,255,255,.35);
}
.mlp-chatbot__advisor-img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}
.mlp-chatbot__avatar{
    width: 50px !important;
    height: 50px !important;
    border-radius: 18px !important;
    flex: 0 0 auto;
}
.mlp-chatbot__launcher-icon{
    width: 46px !important;
    height: 46px !important;
    border-radius: 17px !important;
}
.mlp-chatbot__msg-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.mlp-chatbot__msg-actions a,
.mlp-chatbot__msg-actions button{
    min-height: 36px;
    border: 0;
    border-radius: 12px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.mlp-chatbot__msg-actions a:first-child{
    background: #128c5a;
    color: #fff;
}
.mlp-chatbot__msg-actions a:last-child{
    background: #102a43;
    color: #fff;
}
.mlp-chatbot__typing{
    opacity: .78;
    font-weight: 700;
}
.mlp-chatbot__panel{
    width: min(430px, calc(100vw - 32px)) !important;
}
.mlp-chatbot__messages{
    min-height: 280px !important;
}
@media (max-width: 700px){
    .mlp-chatbot__panel{
        width: 100% !important;
    }
}


/* v2.1.0 - وضوح ألوان صفحات الخدمة ونظام تقييم النجوم */
.service-landing-hero .lead-text,
.service-landing-hero__content .lead-text{
    color:#f5f9ff !important;
    opacity:1 !important;
    text-shadow:0 2px 14px rgba(0,0,0,.24);
    font-weight:600;
}
.service-hero-points,
.service-hero-points li{
    color:#ffffff !important;
    opacity:1 !important;
    font-weight:700;
    text-shadow:0 2px 12px rgba(0,0,0,.22);
}
.service-landing-hero__card p,
.service-landing-hero__card small{
    color:#f4f8ff !important;
    opacity:1 !important;
}
.service-landing-hero .btn--ghost{
    background:#ffffff !important;
    color:#0f2240 !important;
    border-color:rgba(255,255,255,.9) !important;
    box-shadow:0 14px 36px rgba(0,0,0,.18);
}
.service-landing-hero .btn--primary{
    box-shadow:0 18px 42px rgba(18,113,91,.36);
}
.service-landing-hero:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(2,8,23,.14),rgba(2,8,23,.02) 45%,rgba(2,8,23,.18));
    pointer-events:none;
}
.service-landing-hero > .container{position:relative;z-index:1;}

.comments-area.mlp-comments-box,
.service-comments-wrap .comments-area{
    margin-top:34px;
    padding:0 !important;
    overflow:hidden;
    background:#fff;
    border:1px solid rgba(15,34,64,.08);
    box-shadow:0 24px 80px rgba(15,34,64,.09);
}
.mlp-comments-intro{
    padding:30px clamp(20px,3vw,38px);
    background:linear-gradient(135deg,#f8fafc,#fffdf6);
    border-bottom:1px solid rgba(15,34,64,.08);
}
.mlp-comments-intro h2{margin:8px 0 8px;color:#0f2240;font-size:clamp(1.6rem,3vw,2.15rem);}
.mlp-comments-intro p{margin:0;color:#526173;line-height:1.9;}
.mlp-rating-summary{
    margin-top:18px;
    display:flex;
    align-items:center;
    gap:16px;
    padding:16px 18px;
    border-radius:20px;
    background:#fff;
    border:1px solid rgba(191,144,0,.22);
    box-shadow:0 12px 36px rgba(15,34,64,.06);
}
.mlp-rating-summary--empty{display:block;color:#536171;}
.mlp-rating-summary--empty strong{display:block;color:#0f2240;margin-bottom:4px;}
.mlp-rating-summary__score{
    width:74px;height:74px;border-radius:22px;background:linear-gradient(135deg,#c49a3a,#946b18);color:#111827;
    display:flex;align-items:center;justify-content:center;gap:2px;flex:none;box-shadow:0 14px 30px rgba(196,154,58,.24);
}
.mlp-rating-summary__score strong{font-size:1.8rem;line-height:1;color:#111827;}
.mlp-rating-summary__score span{font-weight:900;}
.mlp-rating-summary__body p{margin:6px 0 0;color:#536171;}
.mlp-stars{display:inline-flex;gap:3px;direction:ltr;vertical-align:middle;}
.mlp-star{font-size:18px;line-height:1;color:#d6dce5;text-shadow:0 1px 0 rgba(255,255,255,.45);}
.mlp-star.is-filled{color:#f4b83f;}
.mlp-rating-text{display:inline-flex;margin-inline-start:8px;font-size:.9rem;font-weight:900;color:#8a6418;}
.comment-list{padding:26px clamp(20px,3vw,38px) 0 !important;margin:0 !important;list-style:none !important;display:grid;gap:18px;}
.comment-list .comment-body{
    padding:20px;
    border-radius:20px;
    background:#f8fafc;
    border:1px solid rgba(15,34,64,.08);
}
.comment-author .avatar{border-radius:50%;margin-inline-end:8px;display:inline-block;vertical-align:middle;}
.comment-meta, .comment-metadata{color:#64748b;font-size:.9rem;}
.mlp-comment-rating-display{margin:10px 0 8px;padding:8px 12px;border-radius:14px;background:#fff7df;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(196,154,58,.22);}
.comment-respond{padding:26px clamp(20px,3vw,38px) 34px;background:#fff;}
.comment-reply-title{margin:0 0 12px;color:#0f2240;font-size:1.55rem;}
.comment-notes{color:#64748b;font-size:.96rem;}
.comment-form-rating{margin:18px 0;padding:18px;border-radius:18px;background:#fffdf6;border:1px solid rgba(196,154,58,.22);}
.mlp-rating-label{display:block;margin-bottom:8px;color:#0f2240;font-weight:900;}
.mlp-rating-input{display:inline-flex;flex-direction:row-reverse;gap:4px;direction:ltr;}
.mlp-rating-input input{position:absolute;opacity:0;pointer-events:none;}
.mlp-rating-input label{font-size:32px;line-height:1;cursor:pointer;color:#cbd5e1;transition:transform .18s ease,color .18s ease;text-shadow:0 3px 10px rgba(15,34,64,.08);}
.mlp-rating-input label:hover,
.mlp-rating-input label:hover ~ label,
.mlp-rating-input input:checked ~ label{color:#f4b83f;transform:translateY(-1px);}
.comment-form-rating small{display:block;margin-top:8px;color:#64748b;}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
    width:100%;border:1px solid #dbe3ee;border-radius:16px;padding:13px 15px;font-family:inherit;background:#f8fafc;color:#182433;
}
.comment-form textarea{min-height:150px;}
.comment-form .submit{
    min-height:48px;border:0;border-radius:999px;background:linear-gradient(135deg,#12715b,#0a5a49);color:#fff;font-family:inherit;font-weight:900;padding:0 24px;cursor:pointer;box-shadow:0 14px 30px rgba(18,113,91,.22);
}
.service-comments-wrap{width:min(100% - 44px,1500px);margin:0 auto 58px;}
@media(max-width:680px){
    .mlp-rating-summary{align-items:flex-start;flex-direction:column;}
    .mlp-rating-summary__score{width:64px;height:64px;}
    .comment-list{padding-top:20px !important;}
}


/* Makkah Lawyer Platform v2.2.0 - تحسينات الثقة والتواصل */
:root{
    --makkah-forest:#163832;
    --makkah-mint:#0f766e;
    --makkah-mountain:#2f6f73;
    --makkah-sand:#d4a94f;
    --makkah-cloud:#f4f7f5;
    --makkah-ink:#17251f;
    --container:1240px;
}
body{background:linear-gradient(180deg,#f4f7f5 0%,#fbfcfa 42%,#eef5f1 100%);}
.top-notice{background:linear-gradient(90deg,#102d29,#18463e);}
.site-header{border-bottom:1px solid rgba(15,118,110,.12);box-shadow:0 12px 32px rgba(22,56,50,.06);}
.brand-mark__icon{background:linear-gradient(135deg,#163832,#0f766e);box-shadow:0 14px 30px rgba(15,118,110,.24);}
.hero-section{background:radial-gradient(circle at 18% 12%,rgba(212,169,79,.28),transparent 30%),radial-gradient(circle at 85% 5%,rgba(15,118,110,.30),transparent 28%),linear-gradient(135deg,#102d29 0%,#163832 48%,#2f6f73 100%);}
.hero-section::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.05) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.04) 50%,rgba(255,255,255,.04) 75%,transparent 75%);background-size:56px 56px;opacity:.18;}
.hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);}
.eyebrow,.section-kicker{background:#fff4d9;color:#8b6519;border:1px solid rgba(212,169,79,.22);}
.btn--primary{background:linear-gradient(135deg,#0f766e,#163832);box-shadow:0 12px 30px rgba(15,118,110,.28);}
.btn--secondary{background:linear-gradient(135deg,#d4a94f,#b88320);color:#17251f;}
.trust-strip__grid > div{background:rgba(255,255,255,.96);}
.legal-service-group{margin:34px 0 44px;}
.legal-service-group__head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:18px 22px;border-radius:22px;background:linear-gradient(135deg,#163832,#235347);color:#fff;box-shadow:0 18px 50px rgba(22,56,50,.12);}
.legal-service-group__head h3{margin:0;font-size:1.45rem;}
.legal-service-group__head span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border-radius:14px;background:rgba(212,169,79,.20);color:#ffe9aa;font-weight:800;}
.legal-services-link-grid--grouped{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px;}
.legal-service-link-card{background:linear-gradient(145deg,#ffffff 0%,#f6faf7 100%);border-color:rgba(15,118,110,.12);}
.legal-service-link-card:before{background:rgba(15,118,110,.10);}
.legal-service-link-card:hover{border-color:rgba(212,169,79,.42);box-shadow:0 28px 74px rgba(22,56,50,.14);}
.legal-service-link-card__icon{background:linear-gradient(135deg,#163832,#0f766e);}
.legal-service-link-card strong{color:#a06f1c;}
.service-landing-hero{background:radial-gradient(circle at 12% 18%,rgba(212,169,79,.22),transparent 30%),linear-gradient(135deg,#102d29 0%,#163832 55%,#2f6f73 100%);}
.service-landing-hero .lead-text{color:rgba(255,255,255,.93)!important;text-shadow:0 1px 1px rgba(0,0,0,.18);}
.service-hero-points{color:rgba(255,255,255,.92)!important;}
.service-landing-hero__card{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.24);}
.service-answer-panel h2,.service-main-copy h2,.legal-service-link-card h3{color:#163832;}
.service-final-cta{background:linear-gradient(135deg,#163832,#0f766e);}
.site-footer{background:linear-gradient(135deg,#102d29,#163832);}
.mlp-chatbot__launcher{background:linear-gradient(135deg,#163832,#0f766e)!important;}
.floating-contact__wa{background:#0f766e!important;}
.floating-contact__call{background:#163832!important;}
@media (min-width:1180px){.legal-services-link-grid--grouped{grid-template-columns:repeat(4,minmax(0,1fr));}.legal-service-link-card{min-height:245px;}}

/* v1.1.2 - صفحات السياسات المطورة وإزالة الشعار الافتراضي */
.policy-hero { position: relative; overflow: hidden; }
.policy-hero::after {
    content: ""; position: absolute; inset-inline-start: -80px; bottom: -110px; width: 280px; height: 280px;
    border-radius: 999px; background: radial-gradient(circle, rgba(212,169,79,.20), rgba(47,111,115,.06) 62%, transparent 70%);
    pointer-events: none;
}
.policy-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.policy-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.14); color: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.18); font-weight: 700; font-size: 13px; }
.policy-wrap { padding-top: 48px; }
.policy-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 28px; align-items: start; }
.policy-index { position: sticky; top: 112px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: 0 15px 35px rgba(15,23,42,.08); }
.policy-index strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.policy-index a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; color: #334155; border-radius: 14px; font-weight: 700; }
.policy-index a::before { content: "•"; color: var(--gold); font-size: 22px; line-height: 1; }
.policy-index a:hover, .policy-index a:focus { background: #f1f5f9; color: var(--navy); }
.policy-content { display: grid; gap: 18px; }
.policy-alert { background: linear-gradient(135deg, rgba(212,169,79,.17), rgba(47,111,115,.08)); border: 1px solid rgba(212,169,79,.34); color: #354152; padding: 18px 20px; border-radius: 20px; font-weight: 600; }
.policy-alert strong { color: var(--navy); }
.policy-section-card { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 14px 36px rgba(15,23,42,.07); }
.policy-section-card h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(22px, 2.5vw, 30px); }
.policy-section-card p { color: #475569; font-size: 17px; line-height: 2; margin-bottom: 12px; }
.policy-section-card .check-list { margin-top: 14px; }
@media (max-width: 900px) {
    .policy-layout { grid-template-columns: 1fr; }
    .policy-index { position: static; }
   
}
@media (max-width: 600px) {
    .policy-section-card { border-radius: 20px; }
    .policy-meta span { width: 100%; justify-content: center; }
}

/* v1.1.2 - الهيدر النصي الافتراضي كما في النسخة السابقة بدون شعار مصمم */
.custom-logo-link { display: inline-flex; align-items: center; max-width: 260px; }
.custom-logo { width: auto; max-height: 64px; object-fit: contain; }


/* v1.1.3 - تحسين بوت الدردشة: أزرار التواصل في كل رد وإظهار الخيارات السريعة بوضوح */
.mlp-chatbot__panel{
    width:min(520px, calc(100vw - 24px)) !important;
    max-height:min(760px, calc(100dvh - 34px)) !important;
    overflow:hidden !important;
    display:flex !important;
    flex-direction:column !important;
}
.mlp-chatbot__panel[hidden]{display:none !important;}
.mlp-chatbot__notice{
    flex:0 0 auto;
}
.mlp-chatbot__quick{
    flex:0 0 auto;
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    padding:10px 14px 12px !important;
    overflow:visible !important;
    background:#f8fafc;
    border-bottom:1px solid #e7edf4;
}
.mlp-chatbot__quick button{
    width:100%;
    min-width:0;
    white-space:normal !important;
    line-height:1.5;
    min-height:40px;
    padding:8px 9px !important;
    font-size:12px !important;
    text-align:center;
}
.mlp-chatbot__messages{
    flex:1 1 auto !important;
    min-height:190px !important;
    max-height:none !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
}
.mlp-chatbot__msg{
    max-width:94% !important;
}
.mlp-chatbot__contact-note{
    margin-top:10px;
    padding:10px 11px;
    border-radius:14px;
    background:linear-gradient(135deg, rgba(18,140,90,.10), rgba(212,169,79,.11));
    border:1px solid rgba(18,140,90,.18);
    color:#123f3a;
    font-weight:800;
    font-size:12.4px;
    line-height:1.8;
}
.mlp-chatbot__msg-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:8px !important;
    margin-top:10px !important;
}
.mlp-chatbot__msg-actions a{
    width:100%;
    min-width:0;
    min-height:39px !important;
    border-radius:13px !important;
    box-shadow:0 8px 18px rgba(15,35,55,.10);
}
.mlp-chatbot__form{
    flex:0 0 auto;
    grid-template-columns:minmax(0, 1fr) auto !important;
    overflow:hidden;
}
.mlp-chatbot__form input{
    min-width:0;
}
.mlp-chatbot__footer{
    flex:0 0 auto;
}
@media (max-width:700px){
    .mlp-chatbot{
        left:8px !important;
        right:8px !important;
        bottom:calc(96px + env(safe-area-inset-bottom)) !important;
    }
    .mlp-chatbot__panel{
        width:100% !important;
        max-height:calc(100dvh - 118px) !important;
        border-radius:22px !important;
    }
    .mlp-chatbot__header{
        padding:12px !important;
    }
    .mlp-chatbot__notice{
        margin:10px 12px 0 !important;
        padding:10px 12px !important;
        font-size:12px !important;
    }
    .mlp-chatbot__quick{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        padding:9px 12px 10px !important;
    }
    .mlp-chatbot__quick button{
        min-height:38px;
        font-size:11.5px !important;
    }
    .mlp-chatbot__messages{
        min-height:150px !important;
        padding:12px !important;
    }
    .mlp-chatbot__form{
        padding:10px 12px !important;
        gap:6px !important;
    }
    .mlp-chatbot__form input{
        min-height:42px !important;
        font-size:12.5px !important;
    }
    .mlp-chatbot__form button{
        min-height:42px !important;
        padding:0 11px !important;
    }
    .mlp-chatbot__footer{
        grid-template-columns:1fr 1fr !important;
        padding:0 12px 12px !important;
    }
    .mlp-chatbot__footer a,
    .mlp-chatbot__whatsapp{
        min-height:42px !important;
        font-size:12px !important;
    }
}
@media (max-width:390px){
    .mlp-chatbot__quick{grid-template-columns:1fr 1fr;}
    .mlp-chatbot__footer{grid-template-columns:1fr !important;}
    .mlp-chatbot__msg-actions{grid-template-columns:1fr !important;}
}

/* v1.2.0 Trust & E-E-A-T enhancements */
.trust-hero .hero-lead,
.trust-service-hero .lead-text,
.service-landing-hero__content .lead-text,
.platform-page-hero .lead-text {
    color: rgba(255,255,255,.94) !important;
    opacity: 1 !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.18);
}
.platform-page-hero:not(.policy-hero) .lead-text { color: #334155 !important; text-shadow: none; }
.trust-page-hero .lead-text { color: #334155 !important; }
.hero-card--trust { border-color: rgba(212,169,79,.32); }
.how-we-work .steps-grid,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.steps-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 35px rgba(15,23,42,.08);
}
.steps-grid article span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #f2d37f);
    color: #163832;
    font-weight: 900;
    margin-bottom: 12px;
}
.steps-grid article h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
.steps-grid article p { margin: 0; color: #475569; line-height: 1.8; }
.why-trust .feature-panel,
.trust-page-hero + .section .feature-panel { border: 1px solid rgba(212,169,79,.35); }
.warning-line {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid rgba(212,169,79,.42);
    color: #7c4a03;
    font-weight: 700;
}
.editorial-trust-box {
    width: min(var(--container), calc(100% - 32px));
    margin: 36px auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    background: linear-gradient(135deg, rgba(22,56,50,.96), rgba(15,118,110,.88));
    color: #fff;
    border-radius: 26px;
    padding: clamp(22px, 3vw, 34px);
    box-shadow: 0 18px 45px rgba(15,23,42,.18);
}
.editorial-trust-box__icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,.14);
    font-size: 26px;
}
.editorial-trust-box h2 { margin: 0 0 10px; color: #fff; font-size: clamp(22px,2.5vw,30px); }
.editorial-trust-box p,
.editorial-trust-box li { color: rgba(255,255,255,.92); line-height: 1.9; }
.editorial-trust-box ul { margin: 10px 0 0; padding-right: 20px; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 26px; align-items: start; }
.makkah-contact-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.makkah-contact-form label { display: grid; gap: 8px; font-weight: 800; color: var(--navy); }
.makkah-contact-form input,
.makkah-contact-form select,
.makkah-contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}
.form-note { background: #fff7ed; border: 1px solid rgba(212,169,79,.4); color: #7c4a03; padding: 13px 16px; border-radius: 14px; font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-side-card { display: grid; gap: 18px; }
.license-placeholder { display: grid; gap: 10px; margin-top: 16px; }
.license-placeholder div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 13px 14px; background: #f8fafc; border: 1px solid var(--line); border-radius: 14px; }
.license-placeholder strong { color: var(--navy); }
.license-placeholder span { color: #475569; }
.mistakes-list { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.mistakes-list li { position: relative; padding: 14px 42px 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: #475569; }
.mistakes-list li::before { content: "!"; position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: #fff7ed; color: #a16207; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.article-editorial-meta { margin-top: 16px; display: grid; gap: 6px; padding: 16px; border-radius: 18px; background: #f8fafc; border: 1px solid var(--line); color: #334155; }
.article-editorial-meta span { display: block; color: #475569; }
.footer-grid--trust { grid-template-columns: 1.2fr .8fr .8fr .9fr; }
.service-long-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important; max-width: 1360px; }
.service-long-content > .container { width: min(1360px, calc(100% - 32px)); }
.legal-services-directory { width: 100%; }
.legal-services-link-grid--grouped { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 1360px) { .legal-services-link-grid--grouped { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 980px) {
    .steps-grid,
    .how-we-work .steps-grid,
    .contact-page-grid,
    .footer-grid--trust,
    .service-long-layout { grid-template-columns: 1fr !important; }
    .form-grid { grid-template-columns: 1fr; }
    .license-placeholder div { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .editorial-trust-box { grid-template-columns: 1fr; }
    .form-actions .btn { width: 100%; justify-content: center; }
}


/* تحسين عرض فتات الخبز وروابط التصنيفات الخاصة بالمدن والتخصصات */
.breadcrumbs a,
.breadcrumbs span {
    max-width: 100%;
}
.category .content-card,
.archive .content-card {
    border: 1px solid rgba(13, 57, 55, .10);
}

/* v2.3.0 إصلاح شبكة الخدمات + تعزيز E-E-A-T المحلي */
.legal-services-link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;width:100%;align-items:stretch;margin-top:20px}.legal-services-link-card{display:flex;flex-direction:column;gap:12px;min-height:260px;padding:24px;border:1px solid rgba(11,42,67,.12);border-radius:24px;background:#fff;color:var(--text,#0f2638);text-decoration:none;box-shadow:0 14px 38px rgba(15,38,56,.08);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.legal-services-link-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px rgba(15,38,56,.12);border-color:rgba(10,126,100,.35)}.legal-service-link-card__icon{width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;border-radius:18px;background:linear-gradient(135deg,#f8e6b4,#d5a82f);font-size:25px}.legal-services-link-card h3{font-size:1.22rem;line-height:1.55;margin:0}.legal-services-link-card p{font-size:.97rem;line-height:1.9;color:#4c6170;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.legal-services-link-card strong{margin-top:auto;color:#0a7e64;font-weight:900}.service-local-proof{padding:70px 0;background:linear-gradient(135deg,#f8fbfa,#eef7f4);border-top:1px solid rgba(9,70,57,.08);border-bottom:1px solid rgba(9,70,57,.08)}.service-local-proof__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:34px;align-items:start}.service-local-proof__copy h2{font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.45;margin:10px 0 18px;color:#092c3c}.service-local-proof__copy p{font-size:1.04rem;line-height:2.05;color:#2b4452}.service-local-proof__cards{display:grid;gap:16px}.service-local-proof__cards article{padding:22px;border-radius:22px;background:#fff;border:1px solid rgba(9,70,57,.1);box-shadow:0 14px 34px rgba(9,70,57,.07)}.service-local-proof__cards h3{margin:0 0 8px;font-size:1.08rem;color:#0a3a32}.service-local-proof__cards p{margin:0;line-height:1.9;color:#4c6170}.legal-alert--soft{margin-top:18px;padding:16px 18px;border-radius:18px;background:#fff8e6;border:1px solid rgba(213,168,47,.35);color:#5b4612;line-height:1.9}.trust-local-signals{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:18px}.trust-local-signals li{list-style:none;padding:14px 16px;border-radius:16px;background:#f8fbfa;border:1px solid rgba(9,70,57,.08);line-height:1.8}.service-main-copy h2{scroll-margin-top:120px}.service-main-copy .local-inline-note{background:#f4fbf8;border-inline-start:4px solid #0a7e64;padding:14px 18px;border-radius:16px;color:#234;line-height:1.9}@media (max-width:900px){.service-local-proof__grid{grid-template-columns:1fr}.legal-services-link-grid{grid-template-columns:1fr}.legal-services-link-card{min-height:auto}.service-local-proof{padding:46px 0}}

/* =========================================================
   v2.4.0 Premium visual refresh — مظهر بصري فقط دون تغيير الوظائف
   يحافظ على المحتوى والـ shortcodes والبوت والتقييمات والتصنيفات.
========================================================= */
:root{
    --navy:#111827;
    --navy-2:#1f2937;
    --blue:#2563eb;
    --gold:#f59e0b;
    --gold-soft:#fff4db;
    --green:#0f766e;
    --ink:#1e293b;
    --muted:#667085;
    --line:#eadfce;
    --bg:#f8f4ee;
    --white:#ffffff;
    --shadow:0 18px 60px rgba(17,24,39,.11);
    --radius-lg:32px;
    --radius-md:22px;
    --radius-sm:14px;
    --container:1280px;
}
html{background:#f8f4ee;}
body{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Tahoma,Arial,sans-serif;
    font-size:16px;
    line-height:1.85;
    background:
        linear-gradient(180deg,rgba(248,244,238,.94),rgba(255,255,255,.96) 38%,rgba(248,244,238,.92)),
        url('assets/images/makkah-premium-pattern.webp') center top/780px auto repeat;
    color:var(--ink);
}
body::selection{background:rgba(245,158,11,.28);color:#111827;}
.container{width:min(100% - 38px,var(--container));}
a{transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;}
.top-notice{
    background:linear-gradient(90deg,#111827 0%,#1f2937 58%,#7c2d12 100%);
    color:rgba(255,255,255,.9);
    border-bottom:1px solid rgba(255,255,255,.08);
    font-size:13px;
}
.top-notice__inner{min-height:42px;justify-content:center;text-align:center;}
.top-notice__badge{
    background:rgba(245,158,11,.16);
    color:#fcd34d;
    border:1px solid rgba(245,158,11,.22);
    padding:4px 12px;
}
.site-header{
    background:rgba(255,252,247,.94);
    border-bottom:1px solid rgba(234,223,206,.86);
    box-shadow:0 16px 44px rgba(17,24,39,.075);
    backdrop-filter:blur(18px);
}
.header-inner{min-height:82px;gap:22px;}
.brand-mark__icon{
    width:52px;height:52px;border-radius:18px;
    background:linear-gradient(135deg,#111827 0%,#7c2d12 58%,#f59e0b 100%);
    color:#fff;
    box-shadow:0 15px 35px rgba(124,45,18,.22);
}
.brand-mark__text strong{font-size:19px;font-weight:900;color:#111827;letter-spacing:-.01em;}
.brand-mark__text small{font-size:12.5px;color:#7c2d12;font-weight:700;}
.main-navigation ul{gap:6px;}
.main-navigation a{
    font-size:13.5px;
    font-weight:800;
    color:#243041;
    padding:9px 11px;
    border-radius:999px;
}
.main-navigation a:hover,.main-navigation a:focus{
    color:#9a3412;
    background:#fff1d6;
}
.header-actions .btn{min-height:46px;padding-inline:20px;}
.nav-toggle{background:linear-gradient(135deg,#111827,#7c2d12);box-shadow:0 12px 28px rgba(17,24,39,.16);}
.btn{
    border-radius:999px;
    min-height:46px;
    padding:11px 20px;
    font-size:14px;
    font-weight:900;
    letter-spacing:0;
}
.btn--primary{
    background:linear-gradient(135deg,#0f766e,#0f4f48);
    color:#fff;
    box-shadow:0 16px 34px rgba(15,118,110,.24);
}
.btn--primary:hover,.btn--primary:focus{box-shadow:0 20px 42px rgba(15,118,110,.32);color:#fff;}
.btn--secondary{
    background:linear-gradient(135deg,#fbbf24,#f59e0b 60%,#d97706);
    color:#111827;
    box-shadow:0 16px 34px rgba(245,158,11,.23);
}
.btn--ghost{
    background:#fff;
    border-color:#eadfce;
    color:#111827;
    box-shadow:0 10px 26px rgba(17,24,39,.055);
}
.btn--ghost:hover,.btn--ghost:focus{border-color:#f59e0b;background:#fff9ed;color:#7c2d12;}
.hero-section,.service-landing-hero,.cta-section,.service-final-cta{
    background:
        linear-gradient(135deg,rgba(17,24,39,.94),rgba(30,41,59,.84) 47%,rgba(124,45,18,.80)),
        url('assets/images/makkah-premium-hero.webp') center/cover no-repeat !important;
    color:#fff;
    position:relative;
}
.hero-section::before,.service-landing-hero::before,.cta-section::before,.service-final-cta::before{
    content:"";
    position:absolute;inset:0;
    background:
        radial-gradient(circle at 18% 20%,rgba(245,158,11,.22),transparent 28%),
        radial-gradient(circle at 83% 16%,rgba(20,184,166,.18),transparent 30%);
    pointer-events:none;
}
.hero-section > .container,.service-landing-hero > .container,.cta-section > .container,.service-final-cta > *{position:relative;z-index:1;}
.hero-section{padding:96px 0 76px;}
.hero-grid{gap:52px;grid-template-columns:minmax(0,1.14fr) minmax(360px,.86fr);}
.hero-content h1,.service-landing-hero h1{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Tahoma,Arial,sans-serif;
    font-weight:900;
    line-height:1.14;
    letter-spacing:-.04em;
    text-shadow:0 2px 18px rgba(0,0,0,.18);
}
.hero-content h1{font-size:clamp(42px,6vw,74px);}
.service-landing-hero h1{font-size:clamp(36px,5vw,64px);}
.hero-lead,.service-landing-hero .lead-text,.service-hero-points,.hero-points{
    color:rgba(255,255,255,.93) !important;
    font-size:18px;
    text-shadow:0 1px 1px rgba(0,0,0,.16);
}
.eyebrow,.section-kicker{
    background:rgba(255,244,219,.96);
    color:#92400e;
    border:1px solid rgba(245,158,11,.28);
    box-shadow:0 10px 26px rgba(17,24,39,.05);
    padding:7px 14px;
}
.hero-card,.service-landing-hero__card{
    border-radius:34px;
    border:1px solid rgba(255,255,255,.18);
    background:linear-gradient(145deg,rgba(255,255,255,.20),rgba(255,255,255,.10));
    color:#fff;
    box-shadow:0 28px 90px rgba(0,0,0,.24);
    backdrop-filter:blur(18px);
}
.hero-card .microcopy,.hero-card__top small,.hero-card p,.lead-row p,.service-landing-hero__card p,.service-landing-hero__card small{color:rgba(255,255,255,.82)!important;}
.hero-card__top strong,.service-landing-hero__card h2{color:#fff;}
.hero-card__icon,.service-landing-icon{
    background:linear-gradient(135deg,#fff7df,#f59e0b);
    color:#111827;
    box-shadow:0 16px 34px rgba(245,158,11,.22);
}
.lead-row{
    border-color:rgba(255,255,255,.18);
    background:rgba(255,255,255,.10);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.lead-row span{background:#111827;color:#fbbf24;}
.trust-strip{margin-top:-38px;}
.trust-strip__grid{
    border-radius:26px;
    background:transparent;
    gap:16px;
    overflow:visible;
    box-shadow:none;
}
.trust-strip__grid > div{
    border:1px solid rgba(234,223,206,.92);
    background:rgba(255,255,255,.96);
    border-radius:22px;
    box-shadow:0 18px 48px rgba(17,24,39,.085);
}
.section{padding:88px 0;}
.section--muted{background:rgba(255,255,255,.58);}
.section h2,.cta-section h2,.archive-header h1,.entry-header h1,.platform-page-hero h2,.service-answer-panel h2,.service-main-copy h2{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Tahoma,Arial,sans-serif;
    font-weight:900;
    color:#111827;
    letter-spacing:-.025em;
}
.section p,.entry-content p,.service-main-copy p,.service-answer-panel p{color:#475467;line-height:2;font-size:16.5px;}
.feature-panel,.content-card,.entry-content-card,.sidebar-card,.not-found-card,.answer-panel,.notice-box,.section-lite,.copy-box,.service-main-copy,.policy-section-card,.post-card,.service-wide-card,.contact-card{
    border-radius:28px;
    border:1px solid rgba(234,223,206,.90);
    background:linear-gradient(145deg,#fff 0%,#fffaf2 100%);
    box-shadow:0 20px 54px rgba(17,24,39,.08);
}
.cards-grid,.mini-grid,.posts-grid{gap:22px;}
.service-card,.mini-card,.step-card,.contact-card,.service-wide-card,.legal-service-link-card,.legal-services-link-card{
    border-radius:26px;
    border:1px solid rgba(234,223,206,.9);
    background:linear-gradient(145deg,#fff 0%,#fffaf2 100%);
    box-shadow:0 18px 48px rgba(17,24,39,.08);
}
.service-card:hover,.mini-card:hover,.step-card:hover,.legal-service-link-card:hover,.legal-services-link-card:hover,.post-card:hover{
    transform:translateY(-5px);
    box-shadow:0 26px 72px rgba(17,24,39,.13);
    border-color:rgba(245,158,11,.38);
}
.service-card span,.step-card span,.service-wide-card span,.legal-service-link-card__icon,.legal-service-link-card__icon,.legal-service-link-card__icon{
    background:linear-gradient(135deg,#111827,#7c2d12 70%,#f59e0b);
    color:#fff;
    border-radius:18px;
}
.service-card h3,.mini-card h3,.step-card h3,.service-wide-card h2,.contact-card h2,.legal-service-link-card h3,.legal-services-link-card h3{color:#111827;font-weight:900;}
.service-card p,.mini-card p,.legal-service-link-card p,.legal-services-link-card p{color:#596579;}
.legal-services-link-grid,.legal-services-link-grid--grouped{
    grid-template-columns:repeat(auto-fit,minmax(285px,1fr));
    gap:24px;
}
.legal-services-link-card,.legal-service-link-card{
    min-height:260px;
    padding:26px;
    position:relative;
    overflow:hidden;
}
.legal-services-link-card::after,.legal-service-link-card::after{
    content:"";
    position:absolute;inset:auto -60px -70px auto;
    width:180px;height:180px;border-radius:50%;
    background:rgba(245,158,11,.10);
}
.legal-services-link-card strong,.legal-service-link-card strong{color:#b45309;font-weight:900;}
.legal-service-group__head{
    border-radius:24px;
    background:linear-gradient(135deg,#111827,#7c2d12);
    box-shadow:0 18px 46px rgba(17,24,39,.12);
}
.service-answer-panel{background:rgba(255,255,255,.75);}
.service-long-content{background:linear-gradient(180deg,#fbf7ef,#f8f4ee);}
.service-long-layout{max-width:1360px;gap:34px;}
.service-main-copy{padding:clamp(26px,3.6vw,46px);}
.service-mid-cta,.cta-inline,.editorial-trust-box{
    border-radius:28px;
    background:linear-gradient(135deg,#111827,#1f2937 54%,#7c2d12);
    color:#fff;
    box-shadow:0 24px 70px rgba(17,24,39,.18);
}
.service-mid-cta h3,.cta-inline h2,.editorial-trust-box h2{color:#fff;}
.service-mid-cta p,.cta-inline p,.editorial-trust-box p,.editorial-trust-box li{color:rgba(255,255,255,.88);}
.service-local-proof{
    background:linear-gradient(180deg,#fff7ed,#f9efe2);
    border-color:rgba(245,158,11,.16);
}
.service-local-proof__cards article,.trust-local-signals li{
    border-color:rgba(234,223,206,.9);
    background:#fff;
    box-shadow:0 18px 44px rgba(17,24,39,.07);
}
.policy-hero,.platform-page-hero{
    border-radius:34px;
    border:1px solid rgba(234,223,206,.9);
    background:
        linear-gradient(135deg,rgba(255,255,255,.90),rgba(255,244,219,.82)),
        url('assets/images/makkah-premium-pattern.webp') center/650px auto repeat;
    box-shadow:0 22px 60px rgba(17,24,39,.075);
}
.platform-page-hero h2,.policy-section-card h2{color:#111827;}
.policy-meta span{background:#fff7ed;color:#92400e;border-color:rgba(245,158,11,.28);}
.policy-index{border-radius:26px;background:#fffaf2;border-color:#eadfce;}
.faq-item{border-radius:20px;border-color:#eadfce;box-shadow:0 12px 30px rgba(17,24,39,.045);}
.faq-item summary{color:#111827;}
.entry-content-card{background:#fff;}
.entry-header{background:linear-gradient(135deg,#fffaf2,#fff);padding-top:38px;}
.single-layout{gap:32px;}
.sidebar-card{position:sticky;top:112px;}
.posts-grid .post-card{border-radius:28px;}
.post-card h2 a{color:#111827;}
.post-card h2 a:hover{color:#b45309;}
.site-footer{
    background:
        linear-gradient(135deg,rgba(17,24,39,.98),rgba(31,41,55,.96)),
        url('assets/images/makkah-premium-hero.webp') center bottom/cover no-repeat;
    border-top:1px solid rgba(245,158,11,.16);
}
.footer-bottom{border-top-color:rgba(255,255,255,.12);}
.mlp-floating-contact__hint,.mlp-chatbot__launcher{
    box-shadow:0 18px 42px rgba(17,24,39,.22) !important;
}
.mlp-floating-contact__btn--whatsapp,.mlp-chatbot__whatsapp,.mlp-chatbot__msg-actions a:first-child{
    background:linear-gradient(135deg,#0f766e,#0d9488) !important;
}
.mlp-floating-contact__btn--phone,.mlp-chatbot__footer a,.mlp-chatbot__msg-actions a:last-child{
    background:linear-gradient(135deg,#111827,#1f2937) !important;
}
.mlp-chatbot__panel{
    border-radius:28px !important;
    border:1px solid rgba(234,223,206,.95) !important;
    box-shadow:0 28px 90px rgba(17,24,39,.22) !important;
}
.mlp-chatbot__header{background:linear-gradient(135deg,#111827,#7c2d12) !important;}
.mlp-chatbot__quick button{border-radius:16px !important;background:#fff7ed !important;border-color:#f7d7a6 !important;color:#92400e !important;}
.mlp-chatbot__msg--bot{background:#fffaf2 !important;border-color:#eadfce !important;}
.search-field,.makkah-contact-form input,.makkah-contact-form select,.makkah-contact-form textarea{
    border-radius:18px;
    border-color:#eadfce;
    background:#fffdf9;
}
.search-submit{background:linear-gradient(135deg,#111827,#7c2d12);}
@media (min-width:1320px){.legal-services-link-grid,.legal-services-link-grid--grouped{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media (max-width:1080px){
    .hero-grid,.service-landing-hero__grid,.two-col,.content-split,.single-layout{grid-template-columns:1fr;}
    .main-navigation ul{justify-content:flex-start;}
}
@media (max-width:700px){
    body{font-size:15px;}
    .container{width:min(100% - 24px,var(--container));}
    .hero-section,.service-landing-hero{padding:56px 0 44px;}
    .hero-content h1,.service-landing-hero h1{font-size:clamp(30px,11vw,44px);}
    .hero-lead,.service-landing-hero .lead-text{font-size:16px;}
    .trust-strip{margin-top:0;padding-top:18px;}
    .trust-strip__grid,.cards-grid,.mini-grid,.steps-grid,.posts-grid{grid-template-columns:1fr;}
    .service-main-copy{padding:24px;}
    .sidebar-card{position:static;}
}



/* =========================================================
   v2.4.1 تحسين وضوح الخطوط وتعديل مقاسات الواجهة
   - تصغير عنوان الواجهة الرئيسية إلى نصف الحجم تقريبًا
   - تكبير خط القائمة الرئيسية على سطح المكتب بنسبة 20%
   - تقوية تباين النصوص في الخلفيات الداكنة والفوتر والـ CTA
========================================================= */
@media (min-width: 981px) {
    .main-navigation a {
        font-size: 16.2px !important;
        line-height: 1.45 !important;
    }
}
.hero-content h1 {
    font-size: clamp(22px, 3vw, 37px) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.02em !important;
}
@media (max-width: 700px) {
    .hero-content h1 {
        font-size: clamp(23px, 8vw, 32px) !important;
        line-height: 1.35 !important;
    }
}

/* جعل النصوص فوق الخلفيات الداكنة واضحة ومقروءة */
.hero-section,
.service-landing-hero,
.cta-section,
.service-final-cta,
.site-footer {
    color: #ffffff !important;
}
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p,
.hero-section li,
.hero-section .hero-lead,
.hero-section .hero-points,
.hero-section .hero-points li,
.service-landing-hero h1,
.service-landing-hero h2,
.service-landing-hero h3,
.service-landing-hero p,
.service-landing-hero li,
.service-landing-hero .lead-text,
.service-landing-hero .service-hero-points,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section p,
.cta-section li,
.service-final-cta h1,
.service-final-cta h2,
.service-final-cta h3,
.service-final-cta p,
.service-final-cta li {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.24) !important;
}
.hero-section .eyebrow,
.service-landing-hero .eyebrow,
.cta-section .eyebrow,
.service-final-cta .eyebrow,
.hero-section .section-kicker,
.service-landing-hero .section-kicker,
.cta-section .section-kicker,
.service-final-cta .section-kicker {
    color: #7c2d12 !important;
    text-shadow: none !important;
}
.hero-section .btn,
.service-landing-hero .btn,
.cta-section .btn,
.service-final-cta .btn {
    text-shadow: none !important;
}

/* إصلاح تباين الفوتر: اسم المنصة والوصف والروابط */
.site-footer,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer small,
.site-footer a,
.site-footer .brand-mark,
.site-footer .brand-mark__text strong,
.site-footer .brand-mark__text small,
.site-footer .footer-about,
.site-footer .footer-about p,
.site-footer .footer-bottom,
.site-footer .footer-bottom p,
.site-footer .footer-disclaimer,
.site-footer .footer-disclaimer p,
.site-footer .contact-list,
.site-footer .contact-list a {
    color: rgba(255,255,255,.91) !important;
    opacity: 1 !important;
}
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer strong,
.site-footer .footer-title {
    color: #ffffff !important;
    opacity: 1 !important;
}
.site-footer a:hover,
.site-footer a:focus {
    color: #fcd34d !important;
}
.site-footer .brand-mark__text small,
.site-footer .footer-note,
.site-footer .footer-bottom small {
    color: rgba(255,255,255,.78) !important;
}

/* تقوية النصوص الثانوية التي كانت باهتة فوق التدرجات */
.hero-lead,
.service-landing-hero .lead-text,
.cta-section .lead-text,
.service-final-cta .lead-text,
.hero-points,
.service-hero-points {
    color: rgba(255,255,255,.94) !important;
}


/* v2.5.0 - تحسينات مقالات المدونة القانونية */
.makkah-article-cover img,.makkah-article-infographic img{border-radius:28px;box-shadow:0 18px 45px rgba(16,42,67,.14);width:100%;height:auto;display:block}.article-lead{font-size:1.18rem;line-height:2.05;color:#213246;background:#fff8eb;border:1px solid rgba(196,154,58,.35);border-radius:22px;padding:22px 24px}.legal-compare{width:100%;border-collapse:separate;border-spacing:0;margin:24px 0;border:1px solid #e6edf3;border-radius:20px;overflow:hidden;background:#fff}.legal-compare th{background:#102a43;color:#fff;padding:16px}.legal-compare td{padding:16px;border-bottom:1px solid #eef2f5}.official-links a{font-weight:800;color:#0b6b56}.article-cta{margin:34px 0;padding:28px;border-radius:28px;background:linear-gradient(135deg,#102a43,#0b6b56);color:#fff;box-shadow:0 24px 60px rgba(9,32,50,.22)}.article-cta h3{color:#fff;margin-top:0}.article-cta p{color:#eef6f2}.legal-alert{background:#fff3d6;border:1px solid rgba(196,154,58,.45);border-radius:20px;padding:18px 20px;color:#4b3a11}.editorial-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:20px;line-height:1.9}.faq-list .faq-item{margin:10px 0;border:1px solid #e2e8f0;border-radius:16px;background:#fff;padding:12px 16px}.faq-list summary{cursor:pointer;font-weight:800;color:#102a43}


/* v2.5.1 - إعادة بناء عرض المقالات والصور */
.legal-article-featured img{border-radius:32px;box-shadow:0 22px 55px rgba(16,42,67,.16);object-fit:cover;width:100%;max-height:520px}.premium-cover img,.premium-infographic img{border-radius:30px;box-shadow:0 20px 48px rgba(15,36,58,.14);width:100%;height:auto;display:block}.premium-cover{margin-top:0}.makkah-topic-snapshot{margin:28px 0;padding:24px;border-radius:28px;background:#f8fbfc;border:1px solid #e3ebef}.makkah-topic-snapshot h2{margin-top:0}.snapshot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.snapshot-grid>div{background:#fff;border:1px solid #e7edf1;border-radius:20px;padding:18px;box-shadow:0 10px 25px rgba(16,42,67,.05)}.snapshot-grid strong{display:block;color:#0b6b56;margin-bottom:8px}.article-cta--polished{background:linear-gradient(135deg,#082a3d,#096b56);border:1px solid rgba(255,255,255,.13);position:relative;overflow:hidden}.article-cta--polished:before{content:"";position:absolute;inset:auto -80px -120px auto;width:280px;height:280px;border-radius:50%;background:rgba(212,164,79,.22)}.article-cta--polished .button{position:relative}.legal-compare th,.legal-compare td{font-size:1rem}.faq-list .faq-item summary{list-style:none}.faq-list .faq-item summary::-webkit-details-marker{display:none}.faq-list .faq-item summary:before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:8px;border-radius:999px;background:#eef7f4;color:#096b56;font-weight:900}@media(max-width:760px){.snapshot-grid{grid-template-columns:1fr}.legal-article-featured img{max-height:none}.article-lead{font-size:1.05rem}}


/* v2.6.0 - تحسينات مقالات الدفعة الأولى */
.single-post .premium-cover{border-radius:28px;overflow:hidden;box-shadow:0 28px 80px rgba(5,18,36,.22);margin:28px auto 34px;background:#091827}
.single-post .premium-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.single-post .premium-infographic{border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 22px 70px rgba(5,18,36,.12);margin:34px auto;padding:0;border:1px solid rgba(195,151,56,.20)}
.single-post .premium-infographic img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.single-post .premium-infographic figcaption{padding:13px 18px;text-align:center;color:#4d5b6d;font-size:15px;background:#f8fafc}
.premium-snapshot{border:1px solid rgba(195,151,56,.24);background:linear-gradient(135deg,#fffaf0,#ffffff);border-radius:26px;padding:24px;box-shadow:0 16px 50px rgba(6,18,33,.08)}
.premium-snapshot h2{margin-top:0;color:#0b2239}.premium-snapshot .snapshot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.premium-snapshot .snapshot-grid>div{background:#fff;border:1px solid rgba(15,37,59,.08);border-radius:18px;padding:18px}.premium-snapshot strong{color:#a87814}.premium-snapshot p{margin:.5rem 0 0;line-height:1.9}.premium-legal-table{border-collapse:separate;border-spacing:0;width:100%;overflow:hidden;border-radius:20px;box-shadow:0 18px 45px rgba(6,18,33,.08);margin:22px 0;background:#fff}.premium-legal-table th{background:#0c2338;color:#f9d07a;font-weight:800;padding:16px}.premium-legal-table td{padding:16px;border-bottom:1px solid #edf1f5;color:#25364b;line-height:1.9}.premium-faq .faq-item{border:1px solid rgba(15,37,59,.08);border-radius:18px;background:#fff;margin:12px 0;padding:14px 18px;box-shadow:0 10px 28px rgba(6,18,33,.05)}.premium-faq summary{font-weight:800;color:#0c2338;cursor:pointer}.legal-notice-box{background:#fff6dc;border:1px solid #e5b548;border-radius:18px;padding:16px 18px;margin:28px 0;color:#4c3c16;line-height:1.9}.official-links a{font-weight:800}@media(max-width:760px){.premium-snapshot .snapshot-grid{grid-template-columns:1fr}.single-post .premium-cover,.single-post .premium-infographic{border-radius:18px}.premium-legal-table th,.premium-legal-table td{font-size:14px;padding:12px}}

/* v2.7.0 article CTA/editorial refinements */
.editorial-only-note{background:#f9fafb;border:1px solid #e7ecf1;border-radius:22px;padding:18px 20px;margin-top:28px}.article-cta--polished .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:6px 6px 0 0;border-radius:999px;padding:12px 22px;text-decoration:none;font-weight:800}.article-cta--polished .button.primary{background:#0fb36d;color:#fff}.article-cta--polished .button.ghost{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.35);color:#fff}
