.page-blog {
    color: #333333;
    background-color: #FFFFFF;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-blog__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
}

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

.page-blog__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-blog__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
}

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

.page-blog__button {
    display: inline-block;
    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;
    white-space: nowrap;
}

.page-blog__button--primary {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-blog__button--primary:hover {
    background-color: #e0a03d;
    transform: translateY(-2px);
}

.page-blog__button--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-blog__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-blog__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.page-blog__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-blog__featured-articles,
.page-blog__latest-posts {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.page-blog__article-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog__article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.page-blog__article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

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

.page-blog__article-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-blog__article-title .page-blog__article-link {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__article-title .page-blog__article-link:hover {
    color: #FCBC45;
}

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

.page-blog__read-more {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: auto;
}

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

.page-blog__categories {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-blog__category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-blog__category-item {
    display: inline-block;
    padding: 12px 25px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #000000;
}

.page-blog__category-item:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

.page-blog__about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-blog__text-content {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #444444;
    text-align: justify;
}

.page-blog__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-blog__cta-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__button--cta {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 30px;
}

.page-blog__button--cta:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

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

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

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

    .page-blog__article-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-content {
        padding: 80px 15px;
        min-height: 400px;
    }

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

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

    .page-blog__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog__button {
        width: 80%;
        max-width: 300px;
    }

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

    .page-blog__articles-grid {
        grid-template-columns: 1fr;
    }

    .page-blog__article-image {
        height: 200px;
    }

    .page-blog__article-title {
        font-size: 1.3em;
    }

    .page-blog__category-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .page-blog__category-item {
        flex-shrink: 0;
    }

    .page-blog__text-content {
        font-size: 1em;
    }

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

    /* Ensure all images within .page-blog are responsive and don't overflow */
    .page-blog img {
        max-width: 100%;
        height: auto;
    }
}

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

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

    .page-blog__button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

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

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

    .page-blog__button--cta {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}