@charset "UTF-8";
/* ==========================================================================
   Hero Component — Consolidated
   2 variants (image / gradient) × 3 sizes (full / medium / compact)
   ========================================================================== */
/* --------------------------------------------------------------------------
   Animations (GPU-accelerated: transform + opacity only)
   -------------------------------------------------------------------------- */
@keyframes heroFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroSubtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroImageZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}
/* --------------------------------------------------------------------------
   Base — .hero (shared by both variants)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Title / Subtitle / Meta (BEM children)
   -------------------------------------------------------------------------- */
.hero__title {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  animation: heroFadeSlideUp 0.6s ease-out both;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 56ch;
  animation: heroSubtitleFadeIn 0.6s ease-out 0.15s both;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  animation: heroSubtitleFadeIn 0.6s ease-out 0.25s both;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta i {
  color: var(--accent, #f47920);
}

.hero__meta a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
}

.hero__meta a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* --------------------------------------------------------------------------
   Search form (homepage only)
   -------------------------------------------------------------------------- */
.hero__search {
  animation: heroSubtitleFadeIn 0.6s ease-out 0.3s both;
}

/* --------------------------------------------------------------------------
   Variant A: Image hero  (.hero--image)
   -------------------------------------------------------------------------- */
.hero--image {
  background: linear-gradient(to bottom, rgba(30, 58, 95, 0.75) 0%, rgba(30, 58, 95, 0.4) 40%, rgba(30, 58, 95, 0.6) 100%);
}

/* Background image element */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  animation: heroImageZoom 8s ease-out both;
}

/* Wrapper needed for overflow: hidden + picture child */
.hero__bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero__bg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroImageZoom 8s ease-out both;
}

/* --------------------------------------------------------------------------
   Variant B: Gradient hero  (.hero--gradient)
   -------------------------------------------------------------------------- */
.hero--gradient {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  position: relative;
}

/* Editorial finish — a fine terracotta rule at the bottom signals the
   transition into page content without the gradient feeling like a hard cut */
.hero--gradient::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--terracotta);
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   Size: Full  (.hero--full) — Homepage only
   Desktop 480px / Mobile 360px
   -------------------------------------------------------------------------- */
.hero--full {
  min-height: 480px;
  padding: 100px 20px 60px;
}

/* --------------------------------------------------------------------------
   Size: Medium  (.hero--medium) — Index pages, About, FAQ
   Desktop 320px / Mobile 240px
   -------------------------------------------------------------------------- */
.hero--medium {
  min-height: 320px;
  padding: 100px 20px 40px;
}

/* --------------------------------------------------------------------------
   Size: Compact  (.hero--compact) — Ad list, Contact, Legal
   Desktop 200px / Mobile 160px
   -------------------------------------------------------------------------- */
.hero--compact {
  min-height: 200px;
  padding: 100px 20px 30px;
}

.hero--compact .hero__title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.hero--compact .hero__subtitle {
  font-size: 1rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Medium-specific title sizing
   -------------------------------------------------------------------------- */
.hero--medium .hero__title {
  font-size: 2.25rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero--medium .hero__subtitle {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Article show — image via inline style (no <picture>)
   Container-scoped content for left-aligned meta
   -------------------------------------------------------------------------- */
.hero--article-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: flex-start;
  text-align: left;
}

.hero--article-image .hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero--article-image .hero__title {
  max-width: 900px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero--article-image .hero__meta {
  justify-content: flex-start;
}

.hero--article-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 58, 95, 0.7), rgba(30, 58, 95, 0.85));
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (768px – 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero--medium .hero__title {
    font-size: 1.9rem;
  }
}
/* --------------------------------------------------------------------------
   Responsive: Mobile (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero--full {
    min-height: 360px;
    padding: 80px 20px 40px;
  }
  .hero--full .hero__title {
    font-size: 1.6rem;
  }
  .hero--full .hero__subtitle {
    font-size: 1rem;
  }
  .hero--medium {
    min-height: 240px;
    padding: 80px 20px 30px;
  }
  .hero--medium .hero__title {
    font-size: 1.6rem;
  }
  .hero--medium .hero__subtitle {
    font-size: 1rem;
  }
  .hero--compact {
    min-height: 160px;
    padding: 80px 16px 24px;
  }
  .hero--compact .hero__title {
    font-size: 1.5rem;
  }
  .hero--compact .hero__subtitle {
    font-size: 0.9rem;
  }
  .hero__meta {
    gap: 1rem;
    font-size: 0.85rem;
  }
  .hero--article-image {
    min-height: 280px;
  }
  .hero--article-image .hero__title {
    font-size: 1.5rem;
  }
}
/* --------------------------------------------------------------------------
   Responsive: Small mobile (< 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero--full {
    min-height: 320px;
  }
  .hero--full .hero__title {
    font-size: 1.4rem;
  }
  .hero--medium {
    min-height: 200px;
  }
  .hero--medium .hero__title {
    font-size: 1.4rem;
  }
  .hero--medium .hero__subtitle {
    font-size: 0.95rem;
  }
  .hero--compact {
    min-height: 140px;
  }
  .hero--compact .hero__title {
    font-size: 1.25rem;
  }
  .hero--article-image {
    min-height: 250px;
  }
  .hero--article-image .hero__title {
    font-size: 1.25rem;
  }
  .hero__meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .hero--article-image .hero__meta {
    align-items: flex-start;
  }
}
/* --------------------------------------------------------------------------
   Accessibility: prefers-reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .hero__subtitle,
  .hero__meta,
  .hero__search,
  .hero__bg,
  .hero__bg-wrap img {
    animation: none !important;
  }
}
/* --------------------------------------------------------------------------
   Print: hide hero entirely
   -------------------------------------------------------------------------- */
@media print {
  .hero {
    display: none;
  }
}
/* ==========================================================================
   Listing Band — slim editorial band for listing/index pages
   Cream surface · left-aligned editorial title · optional right-aligned
   tabular counter · breadcrumb · terracotta accent rule.
   ========================================================================== */
.listing-band {
  background: var(--cream);
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

.listing-band::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: var(--terracotta);
}

/* ----- Breadcrumb row --------------------------------------------------- */
.listing-band__breadcrumb {
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.listing-band__breadcrumb a {
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.2s ease;
}

.listing-band__breadcrumb a:hover {
  color: var(--terracotta);
}

.listing-band__sep {
  margin: 0 10px;
  color: var(--hairline-strong);
}

.listing-band__current {
  color: var(--ink);
}

/* ----- Head row (title + counter) -------------------------------------- */
.listing-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
}

.listing-band__text {
  flex: 1;
  min-width: 0;
}

.listing-band__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.listing-band__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.listing-band__subtitle {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  color: var(--taupe);
  max-width: 56ch;
}

/* ----- Counter (right-aligned tabular number) -------------------------- */
.listing-band__counter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.listing-band__counter-num {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  color: var(--terracotta);
  font-weight: 500;
}

.listing-band__counter-label {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ----- Responsive ------------------------------------------------------- */
@media (max-width: 768px) {
  .listing-band__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .listing-band__counter {
    flex-direction: row;
    align-items: baseline;
    text-align: left;
    gap: 10px;
    padding-bottom: 0;
  }
  .listing-band__counter-num {
    font-size: 1.6rem;
  }
  .listing-band__counter-label {
    margin-top: 0;
  }
  .listing-band__breadcrumb {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }
  .listing-band__sep {
    margin: 0 8px;
  }
}
/* ==========================================================================
   Accordion — single shared component (Sprint 2)
   Canonical class names: .accordion / .accordion-item / .accordion-summary /
   .accordion-content. Used on /oglasi FAQ, homepage FAQ, anywhere a Q&A
   accordion is needed. Style guide demonstrates this exact component.

   Why one component, not per-page CSS:
   - Single source of truth — change tokens here, every accordion follows.
   - No drift between pages.
   - Style guide can document one canonical class set.

   Native <details>/<summary> for SEO + a11y; first item may carry `open`
   to surface content above the fold.
   ========================================================================== */
.accordion {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}

/* Modifier — full-width inside a sidebar or wider container */
.accordion--full {
  max-width: none;
  margin: 0;
}

.accordion-item {
  border-bottom: 1px solid var(--hairline);
}

.accordion-summary {
  list-style: none;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.2s;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--terracotta);
  transition: color 0.2s, transform 0.2s;
}

.accordion-item:hover .accordion-summary {
  color: var(--terracotta);
}

.accordion-item[open] .accordion-summary::after {
  content: "−";
}

.accordion-content {
  padding: 0 0 24px;
  max-width: 65ch;
}

.accordion-content p {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.82;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

.accordion-content a {
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}

.accordion-content a:hover {
  color: var(--terracotta-d);
}

/* Optional title above an accordion section */
.accordion-section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--cream);
  border-top: 1px solid var(--hairline);
}

