/* Explicit corrections to the hero and commissioned project galleries. */
.hero.hero-logo-first{display:flex!important;flex-direction:column;align-items:center;gap:40px;padding:48px 0 60px;min-height:0;text-align:center}
.hero-logo{width:min(660px,82vw);margin:0 auto}.hero-logo img{display:block;width:100%;height:auto;object-fit:contain}
.hero-logo-first .hero-copy{width:100%;max-width:940px}.hero-logo-first .eyebrow{justify-content:center}
.hero-logo-first h1{font-size:clamp(3.25rem,5.1vw,4.65rem);line-height:1.08;max-width:940px;margin:22px auto}
.hero-logo-first p{max-width:750px;margin:0 auto;font-size:16px;line-height:1.8}.hero-logo-first .actions{justify-content:center;margin-top:26px}
/* Cafe Tiki: retain the original photograph proportions at EVERY viewport. */
#reference .tiki-reference-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;align-items:start}
#reference figure img,#reference .tiki-reference-gallery img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:8px!important}
/* MAJTIS: restore the first version's 4:3 framing and 78% position of the series. */
#majtis .majtis-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
#majtis .majtis-gallery img{display:block;width:100%;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;object-position:center;background:transparent!important;border-radius:8px!important}
#majtis .majtis-gallery img[src*="majtis-kartice-serija"]{object-position:center 78%!important}
@media(max-width:900px){.hero.hero-logo-first{padding:40px 0 50px;gap:32px}.hero-logo{width:min(580px,85vw)}}
@media(max-width:640px){.hero.hero-logo-first{padding:32px 0 44px;gap:30px}.hero-logo{width:min(420px,90vw)}.hero-logo-first h1{font-size:2.85rem;margin:18px auto;max-width:440px}.hero-logo-first p{font-size:15px}.hero-logo-first .eyebrow{font-size:10px;letter-spacing:.12em}.hero-logo-first .eyebrow:before{width:22px}#reference .tiki-reference-gallery{grid-template-columns:1fr!important}#majtis .majtis-gallery{grid-template-columns:1fr}}

/* A compact gallery whose images retain their actual proportions. */
#reference .tiki-whole-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}#reference .tiki-whole-gallery img{height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}#reference .tiki-whole-gallery figcaption{font-size:12px!important;line-height:1.6}@media(max-width:900px){#reference .tiki-whole-gallery{grid-template-columns:1fr 1fr!important}}@media(max-width:640px){#reference .tiki-whole-gallery{grid-template-columns:1fr!important}}
