/*
Theme Name: Baladiyati - بلاغات المدينة
Theme URI: https://lovable.dev/
Author: Baladiyati Team
Author URI: https://lovable.dev/
Description: قالب ووردبريس احترافي عصري لاستقبال بلاغات المواطنين (تسرب مياه، فضلات، إنارة، طرق). تصميم Emerald Prestige مع دعم كامل للعربية و RTL.
Version: 1.0.79
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baladiyati
Tags: rtl-language-support, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
*/

:root {
  --primary: #064e3b;
  --primary-glow: #0d7a5f;
  --accent: #c9a84c;
  --accent-glow: #f0d78c;
  --bg: #faf9f5;
  --fg: #1a2e26;
  --muted: #6b7d75;
  --card: #ffffff;
  --border: #e3e8e4;
  --success: #0d7a5f;
  --warning: #d4a017;
  --radius: 14px;
  --shadow-civic: 0 18px 50px -18px rgba(6, 78, 59, 0.45);
  --shadow-gold: 0 12px 32px -12px rgba(201, 168, 76, 0.5);
  --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 60%, var(--accent) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: "Tajawal", "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.8;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
  text-rendering: optimizeLegibility;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-glow); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Reem Kufi", "Cairo", "Tajawal", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--fg);
}
h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { font-size: 1.0625rem; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1400px) { .container { max-width: 1340px; } }
@media (min-width: 1600px) { .container { max-width: 1440px; padding: 0 2rem; } }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}
.site-brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.15rem; color: var(--primary); }
.site-brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--gradient-hero);
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: var(--shadow-civic);
}
.site-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.site-nav a { font-weight: 600; color: var(--fg); }
.site-nav a:hover { color: var(--primary); }
.nav-toggle { display: none; background: transparent; border: 1.5px solid var(--border); border-radius: 10px; width: 44px; height: 44px; padding: 0; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: transform .2s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 12px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  border: none; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-civic);
}
.btn-primary:hover { background: var(--primary-glow); transform: translateY(-2px); color:#fff; }
.btn-gold {
  background: var(--accent); color: var(--primary);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--accent-glow); transform: translateY(-2px); }
.btn-outline {
  background: var(--card); color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 5rem 0 6rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(6,78,59,.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201,168,76,.12), transparent 45%);
  border-bottom: 1px solid var(--border);
}
.hero .badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: .4rem 1rem;
  font-size: .8rem; color: var(--muted); font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero-content { max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 .accent {
  display: block;
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.15rem; color: var(--muted); margin: 1.5rem auto 2.5rem; max-width: 560px; }
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero split layout with image (v1.0.79) */
.hero-split { padding: 4rem 0 5rem; }
.hero-split .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-split .hero-content { max-width: none; margin: 0; text-align: right; }
.hero-split .hero-content .cta-row { justify-content: flex-start; }
.hero-split .hero-content p { margin: 1.25rem 0 2rem; }
.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15,44,92,.35), 0 12px 30px -10px rgba(15,44,92,.18);
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border: 1px solid rgba(15,44,92,.08);
  transform: translateZ(0);
  transition: transform .5s ease, box-shadow .5s ease;
}
.hero-visual:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -20px rgba(15,44,92,.42), 0 16px 36px -10px rgba(15,44,92,.22); }
.hero-visual img { display: block; width: 100%; height: auto; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(15,44,92,.05));
}
@media (max-width: 900px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-split .hero-content { text-align: center; }
  .hero-split .hero-content .cta-row { justify-content: center; }
  .hero-split .hero-content p { margin-left: auto; margin-right: auto; }
}

/* ===== Sections ===== */
section.block { padding: 5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .eyebrow {
  color: var(--accent); font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem;
}
.section-head p { color: var(--muted); max-width: 600px; margin: 1rem auto 0; }

/* ===== Categories grid ===== */
.cat-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.25rem;
  text-align: center; transition: transform .2s, box-shadow .25s, border-color .2s;
}
.cat-card:hover {
  transform: translateY(-4px); border-color: var(--accent);
  box-shadow: var(--shadow-civic);
}
.cat-card .icon { font-size: 2.5rem; margin-bottom: .75rem; }
.cat-card h3 { font-size: 1.05rem; color: var(--primary); }

/* ===== Steps ===== */
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step {
  background: var(--card); padding: 2rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--border); position: relative;
}
.step .num {
  position: absolute; top: -16px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-hero); color: #fff;
  display: grid; place-items: center; font-weight: 800;
  box-shadow: var(--shadow-civic);
}
.step h3 { margin-bottom: .5rem; color: var(--primary); }
.step p { color: var(--muted); font-size: .95rem; }

