/*
 * SwaraTeritorial Theme — Custom CSS
 * Army green + gold, full-width Bootstrap layout, defense/security portal
 * Prefix: sw- (scoped, no conflict)
 */

/* ── VARIABLES ── */
:root {
  --sw-army-dark:  #1a2a0e;
  --sw-army-green: #2d4a1e;
  --sw-army-mid:   #3d5c2a;
  --sw-army-light: #5a7a3a;
  --sw-gold:       #c8a84b;
  --sw-gold-light: #e0c070;
  --sw-cream:      #f5f0e8;
  --sw-sand:       #e8dfc8;
  --sw-text:       #1a1a1a;
  --sw-text-mid:   #444;
  --sw-text-muted: #888;
  --sw-red:        #8b1a1a;
  --sw-navy:       #1a2840;
  --sw-border:     #ddd;
  --sw-white:      #ffffff;
}

/* ── TOP BAR ── */
.sw-top-bar {
  background: var(--sw-army-dark);
  color: #ccc;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 5px 0;
  border-bottom: 1px solid var(--sw-gold);
}
.sw-top-bar a { color: #ccc; text-decoration: none; transition: color .2s; }
.sw-top-bar a:hover { color: var(--sw-gold-light); }

/* ── BREAKING TICKER ── */
.sw-breaking-bar {
  background: var(--sw-red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 6px 0;
  overflow: hidden;
}
.sw-breaking-label {
  background: #fff;
  color: var(--sw-red);
  font-weight: 700;
  padding: 2px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.75rem;
  letter-spacing: .08em;
}
.sw-ticker-wrap { overflow: hidden; flex: 1; }
.sw-ticker-text {
  white-space: nowrap;
  animation: swTicker 30s linear infinite;
  display: inline-block;
}
@keyframes swTicker {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ── HEADER ── */
.sw-site-header {
  background:
    linear-gradient(to right, rgba(45,74,30,.85) 0%, rgba(45,74,30,.4) 60%, rgba(45,74,30,.05) 100%),
    url('/assets/themes/SwaraTeritorial/bg_header.png') center/cover no-repeat;
  padding: 24px 0 20px;
  border-bottom: 3px solid var(--sw-gold);
  position: relative;
  overflow: hidden;
}
.sw-site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.sw-brand-logo {
  width: 52px; height: 52px;
  background: var(--sw-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--sw-army-dark);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(200,168,75,.5);
  text-decoration: none;
}
.sw-brand-logo-img {
  width: 52px; height: 52px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--sw-gold);
  box-shadow: 0 0 12px rgba(200,168,75,.5);
}
.sw-brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: #fff; letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(0,0,0,.5);
  text-decoration: none;
}
.sw-brand-tagline {
  font-size: 0.72rem; color: var(--sw-gold-light);
  letter-spacing: .12em; text-transform: uppercase;
}

/* Header search button */
.sw-header-search-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; border-radius: 4px;
  padding: 7px 14px; cursor: pointer;
  transition: background .2s;
  font-size: .85rem;
}
.sw-header-search-btn:hover { background: rgba(255,255,255,.2); }


/* ── NAVBAR SCROLL WRAP ── */
.sw-nav-scroll-wrap {
  background: var(--sw-army-green);
  border-bottom: 2px solid var(--sw-gold);
}
.sw-nav-scroll-inner {
  display: flex;
  align-items: stretch;
  position: relative;
}
.sw-nav-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  background: var(--sw-army-dark);
  color: rgba(255,255,255,.7);
  border: none;
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
  transition: color .2s, background .2s;
  padding: 0;
}
.sw-nav-arrow:hover { color: var(--sw-gold-light); background: rgba(0,0,0,.3); }
.sw-nav-arrow.visible { display: flex; }

.sw-nav-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  flex: 1;
}
.sw-nav-scroll::-webkit-scrollbar { display: none; }
.sw-nav-link {
  font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: #d0cfc0;
  padding: 12px 18px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 3px solid transparent;
  transition: all .2s; text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
  display: block;
}
.sw-nav-link:hover { color: var(--sw-gold-light); background: rgba(0,0,0,.25); }
.sw-nav-link.active {
  color: var(--sw-gold-light);
  background: rgba(0,0,0,.25);
  border-bottom-color: var(--sw-gold);
}

