/* ===== CSS Variables ===== */
:root {
  --color-primary: #0c2340;
  --color-accent: #c8944a;
  --color-accent-hover: #b07e3a;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0dcd7;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1400px;
  --section-pad: 80px 0;
  --radius: 8px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s;
}
.primary-nav a:hover { color: var(--color-accent); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 8px;
}
.lang-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.28);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255,255,255,.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  transition: color .2s;
}
.lang-btn[hreflang="ar"],
.lang-btn[data-lang="ar"] {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: none;
}
.lang-btn:hover { color: rgba(255,255,255,.9); }
.lang-btn.is-active {
  color: var(--color-accent);
}
html[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .site-header .container,
html[dir="rtl"] .primary-nav,
html[dir="rtl"] .footer-top,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .breadcrumb ol,
html[dir="rtl"] .article-hero-meta,
html[dir="rtl"] .category-hero-meta {
  direction: rtl;
}

/* ===== Hero Slider ===== */
.hero {
  position: relative;
  background: #f4f1ec;
  color: var(--color-primary);
  overflow: hidden;
  min-height: 620px;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 18% 42%, transparent 0 38%, rgba(180,155,120,.12) 38.5% 39%, transparent 40%),
    radial-gradient(circle at 22% 48%, transparent 0 52%, rgba(180,155,120,.1) 52.5% 53%, transparent 54%),
    radial-gradient(circle at 12% 55%, transparent 0 28%, rgba(180,155,120,.1) 28.5% 29%, transparent 30%);
  pointer-events: none;
}
.hero-slider {
  position: relative;
  z-index: 1;
  min-height: 620px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility .55s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 4% 120px 8%;
  max-width: 560px;
  z-index: 2;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-label::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.hero h1,
.hero .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-weight: 700;
}
.hero p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 32px;
  max-width: 420px;
  line-height: 1.7;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 16px 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-hero:hover { background: #16345a; }
.btn-hero .btn-arrow {
  color: var(--color-accent);
  font-size: 1.1rem;
  line-height: 1;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s;
}
.btn-primary:hover { background: #16345a; }
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s;
}
.btn-accent:hover { background: var(--color-accent-hover); }

/* Curved circular image (matches design) */
.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  /* Large circle cut on the left edge */
  clip-path: circle(78% at 72% 50%);
  -webkit-clip-path: circle(78% at 72% 50%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform .8s ease;
}
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-read-time {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  border-radius: 2px;
}
.hero-read-time .clock {
  color: var(--color-accent);
  font-size: 1rem;
}

/* Pagination 01 —— 02 03 04 */
.hero-nav {
  position: absolute;
  left: 8%;
  bottom: 36px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-nav-btn {
  background: none;
  border: none;
  padding: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.35;
  cursor: pointer;
  position: relative;
  transition: opacity .2s;
}
.hero-nav-btn.is-active {
  opacity: 1;
}
.hero-nav-btn.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-accent);
}
.hero-nav-btn.is-active::before {
  content: '';
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.45;
  transform: translateY(-50%);
}

/* ===== Section Headings ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.section-label--after::before { display: none; }
.section-label--after::after {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-primary);
  line-height: 1.2;
}

/* ===== Latest Articles ===== */
.latest-articles {
  padding: var(--section-pad);
  background: #f7f5f2;
}
.latest-articles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 42px;
}
.view-all {
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  margin-bottom: 8px;
}
.view-all-arrow {
  display: inline-block;
  width: 56px;
  height: 1px;
  background: var(--color-accent);
  position: relative;
}
.view-all-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--color-accent);
  border-top: 1.5px solid var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
}
.view-all:hover { color: var(--color-accent); }

.articles-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 28px;
  align-items: stretch;
}

/* Featured left card */
.article-featured {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.article-featured-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.article-featured-media {
  position: relative;
  overflow: hidden;
}
.article-featured-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.featured-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 16px;
}
.article-featured-body {
  position: relative;
  padding: 26px 24px 32px;
  flex: 1;
}
.article-featured-body .card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
}
.article-featured-body .card-meta {
  color: #9a9a9a;
  font-size: 0.82rem;
}
.featured-arrow {
  position: absolute;
  right: 24px;
  bottom: 28px;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
}
.featured-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--color-accent);
  border-top: 1.5px solid var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
}
.article-featured-link:hover .card-title { color: var(--color-accent); }

