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;
}

.embedded-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;
}

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

.embedded-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%;
    }

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

    .Embedded-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;
    }

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

    .Embedded-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;
    }

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

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

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

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

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

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

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

    .embedded-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%;
    }

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

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

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

    .Embedded-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;
    }

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

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

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

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

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

    .embedded-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;
    }

    .Embedded-details {
        width: 100vw;
    }

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

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

    .Embedded-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;
    }

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

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

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

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

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

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

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

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

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

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

/* -------------------------  Loading state  ------------------------- */
.embedded-loading {
    text-align: center;
    padding: 2rem;
    color: #555;
    font-size: 1rem;
    font-family: 'Exo 2', sans-serif;
}

/* =========================================================
   CONTENT PAGE STYLES — Embedded1–4 topic pages
   ========================================================= */

/* ── Page title h2 ── */
.Embedded-modal h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    color: #020e38;
    border-bottom: 3px solid #1a6fc4;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* ── Section headings h3 ── */
.Embedded-modal h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    color: #1a6fc4;
    margin: 1.6rem 0 0.5rem;
    padding-left: 0.7rem;
    border-left: 4px solid #1a6fc4;
}

/* ── Sub-headings h4 ── */
.Embedded-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;
}
.Embedded-modal h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Paragraph text ── */
.Embedded-modal p {
    font-family: 'Exo 2', sans-serif;
    color: #2d3a4e;
    line-height: 1.75;
    margin: 0 0 0.8rem;
}

/* ── HR dividers ── */
.Embedded-modal hr {
    border: none;
    border-top: 2px solid rgba(2, 14, 56, 0.1);
    margin: 1.4rem 0;
}

/* ── Inline code ── */
.Embedded-modal code {
    font-family: 'Share Tech Mono', monospace;
    background: rgba(26, 111, 196, 0.1);
    color: #1a6fc4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid rgba(26, 111, 196, 0.2);
}

/* ── Info / intro highlight box ── */
.info-box {
    background: linear-gradient(135deg, rgba(26,111,196,0.1), rgba(0,198,255,0.08));
    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;
}

/* ── Feature/variant cards grid ── */
.embed-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 0.8rem 0 1.4rem;
}
.embed-card {
    background: linear-gradient(160deg, #d8e8f8 0%, #c4d5eb 100%);
    border: 2px solid #020e38;
    border-radius: 12px;
    padding: 1.1rem 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.embed-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a6fc4, #00c6ff);
    border-radius: 12px 12px 0 0;
}
.embed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 14, 56, 0.18);
}
.embed-card__title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    color: #020e38;
    margin: 0 0 0.4rem;
}
.embed-card__body {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.82rem;
    color: #2d3a4e;
    line-height: 1.55;
    margin: 0;
}

/* ── Step cards (getting started) ── */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0.8rem 0 1.4rem;
}
.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(160deg, #d8e8f8 0%, #c4d5eb 100%);
    border: 1.5px solid rgba(2, 14, 56, 0.2);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    transition: box-shadow 0.2s ease;
}
.step-card:hover {
    box-shadow: 0 4px 14px rgba(2, 14, 56, 0.14);
}
.step-card__num {
    background: linear-gradient(135deg, #1a6fc4, #00c6ff);
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-card__content { flex: 1; }
.step-card__title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #020e38;
    margin: 0 0 0.2rem;
}
.step-card__desc {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.82rem;
    color: #2d3a4e;
    line-height: 1.5;
    margin: 0;
}

/* ── Spec / feature tags ── */
.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem;
}
.spec-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: #1a6fc4;
    background: rgba(26, 111, 196, 0.1);
    border: 1px solid rgba(26, 111, 196, 0.3);
    border-radius: 14px;
    padding: 3px 10px;
}

/* ── Tip / note box ── */
.tip-box {
    background: rgba(52, 211, 153, 0.1);
    border: 1.5px solid rgba(52, 211, 153, 0.4);
    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;
}
.tip-box::before {
    content: '💡 Tip: ';
    font-weight: 700;
}

