/* =========================================================
   Stage 3 sections — pricing, channels, FAQ, WhatsApp, footer
   Loads alongside hero.css. Uses same CSS vars (--saudi-green etc).
   ========================================================= */

/* Override the placeholder section we used in stage 2 */
.next-stage-placeholder { display: none !important; }

/* Shared section scaffolding */
.section {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 6rem 2rem;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--saudi-green);
  margin-bottom: 1rem;
}

html[dir="rtl"] .section-eyebrow { letter-spacing: 0.1em; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-align: center;
  margin-bottom: 1rem;
}

html[dir="rtl"] .section-title {
  font-family: var(--serif-ar);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.section-title em {
  font-style: italic;
  color: var(--saudi-green);
}
html[dir="rtl"] .section-title em { font-style: normal; }

.section-lede {
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

/* ============= MARQUEE / POSTER SLIDERS ============= */
.marquee-section {
  background: linear-gradient(180deg, #fbfaf6 0%, #fff 100%);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
}

.marquee-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

.marquee-track.scroll-left {
  animation: marqueeLeft 80s linear infinite;
}

.marquee-track.scroll-right {
  animation: marqueeRight 80s linear infinite;
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.poster {
  flex: 0 0 auto;
  width: 180px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  background: #ddd;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.poster:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.poster:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track.scroll-left, .marquee-track.scroll-right {
    animation: none;
  }
}

@media (max-width: 640px) {
  .poster { width: 130px; }
  .marquee-track.scroll-left, .marquee-track.scroll-right {
    animation-duration: 60s;
  }
}

/* ============= PRICING ============= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.25rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border-color: rgba(201, 169, 97, 0.3);
}

.price-card.featured {
  border: 2px solid var(--saudi-gold);
  background: linear-gradient(180deg, #fffdf6 0%, #fff 60%);
  box-shadow: 0 18px 50px rgba(201, 169, 97, 0.18);
  transform: translateY(-8px);
}

.price-card.featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 70px rgba(201, 169, 97, 0.25);
}

.price-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saudi-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-duration {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  text-align: center;
}

.price-amount {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

html[dir="rtl"] .price-amount { font-family: var(--serif-ar); font-weight: 700; }

.price-currency {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saudi-green);
  text-align: center;
  margin-bottom: 1.75rem;
  font-family: var(--sans);
  font-weight: 600;
}
html[dir="rtl"] .price-currency { font-family: var(--sans-ar); }

.price-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.45rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.price-features li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M2 7l3 3 7-7' stroke='%23006C35' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
}

.price-cta {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.price-cta:hover {
  background: var(--saudi-green);
  transform: translateY(-2px);
}

.price-card.featured .price-cta {
  background: var(--saudi-green);
}
.price-card.featured .price-cta:hover {
  background: #a88a47;
}

/* ============= CHANNELS ============= */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.channel-card {
  aspect-ratio: 1.5 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 169, 97, 0.25);
}

.channel-card.text-card {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.02em;
}
html[dir="rtl"] .channel-card.text-card { font-family: var(--serif-ar); font-weight: 700; }

.channels-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}
html[dir="rtl"] .channels-note { font-style: normal; }

/* ============= FAQ ============= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

html[dir="rtl"] .faq-question {
  font-family: var(--serif-ar);
  font-weight: 700;
  text-align: right;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--saudi-green);
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

/* ============= FLOATING WHATSAPP ============= */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 1.5rem;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* ============= FOOTER ============= */
.site-footer {
  position: relative;
  z-index: 2;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 2rem 2rem;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

html[dir="rtl"] .footer-col h4 {
  font-family: var(--serif-ar);
  font-weight: 700;
}

.footer-col p, .footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--saudi-gold); }

.footer-brand .logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand .logo .accent { color: var(--saudi-green); }

