.page-blog {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background body */
    background-color: #ffffff; /* Assuming body background is light */
}

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

.page-blog__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Hero Section */
.page-blog__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #f5f5f5;
    padding-bottom: 40px;
}

.page-blog__hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center;
    gap: 30px;
    padding: 0 20px;
}

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

.page-blog__hero-text-container {
    text-align: center;
    max-width: 800px;
}

.page-blog__hero-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Using clamp for H1 */
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.page-blog__hero-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

.page-blog__hero-button {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

/* Button secondary */
.page-blog__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-blog__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Recent Posts Section */
.page-blog__recent-posts {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-blog__post-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog__post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.page-blog__post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog__post-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card images */
    object-fit: cover;
    display: block;
}

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

.page-blog__post-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.page-blog__post-date {
    font-size: 0.9em;
    color: #888888;
    margin-bottom: 15px;
}

.page-blog__post-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__read-more {
    color: #26A9E0;
    font-weight: bold;
    text-decoration: none;
    align-self: flex-start;
}

.page-blog__read-more:hover {
    text-decoration: underline;
}

.page-blog__view-all-button-container {
    text-align: center;
    margin-top: 40px;
}

.page-blog__view-all-button {
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* CTA Section */
.page-blog__cta-section {
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-blog__cta-content {
    max-width: 900px;
}

.page-blog__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-blog__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: #f5f5f5;
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure contrast */
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555; /* Ensure contrast */
}
.page-blog__faq-answer p {
    margin: 0;
}


/* General image responsiveness */
.page-blog img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-blog {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-blog__container {
        padding: 15px;
    }

    .page-blog__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    /* Hero Section */
    .page-blog__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 30px;
    }

    .page-blog__hero-content-wrapper {
        gap: 20px;
        padding: 0 15px;
    }

    .page-blog__hero-title {
        font-size: 2.2em;
    }

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

    .page-blog__hero-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    
    /* Recent Posts Section */
    .page-blog__recent-posts {
        padding: 40px 0;
    }

    .page-blog__posts-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-blog__post-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-blog__post-image {
        height: 180px; /* Adjust height for mobile cards */
    }

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

    .page-blog__post-title {
        font-size: 1.2em;
    }

    .page-blog__post-date {
        font-size: 0.85em;
    }

    .page-blog__post-excerpt {
        font-size: 0.95em;
    }

    .page-blog__view-all-button-container {
        margin-top: 30px;
    }

    .page-blog__view-all-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 20px;
        font-size: 0.95em;
    }

    /* CTA Section */
    .page-blog__cta-section {
        padding: 50px 15px;
    }

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

    .page-blog__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-blog__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* FAQ Section */
    .page-blog__faq-section {
        padding: 40px 0;
    }
    details.page-blog__faq-item summary.page-blog__faq-question { padding: 15px; }
    .page-blog__faq-qtext { font-size: 15px; }
    details.page-blog__faq-item .page-blog__faq-answer {
        padding: 0 15px 15px;
    }

    /* General image and container responsiveness */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-blog__hero-content-wrapper,
    .page-blog__container,
    .page-blog__posts-grid,
    .page-blog__post-card,
    .page-blog__cta-content,
    .page-blog__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding is handled by .page-blog__container or specific sections */
    }
}