/* ============================================================
   CAREER_GUIDES.CSS — Professional Engineering Content Hub
   CareerCatalyst Design System (Phase 6.2D)
   ============================================================ */

/* ------------------------------------------------------------
   1. PAGE WRAPPER & GLOBAL SURFACES
   ------------------------------------------------------------ */
.guides-page,
.guide-detail-page {
    background-color: var(--bg);
    color: var(--text);
    min-height: 80vh;
    overflow-x: hidden;
    max-width: 100vw;
}

/* ------------------------------------------------------------
   2. EDITORIAL HERO & BREADCRUMBS
   ------------------------------------------------------------ */
.guides-hero,
.guide-header-section {
    background-color: var(--surface-muted);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0 2.25rem;
}

html[data-theme="dark"] .guides-hero,
html[data-theme="dark"] .guide-header-section {
    background-color: #111115;
    border-bottom-color: var(--border);
}

.guides-breadcrumb,
.guide-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.guides-breadcrumb .breadcrumb-item a,
.guide-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 150ms ease;
}

.guides-breadcrumb .breadcrumb-item a:hover,
.guide-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.guides-breadcrumb .breadcrumb-item.active,
.guide-breadcrumb .breadcrumb-item.active {
    color: var(--text);
}

.guides-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full, 9999px);
    background-color: var(--primary-subtle);
    border: 1px solid var(--primary-border);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

html[data-theme="dark"] .guides-kicker {
    color: #60A5FA;
}

.guides-hero-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}

@media (max-width: 575.98px) {
    .guides-hero-title {
        font-size: 1.75rem;
    }
}

.guides-hero-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 720px;
}

/* ------------------------------------------------------------
   3. CATEGORY FILTER NAVIGATION
   ------------------------------------------------------------ */
.guide-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.guide-filter-btn {
    border: 1px solid var(--border);
    background-color: var(--card-bg);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full, 9999px);
    cursor: pointer;
    transition: all 150ms ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.guide-filter-btn:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background-color: var(--surface-hover);
}

.guide-filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    font-weight: 600;
}

/* ------------------------------------------------------------
   4. FEATURED EDITORIAL GUIDE PANEL
   ------------------------------------------------------------ */
.guide-featured-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl, 14px);
    overflow: hidden;
    margin-bottom: 2.75rem;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    box-shadow: var(--shadow-sm);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.guide-featured-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

@media (max-width: 991.98px) {
    .guide-featured-card {
        grid-template-columns: 1fr;
    }
}

.featured-card-content {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 575.98px) {
    .featured-card-content {
        padding: 1.5rem;
    }
}

.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

html[data-theme="dark"] .featured-label {
    color: #60A5FA;
}

.featured-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 150ms ease;
}

.featured-title a:hover {
    color: var(--primary);
}

html[data-theme="dark"] .featured-title a:hover {
    color: #60A5FA;
}

.featured-excerpt {
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.featured-meta-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.featured-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.featured-card-aside {
    background-color: var(--surface-muted);
    border-left: 1px solid var(--border);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

html[data-theme="dark"] .featured-card-aside {
    background-color: #151519;
    border-left-color: var(--border);
}

@media (max-width: 991.98px) {
    .featured-card-aside {
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 1.75rem 1.5rem;
    }
}

.aside-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aside-syllabus-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aside-syllabus-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--secondary);
    line-height: 1.45;
}

.aside-syllabus-item i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

html[data-theme="dark"] .aside-syllabus-item i {
    color: #60A5FA;
}

.aside-roadmap-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 8px);
    padding: 1rem 1.15rem;
}

/* ------------------------------------------------------------
   5. EDITORIAL CURATED GRID (4 In-Depth Guides)
   ------------------------------------------------------------ */
.guide-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 899.98px) {
    .guide-editorial-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.editorial-guide-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
    position: relative;
    box-shadow: var(--shadow-xs);
    min-width: 0;
    overflow-wrap: break-word;
}

.editorial-guide-card:hover {
    transform: none;
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

@media (max-width: 575.98px) {
    .editorial-guide-card {
        padding: 1.35rem 1.15rem;
    }
}

.editorial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.editorial-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.85rem;
}

.editorial-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 150ms ease;
}

.editorial-card-title a:hover {
    color: var(--primary);
}

html[data-theme="dark"] .editorial-card-title a:hover {
    color: #60A5FA;
}

.editorial-card-desc {
    font-size: 0.9125rem;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1.35rem;
    flex-grow: 1;
}

.editorial-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.editorial-read-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 150ms ease;
}

.editorial-read-link:hover {
    gap: 0.55rem;
    color: var(--primary-hover);
}

html[data-theme="dark"] .editorial-read-link {
    color: #60A5FA;
}

html[data-theme="dark"] .editorial-read-link:hover {
    color: #93C5FD;
}

