/*
Theme Name: СОС v9.11
Theme URI: https://sveosrpskoj.com
Author: Све о Српској
Version: 9.11.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sveosrpskoj
*/

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #222;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
a:hover { color: #c00; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── VARIABLES ── */
:root {
  --navy:   #1e3a5f;
  --navy-d: #122a52;
  --red:    #c00000;
  --blue:   #4a90d9;
  --white:  #fff;
  --border: #e5e7eb;
  --text:   #1a1a1a;
  --muted:  #6b7280;
  --kicker: #8ca0b8;
  --max:    1200px;
}

/* ── CONTAINER ── */
.sos-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 15px;
}

/* ════════════════════════════════════════
   HEADER
   - #sos-site-header wraps both header + nav
     so the mobile drawer anchors below header
   - .sos-header-inner never shrinks on mobile
     (banner crops from left via background-position: right)
   - overflow: visible on inner so FB btn never clips
   - .sos-banner-bg clips itself
════════════════════════════════════════ */
#sos-site-header { position: relative; }

#sos-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.sos-header-inner {
  position: relative;
  height: 90px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: visible;
}
.sos-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.sos-banner-desktop {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
  display: block;
}
.sos-banner-mobile {
  background: #1e3a5f;
  display: none;
}
.sos-logo-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  padding-left: 12px;
  flex-shrink: 0;
}
.sos-logo-wrap img,
.sos-logo-wrap .custom-logo img { height: 72px !important; width: auto !important; }

.sos-header-right {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
}

/* FB button */
.sos-fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f4e8a;
  color: #fff;
  font-size: 20px;
  width: 44px;
  height: 44px;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sos-fb-btn:hover { background: #183d6e; color: #fff; }
.sos-fb-btn .fa { line-height: 1; }

/* Search form */
.sos-search,
.sos-header-search { display: flex; }
.sos-search input[type="search"],
.sos-header-search input[type="search"] {
  background: #fff;
  color: #333;
  border: 1px solid #d0d7de;
  border-right: none;
  padding: 8px 14px;
  font-size: 13px;
  width: 220px;
  height: 44px;
  outline: none;
  font-family: inherit;
}
.sos-search input[type="search"]::placeholder,
.sos-header-search input[type="search"]::placeholder { color: #9aa3af; }
.sos-search button,
.sos-header-search button {
  background: #fff;
  color: #5a6370;
  border: 1px solid #d0d7de;
  padding: 0 14px;
  cursor: pointer;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.sos-search button:hover,
.sos-header-search button:hover { background: #f4f6f8; color: #222; }

/* ════════════════════════════════════════
   HAMBURGER — hidden on desktop, shown on mobile
════════════════════════════════════════ */
.sos-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  z-index: 100;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  position: relative;
  margin-right: 8px;
}
.sos-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1e3a5f;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.sos-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sos-hamburger.open span:nth-child(2) { opacity: 0; }
.sos-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════
   NAVIGATION — desktop
════════════════════════════════════════ */
#sos-nav {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#sos-nav .sos-container {
  display: flex;
  align-items: stretch;
}
#sos-nav .sos-menu {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}
#sos-nav .sos-menu li { position: relative; }
#sos-nav .sos-menu li a {
  display: block;
  padding: 14px 13px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
  white-space: nowrap;
  transition: color 0.2s;
}
#sos-nav .sos-menu li a:hover { color: var(--red); }
#sos-nav .sos-menu li.current-menu-item > a,
#sos-nav .sos-menu li.current-menu-parent > a,
#sos-nav .sos-menu li.current-menu-ancestor > a {
  color: #000;
  background: #f4f6f8;
}

/* Dropdown */
#sos-nav .sos-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  min-width: 200px;
  z-index: 999;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
#sos-nav .sos-menu li:hover > ul { display: flex; }
#sos-nav .sos-menu li ul li a {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

/* ════════════════════════════════════════
   MAIN LAYOUT
════════════════════════════════════════ */
#sos-main { background: #fff; }
#sos-main .sos-container {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-top: 16px;
  padding-bottom: 30px;
}
#sos-content {
  flex: 1;
  min-width: 0;
  padding-right: 28px;
  border-right: 1px solid var(--border);
}
#sos-sidebar {
  width: 320px;
  flex-shrink: 0;
  padding-left: 24px;
}

