* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.7; color: #23313a; background: #f6f8f7; } .container { max-width: 1120px; margin: 0 auto; padding: 0 20px; } header { background: #fff; border-bottom: 1px solid #d9e3df; padding: 20px 0; position: sticky; top: 0; z-index: 100; } header h1 { font-size: 26px; margin-bottom: 10px; } header h1 a { color: #16302b; text-decoration: none; } header nav { display: flex; gap: 18px; flex-wrap: wrap; } header nav a { color: #496057; text-decoration: none; font-size: 14px; } header nav a:hover, .read-more:hover, .footer-nav a:hover { text-decoration: underline; } main { padding: 42px 0; } .hero, .article-card, article.full-article, .page-content { background: #fff; border: 1px solid #dce6e1; border-radius: 10px; } .hero { padding: 52px 36px; margin-bottom: 36px; text-align: center; } .hero h2, .page-content h1, article.full-article h1 { color: #15322d; } .hero h2 { font-size: 38px; margin-bottom: 16px; } .hero p { color: #50645c; font-size: 18px; max-width: 820px; margin: 0 auto; } .section-header { margin-bottom: 20px; } .section-header h2 { font-size: 28px; color: #15322d; } .article-card { padding: 28px; margin-bottom: 18px; } .article-card h3 { font-size: 23px; margin-bottom: 14px; } .article-card h3 a, .read-more { color: #0f7a4f; text-decoration: none; } .article-meta { font-size: 14px; color: #6c7d76; margin-bottom: 10px; } .article-card p { color: #50645c; margin-bottom: 12px; } .read-more { font-weight: 600; } .pagination { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; } .pagination a { display: inline-block; background: #fff; border: 1px solid #cad7d1; border-radius: 8px; padding: 10px 14px; color: #1f2f2a; text-decoration: none; } article.full-article, .page-content { max-width: 920px; margin: 0 auto; padding: 56px; } article.full-article h1, .page-content h1 { font-size: 36px; line-height: 1.25; margin-bottom: 24px; } article.full-article h2, .page-content h2 { font-size: 28px; margin-top: 34px; margin-bottom: 16px; color: #15322d; } article.full-article h3, .page-content h3 { font-size: 22px; margin-top: 24px; margin-bottom: 12px; color: #1f3832; } article.full-article p, article.full-article ul, article.full-article ol, article.full-article table, article.full-article blockquote, .page-content p, .page-content ul, .page-content ol { margin-bottom: 18px; } article.full-article ul, article.full-article ol, .page-content ul, .page-content ol { padding-left: 24px; } article.full-article li, .page-content li { margin-bottom: 10px; } article.full-article table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; } article.full-article th, article.full-article td { border: 1px solid #cad7d1; padding: 10px 12px; text-align: left; } article.full-article th { background: #edf5f1; } article.full-article blockquote { border-left: 4px solid #7ad6ae; padding: 14px 18px; background: #ecfdf4; color: #17332c; } .highlight-box, .pro-tip { padding: 16px 18px; border-radius: 8px; margin-bottom: 18px; } .highlight-box { background: #effcf6; border: 1px solid #9fe3bf; } .pro-tip { background: #fff8db; border: 1px solid #f1d46f; } footer { background: #15322d; color: #fff; padding: 42px 0; margin-top: 60px; } .footer-nav { display: flex; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; } .footer-nav a { color: #fff; text-decoration: none; font-size: 14px; } footer p { font-size: 14px; color: #d2ddd8; } @media (max-width: 768px) { .hero { padding: 36px 20px; } .hero h2 { font-size: 30px; } article.full-article, .page-content { padding: 32px 22px; } article.full-article h1, .page-content h1 { font-size: 30px; } } /* Article Images */ .article-image { margin: 2rem 0; text-align: center; } .article-image img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); } .article-image figcaption { margin-top: 0.5rem; font-size: 0.875rem; color: #666; font-style: italic; } /* Featured Images */ .featured-image { margin: 2rem auto; text-align: center; max-width: 100%; } .featured-image img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: block; margin: 0 auto; } /* Article Content */ .full-article { font-size: 17px; line-height: 1.8; color: #333; } .full-article h2 { margin-top: 2em; margin-bottom: 0.5em; font-size: 1.5em; } .full-article h3 { margin-top: 1.5em; margin-bottom: 0.5em; font-size: 1.25em; } .full-article blockquote { margin: 1.5em 0; padding: 1em 1.5em; background: #f8f9fa; border-left: 4px solid #007bff; } .full-article table { width: 100%; margin: 1.5em 0; border-collapse: collapse; } .full-article th, .full-article td { padding: 12px; border: 1px solid #ddd; text-align: left; } /* ===== MOBILE MENU ===== */ .hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 5px; margin-right: 10px; } .hamburger span { display: block; width: 24px; height: 2px; background: #2c3e50; transition: all 0.3s; } .mobile-nav-toggle { display: none; } /* ===== LATEST ARTICLES GRID ===== */ .latest-articles { margin: 3rem 0; padding: 0; } .latest-articles h2 { font-size: 1.5rem !important; margin-bottom: 1.5rem !important; } .article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } .article-grid-card { background: #fff; border: 1px solid #e8e8e8; border-top: 3px solid #3498db; border-radius: 8px; padding: 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0; transition: box-shadow 0.2s, transform 0.2s; } .article-grid-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); transform: translateY(-2px); } .article-grid-card h3 { font-size: 0.97rem; font-weight: 600; line-height: 1.45; margin: 0 0 0.5rem 0; flex: none; } .article-grid-card h3 a { color: #2c3e50; text-decoration: none; } .article-grid-card h3 a:hover { color: #3498db; } .article-grid-card p { color: #5a6a72; font-size: 0.85rem; line-height: 1.55; margin: 0 0 auto 0; flex: 1; } .article-grid-card .read-more-link { color: #3498db; text-decoration: none; font-size: 0.84rem; font-weight: 600; margin-top: 0.8rem; padding-top: 0.6rem; border-top: 1px solid #f0f0f0; display: inline-block; } .article-grid-card .read-more-link:hover { text-decoration: underline; } .btn-primary { display: inline-block; background: #3498db; color: #fff; padding: 0.7rem 1.6rem; border-radius: 6px; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: background 0.2s; } .btn-primary:hover { background: #2980b9; } /* ===== RESPONSIVE ===== */ @media (max-width: 1024px) { .article-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 768px) { header .container { flex-wrap: wrap; } header h1 { flex: 1; } .hamburger { display: flex; } header nav { display: none; width: 100%; flex-direction: column; gap: 12px; padding-top: 12px; border-top: 1px solid #eee; margin-top: 10px; } .mobile-nav-toggle:checked ~ nav { display: flex; } .article-grid { grid-template-columns: 1fr; gap: 0.875rem; } .article-grid-card { padding: 1rem 1.1rem; } .article-grid-card h3 { font-size: 0.97rem; line-height: 1.4; } .article-grid-card p { font-size: 0.88rem; line-height: 1.5; } .latest-articles { margin: 2rem 0; } .latest-articles h2 { font-size: 1.2rem !important; } /* Steps section - full width on mobile */ .step-card { margin: 0.5rem 0; } .step-text { font-size: 0.95rem; } /* Modules - single column on mobile */ .module-card { margin: 0.75rem 0; padding: 1.1rem; } } @media (max-width: 480px) { .article-grid { grid-template-columns: 1fr; } .article-grid-card h3 { font-size: 0.95rem; } .article-grid-card p { font-size: 0.87rem; line-height: 1.48; } } /* ===== HOMEPAGE ELEMENTS (missing mobile CSS) ===== */ .check-item { overflow: visible; max-width: 100%; word-break: break-word; overflow-wrap: anywhere; } .check-item > div, .check-item > .check-item { min-width: 0; } .info-grid, .info-card, .deadline-strip, .signal-list, .article-list, .dash-panel, .dash-grid, .grid, .flow-row, .card-icon, .cmp-grid, .cmp-items, .cmp-modules, .modules { overflow: visible; max-width: 100%; } .info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .deadline-strip { display: flex; gap: 12px; align-items: flex-start; } .dl-icon { flex-shrink: 0; font-size: 1.4rem; } .signal-list { display: flex; flex-direction: column; gap: 8px; } .signal-list li { display: flex; align-items: center; gap: 8px; } .signal-dot { width: 8px; height: 8px; border-radius: 50%; background: #0f7a4f; flex-shrink: 0; } .step-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: #fff; border-left: 4px solid #1a5276; border-radius: 0 6px 6px 0; margin: 8px 0; box-shadow: 0 2px 6px rgba(0,0,0,0.05); } .step-number { background: #1a5276; color: #fff; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.85rem; flex-shrink: 0; } .step-text { font-size: 1rem; line-height: 1.5; color: #333; } .articles-list { list-style: none; padding: 0; margin: 0; } .articles-list li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 0.95rem; } .articles-list li:last-child { border-bottom: none; } .articles-list a { color: #1a5276; text-decoration: none; } .articles-list a:hover { text-decoration: underline; } .cta { background: #1a5276; color: #fff; padding: 28px 24px; border-radius: 10px; text-align: center; margin: 28px 0; } .cta h2 { color: #fff !important; margin: 0 0 10px !important; } .cta p { color: rgba(255,255,255,0.9) !important; margin: 0 0 14px !important; font-size: 0.97rem; } .cta a { color: #fff; } .modules { margin: 2rem 0; } .modules h2 { font-size: 1.4rem; margin-bottom: 1.2rem; padding-bottom: 0.5rem; border-bottom: 2px solid #d6eaf8; } .btn { display: inline-block; background: #1a5276; color: #fff; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: 0.9rem; margin-top: 10px; } .btn:hover { opacity: 0.85; } .module-card { background: #fff; border: 1px solid #e0e0e0; border-top: 3px solid #1a5276; border-radius: 8px; padding: 18px; margin: 12px 0; } .module-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: #2c3e50; } .module-card p { color: #555; font-size: 0.9rem; margin-bottom: 0; } .info-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 16px; min-width: 0; } .info-card h3 { font-size: 1rem; margin-bottom: 6px; color: #15322d; } .info-card p { font-size: 0.88rem; color: #50645c; margin-bottom: 8px; } .info-card a { font-size: 0.88rem; color: #0f7a4f; text-decoration: none; } .check-item { background: #fff; border-radius: 10px; padding: 16px; border: 1px solid #e0e0e0; margin: 16px 0; } .check-item > h3 { margin-bottom: 12px; font-size: 1.05rem; color: #15322d; } .check-box { color: #0f7a4f; font-size: 1.1rem; margin-right: 8px; } .deadline-strip { background: #f0f5f3; border: 1px solid #cad7d1; border-radius: 8px; padding: 12px 16px; margin: 16px 0; } .dash-panel { background: #fff; border: 1px solid #dce6e1; border-radius: 8px; padding: 18px; min-width: 0; } .dash-panel h3 { font-size: 1rem; margin-bottom: 8px; color: #15322d; } .dash-btn { display: inline-block; background: #0f7a4f; color: #fff; padding: 8px 14px; border-radius: 6px; text-decoration: none; font-size: 0.88rem; } .flow-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; } .flow-num { width: 28px; height: 28px; border-radius: 50%; background: #d35400; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.85rem; flex-shrink: 0; } .card-btn { display: inline-block; background: #d35400; color: #fff; padding: 7px 14px; border-radius: 6px; text-decoration: none; font-size: 0.88rem; } .cmp-item { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px; min-width: 0; } .cmp-head { font-size: 1rem; font-weight: bold; margin-bottom: 6px; color: #15322d; } .cmp-bullet { display: flex; align-items: flex-start; gap: 6px; font-size: 0.9rem; color: #50645c; padding: 4px 0; } .article-list { list-style: none; padding: 0; margin: 0; } .article-list li { padding: 8px 0; border-bottom: 1px solid #eee; } .article-list a { color: #0f7a4f; text-decoration: none; font-size: 0.95rem; } .article-list a:hover { text-decoration: underline; } .signal-list { list-style: none; padding: 0; margin: 0; } /* ===== MOBILE HOME FIXES ===== */ @media (max-width: 768px) { .container { padding: 0 14px; } .info-grid { display: grid; grid-template-columns: 1fr; gap: 12px; } .check-item { padding: 14px; margin: 12px 0; } .check-item > .check-item { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; margin: 0; border: 0; } .check-item > .check-item span:last-child { flex: 1; min-width: 0; white-space: normal; } .deadline-strip { flex-direction: column; gap: 8px; } .modules { margin: 1.5rem 0; } .cta { padding: 20px 16px; } .step-card { padding: 10px; gap: 10px; } .flow-row { padding: 8px 0; } .cmp-grid { display: grid; grid-template-columns: 1fr; gap: 10px; } .dash-grid { display: grid; grid-template-columns: 1fr; gap: 12px; } }