.accordion-section__title {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: var(--ink);
}

/* Compact variant — for sidebars or denser contexts */
.accordion--compact .accordion-summary {
  padding: 16px 0;
  font-size: 1rem;
}

.accordion--compact .accordion-summary::after {
  font-size: 1.3rem;
  width: 20px;
  height: 20px;
}

.accordion--compact .accordion-content {
  padding-bottom: 18px;
}

.accordion--compact .accordion-content p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Section composition — eyebrow + title + subtitle (Sprint 2)
   Shared across every page: replaces .section-title, .section-subtitle,
   .section-label, .section-header, .section-eyebrow that used to live in
   app.css, homepage-seo.css, neighborhoods.css, contact.css, investors.css.
   Canonical home is HERE. Don't redefine these in page CSS.
   ========================================================================== */
.section-eyebrow,
.section-label {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.section-eyebrow--terra,
.section-label--terra {
  color: var(--terracotta);
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  color: var(--ink);
  text-align: left;
}

.section-title em {
  font-style: italic;
  color: var(--terracotta);
}

/* Smaller variant — for sidebars or denser layouts */
.section-title--sm {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 14px;
}

/* Centered modifier — used on /naselja, calculator, etc. */
.section-title--center {
  text-align: center;
}

.section-subtitle {
  margin: 0 auto 36px;
  max-width: 65ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.78;
  text-align: left;
}

.section-subtitle--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Section header wrapper — eyebrow + title + subtitle stacked */
.section-header {
  margin-bottom: clamp(28px, 4vw, 48px);
}

/* Bare <h2> inside .section-header inherits canonical .section-title look —
   tako templati ne moraju da pišu class="section-title" na svakom h2-u. */
.section-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  color: var(--ink);
}

.section-header h2 em {
  font-style: italic;
  color: var(--terracotta);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-title,
.section-header--center .section-subtitle,
.section-header--center h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Ads grid — shared layout component (Sprint 2)
   Used on homepage, /oglasi, /naselja, /agencije, anywhere a grid of ad
   or content cards is rendered. Default: responsive auto-fill with 280px
   min track. Modifiers force fixed column counts when needed.

   Canonical home is HERE. Page CSS may only override gap/margin in
   context-specific situations; never grid-template-columns.
   ========================================================================== */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

/* Fixed 3-column variant — used on /oglasi where the map sidebar sits
   next to the grid and we want predictable card width */
.ads-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* Fixed 4-column variant — denser layouts (related ads, neighborhoods grid) */
.ads-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* Tight gap variant — used when grid sits inside a constrained container */
.ads-grid--tight {
  gap: clamp(12px, 1.5vw, 20px);
}

@media (max-width: 960px) {
  .ads-grid--4col {
    grid-template-columns: repeat(3, 1fr);
  }
  .ads-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .ads-grid,
  .ads-grid--3col,
  .ads-grid--4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .ads-grid,
  .ads-grid--3col,
  .ads-grid--4col {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Sidebar card — shared sidebar/aside container (Sprint 2)
   Used on agency-show, articles, calculator, my-ads, neighborhoods, anywhere
   the layout needs a quiet bordered panel in a sidebar column.

   Canonical home is HERE. Pages may add CONTEXT padding/margin via wrapping,
   not redefine the surface/border treatment.
   ========================================================================== */
.sidebar-card {
  background: var(--warm-white);
  border: 1px solid var(--hairline-strong);
  border-radius: 0;
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: none;
}

/* Stickier on desktop — used when sidebar should follow scroll */
.sidebar-card--sticky {
  position: sticky;
  top: 96px;
}

@media (max-width: 960px) {
  .sidebar-card--sticky {
    position: static;
    top: auto;
  }
}
/* Filled / dark variant — used for prominent callouts */
.sidebar-card--ink {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.sidebar-card--ink :where(h2, h3, h4) {
  color: var(--cream);
}

.sidebar-card--ink :where(p, li) {
  color: var(--cream);
  opacity: 0.85;
}

/* Header inside sidebar-card */
.sidebar-card__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.3;
  color: inherit;
}

.sidebar-card__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.sidebar-card--ink .sidebar-card__eyebrow {
  color: var(--cream);
  opacity: 0.7;
}

/* Hairline separator inside the card */
.sidebar-card__divider {
  display: block;
  height: 1px;
  margin: 18px 0;
  background: var(--hairline);
}

.sidebar-card--ink .sidebar-card__divider {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   CTA — shared call-to-action block (Sprint 2)
   Replaces .cta-section, .cta-card, .cta-content, .cta-buttons that lived
   independently in about.css, agencies.css, buy-vs-rent.css, homepage-seo.css,
   neighborhoods.css. Canonical home is HERE.

   Two variants:
   - .cta-section (default): full-width ink slab band with cream type and a
     centered terracotta caps button.
   - .cta-section--paper: lighter alternative — paper surface with hairline
     border, ink type, terracotta button. For use mid-page when an ink slab
     would feel heavy.
   ========================================================================== */
.cta-section {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(56px, 7vw, 96px) 0;
  text-align: center;
}

.cta-section--paper {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.cta-section__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-section__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
}

.cta-section--paper .cta-section__eyebrow {
  color: var(--taupe);
  opacity: 1;
}

.cta-section__title,
.cta-section h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.1;
  color: inherit;
}

.cta-section__deck,
.cta-section p {
  margin: 0 auto 28px;
  max-width: 65ch;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: inherit;
  opacity: 0.85;
}

.cta-section--paper .cta-section__deck,
.cta-section--paper p {
  opacity: 1;
}

/* Button / action row */
.cta-section__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 560px) {
  .cta-section__actions {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .cta-section__actions .cta-section__btn,
  .cta-section__actions .btn {
    width: 100%;
  }
}
.cta-section .btn,
.cta-section__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--terracotta);
  color: var(--warm-white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cta-section .btn:hover,
.cta-section__btn:hover {
  background: var(--terracotta-d);
  filter: none;
}

/* Outline secondary on dark slab */
.cta-section__btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}

.cta-section__btn--outline:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.cta-section--paper .cta-section__btn--outline {
  color: var(--ink);
  border-color: var(--ink);
}

.cta-section--paper .cta-section__btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
}

/* ==========================================================================
   Ad card — shared listing component (Sprint 2 Faza B)
   Used on /oglasi, homepage featured ads, agency profile, neighborhood
   detail, related ads section — every place a real-estate listing card
   appears. One source of truth.
   ========================================================================== */
.ad-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.ad-card:hover {
  transform: translateY(-3px);
}

.ad-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

/* ----- Image (4:3) ----------------------------------------------------- */
.ad-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--paper);
  border-radius: 0;
}