.footer-brand p {
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover { color: var(--saudi-gold); }

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .channels-grid { grid-template-columns: repeat(4, 1fr); }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 1.25rem; }
  .section-lede { margin-bottom: 2.5rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .channels-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .channel-card { padding: 0.75rem; border-radius: 10px; }
  .channel-card.text-card { font-size: 1rem; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 1rem; right: 1rem; }
  html[dir="rtl"] .whatsapp-float { left: 1rem; right: auto; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* ============= RTL FIX FOR MARQUEES =============
   In RTL mode, the browser flips translateX direction and mask gradients.
   Force marquee tracks to keep working visually in both directions
   regardless of document direction. */

html[dir="rtl"] .marquee {
  direction: ltr;
}

html[dir="rtl"] .marquee-track {
  direction: ltr;
}

html[dir="rtl"] .marquee-track.scroll-left {
  animation: marqueeLeft 80s linear infinite;
}

html[dir="rtl"] .marquee-track.scroll-right {
  animation: marqueeRight 80s linear infinite;
}

/* ============= NAV BAR ============= */

/* The site-header from hero.css already exists. We add nav styles that work alongside it. */

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--saudi-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav a:hover {
  color: var(--saudi-green);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* Hamburger button - hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Update header layout to fit nav nicely */
.site-header {
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.95);
}

/* Mobile (hamburger) */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #fbfaf6;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    margin: 0;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-size: 1.4rem;
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: none;
  }

  html[dir="rtl"] .site-nav a {
    font-family: var(--serif-ar);
    font-weight: 700;
  }

  /* On mobile, lang toggle still in header — but moved before hamburger */
  .header-controls {
    gap: 0.5rem;
  }
}

/* ============= ABOUT / CONTACT page styles ============= */
body.subpage {
  background: var(--bg);
}

.subpage-hero {
  position: relative;
  z-index: 2;
  padding: 12rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(180deg, #fbfaf6 0%, #fff 100%);
}

.subpage-hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--saudi-green);
  margin-bottom: 1.25rem;
}

html[dir="rtl"] .subpage-hero .eyebrow { letter-spacing: 0.1em; }

.subpage-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

html[dir="rtl"] .subpage-hero h1 {
  font-family: var(--serif-ar);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.subpage-hero h1 em {
  font-style: italic;
  color: var(--saudi-green);
}

html[dir="rtl"] .subpage-hero h1 em { font-style: normal; }

.subpage-hero .subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

.subpage-content {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 5rem 2rem 6rem;
}

.subpage-content-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.subpage-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

html[dir="rtl"] .subpage-content p {
  font-size: 1.2rem;
  line-height: 2;
}

.subpage-content .lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

html[dir="rtl"] .subpage-content .lead {
  font-family: var(--serif-ar);
  font-style: normal;
  font-weight: 700;
}

.subpage-content .cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* Contact-specific cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 169, 97, 0.2);
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.contact-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 600;
}

html[dir="rtl"] .contact-card h3 {
  font-family: var(--serif-ar);
  font-weight: 700;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 700px) {
  .subpage-hero { padding: 10rem 1.5rem 4rem; }
  .subpage-content { padding: 3rem 1.5rem 4rem; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ============= LATEST ARTICLES (homepage section) — COMPACT ============= */
.latest-articles-section {
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  position: relative;
  z-index: 2;
}

.latest-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem auto 2rem;
  max-width: 980px;
}

.latest-articles-cta {
  text-align: center;
  margin-top: 0.5rem;
}

.latest-article-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.latest-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  border-color: rgba(201, 169, 97, 0.3);
}

.latest-article-card .card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0f0f0;
}

.latest-article-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.latest-article-card:hover .card-image img {
  transform: scale(1.04);
}

.latest-article-card .card-content {
  padding: 1rem 1.1rem 1.1rem;
}

.latest-article-card .card-category {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saudi-green);
  background: rgba(201, 169, 97, 0.08);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.latest-article-card .card-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[dir="rtl"] .latest-article-card .card-title {
  font-family: var(--serif-ar);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}

.latest-article-card .card-excerpt {
  display: none;
}

.latest-article-card .card-readmore {
  font-size: 0.78rem;
  color: var(--saudi-green);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.latest-articles-empty {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--muted);
  padding: 1.5rem 0;
}

html[dir="rtl"] .latest-articles-empty {
  font-family: var(--serif-ar);
}

@media (max-width: 1024px) {
  .latest-articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .latest-article-card .card-content { padding: 0.85rem; }
  .latest-article-card .card-title { font-size: 0.9rem; }
}

@media (max-width: 640px) {
  .latest-articles-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .latest-article-card .card-title { font-size: 1rem; }
}
