@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    --primary: #006797;
    --primary-light: #00A6CE;
    --action: #F38313;
    --bg-light: #F5F7F9;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #666666;
    --gray-border: #e1e8ed;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-links {
    display: flex;
    gap: 1.5rem;
}

.header-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.header-links a:hover {
    color: var(--primary);
}

.header-links a.active {
    color: var(--primary);
    font-weight: 800;
}

.logo img {
    height: 60px;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Animate to X when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .header-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--gray-border);
        border-bottom: 3px solid var(--primary);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
        z-index: 1050;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .header-links.open {
        display: flex;
    }

    .header-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-border);
        font-size: 1rem;
    }

    .header-links a:last-child {
        border-bottom: none;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
}

.hero-highlight {
    flex: 0.8;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-light);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 320px;
}

/* Highlight Box */
.highlight-box {
    background: var(--white);
    border: 1px solid var(--gray-border);
    padding: 1.5rem;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.05);
    /* Blocky shadow like mockup */
}

.highlight-inner {
    background: var(--primary);
    padding: 2.5rem;
    color: var(--white);
    text-align: center;
}

.highlight-box h2 {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--action);
    display: inline-block;
}

.highlight-box p {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}

/* Main Layout */
.main-layout {
    display: grid;
    /* grid-template-columns: 280px 1fr; (Restored to 1fr while sidebar is hidden) */
    grid-template-columns: 1fr;
    gap: 5rem;
    padding: 4rem 0 8rem;
    align-items: start;
}

/* Sidebar / Quick Links */
.sidebar {
    display: flex;
    flex-direction: column;
}

.sidebar h3 {
    font-size: 1.4rem;
    background: #001f3f;
    color: white;
    padding: 0.8rem 1.5rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 0;
    /* Removed margin to close the gap */
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Buttons stack without gaps for a combined block look */
}

.btn-blue-block {
    background: linear-gradient(180deg, #339CC3 0%, #006797 100%);
    color: white;
    padding: 1rem 1.5rem;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: filter 0.3s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-blue-block:hover {
    filter: brightness(1.1);
}

.btn-orange-block {
    background: linear-gradient(180deg, #FAA347 0%, #F58220 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: filter 0.3s;
}

.btn-orange-block:hover {
    filter: brightness(1.1);
}

/* New to NCD Section (Restored Side-by-Side) */
.ncd-intro {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.ncd-image {
    flex: 0.8;
}

.ncd-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.ncd-text {
    flex: 1.2;
}

.ncd-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.ncd-text h2 span {
    color: var(--primary-light);
}

.ncd-text p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.ncd-list {
    list-style: none;
}

.ncd-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.ncd-list li::before {
    content: "•";
    color: #333;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.ncd-list a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

/* Form Styling */
.contact-form-section {
    background: var(--white);
    padding: 6rem 0;
    border-top: 1px solid var(--gray-border);
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--primary-light);
}

/* Responsive */
@media (max-width: 992px) {

    .hero,
    .main-layout,
    .info-section {
        grid-template-columns: 1fr;
    }
}

/* Resource Page Styling */
.resource-page {
    padding-bottom: 8rem;
}

.resource-intro {
    background: var(--bg-light);
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid var(--gray-border);
    margin-bottom: 4rem;
}

.resource-intro h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.resource-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.resource-section {
    padding: 3rem;
    background: white;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.resource-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resource-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.resource-group h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.resource-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.doc-link:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(5px);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
}

.doc-link svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.doc-link span {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
    font-weight: 400;
}

/* ===== Resource Hub – Panel System ===== */
.rh-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    min-height: calc(100vh - 80px);
    border-top: 1px solid var(--gray-border);
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Sidebar */
.rh-sidebar {
    flex: 0 0 270px;
    background: #e6f3f8;
    border-right: 1px solid var(--gray-border);
    padding: 1.5rem 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.rh-menu-toggle {
    display: none;
}

.rh-menu {
    padding: 0 1rem;
}

.rh-category {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin: 1.25rem 0 0.35rem;
}

.rh-group {
    margin-bottom: 0.1rem;
}

.rh-group-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.6rem 0 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rh-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rh-nav li {
    margin: 0;
}

.rh-link {
    display: block;
    padding: 0.22rem 0.5rem;
    font-size: 0.82rem;
    color: var(--primary);
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rh-link:hover {
    background: #e2f0f8;
    color: var(--primary);
}

.rh-link.active {
    background: #ffffff;
    color: var(--action);
    font-weight: 600;
}

.rh-divider {
    border: none;
    border-top: 1px solid #d9e6ef;
    margin: 0.6rem 0;
}

/* Content Area */
.rh-content {
    flex: 1;
    padding: 3rem 3.5rem;
    min-height: calc(100vh - 80px);
    background: #fff;
}

.rh-panel {
    display: none;
}

.rh-panel.active {
    display: block;
}

.rh-panel h4 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-border);
}

.rh-panel-logo {
    margin-bottom: 2rem;
}

/* Accordion */
.rh-accordion details {
    border-bottom: 1px solid var(--gray-border);
}

.rh-accordion details:first-child {
    border-top: 1px solid var(--gray-border);
}

.rh-accordion summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
}

.rh-accordion summary::-webkit-details-marker { display: none; }

.rh-accordion summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.2s;
}

.rh-accordion details[open] summary::after {
    content: '\2212';
}

.rh-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.5rem 0.5rem 1.25rem;
}

.rh-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.rh-links a:hover {
    color: var(--action);
    text-decoration: underline;
}

.rh-disclaimer {
    color: #D72638;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff5f5;
    border-left: 3px solid #D72638;
}

/* Mobile */
@media (max-width: 800px) {
    .rh-layout {
        flex-direction: column;
    }

    .rh-sidebar {
        position: static;
        flex: none;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
        padding: 0;
    }

    .rh-menu-toggle {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        background: var(--primary);
        color: white;
        border: none;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        text-align: left;
    }

    .rh-menu {
        display: none;
        padding: 1rem 1.5rem;
    }

    .rh-menu.open {
        display: block;
    }

    .rh-content {
        padding: 2rem 1.5rem;
    }
}

/* FAQ Mockup Fidelity Refinement */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 8rem;
}