/* ===== CTA strip ===== */
.cta-strip {
  background: var(--gradient-hero); color: #fff;
  padding: 4rem 2rem; border-radius: 20px;
  text-align: center; margin: 3rem auto;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,.85); margin: 1rem auto 2rem; max-width: 500px; }

/* ===== Posts / archive ===== */
.posts-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-civic); }
.post-card .thumb { aspect-ratio: 16/10; background: var(--muted); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.25rem; }
.post-card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.post-card h3 a { color: var(--fg); }
.post-card h3 a:hover { color: var(--primary); }
.post-card .meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }

/* ===== Single ===== */
.single-content {
  max-width: 760px; margin: 3rem auto;
  background: var(--card); padding: 2.5rem;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.single-content h1 { margin-bottom: 1rem; }
.single-content .meta { color: var(--muted); margin-bottom: 2rem; font-size: .9rem; }
.single-content p { margin-bottom: 1.25rem; }
.single-content img { border-radius: 12px; margin: 1.5rem 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary); color: rgba(255,255,255,.85);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.site-footer .cols {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent-glow); }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem; text-align: center; font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* ===== Form ===== */
.report-form {
  background: var(--card); padding: 2rem;
  border-radius: var(--radius); border: 1px solid var(--border);
  max-width: 640px; margin: 2rem auto;
}
.report-form label { display:block; font-weight:600; margin-bottom:.5rem; color: var(--primary); }
.report-form input, .report-form select, .report-form textarea {
  width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 1rem; background: var(--bg);
  margin-bottom: 1.25rem;
}
.report-form input:focus, .report-form textarea:focus, .report-form select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,78,59,.12);
}

/* ===== Pro polish (commercial-grade) ===== */
::selection { background: var(--accent); color: var(--primary); }
html { scrollbar-gutter: stable; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--primary) 22%, transparent); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--primary) 40%, transparent); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Smoother card depth shared across shortcodes */
.cat-card, .step, .post-card, .report-form, .single-content {
  box-shadow: 0 1px 2px rgba(6,78,59,.04), 0 8px 24px -16px rgba(6,78,59,.18);
}
.cat-card:hover, .post-card:hover { box-shadow: 0 20px 50px -22px rgba(6,78,59,.35); }

/* Buttons: refined micro-interaction */
.btn { position: relative; letter-spacing: .01em; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%); }
.btn-gold { background-image: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%); }

/* Hero: subtle grain texture */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(6,78,59,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
          mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.hero h1 { text-wrap: balance; }
.hero p { text-wrap: pretty; }

/* Section heads */
.section-head h2 { text-wrap: balance; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: .5rem; justify-content: center; }
.section-head .eyebrow::before, .section-head .eyebrow::after {
  content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px;
}

/* Forms — premium fields */
input, select, textarea, button { font-family: inherit; }
.report-form { padding: 2.5rem; }
.report-form input, .report-form select, .report-form textarea {
  background: #fff; transition: border-color .15s, box-shadow .15s, background .15s;
}
.report-form input:hover, .report-form select:hover, .report-form textarea:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}

