/* GMB tema — glavni stylesheet. Theme header je u root style.css (WP zahtjev). */

/* ======================= 00) CSS VARIJABLE ======================= */
:root{
  /* crno/bijelo */
  --white: #fff;
  --black: #10273e;
  --dark-text: #6b6e82;

  --primary: #127ec7;
  --accent:  #128dc7;

  --light-gray:    #e8eef4;
  --neutral-gray:  #acb0b4;
  --charcoal-blue: #7f8c96;
  --red:           #d20e35;

  /* fontovi */
  --font-head:   "Courier Prime", monospace;
  --font-body:   "Courier Prime", monospace;
  --font-button: "Noto Sans", sans-serif;

  /* širina sadržaja: --wrap = tekst/grid, --wrap-wide = header/hero (+15% sa svake strane) */
  --wrap: 1300px;
  --wrap-wide: calc(var(--wrap) * 1.3);

  /* skala razmaka */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 96px;
  --s7: 132px;
}

/* ======================= 01) RESET / NORMALIZE (minimalno) ======================= */
*,
*::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HTML5 block elements (za starije edge-caseove) */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section{
  display: block;
}

/* Lists */
ol, ul{ list-style: none; }

/* Tables */
table{
  border-collapse: collapse;
  width: 100%;
}

/* Quotes */
blockquote, q{ quotes: none; }
blockquote::before, blockquote::after,
q::before, q::after{ content: ""; }

/* ======================= 02) BASE / GLOBAL ======================= */
html{ font-size: 16px; }

body{
  line-height: 1.8;
  color: var(--dark-text);
  font-family: var(--font-body);
  background: var(--white);
}

/* Tipografija */
h1, h2, h3, h4, h5, h6{
  font-family: var(--font-head);
  text-rendering: optimizeLegibility;
  font-weight: 400;
  color: var(--dark-text);
}

p, li, code, pre, blockquote, small, strong, em, b{
  font-family: var(--font-body);
}


a, a:visited{
  /* color: var(--accent); */
  text-decoration: none;
}
a:hover, a:focus{
  color: var(--accent);
  text-decoration: underline;
}
/* ======================= 90) UTILITIES ======================= */
/* Clearfix */
.cf::before,
.cf::after{
  content: "";
  display: table;
}
.cf::after{ clear: both; }

/* legacy IE zoom hack izbacen (ne treba ti na modernim browserima) */


/* ======================= 10) CONTAINERS ======================= */
/* Sadržaj (tekst, grid) */
.wrap{
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
}

/* Header: šire od sadržaja (+15% sa svake strane) */
.hwrap{
  width: 100%;
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding-inline: 32px;
}

/* ======================= 12) MEDIA / IMAGES ======================= */
/* Cover (sticky hero) */
.cover img[itemprop="image"]{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 900 / 475;
}

.cover{
  min-height: calc((475 / 900) * 100vw);
}

@media (min-width: 900px){
  .cover{ min-height: auto; }
}

/* Recent crops */
img.attachment-crop{
  width: 100%;
  height: auto;    
  display: block;
  object-fit: cover;
}


/* ======================= 20) LINKS ======================= */
a{
  color: var(--primary);
  font-weight: 400;
  transition: color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  text-decoration: none;
}

a:hover,
a:focus{
 color: var(--accent);
  outline: none;
}

a:active{
  color: var(--accent);
}

/* underline kao u starom: jednostavno i sigurno */

a:hover::after,
a:focus::after{
  width: 100%;
}

/* ======================= 30) TYPO / SMALL RESETS ======================= */
abbr[title]{ border-bottom: 1px dotted; }

b, strong, .strong{ font-weight: 700; }

dfn, em, .em{ font-style: italic; }

hr{
  height: 3px;
  border: 0;
  background: var(--primary);
  width: 100%;
  margin: 0 0 2em;
  clear: both;
}

/* Code-ish */
pre, code, kbd, samp{ font-size: 1em; }
pre{ white-space: pre-wrap; }

q{ quotes: "\201C" "\201D" "\2018" "\2019"; }
q::before, q::after{ content: none; }

small, .small{ font-size: 75%; }

