@import url("/css/attachment-modern.css");
@import url("/assets/css/monograph-modules.css");

/* ==========================================================================
   page.css - Styl wizualny dla Huba i Podstron Diagnostyki Różnicowej BPD
   Zapewnia pełną zgodność z systemem Monografii (Wzorzec 09 v3.1 / ICD-11 / Osobowość)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Interaktywna Oś Czasu (Timeline) - Klasy standardu Monografii
   -------------------------------------------------------------------------- */
.monograph-timeline-section {
    margin: 40px 0 60px;
}

.monograph-timeline,
.at-origins-list {
    position: relative;
    padding-left: 36px;
    border-left: 3px solid #2c5f8a;
    margin: 35px 0 50px 15px;
}

.monograph-timeline .at-origin-item,
.at-origins-list .at-origin-item {
    position: relative;
    margin-bottom: 45px;
}

.monograph-timeline .at-origin-item:last-child,
.at-origins-list .at-origin-item:last-child {
    margin-bottom: 10px;
}

.monograph-timeline .at-origin-item::before,
.at-origins-list .at-origin-item::before {
    content: "";
    position: absolute;
    left: -44px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: #2c5f8a;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #2c5f8a;
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #2c5f8a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.35rem;
    color: #1a2430;
    margin: 0 0 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
}

.timeline-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 14px;
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.chip-mini {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(44, 95, 138, 0.08);
    color: #2c5f8a;
    border: 1px solid rgba(44, 95, 138, 0.18);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: #2c5f8a;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    margin-left: auto;
}

.timeline-link:hover {
    text-decoration: underline;
    color: #1a3a5c;
}

@media (max-width: 640px) {
    .monograph-timeline,
    .at-origins-list {
        padding-left: 24px;
        margin-left: 8px;
    }
    .monograph-timeline .at-origin-item::before,
    .at-origins-list .at-origin-item::before {
        left: -32px;
    }
    .timeline-link {
        margin-left: 0;
        width: 100%;
        margin-top: 6px;
    }
}

/* --------------------------------------------------------------------------
   2. Sekcje Blokowe i Nagłówki Standardu Monografii
   -------------------------------------------------------------------------- */
.section-block {
    position: relative;
    background: transparent;
    margin-bottom: 50px;
}

.block-header,
.section-header-compact {
    margin-bottom: 24px;
}

.block-kicker,
.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #947600;
    margin-bottom: 8px;
}

.block-title,
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #1a3a5c;
    margin: 0 0 12px;
    line-height: 1.25;
}

.block-lead,
.section-lead,
.section-lead-text {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #475569;
    max-width: 860px;
    margin: 0 0 20px;
}

.divider {
    width: 60px;
    height: 3px;
    background: #947600;
    margin: 12px 0 16px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Wielka Matryca Diagnostyczna (Tabela Porównawcza)
   -------------------------------------------------------------------------- */
.table-responsive-container {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0 35px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    background: #fff;
    border: 1px solid #e2e8f0;
}

.clinical-comparison-table,
.matrix-table,
.chad-diff-table,
.adhd-diff-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.94rem;
    line-height: 1.6;
}

.clinical-comparison-table thead th,
.matrix-table thead th,
.chad-diff-table th,
.adhd-diff-table th {
    background: #1f4e79;
    color: #fff;
    padding: 16px 18px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border: none;
    white-space: nowrap;
}

.clinical-comparison-table tbody td,
.matrix-table tbody td,
.chad-diff-table td,
.adhd-diff-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #edf2f7;
    color: #334155;
    vertical-align: top;
}

.clinical-comparison-table tbody tr:last-child td,
.matrix-table tbody tr:last-child td {
    border-bottom: none;
}

.clinical-comparison-table tbody tr:nth-child(even),
.matrix-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.clinical-comparison-table tbody tr:hover,
.matrix-table tbody tr:hover {
    background: #f1f5f9;
}

.clinical-comparison-table td:first-child,
.matrix-table td:first-child {
    font-weight: 700;
    color: #1a3a5c;
    background: #fafcff;
}

.matrix-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #2c5f8a;
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(44, 95, 138, 0.06);
    transition: background 0.2s ease;
}