/* ===== BBC-STYLE ARTICLE LAYOUT ===== */
.full-article {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.65;
    color: #1a1a1a;
}
.full-article h1 {
    font-size: 1.8rem;
    line-height: 1.25;
    text-align: left;
    color: #1a1a1a;
    margin-bottom: 1rem;
}
.full-article h2 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-top: 2.2em;
    margin-bottom: 0.8em;
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.3em;
}
.full-article h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    color: #333;
}
.full-article p {
    margin-bottom: 1.5em;
    line-height: 1.65;
}
.full-article ul,
.full-article ol {
    margin: 0 0 1.5em 1.5em;
    line-height: 1.65;
}
.full-article li {
    margin-bottom: 0.5em;
}
.full-article blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    font-style: italic;
    color: #444;
}
.full-article table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    font-size: 0.92em;
    display: block;
    overflow-x: auto;
}
.full-article th,
.full-article td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    text-align: left;
}
.full-article th {
    background: #e9ecef;
    font-weight: 600;
}
.full-article .article-meta {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e8e8e8;
}
.full-article .article-meta .separator {
    margin: 0 6px;
}
.full-article .article-meta a {
    color: #0056b3;
    text-decoration: none;
}
.full-article .article-meta a:hover {
    text-decoration: underline;
}
.full-article .article-footer {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid #e8e8e8;
    font-size: 0.92em;
    color: #555;
}
.article-image {
    margin: 1.8em 0;
}
.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.article-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: #777;
    text-align: center;
    font-style: italic;
}
.article-footer {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid #e8e8e8;
}
.article-footer p {
    margin-bottom: 0.5em;
}
.article-footer a {
    color: #0056b3;
}
.pro-tip {
    background: #fff8e1;
    border: 1px solid #f1d46f;
    border-left: 4px solid #f0ad4e;
    padding: 14px 18px;
    border-radius: 4px;
    margin: 1.5em 0;
    font-size: 0.95em;
}
.pro-tip strong {
    color: #856404;
}
.highlight-box {
    background: #e8f4fd;
    border: 1px solid #b8daff;
    border-left: 4px solid #0056b3;
    padding: 14px 18px;
    border-radius: 4px;
    margin: 1.5em 0;
}