sub, sup{
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup{ top: -0.4em; }
sub{ bottom: -0.25em; }

/* ======================= 90) LEGACY HELPERS ======================= */
.next, .right{
  display: block;
  float: right;
  padding: 1em;
}
/* ======================= 15) HEADINGS (override) ======================= */

h1, h2, h3,
.h1, .h2, .h3{
  font-family: var(--font-head);
  text-rendering: optimizeLegibility;
  color: var(--primary);
}

h4, h5, h6,
.h4, .h5, .h6{
  font-family: var(--font-head);
  text-rendering: optimizeLegibility;
  color: var(--dark-text); /* ostalo = crno */
}


h1 a, h2 a, h3 a, h4 a, h5 a,
.h1 a, .h2 a, .h3 a, .h4 a, .h5 a{
  color: inherit;
  text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover,
.h1 a:hover, .h2 a:hover, .h3 a:hover, .h4 a:hover, .h5 a:hover{
  text-decoration: underline;
}

h1, .h1{ font-size: 2rem; margin: 0.25em 0; }
h2, .h2{font-size: 1.5em;line-height: 1.5em;}
h3, .h3{ font-size: 1.25em; line-height: 1; }
h4, .h4{ font-size: 1.25em; }

h5, .h5{
  font-size: 1.15em;
  line-height: 2.09em;
  color: var(--dark-text);
}

/* Tags */
.tags{ margin: 1em 0; }

/* ======================= HEADER / NAV (FULL BLOCK) ======================= */

/* ===== HEADER LAYOUT ===== */
.header-flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px var(--light-gray);
}

/* Logo column */
.header-left{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0.25rem 5rem 0.25rem 0;
}

/* Right column (hamburger zone) */
.header-right{
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-menu-wrapper{ width: 100%; }
.nav-menu{ margin: 0; padding: 0; }



/* ===== CONTACT ROW ===== */
.nav-contact{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  padding: .6rem 1rem;
  color: var(--dark-text);
  font-weight: 400;
  white-space: nowrap;
  order: 1;
  font-size: 1em;
  background: transparent;
}

.nav-contact a{
  color: var(--primary);
  text-decoration: none;
  font-weight: 400;
}
.nav-contact a:hover{ text-decoration: underline; }

/* ===== WP MENU LIST ===== */
.menu{
  display: flex;
  width: 100%;
  margin: 0;
  list-style: none;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: nowrap;
  order: 2;
  flex-direction: column;
}

.menu > li{
  position: relative;
  white-space: nowrap;
}

.menu > li > a{
  font-family: var(--font-head);
  font-style: normal;
  display: block;
  font-size: 1.25em;
  color: var(--primary);
  padding: .5rem .5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  /* border-bottom: 3px solid var(--primary); */
}

.menu > li > a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.25s ease;
}

.menu > li > a:hover{
  color: var(--accent);
  text-decoration: underline;
}

.menu li.current-menu-item > a{
  color: var(--accent);
  /* text-decoration: underline; */
}

/* =========================================================
   DEFAULT DROPDOWN (drugi submenu) - desktop hover
   Napomena: NAMJERNO iskljuceno za .gmb-archives-submenu
   ========================================================= */

/* bazno stanje: sakrij sve sub-menu */
.menu .sub-menu{
  display: none;
}

/* Desktop: hover otvara dropdown (osim Archives) */
@media (min-width: 768px){

  /* pozicioniranje: dropdown ispod stavke (apsolutno) */
  .menu .sub-menu:not(.gmb-archives-submenu){
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    z-index: 1000;
  }

  /* hover prikaz (osim Archives) */
  .menu li:hover > .sub-menu:not(.gmb-archives-submenu){
    display: block;
  }

  .menu .sub-menu:not(.gmb-archives-submenu) li{
    position: relative;
    white-space: nowrap;
    background-color: white;
    border-top: 3px solid var(--primary);
  }

  .menu .sub-menu:not(.gmb-archives-submenu) li a{
  font-family: var(--font-head);
  font-style: normal;
  display: block;
  font-size: 1em;
  color: var(--primary);
  padding: 0.5rem 3rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 400;
  /* border-bottom: 3px solid var(--primary); */
  }

  .menu .sub-menu:not(.gmb-archives-submenu) li a:hover{
    color: var(--accent);
    text-decoration: underline;
  }
}

/* Mobile: submeniji se otvaraju preko .is-open (JS), nema hover logike */
@media (max-width: 767px){
  .menu li.menu-item-has-children > .sub-menu{
    position: static;
    width: 100%;
  }
  .menu li.menu-item-has-children.is-open > .sub-menu{
    display: block;
  }
}

/* =========================================================
   ARCHIVES SUBMENU - ukrocen, u flowu, isti look kao menu
   Radi:
   - desktop: hover
   - mobile: .is-open (JS)
   ========================================================= */

.menu .gmb-archives-submenu{
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  z-index: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* default closed */
.menu > li.menu-item-has-children > .gmb-archives-submenu{
  display: none;
}

/* desktop hover (sidebar i bilo gdje) */
@media (min-width: 768px){
  .menu > li.menu-item-has-children:hover > .gmb-archives-submenu{
    display: block;
  }
}

/* mobile (i click na desktop ako koristis): JS toggle dodaje .is-open */
.menu > li.menu-item-has-children.is-open > .gmb-archives-submenu{
  display: block;
}

.menu .gmb-archives-submenu > li{
  background: #fff !important;
  padding: 0 !important;
  border: 0 !important;
  width: 100% !important;
}

.menu .gmb-archives-submenu > li > a{
  font-family: var(--font-head);
  font-style: normal;
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 1em;
  color: var(--primary);
  padding: .5rem 3rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 400;
  border-top: 3px solid var(--primary);
  background: #fff;
  /* text-align: center; */
}

.menu .gmb-archives-submenu > li > a:hover{
 color: var(--accent);
  text-decoration: underline;
}

/* ===== TOP ICONS / EXTRAS ===== */
.top-icons{
  padding: 0.5rem 1rem 0.75rem 1rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  order: 3;
}

.extras{
  display: flex;
  gap: 0.5em;
}

.extras a{
  color: var(--primary);
  text-decoration: none;
  font-weight: 400;
}
.extras a:hover{
  color: var(--accent);
  text-decoration: underline;
}

.extras svg{
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

/* ===== HAMBURGER ===== */
.nav-toggle{
  display: none;
  cursor: pointer;
  padding: 0.75rem;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 9999;
}

.hamburger{
  width: 30px;
  height: 3px;
  background: var(--primary);
  position: relative;
  display: block;
  margin: 0.5em auto;
  transition: background-color 0.3s, transform 0.3s;
}

.hamburger::before,
.hamburger::after{
  content: "";
  width: 30px;
  height: 3px;
  background: var(--primary);
  position: absolute;
  left: 0;
  transition: transform 0.3s;
}
.hamburger::before{ top: -8px; }
.hamburger::after{ top: 8px; }

.nav-toggle.active .hamburger{ background: transparent; }
.nav-toggle.active .hamburger::before{ transform: translateY(8px) rotate(45deg); }
.nav-toggle.active .hamburger::after{ transform: translateY(-8px) rotate(-45deg); }

/* ===== LOGO ===== */
#logo{ }

#logo a{
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.45em;
  color: inherit;
  text-decoration: none;
  letter-spacing: 2px;
}

#logo img{           /* custom logo slika */
  max-width: 250px;
  height: auto;
  display: block;
}

.logo-container{
  max-width: 100%;
  flex: 1;
}
.logo-container img{
  display: block;
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px){
  #logo img{ max-width: 180px; }
}

@media (max-width: 480px){
  #logo a{ font-size: 1.25em; }
}


/* ======================= MOBILE (<768px) ======================= */
@media (max-width: 767px){

  .header-flex{
    flex-direction: column;
    width: 100%;
    /* border: solid; */
    background-color: white;
  }

  .header-left{
    width: 100%;
    padding: 0.5rem 1rem;
    justify-content: space-between;
    gap: 1rem;
    flex: 0 0 auto;
  }

  .header-right{ width: 100%; }

  .nav-toggle{
    display: block;
    padding: 0.5rem;
  }

  .nav-row{
    flex-direction: column;
    align-items: stretch;
  }

  .nav-menu{
    display: none;
    flex-direction: column;
    border-top: solid 1px var(--light-gray);
    background: var(--white);
  }

  .nav-menu.is-open{ display: flex; }
  .nav-menu.is-open .menu{ order: 1; }

  .nav-contact{ display: none; }

  .nav-menu.is-open .nav-contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: 1rem;
    border-top: solid 1px var(--light-gray);
    white-space: normal;
    order: 2;
  }

  .top-icons{
    display: none;
    justify-content: center;
    /* padding: 0.75rem 1rem 1rem 1rem; */
  }

  .nav-menu.is-open .top-icons{
    display: flex;
    order: 3;
    justify-content: center;
  }

  .menu{
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
  }

  .menu > li{
    width: 100%;
    border-bottom: solid 1px var(--light-gray);
    text-align: center;
  }

  .menu > li > a{
    width: 100%;
    padding: 1rem;
    /* text-align: center; */
  }

  .logo-desktop{ display: none; }
  .logo-mobile{
    display: block !important;
    max-width: 100%;
    height: auto;
  }
}

