/* AgroRuralNoticias - Modern Design System */
/* Importar fuentes modernas */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
  /* Colors */
  --primary-green: #2d5016;
  --secondary-green: #4a7c59;
  --accent-green: #6b9b76;
  --light-green: #e8f5e8;
  --dark-text: #2c3e50;
  --medium-text: #5a6c7d;
  --light-text: #7f8c8d;
  --white: #ffffff;
  --light-bg: #f8fffe;
  --border-light: #e1e8ed;
  --shadow-light: rgba(45, 80, 22, 0.1);
  --shadow-medium: rgba(45, 80, 22, 0.15);
  --shadow-strong: rgba(45, 80, 22, 0.25);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== ESTILOS PARA LA ESTRUCTURA HTML EXISTENTE ===== */

/* Reset y estilos base */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary) !important;
  line-height: 1.6;
  color: var(--dark-text);
  background: linear-gradient(135deg, var(--light-bg) 0%, #f0f8f0 100%) !important;
  margin: 0;
  padding: 0;
}

/* Modernizar el header/logo existente */
.container {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-lg) !important;
  transition: var(--transition-normal);
}

.container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

/* Modernizar el logo */
.container .col-md-3 img {
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  filter: drop-shadow(0 4px 8px var(--shadow-light));
}

.container .col-md-3 img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px var(--shadow-medium));
}

/* Modernizar el banner */
.banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.banner img {
  transition: var(--transition-normal);
}

.banner:hover img {
  transform: scale(1.02);
}

/* ===== MODERNIZAR LA NAVEGACIÓN BOOTSTRAP ===== */

.navbar {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 4px 20px var(--shadow-medium) !important;
  margin-bottom: var(--space-lg) !important;
  padding: 0 !important;
}

.navbar-default {
  background-color: transparent !important;
  border-color: transparent !important;
}

.navbar-header {
  padding: var(--space-sm) var(--space-lg);
}

.navbar-toggle {
  background: var(--white) !important;
  border: 2px solid var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
  transition: var(--transition-fast) !important;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
  background: var(--light-green) !important;
  border-color: var(--light-green) !important;
  transform: scale(1.05);
}

.navbar-toggle .icon-bar {
  background-color: var(--primary-green) !important;
  border-radius: 2px !important;
  height: 3px !important;
}

/* Estilos para los enlaces de navegación */
.navbar-nav > li > a {
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 15px 20px !important;
  transition: var(--transition-fast) !important;
  border-radius: var(--radius-sm) !important;
  margin: 0 2px !important;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-nav > li.active > a {
  background: var(--white) !important;
  color: var(--primary-green) !important;
  font-weight: 600 !important;
}

/* Modernizar el formulario de búsqueda */
.navbar-form {
  padding: var(--space-sm) var(--space-lg) !important;
  margin: 0 !important;
}

.navbar-form .form-control {
  background: var(--white) !important;
  border: 2px solid transparent !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 15px !important;
  font-size: 14px !important;
  transition: var(--transition-fast) !important;
  box-shadow: 0 2px 8px var(--shadow-light) !important;
}

.navbar-form .form-control:focus {
  border-color: var(--accent-green) !important;
  box-shadow: 0 0 0 3px rgba(107, 155, 118, 0.2) !important;
  outline: none !important;
}

.navbar-form .btn {
  background: var(--white) !important;
  border: 2px solid var(--white) !important;
  color: var(--primary-green) !important;
  border-radius: var(--radius-md) !important;
  padding: 8px 15px !important;
  margin-left: 8px !important;
  transition: var(--transition-fast) !important;
  font-weight: 600 !important;
}

.navbar-form .btn:hover,
.navbar-form .btn:focus {
  background: var(--accent-green) !important;
  border-color: var(--accent-green) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium) !important;
}

/* ===== MODERNIZAR CONTENIDO GENERAL ===== */

/* Mejorar tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  color: var(--dark-text) !important;
  margin-bottom: var(--space-md) !important;
}

h1 { font-size: 2.5rem !important; }
h2 { font-size: 2rem !important; }
h3 { font-size: 1.75rem !important; }
h4 { font-size: 1.5rem !important; }
h5 { font-size: 1.25rem !important; }
h6 { font-size: 1.1rem !important; }

p {
  color: var(--medium-text) !important;
  line-height: 1.7 !important;
  margin-bottom: var(--space-sm) !important;
}

a {
  color: var(--primary-green) !important;
  text-decoration: none !important;
  transition: var(--transition-fast) !important;
}

a:hover {
  color: var(--secondary-green) !important;
  text-decoration: none !important;
}

/* Modernizar cards/paneles */
.panel,
.well,
.card {
  background: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 4px 20px var(--shadow-light) !important;
  margin-bottom: var(--space-lg) !important;
  transition: var(--transition-normal) !important;
  overflow: hidden !important;
}