.card-category {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: 6px;
  font-weight: 700;
}
.card-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 6px;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* Right 2x3 grid */
.articles-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 0;
}
.article-mini {
  border-bottom: 1px solid #e6e2dc;
  padding: 18px 0;
}
.article-mini:nth-child(1),
.article-mini:nth-child(2) { padding-top: 0; }
.article-mini:nth-last-child(1),
.article-mini:nth-last-child(2) {
  border-bottom: none;
  padding-bottom: 0;
}
.article-mini a {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  color: inherit;
}
.article-mini img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  display: block;
}
.article-mini .card-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 6px;
}
.article-mini .card-meta {
  color: #9a9a9a;
  font-size: 0.75rem;
}
.article-mini a:hover .card-title { color: var(--color-accent); }

/* ===== Browse by Category ===== */
.categories {
  position: relative;
  padding: var(--section-pad);
  background: #0a1f38;
  color: #fff;
  overflow: hidden;
}
.categories::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/city-skyline.jpg') center / cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.categories::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,56,.82) 0%, rgba(10,31,56,.88) 100%);
  pointer-events: none;
  z-index: 0;
}
.categories .container {
  position: relative;
  z-index: 1;
}
.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.categories-header > div:first-child { max-width: 560px; }
.categories .section-label { color: #fff; }
.categories .section-title { color: #fff; }
.categories-intro {
  margin-top: 12px;
  color: rgba(255,255,255,.72);
  font-size: 0.98rem;
  line-height: 1.7;
}
.categories-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.categories-controls[hidden] {
  display: none !important;
}
.cat-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cat-slider-btn:hover:not(:disabled) {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cat-slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: transparent;
  border-color: rgba(255,255,255,.2);
}
.categories-carousel {
  --cat-per-view: 3;
  --cat-gap: 20px;
}
.categories-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories-slider::-webkit-scrollbar {
  display: none;
}
.categories-track {
  display: flex;
  gap: var(--cat-gap);
  will-change: scroll-position;
}
.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  flex: 0 0 calc((100% - (var(--cat-per-view) - 1) * var(--cat-gap)) / var(--cat-per-view));
  min-height: 340px;
  border-radius: 18px;
  background: #071628;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: box-shadow .25s ease;
  scroll-snap-align: start;
}
.category-card:hover {
  box-shadow: 0 16px 36px rgba(0,0,0,.32);
}
.category-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.category-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  background: linear-gradient(transparent 40%, rgba(7, 26, 48, 0.92) 100%);
  border-radius: 18px;
}
.category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0;
  text-transform: none;
}
.category-card .explore-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
}
.category-card:hover img { transform: scale(1.08); }
.category-card:hover .explore-link { color: #fff; }

@media (max-width: 1200px) {
  .category-card,
  .category-card img { min-height: 320px; }
}

/* ===== Popular Topics ===== */
.popular-topics {
  padding: var(--section-pad);
  background: var(--color-bg-alt);
}
.popular-topics-header {
  margin-bottom: 36px;
  max-width: 640px;
}
.popular-topics-header .section-title {
  margin-bottom: 0;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
  align-items: stretch;
}
.topic-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(12, 35, 64, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(12, 35, 64, 0.1);
  border-color: #d8d2c9;
}
.topic-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 24px;
  min-width: 0;
}
.topic-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-accent);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.topic-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  color: var(--color-primary);
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.topic-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.6;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.topic-card .explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.72rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.topic-card:hover .explore-link {
  color: var(--color-primary);
  gap: 12px;
}
.topic-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #e8e4de;
}
.topic-media img,
.topic-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.topic-card:hover .topic-media img {
  transform: scale(1.06);
}

html[dir="rtl"] .topic-card .explore-link span[aria-hidden="true"] {
  display: inline-block;
  transform: scaleX(-1);
}