/* ── Warning box ── */
.warn-box {
    background: rgba(251, 191, 36, 0.1);
    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;
}
.warn-box::before {
    content: '⚠️ Note: ';
    font-weight: 700;
}

/* ── Resource / download button strip ── */
.resource-strip {
    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 overrides for content classes
   ========================================================= */
@media (max-width: 480px) {
    .Embedded-modal h3 {
        font-size: 4.2vw;
        padding-left: 0.5rem;
        margin: 1.2rem 0 0.4rem;
    }
    .Embedded-modal h4 {
        font-size: 3.8vw;
        margin: 0.9rem 0 0.25rem;
    }
    .Embedded-modal h4::before {
        width: 6px; height: 6px;
    }
    .embed-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    .embed-card {
        padding: 0.75rem 0.7rem;
        border-radius: 9px;
    }
    .embed-card__title { font-size: 0.78rem; }
    .embed-card__body  { font-size: 0.7rem; }

    .step-card         { gap: 0.7rem; padding: 0.75rem 0.8rem; }
    .step-card__num    { width: 26px; height: 26px; font-size: 0.72rem; }
    .step-card__title  { font-size: 0.78rem; }
    .step-card__desc   { font-size: 0.7rem; }

    .spec-tag          { font-size: 0.62rem; padding: 2px 7px; }
    .info-box          { font-size: 0.78rem; padding: 0.75rem 0.9rem; }
    .tip-box           { font-size: 0.75rem; padding: 0.7rem 0.85rem; }
    .warn-box          { font-size: 0.75rem; padding: 0.7rem 0.85rem; }
    .resource-strip    { padding: 0.75rem 0.9rem; gap: 0.5rem; }

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

    /* Disable hover on touch */
    .embed-card:hover  { transform: none; box-shadow: none; }
    .step-card:hover   { box-shadow: none; }
}

/* =========================================================
   TABLET overrides for content classes
   ========================================================= */
@media (min-width: 481px) and (max-width: 1000px) {
    .Embedded-modal h3 { font-size: 2.2vw; }
    .Embedded-modal h4 { font-size: 1.9vw; }

    .embed-card-grid   { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .embed-card        { padding: 0.9rem 0.85rem; }
    .embed-card__title { font-size: 0.88rem; }
    .embed-card__body  { font-size: 0.78rem; }

    .step-card__title  { font-size: 0.88rem; }
    .step-card__desc   { font-size: 0.78rem; }

    .embedded-link     { font-size: 1.5vw; }
}

/* =========================================================
   EMBEDDED.HTML PAGE DESIGN
   ========================================================= */

/* ── Page Hero Banner ── */
.emb-hero {
    background: linear-gradient(135deg, #020e38 0%, #0d2a6e 55%, #1a6fc4 100%);
    position: relative;
    overflow: hidden;
    padding: 2.8rem 2rem 2.4rem;
    text-align: center;
}
.emb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(0,198,255,0.08)' stroke-width='1'%3E%3Crect x='10' y='10' width='10' height='10'/%3E%3Crect x='40' y='10' width='10' height='10'/%3E%3Crect x='10' y='40' width='10' height='10'/%3E%3Crect x='40' y='40' width='10' height='10'/%3E%3Cline x1='20' y1='15' x2='40' y2='15'/%3E%3Cline x1='15' y1='20' x2='15' y2='40'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.emb-hero__inner { position: relative; max-width: 700px; margin: 0 auto; }
.emb-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;
}
.emb-hero__title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    color: #ffffff;
    margin: 0 0 0.7rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.emb-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 above topic grid ── */
.emb-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 layout (overrides plain Embedded-box) ── */
.emb-topic-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.emb-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;
}
.emb-topic-card:hover {
    transform: translateX(6px) !important;
    box-shadow: 0 6px 22px rgba(2,14,56,0.18) !important;
}
.emb-topic-card.active {
    background: linear-gradient(135deg, #1a6fc4, #3498db) !important;
    border-color: #1a6fc4 !important;
}
.emb-topic-card.active h2,
.emb-topic-card.active p,
.emb-topic-card.active .emb-topic-card__tags span,
.emb-topic-card.active .emb-topic-card__arrow { color: #fff !important; }
.emb-topic-card.active .emb-topic-card__tags span {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

/* Icon circle */
.emb-topic-card__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a6fc4, #00c6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(26,111,196,0.35);
}
.emb-topic-card.active .emb-topic-card__icon {
    background: rgba(255,255,255,0.25) !important;
    box-shadow: none;
}

/* Body text */
.emb-topic-card__body { flex: 1; min-width: 0; }
.emb-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;
}
.emb-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;
}

/* Mini tags inside card */
.emb-topic-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.emb-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 */
.emb-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;
}
.emb-topic-card:hover .emb-topic-card__arrow {
    color: #1a6fc4;
    transform: translateX(3px);
}

