/* ======================= 00) CSS VARIJABLE ======================= */
:root{
  --dark-red: #C94C4C;
  --blue-red: #d20e35;
  --primary-red: #ba0c2f;
  --dark-gray: #121212;
  --orange: #fdb827;
  --neutral-gray: #acb0b4;
  --charcoal-blue: #7f8c96;
  --dark-text: #11466B;
  --white: #fff;
  --black: #10273e;

  /* font fallbacki */
  --font-head: "Fira Sans extra condensed", serif;
  --font-body: "Fira Sans", serif;
}

/* ======================= 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: 18px;
}

body{
  line-height: 1.5;
  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: 600;
  color: var(--black);
}

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

/* ======================= 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 ======================= */
.wrap,
.hwrap{
  width: 94%;
  margin: 0 auto;
}

@media (min-width: 1030px){
  .wrap,
  .hwrap{
    width: 1200px;
  }
}

/* ======================= 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-red);
  /* text-decoration: none; */
  font-weight: 500;
  transition: color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

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

a:active{
  color: var(--dark-red);
}

a{
  position: relative;
}
a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}
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: 1px;
  border: 0;
  background: var(--black);
  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;
}


/* ======================= 10) FLOAT GRID (legacy) ======================= */


@media (max-width: 767px){
  .m-all{ float:left; width:100%; }
  .m-1of2{ float:left; width:50%; }
}

@media (min-width: 768px) and (max-width: 1029px){
  .t-all{ float:left; width:100%; }
  .t-1of2{ float:left; width:50%; }
  .t-1of3{ float:left; width:33.333%; }
  .t-2of3{ float:left; width:66.666%; }
}

@media (min-width: 1030px){
  .d-all{ float:left; width:100%; }
  .d-1of2{ float:left; width:48%; }
  .d-1of3{ float:left; width:33.333%; }
  .d-2of3{
    float:left;
    width:65%;
    padding-right: 6.5em;
  }
}

/* ======================= 15) HEADINGS (override) ======================= */


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

h4, h5, h6,
.h4, .h5, .h6{
  font-family: var(--font-head);
  text-rendering: optimizeLegibility;
  color: var(--black);
}

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

h1, .h1{ font-size: 2rem; margin: 0.25em 0; }
h2, .h2{ font-size: 1.75em; line-height: 1.333em; }
h3, .h3{font-size: 1.25em;line-height: 1;/* font-weight: 400; */}
h4, .h4{ font-size: 1.25em; }

h5, .h5{
  font-size: 1.15em;
  line-height: 2.09em;
  color: var(--dark-red); /* FIX: bio je puknut var(--deep-red) */
}

h6{
  font-size: 0.1em;
  line-height: 2em;
  padding: 0 7em;
}

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

/* ======================= 18) LIST DEFAULTS ======================= */
/* ovo ti je zapravo base reset; stavi samo jednom u fileu */
dl, menu, ol, ul, nav ul, nav ol{
  margin: 1em 0;
  padding: 0;
  list-style: none;
}
dd{ margin: 0; }
menu{ padding-left: 40px; }

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

.header{
  height: auto;
  background: #0f4370;
  border-bottom: 1px solid var(--orange);
}

.head{ position: relative; }

#logo{
  display: flex;
  align-items: center;
}

#logo .custom-logo-link{
  display: inline-flex;
  align-items: center;
}

#logo img.custom-logo{
  height: 75px; /* ili 60px */
  width: auto;
  display: block;
}

/* ===== (OPTIONAL) TOP BAR ===== */
.top-bar{
  font-family: var(--font-head);
  position: relative;
  z-index: 1;
  padding: 0.25em 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid #111;
}

