:root {
  --ink: #0d222b;
  --muted: #5d7078;
  --paper: #f4f6f4;
  --white: #ffffff;
  --teal-1000: #041b23;
  --teal-950: #052a36;
  --teal-900: #063b4b;
  --teal-800: #07566b;
  --teal-700: #08758e;
  --teal-500: #0b97b5;
  --red: #d83b28;
  --red-dark: #b72c1d;
  --line: rgba(13, 34, 43, .12);
  --soft-line: rgba(255, 255, 255, .12);
  --shadow: 0 28px 70px rgba(0, 33, 44, .14);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1200px, calc(100% - 44px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(4, 27, 35, .90);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
  letter-spacing: -.04em;
}
.brand-raca {
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -.07em;
}
.brand-sub {
  padding-left: 10px;
  border-left: 3px solid var(--red);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .10em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .92rem;
  font-weight: 800;
}
.main-nav a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover,
.nav-cta:focus-visible { background: var(--white); color: var(--teal-950); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: .2s ease;
}

.hero {
  position: relative;
  min-height: 810px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(11,151,181,.34), transparent 36%),
    linear-gradient(130deg, var(--teal-1000) 0%, var(--teal-950) 42%, #08738d 100%);
}
.hero::before {
  content: "RAČA";
  position: absolute;
  left: max(14px, calc((100vw - 1200px) / 2 - 30px));
  top: 68px;
  font-size: clamp(9rem, 26vw, 25rem);
  line-height: .82;
  font-weight: 950;
  letter-spacing: -.10em;
  color: rgba(255,255,255,.035);
  white-space: nowrap;
  pointer-events: none;
}
.hero-decor {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.hero-decor-one {
  width: 560px;
  height: 560px;
  right: -260px;
  top: -120px;
  box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.016);
}
.hero-decor-two {
  width: 300px;
  height: 300px;
  left: -180px;
  bottom: 80px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 750px;
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  align-items: center;
  gap: 34px;
  padding-top: 92px;
}
.hero-copy { position: relative; z-index: 5; padding: 72px 0 88px; }
.hero-copy > * { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  color: #9fe0eb;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow-dark { color: var(--teal-700); }
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 6.1vw, 6.2rem);
  line-height: .92;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 8px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--red);
  transform: skewX(-24deg);
}
.hero-names {
  margin: 26px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.hero-names span { color: #6fb8c7; padding: 0 7px; }
.hero-party-row,
.candidate-party-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-party-row { margin-top: 26px; }
.party-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.party-badge.smer {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: .03em;
}
.party-badge.sns {
  gap: 8px;
  padding-inline: 16px 14px;
}
.party-badge.sns strong { font-size: 1.08rem; letter-spacing: .01em; }
.party-badge.sns small {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  opacity: .82;
}
.party-badge.hlas {
  padding-inline: 18px 20px;
}
.party-badge.hlas::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border-right: 1px solid rgba(255,255,255,.24);
  border-bottom: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
  transform: rotate(32deg) skewX(-18deg);
  border-bottom-right-radius: 4px;
}
.hero-ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.hero-ticket-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  box-shadow: 0 18px 32px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}
.hero-ticket-card h2 {
  margin: 0 0 12px;
  font-size: 1.03rem;
  line-height: 1.1;
  font-weight: 850;
  color: var(--white);
}
.hero-ticket-numbers,
.candidate-number-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.number-chip {
  display: inline-grid;
  place-items: center;
  width: 78px;
  aspect-ratio: 1;
  padding: 12px 10px 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ef604d, var(--red-dark));
  border: 3px solid rgba(255,255,255,.16);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  text-align: center;
}
.number-chip.secondary {
  background: radial-gradient(circle at 30% 28%, #1e97b3, #08536a);
}
.number-chip small {
  display: block;
  margin-bottom: 1px;
  font-size: .60rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .82;
}
.number-chip strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -.08em;
}
.hero-house {
  position: absolute;
  left: max(16px, calc((100vw - 1200px) / 2 - 10px));
  bottom: 122px;
  z-index: 1;
  width: min(38vw, 520px);
  pointer-events: none;
  opacity: .45;
}
.hero-house img { width: 100%; height: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(216,59,40,.24);
}
.button-primary:hover { background: #ed4a36; }
.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
}
.button-ghost:hover { background: var(--white); color: var(--teal-950); }

.hero-portraits {
  position: relative;
  align-self: stretch;
  min-height: 720px;
  margin-top: 30px;
}
.hero-portraits::after {
  content: "";
  position: absolute;
  inset: auto -2% 0 -2%;
  height: 120px;
  background: linear-gradient(180deg, rgba(4, 27, 35, 0) 0%, rgba(4, 27, 35, .42) 30%, rgba(4, 27, 35, .90) 100%);
  z-index: 4;
  pointer-events: none;
}
.hero-person {
  position: absolute;
  bottom: 0;
  filter: drop-shadow(0 28px 26px rgba(0,0,0,.28));
  transform-origin: bottom center;
}
.hero-person img { width: 100%; height: auto; }
.hero-person-pavol { z-index: 3; width: 49%; left: 1%; bottom: -40px; }
.hero-person-jozef { z-index: 2; width: 48%; left: 31%; bottom: -12px; }
.hero-person-herman { z-index: 1; width: 54%; right: -13%; bottom: -8px; }
.hero-person-pavol::after,
.hero-person-jozef::after,
.hero-person-herman::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2%;
  height: 12%;
  border-radius: 50%;
  background: rgba(0,0,0,.20);
  filter: blur(26px);
  z-index: -1;
}
.hero-topics {
  position: relative;
  z-index: 6;
  border-top: 1px solid rgba(255,255,255,.11);
  background: rgba(3, 31, 40, .52);
  backdrop-filter: blur(12px);
}
.hero-topics-inner {
  min-height: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}