.ad-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ad-card:hover .ad-card-image img {
  transform: scale(1.04);
}

.ad-card-image .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--hairline-strong);
  font-size: 2.5rem;
}

/* ----- Badges + image count overlay ----------------------------------- */
.ad-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.ad-badge {
  padding: 5px 12px;
  background: rgba(28, 22, 18, 0.75);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ad-badge-featured {
  background: var(--terracotta);
}

.image-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(28, 22, 18, 0.75);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  border-radius: 0;
}

/* ----- Content --------------------------------------------------------- */
.ad-card-content {
  padding: 0;
}

.ad-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

.ad-card-type i,
.ad-card-location i {
  margin-right: 4px;
  color: var(--terracotta);
}

.ad-card-header > span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--hairline-strong);
}

.ad-card-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
}

.ad-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--taupe);
}

.ad-card-details .detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ad-card-details .detail i {
  color: var(--hairline-strong);
  font-size: 0.85rem;
}

.ad-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.ad-card-price {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--terracotta);
}

.ad-card-price small {
  font-size: 0.7rem;
  color: var(--taupe);
  margin-left: 4px;
  font-feature-settings: normal;
}

.ad-card-price-sqm {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--taupe);
}

/* ----- Mobile fine-tuning ---------------------------------------------- */
@media (max-width: 720px) {
  .ad-card-title {
    font-size: 0.98rem;
  }
  .ad-card-price {
    font-size: 1rem;
  }
}
/* ==========================================================================
   Stat strip — shared statistic display component (Sprint 2 Faza B)
   Two patterns:
   1. .stat-strip + .stat-item (typographic strip, e.g. homepage hero stats,
      /naselja index stats, /o-nama stats)
   2. .stat-box (older card variant — kept for back-compat, marked legacy
      in modifier --legacy)

   Canonical classes:
   - .stat-strip  (container with hairline dividers)
   - .stat-item   (single column)
   - .stat-number (big tabular figure)
   - .stat-label  (caps tracking label)
   - .stat-icon   (outlined terracotta icon)
   - .stat-item--feature variant (icon + label group)
   ========================================================================== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 28px 22px;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.2s;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--hairline);
}

.stat-item:hover {
  background: var(--warm-white);
  transform: none;
  box-shadow: none;
}

.stat-number,
.stat-value {
  margin: 0;
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--ink);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* Outlined icon — uses terracotta ring + accent */
.stat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--terracotta);
  font-size: 0.95rem;
}

/* Feature variant — used on homepage stats for "Besplatno / Verifikovani" */
.stat-item--feature {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-left: 36px;
  padding-right: 36px;
}

.stat-item--feature .stat-icon {
  margin-bottom: 0;
}

.stat-label-group {
  min-width: 0;
}

.stat-feature-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.25;
}

.stat-feature-sub {
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--taupe);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2n+1) {
    border-left: none;
  }
  .stat-item:nth-child(n+3) {
    border-top: 1px solid var(--hairline);
  }
}
/* ==========================================================================
   Page section — shared container for static page chrome (Sprint 2 Faza B)
   Used on about, calculator, agencies, prices, buy-vs-rent, etc. Replaces
   four independent .page-section definitions.

   Patterns:
   - .page-section          default warm-white band with hairline divider
   - .page-section--cream   alternating band
   - .page-section--ink     dark slab (used by calculator result, hero,
                            sticky CTAs)
   - .page-section--narrow  narrows max-width to 720px for prose
   ========================================================================== */
.page-section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--hairline);
}

.page-section:last-child {
  border-bottom: none;
}

.page-section--cream {
  background: var(--cream);
}

.page-section--paper {
  background: var(--paper);
}

.page-section--ink {
  background: var(--ink);
  color: var(--cream);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page-section--ink :where(h1, h2, h3, h4) {
  color: var(--cream);
}

.page-section--ink :where(p, li) {
  color: var(--cream);
  opacity: 0.85;
}

/* Narrow inner column — for long-form prose */
.page-section--narrow .container,
.page-section__narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* Compact spacing — when stacked in a dense layout */
.page-section--compact {
  padding: clamp(28px, 4vw, 48px) 0;
}

/* ==========================================================================
   Related card — shared compact card for "Slični oglasi", "Slični članci",
   author-other-articles, etc. (Sprint 2 Faza B)

   Variant of ad-card optimized for sidebar/related lists: square image,
   caps eyebrow, Cormorant Garamond title, terracotta tabular price.
   ========================================================================== */
.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.related-card:hover {
  transform: translateY(-3px);
}

.related-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 18px;
}

.related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.related-card:hover .related-card__image img {
  transform: scale(1.04);
}

.related-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hairline-strong);
  font-size: 2rem;
}

.related-card__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.related-card__eyebrow .dot {
  margin: 0 8px;
  color: var(--hairline-strong);
}

.related-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
}

.related-card__price {
  margin: 0;
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  color: var(--terracotta);
}

/* Container — "Slični oglasi" wrapper section */
.related-section {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(48px, 5vw, 64px);
  border-top: 1px solid var(--hairline);
}

.related-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: 24px;
}

@media (max-width: 900px) {
  .related-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .related-section__grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Buttons — shared component (Sprint 2 Faza C)
   Replaces .btn / .btn-primary / .btn-outline / .btn-outline-dark /
   .btn-outline-light / .btn-secondary / .btn-danger / .btn-sm / .btn-lg /
   .btn-block that used to live in app.css and per-page CSS files.

   Editorial defaults:
   - .btn         base reset, inline-flex, transition
   - .btn-primary terracotta filled (CTA)
   - .btn-outline ink border, transparent fill (secondary)
   - .btn-ghost   text-only with terracotta underline
   - .btn-danger  red for destructive actions
   Sizes: --sm (compact), --lg (hero CTA), --block (full width)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 11px 22px;
  border-radius: 4px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn i {
  font-size: 0.95em;
}

/* ----- Variants -------------------------------------------------------- */
.btn-primary {
  background: var(--terracotta);
  color: var(--warm-white);
}

.btn-primary:hover {
  background: var(--terracotta-d);
  filter: none;
  color: var(--warm-white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Light outline — for use on dark backgrounds (hero overlays, ink slabs) */
.btn-outline-light {
  background: transparent;
  border: 1px solid var(--cream);
  color: var(--cream);
}

.btn-outline-light:hover {
  background: var(--cream);
  color: var(--ink);
}

/* Dark outline — alias of .btn-outline kept for back-compat in templates */
.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Outline primary (terracotta) — for soft CTA on cream backgrounds */
.btn-outline-primary {
  background: transparent;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
}

.btn-outline-primary:hover {
  background: var(--terracotta);
  color: var(--warm-white);
}

/* Ghost / text link — no border, just terracotta underline */
.btn-ghost {
  padding: 8px 0;
  background: transparent;
  color: var(--terracotta);
  border: none;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}

.btn-ghost:hover {
  color: var(--terracotta-d);
}

/* Secondary — neutral, used on filled CTA contexts */
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Destructive */
.btn-danger {
  background: #B85044;
  color: var(--cream);
}

.btn-danger:hover {
  background: #8E3D34;
  color: var(--cream);
}

.btn-outline-danger {
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--taupe);
}

.btn-outline-danger:hover {
  background: #B85044;
  color: var(--cream);
  border-color: #B85044;
}

/* ----- Sizes ----------------------------------------------------------- */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Caps-tracked variant — for primary CTAs that want uppercase */
.btn-caps {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

/* Disabled state — works on every variant */
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Form — shared form widget styling (Sprint 2 Faza C)
   Canonical home for .form-group, .form-row, .form-section, .form-actions,
   .form-help, .form-control, .form-label, plus native input/textarea/select
   restyle. Replaces fragmented copies in app.css, my-ads.css, contact.css,
   investors.css, editorial-static.css.
   ========================================================================== */
/* ----- Layout primitives ---------------------------------------------- */
.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 640px) {
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}
.form-section {
  margin-bottom: 32px;
}

.form-section + .form-section {
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

/* ----- Labels --------------------------------------------------------- */
.form-label,
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.form-label--required::after,
.form-group label.required::after {
  content: " *";
  color: var(--terracotta);
}

/* ----- Inputs --------------------------------------------------------- */
.form-control,
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=password],
.form-group input[type=tel],
.form-group input[type=number],
.form-group input[type=search],
.form-group input[type=url],
.form-group input[type=date],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 117, 92, 0.15);
}