/* ===== HEADER LAYOUT ===== */
.header-flex{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

/* Logo column (fixed) */
.header-left{
  flex: 0 0 140px;           /* LOGO stupac */
  display: flex;
  align-items: center;
  padding: 0.25rem 1rem;
}

/* Right column (fluid) */
.header-right{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.nav-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-container{ flex: 1; }

/* ===== NAV WRAPPER (u tvom HTML-u je <nav class="nav-menu">) ===== */
.nav-menu{
  display: flex;
  flex-direction: column; 
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ===== CONTACT ROW (u HTML-u: <div class="nav-contact">...</div>) ===== */
.nav-contact{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  padding: .6rem 1rem;
  color: var(--white);
  font-weight: 400;
  white-space: nowrap;
  order: 1;
  font-size: 1em;
}

.nav-contact a{
  color: #FDB827;
  text-decoration: none;
  font-weight: 400;
}

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

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

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

.menu > li > a{
  font-family: var(--font-head);
  font-weight: 600;
  font-style: normal;
  display: block;
  font-size: 1.25em;
  color: var(--white);
  padding: 0.75rem 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.menu > li a:hover{/* opacity: 0.85; *//* text-decoration: underline; */color: var(--orange);}

.menu li.current-menu-item > a{color: var(--orange);}

/* ===== DROPDOWN (desktop) ===== */
.menu .sub-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.menu .sub-menu li{
  background: var(--primary-red);
  padding: 0.8em 1.5em;
  width: 150%;
  border-bottom: 1px solid #fff;
}

.menu .sub-menu li a{
  color: var(--white);
  text-decoration: none;
}

.menu .sub-menu li a:hover{ text-decoration: underline; }


/*
.menu > li:hover > .sub-menu{ display:block; }
*/

/* ===== 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(--white);
  text-decoration: none;
  font-weight: 400;
}

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

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

.hamburger{
  width: 30px;
  height: 3px;
  background: var(--white);   /* srednja linija */
  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(--white);
  position: absolute;
  left: 0;
  transition: transform 0.3s;
}

.hamburger::before{ top: -8px; }
.hamburger::after{ top: 8px; }

/* state: toggle aktivan */
.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 SWITCH (2 loga) ===== */
.logo-desktop{ display: block; }
.logo-mobile{ display: none !important; }

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

  /* header layout */
  .header-flex{
    flex-direction: column;
    width: 100%;
  }

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

  .header-right{ width: 100%; }

  /* hamburger on */
  .nav-toggle{
    display: block;
    padding: 0.5rem;
  }

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

  /* zatvoreno by default */
  .nav-menu{
    display: none;
    flex-direction: column;
    border-top: 1px solid #18558b;
  }

  /* otvoreno */
  .nav-menu.is-open{
    display: flex;
  }

  /* MENU prvo */
  .nav-menu.is-open .menu{ order: 1; }

  /* KONTAKT ispod menija */
  .nav-contact{
    display: none; /* hidden dok je zatvoreno */
  }

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

  /* IKONE zadnje */
  .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 list vertikalno */
  .menu{
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
  }

  .menu > li{
    width: 100%;
    border-bottom: 1px solid #095580;
  }

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

  .nav-menu.is-open .extras a{
    color: #333;
  }
  .nav-menu.is-open .extras svg{
    
  }


  .logo-desktop{ display: none; }
  .logo-mobile{
    display: block !important;
    max-width: 100%;
    height: auto;
  }
}
/* ======================= DESKTOP FIX: MENU + IKONE U ISTOM REDU ======================= */
@media (min-width: 768px){

  /* napravi 2 reda: (1) kontakt full width, (2) menu + ikone */
  .nav-menu{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "contact contact"
      "menu icons";
    align-items: center;
    width: 100%;
  }

  .nav-contact{
    grid-area: contact;
    order: unset; /* ne treba order na gridu */
  }

  .menu{
    grid-area: menu;
    order: unset;
    width: auto;          
    justify-content: flex-end; 
  }

  .top-icons{
    grid-area: icons;
    order: unset;
    padding: 0 1rem 0 0; 
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .extras{
    display: flex;
    align-items: center;
    gap: .5em;
    justify-content: center;
  }
}



/* ======================= 40) BUTTONS: LOAD MORE / READ MORE ======================= */
.load-more-button,
.read-more-button{
  font-family: var(--font-head);
  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;              /* FIX: bio var(--bla) */
  border: none;  /* opcionalno, ali stabilno */
  transition: color 0.25s ease, border-color 0.25s ease;
  font-weight: 600;
  font-variant: all-small-caps;
}

.load-more-button:hover,
.read-more-button:hover{
  color: var(--accent);
  border-color: var(--accent);
  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: 600;
}

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

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

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

  border: 1px solid var(--orange);
  background-color: var(--dark-text);
  color: var(--white);

  white-space: nowrap;

  /* umjesto 5em (pregrubo) */
  margin: 2em auto;

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

/* centriranje: radi kad je element "blok" u layoutu */
 

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

.btn-contact:hover,
.btn-contact:focus-visible{
  border-color: var(--dark-text);
  background-color: var(--orange);
  color: var(--dark-text);
  outline: none;
}





/* ======================= 50) ARTICLES: GRID / LIST ======================= */

.cat-description {
  max-width: 900px;
  margin: 2rem auto 3rem;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align:center;
}



.articles-container,
#articles{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}


.articles-container{ justify-content: center; }

/* Osnovni card */
.article-item{
  background: var(--white);
  /* padding: 0.25rem 1rem; */
  margin: 0;                 /* margin-bottom izbaci, gap radi spacing */
  box-sizing: border-box;
  border: solid 1px var(--dark-text);
}

/* Featured i regular (desktop) */
.article-item.featured{ width: 66%; }
.article-item.regular{ width: 30%; }

/* Tablet/mob: sve full width */
@media (max-width: 1029px){
  .article-item.featured,
  .article-item.regular{
    width: 100%;
  }
}

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

.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;
}

/* ======================= 60) IMAGES / WRAPPERS ======================= */
/* Jedan .img-wrapper blok. Sve specijalke neka budu override uz kontekst. */
.cat-hero{
  width: 100%;
  height: 50vh;
  min-height: 240px;
  max-height: 520px;
  background-image: var(--hero-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: solid 4px #0a3d6a;
}

@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 */
.img-wrapper img{
  width: 100%;
  height: 100%;
  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;
}


/* ======================= 60) IMAGES ======================= */
.img-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

/* CONTENT WRAPPERS */
.arthead,
.cover{
  flex: 1 1 auto;
}

/* ======================= 62) TITLES ======================= */
.art-title{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 10;
  box-sizing: border-box;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  background: var(--dark-text);
  padding: .5em;
  line-height: 1em;
  width: 70%;
  transition: all .15s ease, color .75s ease, border-color .15s ease;
  /* border: solid 1px var(--white); */
}

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

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

.cover-title, .entry-title{
  margin: 2rem;
  font-size: 2rem;
  line-height: 1.5em;
  color: var(--dark-text);
  border-bottom: 1px solid var(--dark-text);
  text-transform:uppercase;
}

/* ======================= 64) ARTICLE HEADER / CATEGORY LABEL ======================= */
.article-header{
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 100%;
  padding: 1em;
}

.cover .category,
.article-item .category{
  position: absolute;
  z-index: 1555;

  display: inline-block;
  padding: 5px 10px;

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

  font-family: var(--font-body);
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
}

.cover .category:hover,
.article-item .category:hover{
  background: var(--primary-red);
}

.cover .category a,
.article-item .category a{
  color: var(--white);
  text-decoration: none;
}

/* image saturation */
.article-item img{
  max-width: 100%;
  filter: saturate(60%);
}

/* ======================= 70) META ======================= */
.post-meta{ flex: 1; }


.cat-title{
  border-top: solid 2px var(--orange);
}

.cat-title, .form-title{
  font-size: 2em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 0;
  margin-bottom: 2em;
  text-align: center;
  background: #0f4370;
  letter-spacing: 1px;
  font-family: var(--font-head);
  font-weight: 600;
  padding: .5rem;
}

/* Jedan jedini .entry-meta blok */
.entry-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  width: 100%;
  margin-top: 0.5em;
  padding: 0.25em 0;

  color: var(--neutral-gray);
  font-size: 0.875em;
  text-transform: capitalize;

  border-bottom: 1px solid #e5e5e5;
}

/* 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.75em;
  font-weight: 400;
  padding: 4px;
  text-rendering: optimizeLegibility;
}

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

/* Sharing */
.entry-sharing{
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.5rem;
}

/* Share buttons */
.cssp-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--primary-red);
  font-weight: bold;
  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 */
.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{
    flex-direction: column;
    gap: 1.5rem;
  }

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

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

  .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(--dark-text);
  width: 80%;
  padding: 2px 8px;
  box-sizing: border-box;
  font-weight: 600;
  font-style: normal;
  text-rendering: optimizeLegibility;

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


.hentry .cover-title a{}

/* ARTHEAD */
.arthead,
.cover{
  position: relative;
  background: transparent; /* FIX: none -> transparent */
}

.arthead h2{ color: var(--white); }
.arthead h2:hover{ color: var(--white); }

.arthead h3 a{
  color: var(--dark-text);
  width: 80%;
  box-sizing: border-box;
  font-weight: 600;
  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(--dark-red);
  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: 1px solid var(--orange);
  margin: 0;
  width: 100%;
}

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

.header{
  border-bottom: 3px solid var(--orange); /* FIX: bio puknut var( */
}

.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;
}

