/*
Theme Name: MH Magazine Lite Child
Theme URI: https://care.nfl-therapy.com
Description: High-Authority Child Theme for Care Navigation Portal (Therapy & Behavioral Health Claims Authority)
Author: Care Navigation Portal Directorate
Template: mh-magazine-lite
Version: 1.0.0
*/

:root {
    --care-navy: #0f172a;
    --care-emerald: #0d514c;
    --care-mint: #eff8f6;
    --care-gold: #c88700;
    --care-slate: #334155;
    --care-border: #e2e8f0;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.mh-header {
    background: #ffffff;
    border-bottom: 2px solid #0d514c;
}
.mh-header-title {
    font-family: inherit;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.mh-header-tagline {
    color: #0d514c;
    font-weight: 600;
    font-size: 14px;
}
.mh-main-nav-wrap {
    background: #0f172a;
    border-top: none;
    border-bottom: 3px solid #0d514c;
}
.mh-main-nav li a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 14px 18px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.mh-main-nav li:hover > a,
.mh-main-nav li.current-menu-item > a {
    background: #0d514c !important;
    color: #ffffff !important;
}
.mh-main-nav ul.sub-menu {
    background: #0f172a;
    border-top: 3px solid #0d514c;
}
.mh-main-nav ul.sub-menu li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.slicknav_menu {
    background: #0f172a !important;
    padding: 10px 14px !important;
    border-bottom: 3px solid #0d514c !important;
}
.slicknav_btn {
    background: #0d514c !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    margin: 4px 0 !important;
}
.slicknav_nav {
    background: #0f172a !important;
    margin-top: 10px !important;
}
.slicknav_nav a {
    color: #ffffff !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-weight: 600 !important;
}
.slicknav_nav a:hover {
    background: #0d514c !important;
    color: #ffffff !important;
}

.home #main-content.mh-loop,
.archive #main-content.mh-loop,
.blog #main-content.mh-loop,
.search #main-content.mh-loop {
    width: 100% !important;
    float: none !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-top: 28px !important;
    padding-top: 10px !important;
}
.home .mh-sidebar,
.archive .mh-sidebar,
.blog .mh-sidebar,
.search .mh-sidebar {
    display: none !important;
}

.home .mh-loop-item,
.archive .mh-loop-item,
.blog .mh-loop-item,
.search .mh-loop-item {
    margin: 0 !important;
    padding: 22px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.home .mh-loop-item:hover,
.archive .mh-loop-item:hover,
.blog .mh-loop-item:hover,
.search .mh-loop-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 20px -3px rgba(15, 23, 42, 0.1) !important;
    border-color: #cbd5e1 !important;
}
.mh-loop-thumb {
    float: none !important;
    margin-right: 0 !important;
    margin-bottom: 14px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}
.mh-loop-thumb img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}
.mh-loop-item:hover .mh-loop-thumb img {
    transform: scale(1.03) !important;
}
.mh-loop-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}
.mh-loop-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.mh-loop-title a:hover {
    color: #0d514c !important;
}
.mh-loop-meta {
    font-size: 12.5px !important;
    color: #64748b !important;
    margin-bottom: 12px !important;
}
.mh-loop-excerpt {
    font-size: 14.5px !important;
    color: #334155 !important;
    line-height: 1.6 !important;
    flex-grow: 1 !important;
}

.mh-loop-pagination {
    grid-column: 1 / -1 !important;
    margin-top: 30px !important;
    text-align: center !important;
}
.page-numbers {
    padding: 8px 14px !important;
    margin: 0 4px !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-weight: 600 !important;
}
.page-numbers.current {
    background: #0d514c !important;
    color: #ffffff !important;
    border-color: #0d514c !important;
}

.mh-content {
    background: #ffffff;
    padding: 32px 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03);
}
.entry-title {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.3;
}
.entry-content h2 {
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eff8f6;
}
.entry-content h3 {
    color: #0d514c;
    font-size: 18.5px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 10px;
}
.entry-content p {
    margin-bottom: 18px;
    color: #334155;
    font-size: 16px;
    line-height: 1.75;
}
.entry-content ul, .entry-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
    color: #334155;
}
.entry-content li {
    margin-bottom: 8px;
    line-height: 1.65;
}
.entry-content a {
    color: #0d514c;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.entry-content a:hover {
    color: #0f172a;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 28px 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}
table.historic-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}
table.historic-data-table thead th {
    background-color: #0f172a !important;
    color: #ffffff !important;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}
table.historic-data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
}
table.historic-data-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}
table.historic-data-table tbody tr:hover {
    background-color: #f1f5f9;
}
table.historic-data-table tbody tr:last-child td {
    border-bottom: none;
}