.form-control::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--taupe);
  opacity: 0.6;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Select with custom caret */
.form-control[type=select],
.form-group select {
  padding-right: 38px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A6E64' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ----- Canonical select component ------------------------------------- */
/* Surfaced in style-guide as "Inputs & selects". Used by filter bar,
   sort dropdowns, and any standalone <select> outside .form-group.
   Page-specific CSS may override padding/height for grid alignment but
   never re-define appearance/caret/colors. */
.sort-select {
  padding: 8px 30px 8px 12px;
  background-color: var(--cream);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A6E64' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sort-select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 117, 92, 0.15);
}

.sort-select:disabled {
  background-color: var(--paper);
  color: var(--taupe);
  cursor: not-allowed;
}

/* ----- Helpers -------------------------------------------------------- */
.form-help,
.form-text {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--taupe);
  line-height: 1.5;
}

/* ----- Validation states ---------------------------------------------- */
.form-group.has-error .form-control,
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select,
.form-control.is-invalid,
.is-invalid {
  border-color: #B85044;
}

.form-group.has-error .form-control:focus,
.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(184, 80, 68, 0.15);
}

.invalid-feedback,
.form-error {
  display: block;
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #B85044;
}

/* ----- Native checkbox + radio refinement ----------------------------- */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.form-check-input,
.form-group input[type=checkbox],
.form-group input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  background: var(--warm-white);
  border: 1px solid var(--hairline-strong);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background-color 0.15s;
}

.form-check-input[type=checkbox],
.form-group input[type=checkbox] {
  border-radius: 3px;
}

.form-check-input[type=radio],
.form-group input[type=radio] {
  border-radius: 50%;
}

.form-check-input:checked,
.form-group input[type=checkbox]:checked,
.form-group input[type=radio]:checked {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.form-check-input[type=checkbox]:checked::after,
.form-group input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--warm-white);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.form-check-input[type=radio]:checked::after,
.form-group input[type=radio]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--warm-white);
  border-radius: 50%;
}

.form-check-label {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Honeypot — accessibility-friendly anti-spam field.
   Visually hidden ali NE `display:none` (botovi često skipuju display:none).
   Canonical home za sve forme sa anti-spam-om (contact, investors, security,
   comments). Ne duplikovati u page CSS — koristi ovu klasu direktno. */
.honeypot-field {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ==========================================================================
   Alerts — shared inline flash / validation feedback (Sprint 2 Faza C)
   Canonical home for .alert + variants. Replaces fragmented copies in
   my-ads.css, contact.css, investors.css, editorial-static.css.

   Variants:
   - .alert / .alert-info     paper background with taupe left rule (neutral)
   - .alert-success            paper background with navy left rule
   - .alert-danger / -error    terracotta-tinted with terracotta left rule
   - .alert-warning            warm-white with taupe italic
   ========================================================================== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 4px;
  border: 1px solid var(--hairline-strong);
  border-left: 2px solid var(--taupe);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.alert i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--taupe);
  font-size: 1rem;
}

.alert strong {
  font-weight: 600;
}

.alert a {
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.alert a:hover {
  color: var(--terracotta-d);
}

/* ----- Variants -------------------------------------------------------- */
.alert-success {
  background: var(--paper);
  border-color: var(--hairline-strong);
  border-left-color: var(--navy);
  color: var(--ink);
}

.alert-success i {
  color: var(--navy);
}

.alert-danger,
.alert-error {
  background: rgba(184, 117, 92, 0.08);
  border-color: rgba(184, 117, 92, 0.3);
  border-left-color: var(--terracotta);
  color: var(--terracotta-d);
}

.alert-danger i,
.alert-error i {
  color: var(--terracotta);
}

.alert-warning {
  background: var(--warm-white);
  border-color: var(--hairline-strong);
  border-left-color: var(--taupe);
  color: var(--ink);
  font-style: italic;
}

.alert-info {
  background: var(--warm-white);
  border-color: var(--hairline-strong);
  border-left-color: var(--taupe);
  color: var(--ink);
}

/* ----- Dismissible variant (with close button) ------------------------ */
.alert--dismissible {
  padding-right: 44px;
  position: relative;
}

.alert__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--taupe);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 2px;
  transition: color 0.2s, background-color 0.2s;
}

.alert__close:hover {
  color: var(--ink);
  background: var(--hairline);
}

/* ==========================================================================
   Pagination — shared listing pager (Sprint 2 Faza D)
   Canonical home: replaces fragmented pagination CSS in ad-list.css,
   agency-show.css, my-ads.css.

   Structure:
   .pagination-wrapper > .pagination (ul) > li > a/span
   plus .pagination-info caption underneath
   ========================================================================== */