/* ------------------------------------------------------------
   6. CATEGORY BADGES (Semantic & Theme Aware)
   ------------------------------------------------------------ */
.guide-badge {
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full, 9999px);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
}

.guide-badge-roadmaps {
    background-color: #EFF6FF;
    color: #1D4ED8;
    border-color: rgba(37, 99, 235, 0.25);
}

.guide-badge-comparisons {
    background-color: #FFFBEB;
    color: #B45309;
    border-color: rgba(217, 119, 6, 0.25);
}

.guide-badge-fundamentals {
    background-color: #F0FDF4;
    color: #15803D;
    border-color: rgba(22, 163, 74, 0.25);
}

.guide-badge-portfolio {
    background-color: #FAF5FF;
    color: #7E22CE;
    border-color: rgba(147, 51, 234, 0.25);
}

.guide-badge-interview {
    background-color: #FEF2F2;
    color: #B91C1C;
    border-color: rgba(220, 38, 38, 0.25);
}

html[data-theme="dark"] .guide-badge-roadmaps {
    background-color: rgba(59, 130, 246, 0.15);
    color: #93C5FD;
    border-color: rgba(59, 130, 246, 0.3);
}

html[data-theme="dark"] .guide-badge-comparisons {
    background-color: rgba(245, 158, 11, 0.15);
    color: #FDE68A;
    border-color: rgba(245, 158, 11, 0.3);
}

html[data-theme="dark"] .guide-badge-fundamentals {
    background-color: rgba(34, 197, 94, 0.15);
    color: #86EFAC;
    border-color: rgba(34, 197, 94, 0.3);
}

html[data-theme="dark"] .guide-badge-portfolio {
    background-color: rgba(168, 85, 247, 0.15);
    color: #D8B4FE;
    border-color: rgba(168, 85, 247, 0.3);
}

html[data-theme="dark"] .guide-badge-interview {
    background-color: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border-color: rgba(239, 68, 68, 0.3);
}

/* ------------------------------------------------------------
   6B. TARGET AUDIENCE PILL (Robust Multi-line & Mobile Responsive)
   ------------------------------------------------------------ */
