:root {
  --aym-navy: #0d3b4f;
  --aym-navy-dark: #082731;
  --aym-teal: #008991;
  --aym-gold: #b08d4c;
  --aym-cream: #faf6ef;
  --aym-cream-warm: #f4ede0;
  --aym-line: rgba(13, 59, 79, 0.12);
  --aym-ink: #24424a;
}

* {
  box-sizing: border-box;
}

body.aym-news-page {
  background: var(--aym-cream);
  color: var(--aym-ink);
  font-family: 'DM Sans', 'IBM Plex Sans Arabic', sans-serif;
  margin: 0;
}

body.aym-news-page[dir='rtl'] {
  font-family: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', sans-serif;
}

.news-root {
  background:
    linear-gradient(180deg, rgba(237, 246, 246, 0.72) 0%, rgba(250, 246, 239, 0.98) 38%, rgba(250, 246, 239, 1) 100%);
  min-height: 70vh;
}

.news-shell {
  margin: 0 auto;
  max-width: 1240px;
  padding: 72px 32px 80px;
  width: min(100%, 1240px);
}

.news-hero {
  border-bottom: 1px solid rgba(13, 59, 79, 0.14);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.44fr);
  margin-bottom: 38px;
  padding-bottom: 34px;
}

.news-eyebrow,
.news-section-label,
.news-card-category {
  color: #8a6418;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-title {
  color: var(--aym-navy-dark);
  font-family: 'Amiri', 'Cormorant Garamond', serif;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 12px 0 16px;
}

.news-intro {
  color: #3f5860;
  font-size: 19px;
  line-height: 1.65;
  margin: 0;
  max-width: 740px;
}

.news-hero-aside {
  align-self: end;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 59, 79, 0.12);
  border-radius: 6px;
  padding: 22px;
}

.news-hero-aside strong {
  color: var(--aym-navy-dark);
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.news-hero-aside p {
  color: #4e646b;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.news-section-label {
  display: block;
  margin: 0 0 14px;
}

.news-featured {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 59, 79, 0.16);
  border-radius: 6px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-bottom: 42px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(13, 59, 79, 0.08);
}

.news-featured-image,
.news-card-image {
  background: #e9efe9;
  min-height: 100%;
  overflow: hidden;
}

.news-featured-image img,
.news-card-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-featured-body {
  padding: clamp(28px, 4vw, 48px);
}

.news-card-date,
.news-featured-date {
  align-items: center;
  color: #64767c;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  margin: 0 0 14px;
}

.news-card-date span,
.news-featured-date span {
  background: rgba(0, 137, 145, 0.08);
  border: 1px solid rgba(0, 137, 145, 0.14);
  border-radius: 999px;
  color: #08777f;
  padding: 5px 9px;
}

.news-featured h2,
.news-card h3,
.news-cta h2 {
  color: var(--aym-navy-dark);
  font-family: 'Amiri', 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0;
}

.news-featured h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  margin: 0 0 16px;
}

.news-summary,
.news-body {
  color: #334f57;
  font-size: 15.5px;
  line-height: 1.72;
  margin: 0 0 14px;
}

.news-summary {
  color: #173f4b;
  font-weight: 700;
}

.news-card .news-card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

.news-why {
  border-inline-start: 3px solid rgba(0, 137, 145, 0.3);
  color: #3b565e;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 14px;
  padding-inline-start: 13px;
}

.news-why strong {
  color: var(--aym-navy-dark);
}

.news-points {
  color: #334f57;
  display: grid;
  gap: 8px;
  line-height: 1.62;
  margin: 0 0 16px;
  padding-inline-start: 20px;
}

.news-points li::marker {
  color: var(--aym-teal);
}

.news-closing {
  color: #3d565d;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.68;
  margin: 0 0 16px;
}

.news-note {
  background: rgba(250, 246, 239, 0.9);
  border: 1px solid rgba(176, 141, 76, 0.22);
  border-inline-start: 3px solid var(--aym-gold);
  color: #4b5f64;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 18px 0 18px;
  padding: 14px 16px;
}

.news-note strong {
  color: var(--aym-navy-dark);
}

.news-card .news-note {
  font-size: 13px;
  margin: 14px 0 18px;
  padding: 12px 14px;
}