.pagination-wrapper {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.pagination-wrapper .pagination {
  display: inline-flex;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-wrapper .pagination li,
.pagination-wrapper .pagination span {
  display: inline-block;
}

.pagination-wrapper .pagination li a,
.pagination-wrapper .pagination li span,
.pagination-wrapper .pagination span a,
.pagination-wrapper .pagination span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pagination-wrapper .pagination li a:hover,
.pagination-wrapper .pagination span a:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* KnpPaginator emits .current for the active page */
.pagination-wrapper .pagination li.active span,
.pagination-wrapper .pagination li.current span,
.pagination-wrapper .pagination span.current {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  cursor: default;
  pointer-events: none;
}

/* Disabled page item */
.pagination-wrapper .pagination li.disabled span,
.pagination-wrapper .pagination .disabled,
.pagination-wrapper .pagination span.disabled {
  color: var(--hairline-strong);
  border-color: var(--hairline);
  cursor: not-allowed;
  pointer-events: none;
}

/* Caption below the pager */
.pagination-info {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--taupe);
}

.pagination-info strong {
  color: var(--ink);
  font-weight: 500;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .pagination-wrapper .pagination li a,
  .pagination-wrapper .pagination li span,
  .pagination-wrapper .pagination span a,
  .pagination-wrapper .pagination span.current {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
    padding: 0 8px;
  }
}
/* ==========================================================================
   Breadcrumb — shared editorial breadcrumb (Sprint 2 Faza D)
   Canonical home: replaces .breadcrumb-section in app.css and the editorial
   override in ad-show.css. Used on every detail page (ad show, neighborhood
   show, article show, agency show, category, author).

   Visual: cream surface, caps tracking 0.16em, middle-dot separator,
   taupe color → terracotta on hover, ink for the active page.
   ========================================================================== */
.breadcrumb-section {
  background: var(--cream);
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item,
.breadcrumb-item a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: var(--terracotta);
}

.breadcrumb-item.active {
  color: var(--ink);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "·";
  padding: 0 8px;
  color: var(--hairline-strong);
}

/* ==========================================================================
   Empty state — shared "nothing here" / "no results" placeholder
   (Sprint 2 Faza D)

   Canonical home for:
   - .no-results        (search returned nothing, list page is empty)
   - .empty-state       (alias used in some templates — same styling)
   - .no-image          (image-not-uploaded placeholder, used inside cards)

   Replaces duplicate definitions in ad-list.css, agency-show.css, faq.css.
   ========================================================================== */
.no-results,
.empty-state {
  padding: clamp(48px, 6vw, 80px) 24px;
  text-align: center;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.no-results i,
.empty-state i {
  display: block;
  margin: 0 auto 18px;
  font-size: 2.5rem;
  color: var(--hairline-strong);
}

.no-results h3,
.empty-state h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.no-results p,
.empty-state p {
  margin: 0 auto 24px;
  max-width: 50ch;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--taupe);
}

.no-results .btn:last-child,
.empty-state .btn:last-child {
  margin-bottom: 0;
}

/* Compact variant — used inside cards, sidebars */
.no-results--compact,
.empty-state--compact {
  padding: clamp(28px, 4vw, 48px) 18px;
}

.no-results--compact i,
.empty-state--compact i {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.no-results--compact h3,
.empty-state--compact h3 {
  font-size: 1.1rem;
}

.no-results--compact p,
.empty-state--compact p {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* ----- .no-image (image placeholder inside cards) --------------------- */
.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--paper);
  color: var(--hairline-strong);
  font-size: 2rem;
}

/* ==========================================================================
   Feature card — editorial card for "type cards" patterns.
   Replaces ad-hoc .price-type-card, .rent-card, .factor-card that lived in
   per-page CSS. Single canonical home.

   Anatomy (all parts optional):
     .feature-card
       .feature-card__icon        — outlined terracotta circle, ~36px
       .feature-card__eyebrow     — caps tracking label (taupe)
       .feature-card__title       — Cormorant Garamond, ink
       .feature-card__accent      — large terracotta tabular number (price, %)
       .feature-card__sub         — small descriptive line (taupe)
       .feature-card__divider     — hairline (auto-rendered if details present)
       .feature-card__details     — dl/dt-dd list for fine-grained data
       .feature-card__body        — paragraph copy

   Variants:
     .feature-card--paper         — paper surface (slightly deeper than cream)
     .feature-card--ink           — ink slab with cream type
     .feature-card--compact       — tighter padding for grid density
   ========================================================================== */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 26px;
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--hairline-strong);
}

.feature-card--paper {
  background: var(--paper);
}

.feature-card--ink {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.feature-card--compact {
  padding: 24px 22px;
}

/* --- Icon -------------------------------------------------------------- */
.feature-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--terracotta);
  font-size: 1rem;
  margin-bottom: 18px;
}

.feature-card--ink .feature-card__icon {
  border-color: rgba(250, 248, 244, 0.3);
  color: var(--cream);
}

/* --- Eyebrow ----------------------------------------------------------- */
.feature-card__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.feature-card--ink .feature-card__eyebrow {
  color: rgba(250, 248, 244, 0.7);
}

/* --- Title ------------------------------------------------------------- */
.feature-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
}

.feature-card--ink .feature-card__title {
  color: var(--cream);
}

/* --- Accent (big price / percent) -------------------------------------- */
.feature-card__accent {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--terracotta);
  overflow-wrap: break-word;
  word-break: keep-all;
}

.feature-card__accent-unit {
  font-family: var(--font-body);
  font-size: 0.5em;
  font-weight: 400;
  font-feature-settings: normal;
  color: var(--taupe);
  margin-left: 4px;
  letter-spacing: 0;
}

/* --- Sub line ---------------------------------------------------------- */
.feature-card__sub {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--taupe);
}

.feature-card__sub:last-child {
  margin-bottom: 0;
}

.feature-card--ink .feature-card__sub {
  color: rgba(250, 248, 244, 0.75);
}

/* --- Body paragraph ---------------------------------------------------- */
.feature-card__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 38ch;
}

.feature-card--ink .feature-card__body {
  color: rgba(250, 248, 244, 0.85);
}

/* --- Divider ----------------------------------------------------------- */
.feature-card__divider {
  height: 1px;
  background: var(--hairline);
  border: none;
  margin: 0 0 16px;
}

.feature-card--ink .feature-card__divider {
  background: rgba(250, 248, 244, 0.15);
}

/* --- Details dl -------------------------------------------------------- */
.feature-card__details {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 14px;
  row-gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.4;
}

.feature-card__details dt {
  color: var(--taupe);
  font-weight: 400;
  white-space: nowrap;
}

.feature-card__details dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-weight: 500;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.feature-card--ink .feature-card__details dt {
  color: rgba(250, 248, 244, 0.65);
}

.feature-card--ink .feature-card__details dd {
  color: var(--cream);
}

/* --- Grid wrapper ------------------------------------------------------ */
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 640px) {
  .feature-card {
    padding: 24px 20px;
  }
}
/* ==========================================================================
   Numbered step — editorial "1, 2, 3" step list.
   Replaces ad-hoc .tip-item / .tip-number / .tip-content patterns.

   Anatomy:
     .numbered-step-list           — flex column container, hairline dividers
       .numbered-step              — single step row
         .numbered-step__num       — large serif numeral (editorial)
         .numbered-step__content   — body block
           .numbered-step__title   — Cormorant Garamond h-level title
           .numbered-step__body    — paragraph copy
   ========================================================================== */
.numbered-step-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.numbered-step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}

.numbered-step__num {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 0.9;
  color: var(--terracotta);
  letter-spacing: -0.02em;
}

.numbered-step__content {
  min-width: 0;
}

.numbered-step__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.25;
  color: var(--ink);
}

.numbered-step__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 70ch;
}

@media (max-width: 600px) {
  .numbered-step {
    grid-template-columns: 60px 1fr;
    gap: 18px;
  }
  .numbered-step__num {
    font-size: 2.25rem;
  }
}
/* ==========================================================================
   Editorial table — for data tables (e.g. neighborhood prices, market data).
   Replaces ad-hoc .price-table with navy header bar.

   Anatomy:
     .editorial-table-wrap         — overflow-x scroll wrapper for mobile
       .editorial-table            — table element
         thead th                  — taupe caps, hairline border-bottom
         tbody td                  — tabular figures, hairline row dividers
         tbody tr:hover            — warm-white tint

   Inline cell helpers:
     .editorial-table__location    — map-pin icon + link
     .editorial-table__num         — tabular-num value (right-aligned)
     .editorial-table__trend       — colored trend with arrow

   ----------------------------------------------------------------------
   Tier badge — small pill labels (Premium / Visoka / Srednja / Pristupačna).
   Used inline in tables OR anywhere status-style label is needed.
   ========================================================================== */
.editorial-table-wrap {
  overflow-x: auto;
  margin: 0;
  border: 1px solid var(--hairline);
  background: var(--warm-white);
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}

.editorial-table thead th {
  padding: 16px 20px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: left;
  border-bottom: 1px solid var(--hairline-strong);
  white-space: nowrap;
}

.editorial-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}

.editorial-table tbody tr:last-child td {
  border-bottom: none;
}

.editorial-table tbody tr {
  transition: background-color 0.15s ease;
}

.editorial-table tbody tr:hover {
  background: var(--cream);
}

/* Cell helpers */
.editorial-table__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.editorial-table__location:hover {
  color: var(--terracotta);
}

.editorial-table__location i {
  color: var(--terracotta);
  font-size: 0.85em;
}

.editorial-table__num {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink);
}

.editorial-table__trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.editorial-table__trend--up {
  color: #2e7d4e;
}

.editorial-table__trend--down {
  color: #b03a3a;
}

.editorial-table__trend--flat {
  color: var(--taupe);
}

/* --- Tier badge (pastel pill) ------------------------------------------ */
.tier-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
}

