.page {
  min-height: 100vh;
  background-color: #f3f4f6;
  padding: 40px 0 80px 0;
}

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

/* Section Header */
.sectionHeader {
  text-align: center;
  margin-bottom: 40px;
}

.sectionTitle {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.sectionSubtitle {
  font-size: 16px;
  color: #6b7280;
}

/* Featured Layout (Top 1 + 3) */
.featuredLayout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  margin-bottom: 80px;
}

/* Main Featured (Left) */
.featuredMain {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}

.featuredMainImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featuredMain:hover .featuredMainImage {
  transform: scale(1.05);
}

.featuredMainOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
}

.featuredMainContent {
  position: relative;
  z-index: 1;
  padding: 32px;
  color: white;
}

.featuredMainTitle {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.featuredMainSummary {
  font-size: 15px;
  color: #d1d5db;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Side Featured List (Right) */
.featuredSide {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sideNewsItem {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 120px;
}

.sideNewsItem:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.sideNewsImage {
  width: 120px;
  height: 100%;
  object-fit: cover;
}

.sideNewsContent {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.sideNewsTitle {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sideNewsDate {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

.btnReadMore {
  display: inline-block;
  background: #0ea5e9;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-top: 8px;
  align-self: flex-start;
}

/* Standard Grid (Bottom) */
.standardGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.empty {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
}

.empty h3 {
  font-size: 24px;
  color: #334155;
  margin-bottom: 8px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.pageButton {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.pageButton:hover:not(.disabled) {
  background: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.pageButton.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pageInfo {
  font-size: 15px;
  color: #6b7280;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .featuredLayout {
    grid-template-columns: 1fr;
  }
  .featuredMain {
    min-height: 350px;
  }
  .standardGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page {
    padding: 20px 0 40px 0;
  }
  .sectionTitle {
    font-size: 24px;
  }
  .featuredMain {
    min-height: 250px;
  }
  .featuredMainContent {
    padding: 16px;
  }
  .featuredMainTitle {
    font-size: 20px;
  }
  .standardGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  /* Compact cards for mobile */
  .mobileCompactCard [class*="newsDate"],
  .mobileCompactCard [class*="newsSummary"] {
    display: none !important;
  }
  
  .mobileCompactCard [class*="newsCardTitle"] {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .mobileCompactCard [class*="readMoreBtn"] {
    font-size: 10px !important;
    padding: 6px 0 !important;
  }
  
  .mobileCompactCard [class*="newsContent"] {
    padding: 12px !important;
  }

  .mobileCompactCard [class*="newsImageWrapper"] {
    height: 120px !important;
  }
  .sideNewsItem {
    height: auto;
    flex-direction: column;
  }
  .sideNewsImage {
    width: 100%;
    height: 180px;
  }
}

/* Card Styles imported from NewsSection */
.newsCard {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.newsCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.newsImageWrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.newsImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.newsCard:hover .newsImage {
  transform: scale(1.05);
}

.newsContent {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.newsDate {
  font-size: 13px;
  color: #00aa6c;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
}

.newsCardTitle {
  font-size: 20px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 12px;
  line-height: 1.3;
}

.newsSummary {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.newsAction {
  margin-top: auto;
}

.readMoreBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1e1e1e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.readMoreBtn:hover {
  color: #00aa6c;
}

