/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #1a2332;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
}

:root {
  --gold: #c9a567;
  --gold-dark: #a07f3d;
  --gold-light: #e8d9b5;
  --gold-tint: #faf6ed;
  --navy: #0a2540;
  --navy-light: #1c2541;
  --cream: #faf8f3;
  --warm: #d97706;
  --text: #1a2332;
  --text-muted: #6a7585;
  --border: #ece8de;
  --shadow-sm: 0 1px 3px rgba(10,37,64,.06), 0 1px 2px rgba(10,37,64,.04);
  --shadow-md: 0 6px 18px rgba(10,37,64,.08), 0 2px 6px rgba(10,37,64,.05);
  --shadow-lg: 0 18px 40px rgba(10,37,64,.14), 0 6px 12px rgba(10,37,64,.08);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============ Top Bar ============ */
.topbar {
  background: var(--navy);
  color: #c8d1de;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201,165,103,.15);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-tag { color: var(--gold-light); font-weight: 500; }
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links a { color: #c8d1de; transition: color .2s ease; }
.topbar-links a:hover { color: var(--gold); }

/* ============ Header ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 24px;
}
.logo img { height: 56px; width: auto; display: block; }
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 8px;
  color: var(--text);
  transition: all .2s ease;
  letter-spacing: .01em;
}
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a.active {
  color: var(--gold-dark);
  background: var(--gold-tint);
}
.search-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-dark);
  transition: all .2s ease;
}
.search-icon:hover { background: var(--gold); color: #fff; }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 110px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10,37,64,.85) 0%, rgba(10,37,64,.7) 50%, rgba(28,37,65,.85) 100%),
    url('https://picsum.photos/seed/dubai-hero-bg/1800/900');
  background-size: cover;
  background-position: center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,165,103,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(217,119,6,.15) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero-pill {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(201,165,103,.18);
  border: 1px solid rgba(201,165,103,.4);
  color: var(--gold-light);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.hero-accent { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-size: clamp(15px, 1.6vw, 19px);
  opacity: .92;
  margin-bottom: 38px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}
.hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 48px rgba(0,0,0,.25), 0 4px 12px rgba(0,0,0,.15);
  max-width: 680px;
  margin: 0 auto 26px;
}
.hero-search-icon {
  display: flex; align-items: center;
  padding: 0 8px 0 16px;
  color: var(--text-muted);
}
.hero-search input {
  flex: 1;
  border: none; outline: none;
  padding: 14px 8px;
  font-family: inherit;
  font-size: 16px;
  background: transparent;
  color: var(--text);
  min-width: 0;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search button {
  background: var(--gold);
  color: #fff;
  padding: 13px 30px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  transition: all .2s ease;
}
.hero-search button:hover { background: var(--gold-dark); }
.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: .9;
}
.hero-tags > span { font-weight: 500; opacity: .8; margin-right: 6px; }
.hero-tags a {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: all .2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-tags a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* ============ Sections ============ */
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -.01em;
}
.section-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  color: var(--gold-dark);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: all .2s ease;
}
.section-link:hover { border-bottom-color: var(--gold); }
.section-link svg { transition: transform .2s ease; }
.section-link:hover svg { transform: translateX(4px); }

/* ============ Categories Grid ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  position: relative;
  display: block;
  height: 220px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .35s ease, box-shadow .35s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
}
.cat-card-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(201,165,103,.95);
  color: var(--navy);
  align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: transform .3s ease;
}
.cat-card:hover .cat-card-icon { transform: scale(1.08) rotate(-3deg); }
.cat-card-inner h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.cat-card-count {
  font-size: 13px;
  opacity: .9;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* ============ Featured Card ============ */
.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .35s ease;
}
.featured-card:hover { transform: translateY(-4px); }
.featured-img {
  background-size: cover;
  background-position: center;
  min-height: 480px;
}
.featured-body {
  padding: 56px 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-pill {
  display: inline-block;
  background: var(--gold-tint);
  color: var(--gold-dark);
  padding: 6px 14px;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  align-self: flex-start;
}
.featured-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.featured-excerpt {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.featured-meta {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.featured-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.featured-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 15px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  align-self: flex-start;
  transition: gap .2s ease;
}
.featured-card:hover .featured-cta { gap: 14px; }

/* ============ Articles Grid ============ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-img {
  position: relative;
  display: block;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
}
.article-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.article-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-title a { color: var(--text); transition: color .2s ease; }
.article-title a:hover { color: var(--gold-dark); }
.article-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.article-meta > span {
  display: inline-flex; align-items: center; gap: 6px;
}
.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-dark);
  font-weight: 700;
  transition: gap .2s ease;
}
.read-more:hover { gap: 10px; }

/* ============ CTA section ============ */
.cta-inner { max-width: 720px; margin: 0 auto; padding: 20px 0; }
.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  margin-bottom: 18px;
  color: #fff;
}
.cta-subtitle {
  font-size: 17px;
  opacity: .8;
  margin-bottom: 32px;
  color: #c8d1de;
}
.cta-button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 32px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  transition: all .2s ease;
  box-shadow: 0 6px 20px rgba(201,165,103,.4);
}
.cta-button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,165,103,.5);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-light);
  color: #c8d1de;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 24px 40px;
}
.footer-logo { height: 60px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.8; opacity: .8; max-width: 380px; }
.footer-col h4 {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: #c8d1de;
  opacity: .85;
  transition: all .2s ease;
}
.footer-col ul a:hover { opacity: 1; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(201,165,103,.12);
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
  opacity: .7;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-img { min-height: 320px; }
  .featured-body { padding: 40px 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 70px 20px 60px; }
  .hero-search { padding: 5px; }
  .hero-search input { padding: 12px 6px; font-size: 15px; }
  .hero-search button { padding: 11px 20px; font-size: 14px; }
  .header-inner { gap: 16px; padding: 14px 20px; }
  .main-nav { display: none; }
  .logo img { height: 44px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .featured-body { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; padding: 50px 20px 28px; gap: 32px; }
  .section { padding: 50px 0; }
  .topbar-tag { display: none; }
}

/* ============ Single Article Page ============ */
.single-article { padding: 40px 0 60px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--gold-dark); transition: color .2s ease; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .current { color: var(--text-muted); }
.breadcrumbs span { opacity: .5; }
.breadcrumbs-light { color: rgba(255,255,255,.85); }
.breadcrumbs-light a { color: var(--gold-light); }
.breadcrumbs-light .current { color: rgba(255,255,255,.7); }

.article-header { max-width: 880px; margin: 0 auto 36px; }
.article-header .badge {
  display: inline-block;
  background: var(--gold-tint); color: var(--gold-dark);
  padding: 6px 14px; border-radius: 16px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 18px; text-decoration: none;
}
.article-header h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.article-excerpt-lead { font-size: 18px; line-height: 1.75; color: var(--text-muted); margin-bottom: 22px; }
.article-meta-row { display: flex; gap: 24px; font-size: 14px; color: var(--text-muted); padding-bottom: 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; font-family: 'Inter', sans-serif; }

.article-hero-img { max-width: 1100px; margin: 0 auto 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.article-hero-img img { width: 100%; height: auto; display: block; }

.article-content { max-width: 800px; margin: 0 auto; font-size: 17px; line-height: 1.85; color: #2a3441; }
.article-content p { margin-bottom: 20px; }
.article-content h2 { font-size: 28px; font-weight: 900; margin: 40px 0 16px; line-height: 1.3; color: var(--navy); }
.article-content h3 { font-size: 22px; font-weight: 700; margin: 30px 0 12px; color: var(--navy); }
.article-content h4 { font-size: 19px; font-weight: 700; margin: 24px 0 10px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 20px; }
.article-content li { margin-bottom: 8px; list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 18px 24px;
  margin: 26px 0;
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-muted);
}
.article-content figure { margin: 28px auto; text-align: center; }
.article-content figure img { max-width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); margin: 0 auto; }
.article-content figcaption { font-size: 14px; color: var(--text-muted); margin-top: 10px; font-style: italic; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.article-content a { color: var(--gold-dark); text-decoration: underline; text-decoration-color: rgba(201,165,103,.4); text-underline-offset: 3px; }
.article-content a:hover { text-decoration-color: var(--gold-dark); }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; font-family: 'Inter', sans-serif; }
.article-content table th, .article-content table td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
.article-content table thead th { background: var(--gold-tint); font-weight: 700; color: var(--navy); }
.article-content table tbody tr:nth-child(even) { background: var(--cream); }
.article-content strong, .article-content b { font-weight: 700; color: var(--navy); }

.article-share { max-width: 800px; margin: 36px auto; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: center; font-size: 14px; font-family: 'Inter', sans-serif; }
.article-share span { color: var(--text-muted); margin-right: auto; font-weight: 600; }
.article-share a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--navy);
  font-size: 16px; font-weight: 700;
  transition: all .2s ease;
}
.article-share a:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

