:root {
  color-scheme: light;
  --ink: #0d233a;
  --ink-soft: #36506b;
  --gold: #c8933b;
  --gold-light: #e0b15d;
  --sand: #f7f3ec;
  --paper: #fff;
  --line: #e8e1d5;
  --muted: #64748b;
  font-family: "Tajawal", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Tajawal", system-ui, sans-serif; background: var(--sand); line-height: 1.85; }
a { color: inherit; }
.skip-link { position: absolute; top: -5rem; right: 1rem; z-index: 10; padding: .6rem 1rem; border-radius: .5rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .8rem clamp(1rem, 4vw, 3.5rem); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; white-space: nowrap; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(200,147,59,.45); }
.brand strong, .brand small { display: block; line-height: 1.3; }
.brand strong { font-size: 1rem; font-weight: 800; }
.brand small { color: #9b6f22; font-size: .78rem; font-weight: 600; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.7rem, 2vw, 1.5rem); font-size: .9rem; font-weight: 700; }
.site-header nav a { text-decoration: none; color: var(--ink-soft); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: #9b6f22; }
.header-phone { direction: ltr; white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 800; }
.articles-page { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem 4rem; }
.articles-hero { position: relative; overflow: hidden; margin: 2rem 0 2rem; padding: clamp(2rem, 7vw, 4.8rem); border-radius: 1.5rem; color: #fff; background: linear-gradient(120deg, rgba(13,35,58,.98), rgba(22,50,92,.92)); }
.articles-hero::after { content: ""; position: absolute; left: -4rem; bottom: -7rem; width: 21rem; height: 21rem; border: 1px solid rgba(224,177,93,.32); border-radius: 50%; box-shadow: 0 0 0 1.5rem rgba(224,177,93,.07), 0 0 0 3rem rgba(224,177,93,.05); }
.eyebrow { display: inline-block; margin-bottom: .55rem; color: var(--gold-light); font-size: .9rem; font-weight: 800; letter-spacing: .02em; }
.articles-hero h1 { position: relative; z-index: 1; max-width: 740px; margin: 0; font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.25; font-weight: 800; }
.articles-hero p { position: relative; z-index: 1; max-width: 690px; margin: 1rem 0 0; color: #e2e8f0; font-size: clamp(1rem, 2vw, 1.15rem); }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.article-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: 0 12px 30px rgba(13,35,58,.06); transition: transform .22s ease, box-shadow .22s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(13,35,58,.12); }
.article-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e5e7eb; }
.article-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.article-card:hover .article-card-image img { transform: scale(1.035); }
.article-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.2rem; }
.article-category { display: inline-flex; width: fit-content; padding: .2rem .65rem; border-radius: 99px; background: #f7eedf; color: #8b611d; font-size: .78rem; font-weight: 800; }
.article-card h2 { margin: .8rem 0 .45rem; font-size: 1.28rem; line-height: 1.45; font-weight: 800; }
.article-card h2 a { text-decoration: none; }
.article-card h2 a:hover { color: #94651b; }
.article-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.article-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: 1.2rem; color: var(--muted); font-size: .78rem; }
.text-link, .all-articles { color: #94651b; font-weight: 800; text-decoration: none; white-space: nowrap; }
.articles-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.2rem; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid rgba(200,147,59,.35); border-radius: 1.2rem; background: #fff; }
.articles-cta h2 { margin: 0; font-size: 1.7rem; font-weight: 800; }
.articles-cta p { margin: .35rem 0 0; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .7rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.button-gold { background: var(--gold); color: #fff; }
.button-gold:hover { background: #a77729; }
.button-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.button-outline:hover { border-color: var(--gold); }
.callout-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.article-shell { max-width: 930px; margin: 0 auto; padding: 1.2rem 1.25rem 4rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .5rem 0 1.5rem; color: var(--muted); font-size: .85rem; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.article-content { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: 0 16px 44px rgba(13,35,58,.06); }
.article-heading { padding: clamp(1.35rem, 4vw, 2.8rem) clamp(1.2rem, 5vw, 3.4rem) 1rem; }
.article-heading h1 { margin: .75rem 0 .5rem; font-size: clamp(1.85rem, 4.4vw, 2.8rem); line-height: 1.32; font-weight: 800; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .65rem 0 1.2rem; color: var(--muted); font-size: .83rem; }
.article-lead { margin: 0; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.95; }
.article-cover { margin: .5rem clamp(1.2rem, 5vw, 3.4rem) 0; }
.article-cover img { display: block; width: 100%; max-height: 490px; object-fit: cover; border-radius: .9rem; }
.article-cover figcaption { margin-top: .45rem; color: var(--muted); font-size: .78rem; }
.article-body { max-width: 760px; margin: 0 auto; padding: .7rem clamp(1.2rem, 5vw, 2rem) 2rem; }
.article-section { padding-top: 1.2rem; }
.article-section h2, .related-articles h2 { margin: 0 0 .5rem; color: var(--ink); font-size: 1.45rem; line-height: 1.5; font-weight: 800; }
.article-section p { margin: .65rem 0; color: #334155; font-size: 1.02rem; line-height: 2.05; }
.article-section ul { margin: .5rem 0 1rem; padding-right: 1.3rem; color: #334155; }
.article-section li { margin: .3rem 0; padding-right: .2rem; }
.article-section li::marker { color: var(--gold); }
.contact-callout { margin: .3rem clamp(1.2rem, 5vw, 3.4rem) 2rem; padding: clamp(1.25rem, 3.5vw, 2rem); border-radius: 1rem; background: #f8f4ec; }
.callout-kicker { color: #94651b; font-size: .85rem; font-weight: 800; }
.contact-callout h2 { margin: .2rem 0; font-size: 1.45rem; font-weight: 800; }
.contact-callout p { margin: .35rem 0 1rem; color: #475569; }
.related-articles { margin: 0 clamp(1.2rem, 5vw, 3.4rem) 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.related-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.related-link { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .8rem; text-decoration: none; }
.related-link > span:first-child { color: #94651b; font-size: .75rem; font-weight: 800; }
.related-link strong { padding-left: 1.2rem; font-weight: 800; }
.related-arrow { position: absolute; left: 1rem; bottom: .75rem; color: var(--gold); }
.all-articles { display: inline-block; margin-top: 1rem; }
.site-footer { padding: 2rem 1.25rem; text-align: center; background: var(--ink); color: #cbd5e1; }
.footer-brand { color: #fff; font-weight: 800; text-decoration: none; }
.site-footer p { max-width: 620px; margin: .5rem auto; color: #aebdcc; font-size: .85rem; }
.footer-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: .8rem; }
.footer-actions a { color: var(--gold-light); font-weight: 700; text-decoration: none; }
@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; justify-content: center; padding-top: .45rem; border-top: 1px solid var(--line); }
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .site-header { gap: .55rem; padding: .7rem .85rem; }
  .brand { gap: .45rem; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: .88rem; }
  .brand small { font-size: .69rem; }
  .header-phone { font-size: .83rem; }
  .site-header nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; gap: 1rem; font-size: .82rem; }
  .articles-page { padding: 0 .85rem 2.5rem; }
  .articles-hero { margin: 1rem 0 1.2rem; padding: 1.6rem 1.25rem; border-radius: 1rem; }
  .articles-grid { grid-template-columns: 1fr; gap: .9rem; }
  .article-card-body { padding: 1rem; }
  .articles-cta { align-items: flex-start; flex-direction: column; margin-top: 1.2rem; }
  .article-shell { padding: .75rem .7rem 2.5rem; }
  .breadcrumbs { margin-bottom: .9rem; font-size: .76rem; }
  .article-content { border-radius: .95rem; }
  .article-heading { padding: 1.2rem 1rem .8rem; }
  .article-heading h1 { font-size: 1.8rem; }
  .article-lead { font-size: 1rem; }
  .article-cover { margin: .3rem 1rem 0; }
  .article-cover img { max-height: 300px; }
  .article-body { padding: .3rem 1rem 1.3rem; }
  .article-section h2 { font-size: 1.25rem; }
  .article-section p { font-size: .98rem; }
  .contact-callout { margin: 0 1rem 1.5rem; }
  .related-articles { margin: 0 1rem 1.5rem; }
  .related-list { grid-template-columns: 1fr; }
  .callout-actions { width: 100%; }
  .callout-actions .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
