:root {
  --primary-color: #26A9E0;
  --secondary-color: #007bff; /* Example secondary color for hover/active states */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-color-light: #f9f9f9;
  --background-color-white: #ffffff;
  --border-color: #e0e0e0;
  --header-offset: 70px; /* Default value, shared.css will define this */
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--background-color-white);
  margin: 0;
  padding: 0;
  /* padding-top is handled by shared.css: body { padding-top: var(--header-offset); } */
}

.page-blog a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.page-blog a:hover {
  color: var(--secondary-color);
}

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

.page-blog__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__section-title--white {
  color: var(--text-color-light);
}

.page-blog__section-description {
  font-size: 18px;
  color: var(--text-color-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color-light);
  overflow: hidden;
}

.page-blog__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-blog__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-blog__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__description {
  font-size: 18px;
  color: var(--text-color-dark);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Custom color for login/register type action */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-button:hover {
  background: #d46f06;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Blog Posts Section */
.page-blog__posts-section {
  padding: 80px 0;
  background-color: var(--background-color-white);
}

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

.page-blog__post-card {
  background: var(--background-color-white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-blog__post-link {
  display: block;
  color: inherit;
}

.page-blog__post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-blog__post-content {
  padding: 20px;
}

.page-blog__post-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-color-dark);
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__post-excerpt {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-blog__post-content time {
  font-size: 13px;
  color: #888;
  display: block;
  margin-bottom: 10px;
}

.page-blog__read-more {
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  color: var(--primary-color);
}

.page-blog__view-all-posts {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--text-color-light);
}

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-color-light);
  font-weight: 600;
}

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

details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

.page-blog__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: var(--text-color-light);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 10px 25px 25px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  color: var(--text-color-light);
}

details.page-blog__faq-item .page-blog__faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* About Section */
.page-blog__about-section {
  padding: 80px 0;
  background-color: var(--background-color-white);
  text-align: center;
}

.page-blog__about-section .page-blog__description {
  margin-bottom: 30px;
  text-align: left;
}

.page-blog__button-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-blog__btn-primary {
  background: #EA7C07;
  color: var(--text-color-light);
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__btn-primary:hover {
  background: #d46f06;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__btn-secondary {
  background: var(--background-color-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__hero-image img {
    border-radius: 4px;
  }

  .page-blog__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-blog__description {
    font-size: 16px;
  }

  .page-blog__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog__posts-section,
  .page-blog__faq-section,
  .page-blog__about-section {
    padding: 50px 0;
  }

  .page-blog__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-blog__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-blog__post-card img {
    
  }

  .page-blog__post-title {
    font-size: 18px;
  }

  .page-blog__post-excerpt {
    font-size: 14px;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-blog__faq-qtext {
    font-size: 15px;
    width: calc(100% - 40px);
  }
  .page-blog__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 10px 15px 15px;
  }
  details.page-blog__faq-item .page-blog__faq-answer p {
    font-size: 14px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-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__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* Force responsive images */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__hero-section,
  .page-blog__posts-section,
  .page-blog__faq-section,
  .page-blog__about-section,
  .page-blog__container,
  .page-blog__posts-grid,
  .page-blog__post-card,
  .page-blog__faq-list,
  .page-blog__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__hero-section { padding-left: 0; padding-right: 0; }
  .page-blog__hero-container { padding-left: 15px; padding-right: 15px; }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: clamp(22px, 8vw, 32px);
  }
  .page-blog__section-title {
    font-size: 24px;
  }
}