/* =========================================================
   MOBILE  (max-width: 480px)
   ========================================================= */
@media (max-width: 480px) {
    .emb-hero               { padding: 1.6rem 1rem 1.4rem; }
    .emb-hero__tag          { font-size: 0.6rem; padding: 3px 10px; margin-bottom: 0.6rem; }
    .emb-hero__title        { font-size: 1.35rem; margin-bottom: 0.5rem; }
    .emb-hero__sub          { font-size: 0.78rem; }

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

    .emb-topic-grid         { gap: 0.6rem; }
    .emb-topic-card         { gap: 0.7rem !important; padding: 0.75rem 0.85rem !important; }
    .emb-topic-card:hover   { transform: none !important; }

    .emb-topic-card__icon   { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; border-radius: 9px; }
    .emb-topic-card__body h2 { font-size: max(13px, 3.8vw); }
    .emb-topic-card__body p  { font-size: 3vw; display: none; }
    .emb-topic-card__tags    { display: none; }
    .emb-topic-card__arrow   { font-size: 0.7rem; }
}

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

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

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

/* ── Table (shared with Tutorial format, used in Embedded content pages) ── */
.tut-table-wrap { overflow-x: auto; margin: 0.8rem 0 1.4rem; }
.tut-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.82rem;
    min-width: 320px;
}
.tut-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;
}
.tut-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;
}
.tut-table tr:nth-child(even) td { background: rgba(26,111,196,0.06); }
.tut-table tr:hover td           { background: rgba(26,111,196,0.13); }

/* Mobile adjustments for tut-table inside Embedded pages */
@media (max-width: 480px) {
    .tut-table      { font-size: 0.7rem; }
    .tut-table th   { padding: 0.4rem 0.55rem; font-size: 0.67rem; }
    .tut-table td   { padding: 0.35rem 0.55rem; }
}

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

/* ── Mobile ── */
@media (max-width: 480px) {
    .step-list             { gap: 0.6rem; }
}

/* ── Tablet ── */
@media (min-width: 481px) and (max-width: 1000px) {
    .info-box              { font-size: 0.88rem; padding: 0.9rem 1rem; }
    .tip-box               { font-size: 0.84rem; padding: 0.8rem 1rem; }
    .warn-box              { font-size: 0.84rem; padding: 0.8rem 1rem; }
    .step-card             { gap: 0.8rem; padding: 0.8rem 0.9rem; }
    .step-card__title      { font-size: 0.86rem; }
    .step-card__desc       { font-size: 0.78rem; }
    .step-list             { gap: 0.7rem; }
    .resource-strip        { padding: 0.85rem 1rem; gap: 0.65rem; }
    .tut-table             { font-size: 0.78rem; }
    .tut-table th          { padding: 0.45rem 0.75rem; }
    .tut-table td          { padding: 0.4rem 0.75rem; }
}