.hero-topics span {
  padding: 0 16px;
  color: rgba(255,255,255,.70);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.10);
}
.hero-topics span:first-child { border-left: 1px solid rgba(255,255,255,.10); }

.section { padding: 112px 0; }
.section-heading { max-width: 820px; margin-bottom: 54px; }
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: .96;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.candidates { background: var(--paper); }
.candidate-list { display: grid; gap: 26px; }
.candidate {
  position: relative;
  min-height: 510px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}
.candidate:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.candidate:nth-child(even) .candidate-visual { order: 2; }
.candidate-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 28%, rgba(11,151,181,.38), transparent 44%),
    linear-gradient(150deg, #0c7188, #052d39 68%);
}
.candidate-visual::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  right: -170px;
  top: -100px;
  box-shadow: 0 0 0 68px rgba(255,255,255,.025);
}
.candidate-visual picture,
.candidate-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.candidate-visual img {
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 20px rgba(0,0,0,.24));
}
.candidate-visual-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, rgba(2, 19, 24, 0) 0%, rgba(2, 19, 24, .22) 16%, rgba(2, 19, 24, .88) 100%);
}
.candidate-party-row .party-badge {
  min-height: 36px;
  padding-inline: 12px;
  font-size: .7rem;
}
.candidate-party-row .party-badge.smer { font-size: .85rem; }
.candidate-party-row .party-badge.sns { gap: 5px; }
.candidate-party-row .party-badge.sns strong { font-size: .84rem; }
.candidate-party-row .party-badge.sns small { font-size: .56rem; }
.candidate-party-row .party-badge.hlas::after {
  right: 10px;
  bottom: -6px;
  width: 10px;
  height: 10px;
}
.candidate-number-group .number-chip {
  width: 68px;
  border-width: 2px;
}
.candidate-number-group .number-chip strong { font-size: 1.65rem; }
.candidate-number-group .number-chip small { font-size: .55rem; }
.candidate-pavol .candidate-visual img { width: 82%; left: 9%; top: -1%; }
.candidate-jozef .candidate-visual img { width: 80%; left: 10%; top: 2%; }
.candidate-herman .candidate-visual img { width: 88%; left: 6%; top: 1%; }
.candidate-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 74px);
}
.candidate-role {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .15em;
}
.candidate-content h3 {
  margin: 0 0 24px;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  line-height: .86;
  letter-spacing: -.065em;
  font-weight: 350;
}
.candidate-content h3 strong {
  display: block;
  font-weight: 950;
}
.candidate-content > p:last-child {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.priorities {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 91% 18%, rgba(11,151,181,.22), transparent 34%),
    var(--teal-1000);
}
.priorities::before {
  content: "06";
  position: absolute;
  right: -2vw;
  top: 2vw;
  color: rgba(255,255,255,.03);
  font-size: min(36vw, 35rem);
  line-height: .8;
  font-weight: 950;
  letter-spacing: -.12em;
}
.section-heading-light { position: relative; z-index: 2; color: var(--white); }
.section-heading-light h2 { max-width: 950px; }
.priority-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--soft-line);
  border-left: 1px solid var(--soft-line);
}
.priority-card {
  min-height: 300px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 36px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  transition: background .2s ease;
}
.priority-card:hover { background: rgba(255,255,255,.045); }
.priority-number {
  color: #f0523e;
  font-size: 2.9rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.07em;
}
.priority-card h3 {
  margin: 4px 0 14px;
  font-size: 1.28rem;
  line-height: 1.18;
}
.priority-card p {
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: .96rem;
}