/* ======================= DESKTOP NAV (flex) ======================= */
@media (min-width: 768px){

  .nav-row{
    display: flex;
    align-items: center;
    width: 100%;
  }
  .nav-container{ flex: 1; }

  /* nav = flex: meni + ikone u istom redu (ikona UNUTAR menija) */
  .nav-menu{
    display: flex;
    align-items: center;
    justify-content: flex-end;   /* cijeli blok [meni + ikona] desno od logoa */
    gap: 1rem;
    width: 100%;
    background: transparent;
  }

  .menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }

  /* ikona odmah do stavki menija */
  .top-icons{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
  }
}

@media (max-width: 767px){
  #sidebar1, #sidebar, aside#sidebar1, aside#sidebar{
    display: none !important;
  }
}

/* ======================= 40) BUTTONS: LOAD MORE / READ MORE ======================= */
.load-more-button,
.read-more-button{
  font-family: var(--font-button);
  display: block;
  width: 100%;
  margin: 1.5em auto;
  padding: 0.7em 1em;
  font-size: 1.75em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;

  color: var(--dark-text);
  background: transparent;

  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  font-weight: 400;
  font-variant: all-small-caps;
}

.load-more-button:hover,
.read-more-button:hover{
  color: var(--accent);
  border-color: var(--primary);
  text-decoration: underline;
}

/* Ako je button zapravo <a> unutra */
.load-more-button a,
.read-more-button a{
  display: block;
  color: inherit;
  text-decoration: none;
  font-weight: 400;
}