/* ===== Contact ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.contact {
  position: relative;
  padding: var(--section-pad);
  background: #0a1f38;
  color: #fff;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/villa-resort.jpg') center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,31,56,.94) 0%, rgba(10,31,56,.78) 55%, rgba(10,31,56,.7) 100%);
  pointer-events: none;
}
.contact .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.contact .section-label { color: #fff; }
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin: 10px 0 16px;
  color: #fff;
}
.contact-info > p {
  color: rgba(255,255,255,.72);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 28px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
}
.contact-detail-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  transition: background .2s, border-color .2s;
}
.contact-detail-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(200,148,74,.45);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,148,74,.15);
  color: var(--color-accent);
  font-size: 1.1rem;
  border: 1px solid rgba(200,148,74,.35);
}
.contact-detail-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 3px;
}
.contact-details a,
.contact-details span:not(.contact-icon):not(.contact-detail-label) {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
}
.contact-details a:hover { color: var(--color-accent); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label { display: block; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #f7f5f2;
  border: 1px solid #e5e1db;
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--color-primary);
  font-size: 0.92rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200,148,74,.18);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9a9a9a; }
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 15px 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .2s;
  margin-top: 4px;
}
.btn-submit span { color: var(--color-accent); }
.btn-submit:hover {
  background: #16345a;
  transform: translateY(-1px);
}

/* ===== Trending Articles ===== */
.trending {
  padding: 60px 0;
  background: var(--color-bg-alt);
}
.trending .container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
}
.trending-intro { padding-right: 20px; }
.trending-intro h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.trending-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.trending-item { position: relative; }
.trending-item .trend-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.trending-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 6px;
}
.trending-item .card-meta { font-size: 0.75rem; color: #999; }

/* ===== Footer ===== */
.site-footer {
  background: #071628;
  color: #ccc;
  padding: 72px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 1.6fr 1fr;
  gap: 40px;
  margin-bottom: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo {
  display: inline-flex;
  margin-bottom: 18px;
}
.footer-brand .logo img { height: 40px; width: auto; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: border-color .2s, color .2s, background .2s;
}
.footer-social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(200,148,74,.1);
}
.footer-social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.footer-col h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.82rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
  transition: color .2s, padding-left .2s;
}
.footer-col a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: rgba(255,255,255,.85);
  transition: border-color .2s, background .2s;
}
a.footer-contact-card:hover {
  border-color: rgba(200,148,74,.45);
  background: rgba(255,255,255,.08);
}
.footer-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,148,74,.14);
  color: var(--color-accent);
  border: 1px solid rgba(200,148,74,.3);
  font-size: 0.95rem;
}
.footer-contact-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}
.footer-contact-card strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2px;
  font-weight: 700;
}
.footer-contact-card span {
  font-size: 0.86rem;
  line-height: 1.35;
}
.footer-contact-card--offices {
  align-items: start;
}
.footer-offices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
}
.footer-office-line {
  display: block;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}
.footer-office-name {
  color: #fff;
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,.45);
}
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--color-accent); }
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(200,148,74,.4);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.back-to-top:hover {
  background: var(--color-accent);
  color: #fff;
}

.quick-contact {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html[dir="rtl"] .quick-contact {
  right: auto;
  left: 20px;
}
.quick-contact a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(12, 35, 64, .28);
  transition: transform .2s, box-shadow .2s;
}
.quick-contact a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(12, 35, 64, .35);
}
.quick-contact-call { background: var(--color-accent); }
.quick-contact-whatsapp { background: #25d366; }
.quick-contact svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}