/* Tables — shared base */
table { border-collapse: separate; border-spacing: 0; width: 100%; }
table th { background: color-mix(in srgb, var(--primary) 6%, #fff); color: var(--primary); font-weight: 700; text-align: right; }
table th, table td { padding: .8rem .9rem; border-bottom: 1px solid var(--border); }
table tr:hover td { background: color-mix(in srgb, var(--accent) 5%, transparent); }

/* Lightweight entrance */
@keyframes bld-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cat-card, .step, .post-card { animation: bld-rise .5s ease-out both; }
.cat-grid > *:nth-child(2), .steps > *:nth-child(2), .posts-grid > *:nth-child(2) { animation-delay: .06s; }
.cat-grid > *:nth-child(3), .steps > *:nth-child(3), .posts-grid > *:nth-child(3) { animation-delay: .12s; }
.cat-grid > *:nth-child(4), .steps > *:nth-child(4), .posts-grid > *:nth-child(4) { animation-delay: .18s; }
.cat-grid > *:nth-child(5) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Responsive layers ===== */
/* Large desktops — commercial showroom */
@media (min-width: 1280px) {
  .container { max-width: 1240px; padding: 0 2rem; }
  .hero { padding: 7rem 0 8rem; }
  section.block { padding: 6.5rem 0; }
  .section-head { margin-bottom: 4rem; }
  .cat-grid { gap: 1.75rem; grid-template-columns: repeat(5, 1fr); }
  .steps { gap: 2rem; grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .site-nav ul { gap: 2rem; }
}
@media (min-width: 1600px) {
  .container { max-width: 1360px; }
  html { font-size: 17px; }
}

/* Tablets */
@media (min-width: 641px) and (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .hero { padding: 4.5rem 0 5.5rem; }
  section.block { padding: 4.5rem 0; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .single-content { padding: 2rem; margin: 2rem auto; }
}

/* Phones */
@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .site-header .inner { flex-wrap: wrap; gap: .5rem; }
  .site-header .inner > .btn { display: none; }
  .site-nav { display: none; flex-basis: 100%; order: 3; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: .25rem; padding: .5rem 0; border-top: 1px solid var(--border); margin-top: .5rem; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: .85rem .5rem; border-radius: 8px; }
  .site-nav a:hover { background: rgba(6,78,59,.06); }
  .hero { padding: 3rem 0 4rem; }
  section.block { padding: 3rem 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .cat-card { padding: 1.25rem .75rem; }
  .cat-card .icon { font-size: 2rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 2.5rem 1.25rem; border-radius: 16px; }
  .report-form { padding: 1.25rem; }
  .single-content { padding: 1.25rem; margin: 1.25rem auto; }
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-strip, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ============================================================
   v1.0.69 — Marketing-grade polish (commercial showroom layer)
   ============================================================ */

/* Display font for headings — premium editorial feel */
@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@600;700;800&display=swap');
h1, h2, .hero h1, .section-head h2, .cta-strip h2, .single-content h1 {
  font-family: "Reem Kufi", "Tajawal", "Cairo", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* Refined background — soft gradient mesh */
body {
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(201,168,76,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(6,78,59,.06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

/* Hero — premium with floating orbs + glow ring */
.hero { padding: 6rem 0 7rem; }
.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.22), transparent 65%);
  top: -180px; left: -120px; filter: blur(20px);
}
.hero .badge {
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--accent) 10%, #fff));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  box-shadow: 0 6px 18px -8px rgba(201,168,76,.45);
  color: var(--primary);
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
.hero p { font-size: 1.2rem; line-height: 1.75; }

/* Trust strip — stats under hero */
.hero-stats {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 900px; margin: 3rem auto 0;
  padding: 1.5rem; border-radius: 18px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -28px rgba(6,78,59,.3);
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat .num {
  font-family: "Reem Kufi", sans-serif;
  font-size: 2.2rem; font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .stat .label { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Category cards — premium with gradient border on hover */
.cat-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--primary) 2%, #fff));
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--accent), var(--primary-glow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s;
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover { transform: translateY(-6px); }
.cat-card .icon {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto .9rem;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, #fff), color-mix(in srgb, var(--accent) 12%, #fff));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 16px -10px rgba(6,78,59,.3);
}

/* Steps — connector line + numbered chips */
.step {
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--accent) 3%, #fff));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
}
.step .num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  font-size: 1.05rem;
}

/* CTA strip — more dimensional */
.cta-strip {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 50%),
    var(--gradient-hero);
  box-shadow: 0 30px 60px -30px rgba(6,78,59,.55);
}
.cta-strip::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .5; pointer-events: none;
}
.cta-strip h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }

/* Post cards — magazine feel */
.post-card { background: #fff; }
.post-card .thumb { background: linear-gradient(135deg, var(--primary), var(--primary-glow)); }
.post-card .body { padding: 1.5rem; }
.post-card h3 { font-size: 1.2rem; line-height: 1.4; }

/* Tables — commercial dashboard polish */
table {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(6,78,59,.04), 0 12px 30px -20px rgba(6,78,59,.2);
  border: 1px solid var(--border);
}
table th {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 8%, #fff), color-mix(in srgb, var(--primary) 4%, #fff));
  font-size: .9rem; text-transform: none; letter-spacing: 0;
  border-bottom: 2px solid color-mix(in srgb, var(--primary) 15%, var(--border));
}
table td { font-size: .95rem; }
table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--primary) 2%, #fff); }
table tbody tr:hover td { background: color-mix(in srgb, var(--accent) 8%, #fff); }

/* Status pills inside reports */
.badge-pill, .status-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .75rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  border: 1px solid transparent;
}

/* Footer — richer */
.site-footer {
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(201,168,76,.15), transparent 60%),
    var(--primary);
  padding-top: 4rem;
}
.site-footer h4 { font-family: "Reem Kufi", sans-serif; font-size: 1.1rem; }

/* Section heads — premium eyebrow */
.section-head .eyebrow {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 15%, #fff), transparent);
  padding: .4rem 1.2rem; border-radius: 999px;
  color: var(--primary);
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* Buttons — premium depth */
.btn {
  padding: 1rem 1.8rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 24px -14px rgba(6,78,59,.5);
}
.btn-primary:hover { box-shadow: 0 20px 32px -16px rgba(6,78,59,.6); }
.btn-gold:hover { box-shadow: 0 20px 32px -16px rgba(201,168,76,.6); }

/* Form — premium */
.report-form {
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--primary) 2%, #fff));
  box-shadow: 0 30px 60px -30px rgba(6,78,59,.25);
  border: 1px solid color-mix(in srgb, var(--primary) 8%, var(--border));
}
.report-form label { font-size: .95rem; }

/* Single article — editorial */
.single-content {
  box-shadow: 0 30px 60px -30px rgba(6,78,59,.2);
}
.single-content h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.single-content p { font-size: 1.08rem; line-height: 1.85; color: #2a3d33; }

/* Floating mobile CTA */
@media (max-width: 640px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero-stats { padding: 1rem; gap: .75rem; }
  .hero-stats .stat .num { font-size: 1.5rem; }
  body { padding-bottom: 80px; }
  .mobile-cta {
    position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 60;
    display: flex; gap: .5rem;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 16px; padding: .6rem;
    box-shadow: 0 20px 40px -20px rgba(6,78,59,.4);
  }
  .mobile-cta .btn { flex: 1; padding: .8rem 1rem; font-size: .95rem; justify-content: center; }
}
@media (min-width: 641px) {
  .mobile-cta { display: none; }
}

/* Reveal animation on scroll */
@media (prefers-reduced-motion: no-preference) {
  .cat-card, .step, .post-card, .stat { animation-duration: .6s; }
}

/* ============================================================
   v1.0.72 — Admin Reports page: desktop width + unified buttons
   ============================================================ */

/* Reports admin page (slug: reports) — expand from 760px to full desktop width */
body.page-reports .single-content,
body.page-id-31 .single-content,
body.page-staff .single-content,
body.page-id-96 .single-content,
.single-content:has(.bld-reports-wrap),
.single-content:has(.bld-staff) {
  max-width: 1400px;
  margin: 1.5rem auto;
  padding: 1.75rem 1.75rem 2rem;
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--primary) 2%, #fff));
}
@media (min-width: 1600px) {
  body.page-reports .single-content,
  body.page-id-31 .single-content,
  body.page-staff .single-content,
  body.page-id-96 .single-content,
  .single-content:has(.bld-reports-wrap),
  .single-content:has(.bld-staff) { max-width: 1520px; }
}
body.page-reports .single-content > h1,
body.page-staff .single-content > h1,
.single-content:has(.bld-reports-wrap) > h1,
.single-content:has(.bld-staff) > h1 {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  color: var(--primary);
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  padding-bottom: .9rem;
  margin-bottom: 1.25rem;
}

/* Reports counter */
.bld-reports-count {
  display: inline-flex; align-items: center; gap: .5rem;
  background: color-mix(in srgb, var(--primary) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--border));
  color: var(--primary);
  padding: .5rem 1rem; border-radius: 999px;
  font-size: .92rem; font-weight: 700;
  margin-bottom: 1rem;
}
.bld-reports-count strong { color: var(--accent); font-size: 1.05rem; }

/* Table shell */
.bld-reports-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(6,78,59,.04), 0 14px 34px -22px rgba(6,78,59,.25);
}
.bld-reports-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: #fff; border-radius: 0; box-shadow: none; border: 0;
  font-size: .92rem;
}
.bld-reports-table thead th {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 9%, #fff), color-mix(in srgb, var(--primary) 4%, #fff));
  color: var(--primary);
  font-weight: 800;
  text-align: right;
  padding: .9rem 1rem;
  border-bottom: 2px solid color-mix(in srgb, var(--primary) 18%, var(--border));
  white-space: nowrap;
}
.bld-reports-table tbody td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.bld-reports-table tbody tr:last-child td { border-bottom: 0; }
.bld-reports-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--primary) 2%, #fff); }
.bld-reports-table tbody tr:hover td { background: color-mix(in srgb, var(--accent) 7%, #fff); }

/* Unified action buttons inside the table */
.bld-act {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .85rem;
  border-radius: 8px;
  font-size: .82rem; font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  margin-inline-end: .35rem;
  line-height: 1.2;
}
.bld-act:last-child { margin-inline-end: 0; }
.bld-act:hover { transform: translateY(-1px); }
.bld-act:active { transform: translateY(0); }

.bld-act-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(6,78,59,.55);
}
.bld-act-primary:hover {
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(6,78,59,.65);
}
.bld-act-danger {
  background: #fff;
  color: #b91c1c;
  border-color: color-mix(in srgb, #dc2626 35%, var(--border));
}
.bld-act-danger:hover {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
  box-shadow: 0 8px 16px -8px rgba(220,38,38,.5);
}

/* Tighter on small screens */
@media (max-width: 768px) {
  body.page-reports .single-content,
  .single-content:has(.bld-reports-wrap) { padding: 1rem; }
  .bld-reports-table { font-size: .85rem; }
  .bld-reports-table thead th,
  .bld-reports-table tbody td { padding: .65rem .6rem; }
}
