/* News Page Styles */
:root {
  --primary: #456ba8;
  --primary-light: #5a7bc8;
  --primary-dark: #2d4a7a;
  --secondary: #f8fafc;
  --dark: #1a202c;
  --light: #ffffff;
  --gold: #d4af37;
  --gold-light: #f4e4a1;
  --text-secondary: #4a5568;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
  color: var(--light);
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: gentle-float 8s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* News Section */
.news-section {
  padding: 4rem 0;
  background: transparent;
}

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

/* Loading and Error States */
.news-loading {
  text-align: center;
  padding: 4rem 0;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-light);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.news-loading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.news-error {
  text-align: center;
  padding: 4rem 0;
}

.news-error p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--light);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.hidden {
  display: none !important;
}

.no-news {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  padding: 2rem 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Featured News Card */
.news-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition);
}

.news-card.featured:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.news-card.featured .news-image {
  position: relative;
  overflow: hidden;
  min-height: 375px;
}

.news-card.featured .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.news-card.featured .news-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card.featured .news-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Regular News Cards */
.news-card {
  background: var(--light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.news-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-content {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.news-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.news-category {
  background: var(--primary);
  color: var(--light);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.95rem;
}

.news-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.news-link::after {
  content: "→";
  margin-left: 0.5rem;
  transition: var(--transition);
}

.news-link:hover::after {
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .news-card.featured {
    grid-template-columns: 1fr;
  }
  
  .news-card.featured .news-content {
    padding: 2rem;
  }
  
  .news-card.featured .news-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .news-section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .news-card.featured .news-content {
    padding: 1.5rem;
  }
  
  .news-card.featured .news-title {
    font-size: 1.5rem;
  }
  
  .news-content {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 4rem 0 3rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .news-title {
    font-size: 1.2rem;
  }
} 