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

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

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px; /* Small top padding, larger bottom padding */
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-blog__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #1F2D3D; /* Text Main */
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-blog__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog__btn-secondary:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-blog__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 20px;
}

.page-blog__section-title--white {
  color: #ffffff;
}

.page-blog__section-description {
  font-size: 1.1rem;
  color: #1F2D3D; /* Text Main */
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-blog__section-description--white {
  color: #f0f0f0;
}

.page-blog__latest-news {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

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

.page-blog__article-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-blog__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__card-title a {
  color: #1F2D3D; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__card-title a:hover {
  color: #2F6BFF; /* Main Color */
}

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

.page-blog__card-text {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  color: #4A8BFF;
}

.page-blog__view-all-button {
  margin-top: 20px;
}

.page-blog__games-overview {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
  padding: 80px 0;
}

.page-blog__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-blog__category-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.25);
}

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

.page-blog__category-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-blog__category-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-blog__category-title a:hover {
  color: #A5C4FF; /* Glow */
}

.page-blog__category-text {
  font-size: 0.95rem;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__why-choose-us {
  background-color: #F4F7FB; /* Background */
  padding: 80px 0;
}

.page-blog__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-blog__feature-item {
  background-color: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-blog__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

.page-blog__feature-text {
  font-size: 1rem;
  color: #333333;
}

.page-blog__faq-section {
  background-color: #F4F7FB; /* Background */
  padding: 80px 0;
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  text-align: left;
}

.page-blog__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-blog__faq-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-color: #2F6BFF; /* Main Color */
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #ffffff;
  position: relative;
  list-style: none;
}

.page-blog__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: #2F6BFF; /* Main Color */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-blog__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #333333;
  line-height: 1.6;
}

.page-blog__call-to-action {
  background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-blog__section-title {
    font-size: 2rem;
  }
  .page-blog__article-list,
  .page-blog__game-categories,
  .page-blog__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog__container {
    padding: 0 15px;
  }
  .page-blog__hero-section {
    padding: 10px 0 40px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-blog__hero-description {
    font-size: 1rem;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__section {
    padding: 40px 0;
  }
  .page-blog__section-title {
    font-size: 1.8rem;
  }
  .page-blog__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-blog__article-list,
  .page-blog__game-categories,
  .page-blog__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__card-image {
    height: 180px;
  }
  .page-blog__card-title {
    font-size: 1.2rem;
  }
  .page-blog__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-blog__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image specific overrides */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-image-wrapper,
  .page-blog__category-card,
  .page-blog__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-blog__hero-image-wrapper { /* Override padding for hero image wrapper */
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog__video-section { /* Small top padding, not --header-offset */
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-section {
    padding: 10px 0 30px;
  }
  .page-blog__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
  .page-blog__section-title {
    font-size: 1.6rem;
  }
  .page-blog__card-title {
    font-size: 1.1rem;
  }
  .page-blog__faq-question {
    font-size: 0.95rem;
  }
}