:root {
  --site-ink: #231f20;
  --site-red: #a52a3d;
  --site-paper: #fff;
  --site-soft: #f5f3f2;
  --site-muted: #686164;
  --site-line: #d8d3d3;
  --site-radius: 4px;
  --site-copy: 16px;
}

html { text-rendering: optimizeLegibility; }

body {
  color: var(--site-ink);
  font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--site-copy);
  font-weight: 400;
  line-height: 1.65;
}

body h1,
body h2,
body h3 {
  text-transform: none !important;
  text-wrap: balance;
}

.home-link {
  min-width: 2.4rem;
  padding-inline: .65rem !important;
}

.home-link::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  margin: auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.2 12 3l9 8.2v9.3a.5.5 0 0 1-.5.5H15v-6H9v6H3.5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.2 12 3l9 8.2v9.3a.5.5 0 0 1-.5.5H15v-6H9v6H3.5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body h1 {
  font-size: clamp(3.25rem, 7vw, 5.75rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

body h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.045em;
}

body h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}

body p,
body li { line-height: 1.65; }

body strong { font-weight: 700; }

body .section-label,
body .eyebrow,
body .kicker {
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body a,
body button,
body input,
body select,
body textarea,
body summary { font-family: inherit; }

body .button,
body .cta,
body .guide-link,
body .step-action,
body .application-actions a {
  border-radius: var(--site-radius);
  font-weight: 700;
}

body details,
body .action-card,
body .guide-card,
body .numbers-card,
body .help-card,
body .chart-card,
body .detail,
body .map-shell,
body .procedure,
body .notice,
body .card {
  border-radius: var(--site-radius);
}

body summary {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.015em;
}

/* Naslovna */
.page-home .hero { min-height: auto; }
.page-home h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.page-home h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.page-home .hero-grid { padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.page-home .hero h1 { font-size: clamp(4rem, 9vw, 7.25rem); }
.page-home .hero-copy { max-width: 41rem; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; }
.page-home .action-card { padding: clamp(1.75rem, 4vw, 2.5rem); }
.page-home .action-card h2 { font-size: clamp(2.25rem, 4.5vw, 3.45rem); }
.page-home .popup-title { font-size: clamp(2rem, 5vw, 3rem); }
.page-home .action-card > p:not(.section-label) { font-size: 1rem; line-height: 1.65; }
.page-home .action-card .cta {
  color: #fff !important;
  min-height: 4.5rem;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.15;
}
.page-home .action-card .cta > span:first-child { line-height: 1.15; }
.page-home .manifesto p { font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 650; letter-spacing: -.025em; text-transform: none; }
.page-home .countdown-section {
  padding-top: clamp(3.25rem, 5vw, 5rem);
  padding-bottom: clamp(3.25rem, 5vw, 5rem);
}
.page-home .countdown-section .section-inner {
  padding-top: 0;
  padding-bottom: 0;
}
.page-home .section-inner,
.page-home .guide-promo-grid,
.page-home .numbers-promo-inner,
.page-home .campaign-corner-inner { padding-top: clamp(4rem, 8vw, 6.5rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.page-home .countdown { gap: 2rem; padding: 2rem 0; }
.page-home .countdown-label { font-size: 1.05rem; font-weight: 650; line-height: 1.4; text-transform: none; }
.page-home .countdown-date { margin-top: .35rem; font-size: .9rem; }
.page-home .clock { font-size: clamp(2.3rem, 5vw, 4.35rem); }
.page-home .clock small { font-size: .66rem; letter-spacing: .04em; }
.page-home .deadline-note,
.page-home .guide-promo-copy,
.page-home .numbers-promo-copy,
.page-home .numbers-card p { font-size: 1rem; line-height: 1.7; }
.page-home .application-tool { padding: clamp(1.5rem, 4vw, 2.5rem); }
.page-home .application-tool h3 { font-size: 1.75rem; }
.page-home .faq-list details { border-color: var(--site-line); }
.page-home .faq-list summary { padding: 1.45rem 0; }
.page-home .faq-list .answer { max-width: 54rem; padding-bottom: 1.8rem; font-size: 1rem; line-height: 1.75; }
.page-home .faq-question-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .18em;
}
.page-home .faq-question-link:hover { color: inherit; text-decoration: underline; }
.page-home .faq-question-link::after { content: " ↗"; color: var(--site-red); font-size: .78em; }
.page-home .steps li { line-height: 1.65; }
.page-home .closing h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
.page-home .closing p { font-size: 1.1rem; }
.page-home footer { font-size: .8rem; line-height: 1.65; }

/* Vodič */
.page-guide { font-size: var(--site-copy); }
.page-guide h2 { font-size: clamp(2.15rem, 4.5vw, 3.5rem); }
.page-guide h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.page-guide .hero { padding-bottom: clamp(3.75rem, 7vw, 5rem); }
.page-guide .hero h1 { font-size: clamp(3.75rem, 7.5vw, 6rem); }
.page-guide .hero .lead { font-size: 1.1rem; line-height: 1.65; }
.page-guide .hero-card { border-radius: var(--site-radius); padding: clamp(1.75rem, 4vw, 2.25rem); }
.page-guide .hero-card h2 { font-size: clamp(2rem, 4vw, 3rem); }
.page-guide .section { padding-top: clamp(4rem, 7vw, 5rem); padding-bottom: clamp(4rem, 7vw, 5rem); }
.page-guide .section-head h2 { font-size: clamp(2.25rem, 4.8vw, 3.75rem); }
.page-guide .section-head p { font-size: 1rem; line-height: 1.7; }
.page-guide .quick article,
.page-guide .steps li,
.page-guide .help-card { padding: clamp(1.35rem, 3vw, 1.75rem); }
.page-guide .quick h3,
.page-guide .steps h3 { font-size: 1.3rem; }
.page-guide .quick p,
.page-guide .steps p,
.page-guide .help-card p { font-size: .95rem; }
.page-guide summary { padding: 1.4rem 0; }
.page-guide .answer { font-size: 1rem; line-height: 1.75; }
.page-guide .statement h2,
.page-guide .checklist h2 { font-size: clamp(2.35rem, 4.8vw, 3.8rem); }
.page-guide .statement p,
.page-guide .checklist .intro { font-size: 1rem; line-height: 1.7; }

/* Izbori u brojkama */
.page-turnout { font-size: var(--site-copy); }
.page-turnout h2 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); }
.page-turnout h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.page-turnout .hero h1 { font-size: clamp(3.75rem, 7vw, 5.75rem); }
.page-turnout .hero-lead { font-size: 1.05rem; line-height: 1.65; }
.page-turnout .section { padding-top: clamp(4rem, 7vw, 5rem); padding-bottom: clamp(4rem, 7vw, 5rem); }
.page-turnout .section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
.page-turnout .section-head > p,
.page-turnout .explain p { font-size: .95rem; line-height: 1.7; }
.page-turnout .stat strong { font-weight: 750; }
.page-turnout .selection h3,
.page-turnout .explain h3 { font-size: 1.65rem; }
.page-turnout .detail,
.page-turnout .chart-card,
.page-turnout .map-shell { padding: clamp(1.25rem, 3vw, 1.75rem); }
.page-turnout table { font-size: .82rem; }

/* Alati za glasanje u inostranstvu */
.page-dkp,
.page-abroad-form { background: var(--site-paper); }
.page-dkp main,
.page-abroad-form main { max-width: 1180px; }
.page-dkp main { padding: clamp(1.5rem, 5vw, 3.5rem); }
.page-dkp h1,
.page-abroad-form h1 { font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1.04; }
.page-dkp .unified-page-title {
  max-width: 14ch !important;
  font-size: clamp(3.2rem, 6vw, 5.5rem) !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.page-dkp .meta,
.page-abroad-form .hint,
.page-abroad-form .privacy { color: var(--site-muted); line-height: 1.65; }
.page-dkp .notice,
.page-abroad-form .procedure { border: 1px solid var(--site-line); border-left: 4px solid var(--site-red); background: var(--site-soft); }
.page-dkp label,
.page-abroad-form label { font-size: .9rem; font-weight: 600; }
.page-dkp select,
.page-abroad-form input,
.page-abroad-form textarea,
.page-abroad-form select { min-height: 46px; border-color: #aaa3a6; border-radius: var(--site-radius); }
.page-dkp .card { border-color: var(--site-line); box-shadow: none; }
.page-dkp .button,
.page-abroad-form button { min-height: 48px; }
.page-abroad-form legend { font-size: 1.1rem; font-weight: 700; }
.page-abroad-form .preview h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.page-dkp footer,
.page-abroad-form footer { font-size: .78rem; }

@media (max-width: 700px) {
  :root { --site-copy: 15px; }
  body h1 { font-size: clamp(3rem, 15vw, 4.35rem); }
  body h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .page-home .hero h1 { font-size: clamp(3.8rem, 19vw, 5.5rem); }
  .page-home .topbar { gap: .75rem; }
  .page-home .date-pill { padding: .55rem .7rem; }
  .page-home .date-pill select { max-width: 7.2rem; font-size: .72rem; }
  .page-home .countdown { gap: 1rem; padding: 1.5rem 0; }
  .page-home .clock { font-size: clamp(2rem, 12vw, 3.1rem); }
  .page-guide .section,
  .page-turnout .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Pregledniji vodic: jasne celine, mirniji ritam i brojevi kao orijentiri */
.page-guide main {
  overflow: hidden;
  padding: 2rem 0 4.5rem;
  background: #f3f0ef;
}

.page-guide main > .section.wrap,
.page-guide #dan .section.wrap {
  width: min(calc(100% - 3rem), 1120px);
  margin: 2rem auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid #ded8d7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(35, 31, 32, .045);
}

.page-guide #dan {
  padding: .25rem 0;
  background: #eae6e5;
}

.page-guide .section-head {
  position: relative;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--site-line);
}

.page-guide .section-head::before {
  position: absolute;
  top: -.35rem;
  right: 0;
  color: #d7193f;
  font-size: clamp(4.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.08em;
  pointer-events: none;
}

.page-guide #datumi .section-head::before { content: none; }
.page-guide #pre .section-head::before { content: "1"; }
.page-guide #dan .section-head::before { content: "2"; }
.page-guide #prava .section-head::before { content: "3"; }
.page-guide .section-head > * { position: relative; z-index: 1; }

.page-guide .section-head .eyebrow,
.page-guide .resources > .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: #f6e9ec;
  color: var(--site-red);
}

.page-guide .section-head h2 { max-width: 14ch; }
.page-guide .section-head > p { max-width: 34rem; color: var(--site-muted); }

.page-guide .deadline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 0;
  border: 0;
}

