/* Minimal guest classroom list. */
body.home-page section#lop-hoc.class-section.home-section {
    padding: clamp(2.5rem, 5vw, 5rem) 0 !important;
    background: #ffffff !important;
    scroll-margin-top: 8rem;
}

body.home-page section#lop-hoc .guest-class-heading {
    display: flex;
    align-items: end;
    justify-content: flex-start;
    gap: 2rem;
    margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

body.home-page section#lop-hoc .guest-class-heading > div {
    min-width: 0;
}

body.home-page section#lop-hoc .guest-class-heading h2 {
    margin: 0;
    color: #171717 !important;
    -webkit-text-fill-color: #171717 !important;
    font-size: clamp(2.25rem, 4vw, 3.6rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
}

body.home-page section#lop-hoc .guest-class-heading p {
    margin: 0.75rem 0 0;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

body.home-page section#lop-hoc .guest-class-grid.class-grid,
body.home-page section#lop-hoc .class-grid.class-grid--desktop-3.class-grid--guest-showcase.guest-class-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    gap: clamp(1rem, 2vw, 1.5rem) !important;
    align-items: stretch !important;
    width: 100% !important;
}

body.home-page section#lop-hoc .guest-class-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 1.1rem;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(24, 24, 27, 0.07);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.home-page section#lop-hoc .guest-class-card:hover,
body.home-page section#lop-hoc .guest-class-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(200, 16, 46, 0.22);
    box-shadow: 0 16px 36px rgba(24, 24, 27, 0.1);
}

body.home-page section#lop-hoc .guest-class-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f4f4f5;
}

body.home-page section#lop-hoc .guest-class-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 260ms ease;
}

body.home-page section#lop-hoc .guest-class-card:hover .guest-class-card__media img,
body.home-page section#lop-hoc .guest-class-card:focus-within .guest-class-card__media img {
    transform: scale(1.02);
}

body.home-page section#lop-hoc .guest-class-card__content {
    min-height: 8rem;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.15rem;
}

@media (min-width: 1081px) and (max-width: 1450px) {
    body.home-page section#lop-hoc .guest-class-heading,
    body.home-page section#lop-hoc .guest-class-grid.class-grid,
    body.home-page section#lop-hoc .class-grid.class-grid--desktop-3.class-grid--guest-showcase.guest-class-grid {
        width: calc(100% - 4.5rem) !important;
    }
}

body.home-page section#lop-hoc .guest-class-card__title-row {
    min-width: 0;
}

body.home-page section#lop-hoc .guest-class-card__title-row h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #18181b;
    -webkit-text-fill-color: #18181b;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.home-page section#lop-hoc .guest-class-card__title-row > span {
    display: block;
    margin-top: 0.35rem;
    color: #8a8a92;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.3;
}

body.home-page section#lop-hoc .guest-class-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
    color: #c8102e !important;
    -webkit-text-fill-color: #c8102e !important;
    font-size: 0.85rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}

body.home-page section#lop-hoc .guest-class-card__action svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms ease;
}

body.home-page section#lop-hoc .guest-class-card__action:hover svg,
body.home-page section#lop-hoc .guest-class-card__action:focus-visible svg {
    transform: translateX(3px);
}

@media (max-width: 1080px) {
    body.home-page section#lop-hoc .guest-class-grid.class-grid,
    body.home-page section#lop-hoc .class-grid.class-grid--desktop-3.class-grid--guest-showcase.guest-class-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 620px) {
    body.home-page section#lop-hoc.class-section.home-section {
        padding: 2.5rem 0 !important;
    }

    body.home-page section#lop-hoc .guest-class-heading {
        display: block;
    }

    body.home-page section#lop-hoc .guest-class-heading h2 {
        font-size: clamp(2rem, 10vw, 2.7rem) !important;
    }

    body.home-page section#lop-hoc .guest-class-heading p {
        font-size: 0.9rem;
    }

    body.home-page section#lop-hoc .guest-class-grid.class-grid,
    body.home-page section#lop-hoc .class-grid.class-grid--desktop-3.class-grid--guest-showcase.guest-class-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.9rem !important;
    }

}

@media (prefers-reduced-motion: reduce) {
    body.home-page section#lop-hoc .guest-class-card,
    body.home-page section#lop-hoc .guest-class-card__media img,
    body.home-page section#lop-hoc .guest-class-card__action svg {
        transition: none;
    }
}