.tier-badge--premium {
  background: #efe7d4;
  color: #6b5a2d;
}

.tier-badge--high {
  background: #dde9d6;
  color: #3d5a31;
}

.tier-badge--medium {
  background: #d8e3ea;
  color: #2f4a59;
}

.tier-badge--affordable {
  background: #e0d9d3;
  color: #4a3f36;
}

/* Caption / note row below table */
.editorial-table__note {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--taupe);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.editorial-table__note i {
  margin-top: 3px;
  color: var(--terracotta);
}

@media (max-width: 720px) {
  .editorial-table thead th,
  .editorial-table tbody td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}
/* ==========================================================================
   Step indicator — canonical multi-step progress UI for forms i wizard flows.
   Replaces ad-hoc .step-indicator + .step-item + .step-number klase koje
   su živele u my-ads.css za /my-ads/new / edit / images.

   Anatomy:
     .step-indicator                  — container (horizontal flex row)
       .step-indicator__item          — single step (auto-grow flex 1)
         .step-indicator__num         — circle sa brojem ili check ikonom
         .step-indicator__label       — caption tekst

   Modifiers (na __item):
     --active     — trenutni korak (terracotta accent, ink label)
     --completed  — prethodni korak (terracotta filled num sa check)
     --upcoming   — budući korak (hairline num, taupe label)
   ========================================================================== */
.step-indicator {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 0 clamp(20px, 3vw, 32px);
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: 0;
}

.step-indicator__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;
  position: relative;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--taupe);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

/* Hairline divider između step-ova (osim poslednjeg) */
.step-indicator__item + .step-indicator__item {
  border-left: 1px solid var(--hairline);
}

/* --- Numeral circle ---------------------------------------------------- */
.step-indicator__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--taupe);
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.step-indicator__label {
  line-height: 1.2;
}

/* --- States ------------------------------------------------------------ */
/* Active = current step */
.step-indicator__item--active {
  color: var(--ink);
  border-bottom-color: var(--terracotta);
  background: var(--cream);
}

.step-indicator__item--active .step-indicator__num {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--warm-white);
}

/* Completed = past step */
.step-indicator__item--completed {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.step-indicator__item--completed .step-indicator__num {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--warm-white);
}

/* Upcoming = future step (default, but explicit selector for clarity) */
.step-indicator__item--upcoming {
  color: var(--taupe);
}

.step-indicator__item--upcoming .step-indicator__num {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--taupe);
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 560px) {
  .step-indicator {
    flex-direction: column;
  }
  .step-indicator__item + .step-indicator__item {
    border-left: none;
    border-top: 1px solid var(--hairline);
  }
  .step-indicator__item {
    justify-content: flex-start;
  }
}
/* ==========================================================================
   Social link — canonical monochrome outlined circle za "Pratite nas"
   bedževe. Editorial pristup umesto brand original colors (Facebook plavi,
   Instagram pink, YouTube crveni) koji razbijaju editorial paletu.

   Default: outlined hairline circle, terracotta ikona, transparent BG
   Hover:   ink filled circle, cream ikona

   Koristi se: kontakt strana (Pratite nas), footer social bar (kada se
   migrira), bilo gde gde treba ikona linka.
   ========================================================================== */
.social-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: transparent;
  color: var(--terracotta);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* Manja varijanta za inline social bar u footer-u ili kompaktnijim mestima */
.social-link--sm {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

/* Ink slab kontekst — outline u cream-u, hover terracotta filled */
.sidebar-card--ink .social-link,
.cta-section .social-link {
  border-color: rgba(250, 248, 244, 0.4);
  color: var(--cream);
}

.sidebar-card--ink .social-link:hover,
.cta-section .social-link:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--warm-white);
}

/* ==========================================================================
   Profile Tabs — canonical caps-tracked tab nav za sve user-account stranice
   (profile/index, profile/password, my-ads/index, my-ads/new, my-ads/edit).

   Editorial pattern: small caps-tracked tipografija sa hairline underline-om
   ispod active tab-a (zamenjeno staro navy filled pill stilizovanje koje
   je vizualno gušilo strukturu). Single source of truth — ne duplikovati
   ove rules po pages CSS fajlovima.
   ========================================================================== */
.profile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0;
}

.profile-nav a {
  position: relative;
  padding: 8px 0 14px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.15s;
}

.profile-nav a:hover {
  color: var(--ink);
  background: transparent;
}

.profile-nav a.active {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.profile-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--terracotta);
}

@media (max-width: 768px) {
  .profile-nav {
    gap: 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .profile-nav a {
    flex-shrink: 0;
  }
}
/* ==========================================================================
   Place card — canonical "location postcard" za naselja, gradove, resorte.

   Editorial flat chrome (warm-white BG, hairline border, no shadow, no radius).
   56px terracotta accent na top-left (deli sa .auth-card, .profile-card,
   .agency-card, .article-series — konzistentan editorial signal).

   4:3 image aspect-ratio daje "postcard" landscape feel — širi od squat
   180px fixed-height box-a koji je editorial migracija /naselja zameni.

   Grid container .place-card-grid je auto-fill minmax(280px, 1fr) — daje
   3-4 cards na desktop (1100-1400px container), 2 na tablet (600-900px),
   1 na mobile. Cards ne postaju previše uske jer 280px je MIN.

   Postavlja se na:
   - /naselja (lista svih naselja)
   - opcionalno /gradovi, /resorti, /destinacije u budućnosti
   ========================================================================== */
.place-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.place-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.3s ease;
  overflow: hidden;
}

.place-card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-3px);
}

.place-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--terracotta);
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Image area — 4:3 wide postcard, object-cover, hover zoom
   -------------------------------------------------------------------------- */
.place-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}

.place-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.place-card:hover .place-card__media img {
  transform: scale(1.04);
}

/* Placeholder when no image — diagonal hairline pattern + Cormorant initial */
.place-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

.place-card__placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 49%, var(--hairline) 49%, var(--hairline) 51%, transparent 51%);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}

.place-card__initial {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--hairline-strong);
}

/* --------------------------------------------------------------------------
   Body — title + caps meta + hairline-separated CTA footer
   -------------------------------------------------------------------------- */
.place-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.2vw, 22px);
  gap: 12px;
}

.place-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.15s;
}

.place-card:hover .place-card__title {
  color: var(--terracotta);
}

.place-card__excerpt {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.place-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.place-card__meta-item {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.place-card__meta-value {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* CTA footer — hairline top + terracotta caps link sa arrow micro-animation */
.place-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.place-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.place-card:hover .place-card__cta {
  gap: 10px;
}

.place-card__cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.place-card:hover .place-card__cta-arrow {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   Variants
   -------------------------------------------------------------------------- */
/* Compact — manja kartica, bez footer-a (npr. u sidebar-u) */
.place-card--compact .place-card__body {
  padding: 14px 16px;
  gap: 8px;
}

.place-card--compact .place-card__title {
  font-size: 1.05rem;
}

.place-card--compact .place-card__footer {
  display: none;
}

/* Wide — single column varijanta sa side-by-side image + body */
.place-card--wide {
  flex-direction: row;
  align-items: stretch;
}

.place-card--wide .place-card__media {
  flex: 0 0 40%;
  aspect-ratio: auto;
  min-height: 200px;
}

.place-card--wide .place-card__body {
  flex: 1;
}

@media (max-width: 640px) {
  .place-card--wide {
    flex-direction: column;
  }
  .place-card--wide .place-card__media {
    flex: none;
    aspect-ratio: 4/3;
    min-height: 0;
  }
}
/* ==========================================================================
   Neighborhood POIs — "Šta ima u blizini" sekcija.
   Grid kategorija sa listom objekata i vremenom pešačenja.
   Editorial flat chrome, konzistentno sa .place-card / .section-card.
   ========================================================================== */
.pois-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 16px;
}

.pois-category__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

.pois-category__title i {
  color: var(--terracotta);
  font-size: 0.9em;
  width: 18px;
  text-align: center;
}

.pois-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pois-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-body);
  color: var(--ink);
}

.pois-item:last-child {
  border-bottom: none;
}

.pois-item__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pois-item__time {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: var(--taupe);
  font-size: 0.9em;
  white-space: nowrap;
}

.pois-item__time::before {
  content: "\f554"; /* fa-person-walking */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 6px;
  font-size: 0.85em;
}

.pois-attribution {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--taupe);
}