/* Mobile */
@media (max-width: 768px) {
    .full-article {
        max-width: 100%;
        font-size: 16px;
    }
    .full-article h1 {
        font-size: 1.5rem;
    }
    .full-article h2 {
        font-size: 1.2rem;
    }
    .full-article h3 {
        font-size: 1.05rem;
    }
    .full-article p {
        margin-bottom: 1.3em;
    }
    .full-article table {
        font-size: 0.88em;
    }
}


/* ===== ARTICLE PAGE UX REBUILD 2026-04-13 ===== */
.full-article,
.page-content {
    overflow-wrap: anywhere;
    word-break: normal;
}
.full-article p,
.full-article li,
.full-article blockquote,
.full-article td,
.full-article th,
.page-content p,
.page-content li,
.page-content td,
.page-content th {
    overflow-wrap: anywhere;
    word-break: normal;
}
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.25rem 0 1.5rem;
}
.table-scroll table {
    min-width: 640px;
    width: 100%;
    margin: 0;
}
.full-article table,
.page-content table {
    display: table;
    border-collapse: collapse;
}
.full-article .article-meta,
.page-content .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.full-article .article-meta a {
    color: #0b57a3;
    text-decoration: none;
    font-weight: 600;
}
.full-article .article-meta a:hover {
    text-decoration: underline;
}
.article-image,
.full-article figure {
    margin: 1.5rem 0 1.6rem;
    text-align: center;
}
.article-image figcaption,
.full-article figcaption,
.page-content figcaption {
    text-align: center !important;
    margin-top: 0.6rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #666;
    font-style: italic;
}
.article-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}
.article-page-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid #d7dde3;
    border-radius: 999px;
    text-decoration: none;
    color: #16324f;
    background: #fff;
    font-size: 0.92rem;
}
.article-page-nav a:hover {
    background: #f6f8fb;
}
.related-articles {
    margin-top: 1.75rem;
    padding: 1.1rem 1.1rem 0.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafbfc;
}
.related-articles h2 {
    margin-top: 0 !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    font-size: 1.15rem !important;
}
.related-articles ul {
    margin: 0.25rem 0 0.25rem 1.1rem;
}
.related-articles li {
    margin-bottom: 0.7rem;
}
.related-articles a {
    color: #0b57a3;
    text-decoration: none;
}
.related-articles a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .full-article,
    .page-content {
        max-width: 100%;
        padding: 22px 16px !important;
        border-radius: 8px;
    }
    .full-article {
        font-size: 17px;
        line-height: 1.68;
    }
    .full-article h1,
    .page-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.28;
        margin-bottom: 0.9rem;
    }
    .full-article h2,
    .page-content h2 {
        font-size: 1.24rem !important;
        line-height: 1.35;
        margin-top: 1.8rem !important;
        margin-bottom: 0.7rem !important;
    }
    .full-article h3,
    .page-content h3 {
        font-size: 1.08rem !important;
        line-height: 1.4;
        margin-top: 1.35rem !important;
        margin-bottom: 0.55rem !important;
    }
    .full-article p,
    .page-content p,
    .full-article li,
    .page-content li,
    .full-article blockquote,
    .page-content blockquote {
        font-size: 1rem;
        line-height: 1.72;
    }
    .full-article p,
    .page-content p {
        margin-bottom: 1rem !important;
    }
    .full-article ul,
    .full-article ol,
    .page-content ul,
    .page-content ol {
        margin-left: 1.1rem !important;
        padding-left: 0.55rem !important;
        margin-bottom: 1rem !important;
    }
    .full-article li,
    .page-content li {
        margin-bottom: 0.45rem !important;
    }
    .full-article blockquote,
    .page-content blockquote {
        margin: 1rem 0 !important;
        padding: 0.9rem 1rem !important;
    }
    .article-image,
    .full-article figure {
        margin: 1.2rem 0 1.35rem !important;
    }
    .article-image figcaption,
    .full-article figcaption,
    .page-content figcaption {
        font-size: 0.8rem;
        line-height: 1.45;
    }
    .table-scroll {
        margin: 1rem -2px 1.15rem;
        padding-bottom: 0.15rem;
    }
    .table-scroll table {
        min-width: 560px;
    }
    .full-article th,
    .full-article td,
    .page-content th,
    .page-content td {
        padding: 8px 10px;
        font-size: 0.92rem;
        line-height: 1.45;
    }
    .article-page-nav {
        gap: 0.55rem;
        margin: 1.5rem 0 1rem;
    }
    .article-page-nav a {
        padding: 0.6rem 0.82rem;
        font-size: 0.9rem;
    }
    .related-articles {
        margin-top: 1.35rem;
        padding: 1rem 0.95rem 0.2rem;
    }
    .related-articles h2 {
        font-size: 1.08rem !important;
    }
}