.matrix-link:hover {
    background: rgba(44, 95, 138, 0.14);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. Interaktywny Symulator Diagnostyczny BPD
   -------------------------------------------------------------------------- */
.interactive-diff-tool {
    background: #fff;
    border: 1px solid #d8e2ec;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    margin: 25px 0 40px;
}

.tool-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
}

.tool-label {
    font-weight: 700;
    color: #1a3a5c;
    font-size: 1rem;
}

.tool-select {
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
}

.tool-select:focus {
    border-color: #2c5f8a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.15);
}

.diff-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .diff-card-grid {
        grid-template-columns: 1fr;
    }
}

.diff-box {
    padding: 20px 22px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.diff-box.bpd-box {
    background: #faf8f5;
    border-color: rgba(148, 118, 0, 0.25);
    border-left: 4px solid #947600;
}

.diff-box.comp-box {
    background: #f4f7fb;
    border-color: rgba(44, 95, 138, 0.25);
    border-left: 4px solid #2c5f8a;
}

.diff-box-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a3a5c;
}

.diff-box ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.65;
    color: #334155;
    font-size: 0.93rem;
}

.diff-box li {
    margin-bottom: 8px;
}

.diff-box li strong {
    color: #0f172a;
}

.btn-read-deep,
.tool-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #2c5f8a;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-read-deep:hover,
.tool-read-more:hover {
    background: #1a3a5c;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Standardy Diagnostyczne i Rekomendacje Kliniczne (Karty APA/NICE)
   -------------------------------------------------------------------------- */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0 35px;
}

