/* Početna — traka novosti (feed kartice) */
.home-news-feed {
  position: relative;
  padding: clamp(28px, 5vw, 56px) max(18px, env(safe-area-inset-left, 0px)) clamp(36px, 6vw, 64px);
  padding-right: max(18px, env(safe-area-inset-right, 0px));
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.98) 0%, #07080c 45%, #050608 100%);
  border-top: 1px solid rgba(255, 204, 0, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.home-news-feed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 204, 0, 0.09), transparent 55%);
  pointer-events: none;
}
.home-news-feed__inner {
  position: relative;
  z-index: 1;
  max-width: min(1040px, 94vw);
  margin: 0 auto;
}
.home-news-feed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.home-news-feed__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 204, 0, 0.95);
  margin: 0 0 6px;
}
.home-news-feed__title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 900;
  color: #f4f4f6;
  margin: 0;
  letter-spacing: -0.02em;
}
.home-news-feed__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffcc00;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 0, 0.35);
  background: rgba(255, 204, 0, 0.06);
  transition: background 0.2s, transform 0.15s;
}
.home-news-feed__more:hover {
  background: rgba(255, 204, 0, 0.14);
  transform: translateY(-1px);
}
.home-news-feed__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(14px, 2vw, 20px);
}
.home-news-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(22, 26, 34, 0.95) 0%, rgba(10, 12, 18, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
a.home-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 204, 0, 0.28);
}
.home-news-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #11151c;
  overflow: hidden;
}
.home-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-news-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.home-news-card__body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-news-card__meta {
  font-size: 0.72rem;
  color: #8b919d;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.home-news-card__meta em {
  color: #e8b012;
  font-style: normal;
  font-weight: 700;
}
.home-news-card__h {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.3;
  color: #f0f2f6;
  margin: 0 0 10px;
}
.home-news-card__excerpt {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #9aa3b2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 520px) {
  .home-news-feed__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Početna: NOVOSTI kao prorent (žuti datum na slici, 3 kolone, carousel) —— */
/* Stranica Novosti (lista): kao Prorent — tamna „scena“, zlatni sjaj (bez vanjske slike u repo-u) */
.novosti-page-section--carousel {
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(55, 35, 70, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 55%, rgba(255, 180, 40, 0.09) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(255, 204, 0, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(6, 5, 12, 0.94) 55%, rgba(2, 2, 6, 0.97) 100%);
  border-top: 0;
  border-bottom: 1px solid rgba(255, 204, 0, 0.12);
}
.novosti-page-section--carousel .home-news-feed {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}
.novosti-page-section--carousel .home-news-feed::before {
  background: radial-gradient(ellipse 85% 55% at 50% -15%, rgba(255, 204, 0, 0.14), transparent 58%);
}
.home-news-pro {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.home-news-pro .home-news-feed__inner.home-news-pro__inner {
  max-width: 1320px;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}
.home-news-pro__masthead {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.home-news-pro__adminbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.home-news-pro__adminlink,
.home-news-pro__admincount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 0, 0.28);
  background: rgba(255, 204, 0, 0.06);
  color: #f7d86a;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.home-news-pro__adminlink:hover {
  background: rgba(255, 204, 0, 0.14);
}
.home-news-pro__flash {
  max-width: 760px;
  margin: -20px auto 26px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 110, 110, 0.12);
  border: 1px solid rgba(255, 110, 110, 0.28);
  color: #ffd4d4;
  text-align: center;
  font-weight: 700;
}
.home-news-pro__flash.is-ok {
  background: rgba(58, 194, 126, 0.12);
  border-color: rgba(58, 194, 126, 0.3);
  color: #c9f4dd;
}
.home-news-pro__heading {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--main, #ffcc00);
  margin: 0;
  line-height: 1.2;
}
.home-news-pro__carousel {
  position: relative;
  padding-bottom: 52px;
}
.home-news-pro__viewport {
  overflow: hidden;
  margin: 0 clamp(0px, 2vw, 8px);
}
.home-news-pro__track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .home-news-pro__track {
    transition: none;
  }
}
.home-news-pro__page {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 40px);
  align-items: stretch;
  box-sizing: border-box;
  padding: 4px 2px 8px;
}
@media (max-width: 1024px) {
  .home-news-pro__page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 28px);
  }
}
@media (max-width: 640px) {
  .home-news-pro__page {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.home-news-pro__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #050508;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-news-pro__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 204, 0, 0.12);
}
.home-news-pro__cardlink {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.home-news-pro__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0c;
  overflow: hidden;
}
.home-news-pro__datebadge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  min-width: 58px;
  padding: 10px 12px 12px;
  background: var(--main, #e8b800);
  color: #0a0a0a;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.home-news-pro__datebadge-day {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.home-news-pro__datebadge-mon {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 4px;
}
.home-news-pro__datebadge-yr {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  margin-top: 2px;
  opacity: 0.9;
}
.home-news-pro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.home-news-pro__card:hover .home-news-pro__media img {
  transform: scale(1.03);
}
.home-news-pro__cardbody {
  padding: clamp(18px, 2.2vw, 26px) clamp(16px, 2vw, 22px) clamp(22px, 2.5vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.home-news-pro__h {
  margin: 0;
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  font-weight: 800;
  line-height: 1.45;
  color: #f4f5f8;
  letter-spacing: 0.06em;
}
.home-news-pro__ex {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #8b919d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-news-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 0 16px 18px;
}
.home-news-pro__actionlink,
.home-news-pro__actionbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 0, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #f4f5f8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.home-news-pro__actionlink:hover,
.home-news-pro__actionbtn:hover {
  background: rgba(255, 204, 0, 0.1);
}
.home-news-pro__deleteform {
  margin: 0;
}
.home-news-pro__actionbtn {
  cursor: pointer;
}
.home-news-pro__actionbtn--danger {
  color: #ffbcbc;
  border-color: rgba(255, 120, 120, 0.24);
}
.home-news-pro__rail {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 120px;
  max-height: 38%;
  margin-top: -20px;
  border: none;
  background: var(--main, #e8b800);
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: filter 0.2s, opacity 0.2s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.home-news-pro__rail:hover {
  filter: brightness(1.08);
}
.home-news-pro__rail:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.home-news-pro__rail--prev {
  left: 0;
  border-radius: 0 6px 6px 0;
}
.home-news-pro__rail--next {
  right: 0;
  border-radius: 6px 0 0 6px;
}
@media (max-width: 1024px) {
  .home-news-pro__rail {
    width: 38px;
    height: 88px;
    max-height: 45%;
  }
}
@media (max-width: 640px) {
  .home-news-pro__rail {
    display: none;
  }
}
.home-news-pro__dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
}
.home-news-pro__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 204, 0, 0.45);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.home-news-pro__dot.is-active {
  background: var(--main, #ffcc00);
  border-color: var(--main, #ffcc00);
  transform: scale(1.15);
}
.home-news-pro__foot {
  margin-top: clamp(32px, 4vw, 48px);
  text-align: center;
}

/* Novosti — jedan članak (prorent: datum na slici, jak naslov, desno ostale) */
.novosti-page-section--article {
  padding-top: clamp(48px, 9vw, 88px);
}
/* Ista tamna „scena“ kao lista novosti / početna — ne bijela kartica */
body.novosti-article-view {
  background: #030303;
}
.novosti-page-section.bs-page-section.novosti-page-section--article {
  text-align: left;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(55, 35, 70, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 55%, rgba(255, 180, 40, 0.09) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(255, 204, 0, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(6, 5, 12, 0.94) 55%, rgba(2, 2, 6, 0.97) 100%);
  padding-left: clamp(12px, 4.2vw, 28px);
  padding-right: clamp(12px, 4.2vw, 28px);
  padding-bottom: clamp(56px, 11vw, 100px);
}
.novosti-page-section .novosti-page-inner {
  max-width: min(1080px, 94vw) !important;
  width: 100%;
}
/* Članak: kao Prorent — žuti naslov, bijeli meta i tijelo */
.novosti-page-section--article .novosti-featured-title {
  color: #ffcc00;
  border-bottom-color: rgba(255, 204, 0, 0.4);
}
.novosti-page-section--article .novosti-featured-meta {
  color: #ffffff;
}
.novosti-page-section--article .novosti-featured-meta__pub {
  color: #ffffff;
}
.novosti-page-section--article .novosti-featured-body {
  color: #ffffff;
  font-size: clamp(0.92rem, 3.1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.62;
  letter-spacing: 0.03em;
}
@media (max-width: 640px) {
  .novosti-page-section--article .novosti-featured-body {
    color: #ffffff;
    font-size: clamp(0.9rem, 3.2vw, 1.04rem);
    line-height: 1.58;
  }
  .novosti-page-section--article .novosti-featured-meta {
    color: #ffffff;
  }
}

.novosti-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  text-align: left;
  scroll-margin-top: clamp(72px, 14vw, 120px);
}
@media (max-width: 960px) {
  .novosti-split {
    grid-template-columns: 1fr;
  }
  .novosti-split__aside {
    order: 2;
    border-top: 1px solid rgba(255, 204, 0, 0.2);
    padding-top: 28px;
    margin-top: 8px;
  }
}
.novosti-split__main {
  min-width: 0;
}
.novosti-featured-copy {
  min-width: 0;
}
.novosti-featured-media__wrap {
  margin-top: clamp(8px, 2vw, 20px);
  margin-bottom: clamp(26px, 3.5vw, 36px);
}
.novosti-featured-media__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0c;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border: none;
}
.novosti-featured-media__visual--carousel {
  overflow: visible;
}
.novosti-featured-media__visual--carousel .novosti-gallery {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
.novosti-featured-media__img,
.novosti-featured-media__iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  display: block;
  border: 0;
  vertical-align: middle;
}
/* Carousel više fotografija u članku */
.novosti-gallery {
  position: relative;
  width: 100%;
  height: 100%;
}
.novosti-gallery__viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.novosti-gallery__track {
  height: 100%;
  will-change: transform;
}
.novosti-gallery__slide {
  position: relative;
  height: 100%;
  background: #0a0a0c;
}
.novosti-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  display: block;
}
/* Članak novosti: slika treba biti jasna i svjetlija (bez "mutnog" dojma) */
body.novosti-article-view .novosti-featured-media__visual {
  background: #151515;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
body.novosti-article-view .novosti-featured-media__visual::after {
  content: none !important;
}
body.novosti-article-view .novosti-featured-media__img,
body.novosti-article-view .novosti-gallery__img {
  opacity: 1 !important;
  filter: brightness(var(--bs-news-img-filter-brightness, 1.70)) contrast(1.00) saturate(1.10) !important;
  mix-blend-mode: normal !important;
}
body.novosti-article-view .novosti-featured-media__img.js-novosti-open-image {
  cursor: zoom-in;
}
@media (max-width: 960px) {
  body.novosti-article-view .novosti-featured-media__img,
  body.novosti-article-view .novosti-gallery__img {
    filter: brightness(var(--bs-news-img-filter-brightness-mobile, 1.88)) contrast(0.98) saturate(1.08) !important;
  }
}
/* Lightbox slike novosti — isti stil kao galerija */
#lb-overlay-news.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100120;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#lb-overlay-news.lb-overlay.is-open,
#lb-overlay-news.lb-overlay[aria-hidden="false"] {
  display: flex !important;
  align-items: stretch;
  justify-content: flex-start;
}
#lb-overlay-news .lb-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 52px 0 56px;
  box-sizing: border-box;
}
#lb-overlay-news .lb-img-wrap {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}
#lb-overlay-news .lb-img-el {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  transform-origin: 50% 50%;
  transition: transform 0.2s ease;
  cursor: zoom-in;
  touch-action: manipulation;
}
#lb-overlay-news .lb-img-el.is-zoomed {
  transform: scale(1.85);
  cursor: zoom-out;
}
#lb-overlay-news .lb-btn {
  position: absolute;
  z-index: 100125;
  border: 1px solid rgba(255, 204, 0, 0.45);
  background: rgba(8, 8, 8, 0.72);
  color: var(--main, #ffcc00);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
}
#lb-overlay-news .lb-btn:hover {
  background: rgba(255, 204, 0, 0.18);
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.15);
}
#lb-overlay-news .lb-close {
  top: 10px;
  right: 10px;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 300;
}
.novosti-gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 204, 0, 0.45);
  background: rgba(0, 0, 0, 0.55);
  color: #ffcc00;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.novosti-gallery__btn:hover {
  background: rgba(255, 204, 0, 0.14);
  border-color: rgba(255, 204, 0, 0.65);
}
.novosti-gallery__btn--prev {
  left: clamp(8px, 2vw, 14px);
}
.novosti-gallery__btn--next {
  right: clamp(8px, 2vw, 14px);
}
.novosti-gallery__dots {
  position: absolute;
  bottom: clamp(10px, 2.5vw, 16px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 4;
  pointer-events: auto;
}
.novosti-gallery__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 204, 0, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.novosti-gallery__dot.is-active {
  background: var(--main, #ffcc00);
  border-color: var(--main, #ffcc00);
  transform: scale(1.12);
}
@media (max-width: 600px) {
  .novosti-gallery__btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .novosti-featured-media__img,
  .novosti-gallery__img {
    object-position: center 18%;
  }
  .novosti-featured-datebadge {
    top: 10px;
    left: 10px;
    min-width: 0;
    padding: 6px 9px 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  }
  .novosti-featured-datebadge__d {
    font-size: 1.2rem;
  }
  .novosti-featured-datebadge__m,
  .novosti-featured-datebadge__y {
    font-size: 0.55rem;
    margin-top: 2px;
  }
}
/* Žuti datum kao na početnoj (preko slike), ne u „praznom“ traku */
.novosti-featured-datebadge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  min-width: 56px;
  padding: 10px 12px 12px;
  background: var(--main, #e8b800);
  color: #0a0a0a;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.novosti-featured-datebadge__d {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.novosti-featured-datebadge__m {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 4px;
}
.novosti-featured-datebadge__y {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  margin-top: 2px;
  opacity: 0.9;
}
/* U prikazu jednog članka: datum ne smije dominirati nad slikom */
body.novosti-article-view .novosti-featured-datebadge {
  background: rgba(255, 204, 0, 0.95);
  color: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 248, 205, 0.52);
}
@media (max-width: 960px) {
  body.novosti-article-view .novosti-featured-datebadge {
    background: rgba(255, 204, 0, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
    transform: none;
  }
}
.novosti-featured-title {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f8f9fc;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(255, 204, 0, 0.35);
}
.novosti-featured-meta {
  font-size: 0.82rem;
  color: #9aa3b2;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}
.novosti-featured-meta__ev {
  color: var(--main, #ffcc00);
  font-weight: 700;
}
.novosti-featured-meta__dot {
  margin: 0 8px;
  opacity: 0.45;
}
.novosti-featured-meta__pub {
  color: #b4bac4;
}
.novosti-featured-body {
  font-size: 1.06rem;
  line-height: 1.78;
  color: #f0f2f6;
}
.novosti-split__aside {
  position: sticky;
  top: 100px;
  padding: 22px 20px 24px;
  padding-right: clamp(20px, 4vw, 72px);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(10, 10, 14, 0.97) 0%, rgba(4, 4, 8, 0.98) 100%),
    url('../images/bg-concert-1.jpg') center/cover no-repeat;
  border: 1px solid rgba(255, 204, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.novosti-split__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.88) 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.novosti-split__aside > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .novosti-split__aside {
    position: static;
    padding-right: 20px;
  }
}
.novosti-aside-title {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin: 0 0 20px;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.45);
}
.novosti-aside-empty {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
.novosti-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.novosti-aside-list__item {
  border-bottom: 1px solid rgba(255, 204, 0, 0.28);
}
.novosti-aside-list__item:last-child {
  border-bottom: none;
}
.novosti-aside-list__link,
.novosti-aside-list__link:link,
.novosti-aside-list__link:visited {
  display: block;
  padding: 16px 0;
  text-decoration: none !important;
  color: inherit !important;
  border: none;
  outline: none;
}
.novosti-aside-list__link:hover .novosti-aside-list__headline {
  color: var(--main, #ffcc00) !important;
}
.novosti-aside-list__date {
  display: block;
  font-size: 0.78rem;
  color: var(--main, #ffcc00) !important;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.novosti-aside-list__headline {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  color: #f0f2f6 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.novosti-aside-all {
  margin: 20px 0 0;
  font-size: 0.85rem;
}
.novosti-aside-all a,
.novosti-aside-all a:link,
.novosti-aside-all a:visited {
  color: rgba(255, 220, 100, 0.95) !important;
  text-decoration: none !important;
  font-weight: 700;
}
.novosti-aside-all a:hover {
  color: #fff !important;
}

/* Plutajući WhatsApp / zvuk — ne preklapaju „Ostale novosti“ */
body.novosti-article-view .social-float {
  bottom: 22px;
  right: 16px;
}
@media (min-width: 961px) {
  body.novosti-article-view .social-float {
    bottom: 28px;
  }
}

/* Jače od UA / reseta: lista „Ostale novosti“ bez bullet-a i plavih linkova */
.novosti-page-section--article ul.novosti-aside-list {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.novosti-page-section--article ul.novosti-aside-list > li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}
.novosti-page-section--article .novosti-aside-list__link,
.novosti-page-section--article .novosti-aside-list__link:link,
.novosti-page-section--article .novosti-aside-list__link:visited,
.novosti-page-section--article .novosti-aside-list__link:active {
  color: #eceef4 !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}
.novosti-page-section--article .novosti-aside-list__date {
  color: var(--main, #ffcc00) !important;
}
.novosti-page-section--article .novosti-aside-list__link:hover .novosti-aside-list__headline {
  color: var(--main, #ffcc00) !important;
}

/* Članak: jak kontrast u glavnoj koloni — „Ostale novosti“ ostaju taman (suptilnije od članka) */
body.novosti-article-view .novosti-split__aside::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.94) 100%);
}
body.novosti-article-view .novosti-split__aside .novosti-aside-title {
  color: rgba(255, 255, 255, 0.62) !important;
  border-bottom-color: rgba(255, 204, 0, 0.22) !important;
}
body.novosti-article-view .novosti-split__aside .novosti-aside-empty {
  color: rgba(255, 255, 255, 0.4) !important;
}
body.novosti-article-view .novosti-split__aside .novosti-aside-list__item {
  border-bottom-color: rgba(255, 204, 0, 0.14) !important;
}
body.novosti-article-view .novosti-split__aside .novosti-aside-list__date {
  color: rgba(255, 204, 0, 0.58) !important;
  font-weight: 600 !important;
}
body.novosti-article-view .novosti-split__aside .novosti-aside-list__headline {
  color: rgba(200, 208, 218, 0.88) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}
body.novosti-article-view .novosti-split__aside .novosti-aside-list__link:hover .novosti-aside-list__headline {
  color: rgba(255, 204, 0, 0.88) !important;
}
body.novosti-article-view .novosti-split__aside .novosti-aside-all a,
body.novosti-article-view .novosti-split__aside .novosti-aside-all a:link,
body.novosti-article-view .novosti-split__aside .novosti-aside-all a:visited {
  color: rgba(255, 210, 120, 0.48) !important;
  font-weight: 600 !important;
}
body.novosti-article-view .novosti-split__aside .novosti-aside-all a:hover {
  color: rgba(255, 255, 255, 0.72) !important;
}
body.novosti-article-view .novosti-split__aside .novosti-aside-list__link,
body.novosti-article-view .novosti-split__aside .novosti-aside-list__link:link,
body.novosti-article-view .novosti-split__aside .novosti-aside-list__link:visited,
body.novosti-article-view .novosti-split__aside .novosti-aside-list__link:active {
  color: rgba(210, 216, 224, 0.55) !important;
}
@media (max-width: 960px) {
  body.novosti-article-view .novosti-split__aside .novosti-aside-list__headline {
    color: rgba(176, 184, 194, 0.74) !important;
  }
  body.novosti-article-view .novosti-split__aside .novosti-aside-title {
    color: rgba(255, 255, 255, 0.52) !important;
  }
}

/* Stranica novosti — puni članci */
.novosti-article[id^='novost-'] {
  scroll-margin-top: 110px;
}
.novosti-article.novosti-article--target {
  outline: 1px solid rgba(255, 204, 0, 0.45);
  outline-offset: 8px;
  border-radius: 8px;
  transition: outline 0.3s ease;
}
.novosti-article {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.12);
}
.novosti-article:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.novosti-article .home-news-card__media {
  border-radius: 16px;
  margin-bottom: 18px;
  max-width: 920px;
}
.novosti-article h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.25;
}
.novosti-article .novosti-body {
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.75;
  white-space: pre-wrap;
}

/* Jedan članak: Prorent kontrast (detalj u header.php #bs-novosti-article-paint — posljednji u <head>) */
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-split__main {
  color: #ffffff !important;
}
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-split__main h1.novosti-featured-title,
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-featured-title {
  color: #ffcc00 !important;
  -webkit-text-fill-color: #ffcc00 !important;
}
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-featured-meta {
  color: #ffffff !important;
}
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-featured-meta__pub,
body.novosti-article-view .bs-page-section.novosti-page-section--article time.novosti-featured-meta__pub {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-featured-meta__ev {
  color: var(--main, #ffcc00) !important;
  -webkit-text-fill-color: var(--main, #ffcc00) !important;
}
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-featured-meta__dot {
  color: rgba(255, 255, 255, 0.45) !important;
}
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-body.novosti-featured-body,
body.novosti-article-view .bs-page-section.novosti-page-section--article .novosti-featured-body {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700;
  line-height: 1.62;
  letter-spacing: 0.03em;
}
/* Bez .bs-page-section — ako neka tema promijeni markup */
body.novosti-article-view .novosti-split__main .novosti-featured-body,
body.novosti-article-view .novosti-split__main .novosti-body.novosti-featured-body {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700;
  line-height: 1.62;
}
body.novosti-article-view .novosti-split__main .novosti-featured-meta__pub {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700;
}

/* Mobitel/tablet: članak na tamnoj ploči — pun kontrast (header #bs-novosti-article-paint dodatno pojačava) */
@media (max-width: 960px) {
  body.novosti-article-view .novosti-split__main {
    opacity: 1 !important;
    filter: none !important;
  }
  body.novosti-article-view .novosti-split__main .novosti-featured-copy {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    padding: 18px 14px 22px;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(18, 18, 20, 0.82) 0%, rgba(14, 14, 16, 0.78) 100%);
    border: 1px solid rgba(255, 204, 0, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 16px 44px rgba(0, 0, 0, 0.62);
  }
  body.novosti-article-view .novosti-split__main .novosti-featured-copy h1.novosti-featured-title,
  body.novosti-article-view .novosti-split__main .novosti-featured-copy .novosti-featured-title {
    color: #ffe14a !important;
    -webkit-text-fill-color: #ffe14a !important;
  }
  body.novosti-article-view .novosti-split__main .novosti-featured-copy .novosti-featured-meta,
  body.novosti-article-view .novosti-split__main .novosti-featured-copy .novosti-featured-meta__pub,
  body.novosti-article-view .novosti-split__main .novosti-featured-copy time.novosti-featured-meta__pub {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  body.novosti-article-view .novosti-split__main .novosti-featured-copy .novosti-featured-meta__ev {
    color: #ffdd44 !important;
    -webkit-text-fill-color: #ffdd44 !important;
  }
  body.novosti-article-view .novosti-split__main .novosti-featured-copy .novosti-featured-body,
  body.novosti-article-view .novosti-split__main .novosti-featured-copy .novosti-body.novosti-featured-body {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    line-height: 1.6;
  }
}