.related-articles { max-width: 1280px; margin: 56px auto 0; }

/* ============ Category Hero ============ */
.category-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 70px;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.category-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; margin: 14px 0 10px; text-shadow: 0 2px 12px rgba(0,0,0,.3); letter-spacing: -.01em; }
.category-tagline { font-size: 18px; opacity: .92; margin-bottom: 16px; max-width: 720px; }
.category-count {
  display: inline-block;
  background: rgba(201,165,103,.25);
  border: 1px solid rgba(201,165,103,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px; border-radius: 18px;
  font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif;
  color: var(--gold-light);
}

/* ============ Pagination ============ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 50px; flex-wrap: wrap; font-family: 'Inter', sans-serif; }
.pagination a, .pagination .pg-current, .pagination .pg-ellipsis {
  min-width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px;
  background: #fff; border: 1px solid var(--border); color: var(--text);
  transition: all .2s ease;
}
.pagination a:hover { background: var(--gold-tint); border-color: var(--gold); color: var(--gold-dark); }
.pagination .pg-current { background: var(--gold); border-color: var(--gold); color: #fff; }
.pagination .pg-ellipsis { background: transparent; border: none; color: var(--text-muted); }

/* ============ Search Page ============ */
.search-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 50px 0 44px;
}
.search-hero-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  margin-bottom: 22px;
  text-align: center;
}
.search-q { color: var(--gold); }
.search-bar-form {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.search-bar-form .hero-search-icon { padding: 0 6px 0 16px; color: var(--text-muted); }
.search-bar-form input[type="text"] {
  flex: 1; border: none; outline: none;
  padding: 12px 6px;
  font-family: inherit;
  font-size: 15px;
  background: transparent;
  color: var(--text);
}
.search-bar-form button {
  background: var(--gold); color: #fff; border: none;
  padding: 11px 24px; border-radius: 9px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background .2s ease;
}
.search-bar-form button:hover { background: var(--gold-dark); }
.hp-field {
  position: absolute !important; left: -9999px !important; top: -9999px !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important;
}
.search-msg {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-muted);
}
.search-msg h3 { font-size: 24px; color: var(--text); margin-bottom: 12px; }
.search-msg p { font-size: 16px; }
.search-msg a { color: var(--gold-dark); font-weight: 700; text-decoration: underline; }

/* ============ Category Cards — Icon-based (override) ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 22px;
  background: linear-gradient(160deg, #ffffff 0%, var(--cream) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: auto;
  min-height: 210px;
  background-image: none !important;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(201,165,103,.1) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity .3s ease;
  opacity: .6;
}
.cat-card:hover {
  border-color: var(--gold);
  background: linear-gradient(160deg, #ffffff 0%, var(--gold-tint) 100%);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cat-card:hover::before { opacity: 1; }
.cat-card-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(201,165,103,.32);
  transition: transform .35s ease;
}
.cat-card:hover .cat-card-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
}
.cat-card-text { position: relative; }
.cat-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.3;
  text-shadow: none;
}
.cat-card-count {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
/* override صور خلفية قد تبقى من قواعد سابقة */
.cat-card-inner { display: none; }

@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { padding: 24px 14px; min-height: 180px; }
  .cat-card-icon-wrap { width: 54px; height: 54px; }
  .cat-card h3 { font-size: 16px; }
}
