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

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

/* Hero Section */
.page-blog__hero-section {
    background: linear-gradient(135deg, #0A1931 0%, #1a3055 100%); /* Dark blue gradient */
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFD700; /* Gold text for hero title */
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #FFD700;
}

.page-blog__hero-content {
    max-width: 800px;
    z-index: 1;
}

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

.page-blog__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f5e6ce; /* Light cream */
}

.page-blog__hero-cta-btn {
    display: inline-block;
    background-color: #FFD700; /* Gold */
    color: #0A1931; /* Dark blue */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-blog__hero-cta-btn:hover {
    background-color: #e6c200; /* Darker gold */
    transform: translateY(-3px);
}

.page-blog__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

.page-blog__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Main Content Area */
.page-blog__main-content-area {
    padding: 40px 0;
}

.page-blog__articles-list {
    flex: 3;
}

.page-blog__sidebar {
    flex: 1;
    background-color: #1a3055; /* Slightly lighter dark blue for sidebar */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-blog__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

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

/* Article Card */
.page-blog__article-card {
    background-color: #1a3055; /* Lighter dark blue */
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-blog__article-card:hover {
    transform: translateY(-5px);
}

.page-blog__article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #FFD700;
}

.page-blog__article-info {
    padding: 25px;
}

.page-blog__article-title {
    font-size: 1.8em;
    margin-bottom: 10px;
}

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

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

.page-blog__article-meta {
    font-size: 0.9em;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.page-blog__article-summary {
    font-size: 1em;
    color: #f5e6ce;
    margin-bottom: 20px;
}

.page-blog__read-more-btn {
    display: inline-block;
    background-color: #FFD700; /* Gold */
    color: #0A1931; /* Dark blue */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

/* Pagination */
.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 #FFD700;
    color: #FFD700;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__pagination-link:hover,
.page-blog__pagination-link--active {
    background-color: #FFD700;
    color: #0A1931;
}

/* Sidebar Widgets */
.page-blog__sidebar-widget {
    margin-bottom: 30px;
}

.page-blog__widget-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-blog__search-box {
    display: flex;
}

.page-blog__search-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #FFD700;
    border-radius: 5px 0 0 5px;
    background-color: #0A1931;
    color: #f5e6ce;
}

.page-blog__search-input::placeholder {
    color: #a0a0a0;
}

.page-blog__search-button {
    background-color: #FFD700; /* Gold */
    color: #0A1931; /* Dark blue */
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-blog__categories-list {
    list-style: none;
    padding: 0;
}

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

.page-blog__categories-list a {
    color: #f5e6ce;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.page-blog__categories-list a:hover {
    color: #FFD700;
    border-left-color: #FFD700;
}

.page-blog__promo-widget p {
    color: #f5e6ce;
    margin-bottom: 15px;
}

.page-blog__promo-widget a {
    color: #FFD700;
    text-decoration: none;
}

.page-blog__promo-widget a:hover {
    text-decoration: underline;
}

.page-blog__promo-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #FFD700; /* Gold */
    color: #0A1931; /* Dark blue */
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-blog__promo-btn:hover {
    background-color: #e6c200;
}

.page-blog__promo-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-blog__container {
        flex-direction: column;
    }

    .page-blog__sidebar {
        order: -1; /* Sidebar above articles on smaller screens */
    }
}

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

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

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

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

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

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

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

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

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

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

    .page-blog__read-more-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .page-blog__search-box {
        flex-direction: column;
    }

    .page-blog__search-input {
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .page-blog__search-button {
        border-radius: 5px;
        width: 100%;
    }
}