/*
Theme Name: ProSeed Novosti
Theme URI: https://proseed.hr/novosti/
Author: ProSeed d.o.o.
Author URI: https://proseed.hr
Description: Blog tema za ProSeed novosti — agronomski sadržaj za uzgajivače povrća i voća u Hrvatskoj.
Version: 1.0.0
License: Proprietary
Text Domain: proseed-novosti
*/

/* ============================================================
   DESIGN TOKENS — must match proseed.html exactly
   ============================================================ */
:root {
  --white: #fff;
  --bg:    #F6F8F4;
  --ink:   #0C170F;
  --mid:   #425347;
  --line:  rgba(12,23,15,.08);

  --g0:    #051F0F;
  --g1:    #0D6B35;
  --g2:    #5CB800;
  --g3:    #1A8A44;
  --g4:    #C8EAD3;
  --g5:    #EAF6EE;

  --br:    #7A5C1E;
  --b0:    #3D2D08;
  --b2:    #F7F1E4;

  --r:     18px;
  --r-lg:  26px;
  --r-btn: 999px;

  --sh:    0 4px 24px rgba(7,24,12,.07);
  --sh-md: 0 12px 40px rgba(7,24,12,.09);
  --sh-lg: 0 24px 64px rgba(7,24,12,.13);

  --w:     min(100% - 40px, 1280px);

  --ff:    'Barlow', sans-serif;
  --ffc:   'Barlow Condensed', sans-serif;
}

