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

:root {
  --primary-color: #0084c6;
  --dark-gray: #333333;
  --light-gray: #f5f5f5;
  --border-color: #dcdcdc;
  --text-color: #222222;
  --secondary-text: #666666;
  --accent-color: #c41e3a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.header-top {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.edition {
  color: var(--secondary-text);
  font-weight: 500;
}

.top-nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.header-logo-section {
  padding: 30px 0 20px;
  text-align: center;
  border-bottom: 2px solid var(--dark-gray);
}

.logo-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.logo-title a {
  cursor: pointer;
  transition: color 0.3s ease;
}

.logo-title a:hover {
  color: var(--primary-color);
}

.logo-subtitle {
  font-size: 14px;
  color: var(--secondary-text);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.header-date {
  font-size: 13px;
  color: var(--secondary-text);
}

/* Main Navigation */
.main-navigation {
  background-color: var(--dark-gray);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-menu li {
  flex: 1;
}

.nav-btn {
  display: block;
  padding: 15px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background-color 0.3s;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  border: none;
  background: none;
}

.nav-btn:last-child {
  border-right: none;
}

.nav-btn:hover,
.nav-btn.active {
  background-color: var(--primary-color);
}

/* Main Layout */
main {
  background-color: #ffffff;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding: 40px 0;
}

.main-content {
  flex: 1;
}

.sidebar {
  flex-shrink: 0;
}

/* Featured Story */
.featured-story {
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 30px;
}

.featured-image {
  margin-bottom: 20px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.story-label {
  display: inline-block;
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.featured-headline {
  font-size: 42px;
  line-height: 1.2;
  color: var(--dark-gray);
  margin-bottom: 12px;
  font-weight: 900;
}

.featured-byline {
  color: var(--secondary-text);
  font-size: 14px;
  margin-bottom: 15px;
}

.featured-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-color);
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--dark-gray);
  text-decoration: underline;
}

/* Section Divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 40px 0;
}

/* Section Headings */
.section-heading {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark-gray);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
}

/* News Section */
.news-section {
  margin-bottom: 40px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-item {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s;
}

.news-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-item h4 {
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
  color: var(--dark-gray);
  line-height: 1.3;
}

.news-excerpt {
  padding: 0 15px;
  color: var(--secondary-text);
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.news-time {
  padding: 0 15px 15px;
  color: var(--secondary-text);
  font-size: 12px;
}

/* Politics Section */
.politics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.politics-item {
  padding: 15px;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s;
}

.politics-item:hover {
  border-color: var(--primary-color);
}

.politics-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 8px;
  line-height: 1.3;
}

.politics-item .news-excerpt {
  padding: 0;
  margin-bottom: 10px;
}

/* Sports Section */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sports-item {
  display: flex;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.sports-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sports-image {
  width: 40%;
  flex-shrink: 0;
}

.sports-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sports-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sports-category {
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.sports-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Lifestyle Section */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lifestyle-item {
  background-color: #ffffff;
  transition: transform 0.3s;
}

.lifestyle-item:hover {
  transform: translateY(-4px);
}

.lifestyle-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.lifestyle-category {
  display: inline-block;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 12px 0 8px;
  padding: 0 15px;
}

.lifestyle-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 8px;
  line-height: 1.3;
  padding: 0 15px;
}

.lifestyle-item .news-excerpt {
  padding: 0 15px;
  font-size: 13px;
}

/* Travel Section */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.travel-item {
  display: flex;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.travel-image {
  width: 40%;
  flex-shrink: 0;
}

.travel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.travel-content {
  padding: 15px;
  flex: 1;
}

.travel-category {
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.travel-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Sidebar */
.sidebar {
  position: relative;
}

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

.ad-label {
  font-size: 11px;
  color: var(--secondary-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.ad-box {
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.ad-box-vertical {
  width: 300px;
  height: 250px;
}

.sidebar-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
}

.most-read-list {
  list-style: none;
}

.most-read-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.most-read-list li:last-child {
  border-bottom: none;
}

.most-read-list a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s;
}

.most-read-list a:hover {
  color: var(--primary-color);
}

/* Opinion Item */
.opinion-item {
  padding: 15px;
  background-color: var(--light-gray);
  border-left: 4px solid var(--accent-color);
}

.opinion-item h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.opinion-item p {
  font-size: 13px;
  color: var(--secondary-text);
  margin-bottom: 10px;
  line-height: 1.5;
}

.opinion-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

.opinion-item a:hover {
  text-decoration: underline;
}

/* Ad Banner */
.ad-banner {
  margin: 40px 0;
  padding: 20px;
  background-color: var(--light-gray);
  border: 1px solid var(--border-color);
  text-align: center;
}

.ad-banner .ad-label {
  margin-bottom: 12px;
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: #ffffff;
  padding: 40px 0 20px;
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
}

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

.footer-column h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

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

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

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }

  .logo-title {
    font-size: 36px;
  }

  .featured-headline {
    font-size: 28px;
  }

  .section-heading {
    font-size: 22px;
  }

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

  .sports-grid,
  .travel-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    flex-wrap: wrap;
  }

  .nav-btn {
    flex: 1;
    min-width: 120px;
  }

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

@media (max-width: 480px) {
  .layout {
    padding: 20px 0;
  }

  .logo-title {
    font-size: 28px;
  }

  .featured-headline {
    font-size: 22px;
  }

  .section-heading {
    font-size: 18px;
  }

  .news-grid,
  .politics-grid,
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    margin-top: 40px;
  }

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

  .nav-menu {
    flex-direction: column;
  }

  .nav-btn {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

