/* =====================================================================
   مؤسسة العدل للحماية القانونية — الواجهة العامة
   هوية: ذهبي على أسود جلدي (من الشعار) + ورق كريمي للقراءة
   ===================================================================== */

:root {
    --ink: #121418;
    --ink-2: #1b1e24;
    --ink-3: #262a31;
    --gold: #c9a24a;
    --gold-2: #e3c77a;
    --gold-deep: #9a762c;
    --gold-grad: linear-gradient(135deg, #f0d993 0%, #c9a24a 45%, #9a762c 100%);
    --paper: #fbf8f1;
    --cream: #f4eedf;
    --line: #e7dec9;
    --text: #22252b;
    --muted: #6d6a62;
    --wa: #1fae5b;
    --wa-dark: #178a48;
    --danger: #b3412f;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 10px 30px -12px rgba(18, 20, 24, .25);
    --shadow-lg: 0 30px 60px -25px rgba(18, 20, 24, .45);
    --f-display: "Amiri", "Traditional Arabic", serif;
    --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--f-body); font-size: 16.5px; line-height: 1.85;
    color: var(--text); background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; color: var(--ink); }
h1, h2 { font-family: var(--f-display); font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.icon.big { width: 54px; height: 54px; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -120px; right: 12px; background: var(--gold); color: var(--ink); padding: 6px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 10px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 40px, 860px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ----------------------------- الأزرار ----------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .7em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: .98rem; cursor: pointer; line-height: 1.3;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .85em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(201, 162, 74, .9); }
.btn-gold:hover { color: var(--ink); box-shadow: 0 12px 26px -10px rgba(201, 162, 74, 1); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-ghost { border-color: rgba(227, 199, 122, .55); color: var(--gold-2); background: transparent; }
.btn-ghost:hover { background: rgba(227, 199, 122, .1); color: #fff; }
.btn-outline { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ----------------------------- الهيدر ----------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(18, 20, 24, .94); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 74, .25);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand img { width: 54px; height: 50px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(201, 162, 74, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--f-display); font-size: 1.45rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { color: #b8b2a3; font-size: .74rem; }
.brand:hover { color: #fff; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.main-nav a { display: block; padding: 8px 9px; color: #d9d3c4; font-size: .9rem; border-radius: 8px; position: relative; white-space: nowrap; }
@media (max-width: 1420px) { .site-header .brand-text small { display: none; } .header-wa span { display: none; } .header-wa { padding: .6em; } }
.main-nav a:hover, .main-nav a.active { color: var(--gold-2); }
.main-nav a.active::after { content: ""; position: absolute; inset-inline: 11px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.header-wa { padding: .55em 1.05em; }
.nav-toggle { display: none; background: none; border: 0; color: var(--gold-2); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }

@media (max-width: 1260px) {
    .nav-toggle { display: inline-flex; }
    .header-wa span { display: none; }
    .header-wa { margin-inline-start: auto; padding: .6em; }
    .main-nav {
        position: fixed; inset: 74px 0 auto 0; background: var(--ink); max-height: 0; overflow: hidden;
        transition: max-height .3s ease; border-bottom: 1px solid rgba(201, 162, 74, .3); margin: 0;
    }
    .main-nav ul { flex-direction: column; padding: 8px 20px 18px; }
    .main-nav a { padding: 12px 6px; font-size: 1.02rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
    .main-nav a.active::after { display: none; }
    body.nav-open .main-nav { max-height: 80vh; overflow-y: auto; }
    body.nav-open .nav-toggle .i-open { display: none; }
    body.nav-open .nav-toggle .i-close { display: inline; }
}

/* ----------------------------- رسائل ----------------------------- */
.flash { margin-top: 16px; padding: 12px 18px; border-radius: var(--radius-sm); display: flex; gap: 8px; align-items: center; }
.flash-success { background: #e8f6ec; color: #17603a; border: 1px solid #bfe3cb; }
.flash-error { background: #fbeceb; color: var(--danger); border: 1px solid #efc6c0; }

/* ----------------------------- البطل (Hero) ----------------------------- */
.hero { position: relative; background: var(--ink); color: #e8e1cf; overflow: hidden; min-height: 640px; display: flex; align-items: center; padding: 70px 0 150px; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: left 30% center; transform: scale(1.04); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.12); } }
.hero-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(to left, rgba(14, 15, 18, .97) 0%, rgba(14, 15, 18, .9) 38%, rgba(14, 15, 18, .45) 68%, rgba(14, 15, 18, .15) 100%),
        linear-gradient(to top, rgba(14, 15, 18, .9) 0%, transparent 35%);
}
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-grid { position: relative; z-index: 1; }
.hero-copy { max-width: 640px; }
.hero-badges { margin-bottom: 18px; }
.eg-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: #efe6d0; backdrop-filter: blur(4px); }
.egypt-flag { display: block; overflow: visible; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.egypt-flag.mini { width: 34px; height: auto; filter: none; }
.hero-logo { width: 150px; height: auto; margin-bottom: 14px; filter: drop-shadow(0 12px 28px rgba(201, 162, 74, .35)); }
.eyebrow { color: var(--gold-2); font-size: .95rem; letter-spacing: .3px; margin-bottom: .4em; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.22; margin-bottom: .35em; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.hero h1::after { content: ""; display: block; width: 90px; height: 3px; margin-top: 16px; background: var(--gold-grad); border-radius: 3px; }
.hero .lead { font-size: 1.12rem; color: #d6cfbe; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-counsel { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-counsel li { border-inline-start: 2px solid var(--gold); padding: 2px 14px; display: flex; flex-direction: column; line-height: 1.4; }
.hero-counsel small { color: #a59f91; font-size: .8rem; }
.hero-counsel strong { font-family: var(--f-display); font-size: 1.45rem; color: var(--gold-2); font-weight: 700; }
.hero-quote { position: absolute; left: 9%; bottom: 135px; z-index: 1; font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 2.2rem); color: rgba(243, 210, 122, .85); text-shadow: 0 2px 16px rgba(0, 0, 0, .7); letter-spacing: 1px; }
.hero-quote::before, .hero-quote::after { content: "❖"; font-size: .6em; margin: 0 12px; color: var(--gold); vertical-align: middle; }

.ask-float { position: relative; z-index: 3; margin-top: -110px; padding-bottom: 10px; }
.ask-wrap { max-width: 920px; margin-inline: auto; }
.ask-float .ask-box::before { content: ""; position: absolute; inset: -8px; border-radius: 26px; border: 1px solid rgba(201, 162, 74, .35); pointer-events: none; }

/* شريط ألوان العلم تحت الهيدر */
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 3px; background: linear-gradient(#CE1126 0 33.3%, #fff 33.3% 66.6%, #111 66.6%); opacity: .9; }

/* قسم القيم + العلم */
.values-band { background: var(--ink); color: #cfc8b7; padding: 80px 0; position: relative; overflow: hidden; }
.values-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 80% 50%, rgba(201, 162, 74, .16), transparent 65%); }
.values-band::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 48%; background: url("../img/justice.jpg") center 30% / cover no-repeat; opacity: .12; -webkit-mask-image: linear-gradient(to right, #000 30%, transparent); mask-image: linear-gradient(to right, #000 30%, transparent); }
.values-inner { z-index: 1; }
.values-inner { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: center; }
.values-art { position: relative; }
.photo-frame { margin: 0; position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(201, 162, 74, .5); }
.photo-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(243, 210, 122, .45); border-radius: 12px; pointer-events: none; }
.photo-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 6s ease; }
.photo-frame:hover img { transform: scale(1.05); }
.courthouse-art { width: min(100%, 360px); color: var(--gold); opacity: .9; }
.courthouse-art .ca-scale { transform-origin: 160px 18px; animation: sway 4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.egypt-flag.big { position: absolute; width: 150px; top: 0; left: 0; }
.values-text h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.values-text .kicker { color: var(--gold-2); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.values-grid > div { border: 1px solid rgba(201, 162, 74, .3); border-radius: var(--radius); padding: 20px; background: rgba(255, 255, 255, .03); }
.values-grid h3 { color: var(--gold-2); font-size: 1.15rem; margin: 8px 0 4px; }
.values-grid p { font-size: .92rem; margin: 0; color: #b5ae9e; }
.v-icon { width: 34px; height: 34px; color: var(--gold); }

/* ----------------------------- صندوق السؤال ----------------------------- */
.ask-box {
    background: var(--paper); color: var(--text); border-radius: 20px; padding: 22px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 162, 74, .35);
    position: relative;
}
.hero .ask-box::before { content: ""; position: absolute; inset: -8px; border-radius: 26px; border: 1px solid rgba(201, 162, 74, .25); pointer-events: none; }
.ask-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.ask-title { display: flex; gap: 12px; align-items: center; }
.ask-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.ask-icon .icon { width: 26px; height: 26px; }
.ask-title h2 { font-size: 1.45rem; margin: 0; }
.ask-title p { margin: 0; color: var(--muted); font-size: .86rem; }
.ask-quota { text-align: left; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.quota-dots { display: flex; gap: 5px; direction: ltr; }
.quota-dots i { width: 22px; height: 6px; border-radius: 4px; background: var(--line); transition: background .3s; }
.quota-dots i.on { background: var(--gold); }
.ask-quota small { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.ask-quota b { color: var(--gold-deep); }

.ask-thread { display: flex; flex-direction: column; gap: 12px; max-height: 420px; overflow-y: auto; margin: 14px 0 0; padding-inline-end: 4px; }
.ask-thread:empty { display: none; }
.bubble { padding: 12px 15px; border-radius: 14px; font-size: .96rem; animation: rise .35s ease; }
.bubble p:last-child { margin-bottom: 0; }
.bubble.q { align-self: flex-start; background: var(--ink); color: #f1ead8; border-start-start-radius: 4px; max-width: 88%; }
.bubble.a { background: #fff; border: 1px solid var(--line); border-start-end-radius: 4px; }
.bubble.a h4 { font-size: .93rem; color: var(--gold-deep); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.bubble.a.unmatched { background: #fff8e8; border-color: #f0dfb4; }
.bubble .related { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.bubble .related > span { font-size: .8rem; color: var(--muted); display: block; margin-bottom: 4px; }
.bubble .related details { margin-bottom: 4px; }
.bubble .related summary { cursor: pointer; font-size: .88rem; color: var(--gold-deep); }
.bubble .related .ans { font-size: .88rem; padding: 6px 10px; background: var(--cream); border-radius: 8px; margin-top: 4px; }
.bubble .bubble-cta { margin-top: 10px; }
.bubble.typing { display: flex; gap: 5px; align-self: flex-end; background: #fff; border: 1px solid var(--line); }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; }
.bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25 } 50% { opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }

.ask-form { display: flex; gap: 10px; margin-top: 14px; align-items: stretch; }
.ask-form textarea {
    flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px;
    background: #fff; min-height: 54px; transition: border-color .2s; line-height: 1.6;
}
.ask-form textarea:focus { outline: none; border-color: var(--gold); }
.ask-form .btn { border-radius: 12px; padding-inline: 1.2em; }
.ask-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.ask-suggest > span { font-size: .8rem; color: var(--muted); }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 11px; font-size: .8rem; cursor: pointer; color: var(--text); }
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.ask-error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; }

.ask-locked { text-align: center; padding: 18px 8px 4px; animation: rise .4s ease; }
.ask-locked .lock-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--gold-deep); margin-bottom: 8px; }
.ask-locked .lock-icon .icon { width: 24px; height: 24px; }
.ask-locked p { color: var(--text); }

/* ----------------------------- الأقسام ----------------------------- */
.section { padding: 76px 0; }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: .2em; }
.section-head p { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-deep); font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section-head.center .kicker::after { content: ""; width: 26px; height: 2px; background: var(--gold); }

/* الخطوات */
.steps { background: #fff; border-bottom: 1px solid var(--line); }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps-grid li { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.step-no { position: absolute; top: -14px; left: 14px; font-family: var(--f-display); font-size: 6rem; line-height: 1; color: rgba(201, 162, 74, .14); font-weight: 700; }
.step-icon { width: 40px; height: 40px; color: var(--gold-deep); margin-bottom: 12px; }
.steps-grid h3 { font-size: 1.2rem; }
.steps-grid p { color: var(--muted); margin: 0; font-size: .96rem; }

/* بطاقات الخدمات */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.cards-grid.three { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.service-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; color: var(--text); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
    position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 162, 74, .5); color: var(--text); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.service-icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.18rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-img { display: block; margin: -26px -26px 0; height: 150px; overflow: hidden; background: var(--ink); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-card.has-img .service-icon { margin-top: -27px; position: relative; border: 3px solid #fff; }
.service-card .more { color: var(--gold-deep); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }

/* شريط الحاسبة */
.calc-band { background: var(--ink); color: #ddd5c3; padding: 72px 0; position: relative; overflow: hidden; }
.calc-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 15% 50%, rgba(201, 162, 74, .16), transparent 65%); z-index: 1; }
.calc-band::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 50%; background: url("../img/scales-wood-sm.jpg") center 60% / cover no-repeat; opacity: .28; -webkit-mask-image: linear-gradient(to right, #000 25%, transparent); mask-image: linear-gradient(to right, #000 25%, transparent); }
.calc-band-inner { z-index: 2; }
.calc-band-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.calc-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.calc-band .kicker { color: var(--gold-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks .icon { color: var(--gold); }
.calc-band .ticks { grid-template-columns: 1fr 1fr; }
.calc-band-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.frac-card { border: 1px solid rgba(201, 162, 74, .4); border-radius: var(--radius); padding: 22px; text-align: center; background: rgba(255, 255, 255, .03); }
.frac-card span { display: block; color: #b9b2a2; }
.frac-card b { font-family: var(--f-display); font-size: 3rem; line-height: 1.2; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.frac-card small { display: block; color: #9c968a; }
.frac-card.wide { grid-column: 1 / -1; }
.frac-card.wide b { font-size: 2.2rem; }

/* الأكورديون */
.accordion { display: grid; gap: 10px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.accordion details[open] { border-color: rgba(201, 162, 74, .6); box-shadow: 0 8px 24px -16px rgba(18, 20, 24, .35); }
.accordion summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-deep); line-height: 1; transition: transform .2s; flex-shrink: 0; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .answer { padding: 0 18px 14px; color: #3b3e44; }
.accordion.small summary { padding: 11px 14px; font-size: .92rem; }
.accordion.small .answer { padding: 0 14px 10px; font-size: .9rem; }
.faq-sec .accordion { margin-bottom: 28px; }

/* المستشارون */
.counsel-sec { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.counsel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 24px; justify-content: center; }
.counsel-card { background: var(--ink); color: #cfc8b7; border-radius: var(--radius); padding: 34px 26px; text-align: center; position: relative; box-shadow: var(--shadow); }
.counsel-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 162, 74, .35); border-radius: 10px; pointer-events: none; }
.counsel-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 2px solid var(--gold); }
.counsel-mark { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); margin-bottom: 12px; }
.counsel-mark .icon { width: 34px; height: 34px; }
.counsel-card small { display: block; color: var(--gold-2); }
.counsel-card h3 { font-family: var(--f-display); font-size: 1.9rem; color: #fff; margin: 0; }
.counsel-card p { margin: 10px 0 0; font-size: .92rem; }

/* المقالات */
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.article-thumb { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.article-thumb.no-img { display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 30% 30%, #2a2e36, var(--ink)); }
.article-thumb.no-img .icon { width: 56px; height: 56px; opacity: .8; }
.article-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.article-body h3 { font-size: 1.12rem; }
.article-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.article-body time { font-size: .82rem; color: var(--muted); }
.tag { display: inline-block; align-self: flex-start; font-size: .76rem; background: var(--cream); color: var(--gold-deep); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; font-weight: 600; }

/* شريط الدعوة */
.cta-band { background: var(--gold-grad); color: var(--ink); padding: 40px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0; }
.cta-band p { margin: 0; color: #3b3424; }

/* الفوتر */
.site-footer { background: var(--ink); color: #aaa392; padding: 60px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: var(--gold-2); font-size: 1.05rem; font-family: var(--f-body); }
.brand-footer { margin-bottom: 14px; }
.brand-footer img { width: 64px; height: 58px; }
.footer-links, .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d6cfbd; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer .contact-list .icon { color: var(--gold); margin-top: 6px; }
.socials { display: flex; gap: 10px; margin-top: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(201, 162, 74, .4); display: grid; place-items: center; }
.socials a:hover { background: var(--gold); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .disclaimer { color: #7f796d; max-width: 560px; }

/* واتساب العائم */
.wa-float {
    position: fixed; bottom: 22px; left: 22px; z-index: 60; display: flex; align-items: center; gap: 10px;
    background: var(--wa); color: #fff; border-radius: 999px; padding: 12px; box-shadow: 0 10px 28px -8px rgba(31, 174, 91, .7);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s ease, padding .35s; font-weight: 600; }
.wa-float:hover { color: #fff; }
.wa-float:hover .wa-float-label { max-width: 200px; padding-inline-end: 8px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 174, 91, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 91, .55) } 70% { box-shadow: 0 0 0 16px rgba(31, 174, 91, 0) } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 91, 0) } }

/* ----------------------------- الصفحات الداخلية ----------------------------- */
.page-hero { background: var(--ink); color: #cfc8b7; padding: 46px 0 50px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% 0%, rgba(201, 162, 74, .2), transparent 60%); z-index: 1; }
.page-hero::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 55%; background: var(--ph-img) center 40% / cover no-repeat; opacity: .42; -webkit-mask-image: linear-gradient(to right, #000 20%, transparent); mask-image: linear-gradient(to right, #000 20%, transparent); }
.page-hero .container { z-index: 2; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 4px 0 6px; }
.page-hero p { max-width: 760px; margin: 0; color: #bdb6a6; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: #8e887b; }
.breadcrumb a { color: var(--gold-2); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.side { display: grid; gap: 20px; position: sticky; top: 96px; }
.side-card { padding: 22px; }
.side-card h3 { font-size: 1.08rem; }
.side-card.dark { background: var(--ink); border-color: var(--ink); color: #c9c2b1; }
.side-card.dark h3 { color: var(--gold-2); }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: flex; gap: 8px; align-items: center; padding: 8px 6px; border-radius: 8px; color: var(--text); font-size: .94rem; }
.side-links a:hover { background: var(--cream); }
.side-links .icon { color: var(--gold-deep); }

/* نصوص المقالات */
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.3em; font-family: var(--f-body); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin-bottom: .3em; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-inline-start: 4px solid var(--gold); background: var(--cream); border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: start; }
.prose th { background: var(--ink); color: var(--gold-2); font-weight: 600; }
.prose tr:nth-child(even) td { background: #fdfbf6; }
.prose td:first-child { font-weight: 600; background: var(--cream); min-width: 120px; }
.prose td ul { margin: 0; padding-inline-start: 1.1em; }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose .cover { width: 100%; border-radius: 12px; margin: 0 0 1.2em; }
.prose .lead { font-size: 1.15rem; color: #4a4c52; border-inline-start: 3px solid var(--gold); padding-inline-start: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.article-meta .tag { margin: 0; }
.share { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 16px; color: var(--muted); }
.share a { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--ink); }
.share a:hover { background: var(--gold); }
.inline-cta { margin-top: 28px; padding: 20px; border-radius: 12px; background: var(--cream); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.inline-cta p { margin: 0; font-weight: 600; }

/* الفلاتر */
.filter-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; align-items: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills.center { justify-content: center; }
.pill { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.pill.active, .pill:hover { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.pill.big { padding: 10px 20px; font-size: 1rem; }
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; min-width: 240px; }
.search-box .icon { color: var(--muted); }
.search-box input { border: 0; outline: 0; background: transparent; padding: 6px 0; width: 100%; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 34px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.pagination .current { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.pagination .dots { border: 0; background: none; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* الأسئلة الشائعة */
.faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 34px; align-items: start; }
.faq-nav { position: sticky; top: 96px; display: grid; gap: 14px; }
.faq-nav .search-box { min-width: 0; }
.faq-nav nav { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.faq-nav nav a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; color: var(--text); }
.faq-nav nav a:hover { background: var(--cream); }
.faq-nav nav span { color: var(--muted); font-size: .85rem; }
.faq-cta { background: var(--ink); color: #cfc8b7; border-radius: var(--radius); padding: 18px; text-align: center; }
.faq-cta p { color: var(--gold-2); font-weight: 600; margin-bottom: 10px; }
.faq-group { margin-bottom: 36px; scroll-margin-top: 96px; }
.faq-group h2 { font-size: 1.6rem; display: flex; gap: 10px; align-items: center; }
.faq-group h2::before { content: ""; width: 8px; height: 26px; background: var(--gold-grad); border-radius: 4px; }
.empty-search { color: var(--muted); }

/* صفحة اسأل */
.ask-page { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ask-page .ask-box { box-shadow: var(--shadow); }
.hint { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .88rem; margin-top: 14px; }
.hint .icon { color: var(--gold-deep); margin-top: 5px; }
.ask-aside h2 { font-size: 1.35rem; margin-top: 4px; }
.ask-aside .ticks { margin-bottom: 26px; }

/* ----------------------------- حاسبة المواريث ----------------------------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc-form { padding: 24px; }
.calc-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.calc-form legend { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ink); }
.calc-form legend .num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font-size: .85rem; }
.seg { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.seg label { cursor: pointer; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 7px 20px; border-radius: 999px; font-weight: 600; font-size: .93rem; transition: background .2s; }
.seg input:checked + span { background: var(--ink); color: var(--gold-2); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field > span { font-size: .88rem; font-weight: 600; color: #464950; }
.field input, .field select, .field textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 13px; background: #fff; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field-error { color: var(--danger); font-size: .82rem; }
.heirs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.heir { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, background .2s; }
.heir.has-value { border-color: var(--gold); background: #fffaf0; }
.heir.is-disabled { opacity: .4; pointer-events: none; }
.heir-label { font-size: .92rem; font-weight: 500; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; direction: ltr; }
.stepper button { width: 30px; height: 30px; border: 0; background: var(--cream); cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.stepper button:hover { background: var(--gold-2); }
.stepper input { width: 40px; height: 30px; border: 0; text-align: center; -moz-appearance: textfield; appearance: textfield; background: #fff; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: .85rem; color: var(--muted); }
.switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; border-radius: 999px; background: #d8d1c0; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked { background: var(--gold); }
.switch input:checked::after { transform: translateX(-18px); }
.check-line { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--cream); border-radius: 10px; font-size: .93rem; cursor: pointer; }
.check-line input { margin-top: 7px; accent-color: var(--gold-deep); }
.calc-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.calc-result { position: sticky; top: 96px; }
.calc-empty { text-align: center; color: var(--muted); }
.calc-empty .ticks { text-align: start; display: inline-grid; color: var(--text); }
.result-card { padding: 24px; animation: rise .35s ease; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.result-head h2 { margin: 0; font-size: 1.6rem; }
.badge { background: var(--ink); color: var(--gold-2); border-radius: 999px; padding: 3px 12px; font-size: .82rem; }
.estate-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.estate-sum div { background: var(--cream); border-radius: 10px; padding: 10px 14px; }
.estate-sum small { display: block; color: var(--muted); font-size: .8rem; }
.estate-sum b { font-size: 1.1rem; }
.share-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 12px 0 16px; background: var(--line); }
.share-bar span { display: block; height: 100%; }
.table-wrap { overflow-x: auto; }
.result-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.result-table th { text-align: start; background: var(--ink); color: var(--gold-2); padding: 9px 10px; font-weight: 600; font-size: .85rem; }
.result-table th:first-child { border-start-start-radius: 8px; }
.result-table th:last-child { border-start-end-radius: 8px; }
.result-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.result-table td small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.result-table td strong { font-weight: 600; }
.result-table .frac { font-weight: 700; font-size: 1.02rem; text-align: right; white-space: nowrap; }
.result-table .amount { white-space: nowrap; font-weight: 600; }
.result-table tr.is-blocked td { color: #9a958a; background: #faf8f3; }
.result-table .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; }
.notes { margin-top: 16px; display: grid; gap: 8px; }
.notes p { margin: 0; background: #fffaf0; border: 1px solid #f0e2bd; border-radius: 10px; padding: 10px 12px; font-size: .9rem; display: flex; gap: 8px; }
.notes .icon { color: var(--gold-deep); margin-top: 5px; }
.disclaimer-box { margin: 14px 0; font-size: .84rem; color: var(--muted); }

/* من نحن والتواصل */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.about-media { position: relative; padding-bottom: 60px; }
.about-card { margin: 0; background: #fff; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: rotate(-2deg); position: absolute; width: 62%; left: -10px; bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-wa { display: flex; align-items: center; gap: 14px; color: var(--text); padding: 20px; transition: transform .2s, box-shadow .2s; }
.contact-wa:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.contact-wa > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.contact-wa small { color: var(--muted); }
.contact-wa b { font-size: 1.5rem; letter-spacing: 1px; }
.wa-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; }
.wa-circle .icon { width: 30px; height: 30px; }
.card.contact-list { list-style: none; margin: 0; display: grid; gap: 14px; }
.card.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.card.contact-list .icon { color: var(--gold-deep); width: 22px; height: 22px; margin-top: 4px; }
.card.contact-list span { display: flex; flex-direction: column; }
.card.contact-list small { color: var(--muted); font-size: .8rem; }
.card.contact-list a { color: var(--text); font-weight: 600; }
.map { padding: 0; overflow: hidden; }
.map iframe { width: 100%; height: 280px; border: 0; display: block; }
.form h2 { font-size: 1.6rem; }
.hp { position: absolute; left: -9999px; }

.error-page { padding: 100px 0; }
.err-code { font-family: var(--f-display); font-size: 7rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* ----------------------------- الاستجابة ----------------------------- */
@media (max-width: 1000px) {
    .values-inner { grid-template-columns: 1fr; }
    .values-art { min-height: 240px; }
    .hero-quote { display: none; }
    .hero { min-height: 560px; }
    .hero-shade { background: linear-gradient(to left, rgba(14, 15, 18, .95), rgba(14, 15, 18, .72)), linear-gradient(to top, rgba(14, 15, 18, .9), transparent 40%); }
    .hero-grid, .calc-band-inner, .content-layout, .faq-layout, .ask-page, .calc-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero { padding: 40px 0 56px; }
    .hero-grid { gap: 36px; }
    .side, .faq-nav, .calc-result { position: static; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .about-card { transform: none; max-width: 480px; }
}
@media (max-width: 640px) {
    .values-grid { grid-template-columns: 1fr; }
    .hero { padding: 40px 0 130px; }
    .hero-logo { width: 110px; }
    .page-hero::after { width: 100%; opacity: .2; }
    body { font-size: 16px; }
    .section { padding: 54px 0; }
    .container { width: min(100% - 28px, var(--container)); }
    .brand-text strong { font-size: 1.2rem; }
    .brand-text small { display: none; }
    .brand img { width: 46px; height: 42px; }
    .ask-box { padding: 16px; border-radius: 16px; }
    .ask-head { flex-direction: column; }
    .ask-quota { align-items: flex-start; }
    .ask-form { flex-direction: column; }
    .heirs-grid, .grid-2, .grid-3, .calc-band .ticks, .footer-grid { grid-template-columns: 1fr; }
    .card { padding: 20px; }
    .wa-float { bottom: 16px; left: 16px; }
    .result-table th:nth-child(2), .result-table td:nth-child(2) { display: none; }
    .search-box { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .site-footer, .cta-band, .wa-float, .calc-form, .page-hero .breadcrumb { display: none !important; }
    .calc-layout { grid-template-columns: 1fr; }
}

/* ----------------------------- الأخبار القضائية ----------------------------- */
.news-sec { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-home { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 36px; align-items: start; }
.news-home-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.news-home-head p { color: var(--muted); }
.news-flag-svg { width: 130px; margin: 6px 0 22px; }
.news-list { list-style: none; margin: 0; padding: 6px 22px; }
.news-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item time { flex-shrink: 0; width: 62px; height: 66px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .78rem; line-height: 1.3; }
.news-item time b { font-size: 1.45rem; font-family: var(--f-display); }
.news-item a { color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.6; }
.news-item a:hover { color: var(--gold-deep); }
.news-item p { margin: 4px 0; color: var(--muted); font-size: .92rem; }
.news-item small { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.news-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 14px; }
.news-flag { text-align: center; }
.news-flag .egypt-flag { width: 140px; margin: 0 auto 12px; }
@media (max-width: 1000px) { .news-home { grid-template-columns: 1fr; } .news-flag-svg { display: none; } }
