#bs-site-header { --gold:#ffb71e; width:100%; margin:0; position:relative; z-index:10; color:#faf7f1; font:16px/1.35 Arial,sans-serif; background:linear-gradient(105deg,#10222ae0,#101c22a0),url('/media/templates/site/bojanje_naslovnica/images/tekstura.jpg') center/cover; }
#bs-site-header * { box-sizing:border-box; }
#bs-site-header .wrap { width:min(92%,1140px); margin-inline:auto; }
#bs-site-header a { color:inherit; text-decoration:none; }
#bs-site-header .mast { min-height:102px; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:12px 0; }
#bs-site-header .mast img { display:block; width:clamp(285px,29vw,324px); max-width:100%; height:auto; margin:0; }
#bs-site-header .mast time { font:400 13px/1.4 Arial,sans-serif; white-space:nowrap; }
#bs-site-header .mast time::before { content:none; }
#bs-site-header .main-nav { border-block:1px solid #ffffff40; background:linear-gradient(180deg,#354950 0%,#172e39 26%,#10242e 82%,#0a1922 100%); box-shadow:inset 0 1px #e9edf03b,inset 0 -2px #08141c,0 4px 13px #060d126b; }
#bs-site-header .main-nav > .wrap { display:grid; grid-template-columns:.62fr 1.28fr 1.03fr 1.14fr .89fr; align-items:stretch; }
#bs-site-header .menu-entry { position:relative; min-width:0; }
#bs-site-header .menu-entry > a { display:grid; align-content:center; text-align:center; min-height:61px; padding:.45rem .9rem; border-inline-end:1px solid #d7e3e32d; font-size:clamp(.70rem,1.24vw,1rem); white-space:nowrap; box-shadow:inset -1px 0 #04111a50; }
#bs-site-header .menu-entry:has(details) > a { padding-inline-end:1.44rem; }
#bs-site-header .main-nav small { display:block; font-size:clamp(.62rem,.88vw,.78rem); line-height:1.35; }
#bs-site-header .main-nav a[aria-current] { box-shadow:inset 0 -3px #ffb71e,inset 0 1px #f7dc9b25; color:#ffb71e; }
#bs-site-header .menu-entry > a:hover { background:#e0b35b11; }
#bs-site-header details { position:absolute; right:.25rem; top:.95rem; z-index:12; }
#bs-site-header summary { cursor:pointer; color:#ffb71e; padding:.25rem .12rem; }
#bs-site-header details ul { position:absolute; right:0; min-width:min(18rem,80vw); max-height:55vh; overflow:auto; margin:0; padding:.5rem; background:#10242e; border:1px solid #8b744f; list-style:none; }
#bs-site-header li a { display:block; padding:.4rem; font-size:.95rem; }
#bs-site-header li a:hover { color:#ffb71e; }
#bs-site-header :is(a,summary):focus-visible { outline:2px solid #e4b24c; outline-offset:3px; }
#bs-site-header .bs-site-date { display:inline-flex; align-items:center; gap:8px; }
#bs-site-header .bs-site-date-icon { color:#dbb456; font-size:14px; }
@media(max-width:640px){#bs-site-header .mast{min-height:72px;flex-wrap:wrap;gap:.4rem;}#bs-site-header .mast img{width:min(62vw,300px);}#bs-site-header .mast time{font-size:11px;}#bs-site-header .main-nav>.wrap{grid-template-columns:repeat(2,minmax(0,1fr));}#bs-site-header .menu-entry>a{white-space:normal;min-height:48px;}}

/* Zagreb: compact local date and clock */
#bs-site-header .mast > time.bs-site-date{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:7px;flex:0 0 186px;width:186px;height:78px;padding:0 0 0 11px;border-left:1px solid #91b9ca35;font-family:Arial,sans-serif;text-align:right;white-space:nowrap;font-weight:400;line-height:1.3}
#bs-site-header .bs-calendar-date{display:block;font-size:11px;color:#dbe2e4;letter-spacing:0}
#bs-site-header .bs-clock-value{display:block;font-size:27px;line-height:1;font-weight:400;letter-spacing:1.3px;color:#e4c487;font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
@media(max-width:640px){#bs-site-header .mast > time.bs-site-date{flex-direction:row;align-items:center;gap:10px;width:auto;max-width:100%;height:18px;flex-basis:auto;padding:0;border:0}#bs-site-header .bs-calendar-date{font-size:10px}#bs-site-header .bs-clock-value{font-size:17px;letter-spacing:.7px}}

/* Keep the open weather information above navigation. */
#bs-site-header .mast:has(.zg-info[open]){position:relative;z-index:20}

#bs-site-header .zg-weather .zg-info summary{width:22px;height:22px;padding:0;border-color:#b996556b;color:#ebca86;font:italic 700 16px/1 Georgia,serif;background:#183644}
#bs-site-header .zg-weather .zg-info-panel{top:27px}
@media(max-width:640px){#bs-site-header .zg-weather .zg-brand-copy{padding-right:26px}}

/* Approved first 3D logo: retain its full existing width without raising the header. */
@media(min-width:1001px){#bs-site-header .mast{padding-block:8px}}

/* Slight optical reduction requested after placement; keep the layout slot unchanged. */
#bs-site-header .mast > a > img{clip-path:inset(0);object-fit:contain;transform:scale(.95);transform-origin:left center}

/* Refined, centered date and clock within their original header slot. */
#bs-site-header .mast > time.bs-site-date{align-items:center;text-align:center;gap:6px}
#bs-site-header .bs-calendar-date{font-size:12px;line-height:1.3}
#bs-site-header .bs-clock-value{font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:400;letter-spacing:1.2px;color:#e4c487}
#bs-site-header .bs-clock-value::before{content:"";display:block;width:54px;height:1px;margin:0 auto 7px;background:linear-gradient(90deg,transparent,#cda85d99,transparent)}
@media(max-width:640px){#bs-site-header .mast > time.bs-site-date{gap:9px}#bs-site-header .bs-calendar-date{font-size:11px}#bs-site-header .bs-clock-value{font-size:18px;letter-spacing:.6px}#bs-site-header .bs-clock-value::before{display:inline-block;width:1px;height:12px;margin:0 9px -1px 0;background:#cda85d77}}

/* Bojanje stana: dvije kolone preglednih, reljefnih poveznica. */
#bs-site-header .bs-paint-menu{z-index:30}
#bs-site-header .bs-paint-menu details{inset:0;width:100%;height:100%;pointer-events:none}
#bs-site-header .bs-paint-menu summary{position:absolute;right:8px;top:50%;transform:translateY(-50%);pointer-events:auto}
#bs-site-header .bs-paint-menu details>ul{top:100%;left:0;right:auto;min-width:0;width:430px;max-width:calc(100vw - 30px);max-height:70vh;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:10px;background:linear-gradient(145deg,#203b46,#10242e 80%);border:1px solid #af8b4c;box-shadow:0 9px 22px #0006,inset 0 1px #ffffff1c;pointer-events:auto;border-radius:0 0 4px 4px}
#bs-site-header .bs-paint-menu details[open]>ul{display:grid}
#bs-site-header .bs-paint-menu details:not([open])>ul{display:none}
#bs-site-header .bs-paint-menu li{margin:0;min-width:0;list-style:none}
#bs-site-header .bs-paint-menu li a{display:flex;align-items:center;position:relative;min-height:43px;height:100%;padding:7px 9px 7px 20px;white-space:normal;font:400 12px/1.35 "Segoe UI",Arial,sans-serif;color:#edf0ed;border:1px solid #b2945955;border-radius:3px;background:linear-gradient(180deg,#304b56,#1a3541 55%,#16303b);box-shadow:inset 0 1px #ffffff16,0 2px 4px #0004;transition:color .15s,border-color .15s,box-shadow .15s,transform .15s}
#bs-site-header .bs-paint-menu li a::before{content:"›";position:absolute;left:7px;color:#d9b36a;font-size:17px;line-height:1}
#bs-site-header .bs-paint-menu li a:hover,#bs-site-header .bs-paint-menu li a:focus-visible{color:#ffe1a2;border-color:#d4ac63;background:linear-gradient(180deg,#3a5360,#254350 60%,#1b3743);box-shadow:inset 0 1px #ffffff24,0 4px 7px #0005;transform:translateY(-1px);outline-offset:1px}
@media(max-width:640px){#bs-site-header .bs-paint-menu details>ul{width:min(430px,calc(100vw - 30px));max-height:65vh;padding:8px;gap:5px}#bs-site-header .bs-paint-menu li a{font-size:11px;min-height:42px;padding-left:18px}}
@media(prefers-reduced-motion:reduce){#bs-site-header .bs-paint-menu li a{transition:none;transform:none}}

/* Podizbornik boja zadrzava istu mrezu i stane na manji ekran. */
@media(max-width:640px){#bs-site-header .bs-colors-menu details>ul{left:auto;right:0}}
