:root {
  --red: #d0021b;
  --red-dark: #a80016;
  --bg: #f4f1ec;
  --bg-card: #ffffff;
  --bg-nav-top: #ffffff;
  --bg-nav-cat: #1c1c1c;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e0dcd4;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --radius: 8px;
  --transition: 0.25s ease;
}

[data-theme="dark"] {
  --bg: #111111;
  --bg-card: #1e1e1e;
  --bg-nav-top: #161616;
  --bg-nav-cat: #0d0d0d;
  --text: #f0ede8;
  --text-muted: #9a9a9a;
  --border: #2e2e2e;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Gabarito", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  transition:
    background var(--transition),
    color var(--transition);
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

/*  Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* TOP NAVBAR */
.topbar {
  background: var(--bg-nav-top);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1060;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
}

/* Brand */
.brand {
  font-family: "Gabarito", serif;
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: var(--red);
  letter-spacing: -0.5px;
  line-height: 1;
  flex-shrink: 0;
}
.brand span {
  color: var(--text);
}

/* Search bar */
.search-wrap {
  flex: 1;
  max-width: 320px;
  position: relative;
  display: flex;
  align-items: center;
}
.search-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 7px 38px 7px 14px;
  font-size: 0.85rem;
  font-family: "Gabarito", sans-serif;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    width 0.3s;
}
.search-input::placeholder {
  color: var(--text-muted);
}
.search-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(208, 2, 27, 0.1);
}
.search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s;
}
.search-btn:hover {
  color: var(--red);
}

/* Right controls */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Theme toggle */
.theme-btn {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: "Gabarito", sans-serif;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s,
    background var(--transition);
}
.theme-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.theme-btn i {
  font-size: 0.9rem;
}

/* Login btn */
.login-btn {
  background: var(--red);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: "Gabarito", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s;
}
.login-btn:hover {
  background: var(--red-dark);
}

/* Icon-only btn (mobile) */
.icon-btn {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  transition:
    border-color 0.2s,
    color 0.2s,
    background var(--transition);
}
.icon-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Hamburger */
.hamburger-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  transition:
    border-color 0.2s,
    color 0.2s;
  display: none; /* shown via media query */
}
.hamburger-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Sidebar Mobile */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1070;
  backdrop-filter: blur(3px);
}
.drawer-overlay.open {
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(320px, 85vw);
  background: var(--bg-nav-cat);
  z-index: 1080;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.drawer-brand {
  font-family: "Gabarito", serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--red);
}
.drawer-brand span {
  color: #fff;
}
.drawer-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.drawer-close:hover {
  color: #fff;
}

/* Drawer search */
.drawer-search {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.drawer-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.85rem;
  font-family: "Gabarito", sans-serif;
  outline: none;
}
.drawer-search input::placeholder {
  color: #777;
}
.drawer-search input:focus {
  border-color: var(--red);
}

/* Drawer nav */
.drawer-nav {
  flex: 1;
  padding: 8px 0;
}

.drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition:
    background 0.15s,
    color 0.15s;
  border-left: 3px solid transparent;
}
.drawer-item:hover,
.drawer-item.active {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-left-color: var(--red);
}

.badge-new {
  position: absolute;
  top: -6px;
  background: #d0021b;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 8px;
  font-weight: bold;
}

.drawer-item .arrow {
  font-size: 0.7rem;
  transition: transform 0.25s;
  color: #666;
}
.drawer-item.expanded .arrow {
  transform: rotate(90deg);
  color: var(--red);
}

.drawer-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.25);
}
.drawer-sub.open {
  max-height: 500px;
}

.drawer-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 36px;
  color: #999;
  font-size: 0.82rem;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition:
    background 0.15s,
    color 0.15s;
}
.drawer-sub-item i {
  font-size: 0.85rem;
  color: #666;
  flex-shrink: 0;
}
.drawer-sub-item:hover {
  background: rgba(208, 2, 27, 0.12);
  color: #fff;
}
.drawer-sub-item:hover i {
  color: var(--red);
}

.drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 0;
}

/*
.drawer-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 8px;
}

.drawer-login {
  background: var(--red);
  color: #fff !important;
}
.drawer-register {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
/* Sidebar Mobile */

