/* =========================================
   LIČKA JESENICA – ZAGLAVLJE 1200 px
   ========================================= */

/* Prostor oko logotipa */
.container-header .navbar-brand {
    width: 100%;
    margin: 0;
}

/* Logo odnosno slika zaglavlja */
.container-header .brand-logo {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Zadrži izvorni omjer slike */
.container-header .brand-logo img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
}

 /* Centriranje modula podnožja */
.footer-centar {
    text-align: center;
}


/* JESTE LI ZNALI — stilovi ograničeni samo na ovaj članak */
.jeste-li-znali {
    color: #173b61;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    line-height: 1.65;
}

.jeste-li-znali .jlz-header {
    text-align: center;
    border-bottom: 3px solid #bdd7f1;
    padding: 28px 0 34px;
    margin-bottom: 30px;
}

.jeste-li-znali .jlz-header h1 {
    color: #174b83;
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: bold;
    margin: 0 0 8px;
}

.jeste-li-znali .jlz-podnaslov {
    color: #2867a7;
    font-size: 1.35rem;
    margin: 0;
}

.jeste-li-znali .jlz-uvod {
    max-width: 900px;
    margin: 30px auto 42px;
    text-align: center;
    font-size: 1.25rem;
}

.jeste-li-znali h2 {
    color: #174b83;
    font-size: 1.8rem;
    margin: 35px 0 18px;
}

.jeste-li-znali h3 {
    color: #173b61;
    font-size: 1.35rem;
    margin: 22px 0;
}

.jeste-li-znali .jlz-popis {
    list-style: decimal;
    padding-left: 38px;
    margin: 22px 0;
}

.jeste-li-znali .jlz-popis li {
    padding: 12px 16px;
    border-top: 1px solid #bdd7f1;
}

.jeste-li-znali .jlz-popis li:nth-child(even) {
    background: #edf5fc;
}

.jeste-li-znali .jlz-popis li p {
    margin: 4px 0 0;
    font-size: 0.95rem;
}

.jeste-li-znali .jlz-tablica {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.jeste-li-znali .jlz-tablica th,
.jeste-li-znali .jlz-tablica td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #bdd7f1;
}

.jeste-li-znali .jlz-tablica th {
    background: #dcecfb;
    color: #174b83;
}

.jeste-li-znali .jlz-tablica tbody tr:nth-child(even) {
    background: #edf5fc;
}

.jeste-li-znali section {
    margin-bottom: 34px;
}

.jeste-li-znali a {
    color: #175da0;
}

@media (max-width: 700px) {
    .jeste-li-znali {
        font-size: 1rem;
    }

    .jeste-li-znali .jlz-tablica {
        font-size: 0.9rem;
    }

    .jeste-li-znali .jlz-tablica th,
    .jeste-li-znali .jlz-tablica td {
        padding: 7px;
    }
}
/* Traka starih stranica */
.stare-stranice-traka {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 8px 16px;
  font-size: 16px;
}

.stare-stranice-traka strong {
  white-space: nowrap;
}

.stare-stranice-traka span {
  white-space: nowrap;
}

.stare-stranice-traka a {
  white-space: nowrap;
  color: #ffffff;
  text-decoration: underline;
}

.stare-stranice-traka a:hover {
  text-decoration: none;
}
/* Rotator zaglavlja Ličke Jesenice */
.header-rotator {
    position: relative;
    width: 100%;
    max-width: 1200px;
   aspect-ratio: 1600 / 400;
    margin: 0 auto;
    overflow: hidden;
}

.header-rotator .header-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
   object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.header-rotator .header-slide:first-child {
    opacity: 1;
}
/* ZAOBLJENI RUBOVI ROTIRAJUĆIH SLIKA */
.header-rotator {
    border-radius: 14px;
    overflow: hidden;
}

/* UKLANJANJE PLAVIH TRAKA LIJEVO I DESNO */
.header-rotator-module {
    background: transparent !important;
}
/* GLAVNI MENI – LIČKI VAPNENAC */
#mod-menu1 {
    background-image: url('/vijesti/images/vapnenac.jpg') !important;
    background-repeat: repeat !important;
    background-position: left top;
    background-size: auto;
}