@media(max-width:1100px) { :root { --w: min(100% - 32px, 1280px); } }
@media(max-width:700px)  { :root { --w: min(100% - 24px, 1280px); } }

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--ff); }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: var(--w); margin-inline: auto; }
.sec    { padding: 88px 0; }
.sec-sm { padding: 64px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.h1 {
  font-family: var(--ffc);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .93;
  letter-spacing: -.03em;
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.h2 {
  font-family: var(--ffc);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: -.025em;
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.h3 {
  font-family: var(--ffc);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.01em;
  font-size: 1.3rem;
}
.lead {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--mid);
  font-weight: 300;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ffc);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--g1);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--g2);
  flex-shrink: 0;
}
.eyebrow--light { color: rgba(255,255,255,.4); }
.eyebrow--light::before { background: rgba(255,255,255,.2); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-btn);
  font-size: 14.5px; font-weight: 700; font-family: var(--ff);
  border: 1.5px solid transparent; cursor: pointer; transition: all .2s;
}
.btn--sm  { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--lg  { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn--primary {
  background: var(--g1); color: #fff;
  box-shadow: 0 8px 28px rgba(13,107,53,.22);
}
.btn--primary:hover {
  background: var(--g0); transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(13,107,53,.28);
}
.btn--secondary {
  background: var(--white); color: var(--ink);
  border-color: var(--line);
}
.btn--secondary:hover {
  border-color: rgba(13,107,53,.25); background: var(--g5); color: var(--g1);
}
.btn--ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.22);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed; inset: 0 0 auto; z-index: 600; height: 68px;
  background: rgba(255,255,255,.93); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background .25s;
}
#nav.scrolled {
  box-shadow: 0 2px 24px rgba(7,24,12,.08);
  background: rgba(255,255,255,.98);
}
.nav-inner {
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-btn);
  font-size: 14px; font-weight: 600; color: var(--mid); transition: all .15s;
}
.nav-links a:hover, .nav-links a.active { background: var(--g5); color: var(--g1); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-inner > a { display: inline-flex; align-items: center; min-width: 138px; min-height: 36px; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--g1); border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mob-menu {
  display: none; position: fixed; inset: 68px 0 0;
  background: var(--white); z-index: 590; padding: 24px 20px;
  flex-direction: column; gap: 2px; border-top: 1px solid var(--line); overflow-y: auto;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  padding: 13px 14px; font-size: 16px; font-weight: 600; color: var(--mid);
  border-radius: 10px; border-bottom: 1px solid var(--line);
}
.mob-menu a:last-of-type { border-bottom: none; }
.mob-menu a:hover { background: var(--g5); color: var(--g1); }
.mob-ctas { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

@media(max-width:1100px) {
  .nav-links, .nav-actions .btn--secondary { display: none; }
  .burger { display: flex; }
}
@media(max-width:700px) {
  #nav { height: 60px; }
  .mob-menu { inset: 60px 0 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.ft-strip { background: var(--ink); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.04); }
.ft-strip-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ft-copy { font-size: 12px; color: rgba(255,255,255,.18); }
.ft-nav-strip { display: flex; gap: 20px; flex-wrap: wrap; }
.ft-nav-strip a { font-size: 12.5px; color: rgba(255,255,255,.28); transition: color .2s; }
.ft-nav-strip a:hover { color: rgba(255,255,255,.65); }

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fi, .fi-now { opacity: 1; transform: none; }
.js .fi {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1),
              transform .55s cubic-bezier(.22,1,.36,1);
}
.js .fi.in, .js .fi-now, .js .fi-now.in { opacity: 1; transform: none; }

/* ============================================================
   CARD BASE
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-hdr { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-note { font-size: 13.5px; color: var(--mid); line-height: 1.6; max-width: 260px; text-align: right; }
.more-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--g1);
  border-bottom: 2px solid var(--g2); padding-bottom: 1px; transition: gap .2s;
}
.more-link:hover { gap: 12px; }

/* ============================================================
   BLOG — ARTICLE CARD (index, archive)
   ============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media(max-width:1100px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:700px)  { .articles-grid { grid-template-columns: 1fr; } }

.art-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  will-change: transform;
}
.art-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }

.art-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg);
}
.art-card__thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--g5), var(--bg));
  display: flex; align-items: center; justify-content: center;
}
.art-card__thumb-placeholder svg { width: 48px; height: 48px; opacity: .3; }

.art-card__body { padding: 24px 22px 26px; }

.art-card__meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.art-card__cat {
  display: inline-flex; align-items: center;
  padding: 3px 11px; border-radius: var(--r-btn);
  font-family: var(--ffc); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--g5); color: var(--g1);
  transition: background .15s;
}
.art-card__cat:hover { background: var(--g4); }
.art-card__date {
  font-size: 12px; color: var(--mid); font-weight: 400;
}
.art-card__read-time {
  font-size: 12px; color: var(--mid); font-weight: 400;
}
.art-card__read-time::before { content: '·'; margin-right: 10px; }

.art-card__title {
  font-family: var(--ffc);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 10px;
  transition: color .15s;
}
.art-card:hover .art-card__title { color: var(--g1); }

.art-card__excerpt {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.art-card__footer {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.art-card__author {
  display: flex; align-items: center; gap: 8px;
}
.art-card__author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--g5); object-fit: cover;
}
.art-card__author-name { font-size: 12.5px; font-weight: 600; color: var(--mid); }
.art-card__read-link {
  font-size: 13px; font-weight: 700; color: var(--g1);
  display: flex; align-items: center; gap: 5px;
  transition: gap .2s;
}
.art-card:hover .art-card__read-link { gap: 9px; }

/* Featured article (first post) */
.art-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.art-card--featured .art-card__thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: 300px;
}
.art-card--featured .art-card__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.art-card--featured .art-card__title { font-size: 1.65rem; margin-bottom: 14px; }
.art-card--featured .art-card__excerpt { -webkit-line-clamp: 4; }
@media(max-width:900px) {
  .art-card--featured { grid-template-columns: 1fr; }
  .art-card--featured .art-card__thumb { min-height: auto; aspect-ratio: 16/9; }
  .art-card--featured .art-card__body { padding: 28px 24px; }
}

/* ============================================================
   BLOG — HERO STRIP (archive/index top)
   ============================================================ */
.blog-hero {
  padding: 104px 0 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.blog-hero__eyebrow { margin-bottom: 14px; }
.blog-hero__title { margin-bottom: 20px; }
.blog-hero__lead { max-width: 560px; }

/* ============================================================
   BLOG — CATEGORY FILTER BAR
   ============================================================ */
.cat-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 68px; z-index: 500;
}
.cat-bar-inner {
  display: flex; gap: 6px; padding: 12px 0;
  overflow-x: auto; scrollbar-width: none;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: var(--r-btn);
  font-family: var(--ffc); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
  background: transparent; color: var(--mid);
  border: 1.5px solid var(--line);
  transition: all .15s; cursor: pointer;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--g5); color: var(--g1);
  border-color: var(--g4);
}
.cat-pill.active { background: var(--g1); color: #fff; border-color: var(--g1); }

/* ============================================================
   BLOG — SINGLE ARTICLE
   ============================================================ */
.article-hero {
  padding: 104px 0 0;
  background: var(--white);
}
.article-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--mid); margin-bottom: 28px; flex-wrap: wrap;
}
.article-hero__breadcrumb a { color: var(--mid); transition: color .15s; }
.article-hero__breadcrumb a:hover { color: var(--g1); }
.article-hero__breadcrumb span { color: var(--mid); opacity: .5; }
.article-hero__breadcrumb strong { color: var(--g1); font-weight: 600; }