/* Final home-section alignment loaded last: headings and cards share one visual system. */
body.home-page {
    --ms-unified-max: 1536px;
    --ms-unified-red: #c8102e;
    --ms-unified-ink: #151827;
    --ms-unified-copy: #667085;
    --ms-unified-line: rgba(200, 16, 46, 0.12);
    --ms-unified-soft: rgba(200, 16, 46, 0.08);
    --ms-unified-shadow: 0 18px 44px rgba(145, 13, 39, 0.08);
    --ms-unified-shadow-hover: 0 24px 58px rgba(145, 13, 39, 0.13);
    --ms-unified-radius: 20px;
}

body.home-page section#kho-game.home-section.home-games,
body.home-page a[href$="#kho-game"] {
    display: none !important;
}

body.home-page .home-main > .home-section > .container,
body.home-page section#lop-hoc.class-section.home-section > .container,
body.home-page section#khoa-hoc.home-learning-hub > .container,
body.home-page section#kho-game.home-section.home-games > .container,
body.home-page section#blog.home-section.blog-section.blog-showcase > .container,
body.home-page .home-gallery > .container {
    width: min(100% - 4rem, var(--ms-unified-max)) !important;
    max-width: var(--ms-unified-max) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

body.home-page .home-main > .home-section,
body.home-page section#lop-hoc.class-section.home-section,
body.home-page section#khoa-hoc.home-learning-hub,
body.home-page section#kho-game.home-section.home-games,
body.home-page section#blog.home-section.blog-section.blog-showcase {
    scroll-margin-top: 10rem !important;
}

body.home-page section#lop-hoc .guest-class-heading,
body.home-page section#khoa-hoc .course-showcase-list-head,
body.home-page section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero,
body.home-page .home-main--guest > section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero,
body.home-page section#blog.home-section.blog-section.blog-showcase > .container > .section-heading,
body.home-page .home-gallery__intro {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: none !important;
    align-items: end !important;
    gap: 1rem 2rem !important;
    margin: 0 0 clamp(1.25rem, 2vw, 1.8rem) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-page section#lop-hoc .guest-class-heading > div,
body.home-page section#khoa-hoc .course-showcase-list-title,
body.home-page section#kho-game .home-games-hero__copy,
body.home-page section#blog .section-text,
body.home-page .home-gallery__intro .section-text {
    display: grid !important;
    min-width: 0 !important;
    max-width: 760px !important;
    gap: 0.5rem !important;
}

body.home-page section#kho-game .home-games-hero__copy,
body.home-page section#kho-game .home-games-hero__art,
body.home-page section#kho-game .section-stats {
    grid-area: auto !important;
}

body.home-page section#khoa-hoc .course-showcase-list-title__mark,
body.home-page section#kho-game .home-games-hero__art,
body.home-page section#blog .blog-showcase__art {
    display: none !important;
}

body.home-page section#lop-hoc .guest-class-heading h2,
body.home-page section#khoa-hoc .course-showcase-list-title h3,
body.home-page section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero h2,
body.home-page .home-main--guest > section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero h2,
body.home-page section#blog.home-section.blog-section.blog-showcase .section-intro h2,
body.home-page section#blog.home-section.blog-section.blog-showcase .section-text > h2,
body.home-page .home-gallery__intro #homeGalleryTitle,
body.home-page .home-gallery__intro h2 {
    max-width: 980px !important;
    margin: 0 !important;
    color: var(--ms-unified-ink) !important;
    -webkit-text-fill-color: var(--ms-unified-ink) !important;
    font-size: clamp(2.15rem, 2.6vw, 2.75rem) !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
}

body.home-page section#lop-hoc .guest-class-heading p,
body.home-page section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero p,
body.home-page section#blog.home-section.blog-section.blog-showcase .section-intro p,
body.home-page section#blog.home-section.blog-section.blog-showcase .section-text > p,
body.home-page .home-gallery__intro p {
    max-width: 720px !important;
    margin: 0 !important;
    color: var(--ms-unified-copy) !important;
    -webkit-text-fill-color: var(--ms-unified-copy) !important;
    font-size: clamp(1rem, 1.1vw, 1.08rem) !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
}

