@scope (#kandidati) {
:scope {
  --wine: #8a1730;
  --wine-dark: #6f1227;
  --ink: #171316;
  --muted: #655e62;
  --paper: #f4f4f4;
  --line: #e1dadd;
  --soft-wine: #f3e8ec;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Arial, Helvetica, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--wine); outline-offset: 5px; }
.container { width: min(calc(100% - 32px), 1180px); margin-inline: auto; }
.wine { color: var(--wine); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 18px; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: 0 0 auto; }
.brand img { width: 112px; height: auto; max-height: 64px; object-fit: contain; }
.desktop-nav { display: none; }
.mobile-menu summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; font-weight: 800; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { font-size: 1rem; }
.mobile-menu[open] summary { background: var(--soft-wine); color: var(--wine); }
.mobile-menu nav { position: absolute; right: 16px; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); display: grid; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 36px #17131617; }
.mobile-menu nav a { padding: 12px; border-radius: 9px; font-size: .9rem; font-weight: 700; }
.mobile-menu nav a:hover, .mobile-menu [aria-current] { background: var(--soft-wine); color: var(--wine); }
.mobile-menu nav a.nav-app { color: #fff; background: var(--wine); }
.page-main { padding-bottom: 56px; }
.page-intro { padding: 46px 0 26px; }
.eyebrow { margin: 0 0 14px; color: var(--wine); font-size: .72rem; line-height: 1.35; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
#candidates-title { margin: 0; font-size: clamp(2.6rem, 9.8vw, 5.4rem); line-height: .98; font-weight: 900; letter-spacing: -.055em; overflow-wrap: break-word; }
.intro-text { max-width: 630px; margin: 22px 0; color: var(--muted); font-size: 1.03rem; line-height: 1.65; }
.list-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; font-size: .75rem; font-weight: 700; color: var(--muted); }
.list-meta span { color: var(--wine); }
.candidate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.candidate-list > li { min-width: 0; }
.order-pill { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--wine); color: #fff; font-size: .75rem; letter-spacing: 0; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 28px; padding: 13px 23px; border-radius: 999px; color: #fff; background: var(--wine); font-size: .87rem; line-height: 1.4; font-weight: 800; }
.button:hover { background: var(--wine-dark); }
.candidate-card { position: relative; display: grid; gap: 22px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px #17131608; }
.candidate-card--top { border: 2px solid #cbaeb7; box-shadow: 0 12px 34px #6f12270d; }
.candidate-order { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; min-width: 38px; height: 38px; padding-inline: 8px; border-radius: 999px; background: var(--wine); color: #fff; font-size: .72rem; font-weight: 800; box-shadow: 0 5px 16px #17131628; }
.candidate-photo { width: 100%; aspect-ratio: 1; border-radius: 18px; object-fit: cover; object-position: center top; background: #fff; }
.candidate-copy { min-width: 0; }
.candidate-kicker { margin: 0 0 8px; color: var(--wine); font-size: .72rem; line-height: 1.35; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.candidate-card h2 { margin: 0; padding-right: 42px; font-size: clamp(1.55rem, 7vw, 2.35rem); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: break-word; }
.candidate-role { margin: 9px 0 0; color: var(--wine); font-size: .92rem; font-weight: 800; }
.candidate-bio { margin-top: 22px; color: #494247; font-size: .96rem; line-height: 1.72; }
.candidate-bio p { margin: 0 0 17px; }
.candidate-bio p:last-child { margin-bottom: 0; }
.candidate-bio strong { color: var(--wine); }
.candidate-support-details { grid-column: 1 / -1; margin-top: 2px; }
.candidate-support-details > summary { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border: 1px solid #c8a3af; border-radius: 999px; color: var(--wine); background: #fff; font-size: .83rem; font-weight: 900; cursor: pointer; list-style: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.candidate-support-details > summary::-webkit-details-marker { display: none; }
.candidate-support-details > summary::after { content: "+"; font-size: 1.15rem; line-height: 1; }
.candidate-support-details > summary:hover { color: #fff; border-color: var(--wine); background: var(--wine); }
.candidate-support-details[open] > summary { margin-bottom: 16px; }
.candidate-support-details[open] > summary::after { content: "−"; }
.candidate-support { display: grid; gap: 22px; padding: 20px; border: 1px solid #dec7cf; border-radius: 20px; background: var(--soft-wine); }
.candidate-support-copy { min-width: 0; }
.candidate-support-kicker { margin: 0 0 8px; color: var(--wine); font-size: .72rem; line-height: 1.35; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.candidate-support h3 { margin: 0; color: var(--ink); font-size: clamp(1.4rem, 6vw, 2.05rem); line-height: 1.12; letter-spacing: -.035em; }
.candidate-support-copy > p:not(.candidate-support-kicker) { margin: 14px 0 18px; color: #494247; }
.candidate-support-video { position: relative; display: block; min-height: 210px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: #171316; color: #fff; box-shadow: 0 10px 24px #17131624; }
.candidate-support-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(23,19,22,.82) 100%); }
.candidate-support-video img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; transition: transform .25s ease; }
.candidate-support-video:hover img { transform: scale(1.025); }
.candidate-support-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; padding-left: 4px; border-radius: 50%; background: rgba(138,23,48,.94); transform: translate(-50%,-50%); box-shadow: 0 8px 22px #17131655; }
.candidate-support-video-label { position: absolute; z-index: 1; right: 17px; bottom: 14px; left: 17px; font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.candidate-support-photo { margin: 0; }
.candidate-support-photo img { width: 100%; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px #17131617; }
.candidate-support-photo figcaption { margin-top: 8px; color: var(--muted); font-size: .75rem; }
.candidate-card--brief { align-items: center; }
.site-footer { padding: 36px 0; color: #fff; background: #1c181b; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-inner strong { font-size: 1.12rem; }
.footer-inner p { margin: 5px 0 0; font-size: .85rem; color: #c7bfc3; }
.footer-inner > a { color: #efc8d3; font-size: .88rem; font-weight: 700; }
.back-link { font-size: .79rem; font-weight: 800; color: var(--wine); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; color: var(--muted); font-size: .77rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.profile-heading { padding: 32px 0; }
.profile-heading .eyebrow { display: flex; align-items: center; gap: 12px; }
.profile-role { margin: 17px 0 0; color: var(--wine); font-size: 1.08rem; font-weight: 700; }
.profile-layout { display: grid; gap: 28px; align-items: start; }
.profile-picture { min-width: 0; margin: 0; }
.profile-picture img { width: 100%; border-radius: 18px; border: 1px solid var(--line); object-fit: contain; }
.profile-text { min-width: 0; font-size: 1.05rem; line-height: 1.8; }
.profile-text h2 { margin: 0 0 22px; font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.12; letter-spacing: -.035em; }
.profile-text p { margin: 0 0 26px; }
.profile-text strong { color: var(--wine); }
.hashtag { display: inline-block; color: var(--wine); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.profile-bottom { display: flex; flex-direction: column; align-items: stretch; gap: 24px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.profile-bottom p { margin: 0; color: var(--muted); font-size: .82rem; }
.profile-bottom strong, .profile-bottom p span { display: block; }
.profile-bottom strong { margin-top: 4px; color: var(--ink); }
.profile-bottom p a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 620px) {
  .container { width: min(calc(100% - 48px), 1180px); }
  .candidate-card { grid-template-columns: minmax(170px, 230px) minmax(0, 1fr); gap: 26px; padding: 24px; }
  .candidate-card h2 { padding-right: 0; }
  .candidate-card--brief { min-height: 278px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .profile-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 920px) {
  .page-intro { padding-top: 66px; padding-bottom: 36px; }
  .candidate-list { gap: 24px; }
  .candidate-card { grid-template-columns: 210px minmax(0, 1fr); gap: 34px; padding: 30px; }
  .candidate-card--top { grid-template-columns: 230px minmax(0, 1fr); }
  .candidate-card--brief { min-height: 312px; }
  .candidate-bio { font-size: 1rem; line-height: 1.76; }
  .candidate-support { grid-template-columns: minmax(0, .86fr) minmax(340px, 1.14fr); gap: 34px; align-items: start; padding: 28px; }
  .candidate-support-video { min-height: 240px; }
  .profile-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; }
  .profile-text { font-size: 1.07rem; }
  .profile-heading { padding-block: 42px; }
  .page-main { padding-bottom: 82px; }
}
@media (min-width: 1100px) {
  .header-inner { min-height: 96px; }
  .brand img { width: 144px; max-height: 80px; }
  .mobile-menu { display: none; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(8px, 1vw, 15px); }
  .desktop-nav a { padding-block: 9px; font-size: clamp(.66rem,.75vw,.74rem); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid transparent; white-space: nowrap; }
  .desktop-nav a:hover, .desktop-nav [aria-current] { color: var(--wine); border-color: var(--wine); }
  .desktop-nav > a.nav-app { padding: 9px 13px; border: 0; border-radius: 999px; color: #fff; background: var(--wine); }
  .desktop-nav > a.nav-app:hover { color: #fff; background: var(--wine-dark); }
  .desktop-more { position: relative; }
  .desktop-more > summary { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: clamp(.66rem,.75vw,.74rem); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; list-style: none; white-space: nowrap; }
  .desktop-more > summary::-webkit-details-marker { display: none; }
  .desktop-more > summary::after { content: "⌄"; font-size: .85rem; }
  .desktop-more[open] > summary { color: var(--wine); }
  .desktop-more[open] > summary::after { content: "⌃"; }
  .desktop-more-menu { position: absolute; z-index: 30; top: calc(100% + 18px); right: 0; width: 220px; display: grid; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 14px 36px #17131617; }
  .desktop-more-menu a { padding: 10px 12px; border: 0; border-radius: 9px; }
  .desktop-more-menu a:hover { border: 0; background: var(--soft-wine); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

}
#kandidati .candidate-card{scroll-margin-top:110px}
