/* Military Transition — Guide Navigation page (extends Member Services design system) */

/* Hero background */
.guide-navigation-hero {
    background-image: url('/images/blog/newBlogImg.jpg');
    background-position: center 40%;
}

/* Tagline (matches AboutUs / Contact page) */
.guide-navigation-page .aboutus-tagline {
    margin-top: 18px !important;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.55;
    color: #1e4e79;
}

/* Left nav selected row */
.guide-navigation-page .selectedblogrow {
    background-color: #F00;
    color: #fff;
}

/* Featured categories section — original blue design */
.guide-categories-section {
    padding-bottom: 48px;
}

.guide-categories-section .featured-categories-wrap {
    margin-top: 0;
    background: #fff;
    border: 1px solid #0b2a5b;
    overflow: hidden;
}

.guide-categories-section .featured-categories-header {
    padding: 14px 16px 8px 16px;
    background: #0b2a5b;
    color: #fff;
    text-align: center;
}

.guide-categories-section .featured-categories-header h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
}

.guide-categories-section .featured-categories-header p {
    margin: 6px 0 0 0;
    font-size: 19.5px;
    opacity: 0.95;
    color: #fff;
}

.guide-categories-section .featured-categories-table-wrap {
    padding: 10px 10px 0 10px;
}

.guide-categories-section .featured-categories-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 19.5px;
}

.guide-categories-section .featured-categories-table thead th {
    background: #103a73;
    color: #fff;
    padding: 10px 10px;
    text-align: left;
    font-weight: 700;
    border: 1px solid #103a73;
}

.guide-categories-section .featured-categories-table tbody td {
    padding: 8px 10px;
    vertical-align: top;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.guide-categories-section .featured-categories-table tbody tr:nth-child(odd) td {
    background: #f7f9fb;
}

.guide-categories-section .featured-category-cell {
    width: 34%;
    font-weight: 700;
    color: #1b1b1b;
}

.guide-categories-section .featured-topics-cell {
    width: 66%;
    color: #1b1b1b;
}

.guide-categories-section .featured-categories-cta {
    padding: 14px 12px 16px 12px;
    display: flex;
    justify-content: center;
}

.guide-categories-section .featured-categories-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #0b2a5b;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid #c21f1f;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    font-size: 27px;
    transition: none;
    transform: none;
}

.guide-categories-section .featured-categories-button:hover,
.guide-categories-section .featured-categories-button:focus {
    color: #fff;
    text-decoration: none;
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.guide-categories-section .featured-categories-button:focus-visible {
    outline: 3px solid rgba(194, 31, 31, 0.55);
    outline-offset: 2px;
}

/* Mobile: content above nav menu */
@media (max-width: 767px) {
    #guides.servicesPageNav {
        display: flex;
        flex-direction: column;
    }

    #guides.servicesPageNav > .col-sm-1 {
        display: none;
    }

    #guides.servicesPageNav > .col-sm-6 {
        order: 1;
        width: 100%;
    }

    #guides.servicesPageNav > .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl {
        order: 2;
        width: 100%;
    }
}

/* Mobile: table rows become stacked cards */
@media (max-width: 640px) {
    .guide-categories-section .featured-categories-table-wrap {
        padding: 10px 8px 0 8px;
    }

    .guide-categories-section .featured-categories-table thead {
        display: none;
    }

    .guide-categories-section .featured-categories-table tbody tr {
        display: block;
        margin: 0 0 10px 0;
        border: 1px solid #d9d9d9;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .guide-categories-section .featured-categories-table tbody td {
        display: block;
        border: none;
        border-bottom: 1px solid #e6e6e6;
        padding: 10px 12px;
    }

    .guide-categories-section .featured-categories-table tbody td:last-child {
        border-bottom: none;
    }

    .guide-categories-section .featured-category-cell {
        width: auto;
    }

    .guide-categories-section .featured-categories-button {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .guide-navigation-hero {
        background-position: center 35%;
    }
}