body.home-page .section-kicker,
body.home-page section#blog .section-kicker,
body.home-page section#kho-game .section-kicker {
    width: fit-content !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    min-height: 2rem !important;
    padding: 0.4rem 0.85rem !important;
    border: 1px solid rgba(200, 16, 46, 0.08) !important;
    border-radius: 999px !important;
    background: var(--ms-unified-soft) !important;
    color: var(--ms-unified-red) !important;
    -webkit-text-fill-color: var(--ms-unified-red) !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

body.home-page .section-kicker::before,
body.home-page section#kho-game .section-kicker::before {
    content: none !important;
}

body.home-page section#kho-game .section-stats,
body.home-page section#blog .section-stats,
body.home-page .home-gallery .section-stats {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
}

body.home-page section#kho-game .stat-pill,
body.home-page section#blog .stat-pill,
body.home-page .home-gallery .section-stats .stat-pill {
    min-width: 0 !important;
    min-height: 0 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 0.4rem !important;
    padding: 0.6rem 0.95rem !important;
    border: 1px solid var(--ms-unified-line) !important;
    border-radius: 999px !important;
    background: #fff6f8 !important;
    color: var(--ms-unified-red) !important;
    -webkit-text-fill-color: var(--ms-unified-red) !important;
    box-shadow: none !important;
}

body.home-page section#kho-game .stat-pill strong,
body.home-page section#blog .stat-pill strong,
body.home-page .home-gallery .section-stats .stat-pill strong {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.home-page section#kho-game .stat-pill span,
body.home-page section#blog .stat-pill span,
body.home-page .home-gallery .section-stats .stat-pill span {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 0.74rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    opacity: 0.72 !important;
}

body.home-page section#lop-hoc .guest-class-grid.class-grid,
body.home-page section#lop-hoc .class-grid.class-grid--desktop-3.class-grid--guest-showcase.guest-class-grid,
body.home-page section#khoa-hoc .course-grid,
body.home-page section#khoa-hoc .course-grid--desktop-1,
body.home-page section#khoa-hoc .course-grid--desktop-2,
body.home-page section#khoa-hoc .course-grid--desktop-3,
body.home-page section#kho-game .home-games-grid,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(1rem, 1.6vw, 1.4rem) !important;
}

body.home-page section#lop-hoc .guest-class-card,
body.home-page section#khoa-hoc .course-card,
body.home-page section#kho-game .home-game-card__link,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-card,
body.home-page .home-gallery-card {
    overflow: hidden !important;
    border: 1px solid var(--ms-unified-line) !important;
    border-radius: var(--ms-unified-radius) !important;
    background: #ffffff !important;
    box-shadow: var(--ms-unified-shadow) !important;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

body.home-page section#blog.home-section.blog-section.blog-showcase .blog-card,
body.home-page section#kho-game .home-game-card__link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
}

body.home-page section#lop-hoc .guest-class-card:hover,
body.home-page section#lop-hoc .guest-class-card:focus-within,
body.home-page section#khoa-hoc .course-card:hover,
body.home-page section#khoa-hoc .course-card:focus-within,
body.home-page section#kho-game .home-game-card__link:hover,
body.home-page section#kho-game .home-game-card__link:focus-visible,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-card:hover,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-card:focus-visible,
body.home-page .home-gallery-card:hover,
body.home-page .home-gallery-card:focus-visible {
    transform: translateY(-3px) !important;
    border-color: rgba(200, 16, 46, 0.24) !important;
    box-shadow: var(--ms-unified-shadow-hover) !important;
    outline: none !important;
}

body.home-page section#lop-hoc .guest-class-card__media,
body.home-page section#khoa-hoc .course-thumb-wrapper,
body.home-page section#kho-game .home-game-card__thumb,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-thumb {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff3f5 !important;
}

body.home-page section#lop-hoc .guest-class-card__content,
body.home-page section#khoa-hoc .course-card .course-body,
body.home-page section#kho-game .home-game-card__body,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    gap: 0.75rem !important;
    padding: 1.15rem !important;
    background: #ffffff !important;
}

body.home-page section#lop-hoc .guest-class-card__title-row h3,
body.home-page section#khoa-hoc .course-card .course-title,
body.home-page section#kho-game .home-game-card__body h3,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-info h3 {
    min-height: 0 !important;
    margin: 0 !important;
    color: var(--ms-unified-ink) !important;
    -webkit-text-fill-color: var(--ms-unified-ink) !important;
    font-size: clamp(1.05rem, 1.25vw, 1.18rem) !important;
    font-weight: 900 !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.home-page section#khoa-hoc .course-card .course-summary,