/* FIX: maknut ilegalni ; nakon bloka */
.article-title,
.article-caption{
  position: relative;
  z-index: 10;
}

/* ======================= POSTS & CONTENT LAYOUT ======================= */
#content{ min-height: 1000px; }

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

#inner-content{ margin-bottom: 2em; }

#main{ padding: 2em; }

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

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

.text {
  margin-bottom: 2em;
}

//* =========================================================
   LAYOUT: CONTENT + FEATURED
   ========================================================= */

/* MOBILE FIRST Ã¢â‚¬â€œ stacked */
.entry-content {
  display: block;
  width: auto;
  margin: 1em 0;
}

/* Page content – nikad flex, uvijek slijedno */
.page-content {
  width: 100%;
  margin: 1em 0;
}
.page-content .wp-block-columns {
  display: block;
}
.page-content .wp-block-column {
  width: 100% !important;
  margin-bottom: 1.5rem;
}

.entry-featured {
  margin-top: 1.5rem;
}

/* DESKTOP Ã¢â‚¬â€œ side by side (IMAGE LEFT, TEXT RIGHT) */
@media (min-width: 1024px) {

  .entry-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    padding-inline: 5%;
    
  }

  /* IMAGE COLUMN Ã¢â‚¬â€œ LEFT */
  .entry-featured {
    order: 1;
    flex: 0 0 45%;
    margin: 0;
    padding-left: 0;
  }

  /* TEXT COLUMN Ã¢â‚¬â€œ RIGHT */
  .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;
}

