:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow: #4FA8FF;
    --gold: #F2C14E;
    --divider: #1B3357;
    --deep-navy: #08162B;
}

/* General Styling for Blog Page */
.page-blog {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Light text on potentially dark body background */
    background-color: var(--deep-navy); /* Inherited from body via shared.css */
}

.page-blog__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-blog__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.page-blog__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--deep-navy), var(--gold), var(--deep-navy));
    border-radius: 2px;
}
.page-blog__section-title--light {
    color: var(--text-main);
}
.page-blog__section-title--light::after {
    background: linear-gradient(to right, var(--card-bg), var(--gold), var(--card-bg));
}

.page-blog__section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px auto;
    line-height: 1.8;
}
.page-blog__section-description--light {
    color: var(--text-main);
}

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    padding: 80px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--deep-navy);
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-blog__hero-content {
    max-width: 900px;
    margin: 0 auto 40px auto;
    z-index: 2;
    position: relative;
}

.page-blog__main-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-blog__intro-text {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 30px;
}
.page-blog__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Blog List Section */
.page-blog__blog-list-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-blog__blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.page-blog__blog-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-blog__card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-blog__card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-blog__card-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-blog__card-excerpt {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1; /* Allows excerpt to take available space */
}

/* Pagination */
.page-blog__pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-blog__pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-blog__pagination-item:hover:not(.page-blog__pagination-item--active) {
    background-color: var(--glow);
    color: #fff;
    border-color: var(--glow);
}

.page-blog__pagination-item--active {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #fff;
    border-color: #1144A6;
    cursor: default;
}

/* Featured Posts Section */
.page-blog__featured-posts-section {
    padding: 80px 0;
    background-color: var(--card-bg); /* Darker background for contrast */
}

.page-blog__featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.page-blog__featured-card {
    background-color: var(--deep-navy);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog__featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* CTA Section */
.page-blog__cta-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
    text-align: center;
}

.page-blog__cta-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.3;
}