.campaign-band {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
}
.campaign-band-inner {
  min-height: 168px;
  display: grid;
  grid-template-columns: 1fr minmax(0, 860px) 1fr;
  align-items: center;
  gap: 30px;
}
.campaign-band p {
  margin: 0;
  font-size: clamp(1.4rem, 3.4vw, 3rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.035em;
  text-align: center;
}
.campaign-line { height: 1px; background: rgba(255,255,255,.45); }

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 0%, rgba(11,151,181,.28), transparent 34%),
    linear-gradient(145deg, #063a4b, #05232d);
}
.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 72px;
  align-items: start;
}
.contact-copy { position: sticky; top: 118px; }
.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 1.04rem;
}
.contact-signature {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.52);
  font-size: .85rem;
  letter-spacing: .03em;
}
.contact-form {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 34px 76px rgba(0,0,0,.24);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label:not(.checkbox) {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #40565f;
  font-size: .82rem;
  font-weight: 850;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7e0e2;
  border-radius: 13px;
  background: #fbfcfc;
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form textarea { min-height: 168px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal-700);
  box-shadow: 0 0 0 4px rgba(8,117,142,.11);
}
.contact-form [aria-invalid="true"] { border-color: var(--red); }
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 22px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  cursor: pointer;
}
.checkbox input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--teal-700); }
.form-submit { width: 100%; justify-content: space-between; }
.form-status { min-height: 24px; margin: 12px 2px 0; font-size: .86rem; font-weight: 750; }
.form-status.success { color: #177245; }
.form-status.error { color: #b3291e; }
.honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255,255,255,.65);
  background: #031820;
  font-size: .82rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 30px;
}
.brand-footer { color: var(--white); }
.site-footer p { margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
  .hero-person-pavol { width: 57%; left: -6%; bottom: -42px; }
  .hero-person-jozef { width: 54%; left: 27%; bottom: -14px; }
  .hero-person-herman { width: 60%; right: -22%; bottom: -10px; }
  .candidate { grid-template-columns: .95fr 1.05fr; }
  .candidate:nth-child(even) { grid-template-columns: 1.05fr .95fr; }
  .candidate-content { padding: 44px; }
  .contact-grid { gap: 46px; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 30px, 1200px); }
  .site-header { background: rgba(4,27,35,.76); backdrop-filter: blur(16px); }
  .nav-wrap { min-height: 70px; }
  .brand-raca { font-size: 1.45rem; }
  .brand-sub { font-size: .68rem; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 22px 26px;
    background: rgba(4,27,35,.98);
    transform: translateY(-130%);
    transition: transform .25s ease;
    box-shadow: 0 22px 44px rgba(0,0,0,.25);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 4px; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }

  .hero { min-height: 940px; }
  .hero-grid {
    min-height: 880px;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 94px;
  }
  .hero-copy { padding: 58px 0 0; }
  .hero h1 { max-width: 760px; font-size: clamp(3.1rem, 12vw, 6rem); }
  .hero-party-row { gap: 10px; }
  .hero-ticket-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-house { width: min(68vw, 420px); left: -18px; bottom: 122px; opacity: .34; }
  .hero-portraits {
    min-height: 450px;
    width: min(700px, 100%);
    margin: -10px auto 0;
  }
  .hero-person-pavol { width: 45%; left: 2%; bottom: -34px; }
  .hero-person-jozef { width: 41%; left: 31%; bottom: -8px; }
  .hero-person-herman { width: 47%; right: -2%; bottom: -6px; }
  .hero-topics-inner { grid-template-columns: repeat(3, 1fr); }
  .hero-topics span { min-height: 48px; display: grid; place-items: center; border-bottom: 1px solid rgba(255,255,255,.08); }

  .section { padding: 84px 0; }
  .candidate,
  .candidate:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .candidate:nth-child(even) .candidate-visual { order: 0; }
  .candidate-visual { min-height: 460px; }
  .candidate-content { padding: 38px; }
  .candidate-visual-meta { flex-direction: column; align-items: flex-start; padding: 20px 18px 18px; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-card { min-height: 0; }
  .campaign-band-inner { min-height: 148px; grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .campaign-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .contact-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 540px) {
  .brand-sub { display: none; }
  .hero { min-height: 860px; }
  .hero-grid { min-height: 804px; }
  .hero-copy { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.85rem, 14vw, 4.5rem); }
  .party-badge { min-height: 40px; padding-inline: 14px; font-size: .8rem; }
  .hero-ticket-card { padding: 16px 16px 14px; }
  .hero-ticket-card h2 { font-size: .96rem; }
  .hero-names { display: grid; gap: 2px; }
  .hero-names span { display: none; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-portraits { min-height: 350px; margin-top: 6px; }
  .hero-person-pavol { width: 50%; left: -2%; bottom: -28px; }
  .hero-person-jozef { width: 45%; left: 30%; bottom: -7px; }
  .hero-person-herman { width: 52%; right: -8%; bottom: -6px; }
  .hero-topics-inner { grid-template-columns: repeat(2, 1fr); }
  .section-heading { margin-bottom: 36px; }
  .candidate { border-radius: 24px; }
  .candidate-visual { min-height: 350px; }
  .candidate-content { padding: 30px 26px 34px; }
  .candidate-content h3 { font-size: 3rem; }
  .candidate-content > p:last-child { font-size: .95rem; }
  .candidate-number-group .number-chip { width: 60px; }
  .candidate-number-group { gap: 8px; }
  .candidate-party-row { gap: 8px; }
  .candidate-party-row .party-badge { min-height: 33px; }
  .priority-card { grid-template-columns: 60px 1fr; padding: 26px 20px; gap: 12px; }
  .priority-number { font-size: 2.1rem; }
  .priority-card p { font-size: .92rem; }
  .contact-form { padding: 24px; border-radius: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* --- v4 refinement --- */
.hero-grid-single {
  min-height: 700px;
  grid-template-columns: 1fr;
  place-items: center;
}
.hero-copy-centered {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding: 132px 0 96px;
}
.hero-copy-centered .hero-actions { justify-content: center; }
.hero-lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
}
.hero-copy-centered h1::after { margin-inline: auto; }
.hero::before {
  left: 50%;
  transform: translateX(-50%);
  top: 58px;
  color: rgba(255,255,255,.04);
}
.hero-topics { position: relative; z-index: 6; }

.candidate { align-items: stretch; }
.candidate-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 540px;
}
.candidate-visual picture,
.candidate-visual img {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 100%;
}
.candidate-visual img {
  object-fit: contain;
  object-position: center bottom;
  width: 88%;
  height: 92%;
  margin: auto;
  inset: auto 0 0 0;
  filter: drop-shadow(0 22px 20px rgba(0,0,0,.24));
}
.candidate-pavol .candidate-visual img,
.candidate-jozef .candidate-visual img,
.candidate-herman .candidate-visual img {
  width: 88%;
  left: 0;
  top: auto;
}
.candidate-meta {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}
.candidate-number-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.candidate-chip {
  display: inline-grid;
  place-items: center;
  width: 84px;
  aspect-ratio: 1;
  padding: 12px 10px 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ef604d, var(--red-dark));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(216,59,40,.18);
  text-align: center;
}
.candidate-chip small {
  display: block;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .88;
}
.candidate-chip strong {
  display: block;
  margin-top: 2px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.08em;
}
.candidate-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  width: fit-content;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, #063a4b, #05232d);
}
.candidate-logos img {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}
.candidate-logos img:nth-child(1) { height: 46px; }
.candidate-logos img:nth-child(2) { height: 52px; }
.candidate-logos img:nth-child(3) { height: 46px; }

