/* style/blog.css */
.page-blog {
    color: #333333; /* Dark text for light body background */
}

.page-blog__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    min-height: 600px;
    background: linear-gradient(90deg, #0A2463 0%, rgba(10, 36, 99, 0.8) 50%, #0A2463 100%);
    color: #ffffff;
    text-align: center;
}

.page-blog__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-blog__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
}

.page-blog__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E0B14B; /* Accent color for title */
    line-height: 1.2;
}

.page-blog__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-blog__hero-button {
    display: inline-block;
    background-color: #E0B14B; /* Accent color for button */
    color: #0A2463;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__hero-button:hover {
    background-color: #f5c760;
    transform: translateY(-2px);
}

.page-blog__content-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.7;
}

.page-blog__article {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-blog__article-heading {
    font-size: 2.5em;
    color: #0A2463; /* Main color for headings */
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 3px solid #E0B14B;
    padding-bottom: 10px;
}

.page-blog__sub-heading {
    font-size: 1.8em;
    color: #0A2463; /* Main color for sub-headings */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-blog__article-paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-blog__ordered-list,
.page-blog__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-blog__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333333;
}

.page-blog__list-item strong {
    color: #0A2463;
}

.page-blog__action-button {
    display: inline-block;
    background-color: #0A2463; /* Main color for action buttons */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__action-button:hover {
    background-color: #1a3a7d;
    transform: translateY(-1px);
}

.page-blog__article-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Ensure images are not too wide */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-blog__cta-section {
    background-color: #0A2463; /* Main color for CTA section background */
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    margin-top: 50px;
}

.page-blog__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #E0B14B; /* Accent color for CTA title */
}

.page-blog__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-blog__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 180px;
}

.page-blog__cta-button--primary {
    background-color: #E0B14B; /* Accent color for primary CTA */
    color: #0A2463;
}

.page-blog__cta-button--primary:hover {
    background-color: #f5c760;
    transform: translateY(-2px);
}

.page-blog__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #E0B14B; /* Accent color border for secondary CTA */
    color: #E0B14B;
}

.page-blog__cta-button--secondary:hover {
    background-color: #E0B14B;
    color: #0A2463;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog__hero-title {
        font-size: 3em;
    }

    .page-blog__article-heading {
        font-size: 2em;
    }

    .page-blog__sub-heading {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-section {
        min-height: 500px;
        padding: 40px 15px;
    }

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

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

    .page-blog__article-heading {
        font-size: 1.8em;
    }

    .page-blog__sub-heading {
        font-size: 1.4em;
    }

    .page-blog__article-paragraph,
    .page-blog__list-item {
        font-size: 1em;
    }

    .page-blog__article-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and do not overflow */
    }

    .page-blog__content-area {
        padding: 0 15px;
    }

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

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

    .page-blog__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-blog__cta-button {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .page-blog__hero-title {
        font-size: 2em;
    }

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

    .page-blog__hero-button {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .page-blog__article {
        padding: 20px;
    }

    .page-blog__article-heading {
        font-size: 1.5em;
    }

    .page-blog__sub-heading {
        font-size: 1.2em;
    }

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