/* ════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════ */
#sos-slider {
  position: relative;
  width: 100%;
  background: #000;
}
.sos-slides-wrap { position: relative; overflow: hidden; }
.sos-slide { display: none; position: relative; }
.sos-slide.active { display: block; }
.sos-slide-link { display: block; position: relative; }
.sos-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.sos-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 28px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0) 100%);
  color: #fff;
}
.sos-slide-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.sos-slide-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
  line-height: 1.4;
}

/* Arrows */
.sos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sos-arrow:hover { background: rgba(0,0,0,0.6); }
.sos-prev { left: 10px; }
.sos-next { right: 10px; }

/* Dots */
.sos-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 8px;
}
.sos-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cfd6df;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.sos-dot.active { background: #109dd9; }

/* ════════════════════════════════════════
   SECTION HEADINGS
════════════════════════════════════════ */
.sos-section-heading {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  margin-top: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ════════════════════════════════════════
   DATE META
════════════════════════════════════════ */
.item-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.4;
}
.item-date .fa { font-size: 12px; opacity: 0.75; }

/* Category kicker */
.item-cats,
.fv-cats,
.single-cat-breadcrumb {
  font-size: 11px;
  font-weight: 700;
  color: var(--kicker);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  line-height: 1.4;
}
.item-cats a,
.fv-cats a,
.single-cat-breadcrumb a { color: var(--kicker); }
.item-cats a:hover,
.fv-cats a:hover,
.single-cat-breadcrumb a:hover { color: var(--red); }
.item-cats .sep,
.fv-cats .sep,
.single-cat-breadcrumb .sep { margin: 0 2px; opacity: 0.8; }

/* ════════════════════════════════════════
   ОДАБРАНО + ВИЈЕСТИ two-col
════════════════════════════════════════ */
.sos-two-col {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  align-items: flex-start;
}
.sos-two-col > div { flex: 1; min-width: 0; }

.odabrano-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.odabrano-item:last-child { border-bottom: none; margin-bottom: 0; }

.odabrano-thumb { flex-shrink: 0; }
.odabrano-thumb img {
  width: 100px;
  height: 76px;
  object-fit: cover;
}

.odabrano-body { flex: 1; min-width: 0; }
.odabrano-body .item-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.odabrano-body .item-title a:hover { color: var(--red); }

.vijesti-item {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.vijesti-item:last-child { border-bottom: none; margin-bottom: 0; }
.vijesti-item .item-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.vijesti-item .item-title a:hover { color: var(--red); }

/* ════════════════════════════════════════
   ФОТО + ВИДЕО
════════════════════════════════════════ */
.sos-fotovideo {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 0;
}
.fv-col { flex: 1; min-width: 0; }

.fv-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  margin-top: 22px;
}
.fv-heading-row .sos-section-heading { margin: 0; }

.fv-arrows { display: flex; gap: 4px; }
.fv-arrow {
  background: var(--navy);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.fv-arrow:hover { background: var(--navy-d); }

.fv-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.fv-video-wrap { position: relative; display: block; }
.fv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #222;
  pointer-events: none;
}

.fv-main .fv-cats { margin-top: 10px; }
.fv-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-top: 2px;
}
.fv-title a:hover { color: var(--red); }
.fv-excerpt {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.4px;
  line-height: 1.5;
  margin-top: 8px;
  text-transform: uppercase;
}

/* ════════════════════════════════════════
   SIDEBAR — ГЛАВНО
════════════════════════════════════════ */
.sos-sidebar-heading {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.glavno-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.glavno-item:last-child { border-bottom: none; }
.glavno-item img {
  width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}
.glavno-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.glavno-title a:hover { color: var(--red); }

/* ════════════════════════════════════════
   СТАЛНИ КОМЕНТАТОРИ blue box
════════════════════════════════════════ */
.sos-commentators {
  background: var(--blue);
  padding: 16px 18px;
  margin-top: 20px;
}
.commentators-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}
.sos-commentators ul { list-style: none; margin: 0; padding: 0; }
.sos-commentators ul li {
  padding: 4px 0;
  color: #fff;
  font-size: 14px;
}
.sos-commentators ul li a { color: #fff; }
.sos-commentators ul li a:hover { color: #d8e7f7; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
#sos-footer {
  background: var(--navy);
  color: #d0d7e0;
  padding: 44px 0 22px;
  margin-top: 30px;
}
.sos-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 16px;
  margin-bottom: 30px;
  text-align: center;
}
.sos-footer-nav a {
  color: #d0d7e0;
  font-size: 13px;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}