/* ===== Article Detail Page ===== */
/* ===== Breadcrumb ===== */
.breadcrumb-wrap {
  background: #f7f5f2;
  border-bottom: 1px solid #e8e4de;
  padding: 14px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: #888;
  padding: 0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li:not(:last-child)::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #c4bdb3;
  border-top: 1.5px solid #c4bdb3;
  transform: rotate(45deg);
  margin-left: 2px;
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #e5e1db;
  border-radius: 999px;
  transition: border-color .2s, color .2s, background .2s;
}
.breadcrumb a:hover {
  color: var(--color-accent);
  border-color: rgba(200,148,74,.45);
  background: #fffaf3;
}
.breadcrumb [aria-current="page"] {
  color: var(--color-accent);
  font-weight: 700;
  padding: 6px 4px;
}
/* ===== Article Detail ===== */
.article-hero-section {
  position: relative;
  min-height: 480px;
  padding: 36px 0 64px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #0a1f38;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.article-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,22,40,.9) 0%, rgba(7,22,40,.55) 60%, rgba(7,22,40,.4) 100%),
    linear-gradient(180deg, rgba(7,22,40,.25) 0%, rgba(7,22,40,.65) 100%);
}
.article-hero-section > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.article-hero-section .breadcrumb { margin-bottom: 48px; }
.article-hero-section .breadcrumb a {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.article-hero-section .breadcrumb a:hover {
  background: rgba(255,255,255,.2);
  border-color: var(--color-accent);
  color: #fff;
}
.article-hero-section .breadcrumb li:not(:last-child)::after {
  border-color: rgba(255,255,255,.45);
}
.article-hero-section .breadcrumb [aria-current="page"] { color: var(--color-accent); }
.article-hero-content { max-width: 760px; }
.article-hero-content .section-label {
  color: #fff;
  margin-bottom: 14px;
}
.article-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 22px;
  color: #fff;
}
.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article-hero-meta time,
.article-hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.article-hero-meta time {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.article-detail {
  padding: 48px 0 80px;
  background: #f7f5f2;
  position: relative;
  z-index: 2;
}
.article-content-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e8e4de;
  box-shadow: 0 18px 48px rgba(12,35,64,.08);
  max-width: 920px;
  margin: 0 auto;
}
.article-cover {
  margin: 0;
  padding: 28px 28px 0;
  background: #fff;
}
.article-cover img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}
.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 28px 32px;
}
.article-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}
.article-gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.article-body {
  padding: 36px 48px 48px;
  max-width: none;
}
.article-lead {
  font-size: 1.2rem;
  line-height: 1.85;
  color: #333;
  margin: 0 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}
/* .article-lead::first-letter {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1;
  float: left;
  margin: 4px 10px 0 0;
  color: var(--color-accent);
  font-weight: 700;
} */
.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-primary);
  margin: 36px 0 14px;
  line-height: 1.25;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}
html[dir="rtl"] .article-body {
  text-align: right;
}
html[dir="rtl"] .article-body h2 {
  padding-left: 0;
  border-left: 0;
  padding-right: 16px;
  border-right: 3px solid var(--color-accent);
}
html[dir="rtl"] .article-body ul li {
  padding: 10px 28px 10px 0;
}
html[dir="rtl"] .article-body ul li::before {
  left: auto;
  right: 0;
}
.article-body p {
  margin-bottom: 18px;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.85;
}
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin: 28px 0 12px;
  line-height: 1.3;
}
.article-body h3 { font-size: 1.35rem; }
.article-body h4 { font-size: 1.2rem; }
.article-body h5,
.article-body h6 { font-size: 1.05rem; }
.article-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--color-accent-hover); }
.article-body strong,
.article-body b { color: #333; font-weight: 700; }
.article-body em,
.article-body i { font-style: italic; }
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 24px 0;
}
.article-body hr {
  border: 0;
  border-top: 1px solid #e8e4de;
  margin: 32px 0;
}
.article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--color-accent);
  background: #f7f5f2;
  border-radius: 0 12px 12px 0;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
}
html[dir="rtl"] .article-body blockquote {
  border-left: 0;
  border-right: 3px solid var(--color-accent);
  border-radius: 12px 0 0 12px;
}
.article-body ol {
  margin: 0 0 18px;
  padding-left: 1.4rem;
  color: #444;
  line-height: 1.7;
}
html[dir="rtl"] .article-body ol {
  padding-left: 0;
  padding-right: 1.4rem;
}
.article-body ol li {
  margin-bottom: 8px;
  padding-left: 4px;
}
html[dir="rtl"] .article-body ol li {
  padding-left: 0;
  padding-right: 4px;
}
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: #f3f0eb;
  color: #333;
  padding: 0.15em 0.4em;
  border-radius: 6px;
}
.article-body pre {
  margin: 24px 0;
  padding: 16px 18px;
  overflow-x: auto;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}
