/* ==========================================================================
   DVD DROPKOVEC — DIZAJN.CSS
   Zajednički dizajn-sustav glavnih stranica:
   Naslovnica · Novosti · Galerija · Kontakt · Donacije · Prijava
   (učitava se NAKON header.css; stare stranice članaka ga ne koriste)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BAZA
   -------------------------------------------------------------------------- */

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  text-wrap: balance;
}

p {
  font-size: 1.06rem;
}

a {
  color: var(--navy-700);
}

/* Signalna traka — potpis dizajna */
.stripe-divider {
  height: 6px;
  background: var(--stripe);
}

/* Nadnaslov sekcije */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.overline::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.overline--gold {
  color: var(--gold);
}

.overline--gold::before {
  background: var(--gold);
}

/* Zaglavlje sekcije */
.section {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.section-title {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 0.55rem;
}

.section-title--light {
  color: #fff;
}

.section-lead {
  max-width: 62ch;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Gumbi */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn i {
  font-size: 0.85em;
}

.btn--red {
  background: var(--red);
  color: #fff;
}

.btn--red:hover {
  background: var(--red-dark);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-700);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: #e6ae00;
}

/* Tekstualni link sa strelicom */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
}

.arrow-link i {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.arrow-link:hover i {
  transform: translateX(5px);
}

/* Ulazne animacije (aktivira ih script.js) */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   2. HERO — NASLOVNICA
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(90vh, 860px);
  background:
    linear-gradient(
      100deg,
      rgba(0, 26, 53, 0.94) 0%,
      rgba(0, 26, 53, 0.72) 45%,
      rgba(0, 26, 53, 0.35) 100%
    ),
    url('slike/pozadina.jpg') center 20% / cover no-repeat;
  color: #fff;
}

.hero-inner {
  padding-top: 7rem;
  padding-bottom: 4.5rem;
}

.hero-title {
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: #fff;
}

.hero-title span {
  color: var(--gold);
}

.hero-lead {
  max-width: 56ch;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* Statistika na dnu heroa */
.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 14, 29, 0.35);
  backdrop-filter: blur(3px);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-stat {
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.3rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.hero-stat span {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   3. NOVOSTI — KARTICE (naslovnica + stranica novosti)
   -------------------------------------------------------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 26, 53, 0.14);
}

.news-card-media {
  display: block;
  overflow: hidden;
}

.news-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.05);
}

/* Plakati (uspravne slike) — prikaži cijelu sliku bez rezanja */
.news-card-media img[src*='Rakija-Slivarijada-2025'] {
  object-fit: contain;
  background: #eef1f5;
}

/* Plakat 18. Slivarijade — cijeli, na tamnoj podlozi u tonu plakata */
.news-card-media img[src*='slivarijada-2026-prijava-rakija-naslovna'] {
  object-fit: contain;
  background: #0a1204;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.5rem;
  gap: 0.65rem;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.news-card-date::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--red);
}

.news-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.news-card-title a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card-title a:hover {
  color: var(--red);
}

.news-card-excerpt {
  color: var(--muted);
  font-size: 1rem;
  flex: 1;
}

.news-card-link {
  align-self: flex-start;
  margin-top: 0.35rem;
}

/* Prva (najnovija) kartica — automatski istaknuta preko cijele širine */
.news-grid > .news-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
}

.news-grid > .news-card:first-child .news-card-media img {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}

.news-grid > .news-card:first-child .news-card-body {
  justify-content: center;
  padding: 2.5rem 2.75rem;
  gap: 0.9rem;
}

.news-grid > .news-card:first-child .news-card-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}

.news-grid > .news-card:first-child .news-card-excerpt {
  flex: 0 1 auto;
  font-size: 1.08rem;
}

/* --------------------------------------------------------------------------
   4. DJELATNOSTI (naslovnica — tamna sekcija)
   -------------------------------------------------------------------------- */

.services {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 2px,
      transparent 2px,
      transparent 14px
    ),
    var(--navy);
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  position: relative;
  padding: 2.2rem 1.9rem 2.4rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  overflow: hidden;
}

.service-card::after {
  content: attr(data-num);
  position: absolute;
  top: 0.4rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 5.2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: 1.4rem;
}

.service-card h3 {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   5. VATROGASNI DOM + VOZILO I SPREMIŠTE (naslovnica)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split + .split {
  margin-top: 4.5rem;
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.split-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 22px 45px rgba(0, 26, 53, 0.22);
}

/* Pomaknuti zlatni okvir iza fotografije */
.split-media::before {
  content: '';
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 2px solid var(--gold);
  border-radius: 4px;
}

.split--reverse .split-media::before {
  inset: 1.4rem 1.4rem -1.4rem -1.4rem;
}

.split-text h2,
.split-text h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0.55rem 0 1.2rem;
}

.split-text p {
  color: var(--muted);
}

