body {
    margin: 0;
    padding: 0;
    background-color: #7a92b0;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 16px;
    border: 4px solid #020e38;
    box-shadow: 0 8px 24px rgba(2, 14, 56, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

@media (hover: hover) {
    .responsive-img:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 32px rgba(2, 14, 56, 0.35);
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin: 1.5rem auto;
    border-radius: 16px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 0;
}

.articles-link {
    display: inline-block;
    margin: 1.2rem 0;
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #3498db;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease,
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.articles-link:hover {
    background-color: #217dbb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.articles-link:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ############################################################################################################################################################################################################################################################################################# */

/* Mobile */
@media (max-width: 480px) {

    .container {
        display: flex;
        flex-direction: column;
        padding-top: 2%;
        padding-right: 0;
        box-sizing: border-box;
        width: 100%;
    }

    .Articles-details {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .Articles-list {
        width: 100%;
        margin: 4% 0 0 0;
        padding: 0 2%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2%;
        box-sizing: border-box;
    }

    .Articles-list h2 {
        font-size: 3.8vw;
        text-align: center;
        margin-top: 0;
    }

    .Articles-box {
        cursor: pointer;
        border: 1px solid #020e38;
        padding: 3%;
        flex: 1 1 45%;
        box-sizing: border-box;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #c4d5eb;
        border-radius: 4px;
    }

    .Articles-box:hover {
        background-color: #a8bfd8;
    }

    .Articles-box.active {
        background-color: #3498db;
        color: #fff;
    }

    .Articles-modal {
        display: none;
        padding: 4%;
        border: 1px solid #020e38;
        margin: 2% 0;
        border-radius: 6px;
        background: #c4d5eb;
        width: 100%;
        box-sizing: border-box;
    }

    .Articles-modal h2 {
        font-size: 5.5vw;
        margin-top: 0;
    }

    .Articles-modal p {
        font-size: 3.8vw;
        line-height: 1.6;
        font-family: 'Exo 2', sans-serif;
    }

    .Articles-modal.active {
        display: block;
    }

    .responsive-img {
        max-width: 100%;
    }

    .articles-link {
        font-size: max(12px, 3vw);
        padding: 0.6rem 1.2rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* ############################################################################################################################################################################################################################################################################################# */

/* Tablet */
@media (min-width: 481px) and (max-width: 1000px) {

    .container {
        display: flex;
        flex-direction: column;
        padding-top: 1.5%;
    }

    .Articles-details {
        width: 90%;
        margin: 0 auto;
    }

    .Articles-list {
        width: 90%;
        margin: 3% auto 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5%;
    }

    .Articles-list h2 {
        font-size: 2vw;
        text-align: center;
        margin-top: 0;
    }

    .Articles-box {
        cursor: pointer;
        border: 1px solid #020e38;
        padding: 1.5%;
        flex: 1 1 22%;
        box-sizing: border-box;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #c4d5eb;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }

    .Articles-box:hover {
        background-color: #a8bfd8;
    }

    .Articles-box.active {
        background-color: #3498db;
        color: #fff;
    }

    .Articles-modal {
        display: none;
        padding: 1%;
        border: 1px solid #020e38;
        margin: 2%;
        background: #c4d5eb;
        border-radius: 6px;
    }

    .Articles-modal.active {
        display: block;
    }

    .responsive-img {
        max-width: 80%;
    }

    .articles-link {
        font-size: 1.5vw;
        padding: 0.6rem 1.2rem;
    }
}

/* Styles for screen height below 480px */
@media (max-height: 480px) {

}

/* ############################################################################################################################################################################################################################################################################################# */

/* Desktop */
@media (min-width: 1001px) {

    .container {
        display: flex;
        flex-direction: column;
        padding-top: 1%;
        align-items: center;
    }

    .Articles-details {
        width: 100vw;
    }

    .Articles-list {
        width: 80vw;
        margin-top: 2%;
        margin-bottom: 2%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1%;
    }

    .Articles-list h2 {
        font-size: 1.2vw;
        text-align: center;
        margin: 0;
    }

    .Articles-box {
        cursor: pointer;
        border: 1px solid #020e38;
        padding: 2%;
        flex: 1 1 20%;
        box-sizing: border-box;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #c4d5eb;
        border-radius: 4px;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .Articles-box:hover {
        background-color: #a8bfd8;
        box-shadow: 0 4px 12px rgba(2, 14, 56, 0.15);
    }

    .Articles-box.active {
        background-color: #3498db;
        color: #fff;
    }

    .Articles-modal {
        display: none;
        padding: 1% 3%;
        border: 1px solid #020e38;
        margin: 1%;
        background: #c4d5eb;
        border-radius: 6px;
    }

    .Articles-modal h2 {
        font-size: 1.8rem;
    }

    .Articles-modal h3 {
        font-size: 1.3rem;
    }

    .Articles-modal h4 {
        font-size: 1.1rem;
    }

    .Articles-modal p {
        font-size: 1rem;
        line-height: 1.7;
        font-family: 'Exo 2', sans-serif;
    }

    .Articles-modal.active {
        display: block;
    }

    .responsive-img {
        max-width: 95%;
    }

    .articles-link {
        font-size: 1rem;
        padding: 0.6rem 1.4rem;
    }
}

/* -------------------------  Loading state  ------------------------- */
.articles-loading {
    text-align: center;
    padding: 2rem;
    color: #555;
    font-size: 1rem;
    font-family: 'Exo 2', sans-serif;
}
/* =========================================================
   ARTICLES.HTML PAGE DESIGN
   Matches exactly: Embedded.html / Tutorial.html / Programming.html
   ========================================================= */

/* ── Hero — same gradient/pattern as Tutorial hero ── */
.art-hero {
    background: linear-gradient(135deg, #020e38 0%, #0d2a6e 55%, #1a6fc4 100%);
    position: relative;
    overflow: hidden;
    padding: 2.8rem 2rem 2.4rem;
    text-align: center;
}
.art-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='2' fill='rgba(0,198,255,0.07)'/%3E%3Ccircle cx='30' cy='10' r='2' fill='rgba(0,198,255,0.07)'/%3E%3Ccircle cx='10' cy='30' r='2' fill='rgba(0,198,255,0.07)'/%3E%3Ccircle cx='30' cy='30' r='2' fill='rgba(0,198,255,0.07)'/%3E%3Cline x1='10' y1='10' x2='30' y2='10' stroke='rgba(0,198,255,0.05)' stroke-width='1'/%3E%3Cline x1='10' y1='10' x2='10' y2='30' stroke='rgba(0,198,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}
.art-hero__inner  { position: relative; max-width: 720px; margin: 0 auto; }
.art-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00c6ff;
    background: rgba(0,198,255,0.1);
    border: 1px solid rgba(0,198,255,0.25);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 0.9rem;
}
.art-hero__title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    color: #fff;
    margin: 0 0 0.7rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.art-hero__sub {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(0.82rem, 1.8vw, 1rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0;
}

/* ── Section label — identical to tut-section-label / emb-section-label ── */
.art-section-label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #020e38;
    background: rgba(2,14,56,0.07);
    border-radius: 20px;
    padding: 5px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.8rem;
}

/* ── Topic card grid — identical to tut-topic-grid / emb-topic-grid ── */
.art-topic-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* ── Individual card — mirrors tut-topic-card exactly ── */
.art-topic-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.1rem;
    padding: 1.1rem 1.2rem !important;
    text-align: left;
    min-height: unset !important;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.22s ease,
                background 0.2s ease !important;
}
.art-topic-card:hover {
    transform: translateX(6px) !important;
    box-shadow: 0 6px 22px rgba(2,14,56,0.18) !important;
}
.art-topic-card.active {
    background: linear-gradient(135deg, #1a6fc4, #3498db) !important;
    border-color: #1a6fc4 !important;
}
.art-topic-card.active h2,
.art-topic-card.active p,
.art-topic-card.active .art-topic-card__tags span,
.art-topic-card.active .art-topic-card__arrow { color: #fff !important; }
.art-topic-card.active .art-topic-card__tags span {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

/* Icon circle — identical to tut/emb icon */
.art-topic-card__icon {
    width: 52px; height: 52px; min-width: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff;
    box-shadow: 0 4px 12px rgba(2,14,56,0.25);
}
.art-topic-card.active .art-topic-card__icon {
    background: rgba(255,255,255,0.25) !important;
    box-shadow: none;
}

/* Body text */
.art-topic-card__body { flex: 1; min-width: 0; }
.art-topic-card__body h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: #020e38;
    margin: 0 0 0.25rem;
}
.art-topic-card__body p {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(0.72rem, 1.3vw, 0.85rem);
    color: #4a5568;
    margin: 0 0 0.45rem;
    line-height: 1.5;
}

/* Tags */
.art-topic-card__tags {
    display: flex; flex-wrap: wrap; gap: 0.3rem;
}
.art-topic-card__tags span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62rem;
    color: #1a6fc4;
    background: rgba(26,111,196,0.1);
    border: 1px solid rgba(26,111,196,0.25);
    border-radius: 10px;
    padding: 2px 8px;
}

/* Arrow */
.art-topic-card__arrow {
    color: rgba(2,14,56,0.3);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}
.art-topic-card:hover .art-topic-card__arrow {
    color: #1a6fc4;
    transform: translateX(3px);
}

/* =========================================================
   ARTICLE CONTENT PAGE STYLES — Articles1–4
   ========================================================= */

.Articles-modal h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    color: #020e38;
    border-bottom: 3px solid #1a6fc4;
    padding-bottom: 0.5rem;
    margin-bottom: 0.3rem;
}
.art-meta-bar {
    display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem;
}
.art-meta-bar span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem; color: #4a5568;
    display: flex; align-items: center; gap: 4px;
}
.Articles-modal h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700; color: #1a6fc4;
    padding-left: 0.75rem; border-left: 4px solid #1a6fc4;
    margin: 1.8rem 0 0.5rem; scroll-margin-top: 80px;
}
.Articles-modal h4 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700; color: #020e38;
    margin: 1.1rem 0 0.3rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.Articles-modal h4::before {
    content: ''; display: inline-block;
    width: 8px; height: 8px;
    background: #3498db; border-radius: 50%; flex-shrink: 0;
}
.Articles-modal p {
    font-family: 'Exo 2', sans-serif;
    color: #2d3a4e; line-height: 1.8; margin: 0 0 0.85rem;
}
.Articles-modal hr {
    border: none; border-top: 2px solid rgba(2,14,56,0.1); margin: 1.4rem 0;
}
.Articles-modal code {
    font-family: 'Share Tech Mono', monospace;
    background: rgba(26,111,196,0.1); color: #1a6fc4;
    padding: 2px 7px; border-radius: 4px;
    font-size: 0.88em; border: 1px solid rgba(26,111,196,0.2);
}

/* Info / tip / warn / key boxes */
.art-info {
    background: linear-gradient(135deg, rgba(26,111,196,0.1), rgba(0,198,255,0.07));
    border: 1.5px solid rgba(26,111,196,0.3); border-left: 5px solid #1a6fc4;
    border-radius: 10px; padding: 1rem 1.2rem; margin: 0.8rem 0 1.2rem;
    font-family: 'Exo 2', sans-serif; color: #2d3a4e; line-height: 1.7;
}
.art-tip {
    background: rgba(16,185,129,0.08);
    border: 1.5px solid rgba(16,185,129,0.35); border-left: 5px solid #10b981;
    border-radius: 10px; padding: 0.9rem 1.1rem; margin: 0.8rem 0 1.2rem;
    font-family: 'Exo 2', sans-serif; font-size: 0.88rem; color: #065f46; line-height: 1.65;
}
.art-tip::before { content: '💡 Tip: '; font-weight: 700; }
.art-warn {
    background: rgba(251,191,36,0.09);
    border: 1.5px solid rgba(251,191,36,0.4); border-left: 5px solid #f59e0b;
    border-radius: 10px; padding: 0.9rem 1.1rem; margin: 0.8rem 0 1.2rem;
    font-family: 'Exo 2', sans-serif; font-size: 0.88rem; color: #78350f; line-height: 1.65;
}
.art-warn::before { content: '⚠️ Note: '; font-weight: 700; }
.art-key {
    background: linear-gradient(160deg, #d4e4f5, #c4d5eb);
    border: 2px solid #020e38; border-radius: 10px;
    padding: 0.9rem 1.2rem; margin: 0.8rem 0 1.2rem;
    font-family: 'Exo 2', sans-serif; font-size: 0.88rem; color: #020e38; line-height: 1.65;
}
.art-key::before { content: '🔑 Key Point: '; font-weight: 700; }

/* Concept cards */
.art-card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.9rem; margin: 0.8rem 0 1.4rem;
}
.art-ccard {
    background: linear-gradient(160deg, #d4e4f5, #c4d5eb);
    border: 2px solid #020e38; border-radius: 12px;
    padding: 1rem; position: relative; overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.art-ccard::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #1a6fc4, #00c6ff); border-radius: 12px 12px 0 0;
}
.art-ccard:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(2,14,56,0.18); }
.art-ccard__icon { font-size: 1.6rem; margin-bottom: 0.4rem; }
.art-ccard__title { font-family: 'Exo 2', sans-serif; font-weight: 900; font-size: 0.88rem; color: #020e38; margin: 0 0 0.35rem; }
.art-ccard__body { font-family: 'Exo 2', sans-serif; font-size: 0.79rem; color: #2d3a4e; line-height: 1.55; margin: 0; }

/* Comparison table */
.art-table-wrap { overflow-x: auto; margin: 0.8rem 0 1.4rem; }
.art-table { width: 100%; border-collapse: collapse; font-family: 'Exo 2', sans-serif; font-size: 0.82rem; min-width: 320px; }
.art-table th { background: #020e38; color: #fff; padding: 0.5rem 0.9rem; text-align: left; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; }
.art-table td { padding: 0.45rem 0.9rem; border: 1px solid rgba(2,14,56,0.12); color: #020e38; vertical-align: top; line-height: 1.5; }
.art-table tr:nth-child(even) td { background: rgba(26,111,196,0.06); }
.art-table tr:hover td { background: rgba(26,111,196,0.13); }

/* Code block */
.art-code {
    background: #0d1117; border-radius: 12px; margin: 0.9rem 0 1.3rem;
    overflow: hidden; border: 1.5px solid #30363d; box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.art-code__header {
    background: #161b22; padding: 0.5rem 1rem;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.art-code__lang { font-family: 'Share Tech Mono', monospace; font-size: 0.65rem; color: #8b949e; letter-spacing: 0.08em; text-transform: uppercase; }
.art-code__dots { display: flex; gap: 5px; }
.art-code__dots span { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.art-code__dots span:nth-child(1) { background: #ff5f57; }
.art-code__dots span:nth-child(2) { background: #febc2e; }
.art-code__dots span:nth-child(3) { background: #28c840; }
.art-code pre {
    margin: 0; padding: 1.1rem 1.2rem; overflow-x: auto;
    font-family: 'Share Tech Mono', monospace; font-size: 0.85rem; line-height: 1.7; color: #e6edf3;
}
.art-code .kw { color: #ff7b72; font-weight: 600; }
.art-code .fn { color: #d2a8ff; }
.art-code .st { color: #a5d6ff; }
.art-code .cm { color: #8b949e; font-style: italic; }
.art-code .nm { color: #79c0ff; }

/* Resource strip */
.art-resources {
    display: flex; flex-wrap: wrap; gap: 0.8rem;
    margin: 1rem 0 0.5rem; padding: 1rem 1.2rem;
    background: rgba(2,14,56,0.05); border-radius: 10px;
    border: 1.5px solid rgba(2,14,56,0.1);
}

/* =========================================================
   MOBILE  (max-width: 480px)
   ========================================================= */
@media (max-width: 480px) {
    .art-hero              { padding: 1.6rem 1rem 1.3rem; }
    .art-hero__tag         { font-size: 0.6rem; padding: 3px 10px; margin-bottom: 0.6rem; }
    .art-hero__title       { font-size: 1.3rem; margin-bottom: 0.45rem; }
    .art-hero__sub         { font-size: 0.77rem; }

    .art-section-label     { font-size: 0.7rem; padding: 4px 12px; margin-bottom: 0.6rem; }

    .art-topic-grid        { gap: 0.6rem; }
    .art-topic-card        { gap: 0.65rem !important; padding: 0.7rem 0.8rem !important; }
    .art-topic-card:hover  { transform: none !important; }
    .art-topic-card__icon  { width: 42px; height: 42px; min-width: 42px; border-radius: 9px; font-size: 1rem; }
    .art-topic-card__body h2 { font-size: max(13px, 3.8vw); }
    .art-topic-card__body p  { display: none; }
    .art-topic-card__tags    { display: none; }
    .art-topic-card__arrow   { font-size: 0.7rem; }

    .Articles-modal h3     { font-size: 4.2vw; padding-left: 0.5rem; margin: 1.2rem 0 0.4rem; }
    .Articles-modal h4     { font-size: 3.8vw; margin: 0.9rem 0 0.25rem; }
    .Articles-modal h4::before { width: 6px; height: 6px; }

    .art-card-grid         { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .art-ccard             { padding: 0.7rem 0.65rem; border-radius: 9px; }
    .art-ccard__title      { font-size: 0.75rem; }
    .art-ccard__body       { font-size: 0.67rem; }
    .art-ccard:hover       { transform: none; box-shadow: none; }

    .art-info, .art-tip, .art-warn, .art-key { font-size: 0.77rem; padding: 0.75rem 0.9rem; }
    .art-table             { font-size: 0.7rem; }
    .art-table th          { padding: 0.4rem 0.55rem; font-size: 0.67rem; }
    .art-table td          { padding: 0.35rem 0.55rem; }
    .art-code pre          { font-size: 0.72rem; padding: 0.8rem 0.9rem; }
    .art-resources         { padding: 0.75rem 0.9rem; gap: 0.5rem; }
    .articles-link         { font-size: max(12px, 3vw); padding: 0.5rem 1rem; margin: 0.5rem 0.5rem 0.5rem 0; min-height: 44px; display: inline-flex; align-items: center; }
}

/* =========================================================
   TABLET  (481px – 1000px)
   ========================================================= */
@media (min-width: 481px) and (max-width: 1000px) {
    .art-hero              { padding: 2rem 1.5rem 1.8rem; }
    .art-hero__title       { font-size: 1.8rem; }
    .art-hero__sub         { font-size: 0.9rem; }

    .art-topic-grid        { gap: 0.75rem; }
    .art-topic-card        { padding: 0.9rem 1rem !important; gap: 0.9rem; }
    .art-topic-card__icon  { width: 46px; height: 46px; min-width: 46px; }
    .art-topic-card__body h2 { font-size: 1.05rem; }
    .art-topic-card__body p  { font-size: 0.8rem; }

    .Articles-modal h3     { font-size: 2.2vw; }
    .Articles-modal h4     { font-size: 1.9vw; }
    .art-card-grid         { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .articles-link         { font-size: 1.5vw; }
}

/* =========================================================
   DESKTOP  (min-width: 1001px)
   ========================================================= */
@media (min-width: 1001px) {
    .art-section-label     { align-self: flex-start; }
    .art-topic-grid        { width: 80vw; }
}

/* =========================================================
   RESPONSIVE FIXES — content classes
   ========================================================= */

/* ── Mobile ── */
@media (max-width: 480px) {
    .art-meta-bar          { gap: 0.4rem; margin-bottom: 0.8rem; }
    .art-meta-bar span     { font-size: 0.6rem; }
}

/* ── Tablet ── */
@media (min-width: 481px) and (max-width: 1000px) {
    .art-meta-bar          { gap: 0.5rem; margin-bottom: 1rem; }
    .art-meta-bar span     { font-size: 0.62rem; }
    .art-info              { font-size: 0.88rem; padding: 0.9rem 1rem; }
    .art-tip               { font-size: 0.84rem; padding: 0.8rem 1rem; }
    .art-warn              { font-size: 0.84rem; padding: 0.8rem 1rem; }
    .art-key               { font-size: 0.84rem; padding: 0.8rem 1rem; }
    .art-ccard             { padding: 0.9rem 0.85rem; }
    .art-ccard__title      { font-size: 0.84rem; }
    .art-ccard__body       { font-size: 0.76rem; }
    .art-table             { font-size: 0.78rem; }
    .art-table th          { padding: 0.45rem 0.75rem; }
    .art-table td          { padding: 0.4rem 0.75rem; }
    .art-code pre          { font-size: 0.8rem; padding: 0.9rem 1rem; }
    .art-resources         { padding: 0.85rem 1rem; gap: 0.65rem; }
    .articles-link         { font-size: 1.5vw; }
    .art-topic-card__tags  { display: flex; }
    .art-topic-card__arrow { font-size: 0.78rem; }
    .art-section-label     { font-size: 0.76rem; }
}