/* style/news.css */

/* Base styles for the news page */
.page-news {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news-section-title {
  font-size: 2.5em;
  color: #004AAD;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-news-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-news-intro-text {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 60px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-news-hero {
  background: linear-gradient(135deg, #004AAD 0%, #00287a 100%); /* Darker blue gradient */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:hero:abstract_pattern,geometric,light_blue]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

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

.page-news-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
}

.page-news-hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.page-news-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-news-btn-primary {
  background-color: #FFD700;
  color: #004AAD;
}

.page-news-btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news-btn-secondary {
  background-color: transparent;
  color: #004AAD;
  border: 2px solid #004AAD;
}

.page-news-btn-secondary:hover {
  background-color: #004AAD;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Latest Articles Section */
.page-news-latest-articles {
  padding: 80px 0;
  background-color: #fff;
}

.page-news-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news-article-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-news-article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-news-article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news-article-title {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news-article-title a {
  color: #004AAD;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-article-title a:hover {
  color: #FFD700;
}

.page-news-article-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 10px;
}

.page-news-article-summary {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news-read-more {
  color: #004AAD;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.page-news-read-more:hover {
  color: #FFD700;
}

.page-news-arrow {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.page-news-read-more:hover .page-news-arrow {
  transform: translateX(5px);
}

.page-news-view-all {
  text-align: center;
  margin-top: 60px;
}

/* In-depth Analysis Section */
.page-news-in-depth-analysis {
  padding: 80px 0;
  background-color: #f0f2f5;
}

.page-news-analysis-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 40px;
  margin-bottom: 30px;
}

.page-news-analysis-title {
  font-size: 2em;
  color: #004AAD;
  margin-bottom: 20px;
  text-align: center;
}

.page-news-analysis-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-news-analysis-text {
  font-size: 1.1em;
  color: #444;
  text-align: justify;
}

/* CTA Banner Section */
.page-news-cta-banner {
  background: linear-gradient(45deg, #004AAD 0%, #00287a 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.page-news-cta-content {
  max-width: 900px;
}

.page-news-cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-news-cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-news-cta-buttons .page-news-btn {
  margin: 0 15px;
}

/* About Tipclub Section */
.page-news-about-tipclub {
  padding: 80px 0;
  background-color: #fff;
}

.page-news-about-image {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-about-text {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-news-hero-title {
    font-size: 2.8em;
  }
  .page-news-hero-subtitle {
    font-size: 1.1em;
  }
  .page-news-section-title {
    font-size: 2em;
  }
  .page-news-article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-news-analysis-title {
    font-size: 1.8em;
  }
  .page-news-cta-title {
    font-size: 2.2em;
  }
  .page-news-cta-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-news-hero {
    padding: 80px 0;
  }
  .page-news-hero-title {
    font-size: 2.2em;
  }
  .page-news-hero-subtitle {
    font-size: 1em;
  }
  .page-news-section-title {
    font-size: 1.8em;
  }
  .page-news-article-grid {
    grid-template-columns: 1fr;
  }
  .page-news-article-card {
    margin-bottom: 20px;
  }
  .page-news-cta-buttons .page-news-btn {
    display: block;
    margin: 15px auto;
    width: 80%;
  }
  .page-news-analysis-item {
    padding: 30px;
  }
  .page-news-analysis-title {
    font-size: 1.6em;
  }
  .page-news-about-image {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-news-hero {
    padding: 60px 0;
  }
  .page-news-hero-title {
    font-size: 1.8em;
  }
  .page-news-hero-subtitle {
    font-size: 0.9em;
  }
  .page-news-section-title {
    font-size: 1.5em;
  }
  .page-news-article-title {
    font-size: 1.2em;
  }
  .page-news-article-summary {
    font-size: 0.9em;
  }
  .page-news-cta-title {
    font-size: 1.8em;
  }
  .page-news-cta-text {
    font-size: 0.9em;
  }
  .page-news-btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-news-analysis-title {
    font-size: 1.4em;
  }
  .page-news-analysis-text {
    font-size: 1em;
  }
}