/*
Theme Name: Blace Original
Theme URI: https://www.blace.ls.gov.rs/
Author: Opština Blace
Description: Samostalna tema za postojeće stranice, članke i menije opštine Blace. Početna ne koristi Elementor ili MWT vidžete.
Version: 0.1.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: blace-original
*/
body{--bo-ink:#02001c;--bo-ink-soft:#29273e;--bo-muted:#68667a;--bo-paper:#fff;--bo-wash:#f6f5f2;--bo-line:#e6e3dd;--bo-accent:#b48450;--bo-accent-bright:#e4bc82;--bo-radius:18px;--bo-container:1200px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bo-paper);color:var(--bo-ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
.bo-site-header a,.bo-site-footer a,.bo-hero a,.bo-home-section a,.bo-news-card a{color:inherit;text-decoration:none}
.bo-home-section a:hover,.bo-news-card a:hover{color:#825329}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--bo-accent);outline-offset:3px}
button,input,textarea{font:inherit}
button{cursor:pointer}
.bo-container{width:min(calc(100% - 48px),var(--bo-container));margin-inline:auto}
.bo-skip-link{position:fixed;z-index:100;left:12px;top:-100px;padding:10px 16px;background:#fff;color:#000}
.bo-skip-link:focus{top:12px}
.bo-site-header{position:absolute;z-index:50;inset:0 0 auto;color:#fff;border-bottom:1px solid rgba(255,255,255,.22)}
.bo-site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:112px}
.bo-site-brand{flex:none;min-width:0}
.bo-site-brand img{display:block;width:min(342px,32vw);height:auto;max-height:86px;object-fit:contain;object-position:left center}
.bo-site-brand .custom-logo-link{display:block}
.bo-primary-navigation{margin-left:auto}
.bo-menu-list{list-style:none;padding:0;margin:0;display:flex;align-items:center;gap:4px}
.bo-menu-list li{position:relative;list-style:none}
.bo-primary-navigation .bo-menu-list>li>a{display:block;padding:17px 12px;font-size:.83rem;line-height:1.3;font-weight:700;letter-spacing:.025em;text-transform:uppercase;color:#fff;white-space:nowrap}
.bo-primary-navigation .bo-menu-list>li>a:hover,.bo-primary-navigation .bo-menu-list>li>a:focus-visible{color:var(--bo-accent-bright)}
.bo-primary-navigation .sub-menu{display:none;position:absolute;z-index:60;top:100%;left:0;min-width:250px;padding:10px;background:#fff;color:var(--bo-ink);box-shadow:0 16px 40px rgba(2,0,28,.18);border-top:3px solid var(--bo-accent);border-radius:0 0 10px 10px;list-style:none}
.bo-primary-navigation li:hover>.sub-menu,.bo-primary-navigation li:focus-within>.sub-menu,.bo-primary-navigation li.submenu-open>.sub-menu{display:block}
.bo-primary-navigation .sub-menu .sub-menu{top:-10px;left:100%}
.bo-primary-navigation .sub-menu a{display:block;padding:10px 12px;color:var(--bo-ink);font-size:.88rem;line-height:1.35}
.bo-primary-navigation .sub-menu a:hover,.bo-primary-navigation .sub-menu a:focus-visible{color:#825329;background:var(--bo-wash)}
.bo-primary-navigation .menu-item-has-children>a::after{content:"";display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-3px) rotate(45deg);margin-left:10px}
.bo-submenu-toggle{display:none}.bo-submenu-toggle::after{content:"";display:block;width:8px;height:8px;margin:auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}.submenu-open>.bo-submenu-toggle::after{transform:translateY(2px) rotate(225deg)}
.bo-menu-toggle{display:none;border:0;background:transparent;color:#fff;padding:12px}
.bo-menu-toggle span{display:block;width:27px;height:2px;margin:5px 0;background:currentColor}
.bo-hero{min-height:680px;position:relative;color:#fff;display:flex;align-items:center;background-color:#20263e;background-image:linear-gradient(90deg,rgba(2,0,28,.86) 0%,rgba(2,0,28,.55) 46%,rgba(2,0,28,.1) 100%),var(--bo-hero-image);background-position:center;background-size:cover}
.bo-hero__inner{position:relative;z-index:1;padding-top:175px;padding-bottom:100px}
.bo-eyebrow{margin:0 0 12px;font-size:.77rem;font-weight:800;letter-spacing:.17em;line-height:1.5;color:#8b613b;text-transform:uppercase}
.bo-hero .bo-eyebrow{color:var(--bo-accent-bright)}
.bo-hero h1{max-width:760px;margin:0 0 20px;font-size:clamp(3.4rem,6vw,6.5rem);line-height:1.02;font-weight:750;letter-spacing:-.05em}
.bo-hero h1 em{font-style:normal;color:var(--bo-accent-bright)}
.bo-hero p:not(.bo-eyebrow){max-width:580px;margin:0 0 30px;font-size:1.2rem;line-height:1.5;color:#f1eef2}
.bo-hero__actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.bo-button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;padding:13px 20px;border-radius:3px;font-weight:700;transition:background .2s,color .2s,transform .2s}
.bo-button:hover{transform:translateY(-2px)}
.bo-hero a.bo-button--light{background:#fff;color:var(--bo-ink)}
.bo-hero a.bo-button--light:hover,.bo-hero a.bo-button--light:focus-visible{background:var(--bo-accent-bright);color:var(--bo-ink)}
.bo-text-link{font-weight:650}
.bo-text-link--light{color:#fff}
.bo-text-link--light:hover{color:var(--bo-accent-bright)}
.bo-hero__index{position:absolute;right:max(24px,calc((100vw - var(--bo-container))/2));bottom:36px;font-size:.78rem;font-weight:700;letter-spacing:.18em;color:#fff}
.bo-home-section{padding-block:86px}
.bo-section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:31px}
.bo-section-heading h2,.bo-contact-grid h2{font-size:clamp(2rem,3.5vw,3.3rem);letter-spacing:-.04em;line-height:1.1;margin:0}
.bo-section-heading>p{max-width:340px;margin:0;color:var(--bo-muted)}
.bo-more-link{color:var(--bo-ink);font-weight:700;font-size:.93rem;white-space:nowrap;border-bottom:1px solid var(--bo-accent);padding-bottom:5px}
.bo-more-link:hover{color:#825329}
.bo-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.bo-news-section .bo-news-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.bo-news-card{min-width:0}
.bo-news-card__image{display:block;overflow:hidden;aspect-ratio:1.58;background:#eae7e1;border-radius:8px}
.bo-news-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.bo-news-card:hover .bo-news-card__image img{transform:scale(1.035)}
.bo-news-card__placeholder{display:grid;place-items:center;width:100%;height:100%;font-weight:800;color:#8f8a9a}
.bo-news-card__body{padding-top:16px}
.bo-news-card time{display:block;color:var(--bo-muted);font-size:.78rem;font-weight:650;letter-spacing:.04em}
.bo-news-card h3{font-size:1.4rem;line-height:1.27;letter-spacing:-.025em;margin:7px 0 10px}
.bo-news-card h3 a:hover{color:#825329}
.bo-news-card p{margin:0;color:var(--bo-muted);font-size:.95rem;line-height:1.55}
.bo-section-tint{background:var(--bo-wash)}
.bo-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--bo-line);border:1px solid var(--bo-line)}
.bo-service-card{position:relative;display:flex;flex-direction:column;min-height:210px;gap:8px;padding:27px 30px;background:#fff;transition:background .2s}
.bo-service-card:hover{background:#faf8f5;color:var(--bo-ink)}
.bo-service-card__number{color:#96704d;font-size:.8rem;font-weight:800;letter-spacing:.12em}
.bo-service-card strong{max-width:95%;font-size:1.3rem;line-height:1.25}
.bo-service-card>span:not(.bo-service-card__number):not(.bo-service-card__arrow){max-width:90%;font-size:.9rem;color:var(--bo-muted)}
.bo-service-card__arrow{position:absolute;right:25px;top:22px;font-size:1.3rem;color:#9c7047}
.bo-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bo-feature-grid .bo-service-card{border:1px solid var(--bo-line);border-radius:8px;min-height:225px}
.bo-section-deep{background:var(--bo-ink);color:#fff}
.bo-section-deep .bo-eyebrow{color:var(--bo-accent-bright)}
.bo-rights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bo-rights-grid a{min-height:180px;padding:26px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid rgba(255,255,255,.25);color:#fff;transition:background .2s}
.bo-rights-grid a:hover{background:rgba(255,255,255,.08);color:#fff}
.bo-rights-grid a>span:first-child{color:var(--bo-accent-bright);font-size:.78rem;font-weight:800}
.bo-rights-grid a strong{max-width:85%;font-size:1.25rem;line-height:1.3}
.bo-rights-grid a>span:last-child{align-self:flex-end;font-size:1.35rem;color:var(--bo-accent-bright)}
.bo-contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:90px;align-items:start}
.bo-contact-grid>div:first-child>p:last-child{max-width:450px;color:var(--bo-muted)}
.bo-contact-grid>div:first-child a{text-decoration:underline;text-decoration-color:var(--bo-accent);text-underline-offset:3px}
.bo-contact-panel{padding:30px;background:var(--bo-wash);border-radius:8px}
.bo-contact-panel p{margin:0 0 15px}
.bo-contact-panel input:not([type=submit]),.bo-contact-panel textarea{display:block;width:100%;padding:12px 14px;border:1px solid #cac5bc;background:#fff;border-radius:3px;color:var(--bo-ink)}
.bo-contact-panel textarea{min-height:125px}
.bo-contact-panel input[type=submit],.bo-contact-panel button{padding:13px 22px;border:0;background:var(--bo-ink);color:#fff;font-weight:700}
.bo-contact-panel input[type=submit]:hover,.bo-contact-panel button:hover{background:#3b2c47}
.bo-external-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bo-external-grid a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:100px;padding:18px 20px;background:#fff;border:1px solid var(--bo-line);font-weight:700;line-height:1.3}
.bo-external-grid a:hover{border-color:var(--bo-accent);color:#825329}
.bo-external-grid img{display:block;max-width:100%;max-height:94px;object-fit:contain;margin:auto}
.bo-site-footer{background:var(--bo-ink);color:#fff;padding-top:65px}
.bo-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:50px;padding-bottom:60px}
.bo-footer-eyebrow{font-size:.7rem;letter-spacing:.16em;color:var(--bo-accent-bright);font-weight:800}
.bo-site-footer h2{font-size:2rem;letter-spacing:-.04em;margin:0 0 17px}
.bo-site-footer h3{font-size:1rem;margin:0 0 20px}
.bo-site-footer p{color:#cccbd4;margin:0 0 15px}
.bo-site-footer a{color:#e8e6ec}
.bo-site-footer a:hover{color:var(--bo-accent-bright)}
.bo-site-footer .bo-menu-list,.bo-footer-links{display:block;list-style:none;margin:0;padding:0}
.bo-site-footer .bo-menu-list li,.bo-footer-links li{margin-bottom:10px}
.bo-site-footer .bo-menu-list .sub-menu{display:none}
.bo-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-block:20px;border-top:1px solid rgba(255,255,255,.15);color:#aaa9b6;font-size:.8rem}
body:not(.home) .bo-site-header{position:relative;background:var(--bo-ink)}
.bo-interior{padding-block:70px 100px;min-height:55vh}
.bo-legacy-page{min-height:45vh}
.bo-breadcrumbs{font-size:.78rem;color:var(--bo-muted);margin:0 0 16px}
.bo-breadcrumbs a:hover{color:#825329}
.bo-interior h1{font-size:clamp(2.2rem,4vw,4rem);line-height:1.12;letter-spacing:-.04em;margin:0 0 24px}
.bo-entry-content{max-width:860px;font-size:1.06rem;line-height:1.75}
.bo-entry-content h2,.bo-entry-content h3{line-height:1.2;letter-spacing:-.025em;margin-top:1.5em}
.bo-entry-content a{color:#79502a;text-decoration:underline;text-underline-offset:3px}
.bo-entry-content img{border-radius:5px}
.bo-entry-image{margin:0 0 30px}
.bo-entry-image img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover}
.bo-site-search{max-width:520px;margin-block:24px}
.bo-site-search label{display:block;margin-bottom:8px;font-weight:700}
.bo-site-search>div{display:flex;gap:8px}
.bo-site-search input{min-width:0;flex:1;padding:11px 13px;border:1px solid var(--bo-line);border-radius:3px}
.bo-site-search button{padding:11px 18px;border:0;border-radius:3px;background:var(--bo-ink);color:#fff;font-weight:700}
.bo-interior .bo-news-grid{margin-top:32px}
.bo-pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:35px}
.bo-pagination .page-numbers{padding:8px 14px;border:1px solid var(--bo-line)}
.bo-pagination .current{background:var(--bo-ink);color:#fff}
.bo-not-found{max-width:700px}
@media(max-width:1000px){.bo-site-header__inner{min-height:90px}.bo-site-brand img{width:260px}.bo-menu-toggle{display:block;margin-left:auto}.bo-primary-navigation{display:none;position:absolute;left:0;right:0;top:100%;background:var(--bo-ink);max-height:calc(100vh - 90px);overflow:auto;margin:0;padding:12px 24px 22px}.bo-primary-navigation.is-open{display:block}.bo-primary-navigation .bo-menu-list{display:block}.bo-primary-navigation .bo-menu-list>li>a{padding:12px 0}.bo-primary-navigation .sub-menu{position:static;min-width:0;box-shadow:none;border:0;border-left:2px solid var(--bo-accent);border-radius:0;background:transparent;padding:0 0 0 14px;margin:0 0 9px 8px}.bo-primary-navigation li:hover>.sub-menu,.bo-primary-navigation li:focus-within>.sub-menu{display:none}.bo-primary-navigation li.submenu-open>.sub-menu{display:block}.bo-primary-navigation .sub-menu a{color:#fff;padding:9px 0}.bo-primary-navigation .sub-menu a:hover{background:transparent;color:var(--bo-accent-bright)}.bo-submenu-toggle{display:block;position:absolute;right:0;top:4px;width:40px;height:40px;border:0;background:transparent;color:#fff;font-size:1.1rem}.bo-primary-navigation .menu-item-has-children>a::after{display:none}.bo-hero{min-height:610px}.bo-hero__inner{padding-top:165px}.bo-news-grid,.bo-service-grid,.bo-feature-grid,.bo-rights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bo-contact-grid{gap:40px}.bo-external-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body{font-size:16px}.bo-container{width:min(calc(100% - 32px),var(--bo-container))}.bo-site-header__inner{min-height:76px}.bo-site-brand img{width:205px;max-height:68px}.bo-primary-navigation{max-height:calc(100vh - 76px);padding-inline:16px}.bo-hero{min-height:530px;background-position:58% center}.bo-hero__inner{padding-top:155px;padding-bottom:75px}.bo-hero h1{font-size:clamp(2.8rem,12vw,4rem)}.bo-hero p:not(.bo-eyebrow){font-size:1.03rem}.bo-hero__index{bottom:18px}.bo-home-section{padding-block:60px}.bo-section-heading{display:block}.bo-section-heading h2,.bo-contact-grid h2{font-size:2rem}.bo-section-heading>p{margin-top:10px}.bo-more-link{display:inline-block;margin-top:18px}.bo-news-grid,.bo-service-grid,.bo-feature-grid,.bo-rights-grid,.bo-contact-grid,.bo-external-grid,.bo-footer-grid{grid-template-columns:1fr}.bo-news-grid{gap:30px}.bo-news-card__image{aspect-ratio:1.7}.bo-service-card,.bo-feature-grid .bo-service-card{min-height:165px;padding:22px}.bo-rights-grid a{min-height:145px}.bo-contact-grid{gap:24px}.bo-contact-panel{padding:20px}.bo-external-grid a{min-height:78px}.bo-footer-grid{gap:30px}.bo-footer-bottom{display:block}.bo-footer-bottom a{display:block;margin-top:10px}.bo-interior{padding-block:45px 70px}}

@media(max-width:1100px){.bo-news-section .bo-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.bo-news-section .bo-news-grid{grid-template-columns:1fr}}