.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: 1em;
  line-height: 1.5em;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 1.5em;
}

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

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

/* =========================================================
   LINKS
   ========================================================= */

.entry-content a {
  background: transparent;
  font-weight: 400;
  color: var(--primary-red);
  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: #0f4370;
}

/* =========================================================
   TABLES
   ========================================================= */

.entry-content table {
  width: 100%;
  border: 1px solid #eaedf2;
  margin-bottom: 1.5em;
}

.entry-content table caption {
  margin-bottom: 7px;
  font-size: 0.75em;
  color: #9fa6b4;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.entry-content th,
.entry-content td {
  padding: 7px;
  border-right: 1px solid #eaedf2;
}

.entry-content th {
  background: #f8f9fa;
  border-bottom: 1px solid #eaedf2;
}

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

.entry-content tr:nth-child(even) {
  background: #f8f9fa;
}

/* =========================================================
   BLOCK ELEMENTS
   ========================================================= */

.entry-content blockquote {
  margin: 0 0 1.5em 0.75em;
  padding-left: 0.75em;
  border-left: 3px solid #2980b9;
  font-style: italic;
  color: #9fa6b4;
}

.entry-content dd {
  margin-left: 0;
  font-size: 0.9em;
  color: #787878;
  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;
}

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

.wp-caption p.wp-caption-text{
  font-size: 0.85em;
  position: absolute;
  background: var(--black);
  color: var(--white);
  width: 85%;
  bottom: 0;
  margin: 1em 0;
}

/* 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(207, 8, 52, 0.75);
  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(--primary-red); }


.entry-meta{
  font-size: 0.875em;
  color: #666;
  margin-top: 0.5em;
}

/* ======================= FOOTER ======================= */

.footer{
  font-family: var(--font-body);
  clear: both;
  border-top: 10px solid #0a3d6a;
  background: #344c77;
  min-height: 300px;
  margin-top: 4em;
}
.footer-map{
  width: 100%;
   border-bottom: 7px solid #0a3d6a;
}

.footer-map iframe{
  width: 100%;
  height: 420px;   /* desktop */
  display: block;
  border: 0;
}

@media (max-width: 767px){
  .footer-map iframe{
    height: 260px; /* mob */
  }
}


/* FOOTER: single-column layout (samo kad postoji JEDAN .fut blok) */
footer.footer #inner-footer > .fut:only-child{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1em;
}

