/* style/blog.css */
.page-blog {
  color: #ffffff; /* Dark body background (#1a1a2e) requires light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0, #1a1a2e);
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-bottom: 30px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  color: #ffffff;
}

.page-blog__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-blog__subtitle {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-blog__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog__btn-primary:hover {
  background-color: #ff9933;
  border-color: #ff9933;
  transform: translateY(-2px);
}

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

.page-blog__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-blog__btn-large {
  padding: 16px 35px;
  font-size: 1.1rem;
}

.page-blog__btn-full-width {
  width: 100%;
  text-align: center;
}

.page-blog__cta-buttons--center {
  margin-top: 30px;
}

.page-blog__content-area, .page-blog__guide-section, .page-blog__app-download-section, .page-blog__conclusion-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 20px;
}

.page-blog__features-section, .page-blog__promotions-section, .page-blog__faq-section {
  background-color: #1a1a2e;
  color: #ffffff;
  padding: 60px 20px;
}

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

.page-blog__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-blog__content-area .page-blog__section-title, .page-blog__guide-section .page-blog__section-title, .page-blog__app-download-section .page-blog__section-title, .page-blog__conclusion-section .page-blog__section-title {
  color: #000000;
}

.page-blog__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

.page-blog__content-area .page-blog__sub-title, .page-blog__guide-section .page-blog__sub-title, .page-blog__app-download-section .page-blog__sub-title, .page-blog__conclusion-section .page-blog__sub-title {
  color: #26A9E0;
}

.page-blog__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
  color: inherit;
}

.page-blog__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-blog__inline-link:hover {
  color: #EA7C07;
}

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

.page-blog__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-blog__feature-card:hover {
  transform: translateY(-5px);
}

.page-blog__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-blog__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-blog__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-blog__game-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  font-size: 0.9rem;
  color: #f0f0f0;
}

.page-blog__game-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-blog__game-list li::before {
  content: '•';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

.page-blog__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__ordered-list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-blog__promotions-section .page-blog__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

.page-blog__promotions-section .page-blog__card-title {
  color: #26A9E0;
}

.page-blog__promotions-section .page-blog__card-text {
  color: #555555;
}

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

.page-blog__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-blog__card-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog__card-button:hover {
  background-color: #1a7bb7;
}

.page-blog__app-download-steps {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-blog__app-platform {
  flex: 1;
  min-width: 300px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-blog__app-platform h4 {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-blog__unordered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__unordered-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-blog__unordered-list li::before {
  content: '✓';
  color: #EA7C07; /* Login color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-blog__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-blog__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog__subtitle {
    font-size: 1rem;
  }
  .page-blog__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-blog__sub-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important;
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-blog__hero-image-wrapper {
    max-height: 300px;
  }
  .page-blog__hero-image {
    filter: brightness(0.6);
  }
  .page-blog__hero-content {
    padding: 0 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-blog__subtitle {
    font-size: 0.95rem;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-blog__btn-primary, .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-blog__btn-large {
    padding: 14px 25px !important;
    font-size: 1.05rem !important;
  }
  .page-blog__content-area, .page-blog__features-section, .page-blog__guide-section, .page-blog__promotions-section, .page-blog__app-download-section, .page-blog__faq-section, .page-blog__conclusion-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog__container {
    padding: 0;
  }
  .page-blog__feature-grid, .page-blog__promotion-cards {
    grid-template-columns: 1fr;
  }
  .page-blog__feature-card, .page-blog__promotion-cards .page-blog__card {
    padding: 20px;
  }
  .page-blog__feature-image, .page-blog__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-blog__app-download-steps {
    flex-direction: column;
    gap: 20px;
  }
  .page-blog__app-platform {
    padding: 20px;
  }
  .page-blog__text-block, .page-blog__ordered-list li, .page-blog__unordered-list li, .page-blog__card-text, .page-blog__faq-answer p {
    font-size: 0.95rem;
  }
  .page-blog__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
}