.guideline-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guideline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.guideline-card h3 {
    font-size: 1.15rem;
    color: #1a3a5c;
    margin: 0 0 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

.guideline-card p {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

.clinical-caution-box {
    background: #fdfbf7;
    border: 1px solid rgba(148, 118, 0, 0.25);
    border-left: 4px solid #947600;
    padding: 20px 24px;
    border-radius: 10px;
    margin: 25px 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
}

/* --------------------------------------------------------------------------
   6. Karty Rozdziałów w Hubie (Chapter Cards)
   -------------------------------------------------------------------------- */
.chapter-card-full {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 34px;
    margin-bottom: 45px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.chapter-card-full:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.chapter-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #2c5f8a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    margin-bottom: 12px;
}

.chapter-subpage-link {
    margin-bottom: 16px;
}

.link-subpage-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a3a5c;
    text-decoration: none;
    padding: 6px 14px;
    background: rgba(44, 95, 138, 0.07);
    border: 1px solid rgba(44, 95, 138, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.link-subpage-btn:hover {
    background: #2c5f8a;
    color: #fff;
    text-decoration: none;
}

.chapter-grid-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.chapter-text-content .chapter-title {
    font-size: 1.35rem;
    color: #1a3a5c;
    margin: 0 0 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

.chapter-text-content .chapter-lead {
    font-size: 1rem;
    line-height: 1.62;
    color: #475569;
    margin-bottom: 14px;
    font-weight: 500;
}

.chapter-text-content .chapter-body {
    font-size: 0.95rem;
    line-height: 1.68;
    color: #334155;
}

/* --------------------------------------------------------------------------
   7. Podstrony Rozdziałów (Monograph Single Article)
   -------------------------------------------------------------------------- */
.monograph-single-article {
    margin: 30px 0 60px;
}

.article-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 15px;
}

.article-breadcrumbs {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 24px;
}

.article-breadcrumbs a {
    color: #2c5f8a;
    text-decoration: none;
    font-weight: 600;
}

.article-breadcrumbs a:hover {
    text-decoration: underline;
}

.article-key-takeaways {
    background: #fdfbf7;
    border: 1px solid rgba(148, 118, 0, 0.2);
    border-left: 4px solid #947600;
    padding: 24px 28px;
    border-radius: 10px;
    margin-bottom: 36px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.takeaways-badge {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6e5800;
    margin-bottom: 12px;
}

.takeaways-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.68;
    color: #334155;
    font-size: 0.96rem;
}

.takeaways-list li {
    margin-bottom: 10px;
}

.takeaways-list li:last-child {
    margin-bottom: 0;
}

.article-content-block {
    margin-bottom: 32px;
    line-height: 1.75;
    font-size: 1.02rem;
    color: #2d3748;
}

.article-content-block h3 {
    color: #1a3a5c;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    margin-top: 36px;
    margin-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 8px;
}

.article-monograph-figure {
    margin: 36px 0;
    background: #fdfbf7;
    border: 1px solid rgba(148, 118, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.monograph-figure-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

.monograph-figure-caption {
    padding: 14px 20px;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #64748b;
    background: #fff;
    border-top: 1px solid #edf2f7;
}

.monograph-methodological-limitations {
    background: #f8fafc;
    border-left: 4px solid #2c5f8a;
    padding: 22px 26px;
    border-radius: 8px;
    margin-top: 36px;
}

.summary-callout-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    margin: 40px 0;
}

.summary-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #947600;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.summary-title {
    color: #1a3a5c;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.summary-callout-card p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. Sekcja FAQ Accordion
   -------------------------------------------------------------------------- */
.monograph-single-faq {
    margin: 50px 0 60px;
}

.accordion-group,
.accordion-container {
    margin: 25px 0 35px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1.02rem;
    color: #1a3a5c;
    cursor: pointer;
    background: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: #2c5f8a;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: "–";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.7;
    border-top: 1px solid #f1f5f9;
}

.faq-answer p {
    margin: 14px 0 0;
}


/* --- Dodatkowe reguly dla struktury artykulow i nawigacji monografii --- */
.monograph-article {
    max-width: 920px;
    margin: 0 auto 50px;
    padding: 0 15px;
    line-height: 1.75;
    color: #2d3748;
}

.monograph-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.monograph-badge-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.monograph-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.monograph-pill--accent {
    background: rgba(44, 95, 138, 0.1);
    color: #2c5f8a;
    border: 1px solid rgba(44, 95, 138, 0.2);
}

.monograph-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #1a3a5c;
    line-height: 1.25;
    margin: 0 0 16px;
}

.monograph-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.monograph-chapter {
    margin: 40px 0;
}

.monograph-chapter h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    color: #1a3a5c;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f7;
}

.clinical-feature-list {
    margin: 18px 0;
    padding-left: 22px;
    line-height: 1.7;
    color: #334155;
}

.clinical-feature-list li {
    margin-bottom: 10px;
}

.clinical-stepped-list {
    margin: 20px 0;
    padding-left: 24px;
    line-height: 1.7;
    color: #334155;
}

.clinical-stepped-list li {
    margin-bottom: 12px;
}

.clinical-protocol-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    padding: 22px 26px;
    border-radius: 10px;
    margin: 30px 0;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #166534;
}

.subpage-nav-grid,
.cluster-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 35px 0 50px;
}

.nav-card,
.cluster-nav-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.nav-card:hover,
.cluster-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    border-color: #2c5f8a;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #947600;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.nav-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.4;
    margin-bottom: 6px;
}

.nav-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.bib-entries-list {
    margin: 20px 0;
    padding-left: 20px;
    line-height: 1.68;
    color: #475569;
    font-size: 0.94rem;
}

.bib-entry {
    margin-bottom: 10px;
}



/* ==========================================================================
   ENHANCED CLINICAL COMPARISON & MATRIX TABLE STYLES
   ========================================================================== */
.table-responsive-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 32px 0 45px;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.clinical-comparison-table,
.matrix-table,
.chad-diff-table,
.adhd-diff-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.94rem;
    line-height: 1.68;
    background: #ffffff;
}