body.home-page section#kho-game .home-game-card__summary,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-excerpt {
    color: var(--ms-unified-copy) !important;
    -webkit-text-fill-color: var(--ms-unified-copy) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}

body.home-page section#blog.home-section.blog-section.blog-showcase .blog-excerpt {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
}

body.home-page section#blog.home-section.blog-section.blog-showcase .blog-thumb.is-placeholder {
    display: grid !important;
    place-items: center !important;
    background:
        radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.72), transparent 32%),
        linear-gradient(135deg, #fff5f7 0%, #ffe4e9 100%) !important;
}

body.home-page section#blog.home-section.blog-section.blog-showcase .blog-thumb.is-placeholder::before {
    content: "Cô giáo Emily" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2.5rem !important;
    padding: 0.65rem 1rem !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--ms-unified-red) !important;
    -webkit-text-fill-color: var(--ms-unified-red) !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 30px rgba(200, 16, 46, 0.12) !important;
}

body.home-page section#lop-hoc .guest-class-card__action,
body.home-page section#khoa-hoc .course-card .course-action,
body.home-page section#blog.home-section.blog-section.blog-showcase .blog-link {
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 2.55rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    margin-top: auto !important;
    padding: 0.65rem 1rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ms-unified-red) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(200, 16, 46, 0.18) !important;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

@media (max-width: 1080px) {
    body.home-page section#lop-hoc .guest-class-grid.class-grid,
    body.home-page section#lop-hoc .class-grid.class-grid--desktop-3.class-grid--guest-showcase.guest-class-grid,
    body.home-page section#khoa-hoc .course-grid,
    body.home-page section#khoa-hoc .course-grid--desktop-1,
    body.home-page section#khoa-hoc .course-grid--desktop-2,
    body.home-page section#khoa-hoc .course-grid--desktop-3,
    body.home-page section#kho-game .home-games-grid,
    body.home-page section#blog.home-section.blog-section.blog-showcase .blog-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    body.home-page .home-main > .home-section,
    body.home-page section#lop-hoc.class-section.home-section,
    body.home-page section#khoa-hoc.home-learning-hub,
    body.home-page section#kho-game.home-section.home-games,
    body.home-page section#blog.home-section.blog-section.blog-showcase {
        scroll-margin-top: 13rem !important;
    }

    body.home-page .home-main > .home-section > .container,
    body.home-page section#lop-hoc.class-section.home-section > .container,
    body.home-page section#khoa-hoc.home-learning-hub > .container,
    body.home-page section#kho-game.home-section.home-games > .container,
    body.home-page section#blog.home-section.blog-section.blog-showcase > .container,
    body.home-page .home-gallery > .container {
        width: min(100% - 1.25rem, var(--ms-unified-max)) !important;
    }

    body.home-page section#lop-hoc .guest-class-heading,
    body.home-page section#khoa-hoc .course-showcase-list-head,
    body.home-page section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero,
    body.home-page .home-main--guest > section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero,
    body.home-page section#blog.home-section.blog-section.blog-showcase > .container > .section-heading,
    body.home-page .home-gallery__intro {
        grid-template-columns: 1fr !important;
        align-items: start !important;
        gap: 0.95rem !important;
    }

    body.home-page section#lop-hoc .guest-class-heading h2,
    body.home-page section#khoa-hoc .course-showcase-list-title h3,
    body.home-page section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero h2,
    body.home-page .home-main--guest > section#kho-game.home-section.home-games > .container > .section-heading.home-games-hero h2,
    body.home-page section#blog.home-section.blog-section.blog-showcase .section-intro h2,
    body.home-page section#blog.home-section.blog-section.blog-showcase .section-text > h2,
    body.home-page .home-gallery__intro #homeGalleryTitle,
    body.home-page .home-gallery__intro h2 {
        font-size: clamp(2rem, 10vw, 2.55rem) !important;
    }

    body.home-page section#lop-hoc .guest-class-grid.class-grid,
    body.home-page section#lop-hoc .class-grid.class-grid--desktop-3.class-grid--guest-showcase.guest-class-grid,
    body.home-page section#khoa-hoc .course-grid,
    body.home-page section#khoa-hoc .course-grid--desktop-1,
    body.home-page section#khoa-hoc .course-grid--desktop-2,
    body.home-page section#khoa-hoc .course-grid--desktop-3,
    body.home-page section#kho-game .home-games-grid,
    body.home-page section#blog.home-section.blog-section.blog-showcase .blog-list {
        grid-template-columns: 1fr !important;
    }

    body.home-page section#kho-game .section-stats,
    body.home-page section#blog .section-stats,
    body.home-page .home-gallery .section-stats {
        justify-content: flex-start !important;
    }
}

