@font-face{font-family:'Poppins';font-weight:600;src:url('assets/poppins-semibold.ttf') format('truetype');font-display:swap}
@font-face{font-family:'Poppins';font-weight:700;src:url('assets/poppins-bold.ttf') format('truetype');font-display:swap}
@font-face{font-family:'Open Sans';font-weight:300 800;src:url('assets/open-sans.ttf') format('truetype');font-display:swap}
:root{--navy:#0d2352;--blue:#033377;--yellow:#f8d845;--light:#e8f0fb;--line:#c5d7f2;color:#111827;background:var(--light);font:20px/1.45 'Open Sans',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}a{color:var(--navy);text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a64b00;outline-offset:4px}[hidden]{display:none!important}.shell{width:min(1140px,calc(100% - 48px));margin:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-90px;left:15px;background:var(--yellow);color:var(--navy);padding:12px;z-index:20}.skip-link:focus{top:12px}
.masthead{background:var(--blue);color:white}.site-header{min-height:155px;display:flex;align-items:center;border-bottom:0}.brand{display:flex;align-items:center;gap:24px;text-decoration:none}.krajina-logo{width:155px;height:155px;object-fit:contain;display:block}.brand-info{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.team-logo{width:290px;height:auto;display:block}.site-domain{font-size:19px;font-weight:600;color:var(--yellow);letter-spacing:.3px}
.hero{display:grid;grid-template-columns:1fr 300px;align-items:center;gap:35px;padding-top:12px}.hero-copy{padding:18px 0 30px}h1,h2,h3{font-family:'Poppins',Arial,sans-serif;font-weight:700;margin:0}h1{font-size:55px;line-height:1.2;letter-spacing:-1.5px}h1 span{color:var(--yellow)}.hero-copy p{margin:15px 0 0;font-size:21px;line-height:1.5}.hero-portrait{display:block;position:static;width:100%;height:auto;max-height:260px;object-fit:contain;object-position:center bottom;align-self:end}.has-results .hero{display:none}
main{padding-top:24px}.address-card{background:white;border:1px solid var(--line);padding:24px 28px;border-radius:12px;margin-bottom:26px}h2{font-size:25px;line-height:1.35;color:var(--navy);letter-spacing:-.5px}.address-card h2{margin-bottom:18px}.address-card form{display:flex;gap:12px;align-items:flex-start}.combobox-wrap{position:relative;flex:1;min-width:0}input[type=text]{width:100%;height:58px;border:1.5px solid #87a8d0;border-radius:8px;padding:12px 16px;background:white;color:#111827;font-size:20px}input::placeholder{color:#52647e;opacity:1}.button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:58px;border-radius:8px;border:1.5px solid var(--navy);padding:12px 20px;font-size:18px;font-weight:700;line-height:1.35;white-space:nowrap}.primary{background:var(--yellow);border-color:var(--yellow);color:var(--navy)}.primary:hover{background:#ffe77b;border-color:#ffe77b}.secondary{color:var(--navy);background:white}.secondary:hover{background:#dce9fc}
.district-buttons{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:16px}.district-buttons button{border:1px solid #adc5e5;background:#f4f8fe;color:var(--navy);min-height:48px;border-radius:7px;font-size:18px;font-weight:600;padding:9px}.district-buttons button:hover{background:#dce9fc}.district-buttons button[aria-pressed=true]{background:#1a4fa0;border-color:#1a4fa0;color:white}.error{color:#9f2929;font-size:17px;font-weight:600;margin:15px 0 0;line-height:1.5}.street-options{position:absolute;left:0;right:0;top:calc(100% + 5px);list-style:none;padding:5px;margin:0;max-height:290px;overflow:auto;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 10px 24px #0d235220;z-index:10}.street-options button{width:100%;text-align:left;border:0;border-radius:5px;background:white;color:#111827;min-height:50px;padding:12px 15px;font-size:19px}.street-options button:hover,.street-options button[aria-selected=true]{background:var(--light)}.no-street{padding:12px;font-size:17px;color:#52647e}
.results-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.results-header .button{min-height:48px;font-size:16px;padding:10px 16px}.candidate-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.candidate-group{background:white;border:1px solid var(--line);border-radius:10px;padding:19px 20px;min-width:0}.candidate-group h3{font-size:19px;line-height:1.4;color:var(--navy);margin:0 0 13px;padding-bottom:12px;border-bottom:2px solid var(--line)}.candidate-group ul{list-style:none;padding:0;margin:0}.candidate-group li{display:flex;align-items:center;gap:12px;min-height:44px;padding:5px 0;font-size:19px;line-height:1.4}.candidate-number{display:inline-grid;place-items:center;flex-shrink:0;min-width:31px;height:31px;background:var(--navy);border-radius:50%;color:white;font-size:16px;font-weight:700;padding:0 3px}.candidate-group li a{font-weight:600;text-decoration:none;overflow-wrap:anywhere;padding:3px 0}.candidate-group li a:hover{text-decoration:underline}.candidate-group.mayor{grid-column:1/-1;display:flex;align-items:center;gap:30px;padding:15px 20px;border-left:4px solid #d4222a}.candidate-group.mayor h3{font-size:19px;border:0;padding:0;margin:0;flex-shrink:0}.candidate-group.mayor li{font-size:22px;padding:0;min-height:35px}.print-extra{margin-top:20px;color:#52647e;font-size:14px}.print-extra label{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.print-extra input{width:20px;height:20px;accent-color:var(--navy);margin:0}.site-footer{display:flex;justify-content:space-between;gap:20px;color:#52647e;font-size:12px;padding:25px 0 24px}.print-only{display:none}
@media(max-width:950px){.shell{width:calc(100% - 36px)}.candidate-groups{gap:12px}.candidate-group{padding:17px 14px}.candidate-group li{font-size:17px;gap:8px}.candidate-group h3{font-size:17px}.candidate-number{min-width:28px;height:28px;font-size:14px}}
@media(max-width:700px){.shell{width:calc(100% - 28px)}.site-header{min-height:110px}.brand{gap:16px}.krajina-logo{width:110px;height:110px}.team-logo{width:190px}.site-domain{font-size:15px}.brand-info{gap:6px}.hero{grid-template-columns:minmax(0,1fr) 130px;gap:8px;padding-top:8px}.hero-copy{padding:16px 0 25px}h1{font-size:37px;letter-spacing:-1px;white-space:nowrap}.hero-copy p{font-size:16px;margin-top:12px;max-width:220px}.hero-portrait{max-height:170px;width:100%;height:auto}main{padding-top:18px}.address-card{padding:20px 17px;margin-bottom:22px}.address-card h2{font-size:21px;margin-bottom:15px}.address-card form{display:block}.address-card .button{width:100%;margin-top:11px;font-size:18px}input[type=text]{font-size:18px;height:56px}.district-buttons{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.district-buttons button{font-size:17px;min-height:49px}.results-header{align-items:flex-start;gap:14px;flex-direction:column;margin-bottom:15px}.results-header h2{font-size:24px}.results-header .button{font-size:16px;min-height:48px}.candidate-groups{grid-template-columns:1fr;gap:14px}.candidate-group{padding:19px 18px}.candidate-group h3{font-size:20px}.candidate-group li{font-size:20px;gap:13px;min-height:46px}.candidate-number{min-width:32px;height:32px;font-size:16px}.candidate-group.mayor{display:block;padding:18px}.candidate-group.mayor h3{margin-bottom:12px;font-size:20px}.candidate-group.mayor li{font-size:22px}.print-extra{font-size:14px}.site-footer{font-size:11px;gap:12px;flex-wrap:wrap}}
@media(max-width:370px){h1{font-size:32px}.hero{grid-template-columns:minmax(0,1fr) 105px}.hero-copy p{font-size:15px}.hero-portrait{max-height:150px}.team-logo{width:165px}.krajina-logo{width:95px;height:95px}}
@media print{@page{size:A4;margin:12mm}body{background:white;color:black;font:11pt/1.25 Arial,Helvetica,sans-serif}.screen-only,.skip-link{display:none!important}.print-only{display:block}.print-page{break-after:page}.print-page:last-child{break-after:auto}.print-header{display:flex;align-items:center;justify-content:space-between;gap:6mm;border-bottom:2px solid black;padding-bottom:5mm;margin-bottom:5mm}.print-header h1{font:700 23pt/1.1 Arial,Helvetica,sans-serif;letter-spacing:-.5px;color:black;white-space:normal;margin:0 0 2mm}.print-header p{font-size:10pt;margin:0}.print-header>strong{font-size:11pt;line-height:1.4;text-align:right;white-space:nowrap}.print-grid{display:grid;grid-template-columns:1fr 1fr;gap:6mm}.print-grid .candidate-group{border:1px solid #777;border-radius:0;padding:4mm;break-inside:avoid;background:white;display:block}.print-grid .candidate-group+.candidate-group{margin-top:5mm}.print-grid .candidate-group h3{font:700 12pt/1.3 Arial,Helvetica,sans-serif;color:black;border-bottom:1px solid #777;padding-bottom:2mm;margin:0 0 2mm}.print-grid .candidate-group li{font:11pt/1.25 Arial,Helvetica,sans-serif;min-height:0;padding:.7mm 0;gap:3mm;color:black}.print-grid .candidate-number{background:white;color:black;border:1px solid black;min-width:6mm;height:6mm;font-size:9pt;padding:0}.print-own-choice{margin-top:5mm;padding-top:4mm;border-top:1px solid black;break-inside:avoid}.print-own-choice h3{font:700 12pt/1.25 Arial,Helvetica,sans-serif;margin:0 0 2mm}.print-own-choice p{font-size:10pt;margin:0 0 4mm}.print-own-choice>div{display:flex;justify-content:space-between;gap:5mm;font-size:10pt}.print-footer{font-size:8pt;margin-top:5mm;border-top:1px solid #aaa;padding-top:3mm;color:#333}.print-question{padding:5mm;border:1px solid #777;margin-bottom:5mm;break-inside:avoid}.print-question h3{font:700 12pt Arial,Helvetica,sans-serif;margin:0 0 3mm}.print-question p{font-size:11pt;line-height:1.45;margin:0 0 4mm}.print-question>div{font-size:10pt;border-top:1px solid #aaa;padding-top:3mm}}

.social-links{display:flex;gap:18px;flex-wrap:wrap}.social-links a{font-size:14px;font-weight:600;min-height:44px;display:inline-flex;align-items:center}.site-footer{align-items:center}

/* Aligned branding and shared council palettes for screen and print. */
.site-header{justify-content:space-between;gap:24px;min-height:140px}.brand{gap:24px}.krajina-logo{width:140px;height:140px}.team-logo{width:280px}.site-domain{font-size:23px;white-space:nowrap}.brand-message{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;color:white;font-size:21px}.brand-message>strong{color:var(--yellow)}.brand-message span strong{color:var(--yellow)}
.street-options button{display:flex;justify-content:space-between;align-items:center;gap:15px}.street-options small{white-space:nowrap;color:#52647e;font-size:14px}.export-buttons{display:flex;gap:10px;flex-wrap:wrap}.results-header{align-items:flex-start}.candidate-group{--card:#e4edff;--accent:#2458a8;background:var(--card);border-color:var(--accent);border-top:5px solid var(--accent)}.candidate-group.mayor{--card:#fff4c3;--accent:#946200;border-left:1px solid var(--accent)}.candidate-group.city{--card:#fbe5e7;--accent:#b62935}.candidate-group.region{--card:#dcf3ed;--accent:#176b55}.candidate-group h3{color:var(--accent);border-color:var(--accent)}.candidate-number{background:var(--accent)}.candidate-name{background:transparent;color:var(--navy);border:0;text-align:left;padding:4px 0;font-weight:600;font-size:inherit;line-height:inherit;overflow-wrap:anywhere}.candidate-name:hover{text-decoration:underline;text-underline-offset:4px}.disclosure{font-size:12px;text-align:right;margin:0}.print-extra{font-size:17px}.referendum-panel{margin-top:20px;border-radius:20px;background:#f2f2fa;overflow:hidden;border:1px solid #bbc6e1}.referendum-header{background:#122c79;color:white;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.referendum-header h2{color:white;font-size:25px}.referendum-header h2 span{color:#f1ba33}.referendum-header p{margin:8px 0 0;font-size:17px}.referendum-header a{color:#f1ba33;white-space:nowrap;font-size:17px;font-weight:700}.referendum-question{margin:20px;background:white;color:#053283;border-radius:20px;padding:24px;box-shadow:3px 5px 12px #122c7912}.referendum-question h3{display:flex;align-items:center;gap:14px;font-size:22px}.referendum-question h3 img{object-fit:contain}.referendum-question p{font-size:18px;line-height:1.6}.referendum-question fieldset{border:0;border-top:1px solid #ccd7ed;padding:16px 0 0;display:flex;gap:22px;flex-wrap:wrap}.referendum-question legend{font-size:16px;font-weight:600;padding-right:12px}.referendum-question label{display:flex;align-items:center;gap:8px;font-size:17px;min-height:44px;cursor:pointer}.referendum-question input{width:22px;height:22px;accent-color:#122c79;margin:0}
.dialog-open{overflow:hidden}#candidate-dialog{width:min(820px,calc(100% - 28px));max-height:90dvh;padding:0;border:0;border-radius:16px;color:#111827;box-shadow:0 25px 100px #0007}#candidate-dialog::backdrop{background:#071838b8}.dialog-close{position:sticky;top:0;z-index:1;display:block;margin:12px 12px 12px auto;background:white;border:1px solid #adc5e5;border-radius:8px;color:var(--navy);min-height:44px;padding:8px 14px;font-size:17px;font-weight:700}.profile-header{background:var(--blue);color:white;display:flex;align-items:center;gap:28px;padding:24px 32px}.profile-header img{width:150px;height:180px;object-fit:contain;object-position:bottom;background:#194e91;border-radius:8px}.profile-header h2{color:white;font-size:27px}.profile-body{padding:20px 32px;font-size:18px;line-height:1.7}.profile-body h3{font-size:23px;color:var(--navy);margin:14px 0}.profile-body h4{font:700 19px/1.5 'Poppins',Arial;margin:24px 0 10px;color:var(--blue)}.profile-body p{margin:12px 0}.profile-source{padding:18px 32px;background:#eef4fd;display:flex;gap:16px;flex-wrap:wrap;font-size:15px}.profile-source a{min-height:44px;display:flex;align-items:center}
@media(max-width:950px){.results-header{flex-direction:column}.site-domain{font-size:19px}.team-logo{width:240px}.brand-message{font-size:19px}}
@media(max-width:700px){.site-header{min-height:115px;gap:10px;flex-wrap:wrap;padding-bottom:12px}.brand{gap:12px}.krajina-logo{width:108px;height:108px}.team-logo{width:190px}.site-domain{margin-left:auto;font-size:17px}.brand-message{padding:12px 0;align-items:flex-start;flex-direction:column;gap:6px;font-size:18px}.export-buttons{width:100%}.export-buttons .button{flex:1;white-space:normal}.street-options button{font-size:17px;padding:12px 9px;gap:8px}.street-options small{font-size:12px}.disclosure{text-align:left;line-height:1.6}.referendum-header{flex-direction:column;align-items:flex-start;padding:20px}.referendum-header h2{font-size:23px}.referendum-question{margin:14px;padding:18px}.referendum-question h3{font-size:20px}.referendum-question p{font-size:17px}.profile-header{padding:20px;gap:18px}.profile-header img{width:100px;height:130px}.profile-header h2{font-size:22px}.profile-body{padding:16px 20px;font-size:17px}.profile-source{padding:16px 20px}.print-extra{font-size:16px}}
@media(max-width:370px){.krajina-logo{width:92px;height:92px}.team-logo{width:165px}.site-header{min-height:100px}}
/* Brand lockup: the two original logos joined into one visual identity. */
.brand{gap:18px}.brand-bridge{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #f8d84588;border-radius:50%;color:var(--yellow);font:600 36px/1 'Poppins',Arial;background:#ffffff08}.site-header{border-bottom:0}.site-domain{position:relative;display:block;padding:13px 22px 17px;border:1px solid #ffffff38;border-radius:14px;background:#092958;box-shadow:0 8px 24px #001d4626;font-size:0}.site-domain::after{content:'';position:absolute;left:22px;right:22px;bottom:8px;height:3px;background:var(--yellow);border-radius:2px}.domain-wordmark{font:700 29px/1.2 'Poppins',Arial;letter-spacing:-1px;color:white}.domain-wordmark>span{color:var(--yellow)}.domain-wordmark small{font:600 21px/1 'Poppins',Arial;letter-spacing:-.5px;color:white}.brand-message{padding:16px 0 2px;justify-content:flex-start}.election-callout{display:inline-flex;align-items:center;gap:20px;border-radius:8px;border-left:4px solid var(--yellow);padding:8px 14px;background:#ffffff0d;font-size:17px}.election-callout>span:first-child{font-weight:700}.election-date strong{font:700 23px/1 'Poppins',Arial;letter-spacing:-.5px;margin-left:5px}
.brand-bridge{border:0;background:none}.brand-bridge svg{display:block;width:100%;height:100%;transform:rotate(-7deg);filter:drop-shadow(0 2px 0 #001d4633)}
.header-home-link{display:block;color:white;text-decoration:none}.header-home-link:focus-visible{outline-offset:-4px}
.candidate-name{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:10px;text-decoration:none}.candidate-name::after{content:'Profil ›';flex-shrink:0;display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid #0d23521f;border-radius:999px;background:#ffffffb3;color:var(--accent);font:600 13px/1.3 'Open Sans',Arial;white-space:nowrap}.candidate-name:hover,.candidate-name:focus-visible{text-decoration:none;color:var(--accent)}.candidate-name:hover::after,.candidate-name:focus-visible::after{background:white;border-color:var(--accent)}
.referendum-panel{border-radius:14px}.referendum-panel .referendum-header{padding:9px 18px;gap:16px}.referendum-panel .referendum-header h2{font-size:20px}.referendum-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.referendum-actions a{font-size:15px}.referendum-toggle{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:8px 14px;border:0;border-radius:8px;background:#f1ba33;color:#122c79;font-size:16px;font-weight:700}.referendum-toggle:hover{background:#ffd264}.referendum-toggle::after{content:'';width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}.referendum-toggle[aria-expanded=true]::after{transform:translateY(2px) rotate(225deg)}
@media(max-width:700px){.referendum-panel .referendum-header{padding:12px 16px;gap:8px}.referendum-panel .referendum-header h2{font-size:18px}.referendum-actions{display:flex;width:auto}.referendum-toggle{font-size:15px;padding:8px 10px}}
.facebook-button{background:#0866ff;border-color:#0866ff;color:white;text-decoration:none}.facebook-button:hover{background:#0754d2;border-color:#0754d2}.facebook-button>span{font:700 22px/1 Arial}.export-buttons{justify-content:flex-end}
.seat-count{display:block;margin-top:6px;font:600 14px/1.5 'Open Sans',Arial;letter-spacing:0}.district-seat-count{display:block;margin-top:3px;font-size:13px;line-height:1.4;font-weight:400}.district-buttons button{padding-top:10px;padding-bottom:10px}
.election-callout{flex-wrap:wrap;column-gap:16px;row-gap:6px}.election-date strong{margin-left:0}
@media print{.print-grid .seat-count{font:400 8.5pt/1.3 Arial;margin-top:1mm}}
/* One continuous profile surface with a visible, draggable scrollbar. */
#candidate-dialog{width:min(980px,calc(100% - 32px));max-height:92dvh;overflow:hidden;border-radius:20px;background:#f4f7fc}
#profile-content{max-height:92dvh;overflow-x:hidden;overflow-y:auto;scrollbar-width:auto;scrollbar-color:#2458a8 #e4edff;scrollbar-gutter:stable;overscroll-behavior:contain;outline-offset:-4px}
#profile-content::-webkit-scrollbar{width:16px}
#profile-content::-webkit-scrollbar-track{background:#e4edff}
#profile-content::-webkit-scrollbar-thumb{background:#2458a8;border:3px solid #e4edff;border-radius:10px}
#profile-content::-webkit-scrollbar-thumb:hover{background:#033377}
.dialog-close{position:absolute;top:16px;right:16px;margin:0;width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;border:1px solid #ffffff55;border-radius:50%;color:white;background:#092658;box-shadow:none;font:400 32px/1 Arial;z-index:5}.dialog-close:hover{background:#244f87}.dialog-close:focus-visible{outline-color:var(--yellow);outline-offset:3px}
.profile-header{position:relative;display:grid;grid-template-columns:230px minmax(0,1fr);align-items:center;gap:34px;padding:38px 56px 30px 36px;min-height:310px;background:linear-gradient(115deg,#033377 15%,#164a91 100%);overflow:hidden;border-bottom:5px solid var(--yellow)}
.profile-header::before{content:'';position:absolute;width:350px;height:350px;border:1px solid #ffffff18;border-radius:50%;left:-70px;top:-55px;pointer-events:none}
.profile-portrait{position:relative;align-self:end;display:flex;align-items:flex-end;justify-content:center;min-width:0}
.profile-header .profile-portrait img{display:block;width:100%;height:245px;object-fit:contain;object-position:center bottom;border-radius:0;background:none;filter:drop-shadow(0 12px 18px #001d4630)}
.profile-identity{position:relative;min-width:0}.profile-header h2{font-size:32px;line-height:1.25;letter-spacing:-.8px;overflow-wrap:break-word}.profile-occupation{margin:14px 0 0;color:#ecf3ff;font-size:18px;line-height:1.6}
.profile-socials{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.profile-socials a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #ffffff35;border-radius:8px;background:#ffffff0c;color:white;text-decoration:none;font-size:14px;font-weight:600}.profile-socials a:hover{background:#ffffff20}.profile-socials a>span:last-child{font-size:15px;color:var(--yellow)}.social-icon{font:700 16px/1 Arial;min-width:16px;text-align:center}
.profile-details{padding:26px 36px 32px}.profile-candidacies{display:flex;gap:10px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid #cbd9ed}.profile-candidacy{--card:#e4edff;--accent:#2458a8;display:flex;align-items:center;gap:10px;background:var(--card);padding:12px 14px;border-radius:10px;font-size:15px;line-height:1.4;color:var(--accent);font-weight:700;flex:1 1 230px}.profile-candidacy.mayor{--card:#fff4c3;--accent:#946200}.profile-candidacy.city{--card:#fbe5e7;--accent:#b62935}.profile-candidacy.region{--card:#dcf3ed;--accent:#176b55}.profile-candidacy .candidate-number{min-width:38px;height:38px;font-size:20px}
.profile-body{padding:0;font-size:18px;line-height:1.75}.profile-section{margin-top:28px}.profile-section>h3{display:flex;align-items:center;gap:12px;font-size:23px;margin:0 0 18px}.profile-section>h3::before{content:'';display:block;width:7px;height:25px;flex-shrink:0;background:var(--yellow);border-radius:3px}.profile-body p{margin:12px 0}.profile-topic{display:grid;grid-template-columns:30px minmax(0,1fr);gap:15px;margin:15px 0;background:white;border:1px solid #dae4f1;border-radius:12px;padding:22px}.topic-number{display:grid;place-items:center;width:30px;height:30px;background:#e8f0fb;color:#2458a8;border-radius:50%;font-size:15px;font-weight:700}.profile-topic h4{margin:0 0 10px;font-size:19px;line-height:1.5}.profile-topic p:last-child{margin-bottom:0}
@media(max-width:950px){.brand{gap:12px}.brand-bridge{width:36px;height:36px;flex-basis:36px;font-size:30px}.team-logo{width:220px}.krajina-logo{width:130px;height:130px}.domain-wordmark{font-size:24px}.domain-wordmark small{font-size:18px}.site-domain{padding:12px 16px 16px}.site-domain::after{left:16px;right:16px}}
@media(max-width:700px){.site-header{justify-content:space-between;row-gap:0}.brand{gap:10px}.krajina-logo{width:96px;height:96px}.brand-bridge{width:28px;height:28px;flex-basis:28px;font-size:24px}.team-logo{width:165px}.site-domain{margin-left:auto;margin-bottom:5px}.domain-wordmark{font-size:23px}.domain-wordmark small{font-size:17px}.brand-message{padding:12px 0 2px;gap:0}.election-callout{gap:12px;font-size:16px;padding:9px 12px}.election-date strong{font-size:21px}.profile-header{grid-template-columns:110px minmax(0,1fr);gap:18px;padding:62px 20px 24px;min-height:245px}.profile-header .profile-portrait img{height:165px}.profile-header h2{font-size:24px;letter-spacing:-.5px}.profile-occupation{font-size:16px;margin-top:10px}.profile-socials{margin-top:14px;gap:7px}.profile-socials a{font-size:13px;padding:7px 9px;gap:6px}.profile-details{padding:20px}.profile-candidacy{flex-basis:100%;font-size:15px;padding:10px 12px}.profile-candidacies{gap:8px;padding-bottom:20px}.profile-body{font-size:17px;line-height:1.7}.profile-section>h3{font-size:21px}.profile-topic{padding:16px;gap:10px;grid-template-columns:26px minmax(0,1fr)}.topic-number{width:26px;height:26px;font-size:14px}.profile-topic h4{font-size:18px}.dialog-close{top:12px;right:12px}#candidate-dialog{width:calc(100% - 20px);border-radius:15px}}
@media(max-width:370px){.team-logo{width:150px}.krajina-logo{width:90px;height:90px}.brand{gap:8px}.profile-header{grid-template-columns:1fr;padding:58px 20px 24px;gap:18px}.profile-portrait{justify-self:center;width:130px}.profile-header .profile-portrait img{height:155px}.profile-header h2{font-size:25px}.profile-occupation{font-size:16px}}
@media print{body{-webkit-print-color-adjust:exact;print-color-adjust:exact}#candidate-dialog{display:none!important}.print-header{background:#033377;color:white;border:0;border-radius:3mm;padding:4mm;margin-bottom:5mm}.print-header h1{color:white;font-size:22pt}.print-header p{font-size:9pt}.print-brand{display:flex;align-items:center;gap:2mm;flex-shrink:0}.print-brand img:first-child{width:22mm;height:22mm}.print-brand img:last-child{width:32mm;height:auto}.print-grid .candidate-group{background:var(--card);border:1px solid var(--accent);border-top:3px solid var(--accent);border-radius:3mm;padding:3.5mm}.print-grid .candidate-group h3{color:var(--accent);border-color:var(--accent);font-size:11pt}.print-grid .candidate-number{background:var(--accent);color:white;border:0}.print-grid .candidate-group li{font-size:10.5pt;padding:.9mm 0}.print-own-choice{border-color:#adc5e5;background:#eef4fd;padding:4mm;border-radius:3mm}.print-own-choice h3{color:#033377}.print-footer{border-color:#adc5e5;color:#52647e}.print-ref-header{background:#122c79}.print-question{border:1px solid #ccd7ed;background:#f2f2fa;border-radius:3mm;color:#053283;padding:4mm;margin-bottom:4mm}.print-question h3{color:#122c79}.print-question p{font-size:10.5pt;line-height:1.4}.print-ref-link{font-size:10pt;color:#122c79;margin:3mm 0}}
@media print{.print-grid .candidate-group li{padding:.45mm 0}.print-grid .candidate-number{min-width:5.5mm;height:5.5mm}.print-footer{break-inside:avoid}.print-brand img{image-rendering:auto}}
@media print{html{background:#fff}}
@media print{:root{background:#fff}}
