/* ============================================================
   MoroccoPassport.com — Design System
   Morocco-inspired newspaper style
   ============================================================ */

:root {
  /* Morocco Flag Colors */
  --red:       #C1272D;
  --green:     #006233;
  /* Brand Palette */
  --gold:      #B5882A;
  --gold-light:#F0D080;
  --dark:      #1A1008;
  --sand:      #F5F0E8;
  --bg:        #FAFAF7;
  --white:     #FFFFFF;
  /* Typography Colors */
  --text:      #1C1C1C;
  --text-muted:#666666;
  --text-light:#999999;
  /* Typography */
  --serif:     Georgia, 'Times New Roman', serif;
  --sans:      'Helvetica Neue', Arial, sans-serif;
  /* Spacing */
  --gap:       1.5rem;
  --radius:    3px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

/* ── Top Bar ── */
.top-bar {
  background: var(--dark);
  color: #ccc;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--gold); }
.top-bar-lang a { margin-left: 0.8rem; }

/* ── Article-page nav (.main-nav) ── */
.main-nav {
  background: #fff;
  border-bottom: 3px solid #0D3528;
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0D3528;
  white-space: nowrap;
}
.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}
.nav-logo span { color: #C8962A; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #333;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: #F5F0E8; color: #0D3528; }
@media (max-width: 700px) {
  .nav-links { display: none; }
  .main-nav { padding: 0 1.2rem; position: relative; }
  .main-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #0D3528;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 300;
    padding: 0.5rem 0;
    gap: 0;
  }
  .main-nav.open .nav-links a {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f0ece4;
    font-size: 0.85rem;
  }
  .hamburger { display: flex; }
}

/* ── Header / Nav ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
}
.logo-tagline {
  font-family: var(--sans);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  align-items: center;
}
nav a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
nav a:hover { background: var(--sand); color: var(--red); }
nav a.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 0.45rem 1rem;
}
nav a.nav-cta:hover { background: #a01f24; color: var(--white); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ── Breaking News Bar ── */
.breaking-bar {
  background: var(--red);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.breaking-label {
  background: var(--dark);
  padding: 0.55rem 1.2rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.breaking-text {
  padding: 0.55rem 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1810 40%, #1a0a0a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(193,39,45,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0,98,51,0.12) 0%, transparent 50%);
  pointer-events: none;
}
/* Decorative geometric pattern (Zellige-inspired) */
.hero::after {
  content: '✦';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18rem;
  color: rgba(181,136,42,0.06);
  pointer-events: none;
  line-height: 1;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  line-height: 1.5;
  max-width: 440px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.hero-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: #a01f24; color: var(--white); transform: translateY(-1px); }
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  margin-left: 1rem;
  transition: border-color 0.2s, color 0.2s;
}
.hero-cta-secondary:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
}
.hero-stat-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.hero-flag-accent {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.flag-stripe {
  width: 6px;
  border-radius: 3px;
}
.flag-stripe-red { background: var(--red); height: 48px; }
.flag-stripe-green { background: var(--green); height: 48px; }
.flag-stripe-gold { background: var(--gold); height: 48px; }

/* ── Section Wrapper ── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  border-bottom: 2px solid var(--dark);
  padding-bottom: 0.6rem;
}
.section-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.section-title span {
  color: var(--red);
}
.section-link {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.section-link:hover { color: var(--dark); }

/* ── Pillars Grid ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.pillar-card {
  border: 1px solid #e0dbd0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.pillar-icon-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.pillar-icon-wrap.travel   { background: linear-gradient(135deg, #0a3d62, #1a6fa8); }
.pillar-icon-wrap.football { background: linear-gradient(135deg, var(--green), #00a854); }
.pillar-icon-wrap.cities   { background: linear-gradient(135deg, #8B4513, #c77a3e); }
.pillar-icon-wrap.culture  { background: linear-gradient(135deg, #4a0a8a, #7b3fc4); }
.pillar-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pillar-category {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.pillar-desc {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.pillar-link {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── Feature Section (Football 2030) ── */
.feature-band {
  background: linear-gradient(135deg, #0a1a0e 0%, #0d2d16 50%, #0a1a0e 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.feature-band::before {
  content: '⚽';
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16rem;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}
.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00e676;
  margin-bottom: 1rem;
}
.feature-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.feature-band h2 em { font-style: normal; color: var(--gold); }
.feature-band p {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 1.2rem;
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(255,255,255,0.1); }
.feature-card-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.feature-card-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.feature-card-text {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.feature-cta:hover { background: #004d28; color: var(--white); }

/* ── Cities Grid ── */
.cities-bg { background: var(--sand); }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.city-card {
  background: var(--white);
  border: 1px solid #e0dbd0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.city-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.1); transform: translateY(-2px); }
.city-thumb {
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 0.8rem;
  position: relative;
  overflow: hidden;
}
.city-thumb.marrakech { background: linear-gradient(135deg, #b54714, #8b2e0e); }
.city-thumb.casablanca { background: linear-gradient(135deg, #0a3d62, #1565c0); }
.city-thumb.fez        { background: linear-gradient(135deg, #6b3a2a, #9c5435); }
.city-thumb.rabat      { background: linear-gradient(135deg, var(--green), #00a854); }
.city-thumb.tangier    { background: linear-gradient(135deg, #1a237e, #3949ab); }
.city-thumb.agadir     { background: linear-gradient(135deg, #e65100, #fb8c00); }
.city-name-overlay {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.city-body { padding: 0.9rem 1rem; }
.city-desc {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.6rem;
}
.city-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.city-tag {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--sand);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

/* ── Host Countries ── */
.countries-strip {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0;
}
.countries-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.countries-inner h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.countries-inner p {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}
.countries-flags {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.country-item { text-align: center; }
.country-flag { font-size: 3.5rem; margin-bottom: 0.5rem; line-height: 1; }
.country-name {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.country-role {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
}

/* ── Articles Grid ── */
.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}
.article-card {
  background: var(--white);
  border: 1px solid #e0dbd0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.article-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.article-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.article-img-placeholder.story1 { background: linear-gradient(135deg, #b54714, #c1272d); }
.article-img-placeholder.story2 { background: linear-gradient(135deg, var(--green), #00a854); }
.article-img-placeholder.story3 { background: linear-gradient(135deg, #0a3d62, #1565c0); }
.article-body { padding: 1.2rem; }
.article-meta {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.article-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.article-card.featured .article-title { font-size: 1.35rem; }
.article-excerpt {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Affiliates / Partners ── */
.affiliates-bar {
  background: var(--sand);
  border-top: 1px solid #e0dbd0;
  border-bottom: 1px solid #e0dbd0;
  padding: 2rem 0;
}
.affiliates-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.affiliates-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.affiliates-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.affiliate-name {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.affiliate-name:hover { opacity: 1; color: var(--red); }

/* ── Newsletter ── */
.newsletter-band {
  background: linear-gradient(135deg, var(--red) 0%, #8a0f14 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.newsletter-band h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.newsletter-band p {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.newsletter-form input {
  padding: 0.75rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius);
  width: 300px;
  outline: none;
}
.newsletter-form button {
  padding: 0.75rem 1.6rem;
  background: var(--dark);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #333; }

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.5rem;
}

/* ── Homepage footer classes ── */
.hp-footer { background: #0D0D0D; color: rgba(255,255,255,0.65); padding: 4rem 5vw 0; }
.hp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; }
@media (max-width: 900px) { .hp-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .hp-footer-grid { grid-template-columns: 1fr; } }
.ft-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.5rem; }
.ft-logo img { height: 42px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.9; }
.ft-tagline { font-family: 'Lato', sans-serif; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold, #C8962A); margin-bottom: 1rem; }
.ft-about { font-family: 'Lato', sans-serif; font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 1.2rem; }
.ft-col-title { font-family: 'Lato', sans-serif; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold, #C8962A); font-weight: 700; margin-bottom: 1rem; }
.ft-links { list-style: none; padding: 0; margin: 0; }
.ft-links li { margin-bottom: 0.55rem; }
.ft-links li::before { content: '✦'; color: var(--gold, #C8962A); font-size: 0.5rem; vertical-align: middle; margin-right: 0.45rem; }
.ft-links a { font-family: 'Lato', sans-serif; font-size: 0.88rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.ft-links a:hover { color: var(--gold, #C8962A); }
.ft-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-family: 'Lato', sans-serif; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.ft-social { display: flex; gap: 0.8rem; }
.ft-social a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.ft-social a:hover { color: var(--gold, #C8962A); }
.ft-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text { color: var(--white); margin-bottom: 0.8rem; }
.footer-brand p {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-social { display: flex; gap: 0.6rem; }
.social-link {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.social-link:hover { background: var(--red); color: var(--white); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* ── Moroccan bullet for footer link lists ── */
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col li::before { content: '✦'; color: var(--gold); font-size: 0.55rem; vertical-align: middle; margin-right: 0.45rem; }
.footer-col a {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal a:hover { color: var(--gold); }
.affiliate-disclosure {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ── Inner Page Layout ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1810 100%);
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.page-hero p {
  font-family: var(--sans);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}
.page-breadcrumb {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.page-content {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.page-content h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e0dbd0;
}
.page-content p {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.page-content ul {
  list-style: none;
  margin: 0.8rem 0 1.2rem 0;
  padding-left: 1.4rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
}
.page-content ul li { position: relative; padding-left: 1.2rem; margin-bottom: 0.4rem; }
.page-content ul li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; position: absolute; left: 0; top: 0.35em; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-inner { padding: 0.7rem 1.2rem; }
  nav { display: none; }
  nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid #e0dbd0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 200; }
  nav.open ul { flex-direction: column; padding: 1rem; }
  nav.open a { display: block; padding: 0.7rem 1rem; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.2rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 2rem; }
  .hero-cta-secondary { margin-left: 0; }
  .breaking-bar { display: none; }
  .feature-inner { grid-template-columns: 1fr; gap: 2rem; }
  .feature-band::before { display: none; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .countries-flags { gap: 1.5rem; }
  .section { padding: 2.5rem 1.2rem; }
}
@media (max-width: 480px) {
  .cities-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }
  .hero-stat-number { font-size: 1.6rem; }
}

/* ── Article page footer (site-footer / ft-grid system) ── */
.site-footer {
  background: #0D0D0D;
  color: rgba(255,255,255,0.65);
  padding: 4rem 5vw 0;
}
.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 0;
  padding-bottom: 2.5rem;
}
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .ft-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.ft-brand { display: flex; flex-direction: column; }
.ft-desc {
  font-family: 'Lato', sans-serif;
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin: 0.6rem 0 1rem;
}
.ft-col { display: flex; flex-direction: column; }
.ft-col-h {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #C8962A);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ft-col a {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}
.ft-col a:hover { color: var(--gold, #C8962A); }