/* Blog table of contents */
body.home-page section#blog .blog-toc-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 1rem !important;
    margin: 0 0 clamp(1.25rem, 2vw, 1.75rem) !important;
    padding: 0.85rem !important;
    border: 1px solid var(--ms-unified-line) !important;
    border-radius: var(--ms-unified-radius) !important;
    background:
        radial-gradient(circle at 0 0, rgba(200, 16, 46, 0.09), transparent 34%),
        #ffffff !important;
    box-shadow: 0 14px 34px rgba(145, 13, 39, 0.07) !important;
}

body.home-page section#blog .blog-toc-card__intro {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-width: max-content !important;
    padding: 0.25rem 1rem 0.25rem 0.25rem !important;
    border-right: 1px solid var(--ms-unified-line) !important;
}

body.home-page section#blog .blog-toc-card__icon {
    width: 2.7rem !important;
    height: 2.7rem !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    border-radius: 0.85rem !important;
    background: var(--ms-unified-red) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.2) !important;
}

body.home-page section#blog .blog-toc-card__icon svg {
    width: 1.35rem !important;
    height: 1.35rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.home-page section#blog .blog-toc-card__copy {
    display: grid !important;
    gap: 0.15rem !important;
}

body.home-page section#blog .blog-toc-card__copy strong {
    color: var(--ms-unified-ink) !important;
    -webkit-text-fill-color: var(--ms-unified-ink) !important;
    font-size: 0.98rem !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

body.home-page section#blog .blog-toc-card__copy small {
    color: var(--ms-unified-copy) !important;
    -webkit-text-fill-color: var(--ms-unified-copy) !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body.home-page section#blog .blog-toc-card__items {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.55rem !important;
}

body.home-page section#blog .blog-toc-card__item {
    min-height: 2.55rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    padding: 0.55rem 0.65rem 0.55rem 0.9rem !important;
    border: 1px solid rgba(200, 16, 46, 0.12) !important;
    border-radius: 999px !important;
    background: #fff7f8 !important;
    color: #8f1830 !important;
    -webkit-text-fill-color: #8f1830 !important;
    box-shadow: none !important;
    font-size: 0.84rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease !important;
}

body.home-page section#blog .blog-toc-card__item em {
    min-width: 1.55rem !important;
    height: 1.55rem !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 0.35rem !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--ms-unified-red) !important;
    -webkit-text-fill-color: var(--ms-unified-red) !important;
    font-size: 0.72rem !important;
    font-style: normal !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 10px rgba(145, 13, 39, 0.08) !important;
}

body.home-page section#blog .blog-toc-card__item:hover,
body.home-page section#blog .blog-toc-card__item:focus-visible {
    transform: translateY(-1px) !important;
    border-color: rgba(200, 16, 46, 0.3) !important;
    background: #fff0f3 !important;
    outline: none !important;
}

body.home-page section#blog .blog-toc-card__item.is-active {
    border-color: var(--ms-unified-red) !important;
    background: var(--ms-unified-red) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.18) !important;
}

@media (max-width: 720px) {
    body.home-page section#blog .blog-toc-card {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0.75rem !important;
    }

    body.home-page section#blog .blog-toc-card__intro {
        min-width: 0 !important;
        padding: 0.15rem 0.15rem 0.75rem !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--ms-unified-line) !important;
    }

    body.home-page section#blog .blog-toc-card__items {
        width: 100% !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 0.1rem 0.05rem 0.35rem !important;
        scroll-snap-type: x proximity !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(200, 16, 46, 0.24) transparent !important;
    }

    body.home-page section#blog .blog-toc-card__item {
        flex: 0 0 auto !important;
        scroll-snap-align: start !important;
    }
}
