/*
Theme Name:  Srbija Pobeđuje
Theme URI:   https://srbijapobedjuje.info
Author:      Srbija Pobeđuje Redakcija
Author URI:  https://srbijapobedjuje.info
Description: Novinski portal tema za Srbija Pobeđuje. Crveno-crno-bela paleta,
             Oswald tipografija, hero članak, sidebar sa najnovijim vestima.
             Optimizovana za WordPress 6.x.
Version:     1.1.39
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: srbija-pobedjuje
Tags:        news, magazine, two-columns, custom-menu, featured-images, translation-ready

--------------------------------------------------------------------------------
HOW WORDPRESS THEME FILES WORK TOGETHER
--------------------------------------------------------------------------------

WordPress uses a "template hierarchy" to decide which PHP file to load.
When a visitor hits a URL, WordPress checks for template files in this order:

  Homepage      → front-page.php → home.php → index.php
  Single post   → single-{post-type}-{slug}.php → single-{post-type}.php
                  → single.php → singular.php → index.php
  Category arch → category-{slug}.php → category-{id}.php
                  → category.php → archive.php → index.php
  Search        → search.php → index.php
  404 page      → 404.php → index.php

Every template file does the same job: it calls get_header(), outputs content,
then calls get_sidebar() and get_footer(). WordPress assembles the full HTML page
by stitching those partials together at runtime.

style.css IS the theme. WordPress reads the comment block above to register it
in Appearance > Themes. The CSS rules below are enqueued via functions.php using
wp_enqueue_style(), so this file controls both the theme metadata and the
front-end layout.

FUTURE: Add child-theme support by declaring Template: srbija-pobedjuje in a
child theme's style.css. That lets you override individual templates without
touching this parent theme.
*/

/* ============================================================
   GLOBAL CSS CUSTOM PROPERTIES (Design Tokens)
   These variables are defined here so the WordPress Customizer
   can eventually override them via the :root selector when you
   add live-preview support in functions.php.
   ============================================================ */
:root {
  color-scheme: only light;

  /* Brand colors */
  --color-red:        #CC0000;   /* Primary red — nav, badges, accents        */
  --color-red-dark:   #990000;   /* Hover/active red states                   */
  --color-black:      #111111;   /* Almost-black for text and footer bg        */
  --color-white:      #FFFFFF;

  /* UI surface colors */
  --color-gray-light: #F2F2F2;   /* Page background                           */
  --color-gray-mid:   #DDDDDD;   /* Borders, dividers                         */
  --color-gray-text:  #555555;   /* Secondary / muted text                    */

  /* Typography scale */
  --font-display:     'Oswald', sans-serif;        /* Headlines, nav, labels  */
  --font-serif:       'Source Serif 4', serif;     /* Body text in articles   */
  --font-ui:          'Roboto Condensed', sans-serif; /* UI chrome            */

  /* Spacing rhythm */
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  20px;
  --space-lg:  32px;
  --space-xl:  48px;

  /* Layout */
  --site-max-width:    1200px;
  --sidebar-width:     320px;
  --content-gap:       24px;

  /* FUTURE: Add --color-accent for a second accent color (e.g. gold for
     special coverage badges). Add --font-size-base and --line-height-body
     so editors can adjust readability from the Customizer. */
}

/* ============================================================
   RESET & BASE
   A minimal reset so browser defaults don't fight our layout.
   We use box-sizing: border-box universally — padding and border
   are included in element dimensions, which prevents overflow bugs.
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: only light;
  background-color: var(--color-gray-light);
}

body {
  font-family: var(--font-ui);
  background: var(--color-gray-light);
  color: var(--color-black);
  font-size: 16px;
  line-height: 1.5;
  color-scheme: only light;
}

@media (prefers-color-scheme: dark) {
  :root,
  html,
  body {
    color-scheme: only light;
  }

  html,
  body {
    background-color: var(--color-gray-light);
    color: var(--color-black);
  }

  input,
  textarea,
  select {
    color-scheme: only light;
    background-color: var(--color-white);
    color: var(--color-black);
  }
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover { color: var(--color-red); }

img {
  display: block;
  max-width: 100%;
  height: auto; /* Preserve aspect ratio when width is constrained */
}

/* WordPress adds .alignleft / .alignright / .aligncenter to images
   inserted via the Block Editor. These rules make them work. */
.alignleft  { float: left;  margin: 0 var(--space-md) var(--space-sm) 0; }
.alignright { float: right; margin: 0 0 var(--space-sm) var(--space-md); }
.aligncenter { display: block; margin: 0 auto var(--space-md); }

/* WordPress adds .wp-caption around images with captions */
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 12px;
  color: var(--color-gray-text);
  padding: 4px 0;
  font-style: italic;
}

/* Screen-reader only utility (used in template-parts for accessibility) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  overflow: visible;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
}

/* ============================================================
   BREAKING NEWS BAR
   ============================================================ */

.breaking-bar {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 14px;
  display: flex;
  align-items: center;
  height: 48px;
  overflow: hidden;
  border-bottom: 4px solid var(--color-red);
}

.breaking-label {
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.breaking-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.breaking-track {
  display: inline-flex;
  min-width: max-content;
  will-change: transform;
  animation: ticker 28s linear infinite;
}

.breaking-static {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  color: rgba(255,255,255,0.92);
}

.breaking-static a {
  color: inherit;
}

.breaking-static a:hover {
  color: var(--color-red);
}

.breaking-items {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 60px;
}

.breaking-items a {
  color: inherit;
  margin: 0 16px;
}

.breaking-items a:hover {
  color: var(--color-red);
}

.breaking-ticker:hover .breaking-track {
  animation-play-state: paused;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SITE HEADER
   Contains: logo + tagline + search bar
   ============================================================ */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-mid);
  padding: 34px 0 24px;
}

.header-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* Logo area wraps the uploaded mark and fallback text block. */
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  width: 100%;
}

.logo-wrap--image-only {
  gap: 0;
}

.logo-emblem {
  width: auto;
  max-width: min(680px, 100%);
  height: auto;
  /* FUTURE: Replace the inline SVG placeholder with an <img> tag pointing to
     a proper coat-of-arms PNG uploaded via the Customizer logo setting.
     Use get_custom_logo() in header.php to output it automatically. */
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
  align-items: center;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-red);
  text-transform: uppercase;
  /* Text shadow gives the gold-outlined look from the original logo */
  text-shadow: 2px 2px 0 var(--color-black);
}

.logo-title a {
  color: inherit;
}

.logo-emblem .custom-logo {
  width: auto;
  max-width: min(680px, 100%);
  height: auto;
  max-height: 230px;
  object-fit: contain;
}

.logo-wrap--image-only .logo-emblem,
.logo-wrap--image-only .logo-emblem .custom-logo {
  max-width: min(760px, 100%);
}

.logo-wrap--image-only .logo-emblem .custom-logo {
  max-height: 260px;
}

.logo-subtitle {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gray-text);
  text-transform: uppercase;
  margin-top: 8px;
  /* FUTURE: Pull this string from get_bloginfo('description') in header.php
     so editors can change the tagline from Settings > General in WP admin. */
}

/* Header search form
   In WordPress this is output by get_search_form() which loads
   searchform.php from the theme folder. */
.header-search {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

.header-search input[type="search"] {
  border: 1px solid var(--color-gray-mid);
  border-right: none;
  padding: 7px 12px;
  font-size: 13px;
  outline: none;
  width: 200px;
  font-family: var(--font-ui);
  background: var(--color-gray-light);
  /* FUTURE: Add a clear (×) button inside the field via JS / CSS ::-webkit-search-cancel-button */
}

.header-search input[type="search"]:focus {
  border-color: var(--color-red);
  background: var(--color-white);
}

.header-search button[type="submit"] {
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
}
.header-search button[type="submit"]:hover { background: var(--color-red-dark); }

/* ============================================================
   PRIMARY NAVIGATION
   WordPress outputs the nav via wp_nav_menu() in header.php.
   The 'menu-class' parameter adds .primary-nav-list to the <ul>.
   ============================================================ */

.main-nav {
  background: var(--color-red);
  border-top: 3px solid var(--color-red-dark);
  border-bottom: 3px solid var(--color-red-dark);
  /* FUTURE: Add position: sticky; top: 0; z-index: 100; here so the nav
     stays visible as users scroll down long articles. Also add a JS scroll
     listener in assets/js/main.js to add a .scrolled class that shrinks
     the nav height. */
}

.nav-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  /* FUTURE: Add flex-wrap: wrap for a second row of nav items when
     more categories are added. */
}

.primary-menu {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.primary-nav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 0;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }

/* WordPress generates anchor tags directly inside the nav list items.
   We target them via the menu container class set in wp_nav_menu(). */
.nav-inner a,
.primary-nav-list > li > a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 18px;
  display: block;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: background 0.15s;
}

.nav-inner a:first-child,
.primary-nav-list > li:first-child > a {
  border-left: 1px solid rgba(255,255,255,0.15);
}

/* WordPress adds .current-menu-item to the active page's <li> */
.nav-inner a:hover,
.nav-inner a.active,
.primary-nav-list > li.current-menu-item > a,
.primary-nav-list > li:hover > a {
  background: var(--color-red-dark);
  color: var(--color-white);
}

/* FUTURE: Add a .has-dropdown class + CSS-only dropdown submenu:
   .primary-nav-list > li.menu-item-has-children > ul.sub-menu {
     display: none; position: absolute; background: #111; ...
   }
   .primary-nav-list > li.menu-item-has-children:hover > ul.sub-menu {
     display: block;
   }
   WordPress automatically adds .sub-menu and .menu-item-has-children. */

/* ============================================================
   PAGE LAYOUT — Two-column grid (content + sidebar)
   ============================================================ */

.page-body {
  max-width: var(--site-max-width);
  margin: var(--space-md) auto;
  padding: 0 var(--space-md);
  display: grid;
  /* Main column fills remaining space; sidebar is fixed width */
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--content-gap);
  /* FUTURE: Add a media query to collapse to single column on mobile:
     @media (max-width: 900px) { grid-template-columns: 1fr; }
     The sidebar would then stack below the main content. */
}

.page-body-home {
  grid-template-columns: 1fr;
  max-width: 1100px;
}

/* ============================================================
   HERO / FEATURED ARTICLE
   The top-of-page large article with overlay title.
   In index.php this is the first post in The Loop (sticky post
   or most recent). The thumbnail is the "featured image" set
   in the WordPress editor (Post > Featured Image).
   ============================================================ */

.hero-article {
  position: relative;
  background: var(--color-black);
  overflow: hidden;
  cursor: pointer;
  /* FUTURE: Add a "Featured Story" indicator so editors can manually
     pin any post as hero using a custom field or the Sticky Post checkbox. */
}

.hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;   /* Crop to fill without stretching */
  opacity: 0.65;       /* Darken so white text on top is legible */
  display: block;
  transition: opacity 0.3s;
}
.hero-article:hover .hero-image { opacity: 0.55; }

/* Fallback shown when the post has no featured image */
.hero-image-placeholder {
  width: 100%;
  height: 380px;
  background: repeating-linear-gradient(
    -45deg,
    #1a1a1a 0, #1a1a1a 10px,
    #2a0000 10px, #2a0000 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gradient overlay that darkens the bottom of the hero image
   so the title text sits on a dark surface regardless of photo content */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 40%,
    rgba(0,0,0,0.05) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.hero-cat-badge {
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
  /* FUTURE: Output the actual category name from get_the_category()[0]->name
     and link it with get_category_link(). */
}

.hero-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  /* FUTURE: Clamp to 3 lines on mobile:
     display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
     overflow: hidden; */
}

.hero-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  /* Shows author + date. In PHP: get_the_author() + get_the_date() */
}

.hero-content {
  clear: both;
  display: flow-root;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.hero-content.article-full {
  padding: 28px;
}

.hero-content .entry-content > :last-child {
  margin-bottom: 0;
}

/* ============================================================
   INICIJATIVE ACCORDION
   ============================================================ */

.inicijative-section {
  clear: both;
  display: flow-root;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.inicijative-head {
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--color-red);
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.inicijative-title {
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding: 12px 16px;
  text-transform: uppercase;
}

.inicijative-head p {
  color: var(--color-gray-text);
  font-size: 15px;
}

.inicijative-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inicijativa-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
}

.inicijativa-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--color-black);
  cursor: pointer;
  display: grid;
  font-family: var(--font-display);
  gap: 24px;
  grid-template-columns: 48px 1fr 34px;
  padding: 16px 20px;
  text-align: left;
  width: 100%;
}

.inicijativa-number {
  align-items: center;
  background: var(--color-red);
  color: var(--color-white);
  display: flex;
  font-size: 20px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  line-height: 1;
  width: 48px;
}

.inicijativa-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.inicijativa-plus {
  align-items: center;
  background: var(--color-gray-light);
  color: var(--color-red);
  display: flex;
  font-size: 24px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.inicijativa-toggle:hover .inicijativa-heading,
.inicijativa-toggle:focus .inicijativa-heading {
  color: var(--color-red);
}

.inicijativa-toggle[aria-expanded="true"] .inicijativa-plus {
  background: var(--color-red);
  color: var(--color-white);
}

.inicijativa-panel {
  border-top: 1px solid var(--color-gray-mid);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 260px) 1fr;
  padding: 20px;
}

.inicijativa-panel[hidden] {
  display: none;
}

.inicijativa-panel-no-image {
  grid-template-columns: 1fr;
}

.inicijativa-image img {
  height: 170px;
  object-fit: cover;
  width: 100%;
}

.inicijativa-content {
  font-size: 16px;
}

.inicijativa-content > :last-child {
  margin-bottom: 0;
}

.inicijativa-link {
  color: var(--color-red);
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 10px;
  text-transform: uppercase;
}

/* ============================================================
   HOMEPAGE INFO BLOCK
   ============================================================ */

.homepage-info-block {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  border-left: 6px solid var(--color-red);
  clear: both;
  display: flow-root;
  margin-top: 24px;
  padding: 32px 28px;
  position: relative;
  z-index: 1;
}

.homepage-info-title {
  color: var(--color-black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 22px;
}

.homepage-info-content {
  color: var(--color-black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  line-height: 1.55;
}

.homepage-info-content p {
  margin-bottom: 20px;
}

.homepage-info-content strong,
.homepage-info-content b {
  font-weight: 700;
}

.homepage-info-content > :last-child {
  margin-bottom: 0;
}

/* ============================================================
   ARTICLE CARD GRID
   Two-column grid of post cards below the hero.
   In The Loop each card is output by including
   template-parts/content-card.php.
   ============================================================ */

.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  /* FUTURE: @media (max-width: 600px) { grid-template-columns: 1fr; } */
}

.article-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
}
.article-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

/* Featured image thumbnail */
.card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-thumb-placeholder {
  width: 100%;
  height: 160px;
  background: var(--color-gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-text);
  font-size: 32px;
}

.card-body { padding: 14px; }

/* Category label — from get_the_category() */
.card-category {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-black);
  margin-bottom: 8px;
  /* FUTURE: -webkit-line-clamp: 3 to cap long titles to 3 lines */
}
.card-title a:hover { color: var(--color-red); }

.read-more-link {
  color: var(--color-red);
  font-family: var(--font-ui);
  font-weight: 700;
}

/* Excerpt — from get_the_excerpt() or the_excerpt() */
.card-excerpt {
  font-size: 13px;
  color: var(--color-gray-text);
  line-height: 1.5;
  font-family: var(--font-serif);
}

.card-excerpt p {
  margin: 0;
}

.card-meta {
  font-size: 11px;
  color: var(--color-gray-text);
  margin-top: 10px;
  letter-spacing: 0.3px;
  /* FUTURE: Add read-time estimate calculated from word count:
     $words = str_word_count(strip_tags(get_the_content()));
     $minutes = ceil($words / 200); // avg reading speed */
}

/* ============================================================
   SECTION DIVIDERS
   Red label + red rule used between content blocks.
   In PHP: <div class="section-head"><div class="section-head-label">
   <?php single_cat_title(); ?></div><div class="section-head-line"></div></div>
   ============================================================ */

.section-head {
  display: flex;
  align-items: center;
  margin: 28px 0 14px;
}

.section-head-label {
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  white-space: nowrap;
}

.section-head-line {
  flex: 1;
  height: 3px;
  background: var(--color-red);
}

/* ============================================================
   SIDEBAR WIDGETS
   WordPress sidebar widgets are registered in functions.php via
   register_sidebar(). Each widget is wrapped in a .sidebar-widget
   container by the 'before_widget' / 'after_widget' parameters.
   ============================================================ */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  /* FUTURE: Add position: sticky; top: 80px; align-self: start;
     so the sidebar sticks while the main content scrolls.
     Requires the sticky-nav to also be in place. */
}

.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
}

/* Widget title — output via 'before_title' / 'after_title' in register_sidebar() */
.widget-header {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 3px solid var(--color-red);
}

.widget-body { padding: 12px 0; }

.sidebar-widget > :not(.widget-header):not(.widget-body) {
  padding: 12px 14px;
}

.sidebar-widget ul:not(.latest-list):not(.cat-list) {
  list-style: none;
}

/* ── Latest Posts list ── */
.latest-list { list-style: none; }

.latest-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-gray-mid);
}
.latest-list li:last-child { border-bottom: none; }

/* Numbered red badge — the counter incremented in PHP with $counter++ */
.latest-num {
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.latest-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
}
.latest-text a:hover { color: var(--color-red); }

/* ── Category list widget ── */
.cat-list { list-style: none; }

.cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--color-gray-mid);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-black);
  transition: background 0.1s;
}
.cat-list li:last-child a { border-bottom: none; }
.cat-list li a:hover {
  background: var(--color-gray-light);
  color: var(--color-red);
}

/* Post count badge next to each category */
.cat-count {
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray-mid);
  font-size: 11px;
  padding: 1px 7px;
  color: var(--color-gray-text);
}

/* ── Sidebar search form ── */
.widget-search {
  display: flex;
  padding: 12px 14px;
}

.widget-search input[type="search"] {
  border: 1px solid var(--color-gray-mid);
  border-right: none;
  padding: 7px 10px;
  font-size: 13px;
  outline: none;
  flex: 1;
  font-family: var(--font-ui);
}
.widget-search input[type="search"]:focus { border-color: var(--color-red); }

.widget-search button[type="submit"] {
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.widget-search button[type="submit"]:hover { background: var(--color-red-dark); }

/* ============================================================
   SINGLE POST / FULL ARTICLE
   Template: single.php
   ============================================================ */

.article-full {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  padding: var(--space-lg);
}

.article-full-cat {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 12px;
}

.article-full-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}

.article-full-meta {
  font-size: 12px;
  color: var(--color-gray-text);
  border-top: 1px solid var(--color-gray-mid);
  border-bottom: 1px solid var(--color-gray-mid);
  padding: 10px 0;
  margin-bottom: 24px;
  /* FUTURE: Add social share icons here using the Font Awesome or
     Dashicons icon set (Dashicons come bundled with WordPress). */
}

.article-featured-image {
  margin: 0 0 24px;
}

.article-featured-image img {
  width: 100%;
  height: auto;
}

/* The article body — output by the_content() in single.php.
   WordPress's Block Editor outputs semantic HTML that we style here. */
.entry-content,
.article-full-body {
  display: flow-root;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.8;
  color: #222;
}

/* Style WordPress block editor output within the article body */
.entry-content p     { margin-bottom: 18px; }
.entry-content h2    { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 28px 0 12px; }
.entry-content h3    { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 24px 0 10px; }
.entry-content ul,
.entry-content ol    { padding-left: 24px; margin-bottom: 18px; }
.entry-content li    { margin-bottom: 6px; }
.entry-content blockquote {
  border-left: 4px solid var(--color-red);
  padding: 12px 20px;
  margin: 24px 0;
  font-style: italic;
  background: var(--color-gray-light);
  color: var(--color-gray-text);
}

.page-links {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--color-gray-mid);
}

.article-tags a {
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray-mid);
  color: var(--color-gray-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 9px;
  text-transform: uppercase;
}

.article-tags a:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}
/* FUTURE: Add .wp-block-image, .wp-block-video, .wp-block-embed styles
   for the Gutenberg blocks that editors commonly insert in long-form articles. */

/* Back link shown above single articles */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-red);
  padding: 8px 18px;
  margin-bottom: 20px;
  transition: background 0.15s;
}
.back-link:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.post-nav a {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 14px;
  text-transform: uppercase;
}

.post-nav-next {
  text-align: right;
}

.post-nav a:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.archive-description,
.empty-state {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  color: var(--color-gray-text);
  font-family: var(--font-serif);
  line-height: 1.7;
  padding: 18px;
}

.empty-state h2 {
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}

.empty-state .widget-search {
  padding: 18px 0 0;
}

/* ============================================================
   PAGINATION
   WordPress outputs pagination via the_posts_pagination() function.
   The 'class' parameter maps to our styles below.
   ============================================================ */

.posts-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: var(--space-lg) 0;
}

.posts-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.posts-pagination .page-numbers {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--color-gray-mid);
  background: var(--color-white);
  color: var(--color-black);
  transition: all 0.15s;
}

.posts-pagination .page-numbers.current,
.posts-pagination .page-numbers:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

/* ============================================================
   404 PAGE
   Template: 404.php
   ============================================================ */

.error-404 {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  padding: var(--space-xl);
  text-align: center;
}

.error-404 .error-number {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 12px;
}

.error-404 .error-message {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  margin-top: var(--space-xl);
  border-top: 4px solid var(--color-red);
}

.footer-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 36px var(--space-md);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  /* FUTURE: Responsive: @media (max-width: 768px) { grid-template-columns: 1fr 1fr; }
                          @media (max-width: 480px) { grid-template-columns: 1fr; } */
}

.footer-about .footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.footer-about p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-red);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 7px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--color-red); }

/* FUTURE: Add social media icon bar using Dashicons or an SVG sprite:
   .footer-social { display: flex; gap: 12px; margin-top: 16px; }
   .footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); ... } */

