* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-red: #e02424;
  --dark-red: #c81e1e;
  --light-gray: #f5f5f5;
  --border-gray: #e5e5e5;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --text-light: #999;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  background-color: #fff;
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-top {
  background-color: var(--primary-red);
  color: white;
  padding: 8px 0;
  font-size: 13px;
}

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

.header-date {
  font-size: 12px;
}

.header-social a {
  color: white;
  margin-left: 15px;
  font-size: 14px;
}

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

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

.logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.logo span {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-gray);
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  padding: 8px 12px;
  min-width: 300px;
}

.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
}

.search-box button {
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  font-size: 16px;
}

.nav-menu {
  background-color: var(--light-gray);
  border-bottom: 1px solid var(--border-gray);
}

.nav-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-red);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--primary-red);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 80%;
}

.breaking-news {
  background-color: var(--primary-red);
  color: white;
  padding: 10px 0;
  overflow: hidden;
}

.breaking-news .container {
  display: flex;
  align-items: center;
}

.breaking-label {
  background-color: white;
  color: var(--primary-red);
  padding: 5px 12px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 15px;
  border-radius: 3px;
  flex-shrink: 0;
}

.breaking-content {
  display: flex;
  overflow: hidden;
  flex: 1;
}

.breaking-item {
  white-space: nowrap;
  padding-right: 30px;
  font-size: 14px;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  padding: 30px 0;
}

.content-area {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 150px;
  align-self: start;
}

.adsense-banner {
  background-color: var(--light-gray);
  border: 1px solid var(--border-gray);
  padding: 20px;
  text-align: center;
  margin-bottom: 30px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
}

.featured-section {
  margin-bottom: 30px;
}

.featured-main {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.featured-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.3s;
}

.featured-main:hover img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 30px;
  color: white;
}

.category-badge {
  display: inline-block;
  background-color: var(--primary-red);
  color: white;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.featured-overlay h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.article-meta span {
  margin-right: 15px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.featured-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.featured-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s;
}

.featured-item:hover img {
  transform: scale(1.05);
}

.featured-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 15px;
  color: white;
}

.featured-item-overlay h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-red);
  text-transform: uppercase;
}

.article-list {
  display: grid;
  gap: 20px;
}

.article-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gray);
}

.article-card:last-child {
  border-bottom: none;
}

.article-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.article-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.article-card:hover h2 {
  color: var(--primary-red);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 10px;
}

.sidebar-section {
  background-color: white;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-red);
  text-transform: uppercase;
}

.sidebar-article {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-gray);
}

.sidebar-article:last-child {
  border-bottom: none;
}

.sidebar-article img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.sidebar-article-content h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
}

.sidebar-article:hover h4 {
  color: var(--primary-red);
}

.sidebar-article-meta {
  font-size: 11px;
  color: var(--text-light);
}

.footer {
  background-color: #2a2a2a;
  color: #ccc;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: white;
  font-size: 16px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ccc;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-box {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