.guide-audience-pill {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
    max-width: 100%;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: left;
    line-height: 1.45;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-md, 8px);
    background-color: var(--surface-muted, #F9FAFB);
    border: 1px solid var(--border, #E5E7EB);
    color: var(--secondary, #4B5563);
    box-sizing: border-box;
}

.guide-audience-pill i {
    flex-shrink: 0;
    margin-top: 0.12rem;
    font-size: 0.8rem;
    color: var(--primary, #2563EB);
}

.guide-audience-pill span {
    flex: 1;
    min-width: 0;
}

html[data-theme="dark"] .guide-audience-pill {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
}

html[data-theme="dark"] .guide-audience-pill i {
    color: #60A5FA;
}

/* ------------------------------------------------------------
   7. EDITORIAL STANDARDS & INTEGRITY BANNER
   ------------------------------------------------------------ */
.editorial-standards-card {
    background-color: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    padding: 2rem 2.25rem;
    margin-bottom: 3.5rem;
}

html[data-theme="dark"] .editorial-standards-card {
    background-color: #111115;
    border-color: var(--border);
}

.standards-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.standards-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0;
}

.standards-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ------------------------------------------------------------
   8. ARTICLE DETAIL PAGE (Long-form Reading Quality)
   ------------------------------------------------------------ */
.guide-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    position: relative;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 991.98px) {
    .guide-layout {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

.guide-article-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 1.15rem;
    letter-spacing: -0.015em;
}

@media (max-width: 575.98px) {
    .guide-article-title {
        font-size: 1.75rem;
    }
}

.guide-meta-bar {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.guide-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Desktop Sticky Table of Contents Sidebar */
.guide-sidebar {
    position: sticky;
    top: 5.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    padding: 1.35rem 1.25rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    box-shadow: var(--shadow-xs);
}

.toc-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-link {
    font-size: 0.835rem;
    color: var(--secondary);
    text-decoration: none;
    line-height: 1.45;
    transition: color 150ms ease, padding-left 150ms ease;
    display: block;
    padding: 0.2rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
}

.toc-link:hover {
    color: var(--primary);
    padding-left: 0.75rem;
}

.toc-link.active {
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
}

html[data-theme="dark"] .toc-link:hover {
    color: #60A5FA;
}

html[data-theme="dark"] .toc-link.active {
    color: #60A5FA;
    border-left-color: #60A5FA;
}

/* Long-Form Reading Column */
.article-reading-container {
    max-width: 740px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.article-body {
    color: var(--text);
    line-height: 1.8;
    font-size: 1.05rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

@media (max-width: 575.98px) {
    .article-body {
        font-size: 0.975rem;
        line-height: 1.7;
    }
}

.article-section {
    margin-bottom: 2.75rem;
    scroll-margin-top: 5.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
}

.article-h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
    .article-h2 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
}

.article-p {
    margin-bottom: 1.25rem;
    color: var(--secondary);
    line-height: 1.8;
    overflow-wrap: break-word;
}

.article-list {
    margin-bottom: 1.35rem;
    padding-left: 1.4rem;
    color: var(--secondary);
    max-width: 100%;
    overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
    .article-list {
        padding-left: 1.15rem;
    }
}

.article-list li {
    margin-bottom: 0.55rem;
    line-height: 1.65;
    overflow-wrap: break-word;
}

/* Executive Summary / Key Takeaways Box */
.key-takeaways-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-lg, 12px);
    padding: 1.85rem;
    margin: 2rem 0 2.5rem;
    box-shadow: var(--shadow-xs);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
    .key-takeaways-card {
        padding: 1.25rem 1rem;
        margin: 1.25rem 0 1.75rem;
    }
    .takeaways-title {
        font-size: 1.05rem;
        margin-bottom: 0.85rem;
    }
}

html[data-theme="dark"] .key-takeaways-card {
    background-color: #111115;
    border-color: var(--border);
}

.takeaways-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

html[data-theme="dark"] .takeaways-title {
    color: #60A5FA;
}

.takeaways-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

.takeaways-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.takeaways-list li i {
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.takeaways-list li span {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

html[data-theme="dark"] .takeaways-list li i {
    color: #60A5FA;
}

/* Callout Boxes */
.article-callout {
    border-radius: var(--radius-md, 8px);
    padding: 1.25rem 1.35rem;
    margin: 1.75rem 0;
    border-left: 4px solid;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
    .article-callout {
        padding: 1rem 1rem;
        margin: 1.25rem 0;
    }
}

.article-callout-info {
    background-color: #EFF6FF;
    border-color: #3B82F6;
    color: #1E3A8A;
}

.article-callout-tip {
    background-color: #F0FDF4;
    border-color: #22C55E;
    color: #14532D;
}

.article-callout-warning {
    background-color: #FFFBEB;
    border-color: #F59E0B;
    color: #78350F;
}

html[data-theme="dark"] .article-callout-info {
    background-color: rgba(59, 130, 246, 0.12);
    border-color: #3B82F6;
    color: #93C5FD;
}

html[data-theme="dark"] .article-callout-tip {
    background-color: rgba(34, 197, 94, 0.12);
    border-color: #22C55E;
    color: #86EFAC;
}

html[data-theme="dark"] .article-callout-warning {
    background-color: rgba(245, 158, 11, 0.12);
    border-color: #F59E0B;
    color: #FDE68A;
}

.callout-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-callout p {
    margin-bottom: 0;
    font-size: 0.925rem;
    line-height: 1.6;
    color: inherit;
    overflow-wrap: break-word;
}

/* Code Snippet Wrapper */
.article-code-wrapper {
    background-color: #0F172A;
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    margin: 1.75rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.code-header {
    background-color: #1E293B;
    padding: 0.4rem 1rem;
    display: flex;
    justify-content: flex-end;
}

.code-lang {
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    font-family: monospace;
}

.article-code-wrapper pre {
    margin: 0;
    padding: 1.25rem;
    color: #F8FAFC;
    font-size: 0.875rem;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
    .article-code-wrapper pre {
        padding: 1rem;
        font-size: 0.8125rem;
    }
}

/* Table Responsive Hardening */
.article-section .table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.25rem 0;
    border-radius: var(--radius-md, 8px);
}

/* Related Roadmaps Grid */
.related-roadmaps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .related-roadmaps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.roadmap-mini-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 10px);
    padding: 1.35rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
    max-width: 100%;
    box-sizing: border-box;
}

.roadmap-mini-card:hover {
    transform: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    color: inherit;
}

html[data-theme="dark"] .roadmap-mini-card:hover {
    box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.5);
    border-color: var(--border-strong);
}

.roadmap-mini-card h3 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
}

.roadmap-mini-card p {
    color: var(--text-muted);
}

/* Related Career Guides Row */
.related-guide-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 10px);
    padding: 1.35rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 150ms ease, transform 150ms ease;
    max-width: 100%;
    box-sizing: border-box;
}

.related-guide-box:hover {
    border-color: var(--border-strong);
    transform: none;
}

/* Call to Action Banner */
.roadmap-cta-banner {
    background-color: var(--surface-muted);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-xl, 14px);
    padding: 2.25rem 2rem;
    margin-top: 3.5rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
    .roadmap-cta-banner {
        padding: 1.5rem 1.15rem;
        margin-top: 2.5rem;
    }
}

html[data-theme="dark"] .roadmap-cta-banner {
    background-color: #111115;
    border-color: rgba(59, 130, 246, 0.25);
}
