:root {
  --bg-darker: #08130f;
  --bg-dark: #0b1d14;
  --card: #133024;
  --ink: #e6f2ea;
  --muted: #cfe3d6;
  --accent: #6bd08c;
  --accent-bright: #7de49d;
  --shadow: 0 16px 36px rgba(0,0,0,.45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.page-price {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-darker);
  color: var(--ink);
  line-height: 1.6;
}
body.page-price a { color: var(--accent); text-decoration: none; }
body.page-price .nav {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(8, 19, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 208, 140, 0.15);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid var(--accent);
}
body.page-price nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
body.page-price nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
body.page-price nav a:hover,
body.page-price nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.page-header {
  position: relative;
  min-height: 40vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1000px 60% at 50% 10%, rgba(107, 208, 140, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.4), rgba(8,19,15,.8)),
    url('/slike/bg-header.webp') center/cover no-repeat;
  overflow: hidden;
}
.page-header__inner {
  position: relative;
  text-align: center;
  padding: 60px 24px;
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-header h1 {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #e6f2ea 0%, #6bd08c 50%, #e6f2ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}
.featured-story {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107, 208, 140, 0.2);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.featured-story__image {
  width: 100%;
  height: auto;
  min-height: 350px;
  object-fit: cover;
}
.featured-story__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-story__badge {
  display: inline-block;
  background: rgba(107, 208, 140, 0.2);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  width: fit-content;
}
.featured-story__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.2;
}
.featured-story__excerpt {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}
.section-header {
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
  color: var(--ink);
}
.section-header p {
  font-size: 18px;
  color: var(--muted);
}

/* VBK legacy cards on main stories page - unified with story-card style */
body.page-price .vbk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 22px;
}

.vbk-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107, 208, 140, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.vbk-card > a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vbk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,.6);
  border-color: rgba(107, 208, 140, 0.4);
}



/* VBK card body (match HTML classes) */
.vbk-card__body{
  flex: 1;
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.vbk-card__title{
  margin:0;
  font-size:18px;
  line-height:1.28;
  font-weight:800;
  color:#b7f2cb;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vbk-card__desc{
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:var(--muted);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
/* VBK card inner layout */
.vbk-body{
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.vbk-title{
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}
.vbk-title a{
  color: inherit;
  text-decoration: none;
}
.vbk-excerpt{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vbk-meta{
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}


body.page-price .stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.story-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107, 208, 140, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,.6);
  border-color: rgba(107, 208, 140, 0.4);
}
.footer {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(107, 208, 140, 0.1);
  margin-top: 60px;
}
@media (max-width: 900px) {
  .featured-story {
    grid-template-columns: 1fr;
  }
  .featured-story__content {
    padding: 32px 24px;
  }
  .featured-story__image {
    min-height: 250px;
  }
}
@media (max-width: 768px) {
  body.page-price .nav { padding: 12px 20px; }
  body.page-price nav { gap: 16px; }
  .page-header { min-height: 30vh; }
  body.page-price .stories-grid {
    grid-template-columns: 1fr;
  }
}

/* STRICT GRID: 2 columns on desktop, 1 on mobile */
body.page-price .stories-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:28px;
  align-items:stretch;
}
@media (max-width:640px){
  body.page-price .stories-grid{grid-template-columns:1fr;}
  body.page-price .vbk-grid{grid-template-columns:1fr;}

  .story-card,
  .vbk-card{
    border-radius:16px;
  }

  .story-card__body,
  .story-card__content{
    padding:18px 16px 20px;
  }

  .story-card__meta{
    font-size:13px;
  }

  .story-card__title{
    font-size:20px;
    line-height:1.35;
  }
}

/* Uniform card image */
.story-card img, .vbk-card img{
  width:100% !important;
  aspect-ratio:16/9 !important;
  height:160px !important;
  object-fit:cover !important;
  border-radius:14px !important;
  display:block;
}
/* Title: max 2 lines with ellipsis */
.story-card h3, .vbk-card .vbk-title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  min-height:2.6em;
  margin:.35rem 0 .2rem;
  font-weight:700;
  color:#b7f2cb;
}

/* Paginacija priča */
.pagination {
  margin: 48px 0 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.pagination__item {
  min-width: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(107,208,140,0.35);
  background: rgba(11,29,20,0.9);
  color: var(--muted);
  text-decoration: none;
  text-align: center;
  transition: all .2s ease;
}
.pagination__item--active {
  background: var(--accent);
  color: #051009;
  border-color: var(--accent-bright);
  font-weight: 600;
}
.pagination__item--disabled {
  opacity: .45;
  cursor: default;
  border-style: dashed;
}
.pagination__item:not(.pagination__item--active):not(.pagination__item--disabled):hover {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
}

/* === Mobilna optimizacija 360–414px (globalno) === */
@media (max-width: 480px) {
  body.page-price .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 16px;
  }

  body.page-price nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  body.page-price nav a {
    font-size: 0.9rem;
  }

  .container {
    padding: 24px 16px;
  }

  .page-header {
    padding: 40px 16px;
    min-height: 30vh;
  }

  .page-header__inner {
    padding: 24px 0;
  }

  body.page-price .stories-grid,
  .gallery-grid,
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .featured-story {
    grid-template-columns: 1fr;
  }
}

