/* Imotska krajina – javni dio. Marka: plava #0b5fa5, tamna tinta #10203a. */
:root {
  --ink: #10203a;
  --ink-2: #34465e;
  --muted: #5a6a7f;
  --line: #dde5ee;
  --soft: #f2f6fa;
  --blue: #0b5fa5;
  --blue-d: #084a82;
  --blue-l: #e6f0fa;
  --white: #fff;
  --f-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gut: 32px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  min-width: 320px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #7fb8ea;
  outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -0.015em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.wrap--ad { padding-top: 0; padding-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Gumbi i obrasci ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  font-weight: 700; font-size: 15px; line-height: 1;
  border: 1px solid #b9c7d8; border-radius: var(--radius);
  background: #fff; color: var(--ink);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--blue-d); }
.btn--light:hover { background: var(--blue-l); border-color: var(--blue-l); color: var(--blue-d); }
.btn--ghost { border-color: transparent; background: transparent; color: var(--blue); }
.btn--lg { min-height: 52px; font-size: 16px; padding: 0 28px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: #fff; }

.more { color: var(--blue); font-weight: 700; font-size: 15px; }
.more:hover { color: var(--blue-d); text-decoration: underline; text-underline-offset: 3px; }

.tag {
  color: var(--blue); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }

.search { display: flex; }
.search input {
  height: 44px; min-width: 0; width: 170px; padding: 0 12px;
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid #b9c7d8; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: #fff;
}
.search button {
  height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--blue); background: var(--blue); color: #fff;
  border-radius: 0 var(--radius) var(--radius) 0; display: inline-flex; align-items: center; justify-content: center;
}
.search button:hover { background: var(--blue-d); }
.search--page { max-width: 520px; margin-top: 16px; }
.search--page input { width: 100%; height: 52px; font-size: 17px; }
.search--page .btn { border-radius: 0 var(--radius) var(--radius) 0; min-height: 52px; }
.search--drawer { display: none; }

.form { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 680px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
.field label { font-weight: 700; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea, .field input[type=file] {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #b9c7d8; border-radius: var(--radius);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: var(--radius); margin: 24px 0; font-weight: 600; }
.notice--ok { background: #e4f4ea; color: #14532d; }
.notice--err { background: #fdeaea; color: #7f1d1d; }
.empty { padding: 40px 0; color: var(--muted); }

/* ---------- Zaglavlje ---------- */
.topbar { background: var(--ink); color: #c9d6e6; font-size: 13px; }
.topbar__row { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.topbar__links { display: flex; gap: 24px; }
.topbar a:hover { color: #fff; }

.head { border-bottom: 1px solid var(--line); background: #fff; position: relative; isolation: isolate; }
.head::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 30%; width: 640px; max-width: 62%; background: url('../img/tvrdava.webp') center 22% / 100% auto no-repeat; opacity: .26; pointer-events: none; }
.head__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; min-height: 100px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { display: block; height: 52px; width: auto; }
.logo:hover { color: var(--ink); }
.head__ad { margin-left: auto; min-width: 0; }
.head__ad .ad { margin: 0; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

.navbar { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.navbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mainnav { display: flex; align-items: stretch; flex-wrap: wrap; font-weight: 600; font-size: 16px; }
.mainnav > a, .more-menu__btn {
  display: flex; align-items: center; gap: 6px;
  padding: 15px 14px 12px; border-bottom: 3px solid transparent; background: none; border-left: 0; border-right: 0; border-top: 0; color: inherit;
}
.mainnav > a:first-child { margin-left: -14px; }
.mainnav > a:hover, .more-menu__btn:hover { color: var(--blue); }
.mainnav > a.is-active { border-bottom-color: var(--blue); }
.more-menu { position: relative; display: flex; }
.more-menu__list {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
  border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 12px 28px rgba(16, 32, 58, .12);
  padding: 6px 0; flex-direction: column;
}
.more-menu__list a { padding: 10px 16px; font-weight: 500; }
.more-menu__list a:hover { background: var(--soft); }
.more-menu.is-open .more-menu__list { display: flex; }
.navbar__tools { display: flex; align-items: center; gap: 12px; }

/* ---------- Traka najnovijih vijesti ---------- */
.ticker { background: var(--blue); color: #fff; overflow: hidden; }
.ticker__row { display: flex; align-items: stretch; }
.ticker__label {
  flex: none; display: flex; align-items: center; padding: 0 16px 0 0; margin-right: 16px;
  font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  position: relative; background: var(--blue); z-index: 1;
}
.ticker__label::after { content: ''; position: absolute; right: 0; top: 10px; bottom: 10px; width: 1px; background: rgba(255, 255, 255, .45); }
.ticker__view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker__track {
  display: flex; flex: none; list-style: none; white-space: nowrap; padding: 11px 0;
  animation: ik-ticker calc(var(--n, 5) * 8s) linear infinite;
}
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__track li { flex: none; padding-right: 44px; font-size: 15px; font-weight: 500; }
.ticker__track a { color: #fff; }
.ticker__track a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ticker__track time { opacity: .75; font-weight: 600; margin-right: 6px; font-variant-numeric: tabular-nums; }
@keyframes ik-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__view { overflow-x: auto; }
  .ticker__track { animation: none; }
  .ticker__track li[aria-hidden="true"] { display: none; }
}

/* ---------- Oglasi ---------- */
.ad { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 22px auto; max-width: 100%; }
.ad__label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.ad img { display: block; max-width: 100%; height: auto; }
.ad__code { max-width: 100%; overflow: hidden; }
.ad-inline { margin: 24px 0; }
.ad-inline .ad { margin: 0 auto; }

/* ---------- Raspored ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: 40px; padding-top: 36px; padding-bottom: 12px; }
.thumb { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--blue-l); overflow: hidden; border-radius: var(--radius); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lead__title { font-weight: 800; font-size: 44px; line-height: 1.06; }
.lead__text { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin: 0; }
.quick { min-width: 0; }
.quick__h { border-top: 3px solid var(--ink); padding: 14px 0 4px; font-weight: 800; font-size: 22px; }
.quick__all { display: inline-block; margin-top: 16px; }

.row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row__img { flex: none; width: 128px; }
.row__img .thumb { aspect-ratio: 4 / 3; }
.row__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row__title { font-weight: 700; font-size: 19px; line-height: 1.2; }
.row__title a:hover { color: var(--blue); }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 24px; padding-bottom: 56px; align-items: start; }
.cols__main { min-width: 0; }
.cols__side { min-width: 0; }
.side .ad { margin: 0 auto 28px; }
.widget { margin-bottom: 28px; }
.widget__h { border-top: 3px solid var(--ink); padding: 12px 0 10px; font-weight: 800; font-size: 20px; }
.toplist { list-style: none; counter-reset: top; }
.toplist li { counter-increment: top; display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.3; }
.toplist li::before { content: counter(top); flex: none; font-family: var(--f-display); font-weight: 800; color: var(--blue); width: 1.1em; }
.widget--cta { background: var(--blue); color: #fff; padding: 22px; border-radius: 8px; }
.widget--cta .widget__h { border-top: 0; padding-top: 0; }
.widget--cta p { opacity: .92; }

.block { margin-bottom: 40px; }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 3px solid var(--ink); padding: 12px 0 18px; }
.block__head h2 { font-weight: 800; font-size: 28px; }
.block__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.bfeat { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bfeat__title { font-weight: 700; font-size: 24px; line-height: 1.15; }
.card__text { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.block__list .row:first-child { padding-top: 0; }

.pagehead { padding-top: 36px; padding-bottom: 8px; }
.pagehead h1 { font-weight: 800; font-size: 44px; border-top: 3px solid var(--ink); padding-top: 16px; }
.pagehead__sub { color: var(--muted); margin: 8px 0 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 36px 28px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__title { font-weight: 700; font-size: 21px; line-height: 1.17; }
.card__title a:hover { color: var(--blue); }

.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 40px; }
.pager a, .pager__cur, .pager__gap { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: var(--radius); font-weight: 700; }
.pager a { border: 1px solid var(--line); }
.pager a:hover { border-color: var(--blue); }
.pager__cur { background: var(--blue); color: #fff; }
.pager__gap { color: var(--muted); }

/* ---------- Članak ---------- */
.previewbar { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); background: #fff4d6; color: #5b4300; font-size: 15px; }
.previewbar a { text-decoration: underline; margin-left: 8px; }
.cols--article { padding-top: 28px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.article__title { font-weight: 800; font-size: 44px; line-height: 1.08; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 16px 0 0; font-size: 14.5px; color: var(--muted); }
.article__hero { margin: 24px 0 0; background: var(--soft); border-radius: var(--radius); overflow: hidden; display: flex; justify-content: center; }
.article__hero img { width: 100%; max-height: 680px; object-fit: contain; display: block; }
.prose { margin-top: 28px; font-size: 18.5px; line-height: 1.72; max-width: 70ch; overflow-wrap: break-word; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); color: var(--ink-2); font-size: 1.05em; }
.prose img, .prose figure { max-width: 100%; height: auto; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose iframe { max-width: 100%; border: 0; }
.prose table { border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 1.4em 0; }
.prose .wp-block-gallery figure { margin: 0; }
.prose .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; border-radius: 4px; }
.prose .wp-block-gallery figcaption { display: none; }
.prose .alignright { float: right; margin: 0 0 1em 1.4em; }
.prose .alignleft { float: left; margin: 0 1.4em 1em 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 32px; }
.gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 16, 30, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.share__label { font-weight: 700; margin-right: 6px; }
.related { margin-top: 48px; }
.related__h { border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 20px; font-weight: 800; font-size: 24px; }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--ink); color: #c9d6e6; margin-top: 24px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
.footer__logo { display: block; height: 46px; width: auto; }
.footer__h { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__list a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; gap: 16px; }
.footer__addr { margin: 0; line-height: 1.7; }
.footer__bottom { border-top: 1px solid #2a3c58; }
.footer__bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; font-size: 13.5px; }

/* ---------- Kolačići ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(16, 32, 58, .14); padding-bottom: env(safe-area-inset-bottom, 0); }
.consent[hidden] { display: none; }
.consent__inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut); display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.consent__text { min-width: 0; max-width: 820px; }
.consent__text h2 { font-size: 18px; margin-bottom: 6px; }
.consent__text p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.consent__text a { color: var(--blue); text-decoration: underline; }
.consent__prefs { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.consent__prefs[hidden] { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; justify-content: flex-end; }

/* ---------- Mobitel i tablet ---------- */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --gut: 20px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .lead__title { font-size: 34px; }
  .cols { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .cols__side .side { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 28px; }
  .article__title, .pagehead h1 { font-size: 36px; }
  .head__row { flex-wrap: wrap; }
  .head__ad { order: 3; flex: 1 1 100%; margin-left: 0; display: flex; justify-content: center; }
  .logo img { height: 44px; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .topbar__links { display: none; }
  .topbar__row { justify-content: center; }
  .head__row { min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .burger { display: flex; }
  .navbar { border-bottom: 0; }
  .navbar__row { padding-left: 0; padding-right: 0; display: block; }
  .navbar__tools { display: none; }
  .mainnav { display: none; flex-direction: column; flex-wrap: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 4px var(--gut) 14px; font-size: 18px; }
  .mainnav.is-open { display: flex; }
  .mainnav > a, .more-menu__btn { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .mainnav > a:first-child { margin-left: 0; }
  .mainnav > a.is-active { color: var(--blue); border-bottom-color: var(--line); }
  .more-menu { flex-direction: column; }
  .more-menu__btn { width: 100%; justify-content: space-between; }
  .more-menu__list { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .search--drawer { display: flex; margin-top: 14px; }
  .search--drawer input { flex: 1; width: auto; }
  .search--drawer button { padding: 0 18px; font-weight: 700; }
  .ticker__label { padding-right: 12px; margin-right: 12px; font-size: 13px; }
  .ticker__track li { font-size: 14px; padding-right: 32px; }
  .block__body { grid-template-columns: 1fr; gap: 8px; }
  .block__head h2 { font-size: 24px; }
  .lead__title { font-size: 29px; }
  .lead__text { font-size: 17px; }
  .row__img { width: 104px; }
  .row__title { font-size: 17.5px; }
  .article__title, .pagehead h1 { font-size: 30px; }
  .prose { font-size: 17.5px; line-height: 1.68; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .grid--3 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { flex-direction: column; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .ad--nomobile { display: none; }
  .consent__inner { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
  .consent__actions .btn { flex: 1 1 auto; }
  .consent { max-height: 90vh; overflow-y: auto; }
}

@media (max-width: 420px) {
  .grid--3 { grid-template-columns: 1fr; }
  .logo img { height: 38px; }
  .head::before { left: auto; right: 0; opacity: .13; width: 80%; max-width: none; }
}

.footer__credit a, .footer__credit { display: inline-flex; align-items: center; gap: 8px; color: #9fb4cf; font-size: 13px; }
.footer__credit a:hover { color: #fff; }
.footer__credit img { display: block; height: 26px; width: auto; max-width: 120px; object-fit: contain; }

.footer__count { color: #a9b6cb; }
.footer__count strong { color: #fff; font-weight: 600; }

/* widget ljekarni */
.pharm { list-style: none; padding: 0; margin: 0; }
.pharm__item { padding: 11px 0; border-bottom: 1px solid var(--line, #e3e8ef); }
.pharm__item:last-child { border-bottom: 0; }
.pharm__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; }
.pharm__st { font-size: 13px; font-weight: 700; white-space: nowrap; }
.pharm__st--open { color: #1a7f3c; }
.pharm__st--closed { color: #b3261e; }
.pharm__st--unknown { color: #6b7a90; font-weight: 500; }
.pharm__addr { font-size: 14px; color: #55627a; margin-top: 2px; }
.pharm__addr a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pharm__hours { margin-top: 6px; font-size: 13.5px; }
.pharm__hours summary { cursor: pointer; color: var(--blue); }
.pharm__hours div { margin-top: 4px; color: #55627a; line-height: 1.6; }
.pharm__note { font-size: 12.5px; color: #7a8699; margin: 8px 0 0; }


/* Osmrtnice: baner u bočnoj traci */
.widget--obit { background: #1b2433; color: #e8edf4; border: 0; text-align: center; padding: 22px 20px 20px; border-radius: var(--radius); position: relative; }
.widget--obit::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,.16); border-radius: 3px; pointer-events: none; }
.obitw__cross { color: #b9c4d4; line-height: 0; margin-bottom: 8px; }
.obitw__h { margin: 0 0 12px; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.obitw__list { list-style: none; margin: 0 0 12px; padding: 0; text-align: left; }
.obitw__list li { border-top: 1px solid rgba(255,255,255,.14); }
.obitw__list a { display: flex; flex-direction: column; gap: 1px; padding: 9px 4px; color: #fff; text-decoration: none; }
.obitw__list a:hover strong { text-decoration: underline; }
.obitw__list strong { font-size: 15px; font-weight: 700; }
.obitw__list span { font-size: 12.5px; color: #aab6c8; }
.obitw__all { display: block; padding: 6px 0 12px; color: #cfd8e6; font-weight: 600; font-size: 14px; text-decoration: none; }
.obitw__all:hover { color: #fff; text-decoration: underline; }
.obitw__add { display: block; padding: 11px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.obitw__add:hover { background: rgba(255,255,255,.1); }

/* PDF u članku */
.prose a.pdf-file { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 14px; border: 1px solid var(--line); border-left: 4px solid #c0392b; border-radius: var(--radius); background: var(--soft); color: var(--ink); font-weight: 600; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.prose a.pdf-file::before { content: "PDF"; flex: none; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fff; background: #c0392b; border-radius: 3px; padding: 4px 6px; }
.prose a.pdf-file:hover { background: var(--blue-l); }