.article-body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #444;
  border: 1px solid #e8e4de;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.article-body .tableWrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
}
.article-body .tableWrapper table {
  margin: 0;
  min-width: 480px;
}
.article-body th,
.article-body td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8e4de;
  border-right: 1px solid #eee;
  text-align: start;
  vertical-align: top;
}
html[dir="rtl"] .article-body th,
html[dir="rtl"] .article-body td {
  border-right: 0;
  border-left: 1px solid #eee;
}
.article-body th:last-child,
.article-body td:last-child {
  border-right: 0;
}
html[dir="rtl"] .article-body th:last-child,
html[dir="rtl"] .article-body td:last-child {
  border-left: 0;
}
.article-body tr:last-child td {
  border-bottom: 0;
}
.article-body th {
  background: #f7f5f2;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}
.article-body tbody tr:nth-child(even) td {
  background: #faf9f7;
}
.article-video-embed {
  position: relative;
  width: 100%;
  margin: 28px 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
}
.article-video-embed iframe,
.article-video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.article-points {
  background: #f7f5f2;
  border: 1px solid #e8e4de;
  border-radius: 16px;
  padding: 24px 26px;
  margin: 28px 0;
}
.article-points h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.article-points ul,
.article-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-points li,
.article-body ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: #444;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.article-points li:last-child,
.article-body ul li:last-child { border-bottom: none; }
.article-points li::before,
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}
.article-quote {
  margin: 32px 0;
  padding: 28px 30px;
  background: #0a1f38;
  border-radius: 16px;
  color: #fff;
  position: relative;
}
.article-quote::before {
  content: '“';
  position: absolute;
  top: 8px;
  left: 18px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.9;
}
.article-quote p {
  margin: 0;
  padding-left: 12px;
  color: rgba(255,255,255,.92);
  font-size: 1.12rem;
  line-height: 1.75;
  font-style: italic;
}
.article-figure {
  margin: 36px 0;
}
.article-figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.article-figure figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  color: #888;
  text-align: center;
}

.article-cta {
  position: relative;
  padding: var(--section-pad);
  background: #0a1f38;
  color: #fff;
  overflow: hidden;
}
.article-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/villa-resort.jpg') center / cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
}
.article-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,31,56,.94) 0%, rgba(10,31,56,.8) 100%);
  pointer-events: none;
}
.article-cta .container {
  position: relative;
  z-index: 1;
}
.article-cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.article-cta-info .section-label { color: #fff; }
.article-cta-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  margin: 10px 0 14px;
  line-height: 1.2;
  border: none;
  padding: 0;
}
.article-cta-info > p {
  color: rgba(255,255,255,.72);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 24px;
}
.article-cta .contact-details { max-width: 360px; }