/* ======================= CONTACT BUTTON ======================= */
.btn-contact{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 1em 2em;
  text-decoration: none;

  font-weight: 400;
  line-height: 1;
  font-size: 1.75em;
  font-variant: all-small-caps;
  letter-spacing: 2px;

  border: 3px solid var(--primary);
  background-color: transparent;          /* B/W */
  color: var(--primary);

  white-space: nowrap;
  margin: 2em auto;

  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

/* wrap za 100% sigurno centriranje */
.contact-btn-wrap{
  display: flex;
  justify-content: center;
}

.btn-contact:hover,
.btn-contact:focus-visible{
  background-color: var(--primary);
  color: var(--white);                    /* bijeli tekst */
color: var(--accent);
  outline: none;
}
/* ======================= 50) ARTICLES: GRID / LIST ======================= */

.cat-description{
  max-width: 900px;
  margin: 1rem;
  font-size: 1rem;
  /* line-height: 1.6; */
  /* text-align: center; */
}

.articles-container,
#articles{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s5);
}

.article-item{
  background: var(--white);
  margin: 0;
  box-sizing: border-box;
}

/* Točna širina (gap uračunat) da puni redovi drže lijevu os, a nepuni zadnji red se centrira */
.article-item.regular{
  width: calc((100% - 2 * var(--s5)) / 3);
}

@media (max-width: 1029px){
  .article-item.regular{
    width: 100%;
  }
}

/* ======================= 52) HOME ======================= */
.top-row{
  display: flex;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
  border-bottom: 3px solid var(--primary);
}

.featured-posts{ flex: 2 1 60%; }