/* Navbar Destkop */
.cat-bar {
  background: #1a1a1a;
  position: sticky;
  top: 57px;
  z-index: 1100;
}

/* INNER */
.cat-bar-inner {
  display: flex;
  align-items: stretch;
  position: relative;
}

/* MOBILE SCROLL ONLY */
@media (max-width: 768px) {
  .cat-bar-inner {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cat-bar-inner::-webkit-scrollbar {
    display: none;
  }
}

/* ITEM */
.cat-item {
  position: relative;
  flex-shrink: 0;
}

/* LINK */
.cat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  color: #fff;
  font-size: 0.71rem;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: none;
  font-family: "Gabarito", sans-serif;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.cat-link i.arrow {
  font-size: 0.5rem;
  transition: 0.2s;
}

/* HOVER */
.cat-link:hover,
.cat-item:hover > .cat-link,
.cat-link.open {
  color: #fff;
  border-bottom-color: #d0021b;
}

.cat-item:hover > .cat-link .arrow,
.cat-link.open .arrow {
  transform: rotate(180deg);
}

/* DROPDOWN */
.cat-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #222;
  border-top: 2px solid #d0021b;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s;
  z-index: 2000;
}

/* SHOW */
.cat-item:hover .cat-dropdown,
.cat-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* DROPDOWN ITEM */
.cat-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #fff;
  font-size: 0.82rem;
  font-family: "Gabarito", sans-serif;
  border-left: 3px solid transparent;
  transition: 0.15s;
  line-height: 1;
}

.cat-dropdown a i {
  font-size: 0.9rem;
  color: #666;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.cat-dropdown a:hover {
  background: rgba(208, 2, 27, 0.15);
  color: #fff;
  border-left-color: #d0021b;
}

.cat-dropdown a:hover i {
  color: #d0021b;
}

.new-menu {
  position: relative;
}

.new-badge {
  position: absolute;
  top: -8px;
  right: -7px;
  background: #d0021b;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
}

/* DIVIDER */
.cat-dd-divider {
  height: 1px;
  background: #333;
  margin: 4px 0;
}
/* Navbar Destkop */

/* Ticker */
.ticker-bar {
  background: #c40000;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  background: rgba(0, 0, 0, 0.25);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #fff;
  font-size: 12px;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
}

.ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerMove 45s linear infinite;
  color: #fff;
  font-size: 13px;
}

.ticker-content span {
  padding: 0 20px;
  flex-shrink: 0;
}

/* pause saat hover */
.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* Ticker */

/* ============================================
   HERO / BANNER
   ============================================ */
.hero {
  padding: 20px 0 0;
}

.headline-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #111;
  display: block;
}
.headline-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.72;
  transition:
    opacity 0.4s,
    transform 0.5s;
}
.headline-card:hover img {
  opacity: 0.55;
  transform: scale(1.04);
}
.headline-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.4rem 1.4rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    transparent 100%
  );
}
.cat-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.headline-title {
  font-family: "Gabarito", serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.5vw, 1.75rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 6px;
}
.headline-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
}