.footer-bottom {
  background: #000;
  text-align: center;
  padding: 14px var(--space-md);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

.footer-bottom a { color: var(--color-red); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 280px;
    --content-gap: 20px;
  }

  .logo-title { font-size: 46px; }
  .hero-title { font-size: 34px; }

  .nav-inner a,
  .primary-nav-list > li > a {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 900px) {
  .page-body {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .site-header {
    padding-top: 24px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-inner {
    display: block;
    padding: 0 var(--space-md);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-menu {
    display: none;
    flex-direction: column;
    padding-bottom: 10px;
  }

  .primary-menu.is-open {
    display: flex;
  }

  .primary-nav-list {
    display: block;
  }

  .primary-menu a,
  .primary-nav-list > li > a {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255,255,255,0.16);
    padding: 12px 0;
  }

  .nav-inner a:first-child,
  .primary-nav-list > li:first-child > a {
    border-left: 0;
  }

  .hero-image,
  .hero-image-placeholder {
    height: 320px;
  }

  .hero-title {
    font-size: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 36px;
  }

  .breaking-bar {
    height: auto;
    min-height: 44px;
  }

  .breaking-label {
    font-size: 13px;
    padding: 8px 12px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .logo-wrap {
    align-items: center;
  }

  .logo-emblem,
  .logo-emblem .custom-logo {
    width: auto;
    max-width: min(420px, 94vw);
    max-height: 150px;
  }

  .logo-wrap--image-only .logo-emblem,
  .logo-wrap--image-only .logo-emblem .custom-logo {
    max-width: min(560px, 94vw);
    max-height: 190px;
  }

  .logo-title {
    font-size: 38px;
    letter-spacing: 1px;
  }

  .logo-subtitle {
    font-size: 15px;
    letter-spacing: 1.5px;
  }

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

  .section-head-label {
    white-space: normal;
  }

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

  .hero-image,
  .hero-image-placeholder {
    height: 260px;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-title {
    font-size: 24px;
  }

  .article-full {
    padding: 22px 18px;
  }

  .article-full-title {
    font-size: 27px;
  }

  .inicijative-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .inicijative-title {
    font-size: 16px;
  }

  .inicijativa-toggle {
    gap: 14px;
    grid-template-columns: 42px 1fr 30px;
    padding: 14px;
  }

  .inicijativa-number {
    font-size: 18px;
    height: 42px;
    width: 42px;
  }

  .inicijativa-heading {
    font-size: 20px;
  }

  .inicijativa-plus {
    height: 30px;
    width: 30px;
  }

  .inicijativa-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .homepage-info-block {
    padding: 24px 20px;
  }

  .homepage-info-title {
    font-size: 27px;
  }

  .homepage-info-content {
    font-size: 18px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-next {
    text-align: left;
  }

  .entry-content,
  .article-full-body {
    font-size: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .header-search,
  .widget-search {
    flex-direction: column;
  }

  .header-search input[type="search"],
  .widget-search input[type="search"] {
    border-right: 1px solid var(--color-gray-mid);
  }

  .header-search button[type="submit"],
  .widget-search button[type="submit"] {
    width: 100%;
  }

  .card-thumb,
  .card-thumb-placeholder {
    height: 190px;
  }

  .inicijativa-toggle {
    grid-template-columns: 38px 1fr 28px;
  }

  .inicijativa-number {
    height: 38px;
    width: 38px;
  }

  .inicijativa-heading {
    font-size: 18px;
  }

  .homepage-info-block {
    padding: 22px 16px;
  }

  .homepage-info-title {
    font-size: 24px;
  }

  .homepage-info-content {
    font-size: 17px;
  }
}

/* ============================================================
   PREMIUM LANDING PAGE
   Scoped to front-page.php.
   ============================================================ */

:root {
  --landing-navy: #061326;
  --landing-navy-2: #0b2140;
  --landing-blue: #123f7a;
  --landing-red: #df0f1b;
  --landing-paper: #ffffff;
  --landing-ink: #071427;
  --landing-muted: #65738a;
  --landing-line: rgba(8, 27, 51, 0.12);
  --landing-shadow: 0 16px 45px rgba(5, 15, 31, 0.12);
}

.landing-page {
  background:
    linear-gradient(180deg, #f7f9fd 0%, #eef3fa 42%, #f8fafc 100%);
  color: var(--landing-ink);
  overflow: clip;
}

.landing-section {
  margin: clamp(42px, 7vw, 90px) auto;
  width: min(1180px, calc(100% - 32px));
}

.landing-section-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.landing-section-head h2 {
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.landing-section-kicker {
  color: var(--landing-red);
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.landing-section-head-light h2,
.landing-section-head-light .landing-section-kicker {
  color: var(--color-white);
}

.landing-hero {
  background:
    linear-gradient(120deg, var(--landing-navy) 0%, var(--landing-navy-2) 58%, #102c54 100%);
  background-position: center;
  background-size: cover;
  color: var(--color-white);
  min-height: min(760px, 74vh);
  position: relative;
}

.landing-hero::after {
  background:
    linear-gradient(180deg, rgba(6, 19, 38, 0) 0%, rgba(6, 19, 38, 0.28) 100%),
    linear-gradient(90deg, var(--landing-red) 0 33%, var(--landing-blue) 33% 66%, #ffffff 66% 100%);
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.landing-hero-inner {
  align-items: center;
  display: flex;
  min-height: min(760px, 74vh);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 24px;
  width: min(1180px, 100%);
}

.landing-hero-copy {
  max-width: 780px;
}

.landing-eyebrow,
.landing-card-cat {
  background: var(--landing-red);
  color: var(--color-white);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.landing-eyebrow:hover,
.landing-card-cat:hover {
  color: var(--color-white);
  background: #b90713;
}

.landing-hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 18px 0;
  max-width: 12ch;
  text-transform: uppercase;
}

.landing-hero-title a {
  color: inherit;
}

.landing-hero-excerpt {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  max-width: 690px;
}

.landing-hero-meta {
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 1px;
  margin-top: 22px;
  text-transform: uppercase;
}

.landing-hero-button {
  background: var(--landing-red);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 28px;
  padding: 13px 20px;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.landing-hero-button:hover {
  background: #b90713;
  color: var(--color-white);
  transform: translateY(-2px);
}

.landing-card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-card,
.topic-card,
.dashboard-card {
  background: var(--landing-paper);
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(5, 15, 31, 0.07);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.landing-card:hover,
.topic-card:hover,
.dashboard-card:hover {
  box-shadow: var(--landing-shadow);
  transform: translateY(-4px);
}

.landing-card-image,
.topic-card-image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--landing-navy), var(--landing-blue));
  display: block;
  overflow: hidden;
}

.landing-card-image img,
.topic-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.landing-card:hover img,
.topic-card:hover img {
  transform: scale(1.04);
}

.landing-card-placeholder {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-family: var(--font-display);
  font-weight: 800;
  height: 100%;
  justify-content: center;
  letter-spacing: 1px;
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
}

.landing-card-body {
  padding: 18px;
}

.landing-card-title,
.topic-card h4 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 12px 0 10px;
}

.landing-card-title a,
.topic-card h4 a {
  color: var(--landing-ink);
}

.landing-card-title a:hover,
.topic-card h4 a:hover {
  color: var(--landing-red);
}

.landing-card-excerpt {
  color: var(--landing-muted);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.55;
}

.landing-dashboard {
  background:
    linear-gradient(135deg, rgba(223, 15, 27, 0.16), transparent 35%),
    linear-gradient(135deg, var(--landing-navy), #0b2b55);
  border-radius: 8px;
  box-shadow: var(--landing-shadow);
  color: var(--color-white);
  padding: clamp(30px, 5vw, 58px);
  width: min(1180px, calc(100% - 32px));
}

.dashboard-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: var(--color-white);
  padding: 20px;
}

.dashboard-mark {
  background: linear-gradient(90deg, var(--landing-red), #ffffff, var(--landing-blue));
  border-radius: 999px;
  display: block;
  height: 5px;
  margin-bottom: 18px;
  width: 54px;
}

.dashboard-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.dashboard-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.landing-page .inicijative-section,
.landing-page .homepage-info-block {
  width: min(1180px, calc(100% - 32px));
}

.landing-page .inicijative-section {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(5, 15, 31, 0.06);
  padding: clamp(22px, 4vw, 34px);
}

.landing-page .homepage-info-block {
  box-shadow: 0 10px 30px rgba(5, 15, 31, 0.07);
}

.topic-section-list {
  display: grid;
  gap: 26px;
}

.topic-section {
  background: var(--landing-paper);
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(5, 15, 31, 0.06);
  padding: 22px;
}

.topic-section-head {
  align-items: center;
  border-bottom: 1px solid var(--landing-line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.topic-section-head h3 {
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.topic-section-head a {
  color: var(--landing-red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.topic-card-body {
  padding: 15px;
}

.topic-card time {
  color: var(--landing-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .landing-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .landing-hero,
  .landing-hero-inner {
    min-height: 620px;
  }

  .landing-hero-inner {
    align-items: end;
  }

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

@media (max-width: 680px) {
  .landing-section,
  .landing-dashboard,
  .landing-page .inicijative-section,
  .landing-page .homepage-info-block {
    width: min(100% - 24px, 1180px);
  }

  .landing-section-head,
  .topic-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-card-grid,
  .dashboard-grid,
  .topic-card-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero,
  .landing-hero-inner {
    min-height: 560px;
  }

  .landing-hero {
    background-position: center;
  }

  .landing-hero-inner {
    padding: 56px 18px;
  }

  .landing-hero-title {
    max-width: 100%;
  }

  .landing-hero-meta {
    gap: 8px;
  }

  .landing-dashboard,
  .topic-section {
    padding: 18px;
  }
}

/* ============================================================
   FUTURE-PROOF PORTAL REFINEMENTS
   ============================================================ */

:root {
  --sp-navy: #07172f;
  --sp-blue: #123d8f;
  --sp-red: #d71920;
  --sp-black: #050505;
  --sp-white: #ffffff;
  --sp-bg: #f3f5f8;
  --sp-text: #111827;
  --sp-muted: #6b7280;
  --sp-border: rgba(15, 23, 42, 0.12);
  --sp-radius: 20px;
  --sp-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --sp-container: 1180px;
  --sp-wide: 1360px;
}

body {
  background: var(--sp-bg);
  color: var(--sp-text);
}

.breaking-bar {
  height: 42px;
  border-bottom-color: var(--sp-red);
}

.breaking-label {
  background: var(--sp-red);
}

.site-header {
  padding: clamp(22px, 3vw, 34px) 0 clamp(18px, 2.5vw, 28px);
}

.logo-title {
  color: var(--sp-red);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
}

.logo-subtitle {
  color: var(--sp-muted);
  font-size: clamp(13px, 1.5vw, 17px);
  max-width: 820px;
}

.main-nav {
  background: var(--sp-red);
  border-top: 0;
  border-bottom: 4px solid #a70f16;
}

.nav-inner {
  max-width: var(--sp-wide);
  padding: 0 18px;
}

.primary-menu {
  justify-content: center;
  min-width: 0;
}

.nav-inner a,
.primary-nav-list > li > a {
  font-size: 15px;
  letter-spacing: 0.7px;
  padding: 15px 18px;
  white-space: nowrap;
}

.landing-page {
  background: linear-gradient(180deg, #f6f8fb 0%, #eef3f8 46%, #f9fafc 100%);
  overflow-x: hidden;
}

.landing-section {
  margin: clamp(46px, 7vw, 96px) auto;
  width: min(var(--sp-container), calc(100% - 32px));
}

.landing-hero {
  isolation: isolate;
  min-height: clamp(560px, 72vh, 790px);
  overflow: hidden;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.landing-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(7, 23, 47, 0.98) 0%, rgba(7, 23, 47, 0.86) 44%, rgba(7, 23, 47, 0.42) 100%),
    radial-gradient(circle at 78% 18%, rgba(215, 25, 32, 0.28), transparent 32%);
  content: "";
  position: absolute;
  inset: 0;
}

.landing-hero-img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.landing-hero.no-hero-image .landing-hero-bg {
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 25, 32, 0.32), transparent 34%),
    linear-gradient(135deg, var(--sp-navy), #0d315e 58%, #08111f);
}

.landing-hero-inner {
  min-height: clamp(560px, 72vh, 790px);
  width: min(var(--sp-wide), 100%);
}

.landing-hero-copy {
  max-width: 850px;
}

.landing-hero-title {
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.94;
  max-width: 13ch;
}

.landing-hero-excerpt {
  max-width: 760px;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.landing-hero-actions .landing-hero-button {
  margin-top: 0;
}

.landing-hero-button,
.landing-hero-secondary,
.sp-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.8px;
  min-height: 44px;
  padding: 12px 20px;
  text-transform: uppercase;
}

.landing-hero-button,
.sp-button {
  background: var(--sp-red);
  color: var(--sp-white);
}

.landing-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--sp-white);
}

.landing-hero-secondary:hover,
.landing-hero-button:hover,
.sp-button:hover {
  background: #b91018;
  color: var(--sp-white);
}

.homepage-info-wide {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-left: 8px solid var(--sp-red);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  width: min(var(--sp-wide), calc(100% - 32px));
}

.homepage-info-inner {
  padding: clamp(28px, 5vw, 60px);
}

.homepage-info-title {
  color: var(--sp-text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 22px;
  max-width: 920px;
}

.homepage-info-content {
  color: var(--sp-text);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.72;
  max-width: 980px;
}

.inicijative-feature {
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.07), rgba(18, 61, 143, 0.06)),
    var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  padding: clamp(28px, 5vw, 60px);
  width: min(var(--sp-wide), calc(100% - 32px));
}

.inicijative-feature .inicijative-head {
  align-items: flex-start;
  border-bottom: 0;
  display: block;
  margin-bottom: 28px;
}

.inicijative-feature .inicijative-title {
  background: transparent;
  color: var(--sp-navy);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.96;
  padding: 0;
}

.inicijative-feature .inicijative-head p {
  color: var(--sp-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-top: 14px;
  max-width: 720px;
}

.inicijative-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inicijative-feature .inicijativa-item {
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.inicijative-feature .inicijativa-toggle {
  gap: 16px;
  grid-template-columns: 58px 1fr 36px;
  min-height: 130px;
  padding: 20px;
}

.inicijativa-summary {
  color: var(--sp-muted);
  display: block;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  grid-column: 2;
  line-height: 1.45;
  margin-top: 7px;
  text-transform: none;
}

.inicijative-feature .inicijativa-number {
  background: var(--sp-red);
  border-radius: 14px;
  grid-row: 1 / span 2;
  height: 58px;
  width: 58px;
}

.inicijative-feature .inicijativa-heading {
  color: var(--sp-navy);
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  grid-column: 2;
  line-height: 1.08;
}

.inicijative-feature .inicijativa-plus {
  align-self: center;
  border-radius: 999px;
  grid-column: 3;
  grid-row: 1 / span 2;
}

.inicijative-feature .inicijativa-toggle[aria-expanded="true"] {
  background: var(--sp-navy);
  color: var(--sp-white);
}

.inicijative-feature .inicijativa-toggle[aria-expanded="true"] .inicijativa-heading,
.inicijative-feature .inicijativa-toggle[aria-expanded="true"] .inicijativa-summary {
  color: var(--sp-white);
}

.inicijative-feature .inicijativa-panel {
  background: #f8fafc;
  grid-template-columns: 1fr;
}

.inicijative-actions {
  margin-top: 26px;
  text-align: center;
}

.landing-dashboard {
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(48px, 7vw, 92px) 0;
  width: 100%;
}

.landing-dashboard .landing-section-head,
.landing-dashboard .dashboard-grid {
  margin-left: auto;
  margin-right: auto;
  width: min(var(--sp-wide), calc(100% - 32px));
}

.dashboard-grid {
  gap: 18px;
}

.dashboard-card {
  border-radius: 18px;
  color: var(--sp-white);
  display: block;
  min-height: 190px;
  position: relative;
}

.dashboard-card-link:hover {
  color: var(--sp-white);
}

.dashboard-card-label {
  color: rgba(255, 255, 255, 0.65);
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.landing-content-grid,
.landing-latest-grid,
.landing-topics {
  width: min(var(--sp-wide), calc(100% - 32px));
}

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

.sp-post-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sp-post-card:hover {
  box-shadow: var(--sp-shadow);
  transform: translateY(-4px);
}

.sp-post-card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--sp-navy), var(--sp-blue));
  display: block;
  overflow: hidden;
}

.landing-card-image-politika,
.sp-post-card-media-politika {
  background: linear-gradient(135deg, #07172f, #d71920);
}

.landing-card-image-drustvo,
.sp-post-card-media-drustvo {
  background: linear-gradient(135deg, #123d8f, #07172f);
}

.landing-card-image-beograd,
.sp-post-card-media-beograd {
  background: linear-gradient(135deg, #102a4f, #e21b2d);
}

.landing-card-image-ekonomija,
.sp-post-card-media-ekonomija {
  background: linear-gradient(135deg, #063b2f, #123d8f);
}

.landing-card-image-infrastruktura,
.sp-post-card-media-infrastruktura {
  background: linear-gradient(135deg, #202a3b, #d71920);
}

.landing-card-image-expo,
.landing-card-image-expo-2027,
.sp-post-card-media-expo,
.sp-post-card-media-expo-2027 {
  background: linear-gradient(135deg, #07172f, #123d8f 54%, #e21b2d);
}

.landing-card-image-2030,
.landing-card-image-srbija-2030,
.sp-post-card-media-2030,
.sp-post-card-media-srbija-2030 {
  background: linear-gradient(135deg, #020817, #123d8f);
}

.sp-post-card-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.sp-post-card-placeholder {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-family: var(--font-display);
  font-weight: 800;
  height: 100%;
  justify-content: center;
  padding: 18px;
  text-align: center;
  text-transform: uppercase;
}

.sp-post-card-body {
  padding: 20px;
}

.sp-post-card-cat,
.sp-article-cat {
  background: var(--sp-red);
  color: var(--sp-white);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.sp-post-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.08;
  margin: 14px 0 10px;
}

.sp-post-card-excerpt {
  color: var(--sp-muted);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
}

.sp-post-card-date {
  color: var(--sp-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 16px;
  text-transform: uppercase;
}

.sp-archive-page,
.sp-single-page,
.sp-page {
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 16px clamp(60px, 7vw, 96px);
  width: min(var(--sp-wide), 100%);
}

.sp-archive-hero,
.sp-page-header,
.sp-article-header {
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.11), transparent 34%),
    linear-gradient(135deg, var(--sp-navy), #0d315e);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  color: var(--sp-white);
  margin-bottom: clamp(26px, 4vw, 42px);
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px);
}

.sp-archive-kicker,
.sp-page-kicker {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sp-archive-hero h1,
.sp-page-header h1,
.sp-article-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  max-width: 980px;
  text-transform: uppercase;
}

.sp-archive-hero p,
.sp-article-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  margin-top: 18px;
  max-width: 760px;
}

.sp-archive-grid {
  margin-top: 26px;
}

.sp-empty-state {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin: clamp(34px, 5vw, 70px) auto;
  padding: clamp(30px, 5vw, 60px);
  text-align: center;
  width: min(860px, calc(100% - 32px));
}

.sp-empty-state-kicker {
  color: var(--sp-red);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sp-empty-state h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  margin-bottom: 14px;
}

.sp-empty-state p {
  color: var(--sp-muted);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 auto 24px;
  max-width: 660px;
}

.sp-single-page {
  width: min(1120px, 100%);
}

.sp-article {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  overflow: hidden;
}

.sp-article-header {
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.sp-article-header .back-link {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  margin-bottom: 22px;
}

.sp-article-cat {
  margin-bottom: 18px;
}

.sp-article-meta {
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  gap: 14px;
  letter-spacing: 0.8px;
  margin-top: 22px;
  text-transform: uppercase;
}

.sp-article-featured-image {
  border-radius: 18px;
  margin-top: 34px;
  overflow: hidden;
}

.sp-article-featured-image img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.sp-article-content {
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.82;
  margin: 0 auto;
  max-width: 760px;
  padding: clamp(30px, 5vw, 62px) 24px;
}

.sp-source-box,
.sp-article-tags {
  background: #f8fafc;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  max-width: 760px;
  padding: 22px;
}

.sp-source-box h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 12px;
}

.sp-source-box a {
  color: var(--sp-red);
  font-weight: 800;
}

.sp-post-nav {
  margin: 28px auto;
  max-width: 1120px;
}

.sp-related-posts {
  margin-top: clamp(42px, 6vw, 76px);
}

.sp-page {
  width: min(980px, 100%);
}

.sp-page-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  padding: clamp(28px, 5vw, 58px);
}

.sp-page-content {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.78;
}

.sp-contact-card {
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.08), rgba(18, 61, 143, 0.08)),
    #f8fafc;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  margin-top: 34px;
  padding: 24px;
}

.sp-contact-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 10px;
}

.sp-contact-email,
.footer-contact-link {
  color: var(--sp-red);
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 800;
  margin: 8px 0 14px;
}

.sp-contact-note {
  color: var(--sp-muted);
  font-size: 15px;
}

.footer-contact-link {
  margin-top: 14px;
}

.sp-pagination {
  margin-top: 34px;
}

@media (max-width: 1200px) {
  .nav-inner {
    overflow-x: auto;
  }

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

  .inicijative-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .landing-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 23, 47, 0.72) 0%, rgba(7, 23, 47, 0.96) 78%),
      radial-gradient(circle at 70% 16%, rgba(215, 25, 32, 0.25), transparent 36%);
  }

  .primary-menu {
    justify-content: flex-start;
  }

  .sp-archive-hero,
  .sp-page-header,
  .sp-article-header {
    padding: 34px 24px;
  }
}

@media (max-width: 768px) {
  .breaking-bar {
    height: auto;
    min-height: 40px;
  }

  .breaking-label {
    font-size: 12px;
    padding: 0 10px;
  }

  .breaking-static {
    padding: 8px 12px;
    white-space: normal;
  }

  .nav-inner {
    overflow-x: visible;
  }

  .nav-inner a,
  .primary-nav-list > li > a {
    white-space: normal;
  }

  .landing-hero,
  .landing-hero-inner {
    min-height: 620px;
  }

  .landing-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-hero-button,
  .landing-hero-secondary {
    width: 100%;
  }

  .inicijative-feature,
  .homepage-info-wide,
  .sp-page-card {
    border-radius: 16px;
  }

  .inicijative-feature .inicijativa-toggle {
    grid-template-columns: 48px 1fr 32px;
    min-height: auto;
    padding: 16px;
  }

  .inicijative-feature .inicijativa-number {
    height: 48px;
    width: 48px;
  }

  .sp-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-top: 18px;
  }

  .logo-title {
    font-size: 36px;
  }

  .landing-section,
  .landing-content-grid,
  .landing-latest-grid,
  .landing-topics,
  .homepage-info-wide,
  .inicijative-feature {
    width: min(100% - 20px, var(--sp-wide));
  }

  .landing-hero-title,
  .sp-archive-hero h1,
  .sp-page-header h1,
  .sp-article-title {
    font-size: clamp(2.1rem, 13vw, 3.4rem);
  }

  .homepage-info-inner,
  .inicijative-feature,
  .sp-page-card {
    padding: 22px;
  }
}

/* ============================================================
   Production refinement pass: modular site parts, focus rail,
   archive lead card, article trust metadata, and cleaner footer.
   ============================================================ */

.breaking-bar {
  min-height: 36px;
}

.breaking-bar a {
  color: inherit;
  text-decoration: none;
}

.breaking-bar a:hover {
  color: var(--sp-red, #e21b2d);
}

.breaking-separator {
  color: var(--sp-red, #e21b2d);
  font-weight: 900;
  margin: 0 10px;
}

.site-header {
  padding-top: clamp(18px, 2.4vw, 34px);
  padding-bottom: clamp(18px, 2.4vw, 34px);
}

.site-header--logo-only {
  padding-top: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(16px, 2vw, 28px);
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 90;
}

.admin-bar .main-nav {
  top: 32px;
}

.landing-hero-inner {
  gap: clamp(28px, 5vw, 72px);
}

.landing-hero-focus {
  display: none;
}

@media (min-width: 1180px) {
  .landing-hero-inner {
    align-items: end;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }

  .landing-hero-copy {
    max-width: 860px;
  }

  .landing-hero-focus {
    align-self: center;
    backdrop-filter: blur(16px);
    background: rgba(2, 8, 23, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    color: #fff;
    display: grid;
    gap: 12px;
    padding: 18px;
  }
}

.landing-hero-focus-kicker {
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero-focus-link {
  border-left: 3px solid var(--sp-red, #e21b2d);
  color: #fff;
  display: grid;
  gap: 4px;
  padding: 12px 12px 12px 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.landing-hero-focus-link:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.landing-hero-focus-link strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.landing-hero-focus-link span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.45;
}

.homepage-info-content {
  max-width: 840px;
}

.inicijativa-content {
  font-size: 0.98rem;
  line-height: 1.65;
}

.inicijativa-link {
  color: var(--sp-red, #e21b2d);
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 800;
  margin-top: 8px;
  text-decoration: none;
  text-transform: uppercase;
}

.sp-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.sp-button-secondary {
  background: #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  color: var(--sp-navy, #07172f);
}

.sp-button-secondary:hover {
  background: var(--sp-navy, #07172f);
  color: #fff;
}

.sp-archive-grid-has-lead {
  align-items: stretch;
}

.sp-featured-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  overflow: hidden;
}

.sp-featured-card-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sp-navy, #07172f), var(--sp-red, #e21b2d));
  min-height: 320px;
  overflow: hidden;
}

.sp-featured-card-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.sp-featured-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.sp-featured-card-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.sp-featured-card-title a {
  color: var(--sp-text, #111827);
  text-decoration: none;
}

.sp-featured-card-excerpt {
  color: var(--sp-muted, #6b7280);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.sp-article-trust-strip {
  background: linear-gradient(135deg, rgba(7, 23, 47, 0.96), rgba(18, 61, 143, 0.9));
  border-radius: 18px;
  color: #fff;
  display: grid;
  gap: 8px;
  margin: 26px auto 0;
  max-width: 860px;
  padding: 18px 20px;
  text-align: left;
}

.sp-article-trust-strip > span {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-article-trust-strip p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin: 0;
}

.sp-article-trust-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-ui);
  font-weight: 700;
}

.sp-article-trust-meta a,
.sp-article-trust-meta span {
  color: #fff;
}

.footer-category-list a {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.footer-count {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  min-width: 28px;
  padding: 2px 8px;
  text-align: center;
}

.footer-credibility {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  margin: 0 auto;
  max-width: var(--sp-wide, 1360px);
  padding: 18px clamp(20px, 4vw, 48px) 0;
  text-align: center;
}

.dashboard-card-link {
  position: relative;
}

.dashboard-card-link::after {
  color: rgba(255, 255, 255, 0.72);
  content: "→";
  font-size: 1.25rem;
  position: absolute;
  right: 20px;
  top: 18px;
}

@media (max-width: 782px) {
  .admin-bar .main-nav {
    top: 46px;
  }
}

@media (max-width: 900px) {
  .sp-featured-card {
    grid-template-columns: 1fr;
  }

  .sp-featured-card-media {
    min-height: 220px;
  }
}

@media (max-width: 700px) {
  .main-nav {
    position: relative;
    top: auto;
  }

  .admin-bar .main-nav {
    top: auto;
  }

  .breaking-bar {
    min-height: 34px;
  }

  .sp-empty-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ============================================================
   Category archive hubs
   ============================================================ */

.archive-hub {
  --category-accent: var(--sp-red, #e21b2d);
  --category-accent-secondary: var(--sp-blue, #123d8f);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
}

.archive-hero {
  background: linear-gradient(135deg, #020817, #07172f 54%, #123d8f);
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--category-accent) 32%, transparent), transparent 28%),
    linear-gradient(135deg, rgba(2, 8, 23, 0.98), rgba(7, 23, 47, 0.95) 54%, color-mix(in srgb, var(--category-accent-secondary) 24%, #07172f));
  border-radius: var(--sp-radius, 20px);
  box-shadow: var(--sp-shadow, 0 18px 50px rgba(15, 23, 42, 0.12));
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  overflow: hidden;
  padding: clamp(36px, 6vw, 78px);
  position: relative;
}

.archive-hero::before {
  background:
    linear-gradient(90deg, var(--category-accent), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px);
  content: "";
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
}

.archive-hero::after {
  background: var(--category-accent);
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  width: 100%;
}

.archive-hero-copy,
.archive-hero-meta {
  position: relative;
  z-index: 1;
}

.archive-hero-label,
.archive-module-head span,
.archive-controls-label,
.archive-results-head span,
.archive-featured-kicker {
  color: color-mix(in srgb, var(--category-accent) 74%, #fff);
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 14px 0 0;
  max-width: 980px;
  text-transform: uppercase;
}

.archive-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.36rem);
  line-height: 1.65;
  margin: 22px 0 0;
  max-width: 760px;
}

.archive-hero-meta {
  align-self: end;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  display: grid;
  gap: 4px;
  justify-items: start;
  padding: 22px;
}

.archive-hero-meta strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.archive-hero-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-ui);
  font-weight: 700;
}

.archive-module,
.archive-controls,
.archive-results {
  margin-left: auto;
  margin-right: auto;
  width: min(var(--sp-wide, 1360px), 100%);
}

.archive-module {
  background: #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: var(--sp-radius, 20px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
}

.archive-module-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.archive-module-head h2,
.archive-results-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.archive-focus-grid,
.archive-dashboard-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-focus-card,
.archive-dashboard-card,
.archive-project-step,
.archive-event-milestone,
.archive-roadmap-card,
.archive-accordion-item {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 9%, transparent), transparent),
    #f8fafc;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: 18px;
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.archive-focus-card:hover,
.archive-dashboard-card:hover,
.archive-project-step:hover,
.archive-event-milestone:hover,
.archive-roadmap-card:hover {
  border-color: color-mix(in srgb, var(--category-accent) 50%, transparent);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.archive-focus-card h3,
.archive-project-step h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.08;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.archive-focus-card p,
.archive-dashboard-card p,
.archive-project-step p,
.archive-event-milestone p,
.archive-roadmap-card p,
.archive-module-panel p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.62;
  margin: 0;
}

.archive-focus-dot,
.archive-focus-line {
  background: var(--category-accent);
  border-radius: 999px;
  display: block;
  height: 12px;
  margin-bottom: 18px;
  width: 12px;
}

.archive-focus-line {
  height: 4px;
  width: 70px;
}

.archive-dashboard-card span,
.archive-event-milestone span,
.archive-roadmap-card strong {
  color: var(--category-accent);
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.archive-project-track,
.archive-event-timeline,
.archive-roadmap {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-project-step {
  display: grid;
  gap: 14px;
  grid-template-columns: 22px 1fr;
}

.archive-project-step > span {
  background: var(--category-accent);
  border-radius: 999px;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--category-accent) 16%, transparent);
  height: 14px;
  margin-top: 8px;
  width: 14px;
}

.archive-accordion {
  display: grid;
  gap: 12px;
}

.archive-module-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--sp-text, #111827);
  cursor: pointer;
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 900;
  justify-content: space-between;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}

.archive-module-toggle:focus-visible,
.archive-chip:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--category-accent) 60%, #fff);
  outline-offset: 4px;
}

.archive-module-panel {
  margin-top: 14px;
}

.archive-module-panel-link {
  color: var(--category-accent);
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 900;
  margin-top: 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.archive-controls {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: 999px;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px;
  position: sticky;
  top: 72px;
  z-index: 30;
}

.admin-bar .archive-controls {
  top: 104px;
}

.archive-controls-label {
  color: var(--sp-muted, #6b7280);
  padding-left: 14px;
  white-space: nowrap;
}

.archive-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.archive-chip {
  border: 1px solid color-mix(in srgb, var(--category-accent) 18%, var(--sp-border, rgba(15, 23, 42, 0.12)));
  border-radius: 999px;
  color: var(--sp-text, #111827);
  font-family: var(--font-ui);
  font-weight: 800;
  padding: 9px 13px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.archive-chip:hover,
.archive-chip.is-active {
  background: var(--category-accent);
  border-color: var(--category-accent);
  color: #fff;
}

.archive-chip-static {
  cursor: default;
  opacity: 0.72;
}

.archive-chip-static:hover {
  background: transparent;
  border-color: color-mix(in srgb, var(--category-accent) 18%, var(--sp-border, rgba(15, 23, 42, 0.12)));
  color: var(--sp-text, #111827);
}

.archive-focus-card-link,
.archive-dashboard-card.archive-focus-card-link,
.archive-project-step.archive-focus-card-link,
.archive-event-milestone.archive-focus-card-link,
.archive-roadmap-card.archive-focus-card-link {
  color: inherit;
  text-decoration: none;
}

.archive-results-head {
  margin-bottom: 22px;
}

.archive-hub .sp-post-card-cat {
  background: var(--category-accent);
}

.archive-featured-card {
  background: #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: var(--sp-radius, 20px);
  box-shadow: var(--sp-shadow, 0 18px 50px rgba(15, 23, 42, 0.12));
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  overflow: hidden;
}

.archive-featured-media {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 34%, #07172f), #020817);
  min-height: 340px;
  overflow: hidden;
}

.archive-featured-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.archive-featured-placeholder {
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  height: 100%;
  justify-content: center;
  padding: 24px;
  text-align: center;
  text-transform: uppercase;
}

.archive-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
}

.archive-featured-body .sp-post-card-cat {
  margin-top: 14px;
  width: fit-content;
}

.archive-featured-body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  margin: 18px 0 14px;
  text-transform: uppercase;
}

.archive-featured-body h2 a {
  color: var(--sp-text, #111827);
  text-decoration: none;
}

.archive-featured-body p {
  color: var(--sp-muted, #6b7280);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 18px;
}

.archive-featured-body time {
  color: var(--sp-muted, #6b7280);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-empty .sp-empty-state {
  border-top: 5px solid var(--category-accent);
}

.archive-empty .sp-empty-state-kicker {
  color: var(--category-accent);
}

.archive-empty .sp-button {
  background: var(--category-accent);
}

.archive-empty .sp-button-secondary {
  background: #fff;
  color: var(--sp-navy, #07172f);
}

.archive-layout--event-hub .archive-module,
.archive-layout--roadmap .archive-module {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 13%, transparent), transparent),
    #fff;
}

.archive-layout--dashboard .archive-module {
  background:
    linear-gradient(135deg, rgba(7, 23, 47, 0.96), color-mix(in srgb, var(--category-accent) 32%, #07172f));
  color: #fff;
}

.archive-layout--dashboard .archive-module-head h2,
.archive-layout--dashboard .archive-dashboard-card span {
  color: #fff;
}

.archive-layout--dashboard .archive-dashboard-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.archive-layout--dashboard .archive-dashboard-card p {
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1100px) {
  .archive-controls {
    align-items: flex-start;
    border-radius: 22px;
    flex-direction: column;
    position: static;
  }

  .archive-controls-label {
    padding-left: 4px;
  }

  .archive-chip-list {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .archive-hero,
  .archive-featured-card {
    grid-template-columns: 1fr;
  }

  .archive-hero-meta {
    align-self: start;
    width: fit-content;
  }

  .archive-focus-grid,
  .archive-dashboard-grid,
  .archive-project-track,
  .archive-event-timeline,
  .archive-roadmap {
    grid-template-columns: 1fr;
  }

  .archive-featured-media {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .archive-hub {
    gap: 20px;
  }

  .archive-hero,
  .archive-module {
    border-radius: 16px;
    padding: 24px 20px;
  }

  .archive-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.8rem);
  }

  .archive-chip {
    padding: 8px 11px;
  }

  .archive-featured-body {
    padding: 22px;
  }
}

/* ============================================================
   Presentation deck polish
   ============================================================ */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.presentation-section,
.archive-hero,
.archive-module,
.archive-results {
  scroll-margin-top: 120px;
}

.presentation-section {
  position: relative;
}

.will-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .will-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.chapter-nav {
  align-items: stretch;
  background: rgba(2, 8, 23, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(2, 8, 23, 0.18);
  display: flex;
  gap: 4px;
  margin: 18px auto;
  max-width: min(100% - 28px, 980px);
  overflow-x: auto;
  padding: 6px;
  position: sticky;
  top: 74px;
  z-index: 80;
}

.admin-bar .chapter-nav {
  top: 106px;
}

.chapter-nav-link {
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.chapter-nav-link span {
  color: var(--sp-red, #e21b2d);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 900;
}

.chapter-nav-link strong {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.chapter-nav-link:hover,
.chapter-nav-link.is-active {
  background: #fff;
  color: var(--sp-navy, #07172f);
}

@media (min-width: 1480px) {
  .chapter-nav {
    border-radius: 22px;
    flex-direction: column;
    left: auto;
    margin: 0;
    max-width: 170px;
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
  }

  .admin-bar .chapter-nav {
    top: calc(50% + 16px);
  }
}

.landing-hero-scroll {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.initiative-presentation {
  overflow: visible;
}

.initiative-stage {
  display: grid;
  gap: clamp(20px, 4vw, 42px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  margin-top: 30px;
}

.initiative-list {
  display: grid;
  gap: 10px;
}

.initiative-presentation .inicijativa-item {
  border-radius: 16px;
}

.initiative-presentation .inicijativa-toggle {
  background: #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: 16px;
  color: var(--sp-text, #111827);
  grid-template-columns: 52px minmax(0, 1fr) 32px;
  min-height: 82px;
  padding: 14px;
  text-align: left;
}

.initiative-presentation .inicijativa-item.is-active .inicijativa-toggle,
.initiative-presentation .inicijativa-toggle:hover,
.initiative-presentation .inicijativa-toggle:focus-visible {
  border-color: var(--sp-red, #e21b2d);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.initiative-presentation .inicijativa-summary {
  grid-column: 2 / 3;
  margin-top: 3px;
}

.initiative-detail-stack {
  min-height: 100%;
  position: sticky;
  top: 120px;
}

.initiative-detail-panel {
  background:
    radial-gradient(circle at 88% 16%, rgba(226, 27, 45, 0.18), transparent 28%),
    linear-gradient(135deg, var(--sp-navy, #07172f), var(--sp-deep, #020817));
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(2, 8, 23, 0.18);
  color: #fff;
  min-height: 100%;
  padding: clamp(28px, 5vw, 54px);
}

.initiative-detail-number {
  color: var(--sp-red, #e21b2d);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.8;
  margin-bottom: 22px;
}

.initiative-detail-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.96;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.initiative-detail-summary,
.initiative-detail-copy {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.initiative-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.initiative-detail-link {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  padding: 12px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.initiative-detail-link-primary {
  background: var(--sp-red, #e21b2d);
  border-color: var(--sp-red, #e21b2d);
}

.sp-card-trust {
  border-top: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  color: var(--sp-muted, #6b7280);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  gap: 8px 12px;
  margin-top: 16px;
  padding-top: 12px;
  text-transform: uppercase;
}

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

.category-gateway-card {
  background: #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: var(--sp-radius, 20px);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  display: grid;
  overflow: hidden;
}

.category-gateway-main,
.category-gateway-latest {
  color: inherit;
  display: grid;
  gap: 10px;
  padding: 24px;
  text-decoration: none;
}

.category-gateway-main {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 14%, transparent), transparent),
    #fff;
}

.category-gateway-label,
.category-gateway-count,
.category-gateway-latest span {
  color: var(--category-accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-gateway-main h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.category-gateway-main p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.6;
  margin: 0;
}

.category-gateway-latest {
  background: #f8fafc;
  border-top: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
}

.category-gateway-latest strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.category-gateway-latest.is-muted strong {
  color: var(--sp-muted, #6b7280);
}

.landing-card-image-politika,
.sp-post-card-media-politika,
.topic-card-image-politika {
  background: linear-gradient(135deg, #3b0609, #07172f 58%, #e21b2d);
}

.landing-card-image-drustvo,
.sp-post-card-media-drustvo,
.topic-card-image-drustvo {
  background: linear-gradient(135deg, #7f1d1d, #f8fafc 52%, #2563eb);
}

.landing-card-image-beograd,
.sp-post-card-media-beograd,
.topic-card-image-beograd {
  background: linear-gradient(135deg, #111827, #b91c1c 48%, #1d4ed8);
}

.landing-card-image-ekonomija,
.sp-post-card-media-ekonomija,
.topic-card-image-ekonomija {
  background: linear-gradient(135deg, #07172f, #2563eb 58%, #e21b2d);
}

.landing-card-image-infrastruktura,
.sp-post-card-media-infrastruktura,
.topic-card-image-infrastruktura {
  background: repeating-linear-gradient(135deg, #0f172a 0 18px, #1d4ed8 18px 22px, #64748b 22px 40px);
}

.landing-card-image-expo,
.landing-card-image-expo-2027,
.sp-post-card-media-expo,
.sp-post-card-media-expo-2027,
.topic-card-image-expo,
.topic-card-image-expo-2027 {
  background: linear-gradient(135deg, #07172f, #eab308 48%, #e21b2d);
}

.landing-card-image-2030,
.landing-card-image-srbija-2030,
.sp-post-card-media-2030,
.sp-post-card-media-srbija-2030,
.topic-card-image-2030,
.topic-card-image-srbija-2030 {
  background: linear-gradient(135deg, #020817, #123d8f 56%, #38bdf8);
}

@media (max-width: 1100px) {
  .initiative-stage,
  .category-gateway-grid {
    grid-template-columns: 1fr;
  }

  .initiative-detail-stack {
    position: static;
  }
}

@media (max-width: 768px) {
  .chapter-nav {
    border-radius: 0;
    margin: 0;
    max-width: 100%;
    top: 0;
  }

  .admin-bar .chapter-nav {
    top: 46px;
  }

  .initiative-presentation .inicijativa-toggle {
    grid-template-columns: 48px minmax(0, 1fr) 32px;
  }

  .initiative-detail-panel {
    border-radius: 18px;
    padding: 24px;
  }
}

/* ============================================================
   PRESENTATION DISCIPLINE PASS
   Keeps one calm sticky system and turns lower modules into
   user-facing editorial sections instead of prototype UI.
   ============================================================ */

:root {
  --sp-admin-offset: 0px;
  --sp-nav-height: 64px;
  --sp-chapter-top: calc(var(--sp-nav-height) + 18px);
}

body.admin-bar {
  --sp-admin-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --sp-admin-offset: 46px;
  }
}

.main-nav {
  z-index: 100;
}

.presentation-section {
  scroll-margin-top: calc(var(--sp-admin-offset) + var(--sp-nav-height) + 32px);
}

.breaking-track {
  animation: none;
  display: flex;
  transform: none;
}

.breaking-items[aria-hidden="true"] {
  display: none;
}

.breaking-ticker:hover .breaking-track {
  animation-play-state: running;
}

.sp-chapter-nav {
  display: none;
}

@media (min-width: 1280px) {
  .sp-chapter-nav {
    align-items: stretch;
    background: rgba(2, 8, 23, 0.74);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    left: auto;
    margin: 0;
    max-width: 144px;
    padding: 6px;
    position: fixed;
    right: 18px;
    top: calc(var(--sp-admin-offset) + var(--sp-chapter-top));
    transform: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 80;
  }

  body.is-hero-in-view .sp-chapter-nav,
  body.is-footer-in-view .sp-chapter-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    visibility: hidden;
  }

  .sp-chapter-nav .chapter-nav-link {
    border-radius: 14px;
    gap: 7px;
    padding: 9px 10px;
  }

  .sp-chapter-nav .chapter-nav-link strong {
    font-size: 0.8rem;
  }
}

@media (max-width: 1279px) {
  .sp-chapter-nav {
    display: none !important;
  }
}

.landing-hero-inner {
  position: relative;
  z-index: 5;
}

@media (min-width: 1180px) {
  .landing-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  }
}

.landing-hero-focus {
  position: relative;
  z-index: 5;
}

.landing-hero-scroll {
  display: none !important;
}

.initiative-stage {
  align-items: stretch;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.35fr);
}

.initiative-list {
  align-content: start;
  max-height: min(76vh, 860px);
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.initiative-presentation .inicijativa-toggle {
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.initiative-presentation .inicijativa-item.is-active .inicijativa-toggle {
  background:
    linear-gradient(135deg, rgba(226, 27, 45, 0.12), rgba(18, 61, 143, 0.06)),
    #fff;
  transform: translateX(4px);
}

.initiative-detail-stack {
  position: relative;
  top: auto;
}

.initiative-detail-panel {
  min-height: clamp(560px, 68vh, 760px);
  overflow: hidden;
  position: relative;
}

html:not(.has-enhanced-ui) .initiative-detail-panel {
  margin-bottom: 16px;
  min-height: auto;
}

.initiative-detail-panel::after {
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.06) 48% 52%, transparent 52%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 18px);
  content: "";
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
}

.initiative-detail-panel > * {
  position: relative;
  z-index: 1;
}

.initiative-detail-panel.is-active {
  animation: initiativePanelIn 0.28s ease both;
}

.initiative-detail-progress {
  color: rgba(255, 255, 255, 0.64);
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 32px;
  text-transform: uppercase;
}

@keyframes initiativePanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-gateways .landing-section-head p {
  color: var(--sp-muted, #6b7280);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
  margin: 10px auto 0;
  max-width: 680px;
}

.category-gateway-card {
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.category-gateway-card:hover {
  border-color: color-mix(in srgb, var(--category-accent) 42%, var(--sp-border));
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.category-gateway-cta {
  align-items: center;
  color: var(--sp-text, #111827);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  gap: 8px;
  margin-top: 8px;
  text-transform: uppercase;
}

.category-gateway-cta::after {
  content: "→";
  color: var(--category-accent);
}

.category-gateway-latest.is-muted span {
  color: var(--category-accent);
}

.category-gateway-latest.is-muted strong {
  color: var(--sp-text, #111827);
  font-size: 1rem;
  text-transform: none;
}

.site-footer {
  margin-top: clamp(56px, 8vw, 96px);
}

.footer-inner {
  grid-template-columns: minmax(280px, 1.45fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
}

.footer-category-list a {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

@media (max-width: 1100px) {
  .initiative-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .initiative-detail-panel {
    min-height: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .initiative-stage {
    gap: 18px;
  }

  .initiative-presentation .inicijativa-item.is-active .inicijativa-toggle {
    transform: none;
  }

  .initiative-detail-panel h3 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .initiative-detail-panel.is-active {
    animation: none;
  }

  .category-gateway-card,
  .initiative-presentation .inicijativa-toggle {
    transition: none;
  }
}

/* ============================================================
   INITIATIVE RESPONSIVE HARDENING
   Content must drive the section height; only the selector list scrolls
   on wide screens.
   ============================================================ */

:root {
  --sp-chapter-top: calc(var(--sp-nav-height) + 18px);
}

.initiative-presentation {
  isolation: isolate;
}

.initiative-stage {
  align-items: start;
  display: grid;
  gap: clamp(18px, 3vw, 40px);
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.26fr);
  width: 100%;
}

.initiative-list,
.initiative-detail-stack {
  min-width: 0;
}

.initiative-list {
  align-content: start;
  display: grid;
  gap: clamp(8px, 1vw, 12px);
}

@media (min-width: 1181px) {
  .initiative-list {
    max-height: min(720px, calc(100vh - var(--sp-admin-offset) - var(--sp-nav-height) - 96px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 8px 2px 0;
    scrollbar-color: var(--sp-red, #e21b2d) rgba(15, 23, 42, 0.12);
    scrollbar-width: thin;
  }
}

.initiative-presentation .inicijativa-toggle {
  align-items: center;
  display: grid;
  grid-template-columns: clamp(38px, 4vw, 50px) minmax(0, 1fr) 28px;
  min-height: auto;
  padding: clamp(10px, 1.35vw, 14px);
  width: 100%;
}

.initiative-presentation .inicijativa-number,
.initiative-presentation .inicijativa-heading,
.initiative-presentation .inicijativa-summary {
  min-width: 0;
}

.initiative-presentation .inicijativa-heading {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

.initiative-presentation .inicijativa-summary {
  display: block;
  grid-column: 2 / 3;
  line-height: 1.35;
  overflow: visible;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

.initiative-detail-stack {
  display: grid;
}

.initiative-detail-panel {
  min-height: clamp(460px, 54vh, 680px);
  overflow: visible;
  padding: clamp(24px, 4.2vw, 48px);
}

.initiative-detail-number {
  font-size: clamp(3rem, 6vw, 5.8rem);
  margin-bottom: clamp(16px, 2.3vw, 24px);
}

.initiative-detail-panel h3 {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  overflow-wrap: anywhere;
}

.initiative-detail-summary,
.initiative-detail-copy {
  max-width: 68ch;
}

.initiative-detail-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .initiative-stage {
    grid-template-columns: 1fr;
  }

  .initiative-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .initiative-detail-stack {
    order: 2;
  }

  .initiative-detail-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .initiative-presentation .inicijativa-toggle {
    grid-template-columns: 42px minmax(0, 1fr) 28px;
  }

  .initiative-detail-progress {
    margin-bottom: 20px;
  }

  .initiative-detail-number {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .initiative-detail-panel {
    border-radius: 18px;
    padding: 22px;
  }
}

.archive-structured {
  margin: clamp(32px, 5vw, 64px) auto;
  max-width: var(--sp-container, 1180px);
  padding: 0 clamp(18px, 4vw, 32px);
}

.archive-structured-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.archive-structured-card a {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 14%, transparent), transparent),
    #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  color: var(--sp-text, #111827);
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 22px;
  text-decoration: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.archive-structured-card a:hover {
  border-color: color-mix(in srgb, var(--category-accent) 44%, var(--sp-border));
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.archive-structured-type {
  color: var(--category-accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-structured-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

.archive-structured-card p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1080px) {
  .archive-structured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .archive-structured-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STRUCTURED STORY MODULES
   ============================================================ */

.story-section {
  margin: clamp(42px, 7vw, 88px) auto;
  max-width: var(--sp-wide, 1360px);
  padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 36px);
  position: relative;
}

.story-section--infrastructure,
.story-section--expo,
.story-section--roadmap {
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--category-accent) 24%, transparent), transparent 30%),
    linear-gradient(135deg, var(--sp-navy, #07172f), var(--sp-deep, #020817));
  border-radius: 26px;
  color: #fff;
  overflow: hidden;
}

.story-section--infrastructure::before {
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 26px);
  content: "";
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  position: absolute;
}

.story-section-head,
.story-route-grid,
.story-timeline,
.story-roadmap-grid {
  position: relative;
  z-index: 1;
}

.story-section-head {
  max-width: 820px;
}

.story-section-head span,
.story-card-kicker,
.story-card-meta,
.story-roadmap-year {
  color: var(--category-accent, var(--sp-red));
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 0.95;
  margin: 10px 0 16px;
  text-transform: uppercase;
}

.story-section-head p {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.story-route-grid,
.story-timeline,
.story-roadmap-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 42px);
}

.story-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.story-roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card a {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(2, 8, 23, 0.18);
  color: var(--sp-text, #111827);
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 22px;
  text-decoration: none;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.story-card a:hover {
  box-shadow: 0 28px 72px rgba(2, 8, 23, 0.26);
  transform: translateY(-4px);
}

.story-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 2.2rem);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}

.story-card p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.58;
  margin: 0;
}

.story-card-meta {
  color: var(--sp-muted, #6b7280);
  letter-spacing: 0.04em;
}

.story-roadmap-card--red a { border-top: 5px solid var(--sp-red, #e21b2d); }
.story-roadmap-card--blue a { border-top: 5px solid var(--sp-blue, #123d8f); }
.story-roadmap-card--white a { border-top: 5px solid #fff; }
.story-roadmap-card--dark a { border-top: 5px solid var(--sp-navy, #07172f); }

.sp-source-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.sp-source-list div {
  border-top: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  display: grid;
  gap: 4px;
  padding-top: 12px;
}

.sp-source-list dt,
.sp-structured-meta dt {
  color: var(--sp-muted, #6b7280);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-source-list dd,
.sp-structured-meta dd {
  margin: 0;
}

.sp-structured-hero {
  background:
    radial-gradient(circle at 90% 12%, rgba(226, 27, 45, 0.18), transparent 28%),
    linear-gradient(135deg, var(--sp-navy, #07172f), var(--sp-deep, #020817));
  border-radius: 28px;
  color: #fff;
  margin: clamp(24px, 5vw, 56px) auto;
  max-width: var(--sp-wide, 1360px);
  padding: clamp(28px, 6vw, 72px);
}

.sp-structured-hero .sp-article-title,
.sp-structured-hero .sp-article-subtitle,
.sp-structured-hero .back-link {
  color: #fff;
}

.sp-structured-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(20px, 3vw, 34px) 0;
}

.sp-structured-meta div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
}

.sp-structured-meta dt {
  color: rgba(255, 255, 255, 0.58);
}

.sp-structured-meta dd {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .story-route-grid,
  .story-timeline,
  .story-roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .story-section--infrastructure,
  .story-section--expo,
  .story-section--roadmap,
  .sp-structured-hero {
    border-radius: 18px;
  }

  .story-route-grid,
  .story-timeline,
  .story-roadmap-grid,
  .sp-structured-meta {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   AREA STORY HOME PAGES
   ============================================================ */

.area-story-page,
.sp-archive-page.has-area-story,
.sp-archive-page:has(.area-story-hero) {
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--category-accent) 16%, transparent), transparent 28%),
    linear-gradient(180deg, #020817 0%, #07172f 34%, #f3f5f8 34%, #f3f5f8 100%);
}

.area-story-hero {
  color: #fff;
  min-height: clamp(540px, 72vh, 820px);
  padding: clamp(56px, 8vw, 118px) clamp(18px, 5vw, 56px);
  position: relative;
  scroll-margin-top: calc(var(--sp-admin-offset, 0px) + var(--sp-nav-height, 64px) + 32px);
}

.area-story-hero::before {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--category-accent) 80%, transparent), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 28px);
  content: "";
  inset: 0;
  opacity: 0.36;
  pointer-events: none;
  position: absolute;
}

.area-story-hero-inner {
  align-items: end;
  display: grid;
  gap: clamp(28px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin: 0 auto;
  max-width: var(--sp-wide, 1360px);
  min-height: inherit;
  position: relative;
  z-index: 1;
}

.area-story-kicker,
.area-story-section-head span,
.area-topic-card span,
.area-pillar-card span,
.area-story-empty span {
  color: var(--category-accent, var(--sp-red));
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.area-story-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10.5rem);
  letter-spacing: 0;
  line-height: 0.82;
  margin: 14px 0 18px;
  max-width: 980px;
  text-transform: uppercase;
}

.area-story-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  max-width: 880px;
  text-transform: uppercase;
}

.area-story-intro {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  line-height: 1.75;
  margin: 22px 0 0;
  max-width: 760px;
}

.area-story-signal {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 12px;
  padding: 18px;
}

.area-story-signal span {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  gap: 12px;
  padding: 14px;
}

.area-story-signal strong {
  color: var(--category-accent, #e21b2d);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.area-story-section,
.area-story-related {
  margin: 0 auto;
  max-width: var(--sp-wide, 1360px);
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 56px);
  position: relative;
}

.area-story-section-head {
  max-width: 880px;
}

.area-story-section-head h2 {
  color: var(--sp-text, #111827);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 6.4rem);
  line-height: 0.9;
  margin: 12px 0 16px;
  text-transform: uppercase;
}

.area-story-section-head p {
  color: var(--sp-muted, #6b7280);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.75;
  margin: 0;
}

.area-topic-grid,
.area-pillars-grid,
.area-story-post-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 52px);
}

.area-topic-grid--expo {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.area-topic-card,
.area-pillar-card,
.area-story-empty {
  background: #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: 22px;
  box-shadow: var(--sp-shadow, 0 18px 50px rgba(15, 23, 42, 0.12));
  padding: clamp(20px, 2.6vw, 32px);
}

.area-topic-card h3,
.area-pillar-card h3,
.area-story-empty h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  line-height: 1;
  margin: 12px 0;
  text-transform: uppercase;
}

.area-topic-card p,
.area-pillar-card p,
.area-story-empty p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.62;
  margin: 0;
}

.project-status-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(22px, 3vw, 34px) 0;
}

.project-status-filter button {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 999px;
  color: var(--sp-text);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.project-status-filter button.is-active,
.project-status-filter button:hover,
.project-status-filter button:focus-visible {
  background: var(--category-accent);
  border-color: var(--category-accent);
  color: #fff;
}

.area-project-route,
.area-timeline,
.story-roadmap-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 46px);
  position: relative;
}

.area-project-route::before,
.area-timeline::before {
  background: linear-gradient(90deg, transparent, var(--category-accent), transparent);
  content: "";
  height: 3px;
  left: 4%;
  opacity: 0.44;
  position: absolute;
  right: 4%;
  top: -20px;
}

.story-card.is-filtered-out {
  display: none;
}

.area-roadmap-track {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  margin-top: clamp(30px, 5vw, 62px);
}

.area-roadmap-year {
  border-radius: 30px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
}

.area-roadmap-year--red {
  background: linear-gradient(135deg, #e21b2d, #7f1d1d);
  color: #fff;
}

.area-roadmap-year--blue {
  background: linear-gradient(135deg, #123d8f, #07172f);
  color: #fff;
}

.area-roadmap-year--light {
  background: #fff;
  color: var(--sp-text);
}

.area-roadmap-year--final {
  background:
    radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.24), transparent 32%),
    linear-gradient(135deg, #020817, #07172f 58%, #dbeafe);
  color: #fff;
}

.area-roadmap-year-main span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 12rem);
  font-weight: 900;
  line-height: 0.8;
}

.area-roadmap-year-main h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
  margin: 18px 0;
  text-transform: uppercase;
}

.area-roadmap-year-main p {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  max-width: 620px;
}

.area-roadmap-year-items {
  display: grid;
  gap: 16px;
}

.area-roadmap-year--red .story-card a,
.area-roadmap-year--blue .story-card a,
.area-roadmap-year--final .story-card a {
  background: rgba(255, 255, 255, 0.94);
}

.area-roadmap-year--light .area-roadmap-year-main p {
  color: var(--sp-muted);
}

.area-story-post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-reveal.will-reveal,
.area-roadmap-year.will-reveal,
.area-topic-card.will-reveal,
.area-pillar-card.will-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.story-reveal.is-visible,
.area-roadmap-year.is-visible,
.area-topic-card.is-visible,
.area-pillar-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (prefers-reduced-motion: reduce) {
  .story-reveal.will-reveal,
  .area-roadmap-year.will-reveal,
  .area-topic-card.will-reveal,
  .area-pillar-card.will-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .area-story-hero-inner,
  .area-roadmap-year {
    grid-template-columns: 1fr;
  }

  .area-topic-grid,
  .area-topic-grid--expo,
  .area-pillars-grid,
  .area-project-route,
  .area-timeline,
  .story-roadmap-grid,
  .area-story-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-story-signal {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .area-story-hero {
    min-height: auto;
    padding-top: clamp(42px, 16vw, 72px);
  }

  .area-story-hero h1 {
    font-size: clamp(3.3rem, 19vw, 5.5rem);
  }

  .area-topic-grid,
  .area-topic-grid--expo,
  .area-pillars-grid,
  .area-project-route,
  .area-timeline,
  .story-roadmap-grid,
  .area-story-post-grid {
    grid-template-columns: 1fr;
  }

  .area-project-route::before,
  .area-timeline::before {
    background: linear-gradient(180deg, var(--category-accent), transparent);
    bottom: 0;
    height: auto;
    left: 12px;
    right: auto;
    top: 0;
    width: 3px;
  }

  .area-roadmap-year {
    border-radius: 20px;
  }
}

/* Final hardening for the 12 initiatives presentation module. */
.initiative-presentation {
  overflow: visible;
}

.initiative-stage {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.35fr);
}

.initiative-list {
  overflow-x: hidden;
}

.initiative-presentation .inicijativa-toggle {
  height: auto;
  min-height: auto;
  overflow: visible;
  white-space: normal;
}

.initiative-presentation .inicijativa-heading,
.initiative-presentation .inicijativa-summary {
  overflow-wrap: anywhere;
}

@media (min-width: 1181px) {
  .initiative-list {
    max-height: min(720px, 75vh);
    overflow-y: auto;
    padding-right: 0.5rem;
  }
}

@media (max-width: 1180px) {
  .initiative-stage {
    grid-template-columns: 1fr;
  }
}

/* Homepage debug pass: keep initiatives and chapter rail visually aligned. */
:root {
  --sp-initiative-panel-height: clamp(520px, 72vh, 760px);
  --sp-initiative-list-width: clamp(420px, 36vw, 560px);
}

@media (min-width: 1181px) {
  .initiative-stage {
    align-items: stretch;
    grid-template-columns: minmax(var(--sp-initiative-list-width), 1.05fr) minmax(0, 1.2fr);
  }

  .initiative-list {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: var(--sp-initiative-panel-height);
    max-height: var(--sp-initiative-panel-height);
    min-height: var(--sp-initiative-panel-height);
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 0 12px 2px 0;
    scrollbar-gutter: stable;
  }

  .initiative-list .inicijativa-item {
    flex: 0 0 auto;
  }

  .initiative-presentation .inicijativa-toggle {
    align-items: center;
    grid-template-columns: 54px minmax(0, 1fr) 34px;
    min-height: clamp(112px, 10.5vh, 136px);
    padding: clamp(14px, 1.5vw, 18px);
  }

  .initiative-presentation .inicijativa-item.is-active .inicijativa-toggle {
    background:
      radial-gradient(circle at 92% 18%, rgba(226, 27, 45, 0.34), transparent 28%),
      linear-gradient(135deg, var(--sp-navy, #07172f), var(--sp-deep, #020817));
    border-color: var(--sp-red, #e21b2d);
    color: #fff;
    min-height: clamp(128px, 12vh, 156px);
  }

  .initiative-presentation .inicijativa-item.is-active .inicijativa-heading,
  .initiative-presentation .inicijativa-item.is-active .inicijativa-summary {
    color: #fff;
  }

  .initiative-presentation .inicijativa-heading {
    font-size: clamp(1.08rem, 1.35vw, 1.34rem);
    line-height: 1.05;
  }

  .initiative-presentation .inicijativa-summary {
    font-size: clamp(0.9rem, 0.95vw, 1rem);
    line-height: 1.45;
  }

  .initiative-detail-stack {
    min-height: var(--sp-initiative-panel-height);
  }

  .initiative-detail-panel {
    height: 100%;
    min-height: var(--sp-initiative-panel-height);
  }
}

@media (min-width: 1280px) {
  .sp-chapter-nav,
  body.admin-bar .sp-chapter-nav {
    top: calc(var(--sp-admin-offset, 0px) + 30vh);
    transform: none;
  }
}

/* Area story correction pass: these three strategic areas should read as landing pages. */
.area-story-page,
.sp-archive-page.has-area-story,
.sp-archive-page:has(.area-story-hero) {
  background: var(--sp-bg, #f3f5f8);
  max-width: none;
  padding: 0;
  width: 100%;
}

.area-story-hero {
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--category-accent) 18%, transparent), transparent 30%),
    linear-gradient(135deg, #020817 0%, #07172f 58%, #03101f 100%);
  min-height: clamp(560px, 68vh, 780px);
}

.area-story-hero h1 {
  color: #fff;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.84;
  max-width: 1080px;
}

.area-featured-posts,
.area-story-section,
.area-story-related {
  margin: 0;
  max-width: none;
  padding-block: clamp(64px, 8vw, 118px);
  padding-inline: max(22px, calc((100vw - var(--sp-wide, 1360px)) / 2));
  width: 100%;
}

.area-featured-posts,
.area-expo-focus,
.area-story-map,
.area-roadmap-items,
.area-expo-projects,
.area-roadmap-linked {
  background: var(--sp-bg, #f3f5f8);
}

.area-project-tracker,
.area-expo-timeline,
.area-roadmap-intro,
.area-roadmap-years {
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--category-accent) 15%, transparent), transparent 30%),
    linear-gradient(135deg, #020817, #07172f);
  color: #fff;
}

.area-project-tracker .area-story-section-head h2,
.area-project-tracker .area-story-section-head p,
.area-expo-timeline .area-story-section-head h2,
.area-expo-timeline .area-story-section-head p,
.area-roadmap-intro .area-story-section-head h2,
.area-roadmap-intro .area-story-section-head p,
.area-roadmap-years .area-story-section-head h2,
.area-roadmap-years .area-story-section-head p {
  color: #fff;
}

.area-story-section-head,
.area-featured-grid,
.area-topic-grid,
.area-project-route,
.area-timeline,
.area-roadmap-track,
.story-roadmap-grid,
.area-story-post-grid,
.area-story-empty {
  margin-inline: auto;
  max-width: var(--sp-wide, 1360px);
}

.area-story-section-head {
  max-width: min(980px, 100%);
}

.area-story-section-head h2 {
  color: var(--sp-text, #111827);
  font-size: clamp(2.45rem, 5vw, 5.6rem);
  line-height: 0.94;
  max-width: 1120px;
}

.area-story-section-head p {
  max-width: 760px;
}

.area-featured-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  margin-top: clamp(30px, 4vw, 54px);
}

.area-featured-card {
  background: #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: 24px;
  box-shadow: var(--sp-shadow, 0 18px 50px rgba(15, 23, 42, 0.12));
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  overflow: hidden;
}

.area-featured-card--lead {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.area-featured-card-media {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 36%, #07172f), #020817),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 24px);
  color: rgba(255, 255, 255, 0.72);
  display: block;
  min-height: 210px;
  overflow: hidden;
}

.area-featured-card--lead .area-featured-card-media {
  min-height: clamp(260px, 36vw, 460px);
}

.area-featured-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.area-featured-card-media span {
  align-items: center;
  display: flex;
  font-family: var(--font-display);
  font-weight: 900;
  height: 100%;
  justify-content: center;
  letter-spacing: 0.14em;
  min-height: inherit;
  text-transform: uppercase;
}

.area-featured-card-body {
  padding: clamp(22px, 3vw, 38px);
}

.area-featured-card-kicker {
  color: var(--category-accent, var(--sp-red));
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.area-featured-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.1vw, 3.35rem);
  line-height: 0.98;
  margin: 14px 0;
  text-transform: uppercase;
}

.area-featured-card:not(.area-featured-card--lead) h3 {
  font-size: clamp(1.35rem, 2vw, 2.1rem);
}

.area-featured-card h3 a {
  color: var(--sp-text, #111827);
  text-decoration: none;
}

.area-featured-card p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.62;
  margin: 0 0 18px;
}

.area-featured-card time {
  color: var(--sp-muted, #6b7280);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-topic-grid,
.area-topic-grid--expo {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.area-project-route,
.area-timeline,
.story-roadmap-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.area-story-post-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.area-story-related {
  background: #fff;
  padding-block: clamp(46px, 6vw, 76px);
}

.area-story-related .area-story-section-head h2 {
  font-size: clamp(2rem, 3.7vw, 4rem);
}

.area-story-related .area-story-post-grid {
  margin-top: clamp(22px, 3vw, 36px);
}

@media (max-width: 1000px) {
  .area-featured-grid,
  .area-featured-card {
    grid-template-columns: 1fr;
  }

  .area-featured-card--lead {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .area-story-hero h1 {
    font-size: clamp(3.2rem, 18vw, 5.6rem);
  }

  .area-featured-posts,
  .area-story-section,
  .area-story-related {
    padding-inline: 18px;
  }
}

/* Srbija 2030 dedicated roadmap landing page. */
.s2030-page {
  background: var(--sp-bg, #f3f5f8);
  color: var(--sp-text, #111827);
  overflow: clip;
}

.s2030-page *,
.s2030-page *::before,
.s2030-page *::after {
  box-sizing: border-box;
}

.s2030-hero {
  background: linear-gradient(135deg, rgba(2, 8, 23, 0.96), rgba(7, 23, 47, 0.9));
  color: #fff;
  isolation: isolate;
  min-height: clamp(620px, 78vh, 860px);
  overflow: hidden;
  padding: clamp(72px, 8vw, 126px) max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2)) clamp(112px, 12vw, 170px);
  position: relative;
}

.s2030-hero::before {
  background-image: var(--s2030-flag-bg, none);
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.s2030-hero::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(226, 27, 45, 0.24), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(56, 189, 248, 0.2), transparent 28%),
    linear-gradient(120deg, rgba(120, 0, 20, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(2, 8, 23, 0.68), rgba(7, 23, 47, 0.58)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 28px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.s2030-hero__bg {
  inset: 0;
  margin: 0;
  opacity: 0.34;
  position: absolute;
  z-index: 0;
}

.s2030-hero__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.s2030-hero__inner {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 92px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  margin-inline: auto;
  max-width: var(--sp-wide, 1360px);
  min-height: clamp(430px, 58vh, 620px);
  position: relative;
  z-index: 2;
}

.s2030-hero.no-hero-image .s2030-hero__inner {
  grid-template-columns: 1fr;
}

.s2030-kicker,
.s2030-year__kicker,
.s2030-roadmap-card__pillar,
.s2030-posts__empty span {
  color: var(--category-accent, #38bdf8);
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.s2030-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.5vw, 8.8rem);
  line-height: 0.86;
  margin: 14px 0 20px;
  max-width: 1040px;
  text-transform: uppercase;
}

.s2030-hero__title a {
  color: inherit;
  text-decoration: none;
}

.s2030-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.68;
  max-width: 760px;
}

.s2030-hero__meta {
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.08em;
  margin-top: 18px;
  text-transform: uppercase;
}

.s2030-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.s2030-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
  text-transform: uppercase;
}

.s2030-button--primary {
  background: var(--sp-red, #e21b2d);
  color: #fff;
}

.s2030-button--secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.s2030-hero__feature {
  align-self: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  color: #020817;
  display: grid;
  gap: 14px;
  max-width: 440px;
  overflow: hidden;
  padding: 16px;
  text-decoration: none;
}

.s2030-hero__feature img {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.s2030-hero__feature-label,
.s2030-hero__roadmap-float span {
  color: var(--sp-red, #e21b2d);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.s2030-hero__feature strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2.3rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.s2030-hero__roadmap-float {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  bottom: clamp(22px, 4vw, 44px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  color: #020817;
  display: grid;
  gap: 4px;
  max-width: min(420px, calc(100vw - 40px));
  padding: clamp(16px, 2.2vw, 24px);
  position: absolute;
  right: max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2));
  text-decoration: none;
  z-index: 3;
}

.s2030-hero__roadmap-float strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.s2030-posts {
  padding-block: clamp(56px, 7vw, 96px);
  padding-inline: max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2));
}

.s2030-section-head {
  margin-inline: auto;
  max-width: var(--sp-wide, 1360px);
}

.s2030-section-head h2 {
  color: var(--sp-text, #111827);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5.8rem);
  line-height: 0.92;
  margin: 12px 0 0;
  max-width: 1100px;
  text-transform: uppercase;
}

.s2030-posts__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
  justify-content: start;
  margin: clamp(28px, 4vw, 50px) auto 0;
  max-width: var(--sp-wide, 1360px);
}

.s2030-post-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1);
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
}

.s2030-post-card__media {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(2, 8, 23, 0.96), rgba(18, 61, 143, 0.84)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 22px);
  display: grid;
  overflow: hidden;
  place-items: center;
  text-decoration: none;
}

.s2030-post-card__media span {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  font-weight: 900;
  line-height: 0.95;
  padding: 18px;
  text-align: center;
  text-transform: uppercase;
}

.s2030-post-card__image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.s2030-post-card__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.s2030-post-card time,
.s2030-post-card__link {
  color: var(--sp-red, #e21b2d);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.s2030-post-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.s2030-post-card h3 a,
.s2030-post-card__link {
  color: inherit;
  text-decoration: none;
}

.s2030-post-card p {
  color: var(--sp-muted, #6b7280);
  font-family: var(--font-serif);
  line-height: 1.62;
  margin: 0;
}

.s2030-post-card__link {
  color: var(--sp-red, #e21b2d);
  margin-top: 6px;
}

.s2030-posts__empty {
  background: #fff;
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: 22px;
  box-shadow: var(--sp-shadow, 0 18px 50px rgba(15, 23, 42, 0.12));
  padding: clamp(22px, 3vw, 34px);
}

.s2030-posts__empty p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.65;
  margin: 0;
}

.s2030-roadmap {
  background: var(--sp-bg, #f3f5f8);
}

.s2030-roadmap > .s2030-section-head {
  background: #020817;
  color: #fff;
  max-width: none;
  padding: clamp(54px, 7vw, 90px) max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2)) clamp(20px, 3vw, 34px);
}

.s2030-roadmap > .s2030-section-head > * {
  display: block;
  margin-inline: auto;
  max-width: var(--sp-wide, 1360px);
}

.s2030-roadmap > .s2030-section-head h2 {
  color: #fff;
}

.s2030-year {
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 9rem);
  padding-inline: max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2));
  position: relative;
  width: 100%;
}

.s2030-year--red {
  background: linear-gradient(135deg, #e21b2d 0%, #8b1119 100%);
  color: #fff;
}

.s2030-year--blue {
  background: linear-gradient(135deg, #123d8f 0%, #07172f 100%);
  color: #fff;
}

.s2030-year--light {
  background: #f8fafc;
  color: var(--sp-text, #111827);
}

.s2030-year--final {
  background:
    radial-gradient(circle at 88% 16%, rgba(56, 189, 248, 0.2), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef3f8 58%, #dbeafe 100%);
  color: var(--sp-text, #111827);
}

.s2030-year__inner {
  display: grid;
  gap: clamp(28px, 4.5vw, 62px);
  grid-template-columns: 1fr;
  margin-inline: auto;
  max-width: var(--sp-wide, 1360px);
}

.s2030-year__heading {
  grid-column: 1 / -1;
  max-width: 1120px;
  min-width: 0;
}

.s2030-year__intro {
  align-self: start;
  min-width: 0;
  position: sticky;
  top: clamp(74px, 10vw, 120px);
  z-index: 1;
}

.s2030-year__body {
  align-items: start;
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.34fr) minmax(480px, 0.66fr);
  min-width: 0;
}

.s2030-year__kicker {
  color: currentColor;
  opacity: 0.74;
}

.s2030-year__heading h3 {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 8.6rem);
  line-height: 0.88;
  margin: 16px 0;
  text-transform: uppercase;
}

.s2030-year__intro h3 {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 8.6rem);
  line-height: 0.88;
  margin: 16px 0;
  text-transform: uppercase;
}

.s2030-year__intro p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.72;
  max-width: 620px;
}

.s2030-year__feature {
  align-content: start;
  justify-self: stretch;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.s2030-year__secondary {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.s2030-year__note {
  border-left: 4px solid currentColor;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  grid-column: 1 / -1;
  line-height: 1.7;
  margin: 0;
  max-width: 860px;
  opacity: 0.86;
  padding-left: clamp(16px, 2vw, 24px);
}

.s2030-roadmap-card {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.s2030-roadmap-card a,
.s2030-roadmap-card--empty {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  color: var(--sp-text, #111827);
  display: block;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: clamp(20px, 2.6vw, 32px);
  text-decoration: none;
}

.s2030-roadmap-card__body {
  min-width: 0;
}

.s2030-roadmap-card--featured a {
  background:
    radial-gradient(circle at 80% 16%, rgba(226, 27, 45, 0.22), transparent 32%),
    linear-gradient(135deg, #020817, #123d8f);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.2);
  color: #fff;
  container-type: inline-size;
  display: block;
  min-height: clamp(420px, 42vw, 620px);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.s2030-roadmap-card--featured .s2030-roadmap-card__body {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 28px);
  justify-content: center;
  min-height: inherit;
  padding: clamp(28px, 5vw, 62px);
  position: relative;
  text-align: center;
  z-index: 2;
}

.s2030-roadmap-card--featured p,
.s2030-roadmap-card--featured .s2030-roadmap-card__source {
  display: none;
}

.s2030-roadmap-card--featured .s2030-roadmap-card__pillar {
  align-items: center;
  background: var(--sp-red, #e21b2d);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: clamp(0.78rem, 1.9cqw, 1rem);
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 34px;
  padding: 0 14px;
  text-align: center;
}

.s2030-roadmap-card__media {
  background:
    linear-gradient(135deg, rgba(7, 23, 47, 0.96), rgba(226, 27, 45, 0.64)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 22px);
  display: grid;
  inset: 0;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  place-items: center;
  position: absolute;
  z-index: 0;
}

.s2030-roadmap-card--featured a::before {
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.92) 0%, rgba(2, 8, 23, 0.7) 42%, rgba(2, 8, 23, 0.24) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 18px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

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

.s2030-roadmap-card__media span {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: 0.9;
  padding: 18px;
  text-align: center;
  text-transform: uppercase;
}

.s2030-year--light .s2030-roadmap-card a,
.s2030-year--light .s2030-roadmap-card--empty,
.s2030-year--final .s2030-roadmap-card a,
.s2030-year--final .s2030-roadmap-card--empty {
  box-shadow: var(--sp-shadow, 0 18px 50px rgba(15, 23, 42, 0.12));
}

.s2030-roadmap-card__pillar,
.s2030-roadmap-card--empty span {
  color: var(--category-accent, #38bdf8);
}

.s2030-roadmap-card h4 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  line-height: 1;
  margin: 12px 0;
  text-transform: uppercase;
}

.s2030-roadmap-card--featured h4 {
  color: #fff;
  font-size: clamp(2.2rem, 7.2cqw, 5.4rem);
  line-height: 0.9;
  margin: 0;
  max-width: 12ch;
  overflow-wrap: anywhere;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
  text-wrap: balance;
}

.s2030-roadmap-card--compact h4 {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.s2030-roadmap-card--compact .s2030-atlas-card__media {
  background:
    radial-gradient(circle at 80% 16%, rgba(226, 27, 45, 0.22), transparent 32%),
    linear-gradient(135deg, #020817, #123d8f);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.2);
  color: #fff;
  display: block;
  min-height: clamp(330px, 34vw, 480px);
  overflow: hidden;
  padding: 0;
  position: relative;
  text-decoration: none;
  container-type: inline-size;
}

.s2030-year__secondary .s2030-roadmap-card--compact > a {
  background:
    radial-gradient(circle at 80% 16%, rgba(226, 27, 45, 0.22), transparent 32%),
    linear-gradient(135deg, #020817, #123d8f);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.2);
  color: #fff;
  display: block;
  min-height: clamp(330px, 34vw, 480px);
  overflow: hidden;
  padding: 0;
  position: relative;
  text-decoration: none;
  container-type: inline-size;
}

.s2030-atlas-card__media img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  transform: scale(1.01);
  transition: transform 0.5s ease;
  width: 100%;
}

.s2030-roadmap-card--compact:hover .s2030-atlas-card__media img {
  transform: scale(1.055);
}

.s2030-atlas-card__media::before {
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.92) 0%, rgba(2, 8, 23, 0.7) 42%, rgba(2, 8, 23, 0.24) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 18px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.s2030-atlas-card__fallback {
  background:
    radial-gradient(circle at 78% 18%, rgba(226, 27, 45, 0.25), transparent 32%),
    linear-gradient(135deg, #020817, #123d8f);
  inset: 0;
  position: absolute;
}

.s2030-atlas-card__overlay {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 24px);
  justify-content: center;
  min-height: inherit;
  padding: clamp(20px, 4vw, 46px);
  position: relative;
  text-align: center;
  z-index: 2;
}

.s2030-atlas-card__top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.2vw, 14px);
  justify-content: center;
}

.s2030-atlas-card__number {
  color: #fff;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8cqw, 6.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.s2030-atlas-card__label {
  align-items: center;
  background: var(--sp-red, #e21b2d);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 0;
  min-height: 28px;
  padding: 0 10px;
  text-align: center;
  text-transform: uppercase;
}

.s2030-atlas-card__content {
  align-items: center;
  display: grid;
  justify-items: center;
  max-width: 620px;
  min-width: 0;
  width: 100%;
}

.s2030-atlas-card__content h4 {
  color: #fff;
  font-size: clamp(1.7rem, 5.6cqw, 3.8rem);
  line-height: 0.92;
  margin: 0;
  max-width: 12ch;
  overflow-wrap: anywhere;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
  text-wrap: balance;
}

.s2030-atlas-card__details {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.s2030-atlas-card__details span {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: #0f172a;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  min-height: 30px;
  padding: 0 10px;
  text-align: center;
  text-transform: uppercase;
}

.s2030-atlas-card__read {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  color: var(--sp-red, #e21b2d);
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-top: 22px;
  min-height: 42px;
  padding: 0 18px;
  text-transform: uppercase;
  width: fit-content;
}

.s2030-roadmap-card p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.62;
  margin: 0;
}

.s2030-roadmap-card__source {
  color: var(--sp-muted, #6b7280);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 18px;
  text-transform: uppercase;
}

.s2030-posts {
  background: var(--sp-bg, #f3f5f8);
}

@media (max-width: 1100px) {
  .s2030-hero__inner,
  .s2030-year__body {
    grid-template-columns: 1fr;
  }

  .s2030-hero__feature {
    max-width: 620px;
  }

  .s2030-year__intro {
    max-width: 720px;
    position: relative;
    top: auto;
  }

  .s2030-year__feature,
  .s2030-year__secondary {
    max-width: 720px;
    width: 100%;
  }

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

@media (max-width: 720px) {
  .s2030-hero {
    min-height: auto;
    padding: 54px 20px;
  }

  .s2030-hero__title {
    font-size: clamp(3rem, 17vw, 5.5rem);
  }

  .s2030-hero__roadmap-float {
    bottom: auto;
    margin: 30px auto 0;
    position: relative;
    right: auto;
  }

  .s2030-year__secondary,
  .s2030-posts__grid {
    grid-template-columns: 1fr;
  }

  .s2030-year__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .s2030-year__inner,
  .s2030-year__heading,
  .s2030-year__body,
  .s2030-year__feature,
  .s2030-year__secondary,
  .s2030-year__note {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .s2030-roadmap-card--featured a {
    min-height: clamp(420px, 108vw, 560px);
  }

  .s2030-roadmap-card__media {
    min-height: 0;
  }

  .s2030-roadmap-card--featured .s2030-roadmap-card__body {
    padding: clamp(18px, 5vw, 26px);
  }

  .s2030-roadmap-card--featured h4 {
    font-size: clamp(2rem, 13vw, 4.2rem);
  }

  .s2030-roadmap-card--compact .s2030-atlas-card__media {
    border-radius: 22px;
    min-height: 430px;
  }

  .s2030-atlas-card__overlay,
  .s2030-roadmap-card--featured .s2030-roadmap-card__body {
    padding: clamp(20px, 8vw, 34px);
  }

  .s2030-year {
    padding-block: clamp(3.8rem, 15vw, 5.6rem);
    padding-inline: 20px;
  }

  .s2030-year__heading h3 {
    font-size: clamp(2.5rem, 16vw, 4.5rem);
  }

  .s2030-atlas-card__top {
    flex-direction: column;
    gap: 8px;
  }

  .s2030-atlas-card__label {
    margin-top: 0;
  }
}

/* NASA-style guided story timeline for the 12 initiatives section. */
.initiatives-story {
  background:
    radial-gradient(circle at 12% 5%, rgba(226, 27, 45, 0.08), transparent 28%),
    linear-gradient(180deg, #f3f5f8 0%, #ffffff 44%, #f3f5f8 100%);
  color: var(--sp-text, #111827);
  overflow: clip;
  padding-block: clamp(5rem, 9vw, 10rem);
  position: relative;
}

.initiatives-story.will-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.initiatives-story__inner {
  margin-inline: auto;
  max-width: var(--sp-wide, 1360px);
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.initiatives-story__header {
  margin-bottom: clamp(3rem, 6vw, 6rem);
  max-width: 880px;
}

.initiatives-story__kicker,
.initiative-story__pill,
.initiative-story__source {
  color: var(--sp-red, #e21b2d);
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.initiatives-story__header h2 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 0.84;
  margin: 14px 0 18px;
  max-width: 980px;
  text-transform: uppercase;
}

.initiatives-story__header p {
  color: var(--sp-muted, #6b7280);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.72;
  max-width: 780px;
}

.initiatives-timeline {
  position: relative;
}

.initiatives-timeline::before {
  background: linear-gradient(to bottom, var(--sp-red, #e21b2d), var(--sp-blue, #123d8f), rgba(255, 255, 255, 0.8));
  bottom: clamp(5rem, 9vw, 9rem);
  content: "";
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
}

.initiative-story {
  align-items: center;
  display: grid;
  gap: clamp(4.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: clamp(4rem, 8vw, 8rem);
  min-height: clamp(420px, 62vh, 720px);
  position: relative;
}

.initiative-story:last-child {
  margin-bottom: 0;
}

.initiative-story:nth-child(even) .initiative-story__visual {
  order: -1;
}

.initiative-story__marker {
  align-items: center;
  background: var(--sp-red, #e21b2d);
  border: 6px solid #fff;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  color: #fff;
  display: flex;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  z-index: 3;
}

.initiative-story__content {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--sp-border, rgba(15, 23, 42, 0.12));
  border-radius: 24px;
  box-shadow: var(--sp-shadow, 0 18px 50px rgba(15, 23, 42, 0.12));
  padding: clamp(1.6rem, 4vw, 4rem);
  position: relative;
  z-index: 2;
}

.initiative-story__number {
  color: var(--sp-red, #e21b2d);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.8;
  margin-bottom: 16px;
}

.initiative-story__pill {
  background: rgba(226, 27, 45, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
}

.initiative-story__content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 4.35rem);
  line-height: 0.94;
  margin: 18px 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  word-break: normal;
}

.initiative-story__summary {
  color: var(--sp-text, #111827);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.62;
  margin: 0 0 16px;
}

.initiative-story__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.initiative-story__cta {
  background: var(--sp-red, #e21b2d);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.initiative-story__source {
  color: var(--sp-muted, #6b7280);
  text-decoration: none;
}

.initiative-story__visual {
  background:
    radial-gradient(circle at 80% 18%, rgba(226, 27, 45, 0.24), transparent 30%),
    linear-gradient(135deg, var(--sp-navy, #07172f), var(--sp-deep, #020817));
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  min-height: clamp(360px, 46vw, 620px);
  overflow: hidden;
  position: relative;
  display: grid;
  
}

.initiative-story__visual * {
  min-width: 0;
}

.initiative-story__visual::before {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 28px);
  content: "";
  inset: 0;
  opacity: 0.65;
  position: absolute;
  z-index: 2;
  background-image: repeating-linear-gradient(
	135deg,
	rgba(255, 255, 255, 0.05) 0,
	rgba(255, 255, 255, 0.05) 1px,
	transparent 1px,
	transparent 14px
  );
	pointer-events: none;
}

.initiative-story__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			90deg,
			rgba(2, 8, 23, 0.88) 0%,
			rgba(2, 8, 23, 0.62) 44%,
			rgba(2, 8, 23, 0.12) 100%
		);
	pointer-events: none;
}

.initiative-story__visual img {
  display: block;
  inset: 0;
  height: auto;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: 380px;
  z-index: 0;
}

.initiative-story__visual-fallback {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: inherit;
  padding: clamp(2rem, 4vw, 4rem);
  position: relative;
  text-align: left;
  z-index: 1;
}

.initiative-story__visual-fallback span {
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 15rem);
  font-weight: 900;
  line-height: 0.78;
}

.initiative-story__visual-fallback strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.35vw, 3.8rem);
  line-height: 0.96;
  max-width: 92%;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  word-break: normal;
}

.initiative-story__visual--infrastructure {
  background:
    radial-gradient(circle at 80% 18%, rgba(29, 78, 216, 0.26), transparent 30%),
    linear-gradient(135deg, #07172f, #334155);
}

.initiative-story__visual--economy {
  background:
    radial-gradient(circle at 22% 18%, rgba(37, 99, 235, 0.28), transparent 30%),
    linear-gradient(135deg, #020817, #123d8f);
}

.initiative-story__visual--expo {
  background:
    radial-gradient(circle at 84% 18%, rgba(234, 179, 8, 0.32), transparent 30%),
    linear-gradient(135deg, #07172f, #7f1d1d);
}

.initiative-story__visual--digital {
  background:
    radial-gradient(circle at 20% 22%, rgba(56, 189, 248, 0.34), transparent 30%),
    linear-gradient(135deg, #020817, #0f766e);
}

.initiative-story__visual--roadmap {
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.28), transparent 32%),
    linear-gradient(135deg, #020817, #07172f 58%, #dbeafe);
}

.initiative-story__visual--public {
  background:
    radial-gradient(circle at 78% 18%, rgba(226, 27, 45, 0.2), transparent 30%),
    linear-gradient(135deg, #111827, #334155);
}

.initiative-story__visual--city {
  background:
    radial-gradient(circle at 22% 18%, rgba(226, 27, 45, 0.26), transparent 30%),
    linear-gradient(135deg, #020817, #1e293b);
}

.initiatives-story__final {
  background:
    radial-gradient(circle at 86% 10%, rgba(226, 27, 45, 0.22), transparent 30%),
    linear-gradient(135deg, #020817, #07172f);
  border-radius: 28px;
  box-shadow: var(--sp-shadow, 0 18px 50px rgba(15, 23, 42, 0.12));
  color: #fff;
  margin-top: clamp(4rem, 8vw, 8rem);
  padding: clamp(2rem, 5vw, 5rem);
}

.initiatives-story__final h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.9;
  margin: 12px 0 16px;
  text-transform: uppercase;
}

.initiatives-story__final p {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  line-height: 1.7;
  max-width: 720px;
}

.initiatives-story__final-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.initiatives-story__final-links a {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 13px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.initiative-story.will-reveal {
  opacity: 0;
  transform: translateY(32px);
}

.initiative-story.will-reveal .initiative-story__visual {
  transform: translateY(18px) scale(0.98);
}

.initiative-story.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.initiative-story.is-visible .initiative-story__visual {
  transform: translateY(0) scale(1);
  transition: transform 0.75s ease;
}

.initiative-story.is-visible .initiative-story__marker {
  background: var(--sp-red, #e21b2d);
  box-shadow: 0 0 0 10px rgba(226, 27, 45, 0.14), 0 18px 46px rgba(15, 23, 42, 0.2);
}

/* tekst preko slike */
.initiative-story__image-overlay {
	position: relative;
	left: clamp(28px, 5vw, 64px);
	bottom: clamp(28px, 5vw, 64px);
	z-index: 3;
	color: #fff;
	max-width: min(760px, 92%);
	pointer-events: none;
	padding: clamp(32px, 6vw, 72px);
	align-self: center;
}

.initiative-story__overlay-number {
	display: block;
	font-size: clamp(64px, 10vw, 150px);
	line-height: 0.82;
	font-weight: 900;
	opacity: 0.22;
	letter-spacing: -0.08em;
	margin-bottom: clamp(18px, 3vw, 32px);
}

.initiative-story__overlay-title {
	display: block;
	font-size: clamp(32px, 4.4vw, 74px);
	line-height: 0.9;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.05em;
	overflow-wrap: anywhere;
	hyphens: auto;
}

@media (prefers-reduced-motion: reduce) {
  .initiative-story.will-reveal,
  .initiative-story.will-reveal .initiative-story__visual,
  .initiative-story.is-visible,
  .initiative-story.is-visible .initiative-story__visual {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .initiatives-timeline::before {
    left: 1rem;
    transform: none;
  }

  .initiative-story {
    gap: clamp(1.4rem, 5vw, 2.2rem);
    grid-template-columns: 1fr;
    margin-bottom: clamp(3rem, 10vw, 5rem);
    min-height: auto;
    padding-left: 2.25rem;
  }

  .initiative-story .initiative-story__visual,
  .initiative-story:nth-child(even) .initiative-story__visual {
    order: -1;
  }

  .initiative-story__marker {
    height: 46px;
    left: 1rem;
    top: 2rem;
    width: 46px;
  }

  .initiative-story__visual {
    min-height: clamp(260px, 62vw, 420px);
  }

  .initiative-story__visual-fallback {
    gap: 1.6rem;
  }

  .initiative-story__visual-fallback span {
    font-size: clamp(5.4rem, 22vw, 10rem);
  }

  .initiative-story__visual-fallback strong {
    font-size: clamp(1.65rem, 7.5vw, 3.4rem);
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .initiatives-story {
    padding-block: clamp(3.5rem, 14vw, 5rem);
  }

  .initiatives-story__inner {
    padding-inline: 16px;
  }

  .initiatives-story__header h2 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .initiative-story {
    padding-left: 1.8rem;
  }

  .initiative-story__content {
    padding: 1.35rem;
  }

  .initiative-story__content h3 {
    font-size: clamp(1.85rem, 10vw, 3.1rem);
  }

  .initiative-story__number {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .initiative-story__visual-fallback {
    padding: 1.5rem;
  }

  .initiative-story__visual-fallback strong {
    font-size: clamp(1.35rem, 8vw, 2.6rem);
    line-height: 1;
  }
}

/* Dedicated EXPO 2027 event adventure page. */
.expo-story {
  --expo-navy: #041225;
  --expo-deep: #010711;
  --expo-blue: #123d8f;
  --expo-red: #e21b2d;
  --expo-gold: #f5c542;
  --expo-cream: #fff7db;
  --expo-line: rgba(245, 197, 66, 0.28);
  background: #f4f6f9;
  color: var(--sp-text, #111827);
  overflow: clip;
  width: 100%;
}

.expo-hero {
  background:
    radial-gradient(circle at 76% 20%, rgba(245, 197, 66, 0.2), transparent 24%),
    radial-gradient(circle at 18% 12%, rgba(226, 27, 45, 0.24), transparent 25%),
    linear-gradient(135deg, var(--expo-deep) 0%, var(--expo-navy) 56%, #071b38 100%);
  color: #fff;
  min-height: clamp(620px, 78vh, 860px);
  position: relative;
}

.expo-hero::before,
.expo-hero::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.expo-hero::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.045) 88px 89px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 78%);
  opacity: 0.56;
}

.expo-hero::after {
  background: linear-gradient(180deg, transparent 72%, #f4f6f9 100%);
}

.expo-hero__inner {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
  margin-inline: auto;
  max-width: var(--sp-wide, 1360px);
  min-height: inherit;
  padding: clamp(72px, 10vw, 132px) clamp(20px, 4vw, 36px);
  position: relative;
  z-index: 1;
}

.expo-kicker,
.expo-phase__group-label,
.expo-card__eyebrow,
.expo-card__meta,
.expo-post-link span {
  color: var(--expo-gold);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.expo-hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 10vw, 10.5rem);
  line-height: 0.82;
  margin: 14px 0 22px;
  max-width: 1040px;
  text-transform: uppercase;
}

.expo-hero__copy p {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.55;
  max-width: 700px;
}

.expo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 42px);
}

.expo-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding: 13px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.expo-button:hover {
  transform: translateY(-2px);
}

.expo-button--primary {
  background: var(--expo-red);
  border: 1px solid var(--expo-red);
  color: #fff;
}

.expo-button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.expo-hero__panel {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)),
    rgba(1, 7, 17, 0.72);
  border: 1px solid rgba(245, 197, 66, 0.35);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  padding: clamp(24px, 3vw, 38px);
}

.expo-hero__panel > span {
  color: rgba(245, 197, 66, 0.9);
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.expo-hero__panel dl {
  display: grid;
  gap: 16px;
}

.expo-hero__panel div {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 16px;
}

.expo-hero__panel dt {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.expo-hero__panel dd {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
  line-height: 1;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.expo-intro,
.expo-related {
  padding: clamp(58px, 8vw, 112px) max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2));
}

.expo-section-head {
  max-width: 940px;
}

.expo-section-head h2 {
  color: var(--sp-text, #111827);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.8vw, 7.2rem);
  line-height: 0.88;
  margin: 10px 0 18px;
  text-transform: uppercase;
}

.expo-section-head p {
  color: var(--sp-muted, #6b7280);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.75;
  max-width: 780px;
}

.expo-section-head--light h2,
.expo-section-head--light p {
  color: #fff;
}

.expo-section-head--light p {
  color: rgba(255, 255, 255, 0.76);
}

.expo-timeline {
  background:
    radial-gradient(circle at 14% 10%, rgba(226, 27, 45, 0.22), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(245, 197, 66, 0.17), transparent 28%),
    linear-gradient(180deg, var(--expo-deep), var(--expo-navy) 58%, #08182d);
  color: #fff;
  padding: clamp(64px, 9vw, 126px) max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2));
}

.expo-timeline-nav {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(28px, 5vw, 58px) 0 clamp(34px, 6vw, 72px);
  position: sticky;
  top: calc(var(--sp-nav-height, 64px) + 12px);
  z-index: 3;
}

.expo-timeline-nav a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.76);
  display: grid;
  font-family: var(--font-display);
  font-weight: 900;
  gap: 5px;
  min-height: 88px;
  padding: 14px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.expo-timeline-nav a:hover,
.expo-timeline-nav a.is-active {
  background: rgba(245, 197, 66, 0.14);
  border-color: rgba(245, 197, 66, 0.62);
  color: #fff;
  transform: translateY(-2px);
}

.expo-timeline-nav span {
  color: var(--expo-gold);
  font-size: 1.4rem;
  line-height: 1;
}

.expo-timeline__track {
  display: grid;
  gap: clamp(30px, 5vw, 62px);
}

.expo-phase {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  display: grid;
  gap: clamp(24px, 4vw, 50px);
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  overflow: hidden;
  padding: clamp(24px, 5vw, 62px);
  position: relative;
}

.expo-phase::before {
  background: linear-gradient(180deg, var(--expo-gold), rgba(245, 197, 66, 0));
  content: "";
  height: 100%;
  left: clamp(88px, 11vw, 150px);
  opacity: 0.28;
  position: absolute;
  top: 0;
  width: 2px;
}

.expo-phase__signal,
.expo-phase__body {
  position: relative;
  z-index: 1;
}

.expo-phase__signal span {
  color: rgba(245, 197, 66, 0.22);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 13rem);
  font-weight: 900;
  line-height: 0.8;
}

.expo-phase__header {
  max-width: 780px;
}

.expo-phase__header h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 6rem);
  line-height: 0.9;
  margin: 8px 0 14px;
  text-transform: uppercase;
}

.expo-phase__header p {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.68;
}

.expo-phase__content {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  margin-top: clamp(22px, 4vw, 44px);
}

.expo-phase__group {
  display: grid;
  gap: 14px;
}

.expo-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.expo-card,
.expo-post-link {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  color: var(--sp-text, #111827);
  padding: clamp(20px, 2.5vw, 28px);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.expo-card:hover,
.expo-post-link:hover {
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.expo-card h4,
.expo-post-link strong {
  color: var(--sp-text, #111827);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.55rem);
  line-height: 0.98;
  margin: 10px 0 12px;
  text-transform: uppercase;
}

.expo-post-link strong {
  font-size: clamp(1.25rem, 1.9vw, 2rem);
  line-height: 1.05;
}

.expo-card h4 a,
.expo-post-link a {
  color: inherit;
  text-decoration: none;
}

.expo-card p {
  color: var(--sp-muted, #6b7280);
  line-height: 1.58;
  margin: 0 0 14px;
}

.expo-card__eyebrow,
.expo-card__meta,
.expo-post-link span {
  color: var(--expo-red);
}

.expo-post-list {
  display: grid;
  gap: 14px;
}

.sp-source-box--compact {
  background: rgba(248, 250, 252, 0.82);
  border-radius: 14px;
  box-shadow: none;
  margin: 16px 0 0;
  max-width: none;
  padding: 14px;
}

.sp-source-box--compact h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.sp-source-box--compact p,
.sp-source-box--compact dd {
  font-size: 0.9rem;
}

.sp-source-box--compact .sp-source-list {
  gap: 8px;
  margin-top: 8px;
}

.sp-source-box--compact .sp-source-list div {
  padding-top: 8px;
}

.expo-phase__fallback {
  margin-top: clamp(22px, 4vw, 44px);
  max-width: 620px;
}

.expo-empty {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  margin-top: 28px;
  max-width: 620px;
  padding: 28px;
}

.expo-empty span {
  color: var(--expo-red);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.expo-empty p {
  color: var(--sp-muted, #6b7280);
  margin: 10px 0 0;
}

.expo-related {
  background: #fff;
}

.expo-related__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 4vw, 48px);
}

@media (max-width: 1180px) {
  .expo-hero__inner,
  .expo-phase {
    grid-template-columns: 1fr;
  }

  .expo-phase::before {
    display: none;
  }

  .expo-phase__signal span {
    font-size: clamp(4.5rem, 18vw, 8rem);
  }

  .expo-timeline-nav {
    position: static;
  }
}

@media (max-width: 900px) {
  .expo-facts,
  .expo-related__grid {
    grid-template-columns: 1fr;
  }

  .expo-timeline-nav {
    grid-template-columns: 1fr;
  }

  .expo-timeline-nav a {
    align-items: center;
    display: flex;
    min-height: 64px;
  }
}

@media (max-width: 720px) {
  .expo-hero {
    min-height: auto;
  }

  .expo-hero__inner {
    padding-block: clamp(52px, 16vw, 82px);
  }

  .expo-hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  .expo-hero__panel {
    border-radius: 22px;
  }

  .expo-card-grid {
    grid-template-columns: 1fr;
  }

  .expo-phase {
    border-radius: 22px;
    padding: 22px;
  }

  .expo-section-head h2 {
    font-size: clamp(2.5rem, 16vw, 4.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .expo-button,
  .expo-card,
  .expo-post-link,
  .expo-timeline-nav a {
    transition: none;
  }

  .expo-button:hover,
  .expo-card:hover,
  .expo-post-link:hover,
  .expo-timeline-nav a:hover,
  .expo-timeline-nav a.is-active {
    transform: none;
  }
}


.primary-menu {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}


/* Transliterator switcher - keeps main menu centered */
.main-nav .nav-inner {
  position: relative;
  justify-content: center;
}

.main-nav .primary-menu {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-left: 120px;
  padding-right: 120px;
  box-sizing: border-box;
}

.main-nav .primary-nav-list {
  display: flex;
  justify-content: center;
}

.main-nav .script-switcher {
  position: absolute;
  top: 0;
  right: 18px;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0 !important;
  white-space: nowrap;
}

.main-nav .script-switcher,
.main-nav .script-switcher * {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.main-nav .script-switcher a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  padding: 0 10px !important;
  margin: 0 2px;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  color: #fff !important;
  text-decoration: none !important;
}

.main-nav .script-switcher a:hover {
  background: var(--color-red-dark);
  color: #fff !important;
}

/* Mobile */
/* Hide latest news bar on mobile */
@media (max-width: 900px) {
  .breaking-bar {
    display: none !important;
  }
}

/* Transliterator selector layout */
.main-nav .nav-inner {
  position: relative;
  justify-content: center;
}

/* Desktop: keep menu centered */
.main-nav .primary-menu {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding-left: 120px;
  padding-right: 120px;
  box-sizing: border-box;
}

/* Desktop: selector on the right */
.main-nav .script-switcher {
  position: absolute;
  top: 0;
  right: 18px;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
  white-space: nowrap;
}

.main-nav .script-switcher,
.main-nav .script-switcher * {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.main-nav .script-switcher a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 10px !important;
  margin: 0 2px;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  color: #fff !important;
  text-decoration: none !important;
}

.main-nav .script-switcher a:hover {
  background: var(--color-red-dark);
  color: #fff !important;
}

/* Mobile nav */
@media (max-width: 900px) {
  .main-nav .nav-inner {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
  }

  .main-nav .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
  }

  .main-nav .script-switcher {
    position: static;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto !important;
    padding: 8px 0;
  }

  .main-nav .script-switcher a {
    min-width: 44px;
    height: 32px;
    padding: 0 10px !important;
    background: rgba(0, 0, 0, 0.18);
  }

  /* Important: mobile menu is closed by default */
  .main-nav .primary-menu {
    display: none !important;
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    padding: 0 0 12px;
    margin-top: 0;
  }

  /* Opens only after JS adds .is-open */
  .main-nav .primary-menu.is-open {
    display: flex !important;
  }

  .main-nav .primary-menu a,
  .main-nav .primary-nav-list > li > a {
    width: 100%;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.16);
    padding: 14px 0;
  }
}


/* Editorial news ticker */
.breaking-bar {
	display: flex;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
	background: #020817;
	border-bottom: 2px solid var(--sp-red, #e21b2d);
}

.breaking-label {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding: 0 18px;
	background: var(--sp-red, #e21b2d);
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.breaking-ticker {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.breaking-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: srbijaBreakingTicker 34s linear infinite;
	will-change: transform;
}

.breaking-track--static {
	width: 100%;
	animation: none;
}

.breaking-items {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 18px;
	padding: 0 26px;
	white-space: nowrap;
}

.breaking-item,
.breaking-items a {
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.breaking-item:hover,
.breaking-items a:hover {
	color: var(--sp-red, #e21b2d);
}

.breaking-separator {
	color: rgba(255, 255, 255, 0.5);
	font-weight: 900;
}

.breaking-ticker:hover .breaking-track,
.breaking-ticker:focus-within .breaking-track {
	animation-play-state: paused;
}

@keyframes srbijaBreakingTicker {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.breaking-track {
		animation: none;
	}
}

@media (max-width: 700px) {
	.breaking-bar {
		min-height: 40px;
	}

	.breaking-label {
		padding: 0 12px;
		font-size: 12px;
	}

	.breaking-items {
		gap: 14px;
		padding: 0 18px;
	}

	.breaking-item,
	.breaking-items a {
		font-size: 13px;
	}
}

/* Infrastructure page redesign: hero + sticky topic bar + atlas story layout */
.infrastructure-page {
	background:
		radial-gradient(circle at 12% 3%, rgba(226, 27, 45, 0.08), transparent 28%),
		linear-gradient(180deg, #f3f5f8 0%, #ffffff 42%, #f3f5f8 100%);
	color: var(--sp-text, #111827);
	overflow-x: clip;
}

.infrastructure-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(560px, 78vh, 780px);
	display: flex;
	align-items: center;
	padding: clamp(84px, 9vw, 150px) clamp(20px, 5vw, 72px);
	background:
		linear-gradient(135deg, #020817 0%, #07172f 52%, #0f2a52 100%);
	color: #fff;
	overflow: hidden;
}

.infrastructure-hero.has-background-image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--infra-hero-bg);
	background-size: cover;
	background-position: center;
	opacity: 0.42;
	transform: scale(1.02);
}

.infrastructure-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(2, 8, 23, 0.96), rgba(2, 8, 23, 0.78), rgba(2, 8, 23, 0.36)),
		repeating-linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.06) 0,
			rgba(255, 255, 255, 0.06) 1px,
			transparent 1px,
			transparent 16px
		);
}

.infrastructure-hero.has-background-image {
	background-image:
		linear-gradient(
			90deg,
			rgba(2, 8, 23, 0.70) 0%,
			rgba(2, 8, 23, 0.56) 30%,
			rgba(2, 8, 23, 0.24) 58%,
			rgba(2, 8, 23, 0.06) 80%
		),
		var(--infra-hero-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.infrastructure-hero__inner {
	width: min(1240px, 100%);
	margin: 0 auto;
}

.infrastructure-hero__inner--clean {
	display: block;
}

.infrastructure-hero__content {
	max-width: 880px;
}

.infrastructure-hero__kicker,
.infrastructure-atlas__head > span,
.infrastructure-related span,
.infrastructure-empty span,
.infra-atlas-item__label {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-bottom: 16px;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--sp-red, #e21b2d);
	color: #fff;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.infrastructure-hero h1 {
	max-width: 940px;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(48px, 7.5vw, 112px);
	line-height: 0.86;
	text-transform: uppercase;
	letter-spacing: -0.06em;
	overflow-wrap: anywhere;
}

.infrastructure-hero p {
	max-width: 700px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-family: var(--font-serif);
	font-size: clamp(17px, 1.55vw, 22px);
	line-height: 1.62;
}

.infrastructure-hero__meta {
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--font-display);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.infrastructure-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.infrastructure-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.infrastructure-button--primary {
	background: var(--sp-red, #e21b2d);
	color: #fff;
}

.infrastructure-button--secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.24);
}

.infrastructure-topic-bar {
	position: sticky;
	top: calc(var(--sp-admin-offset, 0px) + var(--sp-nav-height, 64px));
	z-index: 80;
	margin-top: -1px;
	padding: 12px clamp(14px, 4vw, 48px);
	background: rgba(244, 246, 249, 0.86);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(18px);
}

.infrastructure-topic-bar__inner {
	width: min(1240px, 100%);
	margin: 0 auto;
	padding: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(15, 23, 42, 0.1);
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1);
}

.infrastructure-topic-bar__scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
}

.infrastructure-topic-bar__scroll::-webkit-scrollbar {
	display: none;
}

.infrastructure-filter {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	font-family: var(--font-display);
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.infrastructure-filter:hover {
	transform: translateY(-1px);
}

.infrastructure-filter.is-active {
	background: var(--sp-red, #e21b2d);
	color: #fff;
}

.infrastructure-atlas {
	width: min(1280px, calc(100% - 40px));
	margin: 0 auto;
	padding: clamp(64px, 8vw, 120px) 0;
}

.infrastructure-atlas__head {
	max-width: 880px;
	margin-bottom: clamp(44px, 6vw, 76px);
}

.infrastructure-atlas__head h2,
.infrastructure-related h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(42px, 6.2vw, 88px);
	line-height: 0.88;
	text-transform: uppercase;
	letter-spacing: -0.06em;
	color: #111827;
}

.infrastructure-atlas__head p,
.infrastructure-related p {
	max-width: 720px;
	margin: 18px 0 0;
	color: #5b6472;
	font-family: var(--font-serif);
	font-size: clamp(17px, 1.45vw, 21px);
	line-height: 1.7;
}

.infra-atlas-timeline {
	position: relative;
}

.infra-atlas-timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 3px;
	transform: translateX(-50%);
	background: linear-gradient(
		to bottom,
		var(--sp-red, #e21b2d),
		var(--sp-blue, #123d8f),
		rgba(255, 255, 255, 0.8)
	);
}

.infra-atlas-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(4rem, 6vw, 6rem);
	margin-bottom: clamp(4rem, 8vw, 8rem);
	min-height: clamp(420px, 62vh, 720px);
}

.infra-atlas-item:last-child {
	margin-bottom: 0;
}

.infra-atlas-item.is-reversed .infra-atlas-item__visual {
	order: -1;
}

.infra-atlas-item__marker {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translate(-50%, -50%);
	border-radius: 999px;
	background: var(--sp-red, #e21b2d);
	border: 6px solid #fff;
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 900;
}

.infra-atlas-item__content {
	position: relative;
	z-index: 2;
	padding: clamp(1.6rem, 4vw, 4rem);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.12);
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.infra-atlas-item__number {
	display: block;
	margin-bottom: 16px;
	color: var(--sp-red, #e21b2d);
	font-family: var(--font-display);
	font-size: clamp(3.4rem, 7vw, 7.2rem);
	font-weight: 900;
	line-height: 0.8;
	letter-spacing: -0.08em;
}

.infra-atlas-item__label {
	margin-bottom: 0;
	background: rgba(226, 27, 45, 0.08);
	color: var(--sp-red, #e21b2d);
}

.infra-atlas-item h3 {
	margin: 18px 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4.2vw, 4.35rem);
	line-height: 0.94;
	text-transform: uppercase;
	letter-spacing: -0.05em;
	overflow-wrap: anywhere;
}

.infra-atlas-item h3 a {
	color: #111827;
	text-decoration: none;
}

.infra-atlas-item p {
	margin: 0;
	color: #374151;
	font-family: var(--font-serif);
	font-size: clamp(1.05rem, 1.45vw, 1.25rem);
	line-height: 1.65;
}

.infra-atlas-item__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.infra-atlas-item__details span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.infra-atlas-item__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.infra-atlas-item__tags a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	background: #eef2ff;
	color: #123d8f;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.infra-atlas-item__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.infra-atlas-item__read {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--sp-red, #e21b2d);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.infra-atlas-item__visual {
	position: relative;
	display: block;
	min-height: clamp(320px, 42vw, 520px);
	overflow: hidden;
	border-radius: 28px;
	background:
		radial-gradient(circle at 80% 18%, rgba(29, 78, 216, 0.26), transparent 30%),
		linear-gradient(135deg, #07172f, #334155);
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
	text-decoration: none;
}

.infra-atlas-item__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: repeating-linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.08) 0 2px,
		transparent 2px 28px
	);
	opacity: 0.65;
	pointer-events: none;
}

.infra-atlas-item__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		to top,
		rgba(2, 8, 23, 0.42),
		rgba(2, 8, 23, 0.04)
	);
	pointer-events: none;
}

.infra-atlas-item__visual img {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.infra-atlas-item:hover .infra-atlas-item__visual img {
	transform: scale(1.04);
}

.infra-atlas-item__fallback {
	position: relative;
	z-index: 3;
	display: flex;
	min-height: inherit;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(2rem, 4vw, 4rem);
	color: #fff;
}

.infra-atlas-item__fallback span {
	color: rgba(255, 255, 255, 0.16);
	font-family: var(--font-display);
	font-size: clamp(7rem, 16vw, 15rem);
	font-weight: 900;
	line-height: 0.78;
}

.infra-atlas-item__fallback strong {
	max-width: 92%;
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(1.65rem, 3.35vw, 3.8rem);
	line-height: 0.96;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.infrastructure-empty {
	padding: clamp(32px, 5vw, 56px);
	border-radius: 28px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.infrastructure-empty h3 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 54px);
	line-height: 0.96;
	text-transform: uppercase;
	letter-spacing: -0.05em;
}

.infrastructure-empty p {
	max-width: 640px;
	color: #5b6472;
	font-family: var(--font-serif);
	font-size: 18px;
	line-height: 1.6;
}

.infrastructure-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 42px;
}

.infrastructure-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	background: #fff;
	color: #0f172a;
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 900;
}

.infrastructure-pagination .current {
	background: var(--sp-red, #e21b2d);
	color: #fff;
}

.infrastructure-related {
	width: min(1280px, calc(100% - 40px));
	margin: 0 auto clamp(70px, 8vw, 120px);
	padding: clamp(32px, 5vw, 56px);
	border-radius: 32px;
	background:
		radial-gradient(circle at 88% 8%, rgba(226, 27, 45, 0.22), transparent 30%),
		linear-gradient(135deg, #020817, #07172f);
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: end;
}

.infrastructure-related h2,
.infrastructure-related p {
	color: #fff;
}

.infrastructure-related p {
	color: rgba(255, 255, 255, 0.72);
}

.infrastructure-related__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.infrastructure-related__links a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 900;
	border: 1px solid rgba(255, 255, 255, 0.16);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

@media (max-width: 1100px) {
	.infrastructure-related {
		grid-template-columns: 1fr;
	}

	.infra-atlas-timeline::before {
		left: 1rem;
		transform: none;
	}

	.infra-atlas-item {
		grid-template-columns: 1fr;
		gap: clamp(1.4rem, 5vw, 2.2rem);
		min-height: auto;
		padding-left: 2.25rem;
	}

	.infra-atlas-item .infra-atlas-item__visual,
	.infra-atlas-item.is-reversed .infra-atlas-item__visual {
		order: -1;
	}

	.infra-atlas-item__marker {
		top: 2rem;
		left: 1rem;
		width: 46px;
		height: 46px;
		border-width: 5px;
		font-size: 0.82rem;
	}

	.infra-atlas-item__visual {
		min-height: clamp(260px, 62vw, 420px);
	}
}

@media (max-width: 720px) {
	.infrastructure-hero {
		min-height: 560px;
		padding: 92px 20px 70px;
	}

	.infrastructure-hero h1 {
		font-size: clamp(42px, 13vw, 66px);
	}

	.infrastructure-topic-bar {
		padding: 10px 14px;
	}

	.infrastructure-topic-bar__inner {
		border-radius: 22px;
	}

	.infrastructure-filter {
		font-size: 12px;
		min-height: 34px;
		padding: 0 12px;
	}

	.infrastructure-atlas {
		width: min(100% - 28px, 1280px);
		padding-top: 56px;
	}

	.infrastructure-atlas__head h2,
	.infrastructure-related h2 {
		font-size: clamp(36px, 13vw, 60px);
	}

	.infra-atlas-item {
		padding-left: 1.8rem;
		margin-bottom: clamp(3rem, 10vw, 5rem);
	}

	.infra-atlas-item__content {
		padding: 1.35rem;
	}

	.infra-atlas-item h3 {
		font-size: clamp(1.85rem, 10vw, 3.1rem);
	}

	.infra-atlas-item__number {
		font-size: clamp(3rem, 18vw, 5rem);
	}

	.infra-atlas-item__fallback {
		padding: 1.5rem;
	}

	.infra-atlas-item__fallback strong {
		font-size: clamp(1.35rem, 8vw, 2.6rem);
		line-height: 1;
	}

	.infrastructure-related {
		width: min(100% - 28px, 1280px);
	}

	.infrastructure-related__links {
		justify-content: flex-start;
	}
}

/* Infrastructure atlas image-card layout */
.infra-atlas-timeline {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
}

.infra-atlas-timeline::before {
	display: none;
}

.infra-atlas-image-card {
	display: block;
	min-height: auto;
	margin: 0;
}

.infra-atlas-image-card__media {
	position: relative;
	display: block;
	min-height: clamp(460px, 58vw, 760px);
	overflow: hidden;
	border-radius: 34px;
	background:
		radial-gradient(circle at 80% 16%, rgba(226, 27, 45, 0.22), transparent 32%),
		linear-gradient(135deg, #020817, #123d8f);
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
	text-decoration: none;
	color: #fff;
}

.infra-atlas-image-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transform: scale(1.01);
	transition: transform 0.5s ease;
}

.infra-atlas-image-card:hover .infra-atlas-image-card__media img {
	transform: scale(1.055);
}

.infra-atlas-image-card__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			90deg,
			rgba(2, 8, 23, 0.92) 0%,
			rgba(2, 8, 23, 0.72) 42%,
			rgba(2, 8, 23, 0.22) 100%
		),
		repeating-linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.08) 0,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px,
			transparent 18px
		);
	pointer-events: none;
}

.infra-atlas-image-card__fallback {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 78% 18%, rgba(226, 27, 45, 0.25), transparent 32%),
		linear-gradient(135deg, #020817, #123d8f);
}

.infra-atlas-image-card__overlay {
	position: relative;
	z-index: 2;
	min-height: inherit;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(28px, 5vw, 72px);
}

.infra-atlas-image-card__top {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.infra-atlas-image-card__number {
	display: block;
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(72px, 10vw, 150px);
	font-weight: 900;
	line-height: 0.78;
	letter-spacing: -0.08em;
	text-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.infra-atlas-image-card__label {
	display: inline-flex;
	align-items: center;
	margin-top: 12px;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--sp-red, #e21b2d);
	color: #fff;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.infra-atlas-image-card__content {
	max-width: 760px;
}

.infra-atlas-image-card h3 {
	margin: 0;
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(42px, 6.2vw, 96px);
	line-height: 0.88;
	text-transform: uppercase;
	letter-spacing: -0.06em;
	overflow-wrap: anywhere;
	text-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
}

.infra-atlas-image-card__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.infra-atlas-image-card__details span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #0f172a;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.infra-atlas-image-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.infra-atlas-image-card__tags span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(226, 27, 45, 0.94);
	color: #fff;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.infra-atlas-image-card__read {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 46px;
	margin-top: 26px;
	padding: 0 20px;
	border-radius: 999px;
	background: #fff;
	color: var(--sp-red, #e21b2d);
	font-family: var(--font-display);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.infra-atlas-item__marker,
.infra-atlas-item__content,
.infra-atlas-item__visual {
	display: none;
}

@media (max-width: 720px) {
	.infra-atlas-image-card__media {
		min-height: 560px;
		border-radius: 26px;
	}

	.infra-atlas-image-card__overlay {
		padding: 24px;
	}

	.infra-atlas-image-card__top {
		flex-direction: column;
		gap: 8px;
	}

	.infra-atlas-image-card__label {
		margin-top: 0;
	}

	.infra-atlas-image-card h3 {
		font-size: clamp(38px, 13vw, 62px);
	}

	.infra-atlas-image-card__number {
		font-size: clamp(64px, 22vw, 104px);
	}

	.infra-atlas-image-card__details span,
	.infra-atlas-image-card__tags span {
		font-size: 11px;
	}
}

html {
	color-scheme: only light;
	background-color: #f4f7fb;
}

body {
	background-color: #f4f7fb;
	color: #07111f;
	color-scheme: only light;
}


/* EXPO 2027: Gde smo sada slider */

.expo-now {
	background:
		radial-gradient(circle at 18% 12%, rgba(226, 27, 45, 0.2), transparent 28%),
		radial-gradient(circle at 84% 10%, rgba(245, 197, 66, 0.16), transparent 30%),
		linear-gradient(180deg, #061326 0%, #020812 100%);
	color: #fff;
	padding: clamp(64px, 9vw, 118px) max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2));
}

.expo-now-slider {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: 56px minmax(0, 1fr) 56px;
	margin-top: clamp(28px, 5vw, 58px);
	position: relative;
}

.expo-now-slider__viewport {
	overflow: hidden;
}

.expo-now-slider__track {
	display: flex;
	transform: translateX(0);
	transition: transform 0.36s ease;
	will-change: transform;
}

.expo-now-slide {
	flex: 0 0 100%;
	min-width: 100%;
}

.expo-now-card {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
		rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 34px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
	display: grid;
	grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
	min-height: 430px;
	overflow: hidden;
}

.expo-now-card__media {
	background-image:
		linear-gradient(
			90deg,
			rgba(2, 8, 23, 0.22),
			rgba(2, 8, 23, 0.02)
		),
		var(--expo-now-image);
	background-position: center;
	background-size: cover;
	display: block;
	min-height: 430px;
	position: relative;
}

.expo-now-card__media::after {
	background:
		linear-gradient(
			180deg,
			rgba(2, 8, 23, 0) 0%,
			rgba(2, 8, 23, 0.44) 100%
		);
	content: "";
	inset: 0;
	position: absolute;
}

.expo-now-card__content {
	align-content: center;
	display: grid;
	padding: clamp(28px, 5vw, 62px);
}

.expo-now-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.expo-now-card__meta span {
	background: rgba(245, 197, 66, 0.12);
	border: 1px solid rgba(245, 197, 66, 0.34);
	border-radius: 999px;
	color: var(--expo-gold, #f5c542);
	font-family: var(--font-display);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	padding: 7px 10px;
	text-transform: uppercase;
}

.expo-now-card h3 {
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 5.6vw, 6.2rem);
	line-height: 0.9;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.expo-now-card h3 a {
	color: inherit;
	text-decoration: none;
}

.expo-now-card p {
	color: rgba(255, 255, 255, 0.76);
	font-family: var(--font-serif);
	font-size: clamp(1.02rem, 1.35vw, 1.22rem);
	line-height: 1.7;
	margin: 0;
	max-width: 760px;
}

.expo-now-card__link {
	align-items: center;
	background: var(--expo-red, #e21b2d);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-family: var(--font-display);
	font-weight: 900;
	justify-content: center;
	letter-spacing: 0.08em;
	margin-top: 28px;
	min-height: 46px;
	padding: 12px 18px;
	text-decoration: none;
	text-transform: uppercase;
	width: fit-content;
}

.expo-now-arrow {
	align-items: center;
	appearance: none;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--font-display);
	font-size: 2.6rem;
	font-weight: 900;
	height: 56px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 4px;
	transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
	width: 56px;
}

.expo-now-arrow:hover {
	background: rgba(245, 197, 66, 0.14);
	border-color: rgba(245, 197, 66, 0.52);
	transform: translateY(-2px);
}

.expo-now-arrow.is-disabled {
	cursor: default;
	opacity: 0.28;
	pointer-events: none;
}

.expo-now-counter {
	color: rgba(255, 255, 255, 0.68);
	font-family: var(--font-display);
	font-weight: 900;
	grid-column: 2;
	letter-spacing: 0.12em;
	margin-top: 8px;
	text-align: center;
}

@media (max-width: 980px) {
	.expo-now-slider {
		grid-template-columns: 46px minmax(0, 1fr) 46px;
	}

	.expo-now-card {
		grid-template-columns: 1fr;
	}

	.expo-now-card__media {
		min-height: 280px;
	}

	.expo-now-arrow {
		font-size: 2.1rem;
		height: 46px;
		width: 46px;
	}
}

@media (max-width: 640px) {
	.expo-now-slider {
		grid-template-columns: 1fr 1fr;
	}

	.expo-now-slider__viewport {
		grid-column: 1 / -1;
		order: 1;
	}

	.expo-now-arrow--prev {
		order: 2;
		justify-self: end;
	}

	.expo-now-arrow--next {
		order: 3;
		justify-self: start;
	}

	.expo-now-counter {
		grid-column: 1 / -1;
		order: 4;
	}

	.expo-now-card {
		border-radius: 24px;
		min-height: auto;
	}

	.expo-now-card__content {
		padding: 24px;
	}

	.expo-now-card h3 {
		font-size: clamp(2.3rem, 12vw, 4rem);
	}
}


.expo-benefits {
  background:
    radial-gradient(circle at 8% 12%, rgba(226, 27, 45, 0.16), transparent 28%),
    radial-gradient(circle at 90% 4%, rgba(245, 197, 66, 0.2), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fafc 52%, #eef3f8 100%);
  overflow: hidden;
  padding: clamp(64px, 9vw, 126px) max(20px, calc((100vw - var(--sp-wide, 1360px)) / 2));
  position: relative;
}

.expo-benefits::before {
  background:
    linear-gradient(90deg, rgba(226, 27, 45, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
}

.expo-benefits::after {
  background: var(--expo-red, #e21b2d);
  border-radius: 999px;
  box-shadow:
    0 0 0 18px rgba(226, 27, 45, 0.08),
    0 0 0 42px rgba(245, 197, 66, 0.08);
  content: "";
  height: 18px;
  position: absolute;
  right: clamp(24px, 7vw, 110px);
  top: clamp(38px, 6vw, 90px);
  width: 18px;
}

.expo-benefits__shell {
  position: relative;
  z-index: 1;
}

.expo-benefits__intro {
  align-items: end;
  display: grid;
  gap: clamp(22px, 4vw, 56px);
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  margin-bottom: clamp(34px, 5vw, 70px);
}

.expo-benefits__copy {
  max-width: 520px;
}

.expo-benefits__headline {
  display: flex;
  justify-content: flex-end;
}

.expo-benefits__headline h2 {
  text-align: left;
}

.expo-benefits__intro h2 {
  color: var(--sp-text, #111827);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.4vw, 7.4rem);
  line-height: 0.86;
  margin: 0;
  max-width: 760px;
  text-transform: uppercase;
}

.expo-benefits__lead {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 4px solid var(--expo-red, #e21b2d);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
  color: var(--sp-muted, #6b7280);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.75;
  margin: 12px 0 0;
  padding: clamp(18px, 2.4vw, 28px);
}

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

.expo-benefit-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 197, 66, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 26px;
  box-shadow: 0 22px 64px rgba(15, 23, 42, 0.1);
  min-height: 280px;
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.expo-benefit-card:hover {
  box-shadow: 0 30px 84px rgba(15, 23, 42, 0.16);
  transform: translateY(-4px);
}

.expo-benefit-card span {
  color: var(--expo-red, #e21b2d);
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.expo-benefit-card h3 {
  color: var(--sp-text, #111827);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 3.2rem);
  line-height: 0.95;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.expo-benefit-card p {
  color: var(--sp-muted, #6b7280);
  font-size: 1rem;
  line-height: 1.68;
  margin: 0;
}

.expo-benefit-card--large {
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 197, 66, 0.22), transparent 34%),
    linear-gradient(145deg, #101b2d, #07111f);
  border-color: rgba(245, 197, 66, 0.28);
  grid-column: span 2;
}

.expo-benefit-card--large h3,
.expo-benefit-card--large p {
  color: #fff;
}

.expo-benefit-card--large p {
  color: rgba(255, 255, 255, 0.76);
}

.expo-benefit-card--large span {
  color: var(--expo-gold, #f5c542);
}

.expo-benefit-card--accent {
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(145deg, var(--expo-red, #e21b2d), #a90f1e);
  border-color: rgba(226, 27, 45, 0.34);
  grid-column: span 2;
}

.expo-benefit-card--accent h3,
.expo-benefit-card--accent p,
.expo-benefit-card--accent span {
  color: #fff;
}

.expo-benefit-card--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.expo-benefits__footer {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(245, 197, 66, 0.22), rgba(226, 27, 45, 0.08)),
    #fff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 28px;
  box-shadow: 0 22px 64px rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.expo-benefits__footer strong {
  color: var(--expo-red, #e21b2d);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
}

.expo-benefits__footer p {
  color: var(--sp-text, #111827);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1100px) {
.expo-benefits__intro,
.expo-benefits__grid,
.expo-benefits__footer {
  grid-template-columns: 1fr;
}

.expo-benefits__headline {
  justify-content: flex-start;
}

.expo-benefits__copy {
  max-width: 100%;
}

.expo-benefits__intro h2 {
  max-width: 100%;
}
}

@media (max-width: 640px) {
  .expo-benefits {
    padding-inline: 16px;
  }

  .expo-benefits__lead,
  .expo-benefit-card,
  .expo-benefits__footer {
    border-radius: 22px;
  }

  .expo-benefit-card {
    min-height: auto;
  }
}

.sp-preserve-latin {
  display: inline;
  white-space: nowrap;
}

.expo-facts {
  grid-template-columns: 1.18fr 1fr 1fr;
}

.expo-fact-card {
  overflow: hidden;
  min-width: 0;
}

.expo-fact-card h3,
.expo-fact-card strong,
.expo-fact-card__value {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.expo-fact-card h3,
.expo-fact-card__value {
  font-size: clamp(2.2rem, 3.15vw, 4.25rem);
  letter-spacing: 0.035em;
  line-height: 0.94;
}

@media (max-width: 1100px) {
  .expo-facts {
    grid-template-columns: 1fr;
  }

  .expo-fact-card h3,
  .expo-fact-card__value {
    font-size: clamp(2.4rem, 9vw, 4.4rem);
  }
}

/* EXPO facts final layout fix */
.expo-facts {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  grid-template-columns: 1.15fr 1fr 1fr;
  margin-top: clamp(30px, 4vw, 54px);
  width: 100%;
}

.expo-fact-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(245, 197, 66, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 260px;
  min-width: 0;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
}

.expo-fact-card .expo-kicker,
.expo-fact-card > span,
.expo-fact-card__label {
  color: var(--expo-red, #e21b2d);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0 0 clamp(18px, 2vw, 28px);
  text-transform: uppercase;
}

.expo-fact-card h3,
.expo-fact-card strong,
.expo-fact-card__value {
  color: var(--sp-text, #07111f);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 3.15vw, 4.35rem);
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 0.95;
  margin: 0;
  max-width: 100%;
  overflow-wrap: normal;
  text-transform: uppercase;
  white-space: normal;
  word-break: normal;
}

.expo-fact-card__value span,
.expo-fact-card h3 span,
.expo-fact-card strong span {
  display: block;
}

@media (max-width: 1180px) {
  .expo-facts {
    grid-template-columns: 1fr;
  }

  .expo-fact-card {
    min-height: auto;
  }

  .expo-fact-card h3,
  .expo-fact-card strong,
  .expo-fact-card__value {
    font-size: clamp(2.4rem, 8vw, 4.2rem);
  }
}

@media (max-width: 640px) {
  .expo-fact-card {
    border-radius: 22px;
    padding: 24px;
  }

  .expo-fact-card h3,
  .expo-fact-card strong,
  .expo-fact-card__value {
    font-size: clamp(2rem, 11vw, 3.2rem);
    letter-spacing: 0.025em;
  }
}




/* EXPO facts final repair */
.expo-facts {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  grid-template-columns: 1.15fr 1fr 1fr;
  margin-top: clamp(30px, 4vw, 54px);
  width: 100%;
}

.expo-fact-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(245, 197, 66, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 260px;
  min-width: 0;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
}

.expo-fact-card__label {
  color: var(--expo-red, #e21b2d);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0 0 clamp(18px, 2vw, 28px);
  text-transform: uppercase;
}

.expo-fact-card__value {
  color: var(--sp-text, #07111f);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0;
  max-width: 100%;
  text-transform: uppercase;
  white-space: normal;
  word-break: normal;
}

.expo-fact-card__value span {
  display: block;
}

@media (max-width: 1180px) {
  .expo-facts {
    grid-template-columns: 1fr;
  }

  .expo-fact-card {
    min-height: auto;
  }

  .expo-fact-card__value {
    font-size: clamp(2.4rem, 8vw, 4.2rem);
  }
}

@media (max-width: 640px) {
  .expo-fact-card {
    border-radius: 22px;
    padding: 24px;
  }

  .expo-fact-card__value {
    font-size: clamp(2rem, 11vw, 3.2rem);
    letter-spacing: 0.025em;
  }
}

.initiative-story__cta {
  align-items: center;
  background: var(--sp-red, #e21b2d);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.035em;
  line-height: 1;
  min-height: 44px;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  width: fit-content;
}

/* Mobile width repair: Srbija 2030 + Infrastructure category/story pages */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .s2030-page,
  .infrastructure-page {
    max-width: 100%;
    overflow-x: clip;
  }

  .s2030-page *,
  .infrastructure-page * {
    box-sizing: border-box;
  }

  .s2030-hero,
  .s2030-posts,
  .s2030-year,
  .s2030-roadmap > .s2030-section-head,
  .infrastructure-hero,
  .infrastructure-atlas,
  .infrastructure-related {
    max-width: 100%;
  }

  .s2030-hero,
  .s2030-posts,
  .s2030-year,
  .s2030-roadmap > .s2030-section-head {
    padding-left: 16px;
    padding-right: 16px;
  }

  .infrastructure-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .infrastructure-atlas,
  .infrastructure-related {
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }

  .s2030-hero__inner,
  .s2030-section-head,
  .s2030-posts__grid,
  .s2030-year__inner,
  .s2030-year__feature,
  .s2030-year__secondary,
  .infrastructure-hero__inner,
  .infrastructure-hero__content,
  .infra-atlas-timeline,
  .infra-atlas-image-card,
  .infra-atlas-image-card__media {
    max-width: 100%;
    min-width: 0;
  }

  .s2030-posts__grid,
  .s2030-year__secondary {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .s2030-post-card,
  .s2030-roadmap-card,
  .s2030-roadmap-card a,
  .infra-atlas-image-card,
  .infra-atlas-image-card__media {
    max-width: 100%;
    min-width: 0;
  }

  .s2030-hero__title,
  .s2030-section-head h2,
  .s2030-year__intro h3,
  .s2030-roadmap-card h4,
  .infrastructure-hero h1,
  .infrastructure-atlas__head h2,
  .infrastructure-related h2,
  .infra-atlas-image-card h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Infrastructure sticky filter bar: mobile position repair */
@media (max-width: 720px) {
  .infrastructure-topic-bar {
    top: calc(var(--sp-admin-offset, 0px) + 0px);
    padding: 8px 10px;
    z-index: 90;
  }

  body.admin-bar .infrastructure-topic-bar {
    top: 46px;
  }

  .infrastructure-topic-bar__inner {
    border-radius: 18px;
    padding: 7px;
    max-width: 100%;
  }

  .infrastructure-topic-bar__scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .infrastructure-filter {
    min-height: 32px;
    padding: 0 11px;
    font-size: 11px;
    letter-spacing: 0.045em;
    white-space: nowrap;
  }
}


/* Infrastructure mobile atlas alignment fix */
@media (max-width: 720px) {
  .infrastructure-atlas {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .infra-atlas-timeline {
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 28px;
  }

  .infra-atlas-item,
  .infra-atlas-image-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    transform: none;
  }

  .infra-atlas-image-card__media {
    width: 100%;
    max-width: 100%;
    min-height: 540px;
    border-radius: 24px;
  }

  .infra-atlas-image-card__overlay {
    padding: 22px;
  }
}

.infra-atlas-image-card__details {
	display: none;
}


.sp-post-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.sp-post-carousel__viewport {
    overflow: hidden;
    width: 100%;
}

.sp-post-carousel__track {
    display: flex;
    gap: 28px;
    transition: transform 0.35s ease;
}

.sp-post-carousel__item {
    flex: 0 0 calc((100% - 56px) / 3);
}

.sp-carousel-arrow {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.sp-carousel-arrow:disabled {
    opacity: 0.25;
    cursor: default;
}

@media (max-width: 900px) {
    .sp-post-carousel__item {
        flex-basis: calc((100% - 28px) / 2);
    }
}

@media (max-width: 640px) {
    .sp-post-carousel__item {
        flex-basis: 100%;
    }

    .sp-post-carousel {
        gap: 10px;
    }
}

.sp-post-carousel.no-arrows {
    display: block;
}

.sp-post-carousel.no-arrows .sp-post-carousel__viewport {
    overflow: visible;
}

.sp-post-carousel.no-arrows .sp-post-carousel__track {
    transform: none !important;
}

.sp-post-carousel {
    position: relative;
}

.sp-post-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-post-carousel__arrow--prev {
    left: -70px;
}

.sp-post-carousel__arrow--next {
    right: -70px;
}

.sp-post-carousel__arrow:disabled {
    opacity: 0.25;
    cursor: default;
}

.sp-post-carousel.no-arrows .sp-post-carousel__arrow {
    display: none;
}

/* Desktop ostaje normalan Site Identity logo */
/* Ovde ne menjamo ništa za desktop */

/*

@media (max-width: 1024px) {
  .site-header .header-inner,
  .site-header .logo-wrap,
  .site-header .logo-wrap--image-only,
  .site-header .logo-emblem,
  .site-header .custom-logo-link {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .custom-logo-link {
    display: block !important;
    height: 90px !important;
    background-image: url("https://srbijapobedjuje.info/wp-content/uploads/2026/06/LP-Logo-1.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .site-header .custom-logo {
    opacity: 0 !important;
    width: 100% !important;
    height: 90px !important;
  }
}


@media (max-width: 600px) {
  .site-header .custom-logo-link {
    height: 90px !important;
    background-image: url("https://srbijapobedjuje.info/wp-content/uploads/2026/06/LP-Logo-1.png");
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
	background-color: #fff;
  }

  .site-header .custom-logo {
    height: 90px !important;
	object-fit: contain !important;
  }
}
*/


/* FIX: tekst na tamnim hero/story sekcijama mora biti potpuno beo */
.area-story-intro,
.sp-archive-hero p,
.sp-article-subtitle,
.expo-hero__copy p,
.expo-section-head--light p,
.expo-phase__header p,
.s2030-hero__lead {
  color: #fff;
}


/* FIX: ne lomiti naslove unutar reči */
.initiative-story__overlay-title,
.initiative-story__visual-fallback strong,
.initiative-story__content h3,
.s2030-hero__title,
.expo-hero h1,
.area-story-hero h1,
.infrastructure-hero h1,
.hero-title,
.landing-hero-title,
.sp-archive-hero h1,
.sp-page-header h1,
.sp-article-title {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .initiative-story__image-overlay {
    left: 0;
    bottom: 0;
    max-width: 100%;
    padding: 24px;
  }

  .initiative-story__overlay-title,
  .initiative-story__visual-fallback strong {
    max-width: 100%;
    font-size: clamp(26px, 10.5vw, 42px);
    line-height: 0.98;
  }

  .s2030-hero__title,
  .expo-hero h1,
  .area-story-hero h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 12vw, 4.4rem);
    line-height: 0.92;
  }
}

/* ============================================================
   HARD FIX: Srbija 2030 CPT kartice - bez lomljenja reči
   ============================================================ */

.s2030-roadmap-card h4,
.s2030-roadmap-card h4 a,
.s2030-roadmap-card__media span,
.s2030-post-card h3,
.s2030-post-card h3 a,
.s2030-post-card__media span {
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
  text-wrap: balance;
}

/* Tekstualni delovi kartice moraju imati realnu širinu */
.s2030-roadmap-card,
.s2030-roadmap-card a,
.s2030-roadmap-card__body,
.s2030-post-card,
.s2030-post-card__body {
  min-width: 0;
  max-width: 100%;
}

/* Na mobilnom smanjujemo font da browser ne mora da seče reči */
@media (max-width: 720px) {
  .s2030-roadmap-card h4 {
    font-size: clamp(1.25rem, 6.2vw, 1.9rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.015em;
  }

  .s2030-roadmap-card--featured h4 {
    font-size: clamp(1.35rem, 6.8vw, 2.15rem) !important;
    line-height: 1.02 !important;
  }

  .s2030-roadmap-card--compact h4 {
    font-size: clamp(1.2rem, 6vw, 1.85rem) !important;
    line-height: 1.06 !important;
  }

  .s2030-post-card h3 {
    font-size: clamp(1.25rem, 6vw, 1.9rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.015em;
  }

  .s2030-roadmap-card a,
  .s2030-roadmap-card--empty {
    padding: 20px !important;
  }

  .s2030-roadmap-card--featured a {
    grid-template-rows: minmax(140px, auto) auto !important;
    min-height: 0 !important;
  }

  .s2030-roadmap-card--featured .s2030-roadmap-card__body {
    padding: 20px !important;
  }

  .s2030-roadmap-card--compact a {
    aspect-ratio: auto !important;
    min-height: 0 !important;
  }
}

/* ============================================================
   FIX: Izvori i kontekst blok - čitljiviji prikaz
   ============================================================ */

.sp-source-box,
.sp-source-box--compact {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  padding: 20px;
}

.sp-source-box h2,
.sp-source-box--compact h2 {
  color: #0f172a;
  font-size: clamp(1.1rem, 4.8vw, 1.45rem);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.sp-source-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.sp-source-list div {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  display: grid;
  grid-template-columns: minmax(90px, 120px) 1fr;
  gap: 12px;
  padding: 12px 0;
}

.sp-source-list div:last-child {
  padding-bottom: 0;
}

.sp-source-list dt {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.sp-source-list dd {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.sp-source-list dd a {
  color: #c1121f;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 720px) {
  .sp-source-box,
  .sp-source-box--compact {
    border-radius: 16px;
    padding: 18px;
    width: 100%;
  }

  .sp-source-list div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 11px 0;
  }

  .sp-source-list dt {
    font-size: 0.64rem;
    letter-spacing: 0.055em;
  }

  .sp-source-list dd {
    font-size: 0.9rem;
    line-height: 1.35;
  }
}


/* ============================================================
   GLOBAL MOBILE FIX: zabrana lomljenja reči u naslovima
   ============================================================ */

@media (max-width: 720px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .site-title,
  .hero-title,
  .landing-hero-title,
  .sp-archive-hero h1,
  .sp-page-header h1,
  .sp-article-title,
  .area-story-hero h1,
  .expo-hero h1,
  .infrastructure-hero h1,
  .s2030-hero__title,
  .s2030-roadmap-card h4,
  .s2030-roadmap-card__media span,
  .s2030-post-card h3,
  .initiative-story__overlay-title,
  .initiative-story__content h3,
  .initiative-story__visual-fallback strong,
  .initiative-detail-panel h3,
  .initiative-presentation .inicijativa-heading,
  .infra-atlas-item h3,
  .infra-atlas-item__fallback strong,
  .infra-atlas-image-card h3,
  .archive-structured-card h3,
  .story-card h3 {
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
  }
}

/* ============================================================
   MOBILE FIX: manji fontovi da reči imaju više prostora
   ============================================================ */

@media (max-width: 720px) {
  .s2030-hero__title {
    font-size: clamp(2.2rem, 10vw, 3.7rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.055em !important;
  }

  .s2030-roadmap-card h4 {
    font-size: clamp(1.2rem, 5.8vw, 1.85rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
  }

  .s2030-roadmap-card--featured h4 {
    font-size: clamp(1.35rem, 6.5vw, 2.15rem) !important;
    line-height: 1.02 !important;
  }

  .s2030-roadmap-card__media span {
    font-size: clamp(1.45rem, 8vw, 2.5rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.035em !important;
  }

  .s2030-post-card h3,
  .archive-structured-card h3,
  .story-card h3 {
    font-size: clamp(1.25rem, 6vw, 1.9rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
  }

  .initiative-story__overlay-title {
    font-size: clamp(1.9rem, 9vw, 3.2rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.045em !important;
  }

  .infrastructure-hero h1,
  .expo-hero h1,
  .area-story-hero h1 {
    font-size: clamp(2.25rem, 11vw, 4rem) !important;
    line-height: 0.92 !important;
  }

  .infra-atlas-image-card h3,
  .infra-atlas-item h3,
  .initiative-story__content h3 {
    font-size: clamp(1.85rem, 8.5vw, 3.2rem) !important;
    line-height: 0.98 !important;
  }
}

@media (max-width: 720px) {
  .s2030-hero__title {
    --fit-min: 28px;
  }

  .s2030-roadmap-card h4,
  .s2030-post-card h3,
  .archive-structured-card h3,
  .story-card h3 {
    --fit-min: 17px;
  }

  .initiative-story__overlay-title,
  .infrastructure-hero h1,
  .expo-hero h1,
  .area-story-hero h1 {
    --fit-min: 24px;
  }
}

/* ============================================================
   GLOBAL MOBILE WIDTH FIX
   Infrastruktura + Srbija 2030: sprečava širenje layouta van ekrana
   ============================================================ */

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  .s2030-page,
  .infrastructure-page,
  .area-story-page,
  .sp-archive-page.has-area-story {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .s2030-hero,
  .s2030-posts,
  .s2030-roadmap,
  .s2030-year,
  .s2030-roadmap > .s2030-section-head,
  .infrastructure-hero,
  .infrastructure-topic-bar,
  .infrastructure-atlas,
  .infrastructure-related,
  .area-featured-posts,
  .area-story-section,
  .area-story-related {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .s2030-hero,
  .s2030-posts,
  .s2030-year,
  .s2030-roadmap > .s2030-section-head {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .infrastructure-hero,
  .infrastructure-topic-bar {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .infrastructure-atlas,
  .infrastructure-related {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ============================================================
   MOBILE GRID FIX
   Forsira sve glavne gridove na jednu kolonu i sprečava širenje
   ============================================================ */

@media (max-width: 720px) {
  .s2030-hero__inner,
  .s2030-year__inner,
  .s2030-year__secondary,
  .s2030-posts__grid,
  .area-featured-grid,
  .area-topic-grid,
  .area-project-route,
  .area-timeline,
  .story-roadmap-grid,
  .area-story-post-grid,
  .infra-atlas-timeline,
  .infra-atlas-item,
  .infrastructure-related {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100%;
    min-width: 0;
  }

  .s2030-hero__inner,
  .s2030-year__inner,
  .s2030-year__intro,
  .s2030-year__feature,
  .s2030-year__secondary,
  .s2030-roadmap-card,
  .s2030-roadmap-card a,
  .s2030-roadmap-card__body,
  .s2030-post-card,
  .s2030-post-card__body,
  .infrastructure-hero__inner,
  .infrastructure-hero__content,
  .infra-atlas-image-card,
  .infra-atlas-image-card__media,
  .infra-atlas-image-card__overlay,
  .infra-atlas-image-card__content,
  .infra-atlas-item,
  .infra-atlas-item__content,
  .infra-atlas-item__visual {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .infra-atlas-item {
    padding-left: 0 !important;
  }

  .infra-atlas-item__marker {
    display: none !important;
  }
}

/* ============================================================
   MOBILE TYPOGRAPHY FIX
   Manji naslovi da tekst ne izlazi van ekrana
   ============================================================ */

@media (max-width: 720px) {
  .s2030-hero__title {
    font-size: clamp(2.15rem, 10.5vw, 3.65rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.045em !important;
    max-width: 100%;
  }

  .s2030-section-head h2,
  .s2030-roadmap > .s2030-section-head h2 {
    font-size: clamp(2rem, 9.5vw, 3.4rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.04em !important;
    max-width: 100%;
  }
	
  .s2030-year__intro h3 {
    font-size: clamp(2rem, 10vw, 2.9rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    max-width: 100%;
  }


  .s2030-roadmap-card h4,
  .s2030-roadmap-card--featured h4,
  .s2030-roadmap-card--compact h4,
  .s2030-post-card h3 {
    font-size: clamp(1.25rem, 6.2vw, 1.95rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
    max-width: 100%;
  }

  .infrastructure-hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.9rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.045em !important;
    max-width: 100%;
  }

  .infrastructure-atlas__head h2,
  .infrastructure-related h2 {
    font-size: clamp(2rem, 9.5vw, 3.4rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.04em !important;
    max-width: 100%;
  }

  .infra-atlas-image-card h3,
  .infra-atlas-item h3 {
    font-size: clamp(1.9rem, 8.8vw, 3.05rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    max-width: 100%;
  }

  .infra-atlas-image-card__number,
  .infra-atlas-item__number {
    font-size: clamp(3.2rem, 17vw, 5.8rem) !important;
    line-height: 0.85 !important;
    max-width: 100%;
  }
}

/* ============================================================
   INFRASTRUCTURE TOPIC BAR MOBILE FIX
   ============================================================ */

@media (max-width: 720px) {
  .infrastructure-topic-bar {
    overflow: hidden;
  }

  .infrastructure-topic-bar__inner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 18px !important;
    padding: 8px !important;
  }

  .infrastructure-topic-bar__scroll {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .infrastructure-filter {
    flex: 0 0 auto;
    max-width: 85vw;
    white-space: nowrap;
  }
}

/* ============================================================
   FIX: Srbija 2030 - naslov godine ne sme da se iseče na mobilnom
   ============================================================ */

@media (max-width: 720px) {
  .s2030-year {
    overflow-x: hidden;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .s2030-year__inner,
  .s2030-year__intro {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .s2030-year__intro h3 {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em !important;
    max-width: calc(100vw - 36px) !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-wrap: balance;
  }

  .s2030-year__intro p {
    max-width: 100%;
    font-size: clamp(1rem, 4.6vw, 1.18rem) !important;
    line-height: 1.55 !important;
  }
}

/* ============================================================
   HARD FIX: Srbija 2030 / 2028 Modernizacija sistema mobile
   ============================================================ */

@media screen and (max-width: 720px) {
  body #s2030-2028.s2030-year .s2030-year__inner {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden !important;
  }

  body #s2030-2028.s2030-year .s2030-year__intro {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body #s2030-2028.s2030-year .s2030-year__intro h3 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    font-size: clamp(2rem, 9vw, 2.6rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.06em !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
    text-transform: uppercase !important;
  }
}

@media screen and (max-width: 720px) {
  #s2030-2028 .s2030-year__intro h3 {
    font-size: clamp(1.85rem, 9.1vw, 2.55rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.065em !important;
  }
}

/* ============================================================
   FINAL FIX: Srbija 2030 / 2028 - Modernizacija sistema mobile
   ============================================================ */

@media screen and (max-width: 720px) {
  body #s2030-2028.s2030-year {
    padding-left: 14px !important;
    padding-right: 14px !important;
    overflow-x: hidden !important;
  }

  body #s2030-2028.s2030-year .s2030-year__inner,
  body #s2030-2028.s2030-year .s2030-year__intro {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body #s2030-2028.s2030-year .s2030-year__intro h3 {
    display: block !important;
    width: 100% !important;
    max-width: calc(100vw - 28px) !important;

    font-size: clamp(1.55rem, 7.4vw, 2.25rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.075em !important;

    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
    text-wrap: auto !important;
  }
}

@media screen and (max-width: 390px) {
  body #s2030-2028.s2030-year .s2030-year__intro h3 {
    font-size: clamp(1.42rem, 6.9vw, 1.95rem) !important;
    letter-spacing: -0.085em !important;
    line-height: 1.04 !important;
  }
}

/* ============================================================
   FIX: Početna / 12 inicijativa naslov - normalan mobile prikaz
   ============================================================ */

@media screen and (max-width: 720px) {
  section#inicijative .initiatives-story__header {
    max-width: 100% !important;
    overflow: visible !important;
  }

  section#inicijative h2#inicijative-title {
    font-size: clamp(2rem, 9.2vw, 3rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    margin-bottom: 16px !important;

    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
    text-wrap: balance;
  }
}

@media screen and (max-width: 390px) {
  section#inicijative h2#inicijative-title {
    font-size: clamp(1.75rem, 8.3vw, 2.35rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
  }
}

/* ============================================================
   FIX: Marketing stranica - normalan mobile prikaz
   ============================================================ */

@media screen and (max-width: 720px) {
  body.page-slug-marketing .sp-page {
    width: 100%;
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow-x: hidden;
  }

  body.page-slug-marketing .sp-page-header {
    width: 100%;
    max-width: 100%;
    border-radius: 18px !important;
    padding: 32px 22px !important;
    overflow: hidden;
  }

  body.page-slug-marketing .sp-page-header h1 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
    max-width: 100% !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
    text-wrap: balance;
  }

  body.page-slug-marketing .sp-page-card {
    width: 100%;
    max-width: 100%;
    border-radius: 18px !important;
    padding: 22px !important;
    overflow: hidden;
  }

  body.page-slug-marketing .sp-page-content,
  body.page-slug-marketing .entry-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.page-slug-marketing .sp-page-content h1,
  body.page-slug-marketing .sp-page-content h2,
  body.page-slug-marketing .sp-page-content h3,
  body.page-slug-marketing .sp-page-content .wp-block-heading {
    font-size: clamp(1.65rem, 7.8vw, 2.45rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
    max-width: 100% !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
    text-wrap: balance;
  }

  body.page-slug-marketing .sp-page-content p,
  body.page-slug-marketing .sp-page-content li {
    font-size: clamp(1rem, 4.4vw, 1.12rem) !important;
    line-height: 1.65 !important;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }
}

@media screen and (max-width: 390px) {
  body.page-slug-marketing .sp-page-header h1 {
    font-size: clamp(1.75rem, 8.2vw, 2.35rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
  }

  body.page-slug-marketing .sp-page-content h1,
  body.page-slug-marketing .sp-page-content h2,
  body.page-slug-marketing .sp-page-content h3,
  body.page-slug-marketing .sp-page-content .wp-block-heading {
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
  }
}

/* ============================================================
   FORCE FIX: Srbija 2030 / 2028 - Modernizacija sistema
   Zakucan font + horizontalno sabijanje
   ============================================================ */

@media screen and (max-width: 720px) {
  body #s2030-2028,
  body #s2030-2028.s2030-year {
    overflow: visible !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body #s2030-2028 .s2030-year__inner,
  body #s2030-2028 .s2030-year__intro {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body #s2030-2028 #s2030-year-2028,
  body #s2030-2028 .s2030-year__intro h3 {
    display: block !important;

    /* ovo je namerno fiksno, bez clamp-a */
    font-size: 46px !important;
    line-height: 1.02 !important;
    

    width: 100% !important;
    max-width: 100% !important;

    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;

    transform: scaleX(0.92) !important;
    transform-origin: left center !important;
  }
}

/* ============================================================
   EXPO anchor fix - hero dugmad vode na tačne sekcije
   ============================================================ */

.sp-scroll-anchor {
  display: block;
  height: 1px;
  margin-top: -110px;
  padding-top: 110px;
  pointer-events: none;
  visibility: hidden;
}

@media screen and (max-width: 720px) {
  .sp-scroll-anchor {
    margin-top: -92px;
    padding-top: 92px;
  }
}

/* ============================================================
   FIX: EXPO 2027 ne sme da se prelomi u dva reda
   ============================================================ */

.expo-benefit-card .sp-preserve-latin,
.expo-benefit-card--large .sp-preserve-latin,
.expo-story .sp-preserve-latin,
.expo-page .sp-preserve-latin {
  display: inline !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* ============================================================
   FIX: Single post header title - manji font na telefonu
   ============================================================ */

@media screen and (max-width: 720px) {
  body.single .sp-article-header {
    padding: 28px 20px !important;
    border-radius: 18px !important;
  }

  body.single .sp-article-title {
    font-size: clamp(1.85rem, 8.2vw, 2.75rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em !important;
    max-width: 100% !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-wrap: balance;
  }

  body.single .sp-article-subtitle {
    font-size: clamp(1rem, 4.3vw, 1.15rem) !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  body.single .sp-article-meta {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
}

@media screen and (max-width: 390px) {
  body.single .sp-article-title {
    font-size: clamp(1.6rem, 7.4vw, 2.25rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.04em !important;
  }

  body.single .sp-article-header {
    padding: 24px 18px !important;
  }
}

/* ============================================================
   FIX: EXPO benefits kartice - mobile layout
   ============================================================ */

@media screen and (max-width: 720px) {
  .expo-benefits,
  .expo-benefits-section,
  .expo-benefit-section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow-x: hidden !important;
  }

  .expo-benefits__grid,
  .expo-benefit-grid,
  .expo-benefits-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  article.expo-benefit-card,
  .expo-benefit-card,
  .expo-benefit-card--large {
    grid-column: auto !important;
    grid-row: auto !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 24px 22px !important;
    border-radius: 22px !important;
    overflow: visible !important;
  }

  .expo-benefit-card--large {
    min-height: 0 !important;
  }

  .expo-benefit-card h2,
  .expo-benefit-card h3,
  .expo-benefit-card h4 {
    font-size: clamp(1.65rem, 8vw, 2.35rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
    max-width: 100% !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
    text-wrap: balance;
  }

  .expo-benefit-card p {
    font-size: clamp(1rem, 4.3vw, 1.12rem) !important;
    line-height: 1.6 !important;
    max-width: 100% !important;

    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: manual !important;
  }

  .expo-benefit-card .sp-preserve-latin,
  .expo-benefit-card .notranslate {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}

@media screen and (max-width: 390px) {
  .expo-benefits,
  .expo-benefits-section,
  .expo-benefit-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  article.expo-benefit-card,
  .expo-benefit-card,
  .expo-benefit-card--large {
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }

  .expo-benefit-card h2,
  .expo-benefit-card h3,
  .expo-benefit-card h4 {
    font-size: clamp(1.45rem, 7.2vw, 2rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
  }

  .expo-benefit-card p {
    font-size: 1rem !important;
    line-height: 1.58 !important;
  }
}

/* ============================================================
   FIX: sakrivanje strelice na dashboard karticama
   ============================================================ */

.dashboard-card-link::after {
  display: none !important;
  content: none !important;
}