:root {
  --primary: #c0392b;
  /* Deep Red - Brand Color */
  --primary-light: #e74c3c;
  /* Brighter Red for hovers */
  --nav-bg: #1a1a1a;
  /* Dark Nav Bar */
  --text-dark: #111;
  --text-muted: #666;
  --bg: #ffffff;
  --border: #e0e0e0;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1240px;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dark);
  font-family: var(--font-main);
  line-height: 1.5
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s
}

a:hover {
  color: var(--primary)
}

/* Wrapper */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px
}

/* HEADER LAYOUT */
.top-bar {
  background: #f4f4f4;
  padding: 8px 0;
  font-size: 12px;
  color: #666;
  border-bottom: 1px solid #ddd
}

.top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.main-header {
  padding: 20px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo-img {
  height: 70px;
  width: auto;
  display: block
}

/* MAIN NAVIGATION (Stripe) */
.nav-stripe {
  background: var(--nav-bg);
  color: white;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1)
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.1);
}

.main-nav a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.05)
}

.main-nav a:hover {
  background: var(--primary);
  color: white
}

.main-nav a.active {
  background: var(--primary);
  color: white
}

.live-btn {
  background: var(--primary);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px
}

.live-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite
}

@keyframes pulse {
  0% {
    opacity: 1
  }

  50% {
    opacity: 0.4
  }

  100% {
    opacity: 1
  }
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--nav-bg);
  color: white;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s
}

/* SECTIONS */
.sec-title {
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  text-transform: uppercase
}

.sec-header {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px
}

/* GRID LAYOUTS */
.news-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
  margin-bottom: 60px
}

/* FEATURED STORY (Text Left, Img Right) */
.feat-story {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 30px
}

.feat-content .cat-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
  display: block
}

.feat-content h1 {
  margin: 0 0 15px 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px
}

.feat-content .summary {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px
}

.feat-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px
}

/* SUB ROW */
.sub-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  border-top: 4px solid #f4f4f4;
  padding-top: 25px
}

.sub-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px
}

.sub-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35
}

.sub-card h3:hover {
  color: var(--primary)
}

.sub-meta {
  font-size: 12px;
  color: #999;
  margin-top: 8px
}

/* SIDEBAR */
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0
}

.side-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
  align-items: start
}

.side-item:first-child {
  padding-top: 0
}

.side-content h4 {
  margin: 0 0 5px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4
}

.side-content h4:hover {
  color: var(--primary)
}

.side-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px
}

/* FOOTER */
footer {
  background: #111;
  color: #888;
  padding: 60px 0;
  font-size: 14px;
  margin-top: 80px
}

footer a {
  color: #bbb
}

footer a:hover {
  color: white
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet (901px - 1200px) */
@media(min-width:901px) and (max-width:1200px) {
  .news-grid {
    grid-template-columns: 1.5fr 1fr
  }

  .sub-row {
    grid-template-columns: repeat(2, 1fr)
  }

  .feat-content h1 {
    font-size: 30px
  }
}

/* Mobile (up to 900px) */
@media(max-width:900px) {

  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: flex !important
  }

  /* Navigation */
  .nav-stripe {
    position: relative
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #000
  }

  .main-nav.active {
    display: flex
  }

  .main-nav a {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px
  }

  .live-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px
  }

  /* Header */
  .top-bar {
    font-size: 11px
  }

  .top-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center
  }

  .header-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center
  }

  .logo-img {
    height: 50px;
    margin: 0 auto
  }

  /* Grids */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .feat-story {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .feat-story .feat-img {
    order: -1;
    height: 250px
  }

  .feat-content h1 {
    font-size: 28px
  }

  .sub-row {
    grid-template-columns: 1fr;
    gap: 20px
  }

  /* Sidebar */
  .sidebar-list {
    margin-top: 30px
  }

  .side-item {
    flex-direction: row-reverse
  }

  .side-img {
    width: 100px;
    height: 100px
  }

  /* Section Titles */
  .sec-title {
    font-size: 22px
  }

  /* Wrap padding */
  .wrap {
    padding: 0 15px
  }
}

/* Touch optimization for all devices */
@media (hover: none) and (pointer: coarse) {

  .main-nav a,
  .live-btn,
  button,
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center
  }
}