/* style/blog.css */

/* Body background is #000000 (dark), so main text color must be light */
.page-blog {
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #000000; /* Ensure consistency with body background */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more at bottom */
  background-color: #000000; /* Ensure hero section background is dark */
}

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

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

.page-blog__hero-content {
  max-width: 900px;
  margin-top: 40px;
  text-align: center;
  padding: 0 20px;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-blog__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog__btn-primary:hover {
  background-color: #1a7fb2;
  border-color: #1a7fb2;
}

.page-blog__btn-primary--orange {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-blog__btn-primary--orange:hover {
  background-color: #c96800;
  border-color: #c96800;
}

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

.page-blog__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog__btn-secondary--light {
  color: #ffffff;
  border-color: #ffffff;
}

.page-blog__btn-secondary--light:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-blog__content-area,
.page-blog__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #000000;
  color: #ffffff;
}

.page-blog__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.3;
}

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

.page-blog__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__article-text p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-blog__keyword {
  font-weight: 700;
  color: #26A9E0;
}

.page-blog__image-block {
  margin: 40px 0;
  text-align: center;
}

.page-blog__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-blog__image-block--right {
  float: right;
  margin-left: 30px;
  width: 45%;
}

.page-blog__ordered-list,
.page-blog__unordered-list {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog__ordered-list li,
.page-blog__unordered-list li {
  margin-bottom: 10px;
}

.page-blog__ordered-list strong,
.page-blog__unordered-list strong {
  color: #26A9E0;
}

.page-blog__highlight-section {
  background-color: #0a0a0a;
  padding: 60px 20px;
  border-radius: 8px;
  margin: 40px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

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

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

.page-blog__faq-section {
  background-color: #000000;
  padding: 60px 20px;
}

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

.page-blog__faq-item {
  background-color: #0a0a0a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  color: #f0f0f0;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

.page-blog__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #ffffff;
}

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

.page-blog__faq-answer {
  padding: 0 20px 20px;
  color: #f0f0f0;
  font-size: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog__faq-item[open] .page-blog__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 0 20px 20px;
}

.page-blog__faq-item.active .page-blog__faq-answer {
  max-height: 500px !important;
  padding: 0 20px 20px;
}

.page-blog__cta-final-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 8px;
  margin: 60px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-blog__cta-final-section .page-blog__description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    margin-top: 30px;
  }

  .page-blog__image-block--right {
    float: none;
    margin: 30px auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

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

  .page-blog__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: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__section,
  .page-blog__highlight-section,
  .page-blog__faq-section,
  .page-blog__cta-final-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-blog__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 25px;
  }

  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__hero-image-wrapper,
  .page-blog__image-block,
  .page-blog__video-container,
  .page-blog__video-wrapper,
  .page-blog__cta-buttons,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__video-section {
    padding-top: 10px !important;
  }

  .page-blog__image-block--right {
    margin-left: 0;
  }

  .page-blog__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: clamp(1.6rem, 9vw, 2rem);
  }

  .page-blog__section-title {
    font-size: clamp(1.4rem, 8vw, 1.8rem);
  }

  .page-blog__sub-title {
    font-size: clamp(1.1rem, 6vw, 1.4rem);
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    font-size: 0.95rem;
  }
}

/* Clearfix for floating images */
.page-blog__article-text::after {
  content: "";
  display: table;
  clear: both;
}