.split-text p + p {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   6. CTA TRAKA (naslovnica)
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background:
    linear-gradient(rgba(0, 26, 53, 0.93), rgba(0, 26, 53, 0.93)),
    url('slike/kamion-spremiste.jpg') center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 4.5rem 0;
  border-top: 6px solid transparent;
  border-image: var(--stripe) 1;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.cta-band p {
  max-width: 60ch;
  margin: 1rem auto 2rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .hero-actions {
  justify-content: center;
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   7. PODSTRANICE — ZAGLAVLJE (Novosti, Galerija, Kontakt, Donacije)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  background:
    linear-gradient(
      100deg,
      rgba(0, 26, 53, 0.96) 0%,
      rgba(0, 26, 53, 0.8) 55%,
      rgba(0, 26, 53, 0.55) 100%
    ),
    url('slike/pozadina.jpg') center 25% / cover no-repeat;
  color: #fff;
  padding: 4.5rem 0 3.5rem;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.8rem;
}

.page-hero p {
  max-width: 64ch;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

/* --------------------------------------------------------------------------
   8. GALERIJA
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gal-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy);
}

.gal-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.gal-item::after {
  content: '+';
  font-family: var(--font-display);
  font-weight: 600;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  background: rgba(0, 26, 53, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gal-item:hover::after {
  opacity: 1;
}

.gal-item:hover img {
  transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   9. KONTAKT
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.contact-card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 5px;
  padding: 1.35rem 1.5rem;
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.2rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.contact-card p {
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-card a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--red);
}

.contact-map {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 26, 53, 0.12);
  min-height: 420px;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   10. DONACIJE
   -------------------------------------------------------------------------- */

.donate-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.donate-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0.55rem 0 1.2rem;
}

.donate-text p {
  color: var(--muted);
}

.donate-text p + p {
  margin-top: 1rem;
}

.donate-sign {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.bank-card {
  position: sticky;
  top: 110px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 26, 53, 0.3);
}

.bank-card::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--stripe);
}

.bank-card-inner {
  padding: 2.1rem 2.2rem 2.3rem;
}

.bank-card h2 {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.6rem;
}

.bank-row {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bank-row dt {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.bank-row dd {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bank-row dd.iban {
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.07em;
}

.bank-note {
  margin-top: 1.4rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 193, 0, 0.1);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

/* --------------------------------------------------------------------------
   11. PRIJAVA
   -------------------------------------------------------------------------- */

.auth-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background:
    linear-gradient(rgba(0, 26, 53, 0.92), rgba(0, 26, 53, 0.96)),
    url('slike/pozadina.jpg') center / cover no-repeat;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 5, 12, 0.5);
}

.auth-card::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--stripe);
}

.auth-card-inner {
  padding: 2.4rem 2.3rem 2.6rem;
  text-align: center;
}

.auth-card .grb {
  height: 76px;
  width: auto;
  margin-bottom: 1.1rem;
}

.auth-card h1 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-note {
  margin: 0.6rem 0 1.8rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-group {
  text-align: left;
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fafc;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(10, 58, 99, 0.15);
}

.login-btn {
  width: 100%;
  margin-top: 0.4rem;
  justify-content: center;
}

.form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  background: var(--red);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 4px;
  text-align: center;
}

.forgot-password {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.forgot-password:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  margin-top: auto;
}

.site-footer::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--stripe);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 3rem;
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.98rem;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}

.site-footer li i {
  width: 1.4rem;
  color: var(--gold);
  margin-right: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.2rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   13. RESPONZIVNOST
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .section {
    padding: 3.75rem 0;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .contact-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }

  .bank-card {
    position: static;
  }

  .contact-map {
    min-height: 380px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-stats-inner {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    padding: 0.9rem 0.5rem;
  }

  .hero-stat + .hero-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-stat strong {
    font-size: 1.8rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 2rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-grid > .news-card:first-child {
    grid-template-columns: 1fr;
  }

  .news-grid > .news-card:first-child .news-card-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  /* Plakat Slivarijade na mobitelu — omjer plakata, bez rubova i rezanja */
  .news-grid
    > .news-card:first-child
    .news-card-media
    img[src*='slivarijada-2026-prijava-rakija-naslovna'] {
    aspect-ratio: 3 / 2;
  }

  .news-grid > .news-card:first-child .news-card-body {
    padding: 1.4rem 1.5rem 1.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .split-media::before,
  .split--reverse .split-media::before {
    inset: 0.9rem -0.6rem -0.9rem 0.9rem;
  }

  /* Footer na mobitelu — centrirano, sa razdjelnicima i prozračnije */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 3rem 0 2.5rem;
    text-align: center;
  }

  .footer-grid > div + div {
    border-top: 1px solid var(--line-dark);
    padding-top: 2.25rem;
  }

  .footer-brand img {
    display: block;
    margin: 0 auto 1.1rem;
  }

  .footer-brand p {
    max-width: 36ch;
    margin: 0 auto;
  }

  .footer-title {
    margin-bottom: 1.2rem;
  }

  .footer-title::after {
    content: '';
    display: block;
    width: 34px;
    height: 2px;
    background: var(--red);
    margin: 0.6rem auto 0;
  }

  /* Brzi linkovi u dva stupca */
  .footer-grid > div:nth-child(2) ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: center;
    gap: 0.55rem 2.75rem;
    text-align: left;
  }

  .footer-grid > div:nth-child(2) li {
    margin-bottom: 0;
  }

  /* Kontakt stavke centrirane s ikonom */
  .footer-grid > div:nth-child(3) li {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.7rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .bank-card-inner {
    padding: 1.7rem 1.4rem 1.9rem;
  }

  .auth-card-inner {
    padding: 2rem 1.5rem 2.2rem;
  }
}