/* ── SECTION LABELS (badges) ── */
.sw-label {
  font-family: 'Oswald', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 3px 10px;
  display: inline-block;
}
.sw-label-red   { background: var(--sw-red);        color: #fff; }
.sw-label-navy  { background: var(--sw-navy);        color: #fff; }
.sw-label-green { background: var(--sw-army-green);  color: #fff; }
.sw-label-gold  { background: var(--sw-gold);        color: var(--sw-army-dark); }

/* ── SECTION HEADER ── */
.sw-section-header {
  background: var(--sw-army-dark);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; margin-bottom: 0;
  display: flex; align-items: center; gap: 8px;
}
.sw-section-header::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--sw-gold);
  margin-left: 10px;
}
.sw-section-header .text-gold { color: var(--sw-gold); }

/* ── HERO BANNER ── */
.sw-hero-banner {
  position: relative; height: 420px;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(to right, rgba(20,35,10,.88) 45%, rgba(20,35,10,.2) 100%),
              var(--sw-army-dark) center/cover no-repeat;
}
.sw-hero-banner-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.sw-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,35,10,.88) 40%, rgba(20,35,10,.2) 100%);
  z-index: 1;
}
.sw-hero-content {
  position: relative; z-index: 2;
  padding: 0 2rem 0 2.5rem;
  max-width: 580px;
}
.sw-hero-badge {
  display: inline-block;
  background: var(--sw-gold); color: var(--sw-army-dark);
  font-family: 'Oswald', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 3px 10px; margin-bottom: 14px;
}
.sw-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem; font-weight: 700;
  color: #fff; line-height: 1.2;
  text-shadow: 1px 2px 8px rgba(0,0,0,.6);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-hero-subtitle {
  color: rgba(255,255,255,.8);
  font-size: .95rem; margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-hero-readmore {
  display: inline-block; margin-top: 18px;
  background: var(--sw-gold); color: var(--sw-army-dark);
  font-family: 'Oswald', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 22px; text-decoration: none;
  transition: background .2s, color .2s;
}
.sw-hero-readmore:hover { background: var(--sw-gold-light); color: var(--sw-army-dark); }

/* ── NEWS CARDS ── */
.sw-news-card {
  background: var(--sw-white);
  border: 1px solid var(--sw-border);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  height: 100%; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.sw-news-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.14); transform: translateY(-2px); }