/* deactivate v3 extras */
.hero-party-row,
.hero-ticket-grid,
.hero-house,
.hero-portraits,
.candidate-visual-meta { display: none !important; }

@media (max-width: 1060px) {
  .hero-grid-single { min-height: 660px; }
  .hero-copy-centered { padding-top: 122px; }
}
@media (max-width: 820px) {
  .hero-grid-single {
    min-height: 640px;
    padding-top: 94px;
  }
  .hero-copy-centered {
    padding: 46px 0 70px;
    text-align: left;
    max-width: 720px;
  }
  .hero-copy-centered .hero-actions,
  .hero-copy-centered h1::after {
    justify-content: flex-start;
    margin-left: 0;
  }
  .hero-lead { margin-left: 0; margin-right: 0; }
  .candidate-visual { min-height: 420px; }
  .candidate-visual img { width: 82%; height: 90%; }
  .candidate-logos { width: 100%; justify-content: center; }
}
@media (max-width: 540px) {
  .hero-grid-single { min-height: 560px; }
  .hero-copy-centered { padding: 30px 0 56px; }
  .hero-lead { font-size: .98rem; }
  .candidate-visual { min-height: 340px; }
  .candidate-visual img { width: 84%; height: 88%; }
  .candidate-chip { width: 74px; }
  .candidate-chip strong { font-size: 1.76rem; }
  .candidate-logos { gap: 12px; padding: 12px 14px; }
  .candidate-logos img:nth-child(1) { height: 38px; }
  .candidate-logos img:nth-child(2) { height: 42px; }
  .candidate-logos img:nth-child(3) { height: 38px; }
}


/* --- v5 refinement --- */
.hero-party-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 32px auto 0;
  padding: 20px 24px;
  width: fit-content;
  max-width: 100%;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.hero-party-strip img {
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.18));
}
.hero-party-strip img:nth-child(1) { height: 82px; }
.hero-party-strip img:nth-child(2) { height: 94px; }
.hero-party-strip img:nth-child(3) { height: 84px; }
.hero-copy-centered { max-width: 980px; }
.hero-lead { max-width: 820px; }

.candidate-visual { min-height: 610px; overflow: hidden; }
.candidate-visual img {
  width: 92%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(26px);
}
.candidate-pavol .candidate-visual img { width: 88%; transform: translateY(42px); }
.candidate-jozef .candidate-visual img { width: 90%; transform: translateY(34px); }
.candidate-herman .candidate-visual img { width: 92%; transform: translateY(32px); }

.candidate-meta { gap: 16px; }
.candidate-number-group { gap: 14px; }
.candidate-ballot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: #f4f8f9;
  border: 1px solid #dce7ea;
}
.ballot-label {
  color: var(--teal-900);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ballot-circle {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ef604d, var(--red-dark));
  color: var(--white);
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.06em;
  box-shadow: 0 10px 22px rgba(216,59,40,.22);
}
.candidate-chip, .candidate-logos { display: none !important; }