.article-hero__meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.article-hero__cat {
  padding: 4px 14px; border-radius: var(--r-btn);
  font-family: var(--ffc); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--g5); color: var(--g1);
}
.article-hero__date { font-size: 13px; color: var(--mid); }
.article-hero__read-time { font-size: 13px; color: var(--mid); }
.article-hero__read-time::before { content: '·'; margin: 0 4px; }

.article-hero__title {
  font-family: var(--ffc);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 22px;
}
.article-hero__lead {
  font-size: 1.1rem;
  line-height: 1.82;
  color: var(--mid);
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 32px;
}
.article-hero__author-row {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.article-hero__author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--g5); object-fit: cover;
}
.article-hero__author-info {}
.article-hero__author-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.article-hero__author-title { font-size: 12.5px; color: var(--mid); }

.article-cover {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--r);
  margin-top: 36px;
}
@media(max-width:700px) { .article-cover { aspect-ratio: 16/9; border-radius: 0; margin-top: 24px; } }

/* Article body layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 52px;
  align-items: start;
  padding: 56px 0 88px;
}
@media(max-width:1100px) { .article-layout { grid-template-columns: 1fr; gap: 36px; } }

/* Article body prose */
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  font-weight: 400;
}
.article-body h2 {
  font-family: var(--ffc);
  font-weight: 800;
  font-size: 1.65rem;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h3 {
  font-family: var(--ffc);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body em { font-style: italic; }
.article-body a { color: var(--g1); font-weight: 600; border-bottom: 1.5px solid var(--g4); transition: border-color .15s; }
.article-body a:hover { border-color: var(--g1); }
.article-body ul, .article-body ol { margin: 0 0 20px 0; padding-left: 0; }
.article-body ul li, .article-body ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: .975rem;
  color: var(--mid);
}
.article-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--g2);
}
.article-body ol { counter-reset: ol-counter; }
.article-body ol li { counter-increment: ol-counter; }
.article-body ol li::before {
  content: counter(ol-counter);
  position: absolute; left: 0; top: 0;
  font-family: var(--ffc); font-weight: 800; font-size: .9rem; color: var(--g2);
}
.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--g2);
  background: var(--bg);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--mid);
  font-style: italic;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: .9rem;
}
.article-body th {
  background: var(--bg);
  font-family: var(--ffc); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 12px 14px; text-align: left;
  border-bottom: 2px solid var(--g4);
  color: var(--g1);
}
.article-body td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--mid);
  vertical-align: top;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body img {
  border-radius: var(--r);
  margin: 24px 0;
  width: 100%;
}
.article-body figure { margin: 28px 0; }
.article-body figcaption {
  font-size: .8rem; color: var(--mid); text-align: center;
  margin-top: 8px; font-style: italic;
}

/* ============================================================
   CALLOUT BOXES
   ============================================================ */
.tip-box, .warn-box, .science-box, .conclusion-box {
  margin: 32px 0;
  padding: 24px 26px;
  border-radius: var(--r);
  border-left: 3px solid;
}
.tip-box {
  background: var(--g5);
  border-color: var(--g2);
}
.tip-box__label {
  font-family: var(--ffc); font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--g1);
  margin-bottom: 8px;
}
.tip-box p { color: var(--g1); font-size: .95rem; line-height: 1.7; margin: 0; }