.care-byline {
    font-size: 13.5px;
    color: #64748b;
    background: #f1f5f9;
    padding: 10px 16px;
    border-radius: 6px;
    border-left: 3px solid #0d514c;
    margin-bottom: 24px;
}
.care-byline strong {
    color: #0f172a;
}

.care-summary {
    background-color: #eff8f6;
    border-left: 4px solid #0d514c;
    padding: 18px 22px;
    border-radius: 6px;
    margin: 24px 0;
    color: #0f172a;
    font-size: 15.5px;
    line-height: 1.7;
}

.care-cta {
    background: #0f172a;
    color: #ffffff;
    padding: 24px;
    border-radius: 8px;
    margin: 28px 0;
    box-shadow: 0 6px 12px -2px rgba(15, 23, 42, 0.15);
}
.care-cta h3, .care-cta h4 {
    color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 10px;
}
.care-cta p {
    color: #cbd5e1 !important;
    margin-bottom: 16px;
}
.care-cta a.care-btn {
    display: inline-block;
    background: #0d514c;
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}
.care-cta a.care-btn:hover {
    background: #093c38;
}

.care-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px;
    margin: 26px 0;
}
.care-toc-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.care-toc ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}
.care-toc li {
    margin-bottom: 8px;
    font-size: 14.5px;
}
.care-toc li a {
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 600;
}
.care-toc li a:hover {
    color: #0d514c !important;
}

.care-script {
    background-color: #f5f3ff;
    border-left: 4px solid #6366f1;
    padding: 18px 22px;
    border-radius: 6px;
    margin: 24px 0;
}
.care-script h4 {
    color: #3730a3;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}
.care-script p {
    color: #312e81 !important;
    margin-bottom: 8px;
    font-style: italic;
}

.care-note {
    background-color: #fffbeb;
    border-left: 4px solid #c88700;
    padding: 18px 22px;
    border-radius: 6px;
    margin: 24px 0;
}
.care-note h4 {
    color: #92400e;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}
.care-note p {
    color: #78350f !important;
    margin-bottom: 0;
}

.care-checklist {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
}
.care-checklist h4 {
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 12px;
}
.care-checklist ol {
    margin-bottom: 0;
    padding-left: 20px;
}
.care-checklist li {
    margin-bottom: 10px;
    color: #334155;
}

.care-sources {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 18px 22px;
    margin: 28px 0;
}
.care-sources h4 {
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.care-sources ul {
    margin-bottom: 0;
    padding-left: 20px;
}
.care-sources li {
    font-size: 14px;
    margin-bottom: 6px;
}

.care-disclaimer {
    background: #f1f5f9;
    border-left: 4px solid #64748b;
    padding: 16px 20px;
    border-radius: 6px;
    margin: 28px 0;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
}

blockquote.care-quote {
    background: #f8fafc;
    border-left: 4px solid #0d514c;
    margin: 24px 0;
    padding: 16px 22px;
    font-style: italic;
    color: #1e293b;
    border-radius: 0 6px 6px 0;
}
blockquote.care-quote cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    color: #0d514c;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mh-footer {
    background: #0f172a;
    color: #94a3b8;
    border-top: 4px solid #0d514c;
    padding: 36px 0 20px;
}
.mh-footer h4, .mh-footer .mh-widget-title {
    color: #ffffff !important;
    border-bottom: 2px solid #0d514c !important;
    padding-bottom: 8px !important;
    margin-bottom: 14px !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.mh-footer a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.mh-footer a:hover {
    color: #ffffff !important;
}
.mh-footer ul {
    list-style: none !important;
    padding-left: 0 !important;
}
.mh-footer li {
    margin-bottom: 8px !important;
    font-size: 14px !important;
}
.mh-copyright-wrap {
    background: #090d16;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    padding: 16px 0;
    font-size: 13px;
}
.mh-copyright-wrap a {
    color: #94a3b8;
}

@media screen and (max-width: 980px) {
    .home #main-content.mh-loop,
    .archive #main-content.mh-loop,
    .blog #main-content.mh-loop,
    .search #main-content.mh-loop {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media screen and (max-width: 640px) {
    .home #main-content.mh-loop,
    .archive #main-content.mh-loop,
    .blog #main-content.mh-loop,
    .search #main-content.mh-loop {
        grid-template-columns: 1fr !important;
    }
    .mh-content {
        padding: 20px 16px;
    }
}