@media (max-width: 820px) {
  .hero-party-strip {
    justify-content: flex-start;
    margin-left: 0;
    padding: 16px 18px;
    gap: 18px;
  }
  .hero-party-strip img:nth-child(1) { height: 64px; }
  .hero-party-strip img:nth-child(2) { height: 72px; }
  .hero-party-strip img:nth-child(3) { height: 64px; }
  .candidate-visual { min-height: 480px; }
  .candidate-visual img { width: 84%; transform: translateY(28px); }
  .candidate-pavol .candidate-visual img { width: 84%; transform: translateY(38px); }
  .candidate-jozef .candidate-visual img { width: 84%; transform: translateY(34px); }
  .candidate-herman .candidate-visual img { width: 86%; transform: translateY(32px); }
}
@media (max-width: 540px) {
  .hero-party-strip {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 12px;
  }
  .hero-party-strip img:nth-child(1) { height: 46px; }
  .hero-party-strip img:nth-child(2) { height: 52px; }
  .hero-party-strip img:nth-child(3) { height: 46px; }
  .candidate-visual { min-height: 390px; }
  .candidate-visual img { width: 88%; transform: translateY(18px); }
  .candidate-pavol .candidate-visual img { width: 86%; transform: translateY(28px); }
  .candidate-ballot { gap: 8px; padding: 5px 10px 5px 5px; }
  .ballot-label { font-size: .72rem; }
  .ballot-circle { width: 48px; height: 48px; font-size: 1.5rem; }
}


/* --- v6 final fixes --- */
.hero-party-strip {
  gap: 34px;
  padding: 22px 30px;
}
.hero-party-strip img:nth-child(1) { height: 94px; }
.hero-party-strip img:nth-child(2) { height: 106px; }
.hero-party-strip img:nth-child(3) { height: 96px; }

.candidate {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
}
.candidate:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}
.candidate-visual {
  min-height: 600px;
  padding: 18px 18px 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.candidate-visual::before {
  inset: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 26% 16%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(180deg, #0b7f99 0%, #0b6075 100%);
}
.candidate-visual::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 150px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(11,96,117,0) 0%, rgba(11,96,117,.20) 35%, rgba(11,96,117,.92) 100%);
  pointer-events: none;
  z-index: 3;
}
.candidate-visual picture,
.candidate-visual img {
  position: absolute;
  inset: auto;
}
.candidate-visual picture {
  bottom: 18px;
  left: 18px;
  right: 18px;
  top: 18px;
}
.candidate-visual img {
  left: 50%;
  bottom: 18px;
  width: auto !important;
  height: auto !important;
  max-width: 94% !important;
  max-height: calc(100% - 34px) !important;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%) !important;
  filter: drop-shadow(0 20px 22px rgba(0,0,0,.22));
  z-index: 2;
}
.candidate-pavol .candidate-visual img {
  max-width: 90% !important;
  max-height: calc(100% - 28px) !important;
}
.candidate-jozef .candidate-visual img {
  max-width: 88% !important;
}
.candidate-herman .candidate-visual img {
  max-width: 94% !important;
}
.candidate-meta {
  margin-bottom: 26px;
}
.candidate-ballot {
  padding: 8px 16px 8px 8px;
  gap: 12px;
  background: #eef6f8;
}
.ballot-label {
  min-width: 76px;
  text-align: center;
}
.ballot-circle {
  width: 60px;
  height: 60px;
  font-size: 1.95rem;
}

@media (max-width: 1100px) {
  .candidate,
  .candidate:nth-child(even) {
    grid-template-columns: minmax(250px, 380px) minmax(0, 1fr);
  }
  .candidate:nth-child(even) .candidate-visual { order: 2; }
}

@media (max-width: 820px) {
  .hero-party-strip { gap: 18px; padding: 16px 18px; }
  .hero-party-strip img:nth-child(1) { height: 66px; }
  .hero-party-strip img:nth-child(2) { height: 76px; }
  .hero-party-strip img:nth-child(3) { height: 68px; }

  .candidate,
  .candidate:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .candidate:nth-child(even) .candidate-visual { order: 0; }
  .candidate-visual {
    min-height: 520px;
    padding: 16px 16px 0;
  }
  .candidate-visual::before { inset: 16px; }
  .candidate-visual::after { inset: auto 16px 16px 16px; }
  .candidate-visual picture { bottom: 16px; left: 16px; right: 16px; top: 16px; }
  .candidate-visual img {
    max-width: 84% !important;
    max-height: calc(100% - 32px) !important;
    bottom: 16px;
  }
  .candidate-pavol .candidate-visual img { max-width: 82% !important; }
  .candidate-jozef .candidate-visual img { max-width: 82% !important; }
  .candidate-herman .candidate-visual img { max-width: 86% !important; }
}

@media (max-width: 540px) {
  .hero-party-strip {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 14px 16px;
  }
  .hero-party-strip img:nth-child(1) { height: 52px; }
  .hero-party-strip img:nth-child(2) { height: 58px; }
  .hero-party-strip img:nth-child(3) { height: 52px; }
  .candidate-visual {
    min-height: 420px;
    padding: 14px 14px 0;
  }
  .candidate-visual::before { inset: 14px; }
  .candidate-visual::after { inset: auto 14px 14px 14px; height: 120px; }
  .candidate-visual picture { bottom: 14px; left: 14px; right: 14px; top: 14px; }
  .candidate-visual img {
    max-width: 90% !important;
    max-height: calc(100% - 28px) !important;
    bottom: 14px;
  }
  .candidate-pavol .candidate-visual img { max-width: 88% !important; }
  .candidate-herman .candidate-visual img { max-width: 92% !important; }
  .candidate-number-group { gap: 10px; }
  .candidate-ballot {
    padding: 6px 12px 6px 6px;
    gap: 9px;
  }
  .ballot-label {
    min-width: 64px;
    font-size: .72rem;
  }
  .ballot-circle {
    width: 50px;
    height: 50px;
    font-size: 1.55rem;
  }
}