/* ===== TEMPLATE GROUP FIX 2026-04-13 ===== */
@media (max-width: 768px) {
    main.container,
    .container {
        overflow-x: clip;
    }
    .hero {
        padding: 28px 18px !important;
    }
    .hero h2 {
        font-size: 1.55rem !important;
        line-height: 1.3 !important;
    }
    .hero p {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
    }

    /* Strict single-column homepage sections */
    .dash-grid,
    .info-grid,
    .grid,
    .cmp-grid,
    .cmp-items,
    .cmp-modules,
    .modules,
    .article-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .deadline-strip,
    .flow-row,
    .step-card,
    .cmp-item,
    .module-card,
    .info-card,
    .dash-panel,
    .grid-card,
    .article-grid-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .flow-row,
    .deadline-strip,
    .step-card,
    .cmp-bullet {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .flow-num,
    .step-number,
    .dl-icon,
    .check-box,
    .signal-dot,
    .card-icon {
        flex: 0 0 auto !important;
    }

    .check-item,
    .module-card,
    .info-card,
    .dash-panel,
    .cmp-item,
    .article-grid-card,
    .grid-card,
    .step-card {
        padding: 14px !important;
        margin: 0 !important;
    }

    .check-item > .check-item {
        display: block !important;
        padding: 6px 0 !important;
    }

    .latest-articles {
        margin: 1.4rem 0 !important;
    }

    /* Mobile article layout tightening */
    article.full-article,
    .page-content,
    .full-article {
        padding: 20px 14px !important;
    }

    .table-scroll {
        margin: 0.9rem 0 1rem !important;
    }

    .table-scroll table,
    .full-article table,
    .page-content table {
        min-width: 480px !important;
    }

    .full-article th,
    .full-article td,
    .page-content th,
    .page-content td {
        padding: 6px 8px !important;
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    .full-article th,
    .page-content th {
        font-weight: 700 !important;
    }
}


/* ===== UNIVERSAL HAMBURGER MENU 2026-04-13 ===== */
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
header h1 {
    margin-bottom: 0 !important;
}
header nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px 6px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: all 0.25s ease;
}
.mobile-nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 768px) {
    header .container {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    header h1 {
        flex: 1 1 auto;
    }
    .hamburger {
        display: flex !important;
    }
    header nav {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding-top: 12px !important;
        margin-top: 8px !important;
        border-top: 1px solid #e5e7eb !important;
    }
    .mobile-nav-toggle:checked ~ nav {
        display: flex !important;
    }
}