.clinical-comparison-table thead th,
.matrix-table thead th,
.chad-diff-table th,
.adhd-diff-table th {
    background: linear-gradient(180deg, #1f4e79 0%, #173b5c 100%) !important;
    color: #ffffff !important;
    padding: 18px 20px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.03em !important;
    border: none !important;
    border-bottom: 3px solid #0f273d !important;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.clinical-comparison-table tbody td,
.matrix-table tbody td,
.chad-diff-table td,
.adhd-diff-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e9eef5;
    color: #334155;
    vertical-align: top;
    font-size: 0.94rem;
    line-height: 1.68;
    background: #ffffff;
}

.clinical-comparison-table tbody tr:nth-child(even) td,
.matrix-table tbody tr:nth-child(even) td {
    background: #f8fafc !important;
}

.clinical-comparison-table tbody tr:hover td,
.matrix-table tbody tr:hover td {
    background: #f0f7ff !important;
}

.clinical-comparison-table tbody tr:last-child td,
.matrix-table tbody tr:last-child td {
    border-bottom: none;
}

.clinical-comparison-table td:first-child,
.matrix-table td:first-child {
    font-weight: 700;
    color: #1a3a5c;
    background: #fafcff;
    border-right: 1px solid #edf2f7;
    white-space: normal;
}

.clinical-comparison-table tbody tr:nth-child(even) td:first-child,
.matrix-table tbody tr:nth-child(even) td:first-child {
    background: #f1f6fb !important;
}

/* Distinct Clinical Difference Tags */
.diff-tag {
    display: inline-block;
    padding: 2px 7px;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: 0.04em;
    margin-right: 4px;
    margin-top: 4px;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.diff-tag--other {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.diff-tag--bpd {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Matrix Table Navigation Link */
.matrix-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #1f4e79;
    text-decoration: none;
    padding: 6px 12px;
    background: rgba(31, 78, 121, 0.08);
    border: 1px solid rgba(31, 78, 121, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.matrix-link:hover {
    background: #1f4e79;
    color: #ffffff;
    text-decoration: none;
    transform: translateX(2px);
}

/* ==========================================================================
   CONTENT PACING & SECTION SEPARATION (DE-BLOBBING)
   ========================================================================== */
.monograph-single-article {
    margin: 40px 0 70px;
}

.article-container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content-block {
    margin-bottom: 45px;
    line-height: 1.82;
    font-size: 1.04rem;
    color: #2d3748;
}

.article-content-block h2,
.monograph-chapter h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.65rem, 3.2vw, 2.15rem);
    color: #1a3a5c;
    margin-top: 48px;
    margin-bottom: 18px;
    line-height: 1.3;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.article-content-block h3,
.monograph-chapter h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.38rem;
    color: #1f4e79;
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f7;
    line-height: 1.35;
}

.article-content-block p {
    margin-bottom: 18px;
}

.article-content-block ul,
.article-content-block ol {
    margin: 18px 0 24px;
    padding-left: 26px;
    line-height: 1.78;
}

.article-content-block li {
    margin-bottom: 10px;
}

.article-content-block li strong {
    color: #1a3a5c;
}

.article-key-takeaways {
    background: linear-gradient(135deg, #fdfbf7 0%, #faf6ee 100%);
    border: 1px solid rgba(148, 118, 0, 0.25);
    border-left: 5px solid #947600;
    padding: 26px 32px;
    border-radius: 12px;
    margin-bottom: 45px;
    box-shadow: 0 6px 20px rgba(148, 118, 0, 0.05);
}

.takeaways-badge {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6e5800;
    margin-bottom: 14px;
}

.takeaways-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.75;
    color: #334155;
    font-size: 0.98rem;
}

.takeaways-list li {
    margin-bottom: 12px;
}

.takeaways-list li:last-child {
    margin-bottom: 0;
}

.takeaways-list li strong {
    color: #1a202c;
}

.monograph-methodological-limitations {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-left: 5px solid #1f4e79;
    padding: 26px 30px;
    border-radius: 10px;
    margin: 45px 0 35px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.summary-callout-card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    padding: 34px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
    margin: 45px 0 55px;
}

/* Callout Box in Hub */
.callout-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #1f4e79;
    padding: 26px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    margin: 32px 0 40px;
}

.callout-box p {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.72;
    color: #2d3748;
}

/* Epistemic Grid in Hub */
.epistemic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    margin: 35px 0 45px;
}

.epistemic-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.epistemic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.epistemic-card h3 {
    margin-top: 0;
    font-size: 1.22rem;
    color: #1a3a5c;
    margin-bottom: 12px;
}

.epistemic-card p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