/* Search bar (Price page) */
body.page-price .story-search-bar {
  margin: 1.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
body.page-price .story-search-bar label {
  font-weight: 650;
  font-size: 1rem;
  color: var(--ink);
}
body.page-price .story-search-bar input[type="search"] {
  max-width: 520px;
  width: min(520px, 100%);
  padding: 0.62rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 14, 11, 0.55);
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}
body.page-price .story-search-bar input[type="search"]::placeholder {
  color: rgba(208, 227, 218, 0.65);
}
body.page-price .story-search-bar input[type="search"]:focus {
  border-color: rgba(76, 175, 80, 0.55);
  box-shadow: 0 0 0 3px rgba(60, 141, 60, 0.18);
}
body.page-price .story-search-hint {
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 620px;
}
body.page-price .story-search-empty {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Loading message */
body.page-price .stories-loading {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.back-to-top {
      position: fixed;
      right: 1.5rem;
      bottom: 1.5rem;
      padding: 0.5rem 0.9rem;
      border-radius: 999px;
      border: none;
      background: #3c8d3c;
      color: #ffffff;
      font-size: 0.95rem;
      font-weight: 500;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity 0.25s ease, transform 0.25s ease;
      z-index: 50;
    }
    .back-to-top--visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    .back-to-top:focus {
      outline: 2px solid #ffffff;
      outline-offset: 2px;
    }

.featured-story__title-link {
      color: inherit;
      text-decoration: none;
    }
    .featured-story__title-link:hover,
    .featured-story__title-link:focus {
      text-decoration: underline;
    }


/* === Mobile navigation toggle === */
body.page-price .nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(107, 208, 140, 0.4);
  background: rgba(8, 19, 15, 0.85);
  color: var(--ink, #e6f2ea);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

body.page-price .nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

@media (max-width: 768px) {
  body.page-price .nav {
    gap: 6px;
  }

  body.page-price .nav-toggle {
    display: inline-flex;
  }

  .nav nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    background: rgba(8, 19, 15, 0.98);
    border-radius: 16px;
    padding: 12px 16px;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 16px 40px rgba(0,0,0,.7);
    border: 1px solid rgba(107, 208, 140, 0.35);
  }

  body.page-price.nav-open .nav nav {
    display: flex;
  }

  .nav nav a {
    display: block;
    width: 100%;
  }
}



/* Hide nav on scroll (JS adds body.page-price .nav.hidden) */
body.page-price .nav.hidden {
  transform: translateY(-100%);
}
/* === Performance overrides (mobile) === */
@media (max-width: 640px) {
  body.page-price .nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .badge, .category-badge { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .animate-on-scroll, .animated { transition: none !important; animation: none !important; }
}


/* Perf: skip rendering offscreen cards (supported browsers) */
@supports (content-visibility: auto){
  .vbk-card{
    content-visibility:auto;
    contain-intrinsic-size: 360px 420px;
  }
}

/* Perf: skip rendering offscreen content */
body.page-price .stories-grid .vbk-card{
  content-visibility:auto;
  contain-intrinsic-size: 320px 420px;
}
.featured-story{
  content-visibility:auto;
  contain-intrinsic-size: 600px 420px;
}


/* === STEP13: Price filters (tema) === */
.price-filters{
  position: sticky;
  top: 72px;
  z-index: 55;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  border-radius: 14px;
}
.price-filters__label{
  display: inline-block;
  font-weight: 700;
  margin-right: 10px;
}

.price-filters__label-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.price-filters__reset{
  display:none;
  appearance:none;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);
  color:inherit;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:0.85rem;
  cursor:pointer;
  transform:translateY(0);
  transition:transform .08s ease, background .15s ease, border-color .15s ease;
}
.price-filters__reset.is-visible{
  display:inline-flex;
  align-items:center;
}
.price-filters__reset:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,0.08);
  border-color:rgba(46,125,50,0.55);
}

