/* public_html/assets/css/site.css
   Purpose: Main stylesheet for the Areeka public site (RTL, mobile-first).
   Keywords: layout, article, cards, ads, comments, responsive */
/* ============================================================================
   Areeka — Redesign merged 2026 | بترولي + ذهبي (RTL, Mobile-First)
   يشمل أنماط المكوّنات المحفوظة من الخادم: التعليقات comments، النشرة
   newsletter، الإعلانات المتعقبة areeka-track-ad، Footer JS/track.
   ========================================================================== */

/* ----------------------------- الخطوط ----------------------------- */
@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('/assets/fonts/Noto_Kufi_Arabic/static/NotoKufiArabic-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('/assets/fonts/Noto_Kufi_Arabic/static/NotoKufiArabic-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('/assets/fonts/Noto_Kufi_Arabic/static/NotoKufiArabic-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('/assets/fonts/Noto_Kufi_Arabic/static/NotoKufiArabic-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aref Ruqaa';
  src: url('/assets/fonts/Aref_Ruqaa/ArefRuqaa-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aref Ruqaa';
  src: url('/assets/fonts/Aref_Ruqaa/ArefRuqaa-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ----------------------------- المتغيرات ----------------------------- */
:root {
  --petrol: #1a4d3e;
  --petrol-2: #235f4c;
  --petrol-deep: #0a1f18;
  --olive: #e8f0e5;
  --olive-2: #f4f8f1;
  --gold: #c9a84c;
  --gold-deep: #b8942e;
  --gold-soft: #f3e9cd;
  --ink: #0a1f18;
  --ink-soft: #41554d;
  --muted: #6d7f76;
  --line: #dfe8e0;
  --white: #ffffff;
  --danger: #b3261e;
  --success: #137a3b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(10, 31, 24, .08);
  --shadow-md: 0 6px 18px rgba(10, 31, 24, .10);
  --shadow-lg: 0 16px 40px rgba(10, 31, 24, .16);
  --font-body: 'Noto Kufi Arabic', 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-display: 'Aref Ruqaa', 'Noto Kufi Arabic', serif;
  --header-h: 64px;
}

/* ----------------------------- أساسيات ----------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.85; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: var(--petrol); text-decoration: none; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 .4em; font-weight: 800; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; top: -60px; right: 10px; background: var(--gold-deep); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; transition: top .2s; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--olive); color: var(--petrol-deep); }

/* أزرار */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--petrol); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 22px; font-family: inherit; font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: background .2s, box-shadow .2s;
}
.btn:hover { background: var(--petrol-2); color: #fff; box-shadow: var(--shadow-md); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #241c04; }
.btn-gold:hover { background: var(--gold-deep); color: #241c04; }
.btn-outline { background: transparent; border: 2px solid var(--petrol); color: var(--petrol); }
.btn-outline:hover { background: var(--petrol); color: #fff; }

/* ----------------------------- الهيدر ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: linear-gradient(90deg, var(--petrol-deep), var(--petrol) 70%);
  color: #fff; box-shadow: var(--shadow-sm);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-row { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 4px rgba(255,255,255,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; }
.brand-tag { font-size: .68rem; color: var(--gold); }
.desktop-nav { display: none; align-items: center; gap: 4px; margin-inline-start: 8px; }
.desktop-nav a { color: #e6efe9; padding: 8px 12px; border-radius: 999px; font-size: .95rem; transition: background .2s, color .2s; }
.desktop-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.desktop-nav a.active { background: var(--gold); color: #241c04; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.icon-btn {
  background: rgba(255,255,255,.1); border: 0; color: #fff; width: 42px; height: 42px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.22); }
.icon-btn[aria-expanded="true"] { background: var(--gold); color: #241c04; }
.search-bar { background: var(--petrol-deep); border-top: 1px solid rgba(255,255,255,.08); }
.search-form { display: flex; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.search-form input {
  flex: 1; border: 0; border-radius: 999px; padding: 10px 18px; font: inherit;
  min-width: 0; background: #fff; color: var(--ink);
}
.search-form input:focus { outline: 3px solid rgba(201,168,76,.45); }
.mobile-drawer {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--petrol-deep);
  z-index: 190; overflow-y: auto; padding: 18px 0 30px;
}
.mobile-drawer a { display: block; color: #e6efe9; padding: 13px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-drawer a:hover { color: var(--gold); }
body.nav-open { overflow: hidden; }

/* ----------------------------- الإعلانات ----------------------------- */
.top-banner-zone { padding-top: 16px; }
.bottom-banner-zone { padding-top: 18px; }
.ad-slot { text-align: center; }
.ad-slot img { max-width: 100%; height: auto; margin: 0 auto; }
.ad-slot a.ad-link { display: inline-block; }
.ad-band { margin: 18px 0; }
.ad-slot.ad-after_categories_2 img, .ad-slot.ad-after_categories_4 img,
.ad-slot.ad-after_categories_6 img, .ad-slot.ad-mid_page img { max-height: 120px; width: auto; }
.ad-placeholder {
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--olive); background: var(--olive-2); color: var(--muted);
  border-radius: var(--radius-sm); min-height: 90px; font-size: .85rem; padding: 10px;
}
.top-band, .bottom-band { min-height: 90px; }
.ad-slot.rail { position: sticky; top: calc(var(--header-h) + 20px); }
.ad-slot.rail .ad-placeholder, .rail .ad-placeholder { min-height: 520px; display: flex; flex-direction: column; gap: 6px; }
.ad-placeholder .ph-note { font-size: .8rem; }
/* AdSense units: reserve height before the ad loads to avoid layout shift (CLS). */
.ad-slot--adsense { display: block; width: 100%; }
.ad-slot--adsense .adsbygoogle { display: block; width: 100%; }
/* Horizontal ad slots (top banner, between-category bands, article bottom) */
.ad-slot--adsense.ad-top_banner,
.top-banner-zone .ad-slot--adsense,
.ad-slot--adsense.ad-after_categories_2,
.ad-slot--adsense.ad-after_categories_4,
.ad-slot--adsense.ad-after_categories_6,
.ad-slot--adsense.ad-article_bottom { min-height: 280px; }
/* Vertical rails. Hidden below 1024px by the .rail-left/.rail-right rules above. */
.ad-slot--adsense.rail { min-height: 600px; }
@media (max-width: 600px) {
  .ad-slot--adsense.ad-top_banner,
  .top-banner-zone .ad-slot--adsense,
  .ad-slot--adsense.ad-after_categories_2,
  .ad-slot--adsense.ad-after_categories_4,
  .ad-slot--adsense.ad-after_categories_6,
  .ad-slot--adsense.ad-article_bottom { min-height: 250px; }
}
/* حاويات تتبع الإعلانات (track.js يعتمد عليها) */
.areeka-track-ad { position: relative; }
.areeka-track-ad img { max-width: 100%; height: auto; }

/* ----------------------------- Hero ----------------------------- */
.hero { margin: 18px 0 26px; }
.hero-swiper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero-slide { position: relative; min-height: 300px; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,24,.05), rgba(10,31,24,.5) 55%, rgba(10,31,24,.9));
}
.hero-content { position: relative; z-index: 2; padding: 18px 14px; color: #fff; width: 100%; }
.hero-cat { display: inline-block; background: var(--gold); color: #241c04; font-size: .75rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.hero-content h2 { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin: 0 0 6px; }
.hero-content h2 a { color: #fff; }
.hero-content p { margin: 0 0 12px; color: #edf4ef; font-size: .95rem; max-width: 720px; }
.hero-meta { color: var(--gold); font-size: .8rem; margin-bottom: 12px; }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .5; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--gold); width: 22px; border-radius: 6px; }
.hero-swiper .swiper-button-prev, .hero-swiper .swiper-button-next { color: #fff; }

/* ----------------------------- أقسام ----------------------------- */
.section { margin: 34px 0; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px; padding-bottom: 8px; border-bottom: 3px solid var(--petrol);
}
.section-head h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--petrol-deep); margin: 0; }
.section-head h2 a { color: inherit; }
.see-all { font-size: .85rem; font-weight: 700; white-space: nowrap; background: var(--olive); padding: 5px 14px; border-radius: 999px; }

/* ----------------------------- بطاقات ----------------------------- */
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.thumb-wrap { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--olive); }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .thumb-wrap img { transform: scale(1.06); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 1rem; font-weight: 800; line-height: 1.55; margin: 0; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--petrol); }
.card-meta { font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card-cat { color: var(--gold-deep); font-weight: 700; }
.card-excerpt { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.card-category { color: var(--gold-deep); font-size: .75rem; font-weight: 700; }

.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini-card .mini-body { padding: 10px 12px 12px; }
.mini-card h3 { font-size: .95rem; margin: 0 0 4px; line-height: 1.6; }
.mini-card h3 a { color: var(--ink); }
.mini-card h3 a:hover { color: var(--petrol); }
.mini-card .card-meta { font-size: .72rem; }

/* صفوف أفقية (Swiper) */
.cat-carousel { position: relative; }
.cat-carousel .swiper-slide { width: 240px; height: auto; }
.cat-carousel .swiper-slide .mini-card { height: 100%; }
.car-btn {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 10;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--petrol); color: #fff; box-shadow: var(--shadow-md);
  display: none; align-items: center; justify-content: center;
}
.car-btn:hover { background: var(--gold-deep); }
.cat-carousel.has-overflow .car-btn { display: inline-flex; }

.grid-articles { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-articles { grid-template-columns: repeat(3, 1fr); } }

/* ----------------------------- الأكثر قراءة ----------------------------- */
.most-read-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.most-read-item {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px;
  box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.most-read-item:hover { border-color: var(--gold); }
.most-read-rank { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-deep); min-width: 34px; text-align: center; font-weight: 700; }
.most-read-item .thumb-wrap { width: 74px; height: 56px; border-radius: 8px; flex-shrink: 0; }
.most-read-item .thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.most-read-body { flex: 1; min-width: 0; }
.most-read-body h3 { font-size: .9rem; margin: 0 0 2px; line-height: 1.55; }
.most-read-body h3 a { color: var(--ink); }
.most-read-body .card-meta { font-size: .7rem; }

/* ----------------------------- النشرة ----------------------------- */
.newsletter {
  background: linear-gradient(120deg, var(--petrol-deep), var(--petrol));
  color: #fff; border-radius: var(--radius); padding: 24px 18px; margin: 34px 0 8px;
  position: relative; overflow: hidden;
}
.newsletter::before { content: ""; position: absolute; inset: 0; opacity: .12; background: radial-gradient(circle at 20% 30%, var(--gold), transparent 45%); }
.newsletter-inner { position: relative; }
.newsletter-text h2 { font-family: var(--font-display); color: #fff; margin: 0 0 2px; }
.newsletter-text p { color: #d7e4dd; margin: 0 0 14px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; }
.newsletter-form input[type="email"] {
  flex: 1 1 240px; border: 0; border-radius: 999px; padding: 11px 18px; font: inherit; min-width: 0;
}
.newsletter-form input:focus { outline: 3px solid rgba(201,168,76,.5); }
.newsletter-form button { border: 0; border-radius: 999px; background: var(--gold); color: #241c04; padding: 11px 24px; font: inherit; font-weight: 800; cursor: pointer; }
.newsletter-msg { margin: 10px 0 0; font-size: .9rem; min-height: 1.2em; }
.newsletter-msg.error { color: #ffd9d6; }
.newsletter-msg.success { color: #cfe6d5; }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }

/* ----------------------------- قالب 3 أعمدة + Rails ----------------------------- */
.layout-grid { display: grid; gap: 20px; margin: 20px 0 10px; grid-template-columns: minmax(0, 1fr); }
.rail-left, .rail-right { display: none; }
@media (min-width: 1024px) {
  .layout-grid { grid-template-columns: 250px minmax(0, 1fr) 250px; }
  .rail-left, .rail-right { display: block; min-width: 0; }
}
@media (min-width: 1200px) { .layout-grid { grid-template-columns: 300px minmax(0, 1fr) 300px; } }

/* ----------------------------- صفحات داخلية ----------------------------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .8rem; color: var(--muted); margin: 6px 0 14px; }
.breadcrumb a { color: var(--petrol); }
.page-head h1 { font-family: var(--font-display); font-size: 1.7rem; color: var(--petrol-deep); margin: 0; }
.category-desc { color: var(--muted); }
.page-title { margin: 8px 0 16px; font-size: 1.5rem; color: var(--petrol-deep); }
.search-page-form { display: flex; gap: 8px; margin: 10px 0 16px; }
.search-page-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; font: inherit; }
.search-page-form input:focus { outline: 3px solid rgba(201,168,76,.4); }

/* ----------------------------- المقال ----------------------------- */
.article-single { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px 16px; overflow: hidden; }
.article-single h1 { font-family: var(--font-display); font-size: 1.65rem; color: var(--petrol-deep); line-height: 1.6; margin: 0 0 8px; }
.article-subtitle { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 12px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
  color: var(--muted); font-size: .82rem; padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.article-meta .chip { display: inline-flex; align-items: center; gap: 5px; }
.article-meta .author { color: var(--petrol); font-weight: 700; }
.stat-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--olive); border-radius: 999px; padding: 4px 12px; font-size: .8rem; color: var(--petrol); }
.article-main-img { width: 100%; border-radius: var(--radius-sm); margin: 0 0 16px; }
.article-body { font-size: 1.05rem; color: #20322b; }
.article-body p { margin: 0 0 16px; }
.article-body a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; overflow-wrap: anywhere; }
/* Auto-linked URLs inside article body — brand gold, opens in a new tab. */
.article-body a.auto-link { color: var(--gold-deep); text-decoration-color: var(--gold); }
.article-body a.auto-link:hover, .article-body a.auto-link:focus-visible { color: var(--gold); text-decoration-color: var(--gold); }
.article-inline-ad { margin: 22px 0; }
.article-credits { margin-top: 16px; padding: 12px 14px; background: var(--olive-2); border-inline-start: 4px solid var(--gold); border-radius: 8px; font-size: .88rem; color: var(--ink-soft); }

/* مشاركة */
.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.share-label { font-size: .85rem; color: var(--muted); font-weight: 700; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  color: #fff; font-size: .78rem; font-weight: 700; border: 0; cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.share-btn:hover { opacity: .85; color: #fff; transform: translateY(-2px); }
.share-btn.fb { background: #1877f2; }
.share-btn.x { background: #0f1419; }
.share-btn.wa { background: #25d366; color: #0b2a15; }
.share-btn.tg { background: #229ed9; }
.share-btn.li { background: #0a66c2; }
.share-btn.copy { background: var(--petrol); }
.share-btn.copy:hover { color: #fff; }

/* ذات صلة */
.related-section { margin-top: 28px; }
.related-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }

/* ----------------------------- التعليقات (includes/comments.php) ----------------------------- */
.comments-section { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 16px; }
.comments-title { font-family: var(--font-display); color: var(--petrol-deep); margin: 0 0 12px; border-bottom: 2px solid var(--olive); padding-bottom: 8px; }
.comments-flash { padding: 9px 14px; border-radius: 8px; font-size: .9rem; }
.comments-flash.flash-success { background: #e3f2e6; color: var(--success); }
.comments-flash.flash-danger { background: #fdecea; color: var(--danger); }
.comments-flash.flash-info { background: #e8f0ff; color: #2b5aa0; }
.comments-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 12px; }
.comment-item { background: var(--olive-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--petrol); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.comment-head b { display: block; font-size: .9rem; }
.comment-date { font-size: .72rem; color: var(--muted); }
.comment-body { margin: 0; font-size: .95rem; }
.comments-empty { color: var(--muted); }
.comment-form { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.comment-form-title { font-size: 1.05rem; margin: 0 0 10px; }
.comment-fields { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
@media (min-width: 640px) { .comment-fields { grid-template-columns: 1fr 1fr; } }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff;
}
.comment-form textarea { min-height: 90px; resize: vertical; margin-bottom: 10px; }
.comment-form button { border: 0; border-radius: 999px; background: var(--petrol); color: #fff; padding: 10px 22px; font: inherit; font-weight: 700; cursor: pointer; }
.comment-note { font-size: .75rem; color: var(--muted); margin: 8px 0 0; }
.ltr-input { direction: ltr; text-align: left; }

/* ----------------------------- الترقيم والحالات ----------------------------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 26px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.pagination .current { background: var(--petrol); color: #fff; border-color: var(--petrol); font-weight: 700; }
.empty-state, .error-state { background: var(--olive-2); border: 1px dashed var(--olive); border-radius: var(--radius); padding: 34px 20px; text-align: center; color: var(--muted); }
.error-state h1 { color: var(--petrol); font-family: var(--font-display); }

/* ----------------------------- الفوتر ----------------------------- */
.site-footer { background: var(--petrol-deep); color: #cfdcd4; margin-top: 22px; }
.footer-grid { display: grid; gap: 24px; padding: 30px 16px 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.brand-footer { color: #fff; }
.brand-footer .brand-name { font-size: 1.3rem; }
.footer-about p { font-size: .88rem; margin: 10px 0 0; }
.footer-col h3 { color: var(--gold); font-size: 1rem; margin: 0 0 10px; }
.footer-col a { display: block; color: #cfdcd4; padding: 3px 0; font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-search { display: flex; gap: 6px; }
.footer-search input { flex: 1; border: 0; border-radius: 999px; padding: 9px 14px; font: inherit; min-width: 0; }
.footer-search button { border: 0; background: var(--gold); color: #241c04; border-radius: 50%; width: 40px; cursor: pointer; }
.footer-note { font-size: .78rem; color: #8fa399; margin: 14px 0 0; }

/* أدوات */
.back-to-top { position: fixed; bottom: 18px; left: 18px; z-index: 150; background: var(--petrol); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-md); display: inline-flex; align-items: center; justify-content: center; }
.toast { position: fixed; bottom: 26px; right: 50%; transform: translateX(50%); background: var(--petrol-deep); color: #fff; padding: 10px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 400; font-size: .9rem; transition: opacity .25s; }

/* استجابة */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .desktop-nav { display: flex; }
  .hero-slide { min-height: 400px; }
  .hero-content { padding: 28px 24px; }
  .hero-content h2 { font-size: 2rem; }
  .article-single { padding: 26px 22px; }
}
@media (min-width: 1024px) {
  .hero-slide { min-height: 460px; }
}
@media (max-width: 767px) {
  .desktop-nav { display: none; }
  .hero-swiper .swiper-button-prev, .hero-swiper .swiper-button-next { display: none; }
  .cat-carousel .swiper-slide { width: 200px; }
  .car-btn { display: none !important; }
  .brand-tag { display: none; }
}
html:not(.aos-ready) [data-aos] { opacity: 1 !important; transform: none !important; }

/* ============================================================================
   Redesign v2 (طلبات المالك 2026-09-08)
   ========================================================================== */
/* أيقونة الموقع القديمة (icon-192.png) بشكل دائري أنيق */
.brand-logo { border-radius: 12px; object-fit: cover; background: #fff; padding: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }

/* الهيرو: البطاقة كلها قابلة للنقر */
.hero-slide { cursor: pointer; }
.hero-slide a, .hero-slide button { cursor: pointer; }

/* إعلان جوجل متلاصق تحت الهيرو — يظهر على الموبايل فقط */
.ad-under-hero-wrap { display: none; margin: -6px 0 0; padding: 0 10px; }
.ad-under-hero-wrap .ad-slot { margin: 0; }
@media (max-width: 767px) {
  .ad-under-hero-wrap { display: block; }
}

/* شارة ترتيب "الأكثر قراءة" */
.rank-badge {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  background: var(--gold); color: #241c04; font-weight: 800; font-size: .8rem;
  min-width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* الفوتر: سطر واحد (روابط + حقوق) */
.site-footer.footer-single { padding: 0; }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 18px; padding: 14px 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { color: #cfdcd4; font-size: .9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { margin: 0; color: #8fa399; font-size: .8rem; }
@media (max-width: 640px) {
  .footer-bar { flex-direction: column; text-align: center; }
}

/* ============================================================================
   Redesign v3 (توزيع 15% / الباقي / 15% + شريط علوي بعرض كامل + هيرو أصغر)
   ========================================================================== */
/* الشريط العلوي (فوق الهيرو) بعرض الموقع كامل 100% */
.top-banner-zone { width: 100%; padding: 0; }
.top-banner-zone .ad-slot,
.top-banner-zone .ad-placeholder { width: 100%; min-height: 90px; border-radius: 0; }

/* تخطيط 3 أعمدة بنِسَب مئوية عند عرض المتصفح الكامل مع فجوات صغيرة */
.column-main { min-width: 0; }
.site-main.container:has(.layout-grid) { max-width: none; padding-inline: 10px; }
@media (min-width: 1024px) {
  .layout-grid {
    grid-template-columns: minmax(0, 15%) minmax(0, 1fr) minmax(0, 15%);
    column-gap: 14px;
  }
}

/* الهيرو بانل أصغر وأكثر تناسباً */
.hero { margin: 10px 0 16px; }
.hero-slide { min-height: 210px; }
.hero-content { padding: 14px 16px; }
.hero-content h2 { font-size: 1.25rem; }
.hero-content p { margin: 0 0 10px; font-size: .85rem; max-width: 640px; }
.hero-content .btn { padding: 8px 18px; font-size: .85rem; }
@media (min-width: 768px) {
  .hero-slide { min-height: 280px; }
  .hero-content h2 { font-size: 1.6rem; }
}
@media (min-width: 1024px) {
  .hero-slide { min-height: 320px; }
  .hero-content h2 { font-size: 1.9rem; }
}

/* أيقونة الهوم في أقصى اليسار */
a.home-link { text-decoration: none; color: #fff; }
a.home-link:hover { color: #fff; }

/* النشرة: بار واحد بسيط بنفس ارتفاع الفوتر */
.newsletter-compact { margin: 0; border-radius: 0; padding: 0; }
.newsletter-compact::before { display: none; }
.newsletter-compact .newsletter-row {
  position: relative;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  padding: 7px 16px; min-height: 48px;
}
.newsletter-slogan { color: #fff; font-weight: 700; white-space: nowrap; font-size: .95rem; }
.newsletter-compact .newsletter-form {
  flex: 1 1 260px; display: flex; gap: 8px; margin: 0; max-width: none; min-width: 0;
}
.newsletter-compact .newsletter-form input[type="email"] { flex: 1; min-width: 0; padding: 8px 14px; }
.newsletter-compact .newsletter-form button { padding: 8px 18px; white-space: nowrap; }
.newsletter-compact .newsletter-msg {
  position: absolute; top: calc(100% + 6px); right: 16px; z-index: 20;
  margin: 0; font-size: .8rem; display: none;
  background: var(--petrol-deep); border-radius: 8px; padding: 4px 12px;
  box-shadow: var(--shadow-md);
}
.newsletter-compact .newsletter-msg.error { display: block; color: #ffd9d6; }
.newsletter-compact .newsletter-msg.success { display: block; color: #cfe6d5; }

/* ============================================================================
   Redesign v4 (طلبات المالك 2026-09-08/2)
   ========================================================================== */
/* الإعلانات الأفقية: الصورة تملأ مساحة الإعلان بالكامل */
.ad-slot > a { display: block; width: 100%; }
.ad-slot.ad-after_categories_2,
.ad-slot.ad-after_categories_4,
.ad-slot.ad-after_categories_6,
.ad-slot.ad-under_hero,
.ad-horizontal .ad-slot { width: 100%; }
.ad-slot.ad-after_categories_2 img,
.ad-slot.ad-after_categories_4 img,
.ad-slot.ad-after_categories_6 img,
.ad-slot.ad-under_hero img,
.ad-horizontal .ad-slot img,
.top-banner-zone .ad-slot img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: cover;
  margin: 0;
}
/* الكاتب وتاريخ النشر أسفل المقال */
.article-bottom-meta {
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center;
  margin-top: 6px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted); font-size: .88rem;
}
.article-bottom-meta .byline b { font-weight: 700; }
.article-bottom-meta .byline span[itemprop="author"] { color: var(--petrol); font-weight: 700; }

/* ============================================================================
   Redesign v5 (توحيد الإعلانات الأفقية + صور Rails المؤقتة)
   ========================================================================== */
:root { --ad-hh: 110px; }
/* كل الإعلانات الأفقية (العلوي الأول + بعد التصنيفات + تحت الهيرو) بنفس الارتفاع */
.ad-slot.ad-after_categories_2,
.ad-slot.ad-after_categories_4,
.ad-slot.ad-after_categories_6,
.ad-slot.ad-under_hero,
.ad-horizontal .ad-slot,
.top-banner-zone .ad-slot {
  height: var(--ad-hh);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot.ad-after_categories_2 img,
.ad-slot.ad-after_categories_4 img,
.ad-slot.ad-after_categories_6 img,
.ad-slot.ad-under_hero img,
.ad-horizontal .ad-slot img,
.top-banner-zone .ad-slot img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  margin: 0;
}
.ad-slot.ad-after_categories_2.ad-placeholder,
.ad-slot.ad-after_categories_4.ad-placeholder,
.ad-slot.ad-after_categories_6.ad-placeholder,
.ad-slot.ad-under_hero.ad-placeholder,
.ad-horizontal .ad-slot.ad-placeholder,
.top-banner-zone .ad-slot.ad-placeholder {
  height: var(--ad-hh);
  min-height: var(--ad-hh);
  border-radius: 0;
}
/* محاذاة الإعلان الأول (أعلى الصفحة) مع عرض العمود المركزي للإعلانات الأخرى */
@media (min-width: 1024px) {
  .top-banner-zone .ad-slot { width: 70%; margin: 0 auto; }
}
@media (max-width: 1023px) {
  .top-banner-zone .ad-slot { width: 100%; }
}
/* الصورة المؤقتة للبانر الطولي (حتى موافقة Google) */
.ad-slot.temp-rail-ad a { display: block; width: 100%; text-align: center; }
.ad-slot.temp-rail-ad img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.ad-slot.rail .ad-placeholder,
.rail .ad-placeholder { min-height: 480px; display: flex; flex-direction: column; gap: 6px; }

/* ============================================================================
   Redesign v6 (فجوة بين التوب بار والإعلان الأفقي الأول)
   ========================================================================== */
.top-banner-zone { padding: 12px 0 0; }

/* ============================================================================
   Redesign v7 (توب بار: لوجو ← أريكة ← سلوجان في سطر واحد متوسط رأسياً)
   ========================================================================== */
.brand { flex-wrap: nowrap; align-items: center; }
.brand .brand-logo { border-radius: 10px; }
.brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  margin: 0;
}
.brand .brand-tag {
  font-size: .78rem;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 3px;
}
.header-row { gap: 10px; }
@media (max-width: 767.98px) {
  .brand .brand-logo { width: 34px; height: 34px; }
  .brand .brand-name { font-size: 1.12rem; }
  .brand .brand-tag { font-size: .62rem; }
  .icon-btn { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
  .brand .brand-tag { display: none; }
  .brand .brand-name { font-size: 1.05rem; }
  .header-row { gap: 6px; }
}

/* ============================================================================
   Redesign v8 (إخفاء البرجر + فوتر سطر واحد على الموبايل)
   ========================================================================== */
.menu-toggle { display: none !important; }
@media (max-width: 767.98px) {
  .footer-bar {
    flex-direction: row;
    align-items: center;
    text-align: right;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .footer-bar::-webkit-scrollbar { display: none; }
  .footer-links { flex-wrap: nowrap; white-space: nowrap; }
  .footer-copy { white-space: nowrap; margin-inline-start: 12px; }
}

/* ============================================================================
   Redesign v9 (تلاشي تدريجي للصورة خلف أسهم الهيرو)
   ========================================================================== */
.hero-slide .hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(270deg, rgba(10, 31, 24, 0) 58%, rgba(10, 31, 24, .55) 90%, rgba(10, 31, 24, .78) 100%),
    linear-gradient(90deg,  rgba(10, 31, 24, 0) 58%, rgba(10, 31, 24, .55) 90%, rgba(10, 31, 24, .78) 100%);
}
.hero-slide .hero-content { z-index: 2; }
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next { text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }

/* ============================================================================
   Redesign v10 (السهم خارج الصورة: الصورة تنتهي قبله بتلاشٍ ناعم)
   - الصورة تبدأ بعد منطقة السهمين (58px) من كل جانب
   - حافتها تتلاشى تدريجياً (mask) على خلفية داكنة أنيقة يظهر فيها السهم
   ========================================================================== */
.hero-slide {
  background: linear-gradient(160deg, var(--petrol-deep), var(--petrol));
}
.hero-swiper .hero-media {
  inset: 0 58px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.hero-slide .hero-media::before { display: none; }
.hero-slide .hero-media::after {
  background: linear-gradient(180deg, rgba(10, 31, 24, 0) 40%, rgba(10, 31, 24, .5) 70%, rgba(10, 31, 24, .85) 100%);
}
@media (max-width: 767.98px) {
  .hero-swiper .hero-media { inset: 0; mask-image: none; -webkit-mask-image: none; }
  .hero-slide { background: var(--petrol-deep); }
}

/* ============================================================================
   Redesign v11 (محتوى الهيرو في منتصف أسفل الصورة — بعيداً عن الأسهم)
   ========================================================================== */
.hero-slide { justify-content: flex-end; }
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 780px;
  width: 100%;
  margin: 0 auto 20px;
  padding: 16px 12px;
}
.hero-content p { margin-inline: auto; }
.hero-meta { justify-content: center; }
.hero-content .btn { align-self: center; }

/* ============================================================================
   Redesign v12 (إزالة التاريخ + طبقة داكنة خلف العنوان في الهيرو)
   ========================================================================== */
.hero-content {
  background: linear-gradient(180deg, rgba(10, 31, 24, 0) 0%, rgba(10, 31, 24, .42) 42%, rgba(10, 31, 24, .94) 100%);
  border-radius: 12px;
}
.hero-content h2 a { text-shadow: 0 2px 14px rgba(0, 0, 0, .95), 0 0 6px rgba(0, 0, 0, .6); }
.hero-content p { text-shadow: 0 1px 8px rgba(0, 0, 0, .85); }

/* ============================================================================
   Redesign v13 (البانر الأفقية تعرض الصورة كاملة دون قص)
   ========================================================================== */
.ad-slot.ad-after_categories_2,
.ad-slot.ad-after_categories_4,
.ad-slot.ad-after_categories_6,
.ad-slot.ad-under_hero,
.ad-horizontal .ad-slot,
.top-banner-zone .ad-slot {
  overflow: hidden;
  background: #fff;
}
.ad-slot.ad-after_categories_2 img,
.ad-slot.ad-after_categories_4 img,
.ad-slot.ad-after_categories_6 img,
.ad-slot.ad-under_hero img,
.ad-horizontal .ad-slot img,
.top-banner-zone .ad-slot img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.ad-slot.ad-after_categories_2 a,
.ad-slot.ad-after_categories_4 a,
.ad-slot.ad-after_categories_6 a,
.ad-slot.ad-under_hero a,
.ad-horizontal .ad-slot a,
.top-banner-zone .ad-slot a {
  display: block;
  width: 100%;
  text-align: center;
}

/* ============================================================================
   Redesign v14 — الحل الاحترافي بلا قص
   الإعلانات: المساحة تتكيف مع الصورة (ارتفاع تلقائي + contain + حدود قصوى)
   بطاقات المقالات: contain على خلفية زيتونية بدل قصّ المحتوى
   + حركة انتباه بسيطة للبانرات (نبض ذهبي ناعم)
   ========================================================================== */
.ad-slot.ad-after_categories_2,
.ad-slot.ad-after_categories_4,
.ad-slot.ad-after_categories_6,
.ad-slot.ad-under_hero,
.ad-horizontal .ad-slot,
.top-banner-zone .ad-slot {
  height: auto;
  min-height: 90px;
  overflow: visible;
  padding: 6px 0;
  background: #fff;
}
.ad-slot.ad-after_categories_2 img,
.ad-slot.ad-after_categories_4 img,
.ad-slot.ad-after_categories_6 img,
.ad-slot.ad-under_hero img,
.ad-horizontal .ad-slot img,
.top-banner-zone .ad-slot img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
/* بطاقات المقالات: عرض كامل داخل مساحتها دون قص المحتوى */
.thumb-wrap { aspect-ratio: 16 / 10; background: var(--olive); }
.thumb-wrap img { object-fit: contain; background: var(--olive); }
.mini-card .thumb-wrap img,
.most-read-item .thumb-wrap img,
.related-grid .thumb-wrap img { object-fit: contain; }

/* حركة انتباه بسيطة للبانرات */
@keyframes areekaAdPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
  50%      { box-shadow: 0 0 0 5px rgba(201, 168, 76, .28); }
}
.ad-slot.ad-after_categories_2,
.ad-slot.ad-after_categories_4,
.ad-slot.ad-after_categories_6,
.ad-slot.ad-under_hero,
.ad-horizontal .ad-slot,
.top-banner-zone .ad-slot {
  animation: areekaAdPulse 3.2s ease-in-out infinite;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .ad-slot.ad-after_categories_2,
  .ad-slot.ad-after_categories_4,
  .ad-slot.ad-after_categories_6,
  .ad-slot.ad-under_hero,
  .ad-horizontal .ad-slot,
  .top-banner-zone .ad-slot { animation: none; }
}

/* ============================================================================
   Redesign v15 — أزرار مشاركة دائرية متماثلة (أيقونات فقط)
   ========================================================================== */
.share-bar { gap: 10px; align-items: center; }
.share-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  font-size: 0;
  line-height: 0;
}
.share-btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.share-btn.wa { color: #fff; }
.share-btn.copy svg { width: 20px; height: 20px; }

/* ============================================================================
   Redesign v16 — شريحة صورة الموقع في الهيرو + صفحة خريطة الموقع
   ========================================================================== */
/* عرض الجزء العلوي من صورة الموقع (أعلى من ارتفاع الهيرو) */
.hero-slide.hero-brand-slide .hero-media img {
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: 100%;
}
.hero-slide.hero-brand-slide {
  background: linear-gradient(160deg, var(--petrol-deep), var(--petrol));
}

/* صفحة خريطة الموقع */
.sitemap-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 4px 0 20px;
}
@media (min-width: 700px) {
  .sitemap-hero { grid-template-columns: repeat(3, 1fr); }
}
.sitemap-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sitemap-tile .st-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--olive);
  color: var(--petrol);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}
.sitemap-tile b { display: block; font-size: .95rem; }
.sitemap-tile small { color: var(--muted); }
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) {
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
.sitemap-col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}
.sitemap-col h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--petrol-deep);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--olive);
}
.sitemap-col ul { list-style: none; margin: 0; padding: 0; }
.sitemap-col li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.sitemap-col li:last-child { border-bottom: 0; }
.sitemap-col a { color: var(--ink); font-weight: 600; }
.sitemap-col a:hover { color: var(--petrol); }
.sitemap-date { color: var(--muted); font-size: .74rem; margin-inline-start: 8px; }
.sitemap-count { color: var(--muted); font-size: .78rem; }
.sitemap-note { color: var(--muted); font-size: .85rem; margin: 8px 0 0; }

/* ============================================================================
   Redesign v17 — تبسيط قسم التعليقات (بدون عنوان/عدّاد/حقل إيميل)
   ========================================================================== */
.comments-section .comments-title { display: none; }
.comment-fields { grid-template-columns: 1fr; }
.comment-fields input { max-width: 420px; }

/* ============================================================================
   Redesign v18 — وحدة "اتصل بنا" الاحترافية
   أبعاد ثلاثية (perspective / translateZ) + ظلال متعددة الطبقات + أنيميشن
   Mobile-First، RTL، مع احترام prefers-reduced-motion
   ========================================================================== */

.contact-page { padding-block: 14px 4px; }

/* --------------------------- ترويسة الصفحة (Hero) --------------------------- */
.contact-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 34px 20px 30px;
  color: #fff;
  background:
    radial-gradient(760px 320px at 88% -12%, rgba(201, 168, 76, .45), transparent 62%),
    radial-gradient(520px 260px at 4% 108%, rgba(35, 95, 76, .85), transparent 60%),
    linear-gradient(152deg, #0a1f18 0%, #123a2f 46%, #1a4d3e 100%);
  box-shadow:
    0 26px 60px -30px rgba(10, 31, 24, .85),
    0 2px 0 rgba(255, 255, 255, .05) inset,
    inset 0 1px 0 rgba(255, 255, 255, .12);
}
.contact-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 82% 0%, #000 12%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 82% 0%, #000 12%, transparent 72%);
  pointer-events: none;
}
.contact-hero::after {
  content: "";
  position: absolute; top: -55%; bottom: -55%; width: 34%;
  inset-inline-start: -55%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: rotate(16deg);
  animation: contactSheen 8s ease-in-out infinite;
  pointer-events: none;
}
.contact-hero-inner { position: relative; z-index: 2; }
.contact-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(201, 168, 76, .45);
  color: var(--gold-soft);
  font-size: .74rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(6px);
  animation: cfRise .6s cubic-bezier(.2, .7, .2, 1) both;
}
.contact-eyebrow svg { width: 15px; height: 15px; }
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  line-height: 1.5;
  margin: 14px 0 10px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
  animation: cfRise .7s .05s cubic-bezier(.2, .7, .2, 1) both;
}
.contact-hero-sub {
  margin: 0 0 16px;
  max-width: 62ch;
  color: #d6e5dc;
  font-size: .95rem;
  animation: cfRise .7s .12s cubic-bezier(.2, .7, .2, 1) both;
}
.contact-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .79rem; font-weight: 600; color: #eaf3ee;
  animation: cfRise .7s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(.18s + var(--i, 0) * .07s);
}
.contact-chips li:hover { border-color: rgba(201, 168, 76, .6); background: rgba(201, 168, 76, .16); }
.contact-chips svg { width: 15px; height: 15px; color: var(--gold); flex: 0 0 auto; }

/* ------------------------------- الشبكة العامة ------------------------------- */
.contact-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  grid-template-columns: minmax(0, 1fr);
  perspective: 1500px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1.42fr) minmax(0, .92fr); gap: 22px; align-items: start; }
}

/* ------------------------------ بطاقة النموذج ------------------------------ */
.contact-form-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 16px 22px;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 2px rgba(10, 31, 24, .06),
    0 14px 30px -22px rgba(10, 31, 24, .45),
    0 42px 80px -55px rgba(26, 77, 62, .75);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), box-shadow .55s;
  animation: cfRise .75s .08s cubic-bezier(.2, .7, .2, 1) both;
}
.contact-form-card::before {
  content: "";
  position: absolute; top: 0; inset-inline: 26px; height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--petrol), var(--gold), var(--gold-deep));
  box-shadow: 0 4px 14px -4px rgba(201, 168, 76, .7);
}
.contact-form-card:hover {
  transform: translateY(-3px) rotateX(.7deg) rotateY(-.7deg);
  box-shadow:
    0 2px 4px rgba(10, 31, 24, .07),
    0 24px 46px -24px rgba(10, 31, 24, .5),
    0 60px 100px -60px rgba(26, 77, 62, .8);
}
@media (min-width: 900px) { .contact-form-card { padding: 28px 26px 26px; } }

.cfc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cfc-badge {
  width: 48px; height: 48px; flex: 0 0 auto;
  border-radius: 15px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--petrol), var(--petrol-2));
  box-shadow: 0 12px 22px -12px rgba(26, 77, 62, .95), inset 0 1px 0 rgba(255, 255, 255, .28);
  transform: translateZ(26px);
}
.cfc-badge svg { width: 24px; height: 24px; }
.cfc-head h2 { margin: 0 0 2px; font-family: var(--font-display); font-size: 1.22rem; color: var(--petrol-deep); }
.cfc-head p { margin: 0; color: var(--muted); font-size: .82rem; }

/* ------------------------------- الحقول العائمة ------------------------------- */
.cf-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .cf-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cf-field { position: relative; }
.cf-field > input,
.cf-field > textarea,
.cf-field > select {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fbfdfa;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 21px 14px 8px;
  transition: border-color .2s, box-shadow .25s, background .2s, transform .2s;
  box-shadow: inset 0 1px 2px rgba(10, 31, 24, .04);
  appearance: none;
}
.cf-field > textarea { min-height: 158px; resize: vertical; line-height: 1.9; }
.cf-field > select { cursor: pointer; background-image: none; }
.cf-field > input:hover,
.cf-field > textarea:hover,
.cf-field > select:hover { border-color: #c9dbcd; }
.cf-field > input:focus,
.cf-field > textarea:focus,
.cf-field > select:focus {
  outline: 0;
  background: #fff;
  border-color: var(--petrol);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 4px rgba(26, 77, 62, .12),
    0 12px 22px -16px rgba(26, 77, 62, .85),
    inset 0 1px 2px rgba(10, 31, 24, .03);
}
.cf-field > label {
  position: absolute;
  inset-inline-start: 15px;
  top: 15px;
  font-size: .93rem;
  color: var(--muted);
  pointer-events: none;
  transition: top .18s ease, font-size .18s ease, color .18s ease, letter-spacing .18s;
  max-width: calc(100% - 30px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cf-field.is-filled > label,
.cf-field:focus-within > label { top: 6px; font-size: .7rem; font-weight: 700; color: var(--petrol); letter-spacing: .2px; }
.cf-field .cf-req { color: var(--gold-deep); font-weight: 800; }
.cf-field .cf-hint { display: block; margin: 6px 4px 0; color: var(--muted); font-size: .74rem; }
.cf-counter {
  position: absolute; bottom: 9px; inset-inline-end: 14px;
  font-size: .7rem; color: var(--muted); background: rgba(255, 255, 255, .85);
  padding: 0 4px; border-radius: 6px; pointer-events: none;
}
.cf-counter.warn { color: var(--gold-deep); font-weight: 700; }

.cf-error {
  display: none; margin: 6px 4px 0;
  color: var(--danger); font-size: .76rem; font-weight: 600;
}
.cf-error::before { content: "⚠ "; }
.cf-field.has-error > input,
.cf-field.has-error > textarea,
.cf-field.has-error > select {
  border-color: var(--danger);
  background: #fffafa;
  box-shadow: 0 0 0 4px rgba(179, 38, 30, .10);
}
.cf-field.has-error .cf-error { display: block; animation: cfFadeIn .25s ease both; }

/* مربع الموافقة */
.cf-consent {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--olive-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  font-size: .82rem; color: var(--ink-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.cf-consent:hover { border-color: #c9dbcd; }
.cf-consent input[type="checkbox"] {
  width: 20px; height: 20px; margin: 2px 0 0;
  accent-color: var(--petrol);
  flex: 0 0 auto; cursor: pointer;
}
.cf-consent a { color: var(--petrol); font-weight: 700; text-decoration: underline; }
.cf-consent.has-error { border-color: var(--danger); background: #fffafa; box-shadow: 0 0 0 4px rgba(179, 38, 30, .08); }
.cf-consent.has-error .cf-error { display: block; }

/* حقل المصيدة (Honeypot) */
.hp-field { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------- زر الإرسال ------------------------------- */
.cf-submit-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.cf-submit {
  position: relative;
  overflow: hidden;
  flex: 1 1 220px;
  border: 0;
  cursor: pointer;
  font: inherit; font-weight: 800; font-size: 1rem; color: #fff;
  padding: 15px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-2) 100%);
  box-shadow:
    0 12px 26px -12px rgba(26, 77, 62, .95),
    inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .18s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, filter .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
.cf-submit::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 42%;
  inset-inline-start: -65%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .6), transparent);
  transform: skewX(-18deg);
  animation: cfSweep 3.8s ease-in-out infinite;
}
.cf-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(26, 77, 62, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.cf-submit:active { transform: translateY(1px) scale(.995); }
.cf-submit:focus-visible { outline: 3px solid rgba(201, 168, 76, .75); outline-offset: 3px; }
.cf-submit svg { width: 19px; height: 19px; }
.cf-submit .cf-spinner {
  display: none; width: 18px; height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: cfSpin .7s linear infinite;
}
.cf-submit.is-loading { pointer-events: none; filter: saturate(.85); }
.cf-submit.is-loading .cf-spinner { display: inline-block; }
.cf-submit.is-loading .cf-submit-icon { display: none; }
.cf-submit-note { color: var(--muted); font-size: .76rem; margin: 0; display: flex; align-items: center; gap: 6px; }
.cf-submit-note svg { width: 14px; height: 14px; color: var(--success); }

/* ------------------------------- بطاقة النجاح ------------------------------- */
.contact-success {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 26px 18px 22px;
  border-radius: 20px;
  background: linear-gradient(165deg, #f1f9ef 0%, #ffffff 70%);
  border: 1px solid #cfe6d2;
  box-shadow: 0 18px 40px -26px rgba(19, 122, 59, .75), inset 0 1px 0 #fff;
  animation: cfRise .55s cubic-bezier(.2, .7, .2, 1) both;
}
.contact-success::after {
  content: "";
  position: absolute; inset-inline-end: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, .28), transparent 68%);
  animation: goldPulse 3.4s ease-in-out infinite;
  pointer-events: none;
}
.cs-ring {
  width: 76px; height: 76px; margin: 0 auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #35ad66, #137a3b);
  box-shadow: 0 16px 32px -14px rgba(19, 122, 59, .95), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: cfPop .55s cubic-bezier(.2, 1.5, .4, 1) both;
  position: relative;
}
.cs-ring::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(19, 122, 59, .28);
  animation: csHalo 2.6s ease-out infinite;
}
.cs-ring svg { width: 36px; height: 36px; }
.cs-ring svg path { stroke-dasharray: 46; stroke-dashoffset: 46; animation: cfCheck .65s .22s ease forwards; }
.contact-success h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.3rem; color: #0f5c2d; }
.contact-success p { margin: 0 auto; max-width: 46ch; color: var(--ink-soft); font-size: .9rem; }
.contact-success .cs-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.cs-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 20px; border-radius: 999px;
  font-size: .86rem; font-weight: 700;
  background: linear-gradient(135deg, var(--petrol), var(--petrol-2)); color: #fff;
  box-shadow: 0 10px 22px -12px rgba(26, 77, 62, .95);
  transition: transform .18s, box-shadow .25s;
}
.cs-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 30px -14px rgba(26, 77, 62, 1); }
.cs-btn.ghost { background: #fff; color: var(--petrol); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.cs-btn.ghost:hover { border-color: var(--gold); color: var(--petrol-deep); }

/* ------------------------------- بطاقة الأخطاء ------------------------------- */
.contact-errors {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #f0c8c4;
  background: linear-gradient(180deg, #fdf3f2, #fff);
  box-shadow: 0 14px 30px -24px rgba(179, 38, 30, .9);
  animation: cfShake .5s ease both;
}
.contact-errors strong { display: flex; align-items: center; gap: 8px; color: var(--danger); font-size: .92rem; margin-bottom: 4px; }
.contact-errors strong svg { width: 18px; height: 18px; }
.contact-errors p { margin: 3px 0; color: #7d2b25; font-size: .85rem; }
.contact-errors p::before { content: "• "; color: var(--danger); }

/* --------------------------- البطاقات الجانبية (3D) --------------------------- */
.contact-aside { display: grid; gap: 14px; align-content: start; animation: cfRise .8s .16s cubic-bezier(.2, .7, .2, 1) both; }
.contact-info-card {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfa 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 14px;
  color: var(--ink);
  transform-style: preserve-3d;
  box-shadow:
    0 1px 2px rgba(10, 31, 24, .05),
    0 16px 32px -28px rgba(10, 31, 24, .95);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .3s;
}
.contact-info-card.is-link:hover { border-color: var(--gold); }
.contact-info-card:hover {
  transform: translateY(-4px) rotateX(2.2deg) rotateY(-2deg);
  box-shadow:
    0 2px 4px rgba(10, 31, 24, .06),
    0 26px 46px -26px rgba(10, 31, 24, .8);
}
.cic-icon {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--petrol), var(--petrol-2));
  box-shadow: 0 12px 22px -13px rgba(26, 77, 62, .95), inset 0 1px 0 rgba(255, 255, 255, .26);
  transform: translateZ(26px);
}
.cic-icon.gold { background: linear-gradient(140deg, var(--gold), var(--gold-deep)); color: #2a2205; box-shadow: 0 12px 22px -13px rgba(184, 148, 46, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.cic-icon svg { width: 22px; height: 22px; }
.cic-body { min-width: 0; }
.cic-body b { display: block; font-size: .92rem; color: var(--petrol-deep); margin-bottom: 2px; }
.cic-body span { display: block; font-size: .82rem; color: var(--ink-soft); word-break: break-word; }
.cic-body .cic-mail { direction: ltr; text-align: start; font-weight: 700; color: var(--petrol); }
.cic-copy {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line);
  background: #fff; color: var(--petrol);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit; font-size: .74rem; font-weight: 700;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .18s;
}
.cic-copy:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-1px); }
.cic-copy svg { width: 14px; height: 14px; }

/* أسئلة شائعة */
.contact-faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 31, 24, .05), 0 16px 32px -30px rgba(10, 31, 24, .95);
}
.contact-faq > h3 {
  margin: 0;
  padding: 13px 15px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--petrol-deep);
  background: linear-gradient(90deg, var(--olive), #fff);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
}
.contact-faq > h3 svg { width: 17px; height: 17px; color: var(--gold-deep); }
.contact-faq details { border-bottom: 1px solid var(--line); }
.contact-faq details:last-child { border-bottom: 0; }
.contact-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 15px;
  font-size: .87rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
}
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary:hover { background: var(--olive-2); color: var(--petrol); }
.contact-faq summary::after {
  content: "+";
  margin-inline-start: auto;
  color: var(--gold-deep);
  font-size: 1.15rem; font-weight: 800; line-height: 1;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}
.contact-faq details[open] summary { color: var(--petrol); }
.contact-faq details[open] summary::after { transform: rotate(135deg); }
.faq-body { padding: 0 15px 14px; color: var(--ink-soft); font-size: .84rem; animation: cfFadeIn .3s ease both; }
.faq-body a { color: var(--petrol); font-weight: 700; }

/* شريط طمأنة أسفل النموذج */
.contact-trust {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.contact-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); }
.contact-trust svg { width: 15px; height: 15px; color: var(--success); }

/* ------------------------------- الأنيميشن ------------------------------- */
@keyframes contactSheen {
  0%   { transform: translateX(-160%) rotate(16deg); }
  55%  { transform: translateX(420%) rotate(16deg); }
  100% { transform: translateX(420%) rotate(16deg); }
}
@keyframes cfRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cfFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cfPop {
  0%   { opacity: 0; transform: scale(.55) rotate(-8deg); }
  60%  { opacity: 1; transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes cfCheck { to { stroke-dashoffset: 0; } }
@keyframes cfSpin { to { transform: rotate(360deg); } }
@keyframes cfSweep {
  0%   { inset-inline-start: -65%; }
  60%  { inset-inline-start: 130%; }
  100% { inset-inline-start: 130%; }
}
@keyframes cfShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
@keyframes csHalo {
  0%   { transform: scale(.85); opacity: .8; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes goldPulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50%      { transform: scale(1.12); opacity: .9; }
}

/* إمكانية الوصول: تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .contact-hero::after,
  .cf-submit::after,
  .contact-success::after,
  .cs-ring::before { animation: none !important; }
  .contact-hero-inner > *,
  .contact-form-card,
  .contact-aside,
  .contact-chips li,
  .cs-ring,
  .contact-errors { animation: none !important; }
  .contact-form-card:hover,
  .contact-info-card:hover { transform: none; }
}

/* الجوال: لمسات نهائية */
@media (max-width: 480px) {
  .contact-hero { padding: 28px 16px 26px; border-radius: 20px; }
  .contact-hero-sub { font-size: .88rem; }
  .contact-form-card { padding: 20px 13px 18px; border-radius: 18px; }
  .cf-submit { flex: 1 1 100%; }
  .contact-chips li { font-size: .74rem; padding: 6px 11px; }
}

/* ============================================================================
   [C-01 / C-02 / C-04 / C-06] Advertising compliance block — added 2026-10-02
   ----------------------------------------------------------------------------
   [C-02] A sticky bar scrolls over an ad container, which the policy forbids. Pages that
          actually serve an ad carry class="has-ads" on <body> (includes/header.php); on
          those pages the header is static. Pages with no advertising keep the sticky header.
   [C-01] A unit the browser decided it cannot fill collapses AFTER the browser sets
          data-ad-status="unfilled" — never before. Hiding the <ins> alone leaves its wrapper
          still holding the reserved min-height, so :has() collapses the wrapper too.
          No DOM, attribute, slot id, client or format is touched: pure CSS selectors.
   [C-04] Layout containment keeps an ad unit's internal layout from reflowing its
          neighbours; the existing min-heights in this file stay as the reservation.
   [C-06] Tap targets on the header icon controls reach 44x44, and animations are cancelled
          for users who asked for reduced motion (the two targeted blocks above stay).
   ========================================================================== */
body.has-ads .site-header { position: static !important; }

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
}
.ad-slot--adsense:has(> ins.adsbygoogle[data-ad-status="unfilled"]) {
    display: none;
}

.ad-slot--adsense { contain: layout; }

.icon-btn { min-width: 44px; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
