/* style/blog.css */
.page-blog {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-blog__hero {
    background: linear-gradient(135deg, #FFD700, #8B0000);
    color: #fff;
    padding: 80px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.page-blog__hero-content {
    max-width: 700px;
}

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

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

.page-blog__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #8B0000;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #FFD700;
}

.page-blog__cta-button:hover {
    background-color: #fff;
    color: #8B0000;
    border-color: #fff;
}

.page-blog__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 400px;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-blog__section-title {
    font-size: 2.2em;
    color: #8B0000;
    text-align: center;
    margin: 60px 20px 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-blog__featured-articles, .page-blog__latest-articles, .page-blog__categories, .page-blog__cta-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.page-blog__article-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    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 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-blog__article-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #8B0000;
    line-height: 1.3;
}

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

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

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

.page-blog__read-more-button {
    display: inline-block;
    background-color: #8B0000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    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: #FFD700;
    color: #8B0000;
}

.page-blog__articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.page-blog__list-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-blog__list-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.page-blog__list-content {
    padding: 20px;
    flex-grow: 1;
}

.page-blog__list-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #8B0000;
}

.page-blog__list-title a {
    text-decoration: none;
    color: #8B0000;
    transition: color 0.3s ease;
}

.page-blog__list-title a:hover {
    color: #FFD700;
}

.page-blog__list-excerpt {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.page-blog__read-more-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-blog__read-more-link:hover {
    color: #8B0000;
}

.page-blog__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.page-blog__category-card {
    background-color: #8B0000;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog__category-card:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-3px);
}

.page-blog__cta-bottom {
    background: linear-gradient(45deg, #8B0000, #FFD700);
    color: #fff;
    padding: 60px 20px;
    margin-top: 80px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-blog__cta-bottom-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-blog__cta-bottom-button {
    display: inline-block;
    background-color: #fff;
    color: #8B0000;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-bottom-button:hover {
    background-color: #FFD700;
    color: #fff;
    border-color: #fff;
}

.page-blog__cta-bottom-image-wrapper {
    flex-shrink: 0;
    max-width: 350px;
}

.page-blog__cta-bottom-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-blog__hero, .page-blog__cta-bottom {
        flex-direction: column;
        text-align: center;
    }
    .page-blog__hero-content, .page-blog__cta-bottom-content {
        max-width: 100%;
    }
    .page-blog__hero-image-wrapper, .page-blog__cta-bottom-image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-title {
        font-size: 2.2em;
    }
    .page-blog__section-title {
        font-size: 1.8em;
    }
    .page-blog__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-blog__list-item {
        flex-direction: column;
    }
    .page-blog__list-image {
        height: 150px;
    }
    .page-blog__cta-bottom-title {
        font-size: 2em;
    }
    .page-blog__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .page-blog__hero, .page-blog__cta-bottom {
        padding: 50px 15px;
    }
    .page-blog__hero-title {
        font-size: 1.8em;
    }
    .page-blog__hero-description {
        font-size: 1em;
    }
    .page-blog__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-blog__section-title {
        font-size: 1.6em;
        margin: 40px 15px 30px;
    }
    .page-blog__article-title {
        font-size: 1.2em;
    }
    .page-blog__list-title {
        font-size: 1.1em;
    }
    .page-blog__cta-bottom-title {
        font-size: 1.8em;
    }
    .page-blog__cta-bottom-button {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    .page-blog__category-card {
        font-size: 0.9em;
        padding: 15px;
    }
}