/* Reciklažno dvorište Općine Stari Jankovci: izgled kao 2019. na predlošku Cassiopeia */
:root { --rd-zelena: #2e7d32; --rd-tamna: #1f2937; }

/* zaglavlje: svijetla traka s grbom, izbornikom i tražilicom */
.container-header { background: #fff; background-image: none; box-shadow: 0 1px 0 #e5e7eb; }
.container-header .navbar-brand a, .container-header .site-description { color: var(--rd-tamna); }
.container-header .brand-logo img { height: 36px; width: auto; }
.container-header .navbar-brand { padding: .5rem 0; display: flex; align-items: center; gap: .75rem; }
.container-header .navbar-brand .site-description { font-size: .875rem; color: #4b5563; }
.container-header .metismenu > li > a, .container-header .metismenu > li > button, .container-header .metismenu .mm-toggler { color: var(--rd-tamna); }
.container-header .metismenu > li.active > a, .container-header .metismenu > li > a:hover { color: var(--rd-zelena); }
.container-header .metismenu > li > a::after { background: var(--rd-zelena); }
.container-header .navbar-toggler { color: var(--rd-tamna); border-color: #d1d5db; }
.container-header .container-search .form-control { border-color: #d1d5db; }

/* vrtuljak: tri slike se izmjenjuju (CSS) */
.container-banner { padding: 0; }
.rd-vrtuljak { position: relative; aspect-ratio: 3 / 1; max-height: 520px; width: 100%; overflow: hidden; background: #e5e7eb; }
.rd-vrtuljak img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: rd-izmjena 18s infinite; }
.rd-vrtuljak img:nth-of-type(1) { animation-delay: 0s; }
.rd-vrtuljak img:nth-of-type(2) { animation-delay: 6s; }
.rd-vrtuljak img:nth-of-type(3) { animation-delay: 12s; }
@keyframes rd-izmjena { 0% { opacity: 0; } 4% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
.rd-vrtuljak-natpis { position: absolute; left: 0; right: 0; bottom: 1.25rem; margin: 0; text-align: center; color: #fff; font-size: clamp(1rem, 2vw, 1.5rem); text-shadow: 0 1px 4px rgba(0,0,0,.7); }
@media (prefers-reduced-motion: reduce) { .rd-vrtuljak img { animation: none; } .rd-vrtuljak img:first-of-type { opacity: 1; } }

/* EU logotipi u jednom redu, natpis ispod */
.container-top-a { align-items: center; padding-top: 2rem; padding-bottom: 1rem; }
.container-top-a > * { display: flex; justify-content: center; align-items: center; }
.container-top-a img { max-width: 100%; height: auto; max-height: 140px; width: auto; }
.container-top-a p { margin: 0; }
.container-top-b { text-align: center; padding-bottom: 1rem; }
.container-top-b p { margin: 0; }

/* članci */
.blog-featured .blog-item { border-bottom: 1px solid #e5e7eb; padding-bottom: 1.5rem; margin-bottom: 2rem; }
.item-title a, .page-header h2 a { color: var(--rd-zelena); }
.badge.bg-info { display: none; } /* oznaka "Istaknuto" na naslovnici */

/* galerija (AdmirorGallery) */
.AG_classic, .AdmirorGallery { margin: 1rem 0; }

/* podnožje */
.container-footer { background: var(--rd-tamna); background-image: none; }
.container-footer .grid-child { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; }
.container-footer p, .container-footer .text-muted { color: #e5e7eb !important; margin-bottom: .25rem; }
.container-footer a { color: #fff; }
.container-footer .moduletable { flex: 1 1 280px; }
.container-footer .footer, .container-footer .no-card { background: none; padding: 0; }
.container-footer h3, .container-footer .card-header { color: #fff; font-size: 1.125rem; background: none; border: 0; padding: 0 0 .5rem; }
@media (max-width: 767.98px) {
  .container-top-a { display: flex !important; flex-direction: row; gap: .5rem; padding-top: 1rem; }
  .container-top-a > * { flex: 1 1 0; min-width: 0; margin: 0 !important; }
  .container-top-a img { max-height: 90px; }
  .container-top-b { font-size: .875rem; }
}