/* Side photo cards */
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #111;
  display: block;
  height: auto;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition:
    opacity 0.35s,
    transform 0.45s;
}
.photo-card:hover img {
  opacity: 0.55;
  transform: scale(1.05);
}
.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.6rem 0.9rem 0.9rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
}
.photo-title {
  font-family: "Gabarito", serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Horizontal list card */
.h-card {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.h-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.h-card img {
  width: 100px;
  height: 78px;
  object-fit: cover;
  flex-shrink: 0;
}
.h-card-body {
  padding: 8px 10px 8px 0;
  flex: 1;
  min-width: 0;
}
.h-card-cat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 3px;
}
.h-card-title {
  font-family: "Gabarito", serif;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h-card-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.section-hdr h2 {
  font-family: "Gabarito", serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.section-more {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}
.section-more:hover {
  text-decoration: underline;
}

/* ============================================
   NEWS CARDS (grid)
   ============================================ */
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.news-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}
.news-card-body {
  padding: 12px;
}
.news-card-cat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 5px;
}
.news-card-title {
  font-family: "Gabarito", serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================
   FEATURE CARD (large)
   ============================================ */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.feature-card-body {
  padding: 14px;
}
.badge-red {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.feature-card-title {
  font-family: "Gabarito", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 7px;
}
.feature-card-desc {
  font-family: "Gabarito", serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   NUMBERED LIST
   ============================================ */
.num-list-item {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  align-items: flex-start;
}
.num-list-item:last-child {
  border-bottom: none;
}
.num-badge {
  font-family: "Gabarito", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 30px;
}
.num-title {
  font-family: "Gabarito", serif;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.num-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-family: "Gabarito", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.widget-title i {
  color: var(--red);
}

/* Trending list in sidebar */
.trend-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  align-items: flex-start;
}
.trend-item:last-child {
  border-bottom: none;
}
.trend-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.trend-title {
  font-family: "Gabarito", serif;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trend-meta {
  font-size: 0.67rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Newsletter widget */
.widget-newsletter {
  background: linear-gradient(135deg, #d0021b 0%, #8b0000 100%);
  border: none;
}
.widget-newsletter .widget-title {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.widget-newsletter p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.83rem;
  margin-bottom: 10px;
  line-height: 1.6;
}
.nl-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.83rem;
  font-family: "Gabarito", sans-serif;
  outline: none;
  margin-bottom: 8px;
}
.nl-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.nl-input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
.nl-btn {
  width: 100%;
  background: #fff;
  color: var(--red);
  border: none;
  border-radius: 7px;
  padding: 8px;
  font-weight: 700;
  font-size: 0.83rem;
  font-family: "Gabarito", sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.nl-btn:hover {
  background: #f0e0e0;
}

/* Tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.tag:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ============================================
   EVENT CARDS
   ============================================ */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  height: 100%;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.event-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.event-card-body {
  padding: 12px;
}
.event-date {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}
.event-title {
  font-family: "Gabarito", serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.event-location {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #111;
  color: #999;
  padding: 48px 0 20px;
  margin-top: 40px;
}
.footer-brand {
  font-family: "Gabarito", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red);
}
.footer-brand span {
  color: #fff;
}
footer p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-top: 8px;
}
footer h6 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer a {
  color: #999;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 7px;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--red);
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.footer-social a {
  font-size: 1.2rem;
  display: inline;
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 32px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
}

/* ============================================
   SEARCH MODAL
   ============================================ */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 9999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  padding-left: 16px;
  padding-right: 16px;
}
.search-overlay.open {
  display: flex;
}
.search-modal {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}
.search-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.search-modal-top span {
  font-weight: 700;
  color: var(--text);
}
.search-modal-top button {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.search-modal-input {
  width: 100%;
  border: 2px solid var(--red);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: "Gabarito", sans-serif;
  background: var(--bg);
  color: var(--text);
  outline: none;
}
.search-tags {
  margin-top: 14px;
}
.search-tags p {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ============================================
   UTILS
   ============================================ */
.text-red {
  color: var(--red) !important;
}
.main {
  padding: 20px 0 32px;
}

/* Responsive column grid for news */
.grid-news {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.container-news {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Show hamburger on mobile/tablet, hide cat-bar */
@media (max-width: 991px) {
  .hamburger-btn {
    display: flex;
    align-items: center;
  }
  .cat-bar {
    display: none;
  }
  .ticker-bar {
    top: 57px;
  }
  .search-wrap {
    max-width: 200px;
  }
  .login-btn {
    display: none;
  }
  .headline-card img {
    height: 300px;
  }
  .photo-card {
    height: 155px;
  }
}

@media (max-width: 575px) {
  .topbar-inner {
    padding: 9px 12px;
  }
  .search-wrap {
    display: none;
  }
  .headline-card img {
    height: 240px;
  }
  .photo-card {
    height: 135px;
  }
  .photo-title {
    font-size: 0.78rem;
  }
  .news-card img {
    height: 145px;
  }
  .feature-card img {
    height: 180px;
  }
}

/* On large: show cat-bar, hide hamburger */
@media (min-width: 992px) {
  .hamburger-btn {
    display: none;
  }
  .cat-bar {
    display: block;
  }
}
