﻿.hero-section {
    position: relative;
    background-color: #0d2c53;
    background-size: cover;
    min-height: 380px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    text-align: center;
}

    .hero-section .container {
        margin-top: 90px;
    }

    .hero-section .row {
        text-align: center;
    }

    .hero-section h1 {
        font-size: 3rem;
        font-weight: bold;
        margin: 0;
        color: white;
    }

    .hero-section p {
        font-size: 1.25rem;
        margin-top: 1rem;
    }

    .hero-section .row h2 {
        color: #d31a38;
    }

/* ========================================
   BREADCRUMBS SECTION
   ======================================== */

.breadcrumbs-section {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item a {
    color: #1a3a5c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #d31a38;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #999;
    padding: 0 8px;
}

/* ========================================
   BLOG POST IMAGE WITH DATE BADGE & CATEGORY
   ======================================== */

.blog-post-image-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-post-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Date Badge - Same style as Post Hub */
.blog-post-image-wrapper .post-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ffffff;
    padding: 12px 16px;
    text-align: center;
    z-index: 3;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.blog-post-image-wrapper .date-month {
    font-size: 11px;
    text-transform: uppercase;
    color: #8b1a1a;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
}

.blog-post-image-wrapper .date-day {
    font-size: 32px;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
}

.blog-post-image-wrapper .date-year {
    font-size: 11px;
    color: #666;
    font-weight: 500;
    padding-top: 6px;
}

/* Category Label - Same style as Post Hub */
.blog-post-image-wrapper .post-category-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(13, 44, 83, 0.9);
    padding: 4px 10px;
    font-size: 9px;
    color: #fff;
    font-weight: 600;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
    height: auto;
    width: auto;
    display: inline-block;
}

.related-posts {
    padding: 50px 0;
    border-top: 1px solid #e5e5e5;
    margin-top: 40px;
}

.related-posts h3 {
    text-align: left;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a3a5c;
}

.related-post-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.related-post-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    flex: 1;
    min-width: 0;
}

.related-post-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.related-post-title a {
    color: #1a3a5c;
    text-decoration: none;
}

.related-post-title a:hover {
    color: #8b1a1a;
    text-decoration: underline;
}

.related-post-date {
    font-size: 12px;
    color: #888;
}

.navigation-controls {
    display: flex;
    justify-content: center; 
    align-items: center; 
    gap: 20px;  
    font-size: 1.5rem;  
}

    .navigation-controls a {
        text-decoration: none;
        color: #0d2c53; 
        font-weight: bold;
    }

    .navigation-controls .home {
        font-size: 1.5rem;  
    }

    .navigation-controls .arrow {
        font-size: 2rem;  
    }

@media (max-width: 768px) {
    .navigation-controls {
        flex-direction: row; 
    }
    
    .breadcrumbs-section {
        padding: 15px 0;
    }
    
    .breadcrumb {
        font-size: 13px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 6px;
    }
    
    .blog-post-image-wrapper .post-date-badge {
        top: 15px;
        right: 15px;
        padding: 10px 14px;
        min-width: 55px;
    }
    
    .blog-post-image-wrapper .date-month {
        font-size: 10px;
        padding-bottom: 4px;
    }
    
    .blog-post-image-wrapper .date-day {
        font-size: 28px;
        padding: 4px 0;
    }
    
    .blog-post-image-wrapper .date-year {
        font-size: 10px;
        padding-top: 4px;
    }
    
    .blog-post-image-wrapper .post-category-label {
        top: 15px;
        left: 15px;
        font-size: 8px;
        padding: 4px 9px;
    }
}


section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

p.lead {
    font-size: 1.2rem;
    color: #555;
}


.post-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.post-content {
    margin-bottom: 30px;
}

.post-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.post-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.post-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-img {
    border-radius: 10px;
    width: 100%;
}

@media (max-width: 768px) {
    .post-content {
        text-align: center;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-paragraph {
        font-size: 0.9rem;
    }

    .post-img {
        width: 100%;
    }

    .related-post-item {
        gap: 12px;
    }

    .related-post-thumb {
        width: 80px;
        height: 55px;
    }

    .related-post-title {
        font-size: 13px;
    }
}

:root {
    --crx-navy: #0d2c53;
    --crx-border: #e6e6e6;
    --crx-arrow: #cfcfcf;
}

.crx-postNav {
    background: #fff;
    border-top: 1px solid var(--crx-border);
    border-bottom: 1px solid var(--crx-border);
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: center;
    overflow: visible;
}

.crx-postNav__spacer {
    display: block;
}

.crx-postNav__item {
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--crx-navy);
    min-height: 56px;
}

.crx-postNav__meta {
    display: block;
    margin: 10px;
}

.crx-postNav__kicker {
    display: block;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 6px;
}

.crx-postNav__title {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    color: var(--crx-navy);
}

.crx-postNav__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
    line-height: 1;
    color: var(--crx-arrow);
    pointer-events: none; 
}

.crx-postNav__item--prev {
    padding-left: 34px; 
    text-align: left;
}

    .crx-postNav__item--prev .crx-postNav__arrow {
        left: 0;
    }

.crx-postNav__item--next {
    padding-right: 34px; 
    text-align: right;
}

    .crx-postNav__item--next .crx-postNav__arrow {
        right: 0;
    }

.crx-postNav__item:hover .crx-postNav__title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.crx-postNav__item:hover .crx-postNav__arrow {
    color: var(--crx-navy);
}

@media (max-width: 768px) {
    .crx-postNav {
        max-width: 640px;
        padding: 16px 20px;
        column-gap: 26px;
    }

    .crx-postNav__kicker {
        font-size: 10px;
    }

    .crx-postNav__title {
        font-size: 16px;
    }

    .crx-postNav__arrow {
        font-size: 30px;
    }

    .crx-postNav__item--prev {
        padding-left: 28px;
    }

    .crx-postNav__item--next {
        padding-right: 28px;
    }
}

@media (max-width: 520px) {
    .crx-postNav {
        grid-template-columns: 1fr;
        row-gap: 18px;
        max-width: 520px;
    }

    .crx-postNav__item--next {
        text-align: left;
        padding-right: 0;
        padding-left: 28px;
    }

        .crx-postNav__item--next .crx-postNav__arrow {
            left: 0;
            right: auto;
        }
}

