/* style/blog.css */

/* Base styles for the blog page */
.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 15px;
  box-sizing: border-box;
}

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

.page-blog__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main to Auxiliary Blue */
  color: #ffffff;
}

.page-blog__light-bg {
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

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

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-blog__hero-description {
  font-size: 1.15rem;
  color: #f0f8ff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-blog__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 5px 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 */
}

.page-blog__btn-secondary:hover {
  background: #f0f8ff;
  color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.2);
}

.page-blog__btn-text {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-blog__btn-text:hover {
  text-decoration: underline;
  color: #4A8BFF;
}

/* Section Titles and Paragraphs */
.page-blog__section-title {
  font-size: 2.2rem;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-blog__sub-title {
  font-size: 1.6rem;
  color: #1F2D3D; /* Text Main */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__dark-section .page-blog__sub-title {
  color: #ffffff;
}

.page-blog__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-blog__dark-section .page-blog__paragraph {
  color: #f0f8ff;
}

.page-blog__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Lists */
.page-blog__list,
.page-blog__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-blog__dark-section .page-blog__list,
.page-blog__dark-section .page-blog__ordered-list {
  color: #f0f8ff;
}

.page-blog__ordered-list {
  list-style-type: decimal;
}

.page-blog__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

/* FAQ Section */
.page-blog__faq-section {
  background-color: #F4F7FB;
  padding: 60px 0;
}

.page-blog__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #1F2D3D;
}

.page-blog__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  color: #1F2D3D;
}

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

.page-blog__faq-question {
  font-size: 1.1rem;
  color: #1F2D3D;
  flex-grow: 1;
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  content: '−';
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-blog__section-title {
    font-size: 2rem;
  }

  .page-blog__sub-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-blog__section {
    padding: 40px 0;
  }

  .page-blog__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-blog__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog__hero-description {
    font-size: 1rem;
  }

  .page-blog__section-title {
    font-size: 1.8rem;
  }

  .page-blog__sub-title {
    font-size: 1.2rem;
  }

  .page-blog__paragraph,
  .page-blog__list-item,
  .page-blog__faq-answer {
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__hero-image-wrapper,
  .page-blog__game-category,
  .page-blog__registration-section,
  .page-blog__security-support-section,
  .page-blog__conclusion-section,
  .page-blog__faq-section,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-blog__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    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__cta-buttons,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}