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

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

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #FFF3E6;
}

.page-blog__hero-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-blog__hero-content-area {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -15%; /* Pull content up over the image slightly for visual appeal */
  background: linear-gradient(180deg, rgba(13, 14, 18, 0.8) 0%, #0D0E12 100%);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-blog__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFB04D; /* Glow */
  line-height: 1.2;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-blog__hero-actions {
  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: bold;
  font-size: 1em;
  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, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 15px #FFB04D;
}

.page-blog__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFB04D; /* Glow */
  border: 2px solid #A84F0C; /* Border */
}

.page-blog__btn-secondary:hover {
  background: #0D0E12;
  color: #FFA53A;
  border-color: #FFA53A;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 15px;
  margin-top: 60px;
}

.page-blog__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__latest-posts,
.page-blog__featured-article,
.page-blog__faq-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6;
}

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

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

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 176, 77, 0.5);
}

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

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

.page-blog__post-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__post-title a {
  color: #FFB04D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
  color: #FFA53A;
}

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

.page-blog__post-excerpt {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: inline-block;
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__read-more:hover {
  color: #FFB04D;
  text-decoration: underline;
}

.page-blog__view-all-button-container {
  text-align: center;
  margin-top: 40px;
}

.page-blog__categories {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

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

.page-blog__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 176, 77, 0.5);
}

.page-blog__category-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-blog__category-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  padding: 0 15px;
}

.page-blog__featured-card {
  display: flex;
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__featured-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog__featured-content {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-blog__featured-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__featured-title a {
  color: #FFB04D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__featured-title a:hover {
  color: #FFA53A;
}

.page-blog__featured-meta {
  font-size: 1em;
  color: #FFA53A;
  margin-bottom: 20px;
}

.page-blog__featured-excerpt {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-blog__why-e2betvip {
  padding: 80px 0;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-blog__features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-blog__feature-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 176, 77, 0.5);
}

.page-blog__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-blog__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-blog__feature-text {
  font-size: 1em;
  color: #FFF3E6;
}

.page-blog__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  color: #FFF3E6;
}
details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: rgba(255, 176, 77, 0.1);
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow */
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}
.page-blog__faq-answer p {
  margin-bottom: 0;
  color: #FFF3E6;
}

/* General image and button responsive styles */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog a[class*="button"],
.page-blog a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__hero-actions,
.page-blog__view-all-button-container,
.page-blog__cta-bottom {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: 2.8em;
  }
  .page-blog__posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-blog__category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-blog__featured-card {
    flex-direction: column;
  }
  .page-blog__featured-image,
  .page-blog__featured-content {
    width: 100%;
  }
  .page-blog__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  .page-blog__hero-image-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile hero */
  }
  .page-blog__hero-image {
    object-fit: contain; /* Ensure image fits well on mobile */
  }
  .page-blog__hero-content-area {
    padding: 30px 15px;
    margin-top: -20%;
  }
  .page-blog__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
    max-width: 100%;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-blog__section-title {
    font-size: 2em;
    margin-top: 40px;
  }
  .page-blog__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__posts-grid {
    grid-template-columns: 1fr; /* Single column for blog posts */
    gap: 20px;
  }
  .page-blog__post-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog__post-title {
    font-size: 1.2em;
  }
  .page-blog__category-grid {
    grid-template-columns: 1fr; /* Single column for categories */
    gap: 20px;
  }
  .page-blog__category-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog__category-image {
    height: 180px;
  }
  .page-blog__category-name {
    font-size: 1.3em;
  }
  .page-blog__featured-card {
    flex-direction: column;
  }
  .page-blog__featured-image {
    height: auto;
  }
  .page-blog__featured-content {
    padding: 20px;
  }
  .page-blog__featured-title {
    font-size: 1.5em;
  }
  .page-blog__featured-excerpt {
    font-size: 0.95em;
  }
  .page-blog__features-grid {
    grid-template-columns: 1fr; /* Single column for features */
    gap: 20px;
  }
  .page-blog__feature-item {
    padding: 25px;
  }
  .page-blog__feature-icon {
    width: 150px;
    height: 150px;
  }
  .page-blog__feature-title {
    font-size: 1.4em;
  }
  details.page-blog__faq-item summary.page-blog__faq-question { padding: 15px; }
  .page-blog__faq-qtext { font-size: 1em; }
  .page-blog__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
  details.page-blog__faq-item .page-blog__faq-answer { padding: 0 15px 15px; }

  /* Mobile image overrides */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__latest-posts,
  .page-blog__categories,
  .page-blog__featured-article,
  .page-blog__why-e2betvip,
  .page-blog__faq-section,
  .page-blog__post-card,
  .page-blog__category-card,
  .page-blog__featured-card,
  .page-blog__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__hero-actions,
  .page-blog__view-all-button-container,
  .page-blog__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px !important;
  }
}