.page-blog {
  --body-bg: #0A0A0A; /* Overriding for specific page, actual body bg from shared.css */
  background-color: var(--body-bg);
  color: #FFF6D6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog__container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
}

.page-blog__hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-blog__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-blog__description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-blog__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-blog__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-blog__latest-news-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__section-title {
  font-size: 2.5rem;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog__section-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-blog__article-card {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
}

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

.page-blog__article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-blog__article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-blog__article-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #FFD36B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #F2C14E;
}

.page-blog__article-meta {
  font-size: 0.9rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-blog__read-more {
  display: inline-block;
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.page-blog__read-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #F2C14E;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

.page-blog__read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.page-blog__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-blog__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #111111;
  color: #FFF6D6;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #3A2A12;
}

.page-blog__pagination-link:hover,
.page-blog__pagination-link--active {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-color: #F2C14E;
}

.page-blog__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #111111;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-blog__cta-title {
  font-size: 2.8rem;
  color: #FFD36B;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog__cta-description {
  font-size: 1.2rem;
  color: #FFF6D6;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-blog__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    padding: 15px;
  }
  .page-blog__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog__description {
    font-size: 1rem;
  }
  .page-blog__articles-grid {
    gap: 20px;
  }
  .page-blog__section-title {
    font-size: 2rem;
  }
  .page-blog__cta-title {
    font-size: 2.2rem;
  }
  .page-blog__cta-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }
  .page-blog__hero-image {
    max-height: 300px;
  }
  .page-blog__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-blog__description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__latest-news-section {
    padding: 40px 0;
  }
  .page-blog__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .page-blog__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-blog__article-card {
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__article-image img,
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__article-title {
    font-size: 1.3rem;
  }
  .page-blog__article-meta {
    font-size: 0.85rem;
  }
  .page-blog__article-excerpt {
    font-size: 0.9rem;
  }
  .page-blog__pagination {
    margin-top: 40px;
  }
  .page-blog__cta-section {
    padding: 50px 0;
  }
  .page-blog__cta-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-blog__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-blog__btn-large {
    padding: 15px 25px;
    font-size: 1.1rem;
  }
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}