.panel:hover,
.well:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-medium) !important;
}

.panel-heading {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green)) !important;
  color: var(--white) !important;
  border: none !important;
  padding: var(--space-md) var(--space-lg) !important;
  font-weight: 600 !important;
}

.panel-body {
  padding: var(--space-lg) !important;
}

/* Modernizar botones */
.btn {
  border-radius: var(--radius-md) !important;
  font-weight: 500 !important;
  padding: 12px 24px !important;
  transition: var(--transition-fast) !important;
  border: none !important;
  text-transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green)) !important;
  color: var(--white) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-green), var(--accent-green)) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-medium) !important;
}

.btn-default {
  background: var(--white) !important;
  color: var(--primary-green) !important;
  border: 2px solid var(--primary-green) !important;
}

.btn-default:hover {
  background: var(--primary-green) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-medium) !important;
}

/* Modernizar formularios */
.form-control {
  border: 2px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 12px 16px !important;
  transition: var(--transition-fast) !important;
  font-size: 14px !important;
}

.form-control:focus {
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 3px var(--shadow-light) !important;
  outline: none !important;
}

/* Modernizar imágenes */
img {
  border-radius: var(--radius-sm) !important;
  transition: var(--transition-normal) !important;
}

img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .container {
    margin: var(--space-sm);
    padding: var(--space-md) !important;
  }
  
  .navbar {
    border-radius: var(--radius-md) !important;
  }
  
  .navbar-nav > li > a {
    padding: 12px 16px !important;
  }
  
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.75rem !important; }
  h3 { font-size: 1.5rem !important; }
}

