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

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

.page-blog-hero {
    background: linear-gradient(135deg, #003366, #1a4a7e);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFCC00;
}

.page-blog-hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFCC00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-blog-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-blog-btn-primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-blog-btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-blog-btn-secondary {
    background-color: #003366;
    color: #FFCC00;
    border: 2px solid #FFCC00;
    margin-left: 15px;
}

.page-blog-btn-secondary:hover {
    background-color: #002244;
    transform: translateY(-2px);
}

.page-blog-btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-blog-content {
    padding: 50px 0;
}

.page-blog-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
}

.page-blog-sidebar {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.page-blog-sidebar-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 25px;
    border-bottom: 2px solid #FFCC00;
    padding-bottom: 10px;
}

.page-blog-search-box {
    margin-bottom: 40px;
}

.page-blog-search-input-wrapper {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.page-blog-search-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 1em;
}

.page-blog-btn-icon {
    background-color: #003366;
    color: #fff;
    padding: 10px 15px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-blog-btn-icon:hover {
    background-color: #002244;
}

.page-blog-btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: #FFCC00;
}

.page-blog-categories {
    margin-bottom: 40px;
}

.page-blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-blog-category-list li {
    margin-bottom: 10px;
}

.page-blog-category-link {
    display: block;
    padding: 10px 15px;
    background-color: #f0f0f0;
    color: #003366;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.page-blog-category-link:hover,
.page-blog-category-link.page-blog-active-category {
    background-color: #FFCC00;
    color: #003366;
}

.page-blog-cta-sidebar {
    background-color: #003366;
    color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.page-blog-cta-sidebar .page-blog-sidebar-title {
    color: #FFCC00;
    border-bottom-color: #FFCC00;
}

.page-blog-cta-sidebar p {
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-blog-cta-sidebar .page-blog-btn-secondary {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
}

.page-blog-cta-sidebar .page-blog-btn-secondary:last-child {
    margin-bottom: 0;
}

.page-blog-main-articles {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-blog-post-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

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

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

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

.page-blog-post-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #003366;
}

.page-blog-post-title a {
    text-decoration: none;
    color: #003366;
    transition: color 0.3s ease;
}

.page-blog-post-title a:hover {
    color: #FFCC00;
}

.page-blog-post-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-blog-post-category {
    background-color: #FFCC00;
    color: #003366;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
}

.page-blog-post-summary {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog-read-more {
    display: inline-flex;
    align-items: center;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-blog-read-more:hover {
    color: #FFCC00;
}

.page-blog-read-more svg {
    margin-left: 5px;
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.page-blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.page-blog-pagination-link {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #003366;
    border-radius: 5px;
    text-decoration: none;
    color: #003366;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog-pagination-link:hover:not(.page-blog-disabled):not(.page-blog-active) {
    background-color: #003366;
    color: #fff;
}

.page-blog-pagination-link.page-blog-active {
    background-color: #FFCC00;
    color: #003366;
    border-color: #FFCC00;
    font-weight: bold;
}

.page-blog-pagination-link.page-blog-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f0f0f0;
    color: #777;
}

.page-blog-promo-cta {
    background: linear-gradient(90deg, #003366, #002244);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    border-top: 5px solid #FFCC00;
}

.page-blog-promo-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFCC00;
    font-weight: bold;
}

.page-blog-promo-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-blog-grid {
        grid-template-columns: 1fr;
    }
    .page-blog-sidebar {
        margin-bottom: 40px;
    }
    .page-blog-hero-title {
        font-size: 2.5em;
    }
    .page-blog-hero-subtitle {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-blog-hero {
        padding: 60px 0;
    }
    .page-blog-hero-title {
        font-size: 2em;
    }
    .page-blog-promo-title {
        font-size: 2.2em;
    }
    .page-blog-btn-large {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-blog-btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .page-blog-hero-title {
        font-size: 1.8em;
    }
    .page-blog-hero-subtitle {
        font-size: 1em;
    }
    .page-blog-post-title {
        font-size: 1.3em;
    }
    .page-blog-promo-title {
        font-size: 1.8em;
    }
    .page-blog-promo-description {
        font-size: 1em;
    }
    .page-blog-articles-grid {
        grid-template-columns: 1fr;
    }
    .page-blog-cta-sidebar .page-blog-btn-secondary {
        font-size: 0.9em;
    }
}