.page-guide .deadline-list li {
  display: block;
  min-height: 10.75rem;
  padding: 1.5rem;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: #faf9f8;
}

.page-guide .deadline-list li:hover { border-color: #b9afb2; }

.page-guide .deadline-date {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: #fff;
  color: var(--site-red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.page-guide .deadline-list h3 { margin-bottom: .55rem; font-size: 1.15rem; }
.page-guide .deadline-list p { font-size: .9rem; color: var(--site-muted); }

.page-guide .deadline-list .register-deadline {
  border-color: var(--site-red);
  background: var(--site-red);
  color: #fff;
}

.page-guide .deadline-list .register-deadline:hover { border-color: var(--site-red); }
.page-guide .deadline-list .register-deadline .deadline-date,
.page-guide .deadline-list .register-deadline h3,
.page-guide .deadline-list .register-deadline p { color: #fff; }

.page-guide .deadline-list .register-deadline .deadline-date { background: rgba(255, 255, 255, .16); }

.page-guide .deadline-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.1rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 7px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.page-guide .deadline-action:hover,
.page-guide .deadline-action:focus-visible { background: #fff; color: var(--site-red); }

.page-guide .deadline-list .election-day {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  align-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--site-ink);
}

.page-guide .deadline-list .election-day .deadline-date {
  margin: 0;
  justify-content: center;
  background: var(--site-red);
  color: #fff;
}

.page-guide .deadline-list .election-day h3,
.page-guide .deadline-list .election-day p { color: #fff; }

.page-guide .deadline-list li.is-past,
.page-guide .deadline-list li.register-deadline.is-past,
.page-guide .deadline-list li.election-day.is-past {
  border: 1px dashed #cbc6c7;
  background: #f5f4f3;
  color: #aaa5a7;
  box-shadow: none;
}
.page-guide .deadline-list li.is-past:hover { border-color: #bdb7b9; }
.page-guide .deadline-list li.is-past .deadline-date {
  border: 1px dashed #d1cccd;
  background: transparent;
  color: #aaa5a7;
}
.page-guide .deadline-list li.is-past h3,
.page-guide .deadline-list li.is-past p,
.page-guide .deadline-list li.is-past a { color: #aaa5a7; }
.page-guide .deadline-list li.is-past .deadline-action { display: none; }
.page-guide .deadline-list li:not(.is-past) .deadline-date {
  border-color: var(--site-red);
  background: var(--site-red);
  color: #fff;
}
.page-guide [data-guide-hero-link],
.page-guide [data-guide-hero-link]:hover,
.page-guide [data-guide-hero-link] span {
  color: #fff !important;
}

.page-guide .quick {
  counter-reset: quick-step;
  gap: .85rem;
  margin-bottom: 2rem;
  border: 0;
  background: transparent;
}

.page-guide .quick article {
  position: relative;
  min-height: 15.5rem;
  padding: 1.5rem;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: #faf9f8;
  counter-increment: quick-step;
}

.page-guide .quick article::before {
  content: "0" counter(quick-step);
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--site-ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.page-guide .quick .num {
  position: absolute;
  top: 1.9rem;
  right: 1.5rem;
  color: var(--site-red);
  font-size: .68rem;
}

.page-guide .quick h3 { margin: 0 0 .65rem; }

.page-guide .question {
  margin-top: .75rem;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-left: 4px solid transparent;
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s ease, background-color .18s ease;
}

.page-guide .question:last-child { border-bottom: 1px solid var(--site-line); }
.page-guide .question[open] { border-left-color: var(--site-red); background: #fffafa; }

.page-guide .question summary {
  padding: 1.25rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.page-guide .question summary::after {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--site-soft);
  color: var(--site-red);
  font-size: 1.3rem;
}

.page-guide .question[open] summary {
  border-bottom: 1px solid #eadfe1;
  color: var(--site-ink);
}

.page-guide .question[open] summary::after { background: var(--site-red); color: #fff; }

.page-guide .question .answer {
  max-width: none;
  padding: 1.6rem clamp(1.35rem, 4vw, 2.5rem) 2rem;
}

.page-guide .question .answer > p,
.page-guide .question .answer > ul,
.page-guide .question .answer > ol,
.page-guide .question .answer > .note,
.page-guide .question .answer > .links { max-width: 48rem; }
.page-guide .question .answer > p + p { margin-top: 1rem; }

.page-guide .note {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid #ead7dc;
  border-left: 4px solid var(--site-red);
  border-radius: 8px;
  background: #f9edef;
}

.page-guide .note strong { color: var(--site-red); }

.page-guide .source {
  margin-top: 1.7rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--site-line);
  font-size: .72rem !important;
  line-height: 1.65;
}

.page-guide .steps {
  gap: .85rem;
}

.page-guide .steps li {
  position: relative;
  min-height: 16rem;
  padding: 1.5rem;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: #fff;
}

.page-guide .step-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--site-red);
}

.page-guide .step-icon svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: none;
  stroke: #fff;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-guide .step-number {
  position: absolute;
  top: 2rem;
  right: 1.4rem;
  max-width: calc(100% - 6rem);
  margin: 0;
  color: var(--site-muted);
  font-size: .65rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-align: right;
}

.page-guide .steps h3 { margin-bottom: .65rem; }
.page-guide .steps p { color: var(--site-muted); }
.page-guide .help-grid { gap: .85rem; }

.page-guide .help-card {
  border: 1px solid var(--site-line);
  border-top: 4px solid var(--site-red);
  border-radius: 12px;
  background: #faf9f8;
}

.page-guide .app-tools {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 0;
  border-radius: 14px;
  background: var(--site-ink);
  color: #fff;
}

.page-guide .app-tools > .eyebrow { color: var(--site-red); }
.page-guide .app-tools > p { color: #d9d2d4; }
.page-guide .app-tools .help-card { border-top-color: #fff; background: #fff; color: var(--site-ink); }
.page-guide .statement { margin: 2rem 0; padding: clamp(3rem, 7vw, 5rem) 0; }
.page-guide .statement .wrap { max-width: 1040px; }
.page-guide .checklist { margin-top: 2rem; }

.page-guide .checklist label {
  margin-bottom: .6rem;
  padding: 1rem 1.1rem;
  border: 1px solid #51494c;
  border-radius: 8px;
  background: #2d282a;
}

.page-guide .resources {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
}

.page-guide .resources::before {
  content: "4";
  position: absolute;
  top: 2.5rem;
  right: clamp(2rem, 5vw, 4rem);
  color: #d7193f;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: .8;
}

.page-guide .resources > * { position: relative; z-index: 1; }

.page-guide .resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.page-guide .resource-list li {
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: #faf9f8;
}

.page-guide .resource-list a { height: 100%; padding: 1rem 1.1rem; font-size: .9rem; }

.page-guide .resources .fine {
  padding: 1rem 1.1rem;
  border-radius: 8px;
  background: var(--site-soft);
}

@media (max-width: 820px) {
  .page-guide main { padding-top: 1rem; }
  .page-guide main > .section.wrap,
  .page-guide #dan .section.wrap {
    width: min(calc(100% - 2rem), 1120px);
    margin: 1rem auto;
    padding: 2rem 1.35rem;
  }
  .page-guide .section-head { grid-template-columns: 1fr; gap: 1.25rem; padding-right: 1rem; }
  .page-guide .section-head::before { top: .15rem; font-size: 5.5rem; }
  .page-guide .section-head > p { max-width: 30rem; }
  .page-guide .deadline-list { grid-template-columns: 1fr; }
  .page-guide .deadline-list li { min-height: 0; }
  .page-guide .deadline-list .election-day { grid-column: auto; grid-template-columns: 1fr; gap: 1rem; }
  .page-guide .quick { grid-template-columns: 1fr; }
  .page-guide .quick article { min-height: 0; }
  .page-guide .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-guide .steps li { min-height: 15rem; }
  .page-guide .resource-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .page-guide main > .section.wrap,
  .page-guide #dan .section.wrap {
    width: calc(100% - 1rem);
    padding: 1.6rem 1rem;
    border-radius: 12px;
  }
  .page-guide .section-head { margin-bottom: 1.5rem; padding-right: 0; padding-bottom: 1.5rem; }
  .page-guide .section-head .eyebrow {
    max-width: calc(100% - 4.25rem);
    margin-bottom: 1.15rem;
    padding: .42rem .62rem;
    border-radius: 12px;
    font-size: .68rem;
    line-height: 1.35;
    letter-spacing: .1em;
  }
  .page-guide .section-head h2 { max-width: 12ch; font-size: 2.25rem; }
  .page-guide .section-head::before { top: .05rem; right: .25rem; font-size: 3.35rem; line-height: 1; }
  .page-guide .question summary { padding: 1.05rem; font-size: 1rem; }
  .page-guide .question .answer { padding: 1.25rem 1.05rem 1.5rem; }
  .page-guide .steps { grid-template-columns: 1fr; }
  .page-guide .steps li { min-height: 0; }
  .page-guide .app-tools { padding: 1.25rem; }
  .page-guide .resources::before { top: 1.75rem; right: 1rem; font-size: 4.5rem; }
}

/* Истекли рок за гласање у иностранству — мирна, уједначена ознака */
.page-home .is-expired {
  position: relative;
  overflow: hidden;
  border-color: #6b6668 !important;
  background: #5f5b5d !important;
  color: #fff !important;
}

.page-home .is-expired > :not(.expiry-stamp) {
  opacity: .3 !important;
  filter: grayscale(1) brightness(.72) !important;
}

.page-home .is-expired .expiry-stamp {
  position: absolute !important;
  inset: 50% auto auto 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 2rem), 25rem);
  min-height: 3.25rem;
  margin: 0 !important;
  padding: .8rem 1rem !important;
  border: 1px solid rgba(255, 255, 255, .7) !important;
  border-radius: 8px;
  background: rgba(35, 31, 32, .9) !important;
  color: #fff !important;
  font-size: clamp(.8rem, 1.5vw, 1rem) !important;
  line-height: 1.25 !important;
  text-align: center;
  white-space: normal !important;
  transform: translate(-50%, -50%) !important;
  animation: none !important;
}

.page-home [data-abroad-deadline].is-expired {
  min-height: 8.5rem;
  margin: 1.25rem 0;
  padding: clamp(1.4rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #777174 !important;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(35, 31, 32, .12);
}

.page-home [data-abroad-deadline].is-expired > :not(.expiry-stamp) {
  opacity: .88 !important;
  filter: grayscale(.45) brightness(.92) !important;
}

.page-home [data-abroad-deadline].is-expired .countdown-label {
  color: #fff;
}

.page-home [data-abroad-deadline].is-expired .countdown-date {
  color: var(--site-red);
}

.page-home [data-abroad-deadline].is-expired .expiry-stamp {
  inset: auto 1.25rem 1rem auto !important;
  width: auto;
  min-height: 0;
  padding: .52rem .72rem !important;
  border-color: rgba(255, 255, 255, .5) !important;
  border-radius: 7px;
  background: rgba(35, 31, 32, .82) !important;
  font-size: .74rem !important;
  transform: none !important;
  box-shadow: none;
}

@media (max-width: 640px) {
  .page-home [data-abroad-deadline].is-expired {
    min-height: 9.5rem;
    margin: .9rem 0;
  }

  .page-home [data-abroad-deadline].is-expired .expiry-stamp {
    right: 1rem !important;
    bottom: .85rem !important;
  }
}

.page-home [data-abroad-faq].is-expired {
  min-height: 4.5rem;
  border: 1px solid #4b4548 !important;
  border-radius: 8px;
  background: #171415 !important;
}

.page-home [data-abroad-faq].is-expired::after {
  content: "Рок је прошао";
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 1.5rem), 14rem);
  min-height: 2.35rem;
  padding: .42rem .65rem;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 7px;
  background: #231f20;
  color: #fff;
  font-size: clamp(.7rem, 1.05vw, .8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .04em;
  text-align: center;
  transform: translate(-50%, -50%);
  animation: none !important;
  pointer-events: none;
}

.page-home [data-abroad-faq].is-expired > :not(.expiry-stamp) {
  opacity: .24 !important;
  filter: grayscale(1) brightness(.55) !important;
}

.page-home .instagram-post.is-expired {
  min-height: 18rem;
  border-radius: 8px;
}

/* Позив на креатор флајера */
.page-home .spread-promo {
  padding: clamp(3.5rem, 7vw, 6.5rem) 1.5rem;
  background: var(--site-ink);
  color: #fff;
}

.page-home .spread-promo-inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: end;
}

.page-home .spread-promo .section-label {
  color: var(--site-red);
}

.page-home .spread-promo h2 {
  max-width: 12ch;
  margin: .75rem 0 1rem;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.page-home .spread-promo p:last-child {
  max-width: 42rem;
  margin: 0;
  color: #ded8da;
  font-size: 1rem;
  line-height: 1.65;
}

.page-home .spread-promo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 15rem;
  padding: 1.05rem 1.25rem;
  background: var(--site-red);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.page-home .spread-promo-actions {
  display: grid;
  gap: .65rem;
  min-width: 16.5rem;
}

.page-home .spread-promo-link.is-secondary {
  background: transparent;
  border: 1px solid #807a7d;
}

.page-home .spread-promo-link.is-secondary:hover {
  background: #ffffff12;
}

.page-home .spread-promo-link:hover {
  background: #852132;
  color: #fff;
}

@media (max-width: 680px) {
  .page-home .spread-promo { padding-inline: 1rem; }
  .page-home .spread-promo-inner { grid-template-columns: 1fr; gap: 2rem; }
  .page-home .spread-promo-actions,
  .page-home .spread-promo-link { min-width: 0; width: 100%; }
}

/* Уводни позив на већу излазност */
.page-turnout .turnout-motivation {
  padding: clamp(3.5rem, 7vw, 6.5rem) 1.5rem;
  background: var(--site-red);
  color: #fff;
}

.page-turnout .turnout-motivation-inner {
  width: min(100%, 74rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(23rem, .85fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: end;
}

.page-turnout .turnout-motivation-eyebrow {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-turnout .turnout-motivation h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 6.5vw, 6.1rem);
  font-weight: 650;
  line-height: .94;
  letter-spacing: -.055em;
}

.page-turnout .turnout-motivation-lead {
  max-width: 43rem;
  margin: 1.6rem 0 0;
  color: #f5e9ec;
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-turnout .turnout-motivation-action {
  padding: 1.6rem;
  background: #fff;
  color: var(--site-ink);
}

.page-turnout .turnout-motivation-action ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-turnout .turnout-motivation-action li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: .85rem;
  align-items: center;
  min-height: 3.4rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--site-line);
}

.page-turnout .turnout-motivation-action li span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--site-red);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.page-turnout .turnout-motivation-action li strong {
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.35;
}

@media (max-width: 820px) {
  .page-turnout .turnout-motivation-inner { grid-template-columns: 1fr; gap: 2rem; }
  .page-turnout .turnout-motivation h1 { max-width: 12ch; }
  .page-turnout .turnout-motivation-action { max-width: 36rem; }
}

@media (max-width: 520px) {
  .page-turnout .turnout-motivation { padding: 3rem 1rem; }
  .page-turnout .turnout-motivation h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .page-turnout .turnout-motivation-lead { font-size: .98rem; }
  .page-turnout .turnout-motivation-action { padding: 1.15rem; }
}

/* Naslovna: tri ključna sledeća koraka dele isti vizuelni sistem. */
.page-home .home-promo {
  padding: clamp(4.25rem, 8vw, 6.5rem) var(--site-layout-gutter);
}
.page-home .home-promo--red { background: var(--site-red); color: #fff; }
.page-home .home-promo--dark { background: var(--site-ink); color: #fff; }
.page-home .home-promo--light { background: var(--site-paper); color: var(--site-ink); }
.page-home .home-promo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, .88fr);
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.page-home .home-promo .section-label {
  margin: 0 0 .9rem;
  color: currentColor;
  opacity: .74;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
}
.page-home .home-promo--dark .section-label,
.page-home .home-promo--light .section-label { color: var(--site-red); opacity: 1; }
.page-home .home-promo h2,
.page-home .spread-promo h2,
.page-home .numbers-promo h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.058em;
  text-transform: none;
}
.page-home .home-promo-copy > p:not(.section-label),
.page-home .spread-promo .home-promo-copy > p:last-child,
.page-home .numbers-promo-copy {
  max-width: 40rem;
  margin: 1.35rem 0 0;
  color: currentColor;
  opacity: .82;
  font-size: 1rem;
  line-height: 1.7;
}
.page-home .home-promo-card,
.page-home .spread-promo-actions.home-promo-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 23rem;
  padding: clamp(1.45rem, 3vw, 2rem);
  border: 1px solid #d8d2d1;
  border-top: 5px solid var(--site-red);
  background: #fff;
  color: var(--site-ink);
}
.page-home .home-promo--red .home-promo-card { border-top-color: var(--site-ink); }
.page-home .home-promo-list,
.page-home .guide-card .home-promo-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.page-home .home-promo-list li,
.page-home .guide-card .home-promo-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: baseline;
  gap: .8rem;
  min-height: 3.15rem;
  padding: .8rem 0;
  border-bottom: 1px solid #ded9d7;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.4;
}
.page-home .home-promo-list li:first-child { padding-top: .25rem; }
.page-home .home-promo-list li span,
.page-home .guide-card .home-promo-list li span {
  color: var(--site-red);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .07em;
}
.page-home .home-promo-link,
.page-home .spread-promo-link.home-promo-link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  min-height: 3.75rem;
  margin-top: auto;
  padding: .95rem 1.1rem;
  border: 0;
  background: var(--site-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}
.page-home .home-promo--dark .home-promo-link { background: var(--site-red); }
.page-home .home-promo-link:hover,
.page-home .spread-promo-link.home-promo-link:hover { background: #3b3537; color: #fff; }
.page-home .home-promo--dark .home-promo-link:hover { background: #852132; }

@media (max-width: 850px) {
  .page-home .home-promo-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .page-home .home-promo h2,
  .page-home .spread-promo h2,
  .page-home .numbers-promo h2 { max-width: 13ch; }
  .page-home .home-promo-card,
  .page-home .spread-promo-actions.home-promo-card { min-height: 0; }
}
@media (max-width: 520px) {
  .page-home .home-promo { padding: 3.5rem 1rem; }
  .page-home .home-promo h2,
  .page-home .spread-promo h2,
  .page-home .numbers-promo h2 { font-size: clamp(2.65rem, 13vw, 3.75rem); }
  .page-home .home-promo-card,
  .page-home .spread-promo-actions.home-promo-card { padding: 1.25rem; }
}

/* Prva dva roka su mirni sažeci; sat se otvara samo na zahtev. */
.page-home .countdown-collapsible {
  display: block;
  padding: 0;
}
.page-home .countdown-collapsible + .countdown,
.page-home .countdown-collapsible + .countdown-collapsible { border-top: 1px solid var(--site-line); }
.page-home .countdown-collapsible > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 0;
  list-style: none;
  cursor: pointer;
}
.page-home .countdown-collapsible > summary::-webkit-details-marker { display: none; }
.page-home .countdown-collapsible > summary::after { content: none; }
.page-home .countdown-toggle-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: .45rem .7rem;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  color: var(--site-muted);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.page-home .countdown-collapsible[open] .countdown-toggle-status { color: var(--site-ink); border-color: #aaa2a5; }
.page-home .countdown-collapsible > .clock {
  padding: .25rem 0 1.5rem;
  text-align: left;
}
.page-home .countdown-collapsible.deadline-ended .countdown-toggle-status {
  border-style: dashed;
  border-color: #aaa4a6;
  background: #f1efef;
  color: #777174;
}
.page-home .countdown-collapsible.deadline-ended .countdown-date { color: #aaa4a6; }
@media (max-width: 640px) {
  .page-home .countdown-collapsible > summary { grid-template-columns: 1fr; gap: .7rem; }
  .page-home .countdown-toggle-status { width: fit-content; }
  .page-home .countdown-collapsible > .clock { font-size: clamp(2rem, 12vw, 3.2rem); }
}

/* Истекли рокови су само дискретно означени; нема прекривача ни искачућих прозора. */
.page-home .is-expired {
  overflow: visible;
  border-color: #d2cdcf !important;
  background: #f3f1f2 !important;
  color: #777174 !important;
}
.page-home .is-expired > :not(.expiry-stamp) {
  opacity: .62 !important;
  filter: grayscale(1) !important;
}
.page-home .is-expired .expiry-stamp {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  width: fit-content;
  min-height: 0;
  margin: 0 0 0 auto !important;
  padding: .42rem .72rem !important;
  border: 1px solid #c9c4c6 !important;
  border-radius: 999px;
  background: #e3e0e1 !important;
  color: #777174 !important;
  font-size: .72rem !important;
  font-weight: 650;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-transform: none;
  transform: none !important;
  animation: none !important;
  cursor: default;
}
.page-home .application-tool.is-expired {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  min-height: 0;
  color: #777174 !important;
}
.page-home .application-tool.is-expired .expiry-stamp {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: start;
  margin: 0 0 .35rem !important;
}
.page-home .application-tool.is-expired a {
  border-color: #c9c4c6;
  background: #dedadb;
  color: #777174;
}
.page-home [data-abroad-faq].is-expired {
  min-height: 0;
  border-color: #4d484a !important;
  background: transparent !important;
}
.page-home [data-abroad-faq].is-expired::after { content: none !important; }
.page-home [data-abroad-faq].is-expired > :not(.expiry-stamp) {
  opacity: .58 !important;
  filter: grayscale(1) !important;
}
.page-home .is-expired-info .summary-status {
  display: inline-flex;
  flex: 0 0 auto;
  margin-left: 0;
  padding: .38rem .65rem;
  border: 1px solid #736d70;
  border-radius: 999px;
  background: #353132;
  color: #bdb8ba;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.page-home [data-abroad-faq] > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  padding-right: 4.5rem;
}
.page-home [data-abroad-faq] .faq-question-link {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .page-home .application-tool.is-expired {
    grid-template-columns: 1fr;
  }

  .page-home .application-tool.is-expired .expiry-stamp {
    margin: 0 0 .35rem !important;
  }

  .page-home [data-abroad-faq] > summary {
    grid-template-columns: minmax(0, 1fr);
    row-gap: .65rem;
    padding-right: 3.25rem;
  }
  .page-home [data-abroad-faq] .summary-status { width: fit-content; }
}
.page-home .countdown-collapsible.deadline-ended > .clock { display: none; }

/* Јединствен попап за све ознаке истеклог рока. */
.expiry-stamp[role="button"],
.expiry-inline-stamp[role="button"],
.summary-status[role="button"],
.countdown-toggle-status[role="button"] {
  cursor: pointer !important;
}
.expiry-stamp[role="button"]:focus-visible,
.expiry-inline-stamp[role="button"]:focus-visible,
.summary-status[role="button"]:focus-visible,
.countdown-toggle-status[role="button"]:focus-visible {
  outline: 2px solid var(--site-red);
  outline-offset: 3px;
}
.site-expiry-dialog {
  width: min(90vw, 30rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--site-ink);
}
.site-expiry-dialog::backdrop {
  background: rgba(35, 31, 32, .76);
  backdrop-filter: blur(3px);
}
.site-expiry-dialog-card {
  position: relative;
  padding: 2.75rem 1.9rem 1.9rem;
  border-top: 6px solid var(--site-red);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}
.site-expiry-dialog-kicker {
  margin: 0 0 .75rem !important;
  color: var(--site-red) !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
.site-expiry-dialog h2 {
  margin: 0 2rem .9rem 0 !important;
  color: var(--site-ink) !important;
  font-size: clamp(2rem, 6vw, 2.75rem) !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
  text-transform: none !important;
}
.site-expiry-dialog-card > p:not(.site-expiry-dialog-kicker) {
  margin: 0 !important;
  color: #5f595c !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}
.site-expiry-dialog-x {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.3rem;
  height: 2.3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--site-ink) !important;
  color: #fff !important;
  font: 400 1.5rem/1 Arial, sans-serif;
  cursor: pointer;
}
.site-expiry-dialog-confirm {
  width: 100%;
  margin-top: 1.5rem;
  padding: .85rem 1rem;
  border: 0;
  border-radius: 3px;
  background: var(--site-red) !important;
  color: #fff !important;
  font: 700 .95rem/1.2 "Golos Text", system-ui, sans-serif;
  cursor: pointer;
}
