.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body handles background */
}

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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(38, 169, 224, 0.2) 0%, rgba(38, 169, 224, 0) 100%);
}

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

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

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

.page-blog__main-title {
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-blog__intro-text {
  color: #f0f0f0;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.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: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 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-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-blog__btn-secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
}

.page-blog__section-title {
  color: #ffffff;
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 20px;
}

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

.page-blog__categories-section,
.page-blog__guides-section,
.page-blog__faq-section,
.page-blog__why-us-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for contrast */
  color: #ffffff;
}

.page-blog__dark-section {
  background-color: #26A9E0;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-blog__category-card,
.page-blog__post-card,
.page-blog__news-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__category-card:hover,
.page-blog__post-card:hover,
.page-blog__news-card:hover {
  transform: translateY(-5px);
}

.page-blog__category-image,
.page-blog__post-image,
.page-blog__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog__category-card .page-blog__category-link,
.page-blog__post-card .page-blog__post-title a,
.page-blog__news-card .page-blog__news-title a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__category-card .page-blog__category-link:hover,
.page-blog__post-card .page-blog__post-title a:hover,
.page-blog__news-card .page-blog__news-title a:hover {
  color: #f0f0f0;
}

.page-blog__category-title,
.page-blog__post-title,
.page-blog__news-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-blog__category-text,
.page-blog__post-excerpt,
.page-blog__news-excerpt {
  color: #e0e0e0;
  font-size: 0.95em;
  padding: 0 20px;
  flex-grow: 1;
}

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

.page-blog__post-meta,
.page-blog__news-meta {
  font-size: 0.85em;
  color: #cccccc;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-blog__read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 0 20px 10px 20px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-blog__button-container {
  text-align: center;
  margin-top: 50px;
}

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

.page-blog__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-blog__guide-title {
  color: #ffffff;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-blog__guide-text {
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-blog__faq-list {
  margin-top: 40px;
}

.page-blog__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  font-size: 1.1em;
  user-select: none;
  list-style: none;
}

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

.page-blog__faq-qtext {
  flex-grow: 1;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-blog__faq-answer {
  padding: 0 25px 18px 25px;
  color: #e0e0e0;
  font-size: 0.95em;
}

.page-blog__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-blog__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog__benefit-item strong {
  color: #26A9E0;
  display: block;
  margin-bottom: 5px;
}

.page-blog__cta-title {
  color: #ffffff;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-blog__cta-description {
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: 2.5em;
  }

  .page-blog__section-title,
  .page-blog__cta-title {
    font-size: 2em;
  }

  .page-blog__hero-content {
    margin-top: 30px;
  }
}

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

  .page-blog__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-blog__main-title {
    font-size: 2em;
  }

  .page-blog__intro-text {
    font-size: 1em;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-blog__section-title,
  .page-blog__cta-title {
    font-size: 1.8em;
  }

  .page-blog__section-description {
    font-size: 0.95em;
  }

  .page-blog__categories-section,
  .page-blog__guides-section,
  .page-blog__faq-section,
  .page-blog__why-us-section,
  .page-blog__dark-section {
    padding: 40px 0;
  }

  .page-blog__category-grid,
  .page-blog__posts-grid,
  .page-blog__news-grid,
  .page-blog__guide-steps,
  .page-blog__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__category-image,
  .page-blog__post-image,
  .page-blog__news-image {
    height: 180px;
  }

  .page-blog__category-title,
  .page-blog__post-title,
  .page-blog__news-title {
    font-size: 1.1em;
  }

  .page-blog__category-text,
  .page-blog__post-excerpt,
  .page-blog__news-excerpt,
  .page-blog__guide-text,
  .page-blog__faq-answer,
  .page-blog__benefit-item {
    font-size: 0.9em;
  }

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

  /* Ensure all images are responsive */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure containers with images/buttons/videos are responsive */
  .page-blog__hero-image-wrapper,
  .page-blog__category-card,
  .page-blog__post-card,
  .page-blog__news-card,
  .page-blog__guide-item,
  .page-blog__faq-item,
  .page-blog__benefit-item,
  .page-blog__cta-buttons,
  .page-blog__button-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}