/* base fut styling (radi i za 1 i za 2 kolone) */
.fut{
  text-align: center;
  padding: 1.5em 0.25em;
  color: var(--white);
  font-size: .875em;
}

.fut p{
  font-size: 0.875em;
  padding: 0.75em;
  color: var(--white);
}

.fut h2{
  color: var(--white);
  font-size: 1.5em;
  margin-bottom: .5em;
}

.fut h2 a{
  color: var(--orange);
  transition: color 0.3s ease;
}

.fut h2 a:hover{
  color: var(--black);
  text-decoration: underline;
}

/* logo (WP custom logo) */
#logo_fut{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5em;
}

#logo_fut .custom-logo-link,
#logo_fut a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  float: none !important;
}

#logo_fut img{
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ikone (centrirane u single-column modu) */
footer.footer #inner-footer > .fut:only-child .fut-icons,
footer.footer #inner-footer > .fut:only-child .extras{
  display: flex;
  justify-content: center;
  align-items: center;
}



/* ======================= MOBILE ======================= */
@media (max-width: 767px){
  #main{ padding: 0.25em !important; }

  .entry-content{
    width: 100%;
    /* margin: 1em; */
  }

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


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

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

  transition: background-color 0.3s ease;

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

.tags a:hover{ background: var(--black); }

.tags-title{ background: var(--black); }


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

.search-title a{
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  color: var(--neutral-gray);
  line-height: 1em;
  transition: color 0.3s ease;
}

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


/* ========================== PAGINACIJA ========================== */
.pagination,
.wp-prev-next{
  margin: 1.5em 0;
}

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

.pagination ul{
  display: inline-block;
  background: var(--white);
  white-space: nowrap;
  padding: 0;
  border-radius: 3px;
}

.pagination li{
  display: inline-block;
  margin: 0;
  padding: 0;
  overflow: hidden;

  border-bottom: 1px solid #eaedf2;
  border-radius: 20px;
}

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

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

  padding: 0.75em;
  min-width: 1em;
  display: block;

  color: var(--primary-red);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover,
.pagination a:focus,
.pagination span:hover,
.pagination span:focus{
  background: var(--accent);
  color: var(--white);
}

.pagination .current{
  cursor: default;
  color: #5c6b80;
}

.pagination .current:hover,
.pagination .current:focus{
  background: var(--white);
  color: #5c6b80;
}

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


/* ========================== DROPDOWN (CUSTOM SELECT) ========================== */
.widget_archive h4{
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  font-size: 3em;
  font-weight: 700;
  line-height: 0.65em;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  margin: 0.5em 0;
  text-transform: uppercase;
}

/* hide native select */
.custom-select-wrapper select{ display: none; }

.custom-select-wrapper{
  position: relative;
  width: 100%;
  user-select: none;

  font-family: var(--font-body);
  display: block;
  font-size: 1.125em;

  color: var(--neutral-gray); /* FIX: bio --neutral-gray-gray */
  font-weight: 600;
  text-transform: uppercase;
}

.custom-select-trigger{
  display: block;
  padding: 0.75em;
  color: var(--white);
  background: var(--primary-red);
  cursor: pointer;
  position: relative;
}

/* arrow */
.custom-select-trigger::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;

  width: 0;
  height: 0;

  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--white);

  transform: translateY(-50%);
}

/* options */
.custom-options{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  background: #fff;
  border: 1px solid #ccc;
  border-top: 0;
  border-radius: 0 0 4px 4px;

  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 99;

  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}

