.tmv-home {
    --home-ink: #2f2850;
    --home-muted: #6f6884;
    --home-purple: #7256f5;
    --home-purple-dark: #5b3fe1;
    --home-pink: #ff6f9e;
    --home-yellow: #ffe786;
    --home-blue: #c8efff;
    --home-green: #70d6a0;
    --home-soft: #f6f3ff;
    --home-cream: #fff9ed;
    --home-line: #e8e3f2;
    --home-shadow: 0 16px 40px rgba(47, 40, 80, .09);
    color: var(--home-ink);
    background: #fff;
    overflow: hidden;
}

.tmv-home *,
.tmv-home *::before,
.tmv-home *::after { box-sizing: border-box; }
.tmv-home img,
.tmv-home svg { display: block; max-width: 100%; }
.tmv-home a { text-decoration: none; }
.tmv-home h1,
.tmv-home h2,
.tmv-home h3,
.tmv-home p { margin-top: 0; }
.tmv-home h1,
.tmv-home h2,
.tmv-home h3 { color: var(--home-ink); letter-spacing: -.035em; }
.tmv-home h1 { max-width: 760px; margin-bottom: 20px; font-size: clamp(2.55rem, 5vw, 4.8rem); line-height: .98; font-weight: 950; }
.tmv-home h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.02; font-weight: 930; }
.tmv-home h3 { line-height: 1.15; font-weight: 900; }
.tmv-home p { color: var(--home-muted); }