.price-filters__count {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 0.25rem;
  white-space: nowrap;
}
.price-filters__buttons{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.price-filter-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: inherit;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.price-filter-btn:hover{ transform: translateY(-1px); }
.price-filter-btn.is-active,
  .price-filter-btn[aria-pressed="true"]{
  border-color: rgba(46,125,50,0.8);
  background: rgba(46,125,50,0.22);
}
.price-filter-empty{
  margin: 12px 0 0;
  opacity: 0.9;
  display: none;
}
.price-filter-empty.is-visible{ display: block; }

@media (max-width: 600px){
  .price-filters__buttons{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .price-filter-btn{ white-space: nowrap; }
}

 

/* =========================================================
   STEP9 GUARD: Keep /price/ cards SMALL and stable
   Prevent accidental overrides from other CSS files.
   ========================================================= */
body.page-price .stories-grid{
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
body.page-price .stories-grid .vbk-card img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
@media (max-width: 480px){
  body.page-price .stories-grid{
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
  }
  body.page-price .stories-grid .vbk-card img{
    height: 140px;
  }
  .vbk-card__title{ font-size: 16px; }
  .vbk-card__desc{ font-size: 12.5px; }
}


/* STEP13 ALIAS: support older grid class names */
body.page-price .vbk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;}
body.page-price .vbk-grid .vbk-card img{width:100%;height:160px;object-fit:cover;display:block;}
@media (max-width:480px){.vbk-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;}.vbk-grid .vbk-card img{height:140px;}}

/* Sticky offset for small screens */
@media (max-width: 700px){
  .price-filters{ top: 64px; }
}


/* Warnings banner (data issues) */
body.page-price .stories-warnings{
  margin: 0.9rem 0 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 94, 94, 0.5);
  background: rgba(255, 94, 94, 0.10);
  border-radius: 14px;
  color: var(--ink);
  font-size: 0.95rem;
}
body.page-price .stories-warnings a{
  color: var(--accent-bright);
  text-decoration: underline;
}
body.page-price .stories-warnings ul{
  margin: 0.5rem 0 0 1.2rem;
}

/* Noscript fallback list (when JS is disabled) */
body.page-price .noscript-fallback{
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
}
body.page-price .noscript-fallback h2{
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: .2px;
}
body.page-price .noscript-fallback p{
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
body.page-price .noscript-story-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
body.page-price .noscript-story-item{
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.10);
}
body.page-price .noscript-story-item a{
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.page-price .noscript-story-meta{
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}
@media (max-width: 520px){
  body.page-price .noscript-story-item{ padding: 0.7rem 0.8rem; }
}
/* STEP90: render performance for large archive/search grids */
@supports (content-visibility:auto){body.page-price .stories-grid{content-visibility:auto;contain-intrinsic-size:1600px}body.page-price .pagination{content-visibility:auto;contain-intrinsic-size:120px}}


.archive-explorer {
  margin: 0 0 44px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 34, 28, .96), rgba(11, 29, 20, .96));
  border: 1px solid rgba(107, 208, 140, 0.16);
  box-shadow: var(--shadow);
}
.archive-explorer__intro {
  margin-bottom: 20px;
}
.archive-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(107, 208, 140, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.archive-explorer__intro h2 {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}
.archive-explorer__intro p,
.archive-city-block__head p,
.archive-topic-card__desc,
.archive-active-bar,
.archive-city-chip__summary,
.archive-topic-card__meta {
  color: var(--muted);
}
.archive-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.archive-topic-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border-radius: 20px;
  background: rgba(19, 48, 36, 0.9);
  border: 1px solid rgba(107, 208, 140, 0.12);
}
.archive-topic-card.is-active,
.archive-city-chip.is-active {
  border-color: rgba(125, 228, 157, 0.8);
  box-shadow: 0 0 0 1px rgba(125, 228, 157, 0.35) inset;
}
.archive-topic-card__top,
.archive-city-chip__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.archive-topic-card__count,
.archive-city-chip__count,
.price-filters__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(107, 208, 140, 0.16);
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 800;
}
.archive-topic-card__title,
.archive-city-chip__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.archive-topic-card__desc {
  font-size: 14px;
  line-height: 1.5;
}
.archive-topic-card__actions,
.archive-city-chip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.archive-topic-card__filter,
.archive-city-chip__filter,
.archive-active-bar__clear {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #072016;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}
.archive-topic-card__link,
.archive-city-chip__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(107, 208, 140, 0.22);
  color: var(--muted);
  text-decoration: none;
}
.archive-topic-card__link:hover,
.archive-city-chip__link:hover,
.archive-topic-card__filter:hover,
.archive-city-chip__filter:hover,
.archive-active-bar__clear:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.archive-city-block {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(107, 208, 140, 0.12);
}
.archive-city-block__head {
  margin-bottom: 14px;
}
.archive-city-block__head h3 {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--ink);
}
.archive-city-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.archive-city-chip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(8, 19, 15, 0.5);
  border: 1px solid rgba(107, 208, 140, 0.12);
}
.archive-city-chip__summary {
  font-size: 13px;
  line-height: 1.5;
}
.archive-city-chip__region {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(230, 242, 234, 0.72);
}
.archive-active-bar {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(107, 208, 140, 0.08);
  border: 1px solid rgba(107, 208, 140, 0.12);
  font-size: 14px;
}
.archive-active-bar[hidden] {
  display: none;
}
.archive-active-bar__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}
.archive-active-bar__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 19, 15, 0.6);
  color: var(--ink);
}
@media (max-width: 900px) {
  .archive-topic-grid,
  .archive-city-chips {
    grid-template-columns: 1fr;
  }
  .archive-topic-card__actions,
  .archive-city-chip__actions,
  .archive-active-bar__summary {
    flex-direction: column;
    align-items: stretch;
  }
  .archive-topic-card__filter,
  .archive-city-chip__filter,
  .archive-topic-card__link,
  .archive-city-chip__link,
  .archive-active-bar__clear {
    justify-content: center;
    text-align: center;
  }
}