.custom-options.show{ display: block; }

.custom-option{
  padding: 10px;
  cursor: pointer;
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--orange);
}

.custom-option:hover{
  background: var(--primary-red);
  color: var(--white);
}

/* scrollbar (webkit) */
.custom-options::-webkit-scrollbar{ width: 20px; }
.custom-options::-webkit-scrollbar-track{ background: #eee; }
.custom-options::-webkit-scrollbar-thumb{
  background: var(--accent);
  border-radius: 40px;
  border: 2px solid #eee;
}
.custom-options::-webkit-scrollbar-thumb:hover{ background: #ee0014; }




/* ========================== TOOLTIP (IKONE) ========================== */
.tooltip-wrapper{
  position: relative;
  display: inline-block;
  cursor: pointer;
}


.tooltip-wrapper .extras svg{
  width: 25px;
  height: 25px;
  fill: currentColor;
  transition: fill 0.3s ease-in-out;
}

.tooltip-wrapper .extras a{ color: #333; }
.tooltip-wrapper .extras a:hover{ color: #ff6600; }

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

  background: rgba(0,0,0,0.5);
  color: #fff;

  text-transform: uppercase;
  padding: 5px 10px;
  font-size: 0.875em;
  white-space: nowrap;

  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  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(0,0,0,0.8);
}

.mail-modal-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark-text);
  padding: 0 3rem;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.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: .5em 2em;
  text-decoration: none;

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

  border: 1px solid var(--orange);
  background-color: var(--dark-text);
  color: var(--white);

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

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

.submit-btn:hover{
  background-color: var(--orange);
  color: var(--dark-text);
}

.mail-close-btn{
  position: relative;
  color: var(--white);
  float: inline-end;
  font-size:3em;
  width:100%;
  margin:0;
  padding-top: .5em;
  line-height: .5em;
  cursor: pointer;
}

.mail-close-btn:hover{
  color: var(--orange);
  transition: background-color .15s ease, color .5s ease, border-color .15s ease;
}
  .contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  /* align-items: center; */
}
.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;
}
.contact-item {
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
}

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

nav .contact-item a {
  color: var(--orange)
}
.contact-item a:hover {
  text-decoration: underline;
}

.contact-item--phone {}
.contact-item--fax {}
.contact-item--email {}

.contact-item .js-email-text {
  display: inline;
}

.contact-item noscript {
  display: inline;
}

.contact-item .email-fallback {
  font-style: normal;
}



/* ========================== 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: 1px solid #ddd;
  background: #fff;
  color: #333;
}

#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(--white);
}

/* Radio (ako ti treba custom, ovo je OK) */
#mail-modal input[type="radio"]{
  width: 15px;
  height: 15px;
  border: 1px solid #ddd;
  display: inline-block;
  margin-right: 0.5em;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
}

#mail-modal input[type="radio"]:checked{
  background: blue;
}

/* Status poruka */
#mail-status{
  margin-top: 10px;
  font-weight: bold;
  text-align: left;
}

.success{ color: green; }
.error{ color: red; }

.mail-error{
  color: var(--dark-text);
  background: var(--orange);
  padding: .5em;
  margin-bottom: .5em;
}
.mail-success{
  color: var(--orange);
  padding: .5em;
  margin-bottom: .5em;
}

.mail-loading{
  color: var(--dark-text);
  background: var(--white);
  padding: .5em;
  margin-bottom: .5em;
}


/* ========================== SKIP LINK ========================== */
.skip-link{
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
  transition: top 0.3s 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;     /* FIX: bio hard 300px */
  height: auto !important;    /* FIX: bio hard 200px */
}

.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;
}

/* footer links (typo fix var) */
.fut a{
  color: var(--orange);
  font-weight: 400;
  text-decoration: underline;
}
.fut a:hover{
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 768px){
  .gallery{ grid-template-columns: repeat(1, 1fr); }

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

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

.cover-title, .entry-title{
  margin: 2rem 0;
  font-size: 2rem;
  line-height: 1.5em;
  color: var(--dark-text);
  border-bottom: 1px solid var(--dark-text);
  text-transform:uppercase;
}

}