.news-sources {
  border-top: 1px solid rgba(13, 59, 79, 0.12);
  color: #5f7177;
  font-size: 12px;
  line-height: 1.55;
  margin: 18px 0 16px;
  padding-top: 12px;
}

.news-sources h4 {
  color: #6f551b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.news-sources ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-inline-start: 20px;
}

.news-sources a {
  color: #526970;
  text-decoration-color: rgba(0, 137, 145, 0.35);
  text-underline-offset: 3px;
}

.news-sources a:hover {
  color: var(--aym-navy);
}

.news-link {
  align-items: center;
  background: var(--aym-navy);
  border-radius: 4px;
  color: var(--aym-cream);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.04em;
  margin-top: 6px;
  padding: 13px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.18s ease, transform 0.18s ease;
}

.news-link:hover {
  background: var(--aym-navy-dark);
  transform: translateY(-1px);
}

.news-grid-heading {
  color: var(--aym-navy-dark);
  font-size: 18px;
  margin: 0 0 18px;
}

.news-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 59, 79, 0.14);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-card-image {
  aspect-ratio: 16 / 9;
  min-height: auto;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.news-card h3 {
  font-size: 25px;
  line-height: 1.14;
  margin: 0 0 13px;
}

.news-card .news-link {
  align-self: flex-start;
  margin-top: auto;
}

.news-article-shell {
  max-width: 1120px;
  padding-top: 54px;
}

.news-back {
  color: var(--aym-navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
  text-decoration-color: rgba(0, 137, 145, 0.35);
  text-underline-offset: 4px;
}

.news-article {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 59, 79, 0.16);
  border-radius: 6px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(13, 59, 79, 0.08);
}

.news-article .news-featured-image {
  min-height: auto;
}

.news-article h1 {
  color: var(--aym-navy-dark);
  font-family: 'Amiri', 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.3vw, 54px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 18px;
}

.news-cta {
  align-items: center;
  background: var(--aym-navy-dark);
  border-radius: 6px;
  color: var(--aym-cream);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 48px;
  padding: clamp(28px, 4vw, 42px);
}

.news-cta h2 {
  color: #fff8e8;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.news-cta p {
  color: rgba(250, 246, 239, 0.82);
  font-size: 15px;
  line-height: 1.62;
  margin: 0;
  max-width: 720px;
}

.news-cta .news-link {
  background: var(--aym-gold);
  color: #071f28;
  margin: 0;
}

.news-cta .news-link:hover {
  background: #d0aa60;
}

.news-footer {
  align-items: center;
  background: #faf6ef;
  border-top: 1px solid rgba(13, 59, 79, 0.1);
  color: #8f8f8f;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 34px 48px 30px;
  text-align: center;
}

.news-footer .footer-logo img {
  height: 58px;
  object-fit: contain;
  width: auto;
}

.news-footer .footer-meta {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.news-footer .footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.news-footer .footer-links a {
  color: #8f8f8f;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}

[dir='rtl'] .news-eyebrow,
[dir='rtl'] .news-section-label,
[dir='rtl'] .news-card-category,
[dir='rtl'] .news-link,
[dir='rtl'] .news-sources h4 {
  letter-spacing: 0;
  text-transform: none;
}

[dir='rtl'] .news-title,
[dir='rtl'] .news-featured h2,
[dir='rtl'] .news-article h1,
[dir='rtl'] .news-card h3,
[dir='rtl'] .news-cta h2 {
  font-family: 'Noto Kufi Arabic', 'Amiri', serif;
}

@media (max-width: 980px) {
  .news-hero,
  .news-featured,
  .news-article,
  .news-cta {
    grid-template-columns: 1fr;
  }

  .news-featured-image,
  .news-article .news-featured-image {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-cta .news-link {
    justify-self: flex-start;
  }
}

@media (max-width: 640px) {
  .news-shell {
    padding: 46px 20px 56px;
  }

  .news-title {
    font-size: 44px;
  }

  .news-intro {
    font-size: 16px;
  }

  .news-hero-aside {
    padding: 18px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-featured-body,
  .news-card-body {
    padding: 22px;
  }

  .news-featured h2 {
    font-size: 30px;
  }

  .news-card h3 {
    font-size: 24px;
  }

  .news-link {
    justify-content: center;
    width: 100%;
  }

  .news-footer {
    padding: 30px 22px 86px;
  }
}