/* --- v7 precision fixes --- */
/* Keep every authentic cutout geometrically centered in its frame. */
.candidate-visual img,
.candidate-pavol .candidate-visual img,
.candidate-jozef .candidate-visual img,
.candidate-herman .candidate-visual img {
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
}

/* Simple constituency label + plain outlined candidate number. */
.candidate-ballot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ballot-label {
  min-width: 0;
  padding: 0;
  color: var(--teal-900);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-align: left;
}
.ballot-circle {
  width: 58px;
  height: 58px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: transparent;
  color: var(--red);
  box-shadow: none;
  font-size: 1.8rem;
  font-weight: 950;
}

/* HLAS has more transparent canvas around the extracted mark, so render it larger. */
.hero-party-strip img:nth-child(3) {
  height: 122px;
  margin-inline: -12px;
}

/* Contact form: only e-mail and message. */
.contact-form textarea { min-height: 210px; }

@media (max-width: 820px) {
  .candidate-visual img,
  .candidate-pavol .candidate-visual img,
  .candidate-jozef .candidate-visual img,
  .candidate-herman .candidate-visual img {
    left: 50% !important;
    bottom: 16px !important;
    transform: translateX(-50%) !important;
  }
  .hero-party-strip img:nth-child(3) { height: 88px; margin-inline: -8px; }
}

@media (max-width: 540px) {
  .candidate-visual img,
  .candidate-pavol .candidate-visual img,
  .candidate-jozef .candidate-visual img,
  .candidate-herman .candidate-visual img {
    left: 50% !important;
    bottom: 14px !important;
    transform: translateX(-50%) !important;
  }
  .candidate-ballot { gap: 9px; }
  .ballot-label { font-size: .70rem; }
  .ballot-circle {
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
    border-width: 2px;
  }
  .hero-party-strip img:nth-child(3) { height: 66px; margin-inline: -6px; }
}


