/* style/blog.css */
/* body padding-top handled by shared.css var(--header-offset); */

.page-blog {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #0A0A0A; /* Ensure consistent background */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure image wrapper takes full width */
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

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

.page-blog__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-blog__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-blog__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width for responsive buttons */
}

.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__read-more-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure button itself is responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button for contrast */
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  color: #000000;
}

.page-blog__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Border color */
}

.page-blog__btn-secondary:hover {
  background: #F2C14E; /* Main Color */
  color: #0A0A0A; /* Background color for text */
}

.page-blog__read-more-btn {
  background: #F2C14E; /* Main Color */
  color: #0A0A0A; /* Background color for text */
  padding: 10px 20px;
  border-radius: 5px;
}

.page-blog__read-more-btn:hover {
  background: #FFD36B; /* Glow */
}

.page-blog__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

.page-blog__featured-posts,
.page-blog__casino-games-section,
.page-blog__sports-betting-section,
.page-blog__promotions-section,
.page-blog__app-section,
.page-blog__responsible-gaming-section,
.page-blog__wellness-section,
.page-blog__community-section,
.page-blog__latest-news-section,
.page-blog__faq-section,
.page-blog__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-blog__article-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__article-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1; /* Allow title to take available space */
}

.page-blog__article-title a {
  color: #F2C14E; /* Main Color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #FFD36B; /* Glow */
}

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

.page-blog__article-excerpt {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__view-all-posts,
.page-blog__view-all-news {
  text-align: center;
  margin-top: 20px;
}

.page-blog__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-blog__content-grid--reversed {
  flex-direction: row-reverse;
}

.page-blog__text-content {
  flex: 1;
  min-width: 300px;
}

.page-blog__text-content p {
  margin-bottom: 15px;
  color: #FFF6D6; /* Text Main */
}

.page-blog__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog__news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.page-blog__news-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
}

.page-blog__news-title {
  font-size: 1.3em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-blog__news-meta {
  font-size: 0.9em;
  color: #AAA;
  margin-bottom: 15px;
}

.page-blog__news-excerpt {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__faq-list {
  margin-top: 30px;
}

.page-blog__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  color: #F2C14E; /* Main Color */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-blog__faq-question:hover {
  background-color: #1A1A1A;
}

.page-blog__faq-question h3 {
  margin: 0;
  color: inherit; /* Inherit color from parent */
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.page-blog__faq-item.active .page-blog__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign */
}

.page-blog__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6; /* Text Main */
  background-color: #111111; /* Card BG */
}

.page-blog__faq-item.active .page-blog__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 20px !important;
}

.page-blog__faq-answer p {
  margin-bottom: 15px;
}

.page-blog__cta-section {
  text-align: center;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 60px 20px;
  margin-top: 60px;
  margin-bottom: 60px;
}