/* OSNOVNI IZGLED POVEZNICA */
#mod-menu1 > li > a,
#mod-menu1 > li > span {
    display: block;
    color: #244b78 !important;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* HOVER – PLAVA POZADINA I BIJELA SLOVA */
#mod-menu1 > li > a:hover {
    background-color: #173b63 !important;
    color: #ffffff !important;
    text-decoration: none;
}

/* NAJNOVIJE OBJAVE – TICKER UP */

.najnovije-objave .card-body {
    height: 125px;
    overflow: hidden;
}

.najnovije-objave ul.mod-articles-items {
    list-style: none;
    margin: 0;
    padding: 0 10px;
    animation: lj-vijesti-up 20s linear infinite;
}

.najnovije-objave ul.mod-articles-items > li {
    position: static !important;
    display: block;
    padding: 8px 0;
}

.najnovije-objave ul.mod-articles-items > li a {
    display: block;
    font-size: 16px !important;
    line-height: 1.3;
    font-weight: 600;
}

@keyframes lj-vijesti-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(-100%);
    }
}

.najnovije-objave .card-body:hover ul.mod-articles-items {
    animation-play-state: paused;
}

/* WM COMMENTS – KOMPAKTNI OBRAZAC */

form.wmcomments-form {
    width: 100% !important;
    max-width: 760px !important;
    margin: 25px auto !important;
}

form.wmcomments-form .control-group {
    margin-bottom: 10px !important;
}

form.wmcomments-form .control-label {
    margin-bottom: 4px;
}

form.wmcomments-form input[type="text"],
form.wmcomments-form input[type="email"] {
    width: 100%;
    height: 44px !important;
    box-sizing: border-box;
    font-size: 16px;
}

form.wmcomments-form textarea {
    width: 100%;
    height: 110px !important;
    min-height: 110px !important;
    box-sizing: border-box;
    font-size: 16px;
}

form.wmcomments-form button,
form.wmcomments-form input[type="submit"] {
    padding: 7px 14px;
    font-size: 16px;
}

form.wmcomments-form textarea {
    height: 110px;
    min-height: 110px;
}

form.wmcomments-form button,
form.wmcomments-form input[type="submit"] {
    padding: 8px 16px;
    font-size: 16px;
} 

/* OZNAKE ČLANKA – PRIKAZ NA DNU */
.com-content-article.item-page {
    display: flex;
    flex-direction: column;
}

.com-content-article.item-page > .article-info {
    order: 1;
}

.com-content-article.item-page > .com-content-article__body {
    order: 2;
}

.com-content-article.item-page > .tags {
    order: 3;
    margin-top: 25px;
    margin-bottom: 20px;
}

.com-content-article.item-page > .wmcomments {
    order: 4;
} 

/* OZNAKE ISPOD NASLOVA – SVE KATEGORIJE */

.com-content-category-blog .com-content-category-blog__item .item-content {
    display: flex;
    flex-direction: column;
}

.com-content-category-blog .com-content-category-blog__item .item-content > * {
    order: 4;
}

.com-content-category-blog .com-content-category-blog__item .item-content > .article-info {
    order: 1;
}

.com-content-category-blog .com-content-category-blog__item .item-content > h1,
.com-content-category-blog .com-content-category-blog__item .item-content > h2,
.com-content-category-blog .com-content-category-blog__item .item-content > h3,
.com-content-category-blog .com-content-category-blog__item .item-content > h4,
.com-content-category-blog .com-content-category-blog__item .item-content > h5,
.com-content-category-blog .com-content-category-blog__item .item-content > h6 {
    order: 2;
}

.com-content-category-blog .com-content-category-blog__item .item-content > .tags {
    order: 3;
    margin-top: 0;
    margin-bottom: 15px;
} 

/* ELEGANTNI GUMB – PROČITAJ DALJE */

.com-content-category-blog .readmore a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1769aa;
    color: transparent !important;
    font-size: 0;
    padding: 5px 9px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease;
}

.com-content-category-blog .readmore a::after {
    content: "Pročitaj dalje  →";
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.com-content-category-blog .readmore a:hover {
    background: #d71920;
}

.com-content-category-blog .readmore a:hover::after {
    color: #ffffff;
}