/* --- v9: requested cleanup --- */
.candidate-visual{padding:0!important;border:0!important;border-radius:0!important;background:linear-gradient(155deg,#0b7188 0%,#063b4b 100%)!important}
.candidate-visual::before,.candidate-visual::after{display:none!important;content:none!important}
.candidate-visual picture{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.candidate-visual img,.candidate-pavol .candidate-visual img,.candidate-jozef .candidate-visual img,.candidate-herman .candidate-visual img{position:absolute!important;left:50%!important;right:auto!important;top:auto!important;bottom:0!important;width:auto!important;height:auto!important;max-width:94%!important;max-height:98%!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-50%)!important;margin:0!important;filter:drop-shadow(0 20px 22px rgba(0,0,0,.22))}
.candidate-pavol .candidate-visual img{max-width:92%!important;max-height:99%!important}.candidate-jozef .candidate-visual img{max-width:90%!important}.candidate-herman .candidate-visual img{max-width:94%!important}
.candidate-ballot{display:inline-flex!important;align-items:center!important;gap:12px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.ballot-label{min-width:0!important;color:var(--teal-900)!important;font-size:.78rem!important;font-weight:950!important;letter-spacing:.10em!important;text-transform:uppercase!important;text-align:left!important}.ballot-circle{width:58px!important;height:58px!important;display:grid!important;place-items:center!important;border:3px solid var(--red)!important;border-radius:50%!important;background:transparent!important;color:var(--red)!important;box-shadow:none!important;font-size:1.8rem!important;font-weight:950!important}
.hero-party-strip img:nth-child(3){height:126px!important;margin-inline:-12px!important}
.campaign-band{background:var(--red)!important}.campaign-band p{color:var(--white)!important;font-size:clamp(1.3rem,3vw,2.6rem)!important;letter-spacing:.055em!important}.campaign-line{background:rgba(255,255,255,.45)!important}
@media(max-width:820px){.candidate-visual img,.candidate-pavol .candidate-visual img,.candidate-jozef .candidate-visual img,.candidate-herman .candidate-visual img{left:50%!important;bottom:0!important;max-width:88%!important;max-height:98%!important;transform:translateX(-50%)!important}.candidate-pavol .candidate-visual img{max-width:86%!important}.hero-party-strip img:nth-child(3){height:92px!important;margin-inline:-7px!important}}
@media(max-width:540px){.candidate-visual img,.candidate-pavol .candidate-visual img,.candidate-jozef .candidate-visual img,.candidate-herman .candidate-visual img{max-width:92%!important;max-height:98%!important}.ballot-circle{width:48px!important;height:48px!important;border-width:2px!important;font-size:1.45rem!important}.hero-party-strip img:nth-child(3){height:68px!important;margin-inline:-5px!important}}


/* --- v10 requested refinements --- */
/* Hero: one clean slogan, wider line length and more breathing room. */
.hero-copy-centered {
  max-width: 1180px !important;
  width: 100%;
  padding-top: 138px !important;
  padding-bottom: 86px !important;
}
.hero-copy-centered h1,
.hero h1 {
  max-width: 1140px !important;
  margin-inline: auto !important;
  font-size: clamp(3.1rem, 5.6vw, 6.5rem) !important;
  line-height: 1.00 !important;
  letter-spacing: -.052em !important;
  text-wrap: balance;
}
.hero-copy-centered h1::after {
  margin-left: auto !important;
  margin-right: auto !important;
}
.hero-lead {
  max-width: 900px !important;
  margin-top: 30px !important;
  line-height: 1.62 !important;
}

/* Candidate image scaling: Pavol as supplied, Jozef slightly smaller, Herman larger. */
.candidate-pavol .candidate-visual img {
  max-width: 94% !important;
  max-height: 100% !important;
}
.candidate-jozef .candidate-visual img {
  max-width: 80% !important;
  max-height: 94% !important;
}
.candidate-herman .candidate-visual img {
  max-width: 100% !important;
  max-height: 100% !important;
}

/* Clean HLAS mark: use its newly cropped canvas and give it equivalent visual weight. */
.hero-party-strip img:nth-child(3) {
  height: 104px !important;
  margin-inline: 0 !important;
}

@media (max-width: 820px) {
  .hero-copy-centered {
    padding-top: 92px !important;
    padding-bottom: 64px !important;
  }
  .hero-copy-centered h1,
  .hero h1 {
    max-width: 760px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: clamp(3rem, 11vw, 5.8rem) !important;
    line-height: 1.02 !important;
  }
  .hero-copy-centered h1::after {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hero-lead {
    max-width: 680px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .candidate-jozef .candidate-visual img { max-width: 76% !important; }
  .candidate-herman .candidate-visual img { max-width: 94% !important; }
  .hero-party-strip img:nth-child(3) { height: 76px !important; }
}

@media (max-width: 540px) {
  .hero-copy-centered h1,
  .hero h1 {
    font-size: clamp(2.65rem, 13.5vw, 4.25rem) !important;
    line-height: 1.03 !important;
  }
  .candidate-jozef .candidate-visual img { max-width: 80% !important; }
  .candidate-herman .candidate-visual img { max-width: 98% !important; }
  .hero-party-strip img:nth-child(3) { height: 56px !important; }
}


/* --- v11 alignment + HLAS outline fix --- */
/* These portraits are asymmetrical source cutouts. Shift the image itself so the face,
   not the transparent canvas/shoulder width, is visually centered in the photo panel. */
.candidate-jozef .candidate-visual img {
  left: 54% !important;
  transform: translateX(-50%) !important;
}
.candidate-herman .candidate-visual img {
  left: 56% !important;
  transform: translateX(-50%) !important;
}

/* The HLAS asset now includes safe transparent padding around the full speech-bubble line. */
.hero-party-strip img:nth-child(3) {
  object-fit: contain !important;
  height: 108px !important;
  margin-inline: 0 !important;
}

@media (max-width: 820px) {
  .candidate-jozef .candidate-visual img { left: 54% !important; }
  .candidate-herman .candidate-visual img { left: 56% !important; }
  .hero-party-strip img:nth-child(3) { height: 80px !important; }
}
@media (max-width: 540px) {
  .candidate-jozef .candidate-visual img { left: 53% !important; }
  .candidate-herman .candidate-visual img { left: 55% !important; }
  .hero-party-strip img:nth-child(3) { height: 60px !important; }
}


/* --- v11 final visual centering --- */
.candidate-jozef .candidate-visual img {
  left: 61% !important;
}
.candidate-herman .candidate-visual img {
  left: 64% !important;
}
@media (max-width: 820px) {
  .candidate-jozef .candidate-visual img { left: 59% !important; }
  .candidate-herman .candidate-visual img { left: 62% !important; }
}
@media (max-width: 540px) {
  .candidate-jozef .candidate-visual img { left: 58% !important; }
  .candidate-herman .candidate-visual img { left: 60% !important; }
}


/* --- v12 alignment pass --- */
/* Smaller, equal photo rectangles for all three candidates. */
.candidate,
.candidate:nth-child(even) {
  grid-template-columns: 360px minmax(0,1fr) !important;
  min-height: 470px !important;
}
.candidate:nth-child(even) {
  grid-template-columns: minmax(0,1fr) 360px !important;
}
.candidate-visual {
  min-height: 470px !important;
  height: 470px !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: linear-gradient(155deg,#0b7188 0%,#063b4b 100%) !important;
}
.candidate-visual::before,
.candidate-visual::after {
  display:none !important;
  content:none !important;
}
.candidate-visual picture {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
}
.candidate-visual img,
.candidate-pavol .candidate-visual img,
.candidate-jozef .candidate-visual img,
.candidate-herman .candidate-visual img {
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  top:50% !important;
  bottom:auto !important;
  width:92% !important;
  height:92% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:translate(-50%,-50%) !important;
  margin:0 !important;
}
/* The normalized source canvases already align subject height and center. */

/* Exact PDF-extracted HLAS logo: don't compensate with negative margins. */
.hero-party-strip img:nth-child(3) {
  height: 104px !important;
  margin-inline: 0 !important;
  object-fit: contain !important;
}

@media (max-width: 1060px) {
  .candidate,
  .candidate:nth-child(even) {
    grid-template-columns: 320px minmax(0,1fr) !important;
  }
  .candidate:nth-child(even) {
    grid-template-columns:minmax(0,1fr) 320px !important;
  }
  .candidate-visual { height:440px !important; min-height:440px !important; }
}
@media (max-width:820px) {
  .candidate,
  .candidate:nth-child(even) {
    grid-template-columns:1fr !important;
  }
  .candidate:nth-child(even) .candidate-visual { order:0 !important; }
  .candidate-visual { height:430px !important; min-height:430px !important; }
  .candidate-visual img,
  .candidate-pavol .candidate-visual img,
  .candidate-jozef .candidate-visual img,
  .candidate-herman .candidate-visual img {
    width:88% !important;
    height:88% !important;
  }
  .hero-party-strip img:nth-child(3) { height:76px !important; }
}
@media (max-width:540px) {
  .candidate-visual { height:360px !important; min-height:360px !important; }
  .candidate-visual img,
  .candidate-pavol .candidate-visual img,
  .candidate-jozef .candidate-visual img,
  .candidate-herman .candidate-visual img {
    width:90% !important;
    height:90% !important;
  }
  .hero-party-strip img:nth-child(3) { height:58px !important; }
}


/* --- v13: photos fill the complete candidate rectangle --- */
.candidate-visual picture {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}
.candidate-visual img,
.candidate-pavol .candidate-visual img,
.candidate-jozef .candidate-visual img,
.candidate-herman .candidate-visual img {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  transform: none !important;
  margin: 0 !important;
}


/* --- v14: jemné horizontálne posunutie portrétov --- */
.candidate-jozef .candidate-visual img {
  object-position: 42% top !important;
}
.candidate-herman .candidate-visual img {
  object-position: 40% top !important;
}


/* --- v15: rovnaké horizontálne osadenie všetkých kandidátov --- */
.candidate-visual img,
.candidate-pavol .candidate-visual img,
.candidate-jozef .candidate-visual img,
.candidate-herman .candidate-visual img {
  object-position: 10% top !important;
}


/* --- v16: completed Herman portrait --- */
.candidate-herman .candidate-visual img {
  object-position: 10% top !important;
}


/* --- v17: responsive candidate photos without any cropping --- */

/*
  The photo panel itself scales with the viewport.
  It keeps a square aspect ratio, so the entire block grows/shrinks together.
*/
.candidate-visual {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

/*
  The whole candidate is always visible.
  No cover/cropping: the cutout is scaled proportionally inside the square.
  Requested 5% top offset is applied here.
*/
.candidate-visual picture {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

.candidate-visual img,
.candidate-pavol .candidate-visual img,
.candidate-jozef .candidate-visual img,
.candidate-herman .candidate-visual img {
  position: absolute !important;
  top: 15% !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;

  width: 100% !important;
  height: 95% !important;
  max-width: 100% !important;
  max-height: 95% !important;

  object-fit: contain !important;
  object-position: center top !important;

  transform: none !important;
  margin: 0 !important;
}

/*
  Prevent old breakpoint rules from giving the picture a fixed pixel height.
  The square itself now determines the height everywhere.
*/
@media (max-width: 1100px) {
  .candidate-visual {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

@media (max-width: 820px) {
  .candidate-visual {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .candidate-visual img,
  .candidate-pavol .candidate-visual img,
  .candidate-jozef .candidate-visual img,
  .candidate-herman .candidate-visual img {
    top: 5% !important;
    width: 100% !important;
    height: 95% !important;
    max-width: 100% !important;
    max-height: 95% !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}

@media (max-width: 540px) {
  .candidate-visual {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .candidate-visual img,
  .candidate-pavol .candidate-visual img,
  .candidate-jozef .candidate-visual img,
  .candidate-herman .candidate-visual img {
    top: 5% !important;
    width: 100% !important;
    height: 95% !important;
    max-width: 100% !important;
    max-height: 95% !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}


/* v18: mobile – keep portraits touching the bottom edge of their square frame.
   The image deliberately extends 5% beyond the lower edge, which is clipped
   by .candidate-visual (overflow: hidden). Desktop stays unchanged. */
@media (max-width: 820px) {
  .candidate-visual picture {
    overflow: hidden !important;
  }
  .candidate-visual img,
  .candidate-pavol .candidate-visual img,
  .candidate-jozef .candidate-visual img,
  .candidate-herman .candidate-visual img {
    top: 5% !important;
    bottom: auto !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }
}


/* --- v20: candidate videos --- */
.candidate-video {
  width: min(100%, 620px);
  margin-top: 28px;
  overflow: hidden;
  border-radius: 18px;
  background: #031820;
  box-shadow: 0 18px 42px rgba(0, 33, 44, .14);
}
.candidate-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #031820;
}
@media (max-width: 540px) {
  .candidate-video {
    margin-top: 22px;
    border-radius: 14px;
  }
}