/* ==========================================================================
   Comparison table — canonical editorial side-by-side comparison.

   Reusable za naselja, gradove, agencije, ad-listings. Pattern: metric labela
   levo, dve vrednost-kolone (A vs B) desno, hairline-separated redovi.
   Winner row ima suptilan terracotta hairline accent (umesto Bootstrap-ovog
   pastel green table-success).

   Editorial chrome: warm-white BG, hairline borders, no shadow, no radius.
   Cormorant tabular brojevi za vrednosti, caps-tracked labele za metrike.

   Koristi se na:
   - /naselja/poredi (Durlan vs 9. Maj)
   - Potencijalno /agencije/poredi, /gradovi/poredi u budućnosti
   ========================================================================== */
.comparison-table {
  width: 100%;
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-body);
}

/* Header row — caps-tracked sa Cormorant naselja imenima koja su klikabilna */
.comparison-table thead th {
  padding: clamp(14px, 2vw, 18px) clamp(16px, 2vw, 20px);
  background: var(--cream);
  border-bottom: 1px solid var(--hairline-strong);
  text-align: left;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.comparison-table thead th + th {
  text-align: center;
  border-left: 1px solid var(--hairline);
}

.comparison-table__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

.comparison-table__heading:hover {
  color: var(--terracotta);
}

/* Body rows */
.comparison-table tbody td {
  padding: clamp(14px, 2vw, 18px) clamp(16px, 2vw, 20px);
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody td + td {
  text-align: center;
  border-left: 1px solid var(--hairline);
}

/* Metric label column (left) */
.comparison-table__metric {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.comparison-table__metric-glyph {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.78rem;
  line-height: 1;
  color: var(--terracotta);
}

/* Value column (center) */
.comparison-table__value {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.15;
  color: var(--ink);
}

.comparison-table__value--empty {
  color: var(--taupe);
  font-weight: 400;
}

/* Winner cell — hairline terracotta accent (no pastel green Bootstrap) */
.comparison-table__cell--winner {
  position: relative;
  background: rgba(184, 117, 92, 0.04);
}

.comparison-table__cell--winner::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 2px;
  background: var(--terracotta);
}

.comparison-table__cell--winner .comparison-table__value {
  color: var(--terracotta);
}

.comparison-table__winner-mark {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  vertical-align: middle;
}

/* Footer row */
.comparison-table tfoot td {
  padding: clamp(16px, 2vw, 20px);
  background: var(--cream);
  border-top: 1px solid var(--hairline-strong);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

.comparison-table tfoot td + td {
  text-align: center;
}

.comparison-table tfoot .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 0.74rem;
}

/* Mobile — stack columns (label, value-a, value-b) preko card-style row blokova */
@media (max-width: 720px) {
  .comparison-table {
    border: none;
    background: transparent;
    display: block;
  }
  .comparison-table thead {
    display: block;
    background: var(--warm-white);
    border: 1px solid var(--hairline);
    margin-bottom: 14px;
  }
  .comparison-table thead tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .comparison-table thead th {
    border-left: none;
    text-align: center;
    padding: 14px 12px;
  }
  .comparison-table thead th:first-child {
    display: none;
  }
  .comparison-table thead th + th {
    border-left: 1px solid var(--hairline);
  }
  .comparison-table tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .comparison-table tbody tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--warm-white);
    border: 1px solid var(--hairline);
  }
  .comparison-table tbody td {
    border-bottom: 1px solid var(--hairline);
    border-left: none !important;
    padding: 12px 16px;
    text-align: left !important;
  }
  .comparison-table tbody tr td:first-child {
    background: var(--cream);
  }
  .comparison-table tbody tr td:nth-child(2)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--taupe);
  }
  .comparison-table tbody tr td:nth-child(3) {
    border-bottom: none;
  }
  .comparison-table tbody tr td:nth-child(3)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--taupe);
  }
  .comparison-table__cell--winner::before {
    left: 0;
    top: 12px;
    bottom: 12px;
  }
  .comparison-table tfoot {
    display: block;
    margin-top: 16px;
  }
  .comparison-table tfoot tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .comparison-table tfoot td {
    border: 1px solid var(--hairline);
    background: var(--warm-white);
  }
}
/* ==========================================================================
   Comments — editorial flat chrome, deli se preko /clanak/{slug} i /naselja/{slug}.

   Page-specific layout: .comment-card sa ink medallion avatarom + caps-tracked
   meta + Cormorant author + Inter prose content. Reply nest preko terracotta
   hairline border-left. Inline edit/reply/report forms na cream BG sa
   hairline border-om.

   Bez hardkodovanih boja — sve preko editorial tokena (cream/warm-white/ink/
   terracotta/taupe/hairline). Empty state preuzima canonical components/empty-state.css.
   Buttoni koriste canonical .btn (component/button.css) sa page-scope sizing.
   ========================================================================== */
/* --------------------------------------------------------------------------
   Section wrapper
   -------------------------------------------------------------------------- */
.comments-section {
  background: var(--cream);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--hairline);
}

.comments-section__header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.comments-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  color: var(--ink);
}

.comments-section__count {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
  background: transparent;
}

/* --------------------------------------------------------------------------
   Comment card — warm-white hairline, no shadow, no radius
   -------------------------------------------------------------------------- */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.comment-card {
  display: flex;
  gap: clamp(14px, 2vw, 18px);
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: 0;
}

.comment-card__body {
  flex: 1;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Reply — indented sa terracotta hairline left border
   -------------------------------------------------------------------------- */
.comment-children {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0 clamp(36px, 5vw, 56px);
  padding-left: clamp(14px, 2vw, 20px);
  border-left: 2px solid var(--terracotta);
}

.comment-card.comment-reply {
  margin: 0;
  padding: clamp(14px, 2vw, 18px) clamp(16px, 2vw, 20px);
  background: var(--cream);
}

/* --------------------------------------------------------------------------
   Avatar medallion — ink filled square sa Cormorant inicialnim slovom
   -------------------------------------------------------------------------- */
.comment-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--cream);
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1;
}

.comment-avatar--sm {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Meta strip — caps-tracked author + date, sa hairline pending pill
   -------------------------------------------------------------------------- */
.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 0 0 8px;
}

.comment-author {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--ink);
}

.comment-author--muted {
  color: var(--taupe);
  font-style: italic;
}

.comment-date {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.comment-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  background: transparent;
}

.comment-badge--edited {
  color: var(--taupe);
}

.comment-badge--pending {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   Content
   -------------------------------------------------------------------------- */
.comment-content {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  word-break: break-word;
}

.comment-deleted .comment-content {
  color: var(--taupe);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Actions — caps-tracked text buttons, hairline (no fill)
   -------------------------------------------------------------------------- */
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.comment-actions__btn,
.comment-actions form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.comment-actions__btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.comment-actions__btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--cream);
}

.comment-actions__btn--accent {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.comment-actions__btn--accent:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--warm-white);
}