.sw-news-card-thumb {
  width: 100%; height: 180px;
  object-fit: cover; display: block;
  background: linear-gradient(135deg, var(--sw-army-dark), var(--sw-army-mid));
  flex-shrink: 0;
}
.sw-news-card-thumb-placeholder {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--sw-army-dark), var(--sw-army-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.15); flex-shrink: 0;
}
.sw-news-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.sw-news-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--sw-army-dark); margin: 8px 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-news-card:hover .sw-news-card-title { color: var(--sw-army-light); }
.sw-news-card-desc {
  font-size: .82rem; color: var(--sw-text-mid);
  line-height: 1.55; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-news-meta {
  font-size: .72rem; color: var(--sw-text-muted);
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid #eee;
}

/* Side cards (compact) */
.sw-side-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sw-side-card {
  background: var(--sw-white); border: 1px solid var(--sw-border);
  overflow: hidden; transition: box-shadow .2s;
  flex: 1; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  min-height: 0;
}
.sw-side-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.sw-side-card-thumb {
  width: 100%; height: 240px;
  object-fit: cover; display: block;
  background: linear-gradient(135deg, var(--sw-army-dark), var(--sw-army-mid));
  flex-shrink: 0;
}
.sw-side-card-thumb-placeholder {
  width: 100%; height: 240px;
  background: linear-gradient(135deg, var(--sw-army-dark), var(--sw-army-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,.15); flex-shrink: 0;
}
.sw-side-card-body { padding: 10px 12px; flex: 1; }
.sw-side-card-desc { font-size: .82rem; color: var(--sw-text-mid); line-height: 1.5; margin-top: 6px; }

/* ── SPECIAL COVERAGE ── */
.sw-special-coverage {
  position: relative; min-height: 280px; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; overflow: hidden;
  background: linear-gradient(to bottom, rgba(20,35,10,.5) 0%, rgba(20,35,10,.85) 100%), var(--sw-army-dark);
  text-decoration: none;
}
.sw-special-coverage-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.sw-special-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,35,10,.45) 0%, rgba(20,35,10,.88) 100%);
  z-index: 1;
}
.sw-special-content { position: relative; z-index: 2; }
.sw-special-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: #fff; line-height: 1.25; margin-bottom: 10px;
  text-shadow: 1px 2px 6px rgba(0,0,0,.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-special-desc {
  color: rgba(255,255,255,.8);
  font-size: .85rem; margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-special-link {
  color: var(--sw-gold-light); font-size: .8rem;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  letter-spacing: .08em; transition: color .2s;
}
.sw-special-link:hover { color: #fff; }

/* ── BOTTOM BOXES ── */
.sw-bottom-box {
  background: var(--sw-white); border: 1px solid var(--sw-border);
  height: 100%;
}
.sw-bottom-box ul { padding: 0; margin: 0; list-style: none; }
.sw-bottom-box ul li {
  padding: 8px 14px; border-bottom: 1px solid #eee;
  font-size: .85rem; color: var(--sw-text-mid);
  transition: background .15s;
}
.sw-bottom-box ul li:last-child { border-bottom: none; }
.sw-bottom-box ul li:hover { background: var(--sw-sand); }
.sw-bottom-link {
  color: var(--sw-army-dark); text-decoration: none;
  font-weight: 600; display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.4;
}
.sw-bottom-link::before { content: '▶'; color: var(--sw-gold); font-size: .55rem; margin-top: 5px; flex-shrink: 0; }
.sw-bottom-link:hover { color: var(--sw-army-light); }

.sw-opinion-meta { font-size: .7rem; color: #999; margin-top: 3px; }

/* Gallery */
.sw-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; }
.sw-gallery-grid img { width: 100%; height: 90px; object-fit: cover; display: block; cursor: pointer; transition: opacity .2s; }
.sw-gallery-grid img:hover { opacity: .85; }

/* ── ARTICLE DETAIL ── */
.sw-article-header { background: var(--sw-cream); padding: 28px 0 0; }
.sw-article-cat-badge {
  display: inline-block;
  background: var(--sw-army-green); color: #fff;
  font-family: 'Oswald', sans-serif; font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 3px 10px; margin-bottom: 14px;
  text-decoration: none; transition: background .2s;
}
.sw-article-cat-badge:hover { background: var(--sw-army-mid); color: #fff; }
.sw-article-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--sw-army-dark); line-height: 1.2;
  margin-bottom: 12px;
}
.sw-article-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: .8rem; color: var(--sw-text-muted);
  padding: 12px 0; border-top: 1px solid var(--sw-border);
  margin-top: 10px; align-items: center;
}
.sw-article-meta i { color: var(--sw-gold); margin-right: 4px; }
.sw-article-hero-img {
  width: 100%; max-height: 420px; object-fit: cover;
  display: block; margin: 20px 0 8px;
  border: 1px solid var(--sw-border);
}
.sw-article-hero-placeholder {
  width: 100%; height: 280px;
  background: linear-gradient(135deg, var(--sw-army-dark), var(--sw-army-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(255,255,255,.12);
  margin: 20px 0 8px;
}
.sw-img-credit { font-size: .75rem; color: var(--sw-text-muted); text-align: right; font-style: italic; margin-bottom: 16px; }

.sw-ringkasan {
  border-left: 4px solid var(--sw-gold);
  padding: 12px 18px;
  background: rgba(200,168,75,.07);
  margin-bottom: 20px;
  font-style: italic; font-size: .95rem;
  color: var(--sw-text-mid); line-height: 1.7;
  border-radius: 0 4px 4px 0;
}
.sw-article-body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; line-height: 1.85;
  color: var(--sw-text);
}
.sw-article-body h1,.sw-article-body h2,.sw-article-body h3,
.sw-article-body h4,.sw-article-body h5 {
  font-family: 'Oswald', sans-serif; color: var(--sw-army-dark);
  margin: 1.4em 0 .5em;
}
.sw-article-body p { margin-bottom: 1em; }
.sw-article-body img { max-width: 100%; border: 1px solid var(--sw-border); }
.sw-article-body a { color: var(--sw-army-green); }
.sw-article-body blockquote {
  border-left: 4px solid var(--sw-gold); padding: 10px 18px;
  background: rgba(200,168,75,.06); font-style: italic;
  color: var(--sw-text-mid); margin: 1em 0;
  border-radius: 0 4px 4px 0;
}

.sw-tag-pill {
  font-size: .75rem; color: var(--sw-text-mid);
  border: 1px solid var(--sw-border); padding: 3px 10px;
  text-decoration: none; transition: border-color .2s, color .2s;
  display: inline-block;
}
.sw-tag-pill:hover { border-color: var(--sw-army-green); color: var(--sw-army-green); }

.sw-entities-block {
  background: rgba(26,42,14,.04); border: 1px solid var(--sw-border);
  border-left: 4px solid var(--sw-gold); padding: 12px 16px;
  font-size: .82rem; color: var(--sw-text-mid);
  border-radius: 0 4px 4px 0; margin-top: 16px;
}
.sw-entities-title {
  font-family: 'Oswald', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; color: var(--sw-army-dark);
  margin-bottom: 8px; text-transform: uppercase;
}
.sw-entities-block div { margin-bottom: 4px; }
.sw-entities-block strong { color: var(--sw-text); }

/* Sidebar */
.sw-sidebar-box {
  background: var(--sw-white); border: 1px solid var(--sw-border); margin-bottom: 18px;
}
.sw-sidebar-title {
  background: var(--sw-army-dark); color: #fff;
  font-family: 'Oswald', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; display: flex; align-items: center; gap: 8px;
}
.sw-sidebar-title .text-gold { color: var(--sw-gold); }
.sw-sidebar-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; border-bottom: 1px solid #eee;
  text-decoration: none; font-size: .85rem;
  color: var(--sw-army-dark); transition: background .15s;
  font-weight: 500;
}
.sw-sidebar-cat-link:hover, .sw-sidebar-cat-link.active { background: var(--sw-sand); color: var(--sw-army-light); }
.sw-sidebar-cat-link.active { font-weight: 700; border-left: 3px solid var(--sw-gold); }
.sw-sidebar-recent-item {
  display: flex; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid #eee; text-decoration: none;
  align-items: flex-start; transition: background .15s;
}
.sw-sidebar-recent-item:hover { background: var(--sw-sand); }
.sw-sidebar-recent-thumb {
  width: 60px; height: 46px; flex-shrink: 0;
  object-fit: cover; background: var(--sw-army-dark);
}
.sw-sidebar-recent-title {
  font-size: .8rem; font-weight: 600; color: var(--sw-army-dark);
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sw-sidebar-recent-item:hover .sw-sidebar-recent-title { color: var(--sw-army-light); }
.sw-sidebar-recent-date { font-size: .7rem; color: var(--sw-text-muted); margin-top: 3px; }

/* Related articles */
.sw-related-card {
  background: var(--sw-white); border: 1px solid var(--sw-border);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .2s; display: flex; flex-direction: column;
}
.sw-related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.sw-related-card img { width: 100%; height: 130px; object-fit: cover; }
.sw-related-card-body { padding: 10px; flex: 1; }
.sw-related-card-title {
  font-family: 'Oswald', sans-serif; font-size: .9rem; font-weight: 600;
  color: var(--sw-army-dark); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sw-related-card:hover .sw-related-card-title { color: var(--sw-army-light); }

/* ── CATEGORY / SEARCH ── */
.sw-page-hero {
  background: var(--sw-army-dark);
  padding: 24px 0;
  border-bottom: 3px solid var(--sw-gold);
}
.sw-page-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem; font-weight: 700;
  color: #fff; letter-spacing: .05em;
  text-transform: uppercase;
}
.sw-page-hero-count { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 4px; }

.sw-art-row {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--sw-border);
  text-decoration: none; color: inherit; transition: background .15s;
  align-items: flex-start;
}
.sw-art-row:hover { background: rgba(0,0,0,.018); }
.sw-art-row-thumb {
  width: 110px; height: 78px; flex-shrink: 0;
  object-fit: cover;
  background: linear-gradient(135deg, var(--sw-army-dark), var(--sw-army-mid));
}
.sw-art-row-thumb-placeholder {
  width: 110px; height: 78px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--sw-army-dark), var(--sw-army-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: rgba(255,255,255,.15);
}
.sw-art-row-cat {
  font-family: 'Oswald', sans-serif; font-size: .7rem; font-weight: 700;
  color: var(--sw-army-light); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 4px;
}
.sw-art-row-title {
  font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--sw-army-dark); line-height: 1.3; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sw-art-row:hover .sw-art-row-title { color: var(--sw-army-light); }
.sw-art-row-excerpt {
  font-size: .82rem; color: var(--sw-text-mid); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px;
}
.sw-art-row-meta { font-size: .72rem; color: var(--sw-text-muted); }

/* Search form */
.sw-search-form-wrap {
  background: var(--sw-sand); border-bottom: 2px solid var(--sw-gold); padding: 16px 0;
}
.sw-search-input {
  font-family: 'Source Sans 3', sans-serif; font-size: 14px;
  border: 1px solid var(--sw-border); padding: 10px 16px;
  outline: none; width: 100%; transition: border-color .2s;
  background: #fff;
}
.sw-search-input:focus { border-color: var(--sw-army-green); }
.sw-search-btn {
  background: var(--sw-army-green); border: none; color: #fff;
  font-family: 'Oswald', sans-serif; font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; padding: 10px 22px; cursor: pointer;
  transition: background .2s; text-transform: uppercase;
}
.sw-search-btn:hover { background: var(--sw-army-mid); }

/* Pagination */
.sw-pagination .page-link {
  border-color: var(--sw-border); color: var(--sw-army-dark);
}
.sw-pagination .page-item.active .page-link {
  background: var(--sw-army-green); border-color: var(--sw-army-green); color: #fff;
}
.sw-pagination .page-link:hover { background: var(--sw-sand); color: var(--sw-army-dark); border-color: var(--sw-army-green); }

/* Empty state */
.sw-empty { text-align: center; padding: 60px 0; color: var(--sw-text-muted); }
.sw-empty i { font-size: 3rem; margin-bottom: 16px; display: block; color: var(--sw-border); }
.sw-empty h4 { font-family: 'Oswald', sans-serif; font-size: 1.4rem; color: var(--sw-army-dark); margin-bottom: 8px; }

/* Breadcrumb */
.sw-breadcrumb { background: var(--sw-sand); padding: 8px 0; font-size: .8rem; border-bottom: 1px solid var(--sw-border); }
.sw-breadcrumb a { color: var(--sw-text-mid); text-decoration: none; }
.sw-breadcrumb a:hover { color: var(--sw-army-green); }
.sw-breadcrumb-sep { color: var(--sw-border); margin: 0 6px; }

/* ── FOOTER ── */
.sw-site-footer {
  background:
    linear-gradient(to right, rgba(26,42,14,.92) 0%, rgba(26,42,14,.6) 55%, rgba(26,42,14,.15) 100%),
    url('/assets/themes/SwaraTeritorial/bg_footer.png') center/cover no-repeat;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  padding: 48px 0 16px;
  border-top: 3px solid var(--sw-gold);
}
.sw-site-footer h6 {
  font-family: 'Oswald', sans-serif; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--sw-gold-light); margin-bottom: 12px;
}
.sw-site-footer a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.sw-site-footer a:hover { color: var(--sw-gold-light); }
.sw-footer-divider { border-color: rgba(255,255,255,.1); }
.sw-footer-copy { font-size: .72rem; color: rgba(255,255,255,.4); }
.sw-footer-newsletter-input {
  background: #2a3d1e; border: 1px solid #3d5c2a; color: #fff;
  padding: 7px 12px; font-size: .85rem; outline: none;
  flex: 1; min-width: 0;
}
.sw-footer-newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.sw-footer-newsletter-btn {
  background: var(--sw-gold); color: var(--sw-army-dark); border: none;
  font-family: 'Oswald', sans-serif; font-weight: 700; letter-spacing: .06em;
  padding: 7px 16px; cursor: pointer; transition: background .2s;
  font-size: .82rem;
}
.sw-footer-newsletter-btn:hover { background: var(--sw-gold-light); }

/* Scroll to top */
.sw-scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 40px; height: 40px;
  background: var(--sw-army-green);
  color: #fff; border-radius: 0;
  display: none; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none; z-index: 999;
  border: 1px solid var(--sw-gold);
  transition: background .2s;
}
.sw-scroll-top.visible { display: flex; }
.sw-scroll-top:hover { background: var(--sw-army-mid); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .sw-hero-banner { height: 300px; }
  .sw-hero-title { font-size: 1.6rem; }
}
@media (max-width: 576px) {
  .sw-hero-banner { height: 240px; }
  .sw-hero-title { font-size: 1.3rem; }
  .sw-hero-content { padding: 0 1rem; }
  .sw-brand-name { font-size: 1.4rem; }
  .sw-art-row-thumb, .sw-art-row-thumb-placeholder { width: 80px; height: 60px; }
}