/* === STEP107: /price/ visual polish === */
body.page-price .container {
  max-width: 1180px;
  padding: 42px 24px 68px;
}

.page-header {
  min-height: 28vh;
  border-bottom: 1px solid rgba(107, 208, 140, 0.12);
}

.page-header__inner {
  max-width: 760px;
  padding: 52px 24px 46px;
}

.page-header h1 {
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.page-header p {
  max-width: 720px;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(230, 242, 234, 0.84);
}

.featured-story {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  margin-bottom: 34px;
  border-radius: 22px;
  border-color: rgba(107, 208, 140, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.featured-story__image {
  min-height: 320px;
  height: 100%;
}

.featured-story__content {
  padding: 32px 34px;
  gap: 14px;
}

.featured-story__badge {
  margin-bottom: 0;
  padding: 7px 14px;
  background: rgba(107, 208, 140, 0.16);
}

.featured-story__title {
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 0;
}

.featured-story__excerpt {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  padding-top: 2px;
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 0;
}

.section-header p {
  font-size: 16px;
  max-width: 62ch;
}

body.page-price .story-search-bar,
.price-filters {
  background: linear-gradient(180deg, rgba(15, 35, 28, 0.96), rgba(10, 24, 19, 0.96));
  border: 1px solid rgba(107, 208, 140, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  border-radius: 18px;
}

body.page-price .story-search-bar {
  margin: 0 0 10px;
  padding: 14px 16px 12px;
  gap: 0.45rem;
}

body.page-price .story-search-bar label {
  font-size: 0.98rem;
  letter-spacing: 0.005em;
}

body.page-price .story-search-bar input[type="search"] {
  max-width: none;
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 14, 10, 0.72);
}

body.page-price .story-search-hint {
  font-size: 0.84rem;
}

.price-filters {
  position: static;
  margin: 0 0 12px;
  padding: 14px 16px;
}

.price-filters__label {
  margin-right: 6px;
}

.price-filters__count {
  font-size: 0.84rem;
}

.price-filters__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.price-filter-btn {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.045);
}

body.page-price .stories-grid {
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.page-price .stories-grid .vbk-card {
  border-radius: 18px;
  border: 1px solid rgba(107, 208, 140, 0.12);
  background: linear-gradient(180deg, rgba(18, 45, 35, 0.98), rgba(12, 28, 22, 0.98));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

body.page-price .stories-grid .vbk-card:hover {
  transform: translateY(-4px);
}

body.page-price .stories-grid .vbk-card img {
  height: 172px;
  border-radius: 0 !important;
}

.vbk-card__body {
  padding: 16px 16px 18px;
  gap: 10px;
}

.vbk-card__title {
  font-size: 17px;
  line-height: 1.35;
  color: #dff3e5;
}

.vbk-card__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(230, 242, 234, 0.78);
}

.pagination {
  margin-top: 30px;
  gap: 10px;
}

.pagination__item {
  min-width: 38px;
  padding: 8px 12px;
  background: rgba(11, 29, 20, 0.96);
}

body.page-price .stories-loading,
body.page-price .story-search-empty {
  margin: 0.2rem 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .featured-story {
    grid-template-columns: 1fr;
  }

  .featured-story__image {
    min-height: 270px;
  }

  body.page-price .stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.page-price .container {
    padding: 28px 16px 56px;
  }

  .page-header__inner {
    padding: 42px 18px 36px;
  }

  .featured-story {
    border-radius: 18px;
  }

  .featured-story__content {
    padding: 22px 20px;
  }

  body.page-price .story-search-bar,
  .price-filters {
    padding: 12px;
    border-radius: 15px;
  }

  .price-filters__buttons {
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  body.page-price .stories-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.page-price .stories-grid .vbk-card img {
    height: 180px;
  }

  .pagination {
    flex-wrap: wrap;
  }
}