.right-column{
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Donji red */
.below-posts{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

.below-posts .article-item{
  flex: 1 1 calc(33.333% - 1rem);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 0;
  border: 3px solid var(--primary);
}

/* ======================= 60) IMAGES / WRAPPERS ======================= */
.cat-hero{
  width: 100%;
  height: 33vh;
  min-height: 240px;
  max-height: 520px;
  background-image: var(--hero-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* border-bottom: 3px solid var(--primary); */
}

@media (max-width: 767px){
  .cat-hero{
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: var(--hero-mobile);
  }
}

.img-wrapper{
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Default img fill  aspect-ratio na slici (ne wrapperu) da naslov ispod nje ima mjesta */
.img-wrapper img{
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.img-wrapper:hover img{ transform: scale(1.02); }

.arthead .img-wrapper{
  display: flex;
  flex-direction: column;
  flex: 1 1 50%;
}

.arthead .img-wrapper a{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  position: relative;
}

.arthead .img-wrapper img{
  flex: 1 1 auto;
}

.below-posts .img-wrapper{
  min-height: 200px;
}

/* CONTENT WRAPPERS */
.arthead,
.cover{
  flex: 1 1 auto;
  position: relative;
  background: transparent;
  border-bottom: solid 1px var(--light-gray);
}

/* ======================= 62) TITLES ======================= */

.art-title{
  position: static;
  margin: 0;
  box-sizing: border-box;
  color: var(--charcoal-blue);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: left;
  background: transparent;
  padding: var(--s3) 0;
  width: 100%;
  transition: all 0.3s ease;
  border-top: solid 1px var(--light-gray);
  letter-spacing: 2px;
}

.art-title:hover{
  text-decoration: underline;
  background: transparent;
  color: var(--accent);
}

.art-title a{
  color: inherit;
  text-decoration: none;
}
.art-title a:hover{
  text-decoration: underline;
}

.cover-title,
.entry-title{
  margin: 1rem 0;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark-text);
  text-transform: uppercase;
  width: 100%;
  letter-spacing: 3px;
}
/* ======================= 64) ARTICLE HEADER / CATEGORY LABEL (CATEGORY GRID LOOK) ======================= */

/* header strip unutar kartice (iznad slike) */
.article-header{
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .5rem .75rem;
  /* border-bottom: 3px solid var(--primary); */
  background: var(--white);
}


.cover .category,
.article-item .category{
  position: static;
  z-index: auto;

  display: inline-flex;
  align-items: center;
  gap: .5rem;

  padding: 0;
  margin: 0;

  background: transparent;
  color: var(--primary);

  font-family: var(--font-head);
  font-size: .85em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* linkovi unutar breadcrumb-a */
.cover .category a,
.article-item .category a{
  color: inherit;
  text-decoration: none;
}

.cover .category a:hover,
.article-item .category a:hover{
  text-decoration: underline;
}

.cover .category:hover,
.article-item .category:hover{
  background: transparent;
}

.article-item img{
  max-width: 100%;
  filter: none;
}
/* ======================= 70) META ======================= */
.post-meta{ flex: 1; }
.post-meta{flex: 1;text-align: right;}

/* separator */
.cat-sep{ padding: 0 .4rem; }
/* CATEGORY TITLE (page title) */
.cat-title{
  /* border-top: 3px solid var(--primary); */
}

.cat-title,
.form-title{
  font-size: 2.75em;
  text-transform: uppercase;
  color: #9ea4a8;
  margin: 1em 0;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  border-bottom: solid 1px var(--light-gray);
  letter-spacing: 3px;
}

/* entry meta strip */
.entry-meta{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  /* margin-top: 0.5em; */
  padding: 0.5em 0.75em;
  color: var(--dark-text);
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 3px solid var(--primary);
  flex-direction: row;
}

/* Info (autor + vrijeme) */
.entry-info{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entry-time,
.entry-author,
.pageviews{
  font-family: var(--font-body);
  font-size: 0.85em;
  font-weight: 400;
  padding: 0;
  text-rendering: optimizeLegibility;
  color: var(--dark-text);
}

.pageviews{
  color: var(--primary);
  font-weight: 400;
}

/* Sharing */
.entry-sharing{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

/* Share buttons */
.cssp-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 400;
  transition: all 0.3s ease;
}

.cssp-circle{
  padding: 0 0.25em;
  transition: all 0.3s ease;
}

.cssp-btn svg{
  width: 30px;
  height: 30px;
}

/* Hover colors (brand) */
.cssp-btn.fb-btn:hover .cssp-circle{ fill: #1877F2; }
.cssp-btn.bluesky-btn:hover .cssp-circle{ fill: #0055FF; }
.cssp-btn.wa-btn:hover .cssp-circle{ fill: #25D366; }
.cssp-btn.viber-btn:hover .cssp-circle{ fill: #665CAC; }
/* ======================= 80) RESPONSIVE (<=768) ======================= */
@media (max-width: 768px){

 
  #articles{
    gap: var(--s3);
  }

  .top-row{
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 0;
  }

  .featured-posts,
  .right-column{
    flex: 1 1 100%;
    width: 100%;
  }

  /* NE forsiraj below-posts u 1 kolonu ovdje */
  /*
  .below-posts .article-item{
    flex: 1 1 100%;
  }
  */

  /* Naslovi na mobu */
  .art-title{
    font-size: 1.25rem;
  }

  .cover-title{
    font-size: 1.5rem;
  }

  /* Meta na mobu */
  .entry-meta{
    gap: 0.5rem;
  }

  .entry-info,
  .entry-sharing{
    width: 100%;
    justify-content: flex-start;
  }

  .fb-like{
    transform: scale(1);
  }
}
/* ======================= COVER / ARTHEAD HEADINGS ======================= */
.cover h1 a{
  color: var(--primary);
  width: 80%;
  padding: 2px 8px;
  box-sizing: border-box;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hentry .cover-title a{}

/* ARTHEAD */
.arthead h2{
  color: var(--primary);
}
.arthead h2:hover{
 color: var(--accent);
}

.arthead h3 a{
  color: var(--primary);
  width: 80%;
  box-sizing: border-box;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  line-height: 1.25em;
  z-index: 333;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.arthead h3 a:hover{
 color: var(--accent);
  text-decoration: underline;
  transition: color 0.25s ease;
}

/* misc helpers */
.entry-time{ font-size: 0.875em; }

.link{ float: right; }

.cat-head{
  text-align: center;
  padding: 1em;
  border-bottom: 3px solid var(--primary);
  margin: 0;
  width: 100%;
}

.cent p{
  font-size: 1em;
  margin: 0;
}

.header{
  /* border-bottom: 3px solid var(--primary); */
  background-color: var(--white);
}

.item-header img{ height: auto; }
.item-header img:hover{ filter: grayscale(0%); }

.excerpt-read-more{
  display: block;
  float: right;
  padding: 1.5em;
  font-size: 1.5em;
  color: var(--primary);
}

.article-title,
.article-caption{
  position: relative;
  z-index: 10;
}
/* ======================= POSTS & CONTENT LAYOUT ======================= */

/* Outer wrapper */
#content{
  /* min-height: 1000px; */
  /* border: 3px solid var(--accent); */
}

#inner-content{
  margin-top: var(--s4);
  margin-bottom: var(--s6);
}

/* Clearfix for floated columns */
#inner-content::after{
  content: "";
  display: table;
  clear: both;
}

#main{
  padding: 1em 0;
}

/* Full banner */
#full-banner.wrap.cf{
  min-height: 150px;
  position: relative;
}


/* ======================= ENTRY CONTENT ======================= */

.text{ margin-bottom: 2em; }

/* MOBILE FIRST  stacked */
.entry-content{
  display: block;
  width: auto;
  margin: 1em 4em;
}

.entry-featured{ margin-top: var(--s3); }

/* DESKTOP  side by side (IMAGE LEFT, TEXT RIGHT) */
@media (min-width: 1024px){
  .entry-content{
    /* display: flex; */
    /* align-items: flex-start; */
    /* gap: 4rem; */
  }

  .entry-featured{
    order: 1;
    flex: 0 0 45%;
    margin: 0;
    padding-left: 0;
  }

  .entry-text{
    order: 2;
    flex: 1 1 0;
    margin: 0;
  }

  .entry-featured img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* ======================= FEATURED IMAGE ======================= */
.entry-featured figure{ margin: 0; }

.iframe-container{
  position: relative;
  width: 100%;
}

.embed-responsive-item{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.entry-caption{
  font-size: 0.875rem;
  color: var(--dark-text);
  margin-top: 0.4rem;
}

.home-content{ padding: 2em; }

/* ======================= TYPOGRAPHY ======================= */
.entry-content p,
.excerpt{
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  font-size: 1.125em;
  line-height: 1.8em;
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 1.5em;
  background-color: var(--white);
}


.entry-content h3,
.entry-content h4{
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  color: var(--dark-text);
  font-size: 1em;
  line-height: 1.5em;
  margin-top: 1em;
}

.entry-content h3{ font-weight: 400; }
.entry-content h4{ font-weight: 400; }

/* ======================= LINKS ======================= */
.entry-content a{
  background: transparent;
  font-weight: 400;
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.25s ease;
}

.entry-content a:hover{
  color: var(--accent);
}

/* ======================= LISTS ======================= */
.entry-content ul{
  list-style: none;
  padding-left: 0;
}

.entry-content li{
  position: relative;
  padding-left: 2em;
  padding-bottom: 0.75em;
}

.entry-content li::before{
  content: "\25B2";
  position: absolute;
  left: 0.15em;
  top: 0.15em;
  font-size: 1em;
  line-height: 1.25em;
  color: var(--primary);
}

/* ======================= TABLES ======================= */
.entry-content table{
  width: 100%;
  border: 3px solid var(--primary);
  margin-bottom: 1.5em;
  border-collapse: collapse;
}

.entry-content table caption{
  margin-bottom: 7px;
  font-size: 0.75em;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.entry-content th,
.entry-content td{
  padding: 7px;
  border-right: 1px solid var(--primary);
}

.entry-content th{
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  color: var(--dark-text);
}

.entry-content td:last-child,
.entry-content th:last-child{ border-right: 0; }

.entry-content tr:nth-child(even){ background: var(--white); }

/* ======================= BLOCK ELEMENTS ======================= */
.entry-content blockquote{
  margin: 0 0 1.5em 0.75em;
  padding-left: 0.75em;
  border-left: 3px solid var(--primary);
  font-style: italic;
  color: var(--dark-text);
}

.entry-content dd{
  margin-left: 0;
  font-size: 0.9em;
  color: var(--dark-text);
  margin-bottom: 1.5em;
}

.entry-content pre{
  font-size: 1em;
  margin: 0 0 1.5em;
}

/* ======================= IMAGES ======================= */
img{ height: auto; }

.entry-content .size-auto,
.entry-content .size-full,
.entry-content .size-large,
.entry-content .size-medium,
.entry-content .size-thumbnail{
  max-width: 100%;
  height: auto;
}

/* Captions */
.wp-caption{
  max-width: 100%;
  padding: 0.5em;
  background: transparent;
  position: relative;
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
}

.wp-caption img{
  width: 100%;
  display: block;
  margin-bottom: 0;
}

/* caption: tekst kao normalan red ispod slike */
.wp-caption p.wp-caption-text{
  font-size: 0.85em;
  position: static;
  background: transparent;
  color: var(--primary);
  width: 100%;
  margin: 0.75em 0 0;
  text-transform: uppercase;
  font-weight: 400;
}

/* Hentry */
.hentry{
  margin: 0 auto 1.5em;
  clear: both;
}

.hentry header,
.hentry footer{ padding: 0; }
.hentry footer p{ margin: 0; }
/* ======================= SIDEBAR ======================= */
#sidebar{/* padding: 0 1em; */}

.sidebar-header img{
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.sidebar-header img:hover{ opacity: 1; }

.sidebar-title{ padding-bottom: 1em; }

.widget p:last-of-type{ margin-bottom: 2em; }

.sidebar-post,
.related-post{
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5em;
}

.sidebar-post-top,
.search-result-top{
  display: flex;
  align-items: center;
}

.sidebar-post-content{
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Search */
.search-result{ padding: 1em 2em; }
.search-result .entry-meta{ justify-content: flex-end; }

/* Thumb */
.thumbnail-wrapper{
  position: relative;
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.thumbnail-circle{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.thumbnail-overlay{
  position: absolute;
  inset: 0;
  background: rgba(186, 12, 47, 0.75); /* fallback */
  background: color-mix(in srgb, var(--primary) 75%, transparent); /* modern */
  border-radius: 50%;
}

.thumbnail-link{
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Search title */
.search-title{
  font-size: 1.25em;
  line-height: 1.15em;
  margin-top: 0.5em;
}

.search-title a:hover{ color: var(--accent); }

/* Sidebar meta (scoped, ne globalno) */
#sidebar .entry-meta{
  font-size: 0.875em;
  color: var(--dark-text);
  margin-top: 0.5em;
}

#sidebar .entry-meta a{
  color: var(--primary);
}
/* ======================= FOOTER ======================= */
.footer{
  clear: both;
  border-top: 1px solid var(--light-gray);
  min-height: 300px;
  margin-top: var(--s6);
  font-family: var(--font-head);
}

/* 3 stupca (desktop preko flexa); sadržaj centriran */
#inner-footer{
  display: flex;
  flex-direction: column;
}

@media (min-width: 1030px){
  #inner-footer{
    flex-direction: row;
  }
  .fut{
    flex: 1 1 33.333%;
  }
}

.fut{
  text-align: center;
  padding: 1.5em 0.25em;
}
.fut p{
  font-size: 0.875em;
  padding: 0.75em;
  color: var(--neutral-gray);
}

/* footer social ikone – centrirane */
.fut-icons{
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-top: 0.5rem;
}
.fut-icons .extras{
  display: flex;
  gap: 0.5em;
  justify-content: center;
}
.fut-icons .extras a{ color: var(--primary); text-decoration: none; }
.fut-icons .extras a:hover{ text-decoration: underline; }
.fut-icons .extras svg{ width: 24px; height: 24px; fill: var(--primary); }

/* logo sizing */
/* logo sizing (footer) */
#logo_fut .custom-logo-link{
  display: block;
  line-height: 0; /* ukloni baseline gap */
}

#logo_fut img.custom-logo{
  display: block;
  height: 25px;     /* fiksna visina */
  width: auto;      /* proporcionalno */
  max-width: 100%;
  margin: 0;
}

/* ======================= MOBILE ======================= */
@media (max-width: 767px){
  #main{border:none}
  .entry-content{
    width: 100%;
  }

  .entry-sharing{
    align-items: center;
    padding-bottom: 2em;
  }
}

/* ========================== TAGOVI ========================== */
.tags a,
.tags-title{
  color: var(--primary);
  line-height: 1.75;
  width: 80%;
  padding: 2px 8px;
  background: transparent;          /* WHITE background */
  box-sizing: border-box;

  font-weight: 400;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.tags a:hover{
  text-decoration: underline;
  color: var(--accent);
}

.tags-title{
  background: transparent;
  color: var(--primary);
}


/* ========================== SEARCH ========================== */
.search-title h3{
  box-sizing: border-box;
  padding: 1em 0 0.25em;
}

.search-title a{
  font-weight: 400;
  font-size: 1em;
  text-decoration: none;
  color: var(--primary);
  line-height: 1em;
  transition: color 0.15s ease;
}

.search-title a:hover{
  color: var(--accent);
  text-decoration: underline;
}
/* ========================== PAGINACIJA ========================== */
.pagination,
.wp-prev-next{
  margin: 1.5em 0;
}

.pagination{
  clear: both;
  text-align: center;
}

/* wrapper */
.pagination ul{
  display: inline-flex;
  background: var(--white);
  padding: 0;
  margin: 0;
  list-style: none;
}

/* cell */
.pagination li{
  display: inline-flex;
  margin: 0;
  padding: 0;
}

.pagination li:last-child{
  border-right: 0;
}

/* link / current */
.pagination a,
.pagination span{
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  text-decoration: none;

  font-size: 1em;
  line-height: 1;

  padding: 0.75em 0.9em;
  min-width: 2.5em;           
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--primary);
  background: var(--white);
  transition: background-color 0.15s ease, color 0.15s ease;
}


.pagination a:hover,
.pagination a:focus{
  background: var(--white);
  color: var(--accent);
  text-decoration: underline;
  outline: none;
}

/* current */
.pagination .current{
  cursor: default;
  color: var(--primary);
  background: var(--white);
  text-decoration: none;
}

/* fallback prev/next */
.wp-prev-next .prev-link{ float: left; }
.wp-prev-next .next-link{ float: right; }


/* ========================== TOOLTIP (IKONE) ========================== */

.tooltip-wrapper{
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-wrapper .extras svg{
  width: 25px;
  height: 25px;
  fill: currentColor;
  transition: color 0.15s ease;
}

.tooltip-wrapper .extras a{
  color: var(--primary);      
  text-decoration: none;
}
.tooltip-wrapper .extras a:hover{
  color: var(--accent);
  text-decoration: underline;
}

.tooltip-wrapper::after{
  content: attr(data-title);
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);

  background: var(--white);
  color: var(--primary);

  border: 3px solid var(--primary);
  text-transform: uppercase;
  padding: 5px 10px;
  font-size: 0.875em;
  white-space: nowrap;

  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.tooltip-wrapper:hover::after{
  opacity: 1;
  visibility: visible;
}

/* ========================== MAIL MODAL ========================== */
.mail-modal{
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(255,255,255,0.92); /* bijeli overlay */
}

.mail-modal-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: var(--white);
  border: 3px solid var(--primary);
  padding: 3rem;
  width: 100%;
  max-width: 550px;

  box-shadow: none;
}

.mail-modal .cat-title{ margin-bottom: .5em; }

/* centriranje u parentu */
.submit-btn-wrap{
  display: flex;
  justify-content: center;
}

.submit-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .6em 2em;
  text-decoration: none;

  font-weight: 400;
  line-height: 1;
  font-size: 1.25em;
  text-transform: uppercase;
  letter-spacing: 1px;

  border: 3px solid var(--primary);
  background: var(--white);
  color: var(--primary);

  white-space: nowrap;
  margin: 2em auto;

  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.submit-btn:hover{
  background: var(--white);
color: var(--accent);
  text-decoration: underline;
}

.mail-close-btn{
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--primary);
  font-size: 2em;
  margin: 0;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.mail-close-btn:hover{
 color: var(--accent);
  text-decoration: underline;
}

/* CONTACT */
.contact-block{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.contact-block-fut,
.adr{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em;
  font-size: 1.5em;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 400;
}

.contact-item{
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
}

.contact-item a{
  color: var(--primary);
  text-decoration: none;
}

nav .contact-item a{
  color: var(--primary);
}

.contact-item a:hover{
  text-decoration: underline;
}

/* ========================== FORMS (SCOPED NA MODAL) ========================== */
#mail-modal input[type="text"],
#mail-modal input[type="email"],
#mail-modal input[type="password"],
#mail-modal select,
#mail-modal textarea{
  width: 100%;
  box-sizing: border-box;
  display: block;
  margin-bottom: 1.5em;

  border: 3px solid var(--primary);
  background: var(--white);
  color: var(--dark-text);
}

#mail-modal input[type="text"],
#mail-modal input[type="email"]{ padding: 1em; }

#mail-modal input[type="password"],
#mail-modal select,
#mail-modal textarea{ padding: 0.5em 0.75em; }

#mail-modal textarea{
  min-height: 200px;
  resize: vertical;
}

/* Checkbox fix */
#mail-modal .privacy-consent{
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

#mail-modal .privacy-consent input[type="checkbox"]{
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  position: static !important;
  pointer-events: auto !important;
  appearance: auto !important;
}

#mail-modal .privacy-consent span{
  line-height: 1.4;
  color: var(--primary);
  font-weight: 400;
  text-transform: uppercase;
}

/* Radio */
#mail-modal input[type="radio"]{
  width: 15px;
  height: 15px;
  border: 3px solid var(--primary);
  display: inline-block;
  margin-right: 0.5em;
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
}

#mail-modal input[type="radio"]:checked{
  background: var(--primary);
}

/* Status poruka */
#mail-status{
  margin-top: 10px;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
  color: var(--primary);
}

.success,
.error{
  color: var(--primary);
}

.mail-error,
.mail-success,
.mail-loading{
  color: var(--primary);
  background: var(--white);
  border: 3px solid var(--primary);
  padding: .5em;
  margin-bottom: .5em;
}

/* ========================== SKIP LINK ========================== */
.skip-link{
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--white);
  color: var(--primary);
  border: 3px solid var(--primary);
  padding: 8px 12px;
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus{ top: 0; }
/* ========================== GALLERY ========================== */
.gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.gallery-item{
  position: relative;
  overflow: hidden;
  aspect-ratio: 300 / 200;
  width: 100% !important;
  height: auto !important;
}

.gallery-item img{
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin: 0 !important;
  border: 0 !important;
}

.gallery-item img:hover{ transform: scale(1.05); }

/* cover image */
.cover img{
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 475;
  object-fit: cover;
  display: block;
}

.fut a{
  color: var(--primary);
  font-weight: 400;
  text-decoration: none;
}
.fut a:hover{
  color: var(--accent);
  text-decoration: underline;
}

/* ========================== RESPONSIVE ========================== */
@media (max-width: 768px){
  .gallery{ grid-template-columns: 1fr; }

  .entry-featured img{ padding: 0; }
}

@media (max-width: 480px){
  .cover h1{
    font-size: 1.5em;
    line-height: 1.25em;
  }

  .entry-content{
    margin: 1em 0;
  }

}

/* ======================= 90) HERO CAROUSEL (NASLOVNICA) ======================= */
/* Vrti sticky postove: featured image kao pozadina, naslov dolje lijevo, dots ispod.
   Naslov ima ZASEBAN stil (.hero-title)  NE dijeli s .art-title. */

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.hero-carousel{
  position: relative;
  width: 100%;
  max-width: var(--wrap-wide);
  margin: 0 auto;
  aspect-ratio: 2.2 / 1;
  max-height: 82vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--black);
}

.hero-slides{
  position: absolute;
  inset: 0;
}

/* Svaki slajd = pozadinska featured slika (feat desktop / crop mobitel) */
.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  background-image: var(--hero-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.is-active{
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Scrim za itljivost naslova preko fotografije */
.hero-slide::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 68%);
  pointer-events: none;
}

.hero-link{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;     /* naslov DOLJE */
  height: 100%;
  width: 100%;
  text-decoration: none;
  padding: 0;
  box-sizing: border-box;
}

.hero-fallback{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-fallback img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ZASEBAN stil hero naslova (neovisan o .art-title)  nosač dijeli os s .wrap */
.hero-title{
  width: 100%;
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 32px 64px;
  box-sizing: border-box;
}

.hero-title span{
  display: block;
  margin-left: auto;
  max-width: 24ch;
  text-align: right;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .15s ease;
}
.hero-link:hover .hero-title span{
  color: var(--accent);
}

/* Dots  ispod naslova, crtice (broj slajdova), desno, u istoj osi kao naslov */
.hero-dots{
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: var(--s5);
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
}

.hero-dot{
  width: 28px;
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.hero-dot:hover{ transform: scaleX(1.15); }
.hero-dot.is-active{ background: var(--white); }
.hero-dot:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 767px){
  .hero-carousel{
    aspect-ratio: 4 / 5;
    min-height: 0;
    max-height: none;
  }
  .hero-slide{
    background-image: var(--hero-mobile);
  }
  .hero-dots{ left: 0; right: 0; }
}

/* Reducirani pokret: bez crossfade tranzicije (autoplay JS ve gasi) */
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition: none; }
}