.related-articles {
  padding: var(--section-pad);
  background: #fff;
}
.related-header { margin-bottom: 32px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.related-card {
  display: block;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e4de;
  transition: transform .25s ease, box-shadow .25s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
}
.related-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.related-card-body { padding: 20px; }
.related-card-body .card-category { margin-bottom: 8px; }
.related-card-body .card-title {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

/* ===== Category Hero ===== */
.category-hero {
  position: relative;
  min-height: 480px;
  padding: 36px 0 72px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #0a1f38;
}
.category-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.category-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,22,40,.88) 0%, rgba(7,22,40,.55) 55%, rgba(7,22,40,.35) 100%),
    linear-gradient(180deg, rgba(7,22,40,.35) 0%, rgba(7,22,40,.55) 100%);
}
.category-hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.category-hero .breadcrumb {
  margin-bottom: 48px;
}
.category-hero .breadcrumb a {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.category-hero .breadcrumb a:hover {
  background: rgba(255,255,255,.2);
  border-color: var(--color-accent);
  color: #fff;
}
.category-hero .breadcrumb li:not(:last-child)::after {
  border-color: rgba(255,255,255,.45);
}
.category-hero .breadcrumb [aria-current="page"] {
  color: var(--color-accent);
}
.category-hero-inner {
  display: block;
  max-width: 640px;
}
.category-hero-content .section-label {
  color: #fff;
  margin-bottom: 14px;
}
.category-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
  font-weight: 700;
}
.category-hero-content p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 28px;
}
.category-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.category-hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}
.category-hero-meta span:first-child {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.category-articles {
  padding: var(--section-pad);
  background: #fff;
}
.cat-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cat-article-card {
  display: block;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e4de;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
}
.cat-article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.cat-article-body { padding: 22px 22px 24px; }
.cat-article-body .card-category { margin-bottom: 8px; }
.cat-article-body .card-title {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.35;
}
.cat-article-body .card-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-top: 10px;
  line-height: 1.55;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero,
  .hero-slider,
  .hero-media,
  .hero-media img { min-height: 0; }
  .hero-slide {
    grid-template-columns: 1fr;
    position: relative;
  }
  .hero-slide:not(.is-active) { display: none; }
  .hero-content { padding: 48px 6% 90px; max-width: none; }
  .hero-media {
    min-height: 360px;
    clip-path: ellipse(95% 100% at 70% 50%);
    -webkit-clip-path: ellipse(95% 100% at 70% 50%);
  }
  .hero-media img { min-height: 360px; }
  .hero h1,
  .hero .hero-title { font-size: 2.2rem; }
  .hero-nav { left: 6%; bottom: 24px; }
  .articles-layout { grid-template-columns: 1fr; }
  .articles-grid-mini { grid-template-columns: 1fr 1fr; }
  .article-featured-media img { height: 280px; }
  .category-card,
  .category-card img { min-height: 300px; }
  .topics-grid { grid-template-columns: 1fr; }
  .topic-card {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 42%);
    min-height: 220px;
  }
  .topic-content { padding: 22px 18px 18px; }
  .topic-media img,
  .topic-img { min-height: 220px; }
  .contact .container { grid-template-columns: 1fr; }
  .trending .container { grid-template-columns: 1fr; }
  .trending-list { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; max-width: 420px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .category-hero { min-height: 400px; padding: 28px 0 56px; }
  .cat-articles-grid { grid-template-columns: 1fr; }
  .article-hero-section { min-height: 420px; padding: 28px 0 56px; }
  .article-detail { padding-top: 28px; }
  .article-cover { padding: 18px 18px 0; }
  .article-cover img { height: 260px; }
  .article-gallery { grid-template-columns: 1fr; padding: 0 18px 24px; }
  .article-gallery-item img { height: 220px; }
  .article-body { padding: 24px 20px 32px; }
  .article-cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-figure img { height: 220px; }
  .article-hero-content h1 { font-size: 1.9rem; }
}
@media (max-width: 768px) {
  .primary-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--color-primary); padding: 20px; gap: 16px; }
  .primary-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .lang-switcher {
    margin-left: auto;
    margin-right: 14px;
  }
  .hero h1,
  .hero .hero-title { font-size: 1.75rem; }
  .hero-media {
    clip-path: none;
    -webkit-clip-path: none;
    border-radius: 0 0 0 48px;
    min-height: 280px;
  }
  .hero-media img { min-height: 280px; }
  .hero-read-time { bottom: 16px; right: 16px; }
  .hero-nav { gap: 14px; }
  .latest-articles-header { flex-direction: column; align-items: flex-start; }
  .articles-grid-mini { grid-template-columns: 1fr; }
  .article-mini:nth-child(1),
  .article-mini:nth-child(2) { padding-top: 18px; }
  .article-mini:nth-child(1) { padding-top: 0; }
  .article-mini:nth-last-child(2) { border-bottom: 1px solid #e6e2dc; padding-bottom: 18px; }
  .categories-header { flex-direction: column; align-items: flex-start; }
  .category-card,
  .category-card img { min-height: 260px; }
  .trending-list { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-contact { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .category-card,
  .category-card img { min-height: 280px; }
  .topic-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .topic-media {
    min-height: 200px;
    order: -1;
  }
  .topic-media img,
  .topic-img {
    min-height: 200px;
  }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .trending-list { grid-template-columns: 1fr; }
}

/* ===== Glare Landing Page ===== */
body.lp-home {
  --lp-navy: #0b1526;
  --lp-navy-deep: #07101c;
  --lp-gold: #c9a46a;
  --lp-cream: #f4f1ec;
  --lp-field: #ebe7e1;
  --lp-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --lp-sans: 'Manrope', 'Segoe UI', Tahoma, Arial, sans-serif;
  font-family: var(--lp-sans);
}

body.lp-home .site-footer {
  display: none;
}

.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.lp-hero-media,
.lp-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.lp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: lp-kenburns 18s ease-out forwards;
}

.lp-hero-shade {
  background:
    linear-gradient(105deg, rgba(7, 16, 28, 0.9) 0%, rgba(7, 16, 28, 0.72) 45%, rgba(7, 16, 28, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 16, 28, 0.55) 0%, transparent 32%, rgba(7, 16, 28, 0.6) 100%);
}

.lp-hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 64px) 12px;
}

