/* News Page Specific Styles */

/* Animation Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Banner Section Styles - Consistent with about.php */
.banner-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.bg-primary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 71, 107, 0.15);
  /* Primary color with 15% opacity - very light version */
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 600px;
}

.banner-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeUp 1s ease;
}

.banner-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.95;
  animation: fadeUp 1s ease 0.2s both;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark, #003350);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
  background-color: white;
  color: var(--color-primary);
  border-color: white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 950px) {
  .banner-section {
    height: 450px;
  }
  
  .banner-content h1 {
    font-size: 2.5rem;
  }
  
  .banner-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .banner-section {
    height: 400px;
  }
  
  .banner-content h1 {
    font-size: 2rem;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Categories Section */
.news-categories {
  background-color: #f5f9ff;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.news-categories::before,
.news-categories::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background-color: rgba(0, 102, 204, 0.05);
  z-index: 0;
}

.news-categories::before {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -100px;
}

.news-categories::after {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -50px;
}

.news-category-container {
  position: relative;
  z-index: 1;
}

.news-category-container .flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-category-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  background-color: white;
  color: #333;
  display: inline-block;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.news-category-btn.active {
  color: white;
  background-color: #00476b;
  border-color: #00476b;
}

/* 统一的分类背景颜色 */
.news-category-btn.all-bg,
.news-category-btn.company-bg,
.news-category-btn.products-bg,
.news-category-btn.industry-bg,
.news-category-btn.events-bg {
  background-color: #00476b;
  border-color: #00476b;
}

.news-category-btn:not(.active):hover {
  background-color: rgba(0, 71, 107, 0.1);
  transform: translateY(-2px);
}

.news-category-content {
  display: none;
}

.news-category-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* News Content Section */
.news-content-section {
  padding: 4rem 0;
  background-color: white;
}

.news-content-section .container {
  max-width: 1537px;
  margin: 0 auto;
  padding: 0 2rem;
}

.news-content-section .grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

/* Featured News Grid Container */
.featured-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

/* Featured News Card */
.featured-news-card {
  border-radius: 16px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: none;
  margin-bottom: 0;
  transition: all 0.3s ease;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.featured-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.featured-news-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px 16px 0 0;
}

.featured-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
  margin: 0;
  padding: 0;
}

.featured-news-card:hover .featured-news-image img {
  transform: scale(1.03);
}

.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 71, 107, 0.3);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.7rem;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.featured-news-card .p-6 {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.featured-news-card .news-item-content-top {
  flex: 1;
}

.featured-news-card .news-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.featured-news-card .news-excerpt {
  font-size: 1rem;
  -webkit-line-clamp: 4;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.news-item {
  border-radius: 16px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  padding: 0 !important;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }
.news-item:nth-child(5) { animation-delay: 0.5s; }
.news-item:nth-child(6) { animation-delay: 0.6s; }

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.news-item-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
  padding: 0;
  border-radius: 16px 16px 0 0;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
  margin: 0;
  padding: 0;
}

.news-item:hover .news-item-image img {
  transform: scale(1.03);
}

.news-item-content {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.news-item-content > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.news-item-content-top {
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: #666;
  font-size: 0.85rem;
}

.news-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.825rem;
}

.news-meta-item i {
  color: #666;
}

.news-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  background: transparent;
  color: #666;
  border-radius: 0;
  font-size: 0.825rem;
  font-weight: 500;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title a {
  color: #1a1a1a;
  transition: color 0.3s ease;
  text-decoration: none;
}

.news-title a:hover {
  color: #00476b;
}

.news-excerpt {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #00476b;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.news-read-more:hover {
  gap: 0.6rem;
  color: #0066cc;
}

/* News Layout Wrapper - 3 columns news + 1 column sidebar */
.news-layout-wrapper {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.news-main-content {
  flex: 1;
  min-width: 0;
}

.news-sidebar-wrapper {
  width: 300px;
  flex-shrink: 0;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

@media (max-width: 950px) {
  .news-layout-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  
  .news-main-content {
    width: 100%;
    flex: none;
    max-width: 100%;
  }
  
  .news-sidebar-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 1;
    flex: none;
  }
  
  .news-sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .sidebar-card {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* Sidebar Styles */
.sidebar-card {
  background-color: #f5f9ff;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 71, 107, 0.05);
}

.sidebar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00476b, #0066cc);
}

.sidebar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #00476b;
}

/* Search Box */
.news-search-form {
  position: relative;
}

.news-search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid rgba(0, 71, 107, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.news-search-input:focus {
  outline: none;
  border-color: #00476b;
  box-shadow: 0 0 0 3px rgba(0, 71, 107, 0.1);
}

.news-search-btn {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  color: #00476b;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Recent News */
.recent-news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recent-news-item {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.recent-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-news-item:hover {
  transform: translateX(5px);
}

.recent-news-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.recent-news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-news-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00476b 0%, #0066a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  position: relative;
}

.recent-news-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.8)' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

.recent-news-placeholder span {
  position: absolute;
  bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.recent-news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recent-news-date {
  font-size: 0.75rem;
  color: #00476b;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.recent-news-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.recent-news-title a {
  color: #333;
  transition: color 0.3s ease;
  text-decoration: none;
}

.recent-news-title a:hover {
  color: #00476b;
}

/* Upcoming Events */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid #e2e8f0;
  transition: all 0.3s ease;
  padding-bottom: 1rem;
}

.event-item:last-child {
  padding-bottom: 0;
}

.event-item:hover {
  border-left-color: #00476b;
  transform: translateX(5px);
}

.event-item.active {
  border-left-color: #00476b;
}

.event-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: #00476b;
  margin-bottom: 0.5rem;
}

.event-item:not(.active) .event-date {
  color: #64748b;
}

.event-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.event-title a {
  color: #333;
  transition: color 0.3s ease;
  text-decoration: none;
}

.event-title a:hover {
  color: #00476b;
}

.event-location {
  font-size: 0.875rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Newsletter */
.newsletter-card {
  background-color: #f5f9ff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 71, 107, 0.05);
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00476b, #0066cc);
}

.newsletter-card h3 {
  color: #00476b;
  margin-bottom: 1rem;
}

.newsletter-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: white;
  border: 2px solid rgba(0, 71, 107, 0.1);
  border-radius: 0.5rem;
  color: #333;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: #999;
}

.newsletter-input:focus {
  outline: none;
  border-color: #00476b;
  box-shadow: 0 0 0 3px rgba(0, 71, 107, 0.1);
}

/* 表单错误状态 */
.newsletter-input.error {
  border: 2px solid #e74c3c;
  background-color: rgba(231, 76, 60, 0.05);
}

.newsletter-input.error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
}

/* 错误消息样式 */
.error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* 成功消息样式 */
.success-message {
  color: #2ecc71;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

.newsletter-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #00476b;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.newsletter-btn:hover {
  background-color: #003a55;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: #666;
  margin-top: 1rem;
  line-height: 1.4;
}

/* Pagination */
.news-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem 0;
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  background-color: white;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pagination-link:hover:not(.pagination-disabled):not(.pagination-active) {
  background-color: #f5f9ff;
  color: #00476b;
  border-color: #00476b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 71, 107, 0.15);
}

.pagination-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-active {
  background-color: #00476b;
  color: white;
  border-color: #00476b;
  box-shadow: 0 4px 12px rgba(0, 71, 107, 0.3);
  font-weight: 700;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #666;
  font-weight: 500;
}

.pagination-first,
.pagination-last {
  font-size: 0.875rem;
}

/* 响应式分页 */
@media (max-width: 950px) {
  .pagination-link {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
  
  .pagination-first,
  .pagination-last {
    display: none;
  }
}

/* CTA Section */
.news-cta {
  position: relative;
  background-color: #f5f9ff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.news-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 71, 107, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.news-cta-content {
  position: relative;
  z-index: 1;
}

.news-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #00476b;
  margin-bottom: 1rem;
}

.news-cta p {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.news-cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-cta-form input {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0, 71, 107, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.news-cta-form input:focus {
  outline: none;
  border-color: #00476b;
  box-shadow: 0 0 0 3px rgba(0, 71, 107, 0.1);
}

.news-cta-form button {
  padding: 0.75rem 2rem;
  background-color: #00476b;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.news-cta-form button:hover {
  background-color: #003a55;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-cta-disclaimer {
  font-size: 0.75rem;
  color: #666;
  margin-top: 1rem;
}

/* Responsive Styles */
@media (max-width: 1335px) {
  .news-content-section .grid {
    grid-template-columns: 1fr;
  }
  
  .news-sidebar {
    margin-top: 3rem;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-news-image {
    aspect-ratio: 16 / 9;
  }
  
  .news-sidebar-wrapper {
    width: 260px;
  }
}

@media (max-width: 950px) {
  .news-banner {
    height: 400px;
  }
  
  .news-banner h1 {
    font-size: 2.25rem;
  }
  
  .news-banner p {
    font-size: 1rem;
  }
  
  .news-category-container .flex {
    gap: 0.5rem;
  }
  
  .news-category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .sidebar-card {
    padding: 1.25rem;
  }
  
  .featured-news-image {
    aspect-ratio: 16 / 9;
    border-radius: 16px 16px 0 0;
  }
  
  .news-item-image {
    aspect-ratio: 16 / 10;
    border-radius: 12px 12px 0 0;
  }
  
  .news-item-content {
    padding: 1rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .news-content-section .container {
    padding: 0 1rem;
  }
  
  .news-banner h1 {
    font-size: 1.75rem;
  }
  
  .featured-news-image {
    aspect-ratio: 16 / 9;
    border-radius: 16px 16px 0 0;
  }
  
  .news-item-image {
    aspect-ratio: 16 / 9;
    border-radius: 12px 12px 0 0;
  }
  
  .news-item-content {
    padding: 0.875rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .recent-news-thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .sidebar-card {
    padding: 1.25rem;
  }
  
  .sidebar-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  
  .news-search-input {
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .event-item {
    padding: 0.75rem;
  }
  
  .event-date,
  .event-location {
    font-size: 0.75rem;
  }
  
  .event-title {
    font-size: 0.9rem;
  }
  
  .newsletter-input {
    font-size: 0.9rem;
  }
  
  .newsletter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .newsletter-disclaimer {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .news-banner h1 {
    font-size: 1.25rem;
  }
  
  .news-banner p {
    font-size: 0.875rem;
  }
  
  .featured-news-title {
    font-size: 0.9rem;
  }
  
  .news-item-title {
    font-size: 0.875rem;
  }
  
  .news-item-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .sidebar-card {
    padding: 1rem;
  }
  
  .sidebar-card h3 {
    font-size: 1rem;
    margin-bottom: 0.875rem;
  }
  
  .recent-news-title a {
    font-size: 0.875rem;
  }
  
  .recent-news-date {
    font-size: 0.75rem;
  }
  
  .pagination-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .pagination-info {
    font-size: 0.875rem;
  }
}