.warn-box {
  background: #FFF9EC;
  border-color: #D97706;
}
.warn-box__label {
  font-family: var(--ffc); font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #92400E;
  margin-bottom: 8px;
}
.warn-box p { color: #78350F; font-size: .95rem; line-height: 1.7; margin: 0; }

.science-box {
  background: #EEF4FF;
  border-color: #3B82F6;
}
.science-box__label {
  font-family: var(--ffc); font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #1E40AF;
  margin-bottom: 8px;
}
.science-box p { color: #1E3A8A; font-size: .95rem; line-height: 1.7; margin: 0; }

.conclusion-box {
  background: linear-gradient(135deg, var(--g5), #fff);
  border-color: var(--g1);
  border-left-width: 4px;
}
.conclusion-box__label {
  font-family: var(--ffc); font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: var(--g1);
  margin-bottom: 12px;
}
.conclusion-box ul { margin: 0; padding: 0; }
.conclusion-box ul li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: .95rem; color: var(--g1); font-weight: 500;
}
.conclusion-box ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  font-size: .85rem; color: var(--g2); font-weight: 700;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.article-sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  margin-bottom: 20px;
}
.sidebar-widget__title {
  font-family: var(--ffc); font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--mid);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* Table of contents */
.toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-list a {
  font-size: 13px; color: var(--mid); font-weight: 500;
  padding: 5px 8px; border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all .15s;
}
.toc-list a:hover, .toc-list a.active {
  background: var(--g5); color: var(--g1);
  border-left-color: var(--g2);
}

/* Related products in sidebar */
.sidebar-product {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.sidebar-product:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-product__thumb {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--g5); object-fit: cover; flex-shrink: 0;
}
.sidebar-product__name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.sidebar-product__brand { font-size: 11px; color: var(--mid); margin-top: 2px; }

/* CTA widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--g0), var(--g1));
  border-radius: var(--r);
  padding: 22px 20px;
  margin-bottom: 20px;
}
.sidebar-cta__label {
  font-family: var(--ffc); font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 10px;
}
.sidebar-cta__title {
  font-family: var(--ffc); font-size: 1.1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -.01em;
  color: #fff; line-height: 1.1; margin-bottom: 16px;
}
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   RELATED ARTICLES (bottom of single)
   ============================================================ */
.related-sec { background: var(--bg); padding: 72px 0; }

/* ============================================================
   ARTICLE CTA BAND
   ============================================================ */
.cta-band { background: var(--bg); padding: 80px 0; }
.cta-inner {
  background: linear-gradient(135deg, var(--g0), var(--g1));
  border-radius: var(--r-lg);
  padding: 64px 60px;
  display: grid; grid-template-columns: 1fr auto; gap: 52px; align-items: center;
  box-shadow: var(--sh-lg);
}
@media(max-width:1100px) { .cta-inner { padding: 44px 36px; } }
@media(max-width:700px)  { .cta-inner { padding: 36px 26px; grid-template-columns: 1fr; } }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; padding: 48px 0;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-btn);
  font-size: 14px; font-weight: 600; transition: all .15s;
  border: 1.5px solid var(--line); color: var(--mid);
}
.pagination a:hover { background: var(--g5); color: var(--g1); border-color: var(--g4); }
.pagination .current {
  background: var(--g1); color: #fff; border-color: var(--g1);
}
.pagination .dots { border: none; }

/* ============================================================
   WILL-CHANGE
   ============================================================ */
.art-card { will-change: transform; }

/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.nav-links { align-items: center; }
.nav-links a { display: inline-flex; align-items: center; }
.dd-toggle { gap: 5px; }
.has-dd { position: relative; }
.nav-dd {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-md); min-width: 190px; padding: 6px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 700;
}
.has-dd:hover .nav-dd {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--mid);
  transition: all .15s; white-space: nowrap;
}
.nav-dd a:hover { background: var(--g5); color: var(--g1); }

/* Portal link */
.nav-portal-link {
  font-size: 13px; font-weight: 600; color: var(--mid);
  padding: 8px 10px; border-radius: var(--r-btn);
  transition: all .15s; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-portal-link:hover { background: var(--g5); color: var(--g1); }

/* ============================================================
   MOBILE NAV SUB-GROUPS
   ============================================================ */
.mob-sub { display: contents; }
.mob-sub-hd {
  padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--g1);
  border-bottom: 1px solid var(--line); display: block;
  letter-spacing: .5px; text-transform: uppercase;
}
.mob-sub-item {
  padding: 10px 14px 10px 24px; font-size: 14px; font-weight: 500; color: var(--mid);
  border-bottom: 1px solid rgba(12,23,15,.04); display: block; transition: all .15s;
}
.mob-sub-item:hover { background: var(--g5); color: var(--g1); }
.mob-portal-link {
  padding: 13px 14px; font-size: 14px; font-weight: 600; color: var(--mid);
  border-radius: 10px; text-align: center; display: block;
  transition: all .15s; border-bottom: 1px solid var(--line); text-decoration: none;
}
.mob-portal-link:hover { background: var(--g5); color: var(--g1); }

/* ============================================================
   FULL FOOTER (replaces ft-strip)
   ============================================================ */
footer { background: var(--ink); padding: 72px 0 0; }
.ft-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}
.ft-about {
  font-size: 13px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,.3); margin-top: 16px; max-width: 280px;
}
.ft-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ft-chip {
  padding: 3px 11px; border-radius: var(--r-btn);
  font-family: var(--ffc); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.05);
}
footer h4 {
  font-family: var(--ffc); font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.2); margin-bottom: 16px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
footer ul a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.44); transition: color .18s; text-decoration: none; }
footer ul a:hover { color: #fff; }
footer ul li { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.28); }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.ft-legal { display: flex; gap: 18px; }
.ft-legal a { font-size: 12px; color: rgba(255,255,255,.18); transition: color .2s; text-decoration: none; }
.ft-legal a:hover { color: rgba(255,255,255,.5); }

@media(max-width:1100px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:700px) {
  .ft-grid { grid-template-columns: 1fr; }
}
