.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: var(--background-color); /* From shared.css */
}

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

/* Hero Section */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 40px;
  text-align: center;
}

.page-blog__dark-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-blog__hero-content {
  padding: 40px 20px;
  border-radius: 8px;
}

.page-blog__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
  color: #FFF5E1; /* Text Main */
}

/* Articles Section */
.page-blog__articles-section {
  padding: 60px 0;
  background-color: var(--background-color); /* Inherit from body */
}

.page-blog__section-title {
  font-size: 2.2em;
  color: #F4D34D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-blog__blog-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1; /* Text Main */
}

.page-blog__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-blog__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog__card-content {
  padding: 20px;
}

.page-blog__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFCC66; /* Glow */
}

.page-blog__card-meta {
  font-size: 0.9em;
  color: rgba(255, 245, 225, 0.7); /* Lighter Text Main */
  margin-bottom: 15px;
}

.page-blog__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
}

.page-blog__read-more-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red */
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.page-blog__read-more-btn:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-blog__view-all {
  text-align: center;
  margin-top: 50px;
}

/* CTA Section */
.page-blog__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-blog__cta-content {
  padding: 40px 20px;
  border-radius: 10px;
}

.page-blog__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFCC66; /* Glow */
}

.page-blog__cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #FFF5E1; /* Text Main */
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red */
  border: 2px solid #F2B544; /* Border */
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

.page-blog__btn-secondary {
  background-color: transparent;
  color: #FFCC66; /* Glow */
  border: 2px solid #FFCC66; /* Glow */
}

.page-blog__btn-secondary:hover {
  background-color: #FFCC66;
  color: #7A0E0E; /* Deep Red */
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-blog__blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-blog__main-title {
    font-size: 2.2em;
  }

  .page-blog__section-title {
    font-size: 1.8em;
  }

  .page-blog__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog__hero-section {
    padding-top: 10px !important; /* Small top padding, relies on body padding-top from shared.css */
    padding-bottom: 30px;
  }

  .page-blog__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-blog__intro-text {
    font-size: 1em;
  }

  .page-blog__articles-section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-blog__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__card-image {
    height: 180px;
  }

  .page-blog__card-title {
    font-size: 1.2em;
  }

  .page-blog__card-description {
    font-size: 0.95em;
  }

  .page-blog__cta-section {
    padding: 40px 0;
  }

  .page-blog__cta-title {
    font-size: 1.8em;
  }

  .page-blog__cta-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General image responsive styles */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-blog__section,
  .page-blog__card,
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}