@media (max-width: 480px) {
  .container {
    margin: var(--space-xs);
    padding: var(--space-sm) !important;
  }
  
  .navbar-form {
    padding: var(--space-xs) !important;
  }
  
  .navbar-form .form-control {
    width: 100% !important;
    margin-bottom: var(--space-xs) !important;
  }
  
  .navbar-form .btn {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

/* ===== ANIMACIONES Y EFECTOS ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Aplicar animaciones a elementos */
.container {
  animation: fadeInUp 0.6s ease-out;
}

.navbar {
  animation: slideInRight 0.8s ease-out;
}

.panel,
.well,
.card {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== UTILIDADES ===== */

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.mt-sm { margin-top: var(--space-sm) !important; }
.mt-md { margin-top: var(--space-md) !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mt-xl { margin-top: var(--space-xl) !important; }

.mb-sm { margin-bottom: var(--space-sm) !important; }
.mb-md { margin-bottom: var(--space-md) !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }
.mb-xl { margin-bottom: var(--space-xl) !important; }

.p-sm { padding: var(--space-sm) !important; }
.p-md { padding: var(--space-md) !important; }
.p-lg { padding: var(--space-lg) !important; }
.p-xl { padding: var(--space-xl) !important; }

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-text);
  background: linear-gradient(135deg, var(--light-bg) 0%, #f0f8f0 100%);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-md) 0;
  color: var(--dark-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin: 0 0 var(--space-sm) 0;
  color: var(--medium-text);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary-green);
  text-decoration: none;
}

/* Modern Header */
.modern-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  color: var(--white);
  padding: var(--space-md) 0;
  box-shadow: 0 2px 10px var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.modern-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.logo-modern {
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo-modern h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: -1px;
}

.logo-modern .tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: var(--space-xs);
  font-weight: 300;
}

/* Modern Navigation */
.modern-nav {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  gap: var(--space-md);
  flex-wrap: nowrap;
}

.nav-links-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--dark-text);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.nav-link:hover {
  background: var(--light-green);
  color: var(--primary-green);
  text-decoration: none;
}

.nav-link i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.nav-link:hover i {
  opacity: 1;
}

/* Navigation Search */
.nav-search {
  margin-left: auto;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-input-group:focus-within {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(45, 80, 22, 0.1);
}

.search-input {
  border: none;
  outline: none;
  padding: 8px 12px;
  background: transparent;
  font-size: 0.9rem;
  width: 180px;
  transition: var(--transition-fast);
  color: var(--dark-text);
}

.search-input:focus {
  width: 200px;
}

.search-input::placeholder {
  color: var(--light-text);
}

.search-btn {
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.search-btn:hover {
  background: var(--secondary-green);
}

.search-btn i {
  font-size: 0.9rem;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
  .nav-links-group {
    gap: var(--space-xs);
  }
  
  .nav-link {
    padding: var(--space-xs);
    font-size: 0.85rem;
  }
  
  .search-input {
    width: 150px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
  }
  
  .nav-links-group {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .nav-search {
    margin-left: 0;
    margin-top: var(--space-sm);
  }
  
  .search-input {
    width: 180px;
  }
  
  .search-input:focus {
    width: 200px;
  }
}

/* Modern Container */
.modern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: var(--space-xl) 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 20px var(--shadow-light);
  border: 1px solid var(--border-light);
}

.hero-title {
  font-size: 2.5rem;
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--medium-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Modern News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

/* Modern News Card */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition-normal);
  position: relative;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

.news-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-date {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: rgba(45, 80, 22, 0.9);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.news-card-content {
  padding: var(--space-lg);
}

.news-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.news-card-title a {
  color: var(--dark-text);
  transition: var(--transition-fast);
}

.news-card-title a:hover {
  color: var(--primary-green);
}

.news-card-excerpt {
  color: var(--medium-text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-light);
}

.read-more-btn {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Search Section */
.search-section {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
  margin-bottom: var(--space-xl);
}

.search-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: var(--space-md);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px var(--shadow-light);
}

.search-btn {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--white);
  border: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Modern Footer */
.modern-footer {
  background: linear-gradient(135deg, var(--dark-text) 0%, #34495e 100%);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg) 0;
  margin-top: var(--space-2xl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer-description {
  opacity: 0.8;
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition-fast);
}

.footer-link:hover {
  opacity: 1;
  color: var(--accent-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .modern-container {
    padding: var(--space-lg) var(--space-sm);
  }
}

/* Loading Animation */
.loading-animation {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--border-light);
  border-radius: 50%;
  border-top-color: var(--primary-green);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fade in animation for cards */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-title i {
  font-size: 1.5rem;
  color: var(--secondary-green);
}

.section-header {
  margin-bottom: var(--space-xl);
}

/* Latest News Section */
.latest-news-section {
  margin: var(--space-2xl) 0;
}

.latest-news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.main-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition-normal);
}

.main-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

.featured-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.main-article:hover .featured-image img {
  transform: scale(1.05);
}

.featured-date {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(45, 80, 22, 0.9);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.featured-content {
  padding: var(--space-xl);
}

.featured-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.featured-title a {
  color: var(--dark-text);
  transition: var(--transition-fast);
}

.featured-title a:hover {
  color: var(--primary-green);
}

.featured-excerpt {
  color: var(--medium-text);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* Side Articles */
.side-articles {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.side-article {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-light);
  transition: var(--transition-normal);
  display: flex;
}

.side-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow-medium);
}

.side-image {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
}

.side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.side-article:hover .side-image img {
  transform: scale(1.1);
}

.side-content {
  padding: var(--space-md);
  flex: 1;
}

.side-date {
  font-size: 0.75rem;
  color: var(--light-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.side-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: var(--space-xs) 0 0 0;
  line-height: 1.3;
}

.side-title a {
  color: var(--dark-text);
  transition: var(--transition-fast);
}

.side-title a:hover {
  color: var(--primary-green);
}

/* More News Section */
.more-news-section {
  margin: var(--space-2xl) 0;
}

.more-news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.main-news-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: var(--transition-normal);
}

.main-news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

.main-news-image {
  height: 250px;
  overflow: hidden;
}

.main-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.main-news-item:hover .main-news-image img {
  transform: scale(1.05);
}

.main-news-content {
  padding: var(--space-xl);
}

.main-news-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.main-news-title a {
  color: var(--dark-text);
  transition: var(--transition-fast);
}

.main-news-title a:hover {
  color: var(--primary-green);
}

.main-news-excerpt {
  color: var(--medium-text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.main-news-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.news-date {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--light-text);
  font-size: 0.875rem;
}

/* Secondary News Column */
.secondary-news-column {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 4px 20px var(--shadow-light);
  height: fit-content;
}

.column-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--light-green);
}

.column-title i {
  color: var(--secondary-green);
}

.secondary-news-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.secondary-news-item {
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.secondary-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.secondary-news-item:hover {
  transform: translateX(4px);
}

.secondary-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.secondary-title a {
  color: var(--dark-text);
  transition: var(--transition-fast);
}

.secondary-title a:hover {
  color: var(--primary-green);
}

.secondary-excerpt {
  color: var(--medium-text);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.secondary-date {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--light-text);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Load More Section */
.load-more-section {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) 0;
}

.load-more-btn {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-medium);
  color: var(--white);
}

.load-more-btn i {
  font-size: 1.2rem;
}

/* Advertisement Section */
.ad-section {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) 0;
}

.ad-container {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid var(--border-light);
}

/* Responsive Design Enhancements */
@media (max-width: 992px) {
  .latest-news-grid,
  .more-news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .side-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .side-article {
    flex-direction: column;
  }
  
  .side-image {
    width: 100%;
    height: 150px;
  }
  
  .featured-content,
  .main-news-content,
  .secondary-news-column {
    padding: var(--space-lg);
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .featured-title {
    font-size: 1.25rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