.faq-cat-header {
    background: #f0f7fa;
    padding: 1.2rem 2rem;
    margin: 4rem 0 1rem;
    border-left: 6px solid #001f3f;
}

.faq-cat-header h2 {
    font-size: 1.6rem;
    color: #001f3f;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.faq-item {
    border: 1px solid #c2dbe8;
    /* Lighter blue border from mockup */
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.faq-question {
    width: 100%;
    padding: 1.8rem 2rem;
    background: white;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 700;
    color: #006797;
    transition: background 0.3s;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary-light);
    transition: transform 0.3s;
    font-weight: 400;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 3000px;
}

.faq-content-inner {
    padding: 0 2rem 2.5rem;
    color: #444;
    font-size: 1.1rem;
}

/* State Grid for long lists */
.state-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0;
    list-style: none !important;
    padding-left: 0 !important;
}

.state-grid li {
    font-size: 0.95rem;
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.state-grid li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.pricing-list {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid var(--gray-border);
}

.pricing-list p {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 0.5rem;
}

.pricing-list strong {
    color: var(--primary);
}

.faq-contact-box {
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 4rem;
    text-align: center;
}

.faq-contact-box h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.faq-contact-box a {
    color: white;
    font-weight: 700;
}

.faq-contact-list {
    list-style: none;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-left: 0;
}

.faq-contact-list li::before {
    content: "· ";
    font-weight: 700;
}

/* Commission Schedule */
.commission-schedule {
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: 2rem 2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.commission-schedule-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-border);
}