.comment-actions__btn--danger:hover {
  border-color: var(--terracotta-d);
  color: var(--terracotta-d);
  background: rgba(184, 117, 92, 0.05);
}

/* --------------------------------------------------------------------------
   Inline reply/edit/report forms — collapsible
   -------------------------------------------------------------------------- */
.comment-reply-form,
.comment-edit-form,
.comment-report-form {
  display: none;
  margin: 14px 0 0;
  padding: clamp(14px, 2vw, 18px);
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 0;
}

.comment-reply-form.is-active,
.comment-edit-form.is-active,
.comment-report-form.is-active {
  display: block;
}

.comment-form__field {
  margin: 0 0 12px;
}

.comment-form__field:last-child {
  margin-bottom: 0;
}

.comment-form__label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.comment-textarea {
  display: block;
  width: 100%;
  min-height: 80px;
  padding: 10px 14px;
  background: var(--warm-white);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 117, 92, 0.15);
}

.comment-select {
  width: 100%;
  padding: 9px 14px;
  background: var(--warm-white);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
}

.comment-select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 117, 92, 0.15);
}

/* Char counter */
.comment-char-counter {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: right;
  color: var(--taupe);
}

.comment-char-counter.near-limit {
  color: var(--terracotta);
}

.comment-char-counter.at-limit {
  color: var(--terracotta-d);
  font-weight: 600;
}

/* Form action row */
.comment-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.comment-form__actions .btn {
  padding: 9px 18px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Form section (main "Ostavite komentar" + login CTA)
   -------------------------------------------------------------------------- */
.comment-form-section {
  position: relative;
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: clamp(22px, 3vw, 32px);
  background: var(--warm-white);
  border: 1px solid var(--hairline);
}

.comment-form-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--terracotta);
}

.comment-form-section__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  color: var(--ink);
}

.comment-login-cta {
  text-align: center;
  padding: clamp(14px, 2vw, 22px);
}

.comment-login-cta__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.comment-login-cta__text {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Empty state — koristi canonical .empty-state iz components/empty-state.css.
   Ovde samo page-specific spacing.
   -------------------------------------------------------------------------- */
.comments-section .empty-state {
  margin: 0 0 clamp(28px, 4vw, 40px);
}

/* --------------------------------------------------------------------------
   Pagination wrapper
   -------------------------------------------------------------------------- */
.comments-pagination {
  margin: clamp(20px, 3vw, 28px) 0 0;
}

/* --------------------------------------------------------------------------
   Honeypot — koristi canonical .honeypot-field iz components/form.css.
   Ovaj alias je za backward-compat ako neki template koristi staru klasu.
   -------------------------------------------------------------------------- */
.comment-honeypot-field {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Style Guide demo container
   -------------------------------------------------------------------------- */
.sg-comment-demo {
  max-width: 700px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .comment-children {
    margin-left: clamp(20px, 4vw, 28px);
    padding-left: 14px;
  }
  .comment-card {
    gap: 12px;
    padding: 16px;
  }
  .comment-avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .comment-avatar--sm {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .comment-actions {
    gap: 6px;
  }
  .comment-actions__btn {
    font-size: 0.62rem;
    padding: 5px 9px;
  }
}
/* ===========================
   Reviews Section CSS
   =========================== */
/* --- Star Rating Display (readonly) --- */
.stars-display {
  display: inline-flex;
  gap: 1px;
  color: #f4c542;
  font-size: 1.1rem;
  line-height: 1;
}

.stars-display .star-empty {
  color: #ddd;
}

/* --- Star Rating Input (form) --- */
.star-rating-input {
  display: inline-flex;
  flex-direction: row;
  gap: 4px;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.star-rating-input .star-btn {
  color: #ddd;
  transition: color 0.1s, transform 0.1s;
  cursor: pointer;
}

.star-rating-input .star-btn.active {
  color: #f4c542;
}

.star-rating-input .star-btn:hover {
  color: #f4c542;
  transform: scale(1.15);
}

/* --- Rating Distribution Bar --- */
.rating-distribution {
  margin: 0.75rem 0;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.875rem;
}

.rating-bar-label {
  width: 2rem;
  text-align: right;
  color: #555;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #f4c542;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.rating-bar-count {
  width: 1.5rem;
  color: #6c757d;
  font-size: 0.78rem;
  text-align: left;
  flex-shrink: 0;
}

/* --- Review Summary Header --- */
.reviews-summary {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.reviews-avg-score {
  text-align: center;
  flex-shrink: 0;
}

.reviews-avg-number {
  font-size: 3rem;
  font-weight: 700;
  color: #2d3748;
  line-height: 1;
}

.reviews-avg-stars {
  font-size: 1.3rem;
  color: #f4c542;
  margin: 0.25rem 0;
}

.reviews-avg-count {
  font-size: 0.8rem;
  color: #6c757d;
}

.reviews-distribution {
  flex: 1;
  min-width: 180px;
}

/* --- Review Card --- */
.review-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}

.review-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #667eea;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.review-author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2d3748;
}

.review-date {
  font-size: 0.8rem;
  color: #9ca3af;
}

.review-rating-stars {
  font-size: 1.15rem;
  color: #f4c542;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.review-title {
  font-weight: 600;
  font-size: 1rem;
  color: #2d3748;
  margin-bottom: 0.4rem;
}

.review-content {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
}

.review-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f4f8;
}

/* --- Review Form --- */
.review-form-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid #e8ecf0;
}

.review-form-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1.25rem;
}

.star-rating-wrapper {
  margin-bottom: 1rem;
}

.star-rating-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: #4a5568;
}

/* --- Empty state --- */
.reviews-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #9ca3af;
  font-size: 1rem;
}

.reviews-empty i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

/* --- Login CTA --- */
.review-login-cta {
  background: #f0f4ff;
  border: 1.5px dashed #c3cfe2;
  border-radius: 10px;
  padding: 2rem 1rem;
  text-align: center;
  color: #5a6a7e;
}

/* --- Pending notice --- */
.review-pending-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: #92400e;
  background: #fef3c7;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* --- Already reviewed notice --- */
.review-already-notice {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #065f46;
  font-size: 0.9rem;
}

/* --- Pagination --- */
.reviews-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* --- Comparison sidebar widget --- */
.comparison-widget .sidebar-title {
  margin-bottom: 12px;
}

.comparison-widget .comparison-hint {
  font-size: 0.82rem;
  color: var(--text-light, #666);
  margin-bottom: 12px;
}

/* Compare form + comparison table → canonical:
   - .compare-form → pages/neighborhoods.css (page-scope, slim editorial)
   - .comparison-table → components/comparison-table.css (canonical)
   Stara .comparison-widget i .btn-compare klase su mrtve (ni jedan template
   više ne koristi). Obrisane. */
/* --- Responsive --- */
@media (max-width: 576px) {
  .reviews-summary {
    flex-direction: column;
    gap: 1rem;
  }
  .reviews-avg-score {
    width: 100%;
  }
  .star-rating-input {
    font-size: 1.75rem;
  }
}
/* ==========================================================================
   Cookie consent banner — fixed bottom, multi-tenant
   Used by templates/frontend/components/_cookie_banner.html.twig +
   assets/controllers/cookie_consent_controller.js
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: var(--warm-white);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(28, 22, 18, 0.12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__copy {
  flex: 1;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.cookie-banner__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--taupe);
}

.cookie-banner__link {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__link:hover {
  color: var(--terracotta-d);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__accept {
  white-space: nowrap;
}

.cookie-banner__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  color: var(--taupe);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}

.cookie-banner__close:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--paper);
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }
  .cookie-banner__actions {
    justify-content: space-between;
  }
  .cookie-banner__accept {
    flex: 1;
  }
}

/*# sourceMappingURL=bundle.output.css.map */