.sos-footer-nav a:hover { color: #fff; }

.sos-footer-logo {
  text-align: center;
  margin-bottom: 16px;
}
.sos-footer-logo img {
  max-height: 70px;
  width: auto !important;
  max-width: 220px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.footer-site-name {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
}

.sos-footer-copy {
  text-align: center;
  font-size: 13px;
  color: #9aa7b8;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  margin-top: 12px;
}
.sos-footer-copy strong { color: #fff; font-weight: 700; }

/* ════════════════════════════════════════
   ARCHIVE / CATEGORY / TAG / SEARCH GRID
════════════════════════════════════════ */
.archive-wrap {
  display: block !important;
  padding-top: 24px !important;
  padding-bottom: 40px !important;
}
.archive-header {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.archive-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.archive-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
.archive-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.archive-card-thumb { display: block; margin-bottom: 10px; }
.archive-card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.archive-card-body { display: flex; flex-direction: column; }
.archive-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-top: 4px;
}
.archive-card-title a:hover { color: var(--red); }

.archive-pagination {
  margin-top: 30px;
  text-align: center;
}
.archive-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}
.archive-pagination .page-numbers.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.archive-pagination .page-numbers:hover { background: #f4f6f8; }

.archive-empty {
  padding: 30px 0;
  color: var(--muted);
  font-size: 15px;
}

/* ════════════════════════════════════════
   SINGLE POST PAGE
════════════════════════════════════════ */
.single-post-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 15px 40px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.single-content { flex: 1; min-width: 0; padding-right: 28px; border-right: 1px solid var(--border); }
.single-sidebar { width: 320px; flex-shrink: 0; padding-left: 24px; }

.single-cat-breadcrumb {
  font-size: 12px;
  font-weight: 700;
  color: var(--kicker);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.single-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.single-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.single-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.single-meta .fa { font-size: 12px; opacity: 0.75; }

.single-featured-img {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
}
.single-featured-img img {
  width: 100%;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
.single-img-caption {
  font-size: 12px;
  background: rgba(0,0,0,0.68);
  color: #fff;
  padding: 6px 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.single-body {
  font-size: 16px;
  line-height: 1.75;
  color: #2a2a2a;
}
/* No separator lines between paragraphs — just spacing */
.single-body p { margin-bottom: 18px; }
.single-body h2 { font-size: 24px; font-weight: 700; margin: 24px 0 12px; line-height: 1.3; }
.single-body h3 { font-size: 20px; font-weight: 700; margin: 22px 0 10px; line-height: 1.3; }
.single-body ul { list-style: disc; padding-left: 24px; margin-bottom: 18px; }
.single-body ol { list-style: decimal; padding-left: 24px; margin-bottom: 18px; }
.single-body li { display: list-item; margin-bottom: 8px; }
.single-body blockquote {
  border-left: 3px solid var(--red);
  padding: 12px 18px;
  margin: 20px 0;
  color: var(--muted);
  font-style: italic;
  background: #fafafa;
}
.single-body a { color: var(--red); text-decoration: underline; }
/* Images in body: override WP inline width/height attributes */
.single-body img { margin: 14px 0; max-width: 100% !important; width: auto !important; height: auto !important; display: block; }
.single-body figure { margin: 18px 0; max-width: 100% !important; overflow: hidden; }
.single-body figure img { max-width: 100% !important; width: auto !important; height: auto !important; }
.entry-content img, .sos-entry-content img { max-width: 100% !important; height: auto !important; }
.single-body figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; }

.single-tags {
  margin: 24px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.tags-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-right: 4px;
}
.tag-item {
  background: #f3f4f6;
  color: var(--text);
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.tag-item:hover { background: var(--red); color: #fff; border-color: var(--red); }

.single-comments {
  margin-top: 32px;
  border-top: 2px solid var(--border);
  padding-top: 22px;
}
.single-comments h2,
.single-comments .comments-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}
.single-comments textarea,
.single-comments input[type="text"],
.single-comments input[type="email"],
.single-comments input[type="url"] {
  width: 100%;
  border: 1px solid #d0d7de;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 10px;
  outline: none;
}
.single-comments textarea { resize: vertical; min-height: 100px; }
.single-comments input[type="submit"] {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.single-comments input[type="submit"]:hover { background: var(--navy-d); }

/* Hide authors everywhere */
.entry-author, .byline, .author-name, .post-author,
.author.vcard, .author-info, span.author, .post-byline,
.by-author { display: none !important; }

/* ════════════════════════════════════════
   RESPONSIVE — Tablet 900px
   Also handles mobile section order:
   Главно sidebar moves above content on mobile
════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Layout stacks vertically */
  #sos-main .sos-container { flex-direction: column; }

  /* Главно sidebar floats to TOP on mobile */
  #sos-sidebar {
    order: -1;
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
  }
  #sos-content {
    order: 1;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 22px;
  }

  /* Single post sidebar */
  .single-post-wrap { flex-direction: column; }
  .single-content { padding-right: 0; padding-left: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 22px; }
  .single-post-wrap { padding-left: 15px !important; padding-right: 15px !important; }
  .single-sidebar { width: 100%; padding-left: 0; padding-top: 22px; }

  /* Two-col and photo/video stack */
  .sos-two-col { flex-direction: column; }
  .sos-fotovideo { flex-direction: column; }

  /* Grids */
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
  .sos-footer-nav { grid-template-columns: repeat(3, 1fr); }

  /* Slider */
  .sos-slide img { height: 300px; }
  .sos-slide-title { font-size: 22px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Mobile 768px
   Hamburger nav replaces horizontal nav
════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Show hamburger button */
  .sos-hamburger { display: flex; }

  /* Shrink header and logo on mobile */
  .sos-header-inner { height: 60px; }
  .sos-logo-wrap img,
  .sos-logo-wrap .custom-logo img { height: 40px !important; max-width: 160px !important; width: auto !important; }
  /* On mobile: hide SVG banner, show navy div instead */
  .sos-banner-desktop { display: none; }
  .sos-banner-mobile { display: block; }
  /* Hamburger lines white on navy */
  .sos-hamburger span { background: #fff; }

  /* Hide desktop search bar (space constrained) */
  .sos-search, .sos-header-search { display: none; }

  /* FB button slightly smaller */
  .sos-fb-btn { width: 36px; height: 36px; font-size: 15px; }
  .sos-header-right { right: 8px; }

  /* Nav becomes dark full-width drawer, hidden until .open */
  #sos-nav {
    display: none;
    border-top: none;
    border-bottom: none;
    background: #1e3a5f;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }
  #sos-nav.open { display: block; }
  #sos-nav .sos-container { display: block; padding: 0; overflow: visible; }
  #sos-nav .sos-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
  }
  #sos-nav .sos-menu li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  /* body prefix increases specificity above Additional CSS !important rules */
  body #sos-nav .sos-menu li a {
    display: block;
    padding: 14px 20px !important;
    font-size: 14px !important;
    color: #fff !important;
    letter-spacing: 0.3px;
    white-space: normal;
  }
  body #sos-nav .sos-menu li a:hover { background: rgba(255,255,255,0.1); color: #fff !important; }
  body #sos-nav .sos-menu li.current-menu-item > a { background: rgba(255,255,255,0.15); color: #fff !important; }

  /* Slider / sections */
  .sos-slide img { height: 240px; }
  .sos-slide-caption { padding: 14px 16px; }
  .sos-slide-title { font-size: 18px; }
  .sos-slide-sub { font-size: 10px; }
  .sos-section-heading { font-size: 22px; margin-top: 22px; }
  .sos-sidebar-heading { font-size: 24px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-title { font-size: 24px; }
  .single-title { font-size: 24px; }
  .fv-main img { height: 200px; }
  .sos-footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════
   RESPONSIVE — Mobile 480px
════════════════════════════════════════ */
@media (max-width: 480px) {
  .sos-fb-btn { width: 34px; height: 34px; font-size: 14px; }
  .sos-slide img { height: 190px; }
  .sos-slide-title { font-size: 15px; }
  .sos-section-heading { font-size: 20px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .archive-card-thumb img { height: 120px; }
  .archive-card-title { font-size: 14px; }
  .odabrano-thumb img { width: 80px; height: 60px; }
  .fv-main img { height: 170px; }
  .single-title { font-size: 20px; }
  .single-body { font-size: 15px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Tiny 380px
════════════════════════════════════════ */
@media (max-width: 380px) {
  .sos-slide img { height: 160px; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card-thumb img { height: 180px; }
}