.commission-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.commission-effective {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.commission-table-wrap {
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.commission-table th,
.commission-table td {
    border: 1px solid #ccc;
    padding: 0.6rem 0.9rem;
    text-align: center;
}

.commission-table th {
    background: #f0f4f7;
    font-weight: 700;
    font-size: 0.82rem;
}

.commission-table td:first-child,
.commission-table th:first-child {
    text-align: left;
}

.commission-note {
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.commission-rules {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.commission-rules ul {
    margin-top: 0.4rem;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Homepage Quick Links Section */
.quick-links-section {
    padding: 8rem 0;
    background: #fff;
    text-align: center;
}

.quick-links-section h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.quick-links-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--action);
    margin: 1rem auto 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.quick-link-card {
    padding: 3rem 2rem;
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-link-card:hover {
    transform: translateY(-10px);
}

.quick-link-card .icon-box {
    width: 120px;
    height: 120px;
    background: #e6f4f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.quick-link-card .icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quick-link-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.quick-link-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
    /* Key fix: allows paragraph to expand and push button down */
}

.quick-link-card .btn-teal {
    background: #0084ad;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.3s;
    display: inline-block;
}

.quick-link-card .btn-teal:hover {
    background: #006797;
}

@media (max-width: 992px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Training Page Styles */
.training-container {
    padding: 6rem 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.playbook-promo {
    background: linear-gradient(135deg, #f4f9fc 0%, #e6f4f9 100%);
    padding: 4rem;
    border-radius: 12px;
    margin-bottom: 6rem;
    border: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.playbook-text {
    flex: 1;
}

.playbook-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.playbook-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.video-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.video-section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

@media (max-width: 992px) {
    .playbook-promo {
        flex-direction: column;
        padding: 3rem 2rem;
        text-align: center;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Medicare Page Styles */
.medicare-container {
    padding: 6rem 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.medicare-hero-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.medicare-tag {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 2px solid #FF0000;
    color: #FF0000;
    padding: 0.6rem 1.8rem;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.1);
}

.medicare-title {
    font-size: 3.5rem;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.1;
    max-width: 800px;
}

.medicare-split {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.senior-card {
    flex: 1;
    position: relative;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    overflow: hidden;
    background: white;
    display: flex;
    flex-direction: column;
}

.senior-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.senior-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.senior-card-overlay h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    line-height: 1.1;
    font-weight: 800;
}

.senior-card-overlay p {
    font-style: italic;
    font-size: 2.8rem;
    font-weight: 800;
    color: #3d5a80;
    margin: 0;
}

.senior-card-footer {
    background: #001f3f;
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.medicare-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.medicare-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.medicare-content p:last-child {
    margin-bottom: 0;
}

.medicare-full-width {
    padding-top: 4rem;
    margin-top: 4rem;
    border-top: 1px solid var(--gray-border);
}

.medicare-full-width .medicare-point {
    background: #fff;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.medicare-full-width .medicare-point h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.medicare-full-width .medicare-point p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.advantage-callout {
    color: #FF0000;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .medicare-split {
        flex-direction: column;
    }

    .senior-card-overlay h3 {
        font-size: 2rem;
    }

    .senior-card-overlay p {
        font-size: 2.22rem;
    }
}


.medicare-content a:hover {
    color: var(--action) !important;
}

/* Resource Hub Clone Styles */
.resource-hub-clone {
    display: flex;
    gap: 3rem;
    padding: 4rem 0;
    align-items: flex-start;
}

.rh-sidebar {
    flex: 0 0 320px;
    background: #f8fbfe;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 2.5rem;
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.rh-sidebar-group {
    margin-bottom: 2rem;
}

.rh-sidebar-group h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #d0e3ef;
    padding-bottom: 0.5rem;
}

.rh-sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rh-sidebar-nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: block;
}

.rh-sidebar-nav a:hover, .rh-sidebar-nav a.active {
    color: var(--action);
    transform: translateX(5px);
}

.rh-main-content {
    flex: 1;
}

.rh-content-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.rh-content-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rh-content-header {
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 1.5rem;
}

.rh-content-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Tool Cards / Resource Groups */
.resource-card {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.resource-card summary {
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-card summary::-webkit-details-marker {
    display: none;
}

.resource-card summary::after {
    content: '+';
    font-size: 2rem;
    color: var(--primary-light);
}

.resource-card[open] summary::after {
    content: '−';
}

.resource-card-body {
    padding: 0 2rem 2rem;
}

.rh-link-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    list-style: none;
}

.rh-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f4f9fc;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.rh-link-item:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rh-link-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
}

@media (max-width: 992px) {
    .resource-hub-clone {
        flex-direction: column;
    }
    .rh-sidebar {
        flex: none;
        width: 100%;
        position: static;
        max-height: none;
    }
}
