/* =========================================================
   MAČUS — WordPress in Elementor združljivost
   ========================================================= */

/* logotip v glavi je vektorski */
.hdr__logo svg, .hdr__logo img { width: 30px; height: 30px; flex: none; object-fit: contain; }
.hdr__logo svg path { fill: currentColor; }
.lang a { color: var(--dim); transition: color .3s; }
.lang a:hover { color: var(--bone); }
.lang b, .lang a { white-space: nowrap; }

/* admin vrstica ne sme prekriti plavajoče glave */
.admin-bar .hdr { top: calc(16px + 32px); }
@media (max-width: 782px) { .admin-bar .hdr { top: calc(16px + 46px); } }
.admin-bar .drawer { top: 44px; }

/* Elementor: sekcije Mačus vedno čez celo širino, brez notranjih odmikov ovojnice */
.elementor .elementor-widget-container:has(> [data-macus]) { padding: 0; margin: 0; }
[class*="elementor-widget-macus-"] { width: 100%; }
.e-con:has(> .e-con-inner > [class*="elementor-widget-macus-"], > [class*="elementor-widget-macus-"]) { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px 0px; --row-gap: 0px; --column-gap: 0px; }

/* statični pogled (Elementor urejevalnik, vizualni prevajalnik): vse vidno, brez pripenjanja */
.macus-static .pt, .macus-static .cursor, .macus-static .cursor__ring { display: none !important; }
.macus-static .hdr__bar { opacity: 1; visibility: visible; clip-path: none; }
.macus-static .hdr__burger, .macus-static .hdr__label, .macus-static .hdr__corner { display: none; }
.macus-static .wd-hero__aside { opacity: 1; }
.macus-static .manifesto .w, .macus-static [data-scrub-words] { opacity: 1; }
.macus-static .duo__media, .macus-static .tour__media, .macus-static [data-clip] { clip-path: inset(0 round 32px); }
.macus-static .place__img { clip-path: none; }
.macus-static .wd-hero { height: 100svh; }
.macus-static .hs__track { width: auto; flex-wrap: nowrap; overflow-x: auto; }
.macus-static .offer__bg:first-child { opacity: 1; }
.macus-static .hero__mark, .macus-static .hero__sub, .macus-static .hero__slogan, .macus-static .hero__meta, .macus-static .hero__scroll, .macus-static .hero__word .ch { opacity: 1 !important; visibility: visible !important; transform: none !important; }
body.no-grain::after { display: none; }

/* navadne strani (brez Elementorja), prispevki, 404 */
.macus-plain { padding: calc(var(--hdr-h) + 120px) var(--gutter) 120px; width: min(860px, 100%); margin: 0 auto; display: grid; gap: 28px; }
.macus-prose { color: var(--bone-2); font-size: 17px; line-height: 1.7; }
.macus-prose a { text-decoration: underline; text-underline-offset: 3px; }
.macus-prose img { border-radius: 18px; height: auto; }
.macus-404 { min-height: 80svh; align-content: center; justify-items: start; }

/* obrazec: skrito polje proti robotom */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .is-error { border-color: #c4545e !important; }
.form__err { color: #e8939a; font-size: 13.5px; margin: 0; }

/* Elementor urejevalnik: prazen gradnik naj bo viden */
.elementor-editor-active [data-macus]:empty { min-height: 120px; outline: 1px dashed var(--faint); }

/* znak v hero sekciji je vektorski ali slika */
.hero__mark { aspect-ratio: 912 / 848; }
.hero__mark svg, .hero__mark img { width: 100%; height: 100%; display: block; object-fit: contain; }

/* postavitve, ki jih nastavite v gradnikih */
.duo--right .duo__media { order: 2; }
.tour__grid--right .tour__media { order: 2; }
.cellar--right .cellar__stage { order: 2; }
.inq { padding-top: clamp(64px, 10vh, 120px); }
.macus-empty { padding: 60px var(--gutter); text-align: center; color: var(--dim); border: 1px dashed var(--faint); border-radius: 20px; margin: 20px; }
.ct-wrap { position: relative; }
.ct__form .form { position: relative; }
.intro .pillars__head > div { max-width: 100%; }
@media (max-width: 900px) { .duo--right .duo__media, .tour__grid--right .tour__media, .cellar--right .cellar__stage { order: 0; } }
