/*
Theme Name: Hrvati RS — SHV V63
Theme URI: https://novi.hrvati.rs/
Author: Hrvati RS
Description: SHV tema za novi.hrvati.rs; zasebna instalacija.
Version: 7.4
Requires PHP: 7.4
Text Domain: hrvati-rs
*/
:root{--navy:#142d45;--blue:#245779;--red:#d13b43;--cream:#f7f5f1;--ink:#243443;--muted:#667481}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);line-height:1.65;background:#fff}a{color:inherit;text-decoration:none}.container{max-width:1180px;margin:auto;padding:0 24px}.topline{background:var(--navy);color:#fff;font-size:13px;padding:8px 0}.site-header{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 18px #142d4512}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:86px;gap:20px}.brand{font-size:25px;font-weight:800;letter-spacing:-1px;color:var(--navy)}.brand span{color:var(--red)}.brand small{display:block;font-size:11px;letter-spacing:1.2px;font-weight:600;color:var(--muted);text-transform:uppercase}.nav ul{display:flex;gap:25px;list-style:none;margin:0;padding:0}.nav a{font-weight:650;font-size:14px}.nav a:hover{color:var(--red)}.hero{background:linear-gradient(115deg,#102a43e8,#245779d9),radial-gradient(circle at 75% 35%,#a6b4bd,#173954);color:white;padding:105px 0 115px;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;width:340px;height:340px;right:10%;top:10%;border:55px solid #ffffff0b;transform:rotate(45deg)}.eyebrow{color:#f4b8b8;text-transform:uppercase;letter-spacing:2.5px;font-size:12px;font-weight:800}.hero h1{font-size:clamp(42px,6vw,76px);max-width:790px;line-height:1.08;letter-spacing:-2px;margin:20px 0}.hero p{max-width:640px;font-size:19px;color:#e3ebef}.buttons{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-block;background:var(--red);padding:13px 23px;border-radius:5px;color:white;font-weight:750}.btn.secondary{background:transparent;border:1px solid #ffffff80}.section{padding:75px 0}.section.alt{background:var(--cream)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section h2{font-size:clamp(30px,3.4vw,43px);letter-spacing:-1.3px;line-height:1.15;margin:8px 0}.lead{font-size:18px;color:var(--muted);max-width:740px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.card{background:white;border:1px solid #e8ebed;border-radius:9px;overflow:hidden;box-shadow:0 8px 30px #142d4509}.card-content{padding:25px}.card h3{font-size:21px;line-height:1.3;margin:7px 0 10px}.card p{color:var(--muted);font-size:15px}.tag{font-size:12px;color:var(--red);font-weight:800;text-transform:uppercase;letter-spacing:1px}.card-img{height:175px;background:linear-gradient(135deg,#d8e3e8,#9db5c4);display:block;object-fit:cover;width:100%}.link{color:var(--blue);font-weight:750}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.feature{background:#e9eef0;border-radius:12px;padding:55px;min-height:280px;display:flex;align-items:center}.feature strong{font-size:43px;color:var(--navy);line-height:1.15}.footer{background:#10283e;color:#dce7ed;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer a{display:block;margin:8px 0}.footer-bottom{border-top:1px solid #ffffff22;margin-top:45px;padding-top:20px;font-size:13px}.page-title{background:var(--cream);padding:65px 0}.page-title h1{font-size:48px;margin:0}.article{max-width:800px;margin:65px auto;padding:0 24px}.article img{max-width:100%;height:auto}.meta{color:var(--muted);font-size:13px}.pagination{margin-top:35px}.mobile-toggle{display:none}.wp-block-image img{height:auto}@media(max-width:800px){.mobile-toggle{display:block;background:none;border:0;font-size:27px}.header-inner{flex-wrap:wrap;min-height:75px}.nav{display:none;width:100%}.nav.open{display:block}.nav ul{flex-direction:column;gap:12px;padding-bottom:22px}.grid,.two-col,.footer-grid{grid-template-columns:1fr}.hero{padding:75px 0}.section{padding:55px 0}.feature{padding:35px}.section-head{align-items:start;flex-direction:column}}

/* Gallery extension */
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.gallery-item{border:1px solid #e1e5ec;border-radius:14px;overflow:hidden;background:#fff}.gallery-photo{aspect-ratio:4/3;background:linear-gradient(135deg,#e9eef5,#d2dce9);display:grid;place-items:center;color:#40546d;text-align:center;padding:20px}.gallery-item figcaption{padding:15px;font-size:14px}.gallery-item img{width:100%;height:100%;object-fit:cover}.social-panel{background:#eef3f8;border-radius:18px;padding:28px;margin:30px 0}.gallery-note{font-size:14px;color:#5e6876}.gallery-item button{border:0;background:none;padding:0;width:100%;cursor:pointer}.gallery-item button:focus-visible{outline:3px solid #bd1e2d}@media(max-width:750px){.gallery-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.gallery-grid{grid-template-columns:1fr}}

/* Galerija stvarnih materijala */
.real-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0 42px}.real-gallery figure{margin:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 9px 32px #17243b14}.real-gallery img{display:block;width:100%;height:270px;object-fit:cover;cursor:zoom-in}.real-gallery figcaption{padding:15px 17px;font-size:14px;color:#3a4656}.gallery-intro{max-width:800px}.gallery-modal{position:fixed;inset:0;background:#07101beF;z-index:9999;display:none;align-items:center;justify-content:center;padding:5vw;flex-direction:column}.gallery-modal.open{display:flex}.gallery-modal img{max-width:95%;max-height:80vh;object-fit:contain}.gallery-modal p{color:#fff;text-align:center}.gallery-modal button{position:absolute;right:25px;top:20px;background:#fff;border:0;border-radius:40px;padding:10px 16px;cursor:pointer}.news-image{width:100%;height:220px;object-fit:cover;display:block}.hero-photo{background:linear-gradient(90deg,#091b34ee,#091b34bb),url('assets/foto-06.jpg') center/cover!important}.info-note{background:#f0f5fa;padding:18px 22px;border-left:4px solid #db202b;margin:22px 0}.featured-photo{width:100%;max-height:420px;object-fit:cover;border-radius:14px}@media(max-width:800px){.real-gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:540px){.real-gallery{grid-template-columns:1fr}.real-gallery img{height:auto;max-height:440px;object-fit:contain}}

/* SHV visual identity — inspired by supplied Plan 26 / Sve po planu campaign */
:root{--red:#ed1c24;--blue:#0876b9;--navy:#172439;--ink:#22232a;--paper:#fff;--light:#f6f6f6}body{background:#fff;color:#25262b;font-family:Arial,Helvetica,sans-serif}.topline{background:#ed1c24!important;color:white!important;font-weight:700;letter-spacing:.07em;text-transform:uppercase;font-size:11px}.site-header{background:#fff!important;border-bottom:4px solid #ed1c24;box-shadow:0 5px 25px #00000009}.brand{color:#ed1c24!important;font-style:italic;font-weight:900!important;letter-spacing:-.06em!important;font-size:32px!important}.brand span{color:#ed1c24!important}.brand small{color:#575757!important;font-style:normal;letter-spacing:.08em!important;font-size:10px!important}.nav a{color:#222!important;font-weight:750!important}.nav a:hover{color:#ed1c24!important}.hero-photo{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.91) 50%,rgba(255,255,255,.25) 100%),url('assets/foto-07.jpg') center/cover!important;color:#25262b!important;min-height:540px;display:flex;align-items:center}.hero h1{color:#ed1c24!important;font-size:clamp(40px,6vw,78px)!important;line-height:1.02!important;letter-spacing:-.055em!important;text-transform:uppercase;font-weight:900!important;max-width:780px}.hero p{color:#31353d!important;max-width:550px;font-size:19px!important}.eyebrow,.tag{color:#ed1c24!important;font-weight:850!important;text-transform:uppercase;letter-spacing:.1em}.btn{background:#ed1c24!important;color:white!important;border:2px solid #ed1c24!important;border-radius:0!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.04em}.btn.secondary{background:white!important;color:#ed1c24!important}.section h2{font-weight:900!important;text-transform:uppercase;letter-spacing:-.04em;color:#23252c!important}.section.alt{background:#f6f6f6!important}.card{border-radius:0!important;border-top:5px solid #ed1c24!important;box-shadow:0 10px 32px #0000000b!important}.card h3{font-weight:850!important}.feature{background:#ed1c24!important;border-radius:0!important;color:white!important}.feature strong{color:white!important}.link{color:#e51b23!important;font-weight:800!important}.real-gallery figure{border-radius:0!important;border-bottom:4px solid #ed1c24!important}.footer{background:#24252a!important;border-top:8px solid #ed1c24}.footer a:hover{color:#ff444a!important}.shv-motif{display:inline-grid;grid-template-columns:repeat(3,9px);gap:3px;transform:rotate(45deg);margin:0 16px 0 9px;vertical-align:middle}.shv-motif i{width:9px;height:9px;background:#ed1c24}.shv-motif i:nth-child(4),.shv-motif i:nth-child(8){background:#bcbcbc}.shv-motif i:nth-child(7){background:#0876b9}.shv-motif i:nth-child(9){background:transparent}.identity-strip{background:#ed1c24;color:white;padding:19px 0;text-align:center;text-transform:uppercase;font-weight:900;letter-spacing:.11em}.campaign-band{padding:50px 0;background:white}.campaign-inner{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}.campaign-inner img{width:100%;max-height:350px;object-fit:contain}.campaign-inner h2{color:#ed1c24!important;font-size:clamp(35px,5vw,65px);line-height:1.02}.campaign-inner p{font-size:18px;line-height:1.7}.identity-rule{height:8px;background:linear-gradient(90deg,#ed1c24 0 75%,#b9b9b9 75% 88%,#0876b9 88%)}@media(max-width:760px){.campaign-inner{grid-template-columns:1fr}.hero-photo{background:linear-gradient(90deg,#fffffff2,#ffffffd9),url('assets/foto-07.jpg') center/cover!important;min-height:470px}.brand{font-size:26px!important}}

/* V5 — balanced SHV identity: two-thirds red/white, one-third blue */
:root{--red:#ed1c24;--blue:#0876b9;--navy:#163b62;--cream:#f3f7fb}
.topline{background:#163b62!important}
.site-header{border-bottom:4px solid #0876b9!important}
.nav a:hover,.link{color:#0876b9!important}
.hero-photo{background:linear-gradient(90deg,rgba(13,49,84,.94) 0%,rgba(15,65,105,.85) 48%,rgba(15,65,105,.23) 100%),url('assets/foto-07.jpg') center/cover!important;color:#fff!important}
.hero h1{color:#fff!important;text-shadow:0 3px 20px #102f4860}
.hero p{color:#edf6ff!important}.hero .eyebrow{color:#a8d9f8!important}
.hero .btn.secondary{background:transparent!important;color:#fff!important;border-color:#fff!important}
.identity-rule{background:linear-gradient(90deg,#ed1c24 0 66.666%,#0876b9 66.666% 100%)!important}
.identity-strip{background:#0876b9!important}
.section.alt{background:#eff5fa!important}
.feature{background:#163b62!important}
.card:nth-child(3n+2){border-top-color:#0876b9!important}
.real-gallery figure:nth-child(3n+2){border-bottom-color:#0876b9!important}
.footer{background:#163b62!important;border-top:8px solid #ed1c24!important}
.social-panel{background:#e9f3fb!important}
.info-note{border-left-color:#0876b9!important}
.campaign-band{background:linear-gradient(110deg,#fff 0 66.66%,#eef6fc 66.66% 100%)}
.page-title{background:linear-gradient(90deg,#f5f8fc 0 66.66%,#e7f2fa 66.66%)!important;border-bottom:4px solid #0876b9}
.btn:hover{filter:brightness(.92)}
@media(max-width:760px){.hero-photo{background:linear-gradient(90deg,rgba(13,49,84,.95),rgba(15,65,105,.79)),url('assets/foto-07.jpg') center/cover!important}}

/* O nama – V6 */
.about-intro{max-width:800px;margin-bottom:38px}.about-intro h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.12;margin:12px 0}.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.about-box{padding:30px;border-radius:14px;background:#f1f6fa;border-top:5px solid #0876b9}.about-box:nth-child(2){border-color:#ed1c24}.about-box h3{font-size:1.5rem}.about-num{font-size:1rem;font-weight:800;color:#0876b9}.about-program{display:grid;grid-template-columns:1fr 310px;gap:40px;align-items:center;margin:60px 0;padding:36px;background:#163b62;color:white;border-radius:16px}.about-program h2{color:white;font-size:3rem}.about-program p{color:#e2edf8}.about-program img{width:100%;border-radius:10px}.about-team{margin:40px 0}.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0}.person{padding:24px 18px;border:1px solid #dce6ef;border-radius:12px;background:#fff}.person h3{font-size:1.12rem;margin:16px 0 8px}.person p{font-size:.91rem}.avatar{height:76px;width:76px;border-radius:50%;background:#e6f1f8;color:#163b62;display:grid;place-items:center;font-weight:800;font-size:1.35rem}.person:nth-child(even) .avatar{background:#fce8e9;color:#cc1821}@media(max-width:800px){.about-grid,.team-grid{grid-template-columns:repeat(2,1fr)}.about-program{grid-template-columns:1fr}}@media(max-width:520px){.about-grid,.team-grid{grid-template-columns:1fr}.about-program{padding:22px}}

/* V7: restored V3 blue editorial visual language and typography */
:root{--navy:#142d45!important;--blue:#245779!important;--red:#d13b43!important;--cream:#f7f5f1!important;--ink:#243443!important;--muted:#667481!important}
body{font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;color:#243443!important;background:#fff!important;line-height:1.65!important}
.topline{background:#142d45!important;color:#fff!important;font-weight:400!important;letter-spacing:normal!important;text-transform:none!important;font-size:13px!important}
.site-header{background:#fff!important;border-bottom:0!important;box-shadow:0 2px 18px #142d4512!important}
.brand{font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:25px!important;font-weight:800!important;font-style:normal!important;letter-spacing:-1px!important;color:#142d45!important}
.brand span{color:#d13b43!important}.brand small{font-style:normal!important;color:#667481!important;font-size:11px!important;letter-spacing:1.2px!important;font-weight:600!important}
.nav a{color:#243443!important;font-weight:650!important;font-size:14px!important}.nav a:hover,.link{color:#245779!important}
.hero,.hero-photo{background:linear-gradient(90deg,#091b34ee,#091b34bb),url('assets/foto-06.jpg') center/cover!important;color:#fff!important;padding:105px 0 115px!important;min-height:0!important;display:block!important}
.hero h1{font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:clamp(42px,6vw,76px)!important;max-width:790px!important;line-height:1.08!important;letter-spacing:-2px!important;text-transform:none!important;font-weight:800!important;color:#fff!important;text-shadow:none!important}
.hero p{max-width:640px!important;font-size:19px!important;color:#e3ebef!important}.hero .eyebrow{color:#f4b8b8!important}.eyebrow,.tag{color:#d13b43!important;letter-spacing:2px!important;font-size:12px!important}
.btn{background:#d13b43!important;color:#fff!important;border:0!important;border-radius:5px!important;font-weight:750!important;text-transform:none!important;letter-spacing:normal!important;padding:13px 23px!important}.btn.secondary,.hero .btn.secondary{background:transparent!important;border:1px solid #ffffff80!important;color:#fff!important}
.section h2{font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:clamp(30px,3.4vw,43px)!important;letter-spacing:-1.3px!important;line-height:1.15!important;font-weight:750!important;text-transform:none!important;color:#243443!important}.section.alt{background:#f7f5f1!important}
.card{border:1px solid #e8ebed!important;border-radius:9px!important;box-shadow:0 8px 30px #142d4509!important}.card:nth-child(3n+2){border-top-color:#e8ebed!important}.card h3{font-weight:700!important}
.feature{background:#e9eef0!important;border-radius:12px!important;color:#243443!important}.feature strong{color:#142d45!important}.real-gallery figure{border:0!important;border-radius:14px!important;box-shadow:0 9px 32px #17243b14!important}
.footer{background:#10283e!important;color:#dce7ed!important;border:0!important}.footer a:hover{color:#fff!important}.identity-strip{background:#245779!important}.identity-rule{background:linear-gradient(90deg,#142d45 0 67%,#d13b43 67% 100%)!important}
.page-title{background:#f7f5f1!important;border:0!important}.page-title h1{font-weight:750!important;color:#243443!important}.campaign-band{background:#fff!important}.campaign-inner h2{color:#142d45!important;text-transform:none!important}.social-panel{background:#eef3f8!important}.info-note{border-left-color:#245779!important}
.about-box{background:#eef3f8!important;border-top-color:#245779!important}.about-box:nth-child(2){border-top-color:#d13b43!important}.about-program{background:#142d45!important}.about-program h2{color:#fff!important}.about-num{color:#245779!important}.avatar{background:#e6f1f8!important;color:#142d45!important}
@media(max-width:800px){.hero,.hero-photo{padding:75px 0!important}.brand{font-size:25px!important}}

/* V8 — 2/3 red, 1/3 blue. Preserve V3 typography and rounded editorial layout. */
:root{--red:#e52632!important;--navy:#173d67!important;--blue:#246b9b!important;--cream:#fff7f6!important;--ink:#282e38!important;--muted:#626b78!important}
body{font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important}
.topline{background:#e52632!important;color:#fff!important}
.site-header{border-bottom:3px solid #e52632!important}
.brand{color:#d91f2b!important}.brand span{color:#246b9b!important}
.nav a:hover,.link{color:#d91f2b!important}
.hero,.hero-photo{background:linear-gradient(105deg,rgba(168,18,33,.94) 0%,rgba(204,31,47,.91) 66.66%,rgba(19,62,106,.87) 66.67%,rgba(20,65,111,.78) 100%),url('assets/foto-06.jpg') center/cover!important}
.hero h1{color:#fff!important}.hero p{color:#fff1f1!important}.hero .eyebrow{color:#ffd8d8!important}
.btn{background:#fff!important;color:#b71f2b!important;border:2px solid #fff!important}.btn.secondary,.hero .btn.secondary{background:transparent!important;color:#fff!important;border:2px solid #fff!important}
.section h2{color:#ba202c!important}.section.alt{background:#fff5f4!important}
.card{border-top:4px solid #e52632!important}.card:nth-child(3n+2){border-top-color:#246b9b!important}
.tag,.eyebrow{color:#d91f2b!important}.feature{background:#e52632!important;color:#fff!important}.feature strong{color:#fff!important}
.identity-strip{background:linear-gradient(90deg,#e52632 0 66.66%,#246b9b 66.67%)!important}
.identity-rule{background:linear-gradient(90deg,#e52632 0 66.66%,#246b9b 66.67%)!important}
.footer{background:#173d67!important;border-top:7px solid #e52632!important}
.page-title{background:linear-gradient(90deg,#fff0ef 0 66.66%,#e8f2f9 66.67%)!important;border-bottom:3px solid #e52632!important}
.page-title h1{color:#bd202d!important}
.campaign-inner h2{color:#d91f2b!important}.campaign-band{background:linear-gradient(90deg,#fff 0 66.66%,#edf5fb 66.67%)!important}
.about-program{background:linear-gradient(110deg,#c52030 0 66.66%,#173d67 66.67%)!important}.about-program h2{color:#fff!important}
.about-box{background:#fff4f3!important;border-top-color:#e52632!important}.about-box:nth-child(3n+2){background:#edf5fa!important;border-top-color:#246b9b!important}
.about-num{color:#d91f2b!important}.social-panel{background:#fceeed!important}.info-note{border-left-color:#e52632!important}
.real-gallery figure{border-bottom:3px solid #e52632!important}.real-gallery figure:nth-child(3n+2){border-bottom-color:#246b9b!important}
@media(max-width:760px){.hero,.hero-photo{background:linear-gradient(120deg,rgba(176,20,37,.94) 0 67%,rgba(23,61,103,.87) 67% 100%),url('assets/foto-06.jpg') center/cover!important}}

/* V9 — portreti kandidata */
.candidate-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:30px 0 48px}.candidate-card{margin:0;background:#fff;border:1px solid #e7e7e7;border-radius:13px;overflow:hidden;box-shadow:0 8px 26px rgba(15,30,50,.06)}.candidate-card img{display:block;width:100%;height:320px;object-fit:cover;object-position:50% 18%;background:#090909;cursor:zoom-in}.candidate-info{padding:18px}.candidate-info h3{font-size:1.14rem;margin:0 0 7px;color:#192c48}.candidate-info .candidate-role{font-weight:700;color:#df232b;margin:0 0 7px}.candidate-info p{font-size:.92rem;line-height:1.5;margin:0 0 8px}.candidate-info small{color:#5d6977}.candidate-badge{display:inline-block;background:#f8e6e7;color:#c21b27;padding:5px 10px;border-radius:99px;font-weight:700;font-size:.74rem;margin-bottom:9px}.candidate-gallery-intro{max-width:800px}.candidate-gallery-title{margin-top:34px}@media(max-width:1100px){.candidate-gallery{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.candidate-gallery{grid-template-columns:repeat(2,1fr);gap:12px}.candidate-card img{height:245px}.candidate-info{padding:12px}}@media(max-width:420px){.candidate-gallery{grid-template-columns:1fr 1fr}.candidate-card img{height:200px}.candidate-info h3{font-size:1rem}.candidate-info p{font-size:.82rem}}

/* V12: additional content only; V10 visual identity retained */
.profile-detail{font-size:14px;line-height:1.6;margin-top:10px}.program-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:18px;margin-top:26px}.program-box{padding:22px;border:1px solid #e9e9e9;border-radius:12px;background:#fff}.program-box h3{margin:0 0 8px}.candidate-card .profile-detail{color:#525866}.candidate-card .candidate-meta{font-weight:600;color:#185a91}

/* V13 – news/blog, retains original V12 layout */
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.news-grid .card{overflow:hidden}.news-grid .card-img{width:100%;height:230px;object-fit:cover;display:block}.news-title{font-size:1.35rem!important;letter-spacing:-.02em!important}.news-title a{color:inherit;text-decoration:none}.news-empty{padding:40px;background:#f7f5f1;border-radius:10px;border-left:4px solid #d13b43}.news-article{max-width:920px}.news-cover{width:100%;height:auto;border-radius:10px;margin-bottom:30px}.news-body{font-size:1.08rem;line-height:1.85}.news-body img{max-width:100%;height:auto}.news-pagination{margin-top:36px}.news-pagination .page-numbers{display:inline-block;padding:7px 12px;margin:3px;border:1px solid #dce3e8;border-radius:5px}.news-pagination .current{background:#245779;color:white}.news-placeholder{background:linear-gradient(135deg,#e8edf2,#f5f1ef)}@media(max-width:850px){.news-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.news-grid{grid-template-columns:1fr}}



/* V15: preserve hero background, put supplied ZAOKRUŽI 3 artwork at right */
.hero.hero-photo .container{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.83fr);column-gap:38px;align-items:center}
.hero.hero-photo .hero-right-art{grid-column:2;grid-row:1 / span 4;align-self:center}
.hero-right-art img{display:block;width:100%;height:auto;object-fit:contain;border-radius:4px}
.hero.hero-photo{padding-top:100px!important}
@media(max-width:800px){.hero.hero-photo .container{grid-template-columns:1fr}.hero.hero-photo .hero-right-art{grid-column:1;grid-row:auto;margin-top:26px;max-width:560px}.hero.hero-photo{padding-top:70px!important}}

/* V16 candidate cards */
.candidate-card .profile-detail{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;line-height:1.55;min-height:0}
.candidate-card img{width:100%;height:280px;object-fit:cover;object-position:center 20%}
.candidate-card-body{display:flex;flex-direction:column;gap:7px}

/* V17: transparent ZAOKRUŽI 3 artwork and clean candidate portrait edges */
.hero-right-art img{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.candidate-card img{clip-path:inset(0 3px 0 3px);width:calc(100% + 6px);max-width:none;margin-left:-3px}
@media(min-width:1150px){.candidate-gallery{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.candidate-card img{height:250px}.candidate-info{padding:14px}.candidate-info h3{font-size:1.03rem}}

/* V19: smaller right-hand graphic, shift right, remove source edge artifacts */
@media(min-width:801px){.hero.hero-photo .container{grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);column-gap:58px}.hero.hero-photo .hero-right-art{width:90%;justify-self:end;transform:translateX(18px)}}
.hero-right-art{overflow:hidden}.hero-right-art img{border:0!important;outline:0!important;box-shadow:none!important}
@media(max-width:800px){.hero.hero-photo .hero-right-art{width:94%;margin-left:auto;margin-right:auto;transform:none}}


/* V20 — gallery presentation based on supplied reference */
body:has(.candidate-gallery){background:radial-gradient(ellipse 210px 260px at 0% 0%,rgba(237,36,48,.16),transparent 85%),radial-gradient(ellipse 220px 280px at 100% 95%,rgba(24,123,183,.14),transparent 85%),#fff}
body:has(.candidate-gallery) .section{padding-top:34px}
body:has(.candidate-gallery) .tag{font-size:clamp(23px,3vw,36px);text-transform:uppercase;color:#ed202d;font-weight:900;letter-spacing:.01em;text-align:center;margin:30px auto 26px}
body:has(.candidate-gallery) .tag:before{content:'';display:block;width:260px;max-width:60%;height:2px;margin:0 auto 26px;background:linear-gradient(90deg,transparent,#ed202d 40%,#ed202d 60%,transparent)}
.candidate-gallery{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:20px!important;margin:25px 0 60px!important;align-items:stretch}
.candidate-gallery .candidate-card{display:flex;flex-direction:column;border:1px solid #eceef0!important;border-radius:10px!important;overflow:hidden;background:#fff;box-shadow:0 9px 25px rgba(17,33,49,.07)!important;min-width:0}
.candidate-gallery .candidate-card>img{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;clip-path:none!important;height:210px!important;object-fit:cover!important;object-position:center 20%!important;border:0!important;background:#070707}
.candidate-gallery .candidate-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:0!important;padding:13px 13px 14px!important;flex:1;min-width:0}
.candidate-gallery .candidate-card h3{font-size:clamp(14px,1.13vw,19px)!important;line-height:1.23!important;color:#253544!important;margin:0 0 5px!important;letter-spacing:-.025em}
.candidate-gallery .candidate-meta{font-size:10px!important;line-height:1.4!important;letter-spacing:.035em;text-transform:uppercase;color:#87909c!important;font-weight:800!important;margin:0 0 10px!important;min-height:14px}
.candidate-gallery .candidate-meta:after{content:'';display:block;width:28px;height:2px;background:#e52a34;margin-top:9px}
.candidate-gallery .profile-detail{font-size:12px!important;line-height:1.45!important;color:#69737e!important;margin:0 0 13px!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;overflow:hidden!important;min-height:69px!important;max-height:69px!important}
.candidate-gallery .profile-detail.is-expanded{-webkit-line-clamp:unset!important;max-height:none!important}
.candidate-gallery .candidate-more{display:inline-flex;align-items:center;gap:12px;margin-top:auto;padding:9px 14px;border:0;border-radius:30px;background:#f3f4f6;color:#304151;font-size:11px;font-weight:800;cursor:pointer}
.candidate-gallery .candidate-more:after{content:'›';color:#e92533;font-size:22px;line-height:10px}
.candidate-gallery .candidate-more:hover{background:#e9edf1}
@media(max-width:1150px){.candidate-gallery{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:850px){.candidate-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){.candidate-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}.candidate-gallery .candidate-card>img{height:180px!important}.candidate-gallery .candidate-card-body{padding:11px!important}}
@media(max-width:360px){.candidate-gallery{grid-template-columns:1fr!important}.candidate-gallery .candidate-card>img{height:240px!important}}

/* V21: kontakt i diskretni SHV motiv */
.contact-layout{display:grid;grid-template-columns:1fr 0.9fr;gap:clamp(30px,6vw,95px);align-items:center;padding:18px 0 45px}.contact-details h2{font-size:clamp(2.1rem,4.5vw,3.8rem);line-height:1.08;margin:12px 0 20px}.contact-details .lead{max-width:540px;margin-bottom:36px}.contact-item{display:flex;align-items:flex-start;gap:17px;padding:21px 0;border-top:1px solid #e3e9ee}.contact-item:last-child{border-bottom:1px solid #e3e9ee}.contact-icon{display:grid;place-items:center;background:#fce9eb;color:#df1f2a;width:50px;height:50px;flex:none;border-radius:12px;font-size:23px}.contact-item small{display:block;font-size:.72rem;font-weight:800;letter-spacing:.15em;color:#758391;margin-bottom:8px}.contact-item a{display:block;font-size:clamp(1.08rem,2vw,1.38rem);font-weight:750;color:#203449;text-decoration:none;margin:5px 0}.contact-item a:hover{color:#df1f2a}.contact-art{min-height:400px;border-radius:22px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:50px;background:radial-gradient(circle at 15% 8%,#f9bdc3 0,transparent 29%),radial-gradient(circle at 95% 95%,#b9d8ee 0,transparent 34%),linear-gradient(140deg,#fff 25%,#f3f7fa);box-shadow:0 16px 42px rgba(16,44,74,.08)}.contact-art:before{content:'';position:absolute;top:0;right:0;width:8px;height:100%;background:linear-gradient(#ed1c24 68%,#0876b9 68%)}.contact-art-text{font-weight:800;color:#263b50;font-size:clamp(2rem,4vw,3.7rem);letter-spacing:-.045em;line-height:1.15}.contact-art-text strong{color:#ed1c24}.contact-art-caption{font-size:.75rem;font-weight:850;letter-spacing:.17em;color:#526475;margin-top:75px}.contact-diamonds{display:grid;grid-template-columns:repeat(3,22px);grid-template-rows:repeat(3,22px);gap:4px;transform:rotate(45deg);width:max-content;margin:35px 0 0 48px}.contact-diamonds i{background:#ed1c24}.contact-diamonds i:nth-child(4),.contact-diamonds i:nth-child(6){background:#b9bdc1}.contact-diamonds i:nth-child(7){background:#0876b9}.contact-diamonds i:nth-child(8),.contact-diamonds i:nth-child(9){opacity:0}@media(max-width:780px){.contact-layout{grid-template-columns:1fr}.contact-art{min-height:320px;padding:36px}}

/* V22 — original supplied SHV logo, unchanged across all pages */
.site-header .brand{display:inline-flex!important;align-items:center!important;flex-shrink:0;line-height:1!important;letter-spacing:normal!important;font-size:inherit!important;text-decoration:none!important}
.site-header .official-shv-logo{display:block;width:185px;max-width:100%;height:auto;object-fit:contain}
.footer-shv-logo{display:block;width:210px;max-width:100%;height:auto;background:white;border-radius:4px;padding:6px;margin-bottom:12px}
@media(max-width:600px){.site-header .official-shv-logo{width:145px}}

/* V23 – zajednička fotografija na stranici O nama */
.shv-group-photo{margin:0 0 38px;max-width:100%;overflow:hidden;border-radius:15px;background:#f1f6fa;box-shadow:0 12px 32px rgba(20,40,65,.09)}
.shv-group-photo img{display:block;width:100%;height:auto;object-fit:contain}
.shv-group-photo figcaption{padding:12px 18px;color:#526174;font-size:.9rem;text-align:center}

/* V24: no photographic hero background; preserve the red/blue campaign layout */
.hero.hero-photo{background:linear-gradient(108deg,rgba(190,24,39,.96) 0%,rgba(216,36,50,.94) 69%,rgba(31,78,121,.96) 69.1%,rgba(23,61,104,.96) 100%)!important}
@media(max-width:760px){.hero.hero-photo{background:linear-gradient(145deg,#c51d2c 0%,#d62b3a 68%,#215b8c 68.1%,#17436d 100%)!important}}
/* Crop the group photo slightly while keeping both rows of people in frame */
.shv-group-photo>img{display:block;width:100%;height:clamp(270px,35vw,445px)!important;object-fit:cover!important;object-position:center 46%!important}
/* Human portrait tiles on the contact page, inspired by CZIT's team imagery */
.contact-people{margin-top:44px}.contact-people h2{font-size:clamp(24px,3vw,34px)!important;margin-bottom:8px}.contact-people p{color:#627180;margin:0 0 22px}.contact-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.contact-people-grid figure{margin:0;overflow:hidden;border-radius:13px;background:#0b0b0b;box-shadow:0 9px 25px #182b3d15}.contact-people-grid img{display:block;width:100%;height:300px;object-fit:cover;object-position:center 19%}.contact-people-grid figcaption{padding:12px 15px;background:#f5f7f9;font-size:13px;color:#35475a;font-weight:650}@media(max-width:700px){.contact-people-grid{gap:10px}.contact-people-grid img{height:190px}}@media(max-width:430px){.contact-people-grid img{height:145px}.contact-people-grid figcaption{font-size:11px;padding:9px}}

/* V25: group photograph as very subtle background under original campaign colours */
.hero.hero-photo{background-image:linear-gradient(108deg,rgba(190,24,39,.88) 0%,rgba(216,36,50,.88) 69%,rgba(31,78,121,.89) 69.1%,rgba(23,61,104,.89) 100%),url("assets/shv-grupna-home.jpg")!important;background-size:cover!important;background-position:center 45%!important;background-repeat:no-repeat!important}
@media(max-width:760px){.hero.hero-photo{background-image:linear-gradient(145deg,rgba(197,29,44,.9) 0%,rgba(214,43,58,.9) 68%,rgba(33,91,140,.9) 68.1%,rgba(23,67,109,.9) 100%),url("assets/shv-grupna-home.jpg")!important;background-position:center center!important}}

/* V26: additional candidate biographies */
.profile-expanded-text{display:none}.profile-detail.is-expanded .profile-expanded-text{display:inline}.profile-detail.is-expanded{-webkit-line-clamp:unset;line-clamp:unset;display:block;overflow:visible;max-height:none}

/* V28: edge-to-edge portraits, no white side seams */
.candidate-gallery .candidate-card{background:#fff!important;overflow:hidden!important}
.candidate-gallery .candidate-card>img{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;clip-path:none!important;display:block!important;background:#090909!important;object-fit:cover!important}
.candidate-gallery .candidate-card-body{background:#fff!important}

/* V30 — kontakti društvenih mreža */
.social-contact-section{padding-top:0}
.social-contact-box{background:#f7f9fc;border:1px solid #e5eaf1;border-radius:18px;padding:clamp(22px,4vw,42px)}
.social-contact-box h2{margin:10px 0 24px}
.social-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 24px}
.social-contact-item{display:flex;align-items:center;gap:12px;background:#fff;padding:15px 17px;border:1px solid #e7eaf0;border-radius:12px;color:#25394d}
.social-contact-item strong{font-size:1rem}
.social-contact-item span:last-child{margin-left:auto;color:#7b8591;font-size:.95rem}
.social-dot{width:10px;height:10px;background:#2278b9;border-radius:50%;flex-shrink:0}
@media(max-width:520px){.social-contact-grid{grid-template-columns:1fr}.social-contact-item{flex-wrap:wrap}.social-contact-item span:last-child{margin-left:auto}}

/* V31: originalna grafika Plan 26 na stranici O nama */
.about-program{grid-template-columns:minmax(0,1fr) minmax(180px,280px)!important;}
.plan26-visual{display:flex;align-items:center;justify-content:center;}
.plan26-original{display:block;width:100%;max-width:280px;height:auto;border-radius:0!important;object-fit:contain;}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(max-width:650px){.about-program{grid-template-columns:1fr!important}.plan26-visual{justify-content:flex-start}.plan26-original{max-width:190px}}

/* V32: smaller Plan 26 visual on the left; no label */
.about-program{grid-template-columns:150px minmax(0,1fr)!important;gap:32px!important}
.plan26-visual{justify-content:flex-start!important;align-self:center}
.plan26-original{width:145px!important;max-width:100%!important;height:auto!important;border:0!important;box-shadow:none!important}
@media(max-width:650px){.about-program{grid-template-columns:100px minmax(0,1fr)!important;gap:18px!important}.plan26-original{width:100px!important}}

/* V33: reduced headroom, all seated legs retained, responsive image */
.shv-group-photo>img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;}

.shv-news-fb,.shv-news-follow a{display:inline-block;padding:12px 18px;background:#c82332;color:white;border-radius:8px;font-weight:700;text-decoration:none}.shv-news-follow{margin:0 0 22px}

/* V35 — compact footer navigation columns */
@media (min-width: 761px) {
  .footer-grid {grid-template-columns:minmax(0,1fr) 175px 190px!important;column-gap:28px!important;}
}

/* V36: artwork aligned to the right edge of the candidate gallery */
.candidate-gallery-heading{position:relative;display:flex;align-items:center;justify-content:center;min-height:116px;margin-bottom:8px;padding-right:240px;padding-left:240px}
body:has(.candidate-gallery) .candidate-gallery-heading .tag{margin:0!important;white-space:nowrap}
.gallery-vote-three{position:absolute;right:0;top:50%;transform:translateY(-50%);display:block;width:210px;max-width:25%;height:auto;object-fit:contain}
@media(max-width:850px){.candidate-gallery-heading{padding-left:0;padding-right:170px;justify-content:flex-start}.gallery-vote-three{width:155px;max-width:32%}body:has(.candidate-gallery) .candidate-gallery-heading .tag{font-size:clamp(16px,3vw,26px);white-space:normal}}
@media(max-width:480px){.candidate-gallery-heading{min-height:86px;padding-right:120px}.gallery-vote-three{width:112px;max-width:34%}body:has(.candidate-gallery) .candidate-gallery-heading .tag{font-size:18px}}

/* V37: O nama – artwork aligned with right container edge */
.about-title-inner{display:flex;justify-content:space-between;align-items:center;gap:28px}
.about-vote-three{display:block;width:clamp(230px,32vw,420px);height:auto;object-fit:contain;flex-shrink:0}
@media(max-width:600px){.about-title-inner{gap:12px}.about-vote-three{width:clamp(135px,38vw,215px)}.about-page-title h1{font-size:clamp(32px,8vw,48px)}}

/* V39: align candidate gallery title with left edge of first portrait */
.candidate-gallery-heading{justify-content:flex-start!important;padding-left:0!important;}
body:has(.candidate-gallery) .candidate-gallery-heading .tag{text-align:left!important;}
body:has(.candidate-gallery) .candidate-gallery-heading .tag::before{margin-left:0!important;margin-right:0!important;}

/* V40 — redesigned Kontakt page, isolated from all other pages */
.contact40{background:linear-gradient(90deg,#183d62 0%,#183d62 49%,#f8f8f7 49%,#f8f8f7 100%);overflow:hidden}
.contact40-grid{display:grid;grid-template-columns:1fr 1fr;min-height:620px}
.contact40-intro{background:#183d62;color:#fff;padding:92px 65px 70px 0;position:relative}
.contact40-kicker{font-size:12px;letter-spacing:.17em;font-weight:800;color:#e8edf2;display:flex;align-items:center;gap:14px;white-space:nowrap}
.contact40-kicker-line{width:35px;height:2px;background:#ef2633;display:inline-block}
.contact40-intro h1{font-size:clamp(56px,6vw,94px);line-height:1.02;letter-spacing:-.055em;margin:54px 0 25px;color:white;font-weight:800}
.contact40-intro h1 em{font-style:normal;color:#ff4552}
.contact40-intro>p{max-width:380px;font-size:19px;line-height:1.65;color:#d8e2ed}
.contact40-motif{display:flex;gap:9px;transform:rotate(-45deg);width:max-content;margin:66px 0 48px 15px}
.contact40-motif i{width:17px;height:17px;background:#ef2633;display:block}.contact40-motif i:nth-child(3){background:#aab4bd}.contact40-motif i:nth-child(4){background:#e7eef4}.contact40-motif i:nth-child(5){background:#2381b8}
.contact40-signature{font-size:11px;letter-spacing:.12em;color:#a9bfd0;font-weight:700}.contact40-signature span{color:#ff4552}
.contact40-info{background:#f8f8f7;padding:95px 0 70px 76px;color:#1c3349}
.contact40-eyebrow{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:800;letter-spacing:.14em;color:#c62131;border-bottom:1px solid #d5dce0;padding-bottom:18px}
.contact40-eyebrow span{color:#8794a0}.contact40-info h2{font-size:clamp(31px,3vw,44px);line-height:1.14;letter-spacing:-.035em;margin:42px 0 34px;color:#173957}
.contact40-method{display:grid;grid-template-columns:52px minmax(0,1fr) 22px;gap:16px;align-items:start;border-top:1px solid #d5dce0;padding:29px 0;text-decoration:none;color:#173957}
.contact40-method:last-of-type{border-bottom:1px solid #d5dce0}.contact40-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e9eef2;color:#c62131;font-size:24px}
.contact40-method small{display:block;font-size:11px;letter-spacing:.15em;font-weight:800;color:#7e8b97;margin:0 0 10px}.contact40-method strong{display:block;font-size:clamp(18px,1.9vw,25px);line-height:1.4;overflow-wrap:anywhere;color:#173957}
.contact40-method strong a{color:inherit;text-decoration:none}.contact40-method strong a:hover,.contact40-method:hover strong{color:#c62131}.contact40-description{display:block;margin-top:8px;color:#738291;font-size:14px}.contact40-arrow{color:#c62131;font-size:22px}.contact40-note{margin-top:29px;color:#778491;font-size:14px;line-height:1.6}
.contact40-social{padding:92px 0 110px;background:#fff}.contact40-social-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:42px}.contact40-smalltag{color:#c62131;letter-spacing:.18em;font-size:12px;font-weight:800}.contact40-social-head h2{font-size:clamp(40px,5vw,68px);letter-spacing:-.05em;margin:13px 0 0;color:#173957}.contact40-social-head p{color:#74818e;max-width:270px;line-height:1.6}
.contact40-social-list{border-top:2px solid #173957}.contact40-social-row{display:grid;grid-template-columns:75px 1fr 1fr;align-items:center;gap:15px;border-bottom:1px solid #e0e5e8;padding:23px 18px;color:#183d62}.contact40-social-number{font-size:13px;color:#c62131;font-weight:800}.contact40-social-row strong{font-size:23px}.contact40-social-row>span:last-child{justify-self:end;color:#7c8790;font-size:17px}
@media(max-width:900px){.contact40-grid{min-height:auto}.contact40-intro{padding:65px 35px 65px 0}.contact40-info{padding:70px 0 60px 35px}.contact40-intro h1{font-size:clamp(48px,7vw,74px)}}
@media(max-width:650px){.contact40{background:#183d62}.contact40-grid{display:block}.contact40-intro{padding:65px 0 45px}.contact40-intro h1{margin:40px 0 22px;font-size:clamp(49px,11vw,72px)}.contact40-motif{margin:48px 0 40px 15px}.contact40-info{margin:0 -20px;padding:55px 20px 60px}.contact40-social{padding:65px 0 80px}.contact40-social-head{display:block}.contact40-social-head p{margin-top:20px}.contact40-social-row{grid-template-columns:35px 1fr auto;padding:20px 0;gap:10px}.contact40-social-row strong{font-size:18px}.contact40-social-row>span:last-child{font-size:14px}}

/* V41: contact page – replace decorative motif and label with Zaokruži 3 */
.contact41-vote{display:block;width:min(100%,410px);height:auto;object-fit:contain;margin:45px 0 0;mix-blend-mode:normal;background:#fff;border-radius:3px}
.contact40-info h2{margin-top:0}
@media(max-width:650px){.contact41-vote{width:min(100%,330px);margin-top:35px}}

/* V42: compact icon-only social links in contact details */
.contact42-social-icons{display:flex;flex-wrap:wrap;gap:13px;align-items:center;margin:0 0 38px;padding:0 0 27px;border-bottom:1px solid #d5dce0}
.contact42-social-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border:1px solid #d4dce2;border-radius:15px;background:#fff;color:#183d62;text-decoration:none;transition:background .18s,color .18s,border-color .18s,transform .18s}
.contact42-social-icon:hover,.contact42-social-icon:focus-visible{background:#c62131;border-color:#c62131;color:#fff;transform:translateY(-2px)}
.contact42-social-icon svg{width:27px;height:27px}
.contact40-intro h1{margin-top:10px}
@media(max-width:650px){.contact42-social-icons{gap:9px;margin-bottom:28px}.contact42-social-icon{width:49px;height:49px;border-radius:12px}.contact42-social-icon svg{width:24px;height:24px}}

/* V43: contact page — light palette; social icons after email and phone */
.contact40{background:#f8f8f7!important}
.contact40-intro{background:#fff!important;color:#183d62!important;border-right:1px solid #e2e7ec}
.contact40-intro h1{color:#183d62!important}
.contact40-intro h1 em{color:#e52632!important}
.contact40-intro>p{color:#586b7e!important}
.contact40-info{background:#f8f8f7!important}
.contact42-social-icons{margin:22px 0 0!important;padding:24px 0 0!important;border-top:1px solid #d5dce0;border-bottom:0!important}
@media(max-width:650px){.contact40{background:#fff!important}.contact40-intro{border-right:0!important}.contact40-info{background:#f8f8f7!important}}

/* V44: Center Zaokruzi 3 in the white contact panel */
.contact40-intro .contact41-vote{margin-left:auto!important;margin-right:auto!important;}

/* V51: external news links */
.shv-external-news{margin:0 0 42px}.shv-external-news h2{margin:0 0 20px}.shv-external-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.shv-external-news-card{background:#fff;border:1px solid #e8ebed;border-radius:12px;padding:26px;box-shadow:0 8px 25px rgba(20,42,69,.06)}.shv-external-news-card h3{font-size:23px;line-height:1.3;margin:12px 0}.shv-external-news-card p{margin:0 0 20px}@media(max-width:700px){.shv-external-news-grid{grid-template-columns:1fr}}

/* V52 news carousel and footer social */
.shv-news-carousel{max-width:100%;position:relative}.shv-news-track{position:relative;min-height:390px}.shv-news-slide{display:none;grid-template-columns:minmax(220px,42%) 1fr;min-height:350px;background:#fff;border:1px solid #e6e7e9;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(20,30,50,.06)}.shv-news-slide.is-active{display:grid}.shv-news-photo{display:block;min-height:350px;background:#f3f3f3}.shv-news-photo img{display:block;width:100%;height:100%;max-height:430px;object-fit:cover;object-position:center 25%}.shv-news-copy{padding:42px;align-self:center}.shv-news-copy h3{font-size:clamp(24px,2.5vw,38px);line-height:1.2;margin:16px 0}.shv-news-copy p{font-size:18px;color:#66717f;line-height:1.6}.shv-news-controls{display:flex;justify-content:center;align-items:center;gap:18px;margin:18px 0 0}.shv-news-controls button{width:44px;height:44px;border:1px solid #d4dce2;border-radius:50%;background:#fff;color:#bb202c;font-size:29px;cursor:pointer}.shv-news-controls button:hover{background:#bb202c;color:#fff}.shv-news-counter{font-weight:700;color:#344457}.footer .contact42-social-icons{display:flex;justify-content:center;gap:12px;border-top:1px solid rgba(255,255,255,.2)!important;border-bottom:0!important;padding:25px 0!important;margin:15px 0 0!important}.footer .contact42-social-icon{width:52px;height:52px;background:#fff;color:#183d62;border-radius:14px}.footer .contact42-social-icon svg{width:25px;height:25px}@media(max-width:700px){.shv-news-slide.is-active{grid-template-columns:1fr}.shv-news-photo{min-height:230px;height:230px}.shv-news-copy{padding:25px}.shv-news-track{min-height:540px}.footer .contact42-social-icons{flex-wrap:wrap}}

/* V53: keep campaign image fully visible in carousel */
.shv-news-photo img[src*="zaokruzi-3-v53"]{object-fit:contain;background:#faf8f5;padding:18px}

/* V55: original source photo and clean news cards */
.shv-source-news-image{display:block;width:100%;height:260px;object-fit:cover;object-position:center 30%;border-radius:12px;margin-bottom:22px;background:#f2f2f2}.shv-external-news .shv-news-follow{margin:28px 0 0;text-align:center}.shv-external-news .shv-news-follow a{display:inline-block}

/* V56: compact social icons immediately under Kontakt in footer */
.footer-grid > div:last-child .contact42-social-icons{display:flex!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:7px!important;margin:12px 0 0!important;padding:0!important;border:0!important;}
.footer-grid > div:last-child .contact42-social-icon{width:33px!important;height:33px!important;min-width:33px!important;border-radius:9px!important;padding:5px!important;}
.footer-grid > div:last-child .contact42-social-icon svg{width:19px!important;height:19px!important;}
@media(max-width:650px){.footer-grid > div:last-child .contact42-social-icons{gap:7px!important;}}

/* V57 — minimalistički naslov Vijesti s grafikom Zaokruži 3 */
.news-title-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:220px}.news-page-title h1{margin:0!important}.news-vote-three{display:block;width:clamp(220px,32vw,420px);height:auto;object-fit:contain;flex-shrink:0}@media(max-width:600px){.news-title-inner{min-height:150px;gap:12px}.news-vote-three{width:clamp(135px,38vw,215px)}}

.shv-podcast-news-card{margin-bottom:34px;max-width:760px}.shv-podcast-news-card .shv-source-news-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px}.shv-podcast-news-card h3{line-height:1.2}

/* V64: consistent navigation and images across all pages */
.site-header{position:sticky!important;top:0;z-index:9999;background:#fff}
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
.shv-external-news-card .shv-source-news-image{display:block;width:100%;height:230px;object-fit:cover;border-radius:10px;margin-bottom:18px}
.shv-podcast-news-card{max-width:none}
.shv-podcast-news-card .shv-source-news-image{max-height:430px}

/* V66: portreti u vijestima - cijelo lice i gornji dio tijela */
.shv-external-news-card .shv-source-news-image{height:320px;object-fit:contain;object-position:center center;background:#101010}
@media(max-width:760px){.shv-external-news-card .shv-source-news-image{height:280px}}

/* V67: retain image aspect and crop toward faces */
.shv-external-news-card .shv-source-news-image{height:320px!important;object-fit:cover!important;object-position:50% 14%!important;background:#fff!important}
.shv-external-news-card:nth-child(2) .shv-source-news-image{object-position:50% 9%!important}
@media(max-width:760px){.shv-external-news-card .shv-source-news-image{height:280px!important}}

/* V68: home carousel portraits — preserve existing frame/aspect ratio, show complete faces */
.shv-news-slide .shv-news-photo{overflow:hidden!important;}
.shv-news-slide .shv-news-photo img{object-fit:cover!important;object-position:50% 0%!important;}
.shv-news-slide .shv-news-photo img[src*="podcast"]{object-position:50% 50%!important;}
/* V68: article previews — prioritize face at the top, without changing image proportions */
.shv-external-news-card .shv-source-news-image{object-position:50% 0%!important;}
.shv-external-news-card:nth-child(2) .shv-source-news-image{object-position:50% 0%!important;}

/* V69: home carousel portrait framing matches reference; same wide frame, head fully visible */
.shv-news-slide .shv-news-photo img[src*="home-news-"]{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;}

/* V71: tri podcast epizode na stranici Vijesti */
.shv-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}.shv-video-card{border:1px solid #e3e7eb;border-radius:16px;overflow:hidden;background:#fff}.shv-video-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.shv-video-card h3{font-size:1.2rem;line-height:1.35;margin:18px 18px 8px;color:#243546}.shv-video-card p{margin:0 18px 20px;color:#626d7b}.shv-video-card a{text-decoration:none}@media(max-width:750px){.shv-video-grid{grid-template-columns:1fr}}

/* V72 home podcast cards */
.shv-home-podcasts{padding-top:8px}.shv-home-podcasts .section-head{margin-bottom:20px}.shv-home-podcasts .shv-video-grid{margin-top:0}
