/* =====================================================
   Atlas Guide - News Article Page Styles
   /css/news-article.css
   Requires: global.css only
   ===================================================== */

/* ---- SHARED: BREADCRUMB ---- */
.news-breadcrumb {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 64px) 0;
  font-size: 12.5px;
  color: var(--text-mid);
  opacity: .6;
}
.news-breadcrumb a { color: inherit; text-decoration: none; }
.news-breadcrumb a:hover { text-decoration: underline; }
.news-breadcrumb span { margin: 0 6px; }

/* ---- SHARED: WIDGETS ---- */
.news-widget {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.news-widget__head {
  background: var(--bg-dark);
  color: var(--ag-white);
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.news-widget__body { padding: 16px; }

/* ---- SHARED: CTA ---- */
.news-cta {
  background: linear-gradient(135deg, var(--ag-green-900), var(--ag-green-600));
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  color: var(--ag-white);
  text-align: center;
}
.news-cta__icon  { font-size: 32px; margin-bottom: 12px; }
.news-cta__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.news-cta__text {
  font-size: 13px;
  opacity: .75;
  line-height: 1.55;
  margin-bottom: 18px;
}
.news-cta__btn {
  display: inline-block;
  background: var(--ag-white);
  color: var(--ag-green-900);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: opacity .2s;
}
.news-cta__btn:hover { opacity: .85; }

/* ---- SHARED: AFFILIATE BUTTONS ---- */
.news-affiliate-note {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.5;
}
.news-affiliate-btn {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
  transition: opacity .2s, transform .2s;
}
.news-affiliate-btn:hover { opacity: .88; transform: translateY(-1px); }
.news-affiliate-btn--primary   { background: var(--primary); color: #fff; }
.news-affiliate-btn--secondary { background: var(--bg-warm); color: var(--ag-green-900); }

/* ---- ARTICLE HERO ---- */
.na-hero {
  background: var(--bg-dark);
  padding: 156px 0 48px;
  position: relative;
  overflow: hidden;
}
.na-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 79px,
    rgba(255,255,255,.03) 79px,
    rgba(255,255,255,.03) 80px
  );
  pointer-events: none;
}
.na-hero__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  position: relative;
}
.na-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 13px;
}
.na-hero__cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--secondary);
  color: var(--ag-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: opacity .2s;
}
.na-hero__cat:hover { opacity: .85; }
.na-hero__sep   { color: rgba(255,255,255,.25); }
.na-hero__date  { color: rgba(255,255,255,.5); font-weight: 500; }
.na-hero__source{ color: rgba(255,255,255,.4); font-weight: 400; }
.na-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--ag-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.na-hero__summary {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 24px;
  max-width: 680px;
}
.na-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.na-hero__tag {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.na-hero__tag:hover { background: rgba(255,255,255,.15); color: var(--ag-white); }

/* ---- LAYOUT ---- */
.na-layout {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 64px) 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .na-layout { grid-template-columns: 1fr; }
  .na-sidebar { display: none; }
}

/* ---- ARTICLE BODY ---- */
.na-article {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  padding: clamp(28px, 5vw, 52px);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text-mid);
}
.na-article p { margin-bottom: 22px; }
.na-article p:last-child { margin-bottom: 0; }
.na-article strong { color: var(--text); font-weight: 700; }
.na-article a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.na-article a:hover { color: var(--primary-light); }
.na-article h2, .na-article h3 { font-family: var(--font-display); color: var(--text); margin: 28px 0 12px; font-weight: 600; }
.na-article h2 { font-size: 1.5rem; }
.na-article h3 { font-size: 1.2rem; }

/* ---- SOURCE BOX ---- */
.na-source-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-warm);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 13px;
}
.na-source-box__label { font-weight: 700; color: var(--text-mid); white-space: nowrap; }
.na-source-box__link { color: var(--primary); font-weight: 600; text-decoration: none; word-break: break-all; }
.na-source-box__link:hover { text-decoration: underline; }

/* ---- SHARE BAR ---- */
.na-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 32px;
}
.na-share__label { font-size: 13px; font-weight: 700; color: var(--text-mid); white-space: nowrap; }
.na-share__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.na-share__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity .2s, transform .2s;
}
.na-share__btn:hover { opacity: .85; transform: translateY(-1px); }
.na-share__btn--x    { background: #000; color: #fff; }
.na-share__btn--fb   { background: #1877F2; color: #fff; }
.na-share__btn--wa   { background: #25D366; color: #fff; }
.na-share__btn--copy { background: var(--bg-warm); color: var(--text); border: 1.5px solid var(--border); }

/* ---- RELATED ARTICLES ---- */
.na-related { margin-bottom: 16px; }
.na-related__head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.na-related__grid { display: flex; flex-direction: column; gap: 10px; }
.na-related__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.na-related__card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.na-related__icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.na-related__title { font-family: var(--font-display); font-size: .95rem; line-height: 1.35; color: var(--text); font-weight: 600; margin-bottom: 5px; }
.na-related__time { font-size: 11.5px; color: var(--text-light); }

/* ---- SIDEBAR ---- */
.na-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.na-sidebar .news-widget__body { padding: 16px; }
.na-sidebar .na-latest-widget .news-widget__body { padding: 0; }

.na-latest-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: background .2s;
  border-bottom: 1px solid var(--border);
}
.na-latest-item:last-child { border-bottom: none; }
.na-latest-item:hover { background: var(--bg-warm); }
.na-latest-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.na-latest-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.45; }

/* ---- COUNTRY CTA ---- */
.na-country-cta {
  background: var(--bg-warm);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.na-country-cta__head { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.na-country-cta__text { font-size: 13px; color: var(--text-mid); line-height: 1.5; margin-bottom: 14px; }
.na-country-cta__links { display: flex; flex-direction: column; gap: 6px; }
.na-country-cta__link {
  display: block;
  padding: 9px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.na-country-cta__link:hover { background: var(--ag-green-50); border-color: var(--ag-green-100); }

/* ---- CONTEXTUAL AFFILIATE BLOCK ---- */
.na-affiliate-block {
  background: var(--ag-green-50);
  border: 1.5px solid var(--ag-green-100);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}
.na-affiliate-block__icon { font-size: 28px; margin-bottom: 10px; }
.na-affiliate-block__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--ag-green-800);
  margin-bottom: 16px;
}
/* ---- HIDE LANGUAGE SWITCHER ON NEWS PAGES ---- */
.language-switcher-bottom { display: none !important; }