.tmv-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--home-purple) !important;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.tmv-home-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 99px; background: var(--home-pink); }
.tmv-home-eyebrow-light { color: #ffe786 !important; }
.tmv-home-eyebrow-light::before { background: #fff; }

.tmv-home-hero {
    position: relative;
    padding: 78px 0 86px;
    background: linear-gradient(120deg, #fff6ed 0%, #fff 46%, #eafaf5 100%);
}
.tmv-home-hero::before,
.tmv-home-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.tmv-home-hero::before { left: -130px; bottom: -115px; width: 320px; height: 220px; background: #ffdce9; }
.tmv-home-hero::after { right: -90px; top: -70px; width: 270px; height: 180px; background: #e7e0ff; }
.tmv-home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 60px;
    align-items: center;
}
.tmv-home-lead { max-width: 720px; margin-bottom: 0; font-size: 1.08rem; line-height: 1.75; }
.tmv-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.tmv-home-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.tmv-home-button:hover,
.tmv-home-button:focus-visible { transform: translateY(-2px); }
.tmv-home-button-primary { color: #fff !important; background: var(--home-purple); box-shadow: 0 12px 25px rgba(114, 86, 245, .22); }
.tmv-home-button-primary:hover,
.tmv-home-button-primary:focus-visible { background: var(--home-purple-dark); }
.tmv-home-button-light { color: var(--home-ink) !important; background: #fff; border: 1px solid var(--home-line); }
.tmv-home-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; list-style: none; color: var(--home-muted); font-size: .88rem; font-weight: 800; }
.tmv-home-trust li { display: inline-flex; align-items: center; gap: 7px; }
.tmv-home-trust li span { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--home-green); font-size: .72rem; }

.tmv-home-hero-visual { position: relative; min-height: 420px; }
.tmv-home-hero-sheet { position: absolute; inset: 28px 34px 26px 0; display: grid; place-items: center; padding: 28px; background: #fff; border: 1px solid rgba(47, 40, 80, .06); border-radius: 32px; box-shadow: var(--home-shadow); transform: rotate(2.5deg); }
.tmv-home-hero-sheet img { width: 88%; height: 88%; object-fit: contain; }
.tmv-home-hero-float { position: absolute; right: 0; bottom: 0; width: 145px; padding: 16px; text-align: center; background: #fff; border-radius: 22px; box-shadow: var(--home-shadow); transform: rotate(-4deg); }
.tmv-home-hero-float img { width: 78px; height: 66px; margin: 0 auto 8px; object-fit: contain; }
.tmv-home-hero-float strong { display: block; color: var(--home-ink); font-size: .83rem; }
.tmv-home-hero-float span { display: block; color: var(--home-muted); font-size: .69rem; }

.tmv-home-section { padding: 82px 0; }
.tmv-home-section-soft { background: var(--home-soft); }
/* Featured post names */
.tmv-home-featured-posts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 38px;
}

.tmv-home-featured-post {
    position: relative;
    min-width: 0;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    color: var(--home-ink) !important;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    isolation: isolate;
    transition: transform .2s ease, filter .2s ease;
}

.tmv-home-featured-post::before {
    content: "";
    position: absolute;
    inset: 5px 0;
    z-index: -1;
    background: var(--tmv-featured-color);
    clip-path: polygon(
        1% 18%,
        10% 9%,
        22% 13%,
        34% 7%,
        47% 12%,
        60% 6%,
        73% 12%,
        86% 8%,
        98% 16%,
        100% 35%,
        97% 53%,
        100% 71%,
        94% 88%,
        81% 92%,
        68% 87%,
        55% 94%,
        42% 88%,
        29% 94%,
        16% 89%,
        3% 92%,
        0 72%,
        3% 52%,
        0 34%
    );
    border-radius: 26px;
    opacity: .88;
    transform: rotate(-1deg);
}

.tmv-home-featured-post:nth-child(even)::before {
    transform: rotate(1deg);
}

.tmv-home-featured-post:hover,
.tmv-home-featured-post:focus-visible {
    color: var(--home-ink) !important;
    filter: saturate(1.12);
    transform: translateY(-3px);
}

.tmv-home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}
.tmv-home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.tmv-home-section-heading > div { max-width: 760px; }
.tmv-home-section-heading p:last-child { margin-bottom: 0; line-height: 1.7; }
.tmv-home-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--home-purple) !important; font-weight: 900; white-space: nowrap; }
.tmv-home-text-link:hover,
.tmv-home-text-link:focus-visible { text-decoration: underline; }

.tmv-home-latest-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: start; }
.tmv-home-card-grid { display: grid; gap: 17px; }
.tmv-home-card-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tmv-home-card-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tmv-home-card { min-width: 0; height: 100%; background: #fff; border: 3px solid var(--tmv-card-accent, var(--home-purple)); border-radius: 20px; overflow: hidden; box-shadow: 0 9px 26px rgba(47, 40, 80, .07); transition: transform .2s ease, box-shadow .2s ease; }
.tmv-home-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(47, 40, 80, .14); }
.tmv-home-card-link { height: 100%; display: flex; flex-direction: column; color: inherit !important; }
.tmv-home-card-preview { position: relative; aspect-ratio: 1 / 1.02; display: grid; place-items: center; padding: 12px; overflow: hidden; background: linear-gradient(#fff, #fcfbff); border-bottom: 1px solid var(--home-line); }
.tmv-home-card-image { width: 100%; height: 100%; object-fit: contain; }
.tmv-home-card-fallback { width: 76%; color: #9184c9; }
.tmv-home-card-fallback svg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tmv-home-card-badge { position: absolute; top: 9px; right: 9px; padding: 5px 8px; color: #fff; background: var(--home-pink); border-radius: 99px; font-size: .62rem; font-weight: 900; }
.tmv-home-card-copy { flex: 1; display: flex; flex-direction: column; padding: 14px 14px 15px; }
.tmv-home-card-title { min-height: 2.5em; color: var(--home-ink); font-size: .94rem; line-height: 1.25; font-weight: 900; }
.tmv-home-card-meta { margin-top: 8px; color: #8d86a0; font-size: .68rem; font-weight: 800; }
.tmv-home-empty { grid-column: 1 / -1; padding: 24px; text-align: center; background: #fff; border: 1px dashed var(--home-line); border-radius: 18px; }

.tmv-home-sidebar { display: grid; gap: 18px; }
.tmv-home-shop-card { padding: 20px; text-align: center; background: #fff5b8; border-radius: 20px; box-shadow: var(--home-shadow); }
.tmv-home-shop-label { display: inline-block; margin-bottom: 10px; padding: 5px 10px; color: #fff; background: var(--home-purple); border-radius: 99px; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.tmv-home-shop-art { width: 122px; margin: 0 auto 10px; color: var(--home-ink); }
.tmv-home-shop-art svg { fill: #fff9dc; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tmv-home-shop-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.tmv-home-shop-card p { margin-bottom: 13px; font-size: .82rem; line-height: 1.55; }
.tmv-home-shop-card > a { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 14px; color: #fff !important; background: var(--home-purple); border-radius: 99px; font-size: .75rem; font-weight: 900; }
.tmv-home-sidebar-box { padding: 18px; background: #fff; border: 1px solid var(--home-line); border-radius: 18px; box-shadow: 0 8px 22px rgba(47, 40, 80, .06); }
.tmv-home-sidebar-box h3 { margin-bottom: 13px; font-size: 1rem; }
.tmv-home-category-list { margin: 0; padding: 0; list-style: none; }
.tmv-home-category-list li + li { border-top: 1px solid var(--home-line); }
.tmv-home-category-list a { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--home-ink) !important; font-size: .78rem; font-weight: 800; }
.tmv-home-category-list a:hover,
.tmv-home-category-list a:focus-visible { color: var(--home-purple) !important; }
.tmv-home-category-list small { color: #938ca4; }
.tmv-home-recent-list { display: grid; gap: 10px; }
.tmv-home-recent-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--home-ink) !important; font-size: .77rem; font-weight: 800; }
.tmv-home-recent-thumb,
.tmv-home-recent-placeholder { width: 48px; height: 48px; border: 1px solid var(--home-line); border-radius: 12px; object-fit: contain; background: #faf9fd; }
.tmv-home-recent-placeholder { display: grid; place-items: center; color: var(--home-purple); font-size: 1.2rem; }

.tmv-home-centered-heading { max-width: 780px; margin: 0 auto 30px; text-align: center; }
.tmv-home-centered-heading .tmv-home-eyebrow { justify-content: center; }
.tmv-home-how { background: var(--home-cream); }
.tmv-home-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tmv-home-how-card { position: relative; min-height: 245px; display: flex; flex-direction: column; padding: 26px; border-radius: 20px; overflow: hidden; }
.tmv-home-how-yellow { background: #ffe889; }
.tmv-home-how-pink { background: #ffdfe9; }
.tmv-home-how-blue { background: #ccefff; }
.tmv-home-how-number { position: absolute; top: 12px; right: 18px; color: rgba(47, 40, 80, .12); font-size: 3.7rem; line-height: 1; font-weight: 950; }
.tmv-home-how-card h3 { position: relative; margin-bottom: 10px; font-size: 1.2rem; }
.tmv-home-how-card p { position: relative; margin-bottom: 18px; color: #514a65; font-size: .9rem; line-height: 1.65; }
.tmv-home-how-card a { position: relative; margin-top: auto; align-self: flex-start; padding: 8px 13px; color: var(--home-ink) !important; background: #fff; border-radius: 99px; font-size: .75rem; font-weight: 900; }

.tmv-home-parent-guide { padding: 82px 0; color: #fff; background: #39235e; }
.tmv-home-parent-guide h2,
.tmv-home-parent-guide h3,
.tmv-home-parent-guide p { color: #fff; }
.tmv-home-guide-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 64px; align-items: center; }
.tmv-home-guide-points { display: grid; gap: 15px; margin: 28px 0; padding: 0; list-style: none; }
.tmv-home-guide-points li { position: relative; padding-left: 38px; }
.tmv-home-guide-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 25px; height: 25px; display: grid; place-items: center; color: var(--home-ink); background: var(--home-yellow); border-radius: 50%; font-weight: 950; }
.tmv-home-guide-points strong,
.tmv-home-guide-points span { display: block; }
.tmv-home-guide-points span { margin-top: 3px; color: rgba(255,255,255,.73); font-size: .87rem; }
.tmv-home-info-sheet { padding: 26px; color: var(--home-ink); background: #fff; border-radius: 22px; box-shadow: 0 18px 45px rgba(0,0,0,.17); transform: rotate(2deg); }
.tmv-home-info-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--home-line); }
.tmv-home-info-head span { padding: 5px 9px; color: #197a59; background: #dff8eb; border-radius: 99px; font-size: .68rem; font-weight: 900; }
.tmv-home-info-sheet dl { margin: 0; }
.tmv-home-info-sheet dl > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--home-line); }
.tmv-home-info-sheet dt { color: var(--home-muted); font-weight: 700; }
.tmv-home-info-sheet dd { margin: 0; font-weight: 900; }
.tmv-home-info-sheet > p { margin: 16px 0 0; color: var(--home-muted); font-size: .82rem; }

.tmv-home-editorial { padding: 84px 0; background: #fff; }
.tmv-home-entry { max-width: 1080px; }
.tmv-home-intro-kicker { color: var(--home-ink) !important; font-size: .87rem; font-weight: 900; }
.tmv-home-entry > p { font-size: 1rem; line-height: 1.78; }
.tmv-home-copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin: 32px 0 58px; }
.tmv-home-copy-grid article { padding: 22px; border: 1px solid var(--home-line); border-radius: 18px; box-shadow: 0 8px 22px rgba(47, 40, 80, .05); }
.tmv-home-copy-grid h3 { margin-bottom: 8px; font-size: 1rem; }
.tmv-home-copy-grid p { margin-bottom: 0; font-size: .9rem; line-height: 1.65; }
.tmv-home-editorial-split { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 60px; margin-top: 42px; }
.tmv-home-editorial-split h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.tmv-home-editorial-split h3 { margin-top: 24px; margin-bottom: 7px; font-size: 1.05rem; }
.tmv-home-editorial-split p { line-height: 1.75; }
.tmv-home-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 56px; padding: 28px 32px; background: linear-gradient(100deg, #fff3c9, #f2eaff); border-radius: 22px; }
.tmv-home-cta h2 { margin-bottom: 8px; font-size: clamp(1.7rem, 2.8vw, 2.45rem); }
.tmv-home-cta p { max-width: 720px; margin-bottom: 0; }

.tmv-home-faq { background: var(--home-soft); }
.tmv-home-faq-wrap { max-width: 900px; }
.tmv-home-faq-list { display: grid; gap: 11px; }
.tmv-home-faq-item { background: #fff; border: 1px solid var(--home-line); border-radius: 14px; box-shadow: 0 6px 18px rgba(47, 40, 80, .05); overflow: hidden; }
.tmv-home-faq-item h3 { margin: 0; }
.tmv-home-faq-question { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; color: var(--home-ink); text-align: left; background: #fff; border: 0; font-size: .93rem; font-weight: 900; }
.tmv-home-faq-question > span:last-child { color: var(--home-purple); font-size: 1.4rem; transition: transform .18s ease; }
.tmv-home-faq-item.is-open .tmv-home-faq-question > span:last-child { transform: rotate(45deg); }
.tmv-home-faq-answer { padding: 0 18px 16px; }
.tmv-home-faq-answer p { margin: 0; line-height: 1.7; }

@media (max-width: 1080px) {
    .tmv-home-card-grid-five { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .tmv-home-latest-layout { grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 900px) {
	.tmv-home-featured-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
    .tmv-home-hero-grid,
    .tmv-home-guide-grid,
    .tmv-home-editorial-split { grid-template-columns: 1fr; }
    .tmv-home-hero-copy { text-align: center; }
    .tmv-home-hero-copy h1,
    .tmv-home-lead { margin-inline: auto; }
    .tmv-home-actions,
    .tmv-home-trust { justify-content: center; }
    .tmv-home-hero-visual { width: min(540px, 100%); margin: 0 auto; }
    .tmv-home-latest-layout { grid-template-columns: 1fr; }
    .tmv-home-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tmv-home-shop-card { grid-row: span 2; }
    .tmv-home-card-grid-four,
    .tmv-home-card-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tmv-home-how-grid { grid-template-columns: 1fr; }
    .tmv-home-info-sheet { transform: none; }
}
@media (max-width: 680px) {
	.tmv-home-featured-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.tmv-home-featured-post {
    min-height: 56px;
    padding: 11px 12px;
    font-size: 14px;
}
    .tmv-home-hero { padding: 56px 0 64px; }
    .tmv-home h1 { font-size: 2.55rem; }
    .tmv-home-section,
    .tmv-home-parent-guide,
    .tmv-home-editorial { padding: 64px 0; }
    .tmv-home-section-heading { align-items: flex-start; flex-direction: column; }
    .tmv-home-card-grid-four,
    .tmv-home-card-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .tmv-home-sidebar { grid-template-columns: 1fr; }
    .tmv-home-shop-card { grid-row: auto; }
    .tmv-home-copy-grid { grid-template-columns: 1fr; }
    .tmv-home-cta { align-items: flex-start; flex-direction: column; padding: 24px; }
    .tmv-home-hero-visual { min-height: 330px; }
    .tmv-home-hero-sheet { inset: 20px 18px 28px 0; padding: 18px; }
    .tmv-home-hero-float { width: 118px; padding: 12px; }
}
@media (max-width: 420px) {
    .tmv-home-card-grid-four,
    .tmv-home-card-grid-five { grid-template-columns: 1fr 1fr; }
    .tmv-home-card-copy { padding: 11px; }
    .tmv-home-card-title { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
    .tmv-home *,
    .tmv-home *::before,
    .tmv-home *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Full category directory moved out of the homepage sidebar. */
.tmv-home-categories-section {
    padding-top: 74px;
    padding-bottom: 82px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 216, 97, .22), transparent 25%),
        radial-gradient(circle at 94% 82%, rgba(93, 200, 255, .16), transparent 28%),
        #fff;
}
.tmv-home-categories-heading { margin-bottom: 34px; }
.tmv-home-categories-heading > p:last-child { margin-bottom: 0; color: var(--home-muted); line-height: 1.7; }
.tmv-home-categories-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tmv-home-category-card {
    --tmv-category-accent: var(--home-purple);
    --tmv-category-soft: #f1edff;
    min-width: 0;
    min-height: 86px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: var(--home-ink) !important;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(47, 40, 80, .06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tmv-home-category-card:hover,
.tmv-home-category-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--tmv-category-accent);
    box-shadow: 0 15px 34px rgba(47, 40, 80, .12);
}
.tmv-home-category-media {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--tmv-category-accent) 24%, white);
    border-radius: 16px;
    background: var(--tmv-category-soft);
}
.tmv-home-category-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .22s ease;
}
.tmv-home-category-card:hover .tmv-home-category-thumbnail,
.tmv-home-category-card:focus-visible .tmv-home-category-thumbnail { transform: scale(1.06); }
.tmv-home-category-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--tmv-category-accent);
    background: var(--tmv-category-soft);
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 950;
}
.tmv-home-category-copy { min-width: 0; }
.tmv-home-category-copy strong,
.tmv-home-category-copy small { display: block; }
.tmv-home-category-copy strong { overflow: hidden; font-size: .84rem; line-height: 1.25; text-overflow: ellipsis; }
.tmv-home-category-copy small { margin-top: 4px; color: var(--home-muted); font-size: .66rem; font-weight: 750; }
.tmv-home-category-arrow { color: var(--tmv-category-accent); font-size: 1.1rem; font-weight: 950; }
.tmv-home-category-accent-1 { --tmv-category-accent: #7256f5; --tmv-category-soft: #f0ecff; }
.tmv-home-category-accent-2 { --tmv-category-accent: #e65f8e; --tmv-category-soft: #fff0f5; }
.tmv-home-category-accent-3 { --tmv-category-accent: #d29a00; --tmv-category-soft: #fff8d9; }
.tmv-home-category-accent-4 { --tmv-category-accent: #178b68; --tmv-category-soft: #e6f8f1; }
.tmv-home-category-accent-5 { --tmv-category-accent: #1680b5; --tmv-category-soft: #e9f7ff; }
.tmv-home-category-accent-6 { --tmv-category-accent: #b261d1; --tmv-category-soft: #f9edff; }

@media (max-width: 1080px) {
    .tmv-home-categories-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .tmv-home-categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .tmv-home-categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .tmv-home-category-card { min-height: 82px; grid-template-columns: 48px minmax(0, 1fr); padding: 10px; }
    .tmv-home-category-media, .tmv-home-category-icon { width: 48px; height: 48px; border-radius: 12px; }
    .tmv-home-category-arrow { display: none; }
}


/* Random coloring discovery card below recently viewed posts. */
.tmv-home-random-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    text-align: center;
    background: linear-gradient(145deg, #fff 0%, #fff8fc 54%, #f4efff 100%);
    border: 1px solid #eadff7;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(74, 49, 113, .09);
    transition: opacity .16s ease, transform .16s ease;
}

.tmv-home-random-card::before,
.tmv-home-random-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.tmv-home-random-card::before {
    width: 76px;
    height: 76px;
    right: -28px;
    top: -32px;
    background: rgba(255, 218, 92, .35);
}

.tmv-home-random-card::after {
    width: 58px;
    height: 58px;
    left: -25px;
    bottom: -24px;
    background: rgba(114, 86, 245, .12);
}

.tmv-home-random-card.is-changing {
    opacity: .72;
    transform: scale(.985);
}

.tmv-home-random-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--home-purple);
    font-size: .67rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tmv-home-random-card h3 {
    position: relative;
    max-width: 220px;
    margin: 0 auto 13px;
    color: var(--home-ink);
    font-size: 1rem;
    line-height: 1.35;
}

.tmv-home-random-link {
    position: relative;
    display: block;
    color: var(--home-ink) !important;
    text-decoration: none;
}

.tmv-home-random-media {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 15px;
    box-shadow: 0 7px 18px rgba(47, 40, 80, .08);
}

.tmv-home-random-media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    box-sizing: border-box;
}

.tmv-home-random-placeholder {
    width: 100%;
    height: 100%;
}

.tmv-home-random-placeholder {
    display: grid;
    place-items: center;
    color: var(--home-purple);
    font-size: 2rem;
}

.tmv-home-random-link strong {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0 11px;
    font-size: .8rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tmv-home-random-link:hover strong,
.tmv-home-random-link:focus-visible strong {
    color: var(--home-purple);
}

.tmv-home-random-button {
    position: relative;
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    color: #fff;
    background: linear-gradient(135deg, #7256f5, #ef4f8f);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(114, 86, 245, .22);
    font-size: .72rem;
    font-weight: 900;
    cursor: pointer;
}

.tmv-home-random-button:hover,
.tmv-home-random-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(114, 86, 245, .28);
}

.tmv-home-random-card > small {
    position: relative;
    display: block;
    margin-top: 9px;
    color: var(--home-muted);
    font-size: .63rem;
    line-height: 1.45;
}
