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

.page-blog__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--header-offset, 120px) 20px 60px;
    overflow: hidden;
    min-height: 500px;
}

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

.page-blog__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

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

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

.page-blog__hero-cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-blog__hero-cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-blog__articles-section {
    padding: 60px 20px;
    background-color: #1A1A1A;
}

.page-blog__articles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-blog__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog__section-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-blog__article-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-blog__article-image {
    width: 100%;
    height: 220px;
    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.5em;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.page-blog__article-title a:hover {
    color: #e6c200;
}

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

.page-blog__read-more-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-blog__read-more-button:hover {
    background-color: #e6c200;
}

.page-blog__cta-section {
    background: linear-gradient(135deg, #1A1A1A, #0F0F0F);
    padding: 80px 20px;
    text-align: center;
}

.page-blog__cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-blog__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog__cta-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-blog__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-blog__cta-button:hover {
    background-color: #e6c200;
    transform: scale(1.05);
}

.page-blog__about-us-section {
    padding: 60px 20px;
    background-color: #0F0F0F;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-blog__about-us-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.page-blog__about-us-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-blog__about-us-text {
    font-size: 1.1em;
    color: #cccccc;
    margin-bottom: 20px;
    text-align: justify;
}

.page-blog__learn-more-button {
    display: inline-block;
    background-color: transparent;
    color: #FFD700;
    padding: 10px 25px;
    border: 2px solid #FFD700;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__learn-more-button:hover {
    background-color: #FFD700;
    color: #1A1A1A;
}

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

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

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

@media (max-width: 768px) {
    .page-blog__hero-section {
        padding-top: var(--header-offset, 120px);
        min-height: 400px;
    }

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

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

    .page-blog__hero-cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

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

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

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

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

    .page-blog__cta-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }

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

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

    /* Mobile image overflow prevention */
    .page-blog__articles-section img,
    .page-blog__cta-section img,
    .page-blog__about-us-section 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__hero-cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }

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

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

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

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