.lp-hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.lp-logo img {
  width: clamp(132px, 16vw, 180px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.lp-hero-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(460px, 1.35fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  padding: 24px clamp(24px, 5vw, 64px) 48px;
  animation: lp-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-hero-copy {
  max-width: 560px;
}

.lp-hero-title {
  font-family: var(--lp-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}

.lp-hero-lead {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.7;
}

.lp-hero-form {
  width: 100%;
  max-width: 680px;
  justify-self: end;
  background: #ffffff;
  border: 1px solid rgba(11, 21, 38, 0.08);
  border-radius: 16px;
  padding: clamp(28px, 3.5vw, 40px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #8a8176;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lp-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--lp-gold);
}

.lp-contact-title {
  font-family: var(--lp-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  color: var(--lp-navy);
  margin-bottom: 8px;
}

.lp-contact-lead {
  color: #5f574e;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 22px;
}

.lp-form-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #e8f5ee;
  color: #146c43;
  font-size: 0.92rem;
  font-weight: 600;
}

.lp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lp-field-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1d2738;
}

.lp-field-error {
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 600;
}

.lp-field input,
.lp-field select,
.lp-field textarea {
  width: 100%;
  border: 1.5px solid #d7d2cb;
  background: #fff;
  color: var(--lp-navy);
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-field input::placeholder,
.lp-field textarea::placeholder {
  color: #9a938a;
}

.lp-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5f574e 50%),
    linear-gradient(135deg, #5f574e 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.lp-field textarea {
  min-height: 92px;
  resize: vertical;
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
  outline: none;
  border-color: var(--lp-navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 21, 38, 0.12);
}

.lp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 6px;
  padding: 17px 24px;
  border: none;
  border-radius: 10px;
  background: var(--lp-navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(11, 21, 38, 0.22);
}

.lp-submit:hover {
  background: #15253d;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11, 21, 38, 0.28);
}

.lp-submit span {
  color: var(--lp-gold);
  transition: transform 0.2s ease;
}

.lp-submit:hover span { transform: translateX(4px); }

.lp-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  color: #6d655c;
  font-size: 0.82rem;
  font-weight: 500;
}

.lp-trust-icon {
  color: var(--lp-gold);
  flex-shrink: 0;
}

html[dir="rtl"] .lp-hero-copy { text-align: right; }
html[dir="rtl"] .lp-submit:hover span { transform: translateX(-4px); }
html[dir="rtl"] .lp-eyebrow { flex-direction: row-reverse; }
html[dir="rtl"] .lp-field select {
  background-position:
    12px calc(50% - 3px),
    18px calc(50% - 3px);
  padding-right: 16px;
  padding-left: 42px;
}

@keyframes lp-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@media (max-width: 960px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 36px;
  }

  .lp-hero-copy {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .lp-hero-top {
    padding: 20px 20px 8px;
  }

  .lp-hero-grid {
    padding: 12px 20px 28px;
    gap: 22px;
  }

  .lp-form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-media img,
  .lp-hero-grid {
    animation: none;
  }
}
