/* TechBird Mag - main stylesheet. Mobile first. Prefix: .tb- / --tb- */
:root {
    --tb-primary: #5937FB;
    --tb-primary-dark: #4524EA;
    --tb-ink: #0D1117;
    --tb-heading: #0D1117;
    --tb-accent: #FF3366;
    --tb-highlight: #FFB020;
    --tb-bg: #F8F9FA;
    --tb-surface: #FFFFFF;
    --tb-text: #111827;
    --tb-muted: #64748B;
    --tb-border: #E2E8F0;
    --tb-r: 12px;
    --tb-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --tb-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --tb-link: var(--tb-primary)
}

[data-theme=dark] {
    --tb-bg: #0B0E14;
    --tb-surface: #131823;
    --tb-text: #F1F5F9;
    --tb-muted: #94A3B8;
    --tb-border: #1E293B;
    --tb-primary: #7B62FD;
    --tb-primary-dark: #9A85FF;
    --tb-accent: #FF5C8A;
    --tb-link: #8C77FF;
    --tb-ink: #0D1117;
    --tb-heading: #FFFFFF
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: clip
}

.tb-pulse {
    animation: tbPulseGlow 1.2s ease-in-out;
}
@keyframes tbPulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(89, 55, 251, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(89, 55, 251, 0); }
    100% { box-shadow: 0 0 0 0 rgba(89, 55, 251, 0); }
}

body {
    margin: 0;
    background: var(--tb-bg);
    color: var(--tb-text);
    font: 16px/1.65 var(--tb-body);
    overflow-x: clip
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto
}

a {
    color: var(--tb-link);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

[data-theme=dark] a:hover {
    color: var(--tb-primary)
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--tb-head);
    color: var(--tb-heading, var(--tb-ink));
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 .5em
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--tb-head);
    color: var(--tb-heading, var(--tb-ink));
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 .5em
}

[data-theme=dark] h1,
[data-theme=dark] h2,
[data-theme=dark] h3,
[data-theme=dark] h4,
[data-theme=dark] h5 {
    color: var(--tb-heading, #FFFFFF)
}

h1 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.03em
}

h2 {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.025em
}

h3 {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em
}

h4 {
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.015em
}

h5 {
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: -0.01em
}

@media(min-width:768px) {
    h1 {
        font-size: 42px
    }

    h2 {
        font-size: 30px
    }

    h3 {
        font-size: 24px
    }

    h4 {
        font-size: 18px
    }

    h5 {
        font-size: 15px
    }
}

h1 {
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: -0.02em
}

h2 {
    font-size: 22px;
    line-height: 1.24;
    letter-spacing: -0.015em
}

h3 {
    font-size: 19px;
    line-height: 1.28;
    letter-spacing: -0.01em
}

h4 {
    font-size: 16px;
    line-height: 1.32;
    letter-spacing: -0.01em
}

h5 {
    font-size: 14px;
    line-height: 1.35
}

@media(min-width:768px) {
    h1 {
        font-size: 38px
    }

    h2 {
        font-size: 28px
    }

    h3 {
        font-size: 22px
    }

    h4 {
        font-size: 18px
    }

    h5 {
        font-size: 15px
    }
}

:focus-visible {
    outline: 3px solid var(--tb-primary);
    outline-offset: 2px
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap
}

.tb-skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--tb-ink);
    color: #fff;
    padding: 10px 16px;
    z-index: 1000
}

.tb-skip:focus {
    left: 0
}

.tb-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px
}

.tb-muted {
    color: var(--tb-muted)
}

ul,
ol {
    padding-left: 1.2em
}

/* buttons */
.tb-btn,
.tb-searchform button,
.wp-block-button__link,
input[type=submit] {
    display: inline-block;
    background: var(--tb-primary);
    color: #fff;
    border: 0;
    border-radius: var(--tb-r);
    padding: 10px 20px;
    font: 700 14.5px var(--tb-body);
    letter-spacing: -0.01em;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .1s
}

.tb-btn:hover,
.tb-searchform button:hover,
.wp-block-button__link:hover,
input[type=submit]:hover {
    background: var(--tb-primary-dark);
    text-decoration: none;
    color: #fff
}

[data-theme=dark] .tb-btn,
[data-theme=dark] .tb-searchform button,
[data-theme=dark] input[type=submit] {
    background: var(--tb-primary);
    color: #0B0E14
}

[data-theme=dark] .tb-btn:hover {
    background: var(--tb-primary-dark);
    color: #fff
}

.tb-btn--sm {
    padding: 7px 14px;
    font-size: 13.5px
}

.tb-btn--ghost {
    background: transparent;
    color: var(--tb-primary);
    border: 2px solid currentColor
}

.tb-iconbtn {
    background: none;
    border: 0;
    color: inherit;
    padding: 8px;
    cursor: pointer;
    display: inline-flex;
    border-radius: var(--tb-r)
}

.tb-iconbtn:hover {
    background: rgba(127, 127, 127, .15)
}

.tb-icon {
    display: block
}

/* header */
.tb-header {
    background: var(--tb-surface);
    border-bottom: 1px solid var(--tb-border);
    z-index: 50
}

.tb-header.is-sticky {
    position: sticky;
    top: 0
}

.admin-bar .tb-header.is-sticky {
    top: 32px
}

.tb-topbar {
    background: var(--tb-ink);
    color: #E6EDF3;
    font-size: 12.5px;
    letter-spacing: -0.01em
}

.tb-topbar__in {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 36px
}

.tb-topbar__date {
    display: none;
    white-space: nowrap;
    font-weight: 600
}

.tb-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0
}

.tb-ticker__label {
    background: var(--tb-accent);
    color: #fff;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: .06em
}

.tb-ticker__items {
    position: relative;
    flex: 1;
    height: 22px;
    overflow: hidden
}

.tb-ticker__item {
    position: absolute;
    inset: 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(8px);
    transition: .35s;
    pointer-events: none;
    font-weight: 600
}

.tb-ticker__item.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto
}

.tb-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.tb-social a {
    color: inherit;
    font-size: 12.5px;
    font-weight: 600
}

.tb-topbar__social {
    display: none
}

.tb-mainbar__in {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px
}

.tb-brand {
    flex: 1
}

.tb-brand__link {
    display: inline-flex;
    align-items: center;
    text-decoration: none
}

.tb-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block
}

html:not([data-theme=dark]) .tb-logo--dark {
    display: none !important
}

html:not([data-theme=dark]) .tb-logo--light {
    display: block !important
}

[data-theme=dark] .tb-logo--light {
    display: none !important
}

[data-theme=dark] .tb-logo--dark {
    display: block !important
}

.tb-footer.is-dark .tb-logo--dark {
    display: block !important
}

.tb-footer.is-dark .tb-logo--light {
    display: none !important
}

.tb-brand__text,
.custom-logo-link {
    font: 800 26px var(--tb-head);
    color: var(--tb-ink);
    letter-spacing: -0.03em;
    display: inline-block;
    text-decoration: none
}

[data-theme=dark] .tb-brand__text {
    color: var(--tb-text)
}

.custom-logo {
    max-height: 48px;
    width: auto
}

.tb-nav {
    display: none
}

.tb-actions {
    display: flex;
    align-items: center;
    gap: 6px
}

.tb-actions .tb-btn {
    display: none
}

.tb-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2px
}

.tb-menu a {
    display: block;
    padding: 8px 12px;
    color: var(--tb-text);
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -0.01em;
    border-radius: 6px;
    transition: color .15s
}

.tb-menu a:hover,
.tb-menu .current-menu-item>a {
    color: var(--tb-primary);
    text-decoration: none
}

.tb-menu li {
    position: relative
}

.tb-menu .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-top: 3px solid var(--tb-primary);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 60;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    border-radius: 0 0 var(--tb-r) var(--tb-r)
}

.tb-menu li:hover>.sub-menu,
.tb-menu li:focus-within>.sub-menu {
    display: block
}

.tb-menu .sub-menu .sub-menu {
    left: 100%;
    top: -3px
}

@media(min-width:992px) {
    .tb-nav {
        display: block
    }

    .tb-burger {
        display: none
    }

    .tb-brand {
        flex: 0 0 auto
    }

    .tb-nav {
        flex: 1
    }

    .tb-actions .tb-btn {
        display: inline-block
    }

    .tb-topbar__date {
        display: block
    }

    .tb-topbar__social {
        display: flex
    }

    .tb-header--center .tb-mainbar__in {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 12px
    }

    .tb-header--center .tb-brand {
        flex: 0 0 100%;
        text-align: center
    }

    .tb-header--center .tb-nav {
        order: 3;
        flex: 0 0 100%
    }

    .tb-header--center .tb-menu {
        justify-content: center
    }

    .tb-header--center .tb-actions {
        position: absolute;
        right: 20px
    }

    .tb-header--center .tb-mainbar__in {
        position: relative
    }
}

/* overlay + drawer */
.tb-search {
    position: fixed;
    inset: 0;
    background: rgba(11, 27, 43, .97);
    color: #fff;
    z-index: 200;
    padding-top: 12vh;
    overflow: auto
}

.tb-search[hidden],
.tb-drawer[hidden] {
    display: none
}

.tb-search__close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #fff
}

.tb-search__in {
    max-width: 760px
}

.tb-searchform {
    display: flex;
    gap: 8px
}

.tb-searchform input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    font: 16px var(--tb-body);
    background: var(--tb-surface);
    color: var(--tb-text)
}

.tb-search__h {
    color: #fff;
    font-size: 18px;
    margin-top: 32px
}

.tb-search__list {
    list-style: none;
    padding: 0
}

.tb-search__list a {
    color: #fff;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15)
}

.tb-drawer {
    position: fixed;
    inset: 0;
    z-index: 150
}

.tb-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55)
}

.tb-drawer__panel {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: var(--tb-surface);
    padding: 16px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.tb-menu--mobile {
    flex-direction: column
}

.tb-menu--mobile .sub-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 14px
}

.tb-menu--mobile a {
    padding: 10px 4px;
    border-bottom: 1px solid var(--tb-border)
}

/* layout */
.tb-main {
    padding-top: 24px;
    padding-bottom: 24px
}

.tb-home {
    padding: 0
}

.tb-section {
    padding: 20px 0
}

.tb-with-side {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr)
}

@media(min-width:992px) {
    .tb-with-side {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr)
    }

    .tb-with-side.is-side-left {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr)
    }

    .tb-with-side.is-side-left .tb-sidebar {
        order: -1
    }
}

.tb-single-full .tb-content {
    max-width: 820px;
    margin: 0 auto
}

.tb-sidebar.is-sticky {
    align-self: start
}

@media(min-width:992px) {
    .tb-sidebar.is-sticky {
        position: sticky;
        top: 90px
    }
}

.tb-grid {
    display: grid;
    gap: 24px
}

@media(min-width:576px) {

    .tb-grid--2,
    .tb-grid--3 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(min-width:992px) {
    .tb-grid--3 {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* section head */
.tb-sechead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px solid var(--tb-border);
    margin-bottom: 20px;
    position: relative
}

.tb-sechead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 72px;
    height: 3px;
    background: var(--c, var(--tb-primary))
}

.tb-sechead__title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 10px
}

.tb-sechead__more {
    font-size: 14px;
    font-weight: 700;
    color: var(--tb-primary);
    letter-spacing: -0.01em
}

.tb-h-line {
    font-size: 22px;
    border-bottom: 2px solid var(--tb-border);
    padding-bottom: 8px;
    margin: 32px 0 16px
}

/* cards */
.tb-cat {
    display: inline-block;
    background: var(--c, var(--tb-primary));
    color: #fff;
    font: 800 11px/1 var(--tb-body);
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 5px 8px;
    border-radius: 4px;
    text-decoration: none
}

.tb-cat:hover {
    text-decoration: none;
    filter: brightness(.9)
}

.tb-card {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03)
}

.tb-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--tb-border);
    border-radius: var(--tb-r) var(--tb-r) 0 0
}

.tb-card__media img,
.tb-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
    border-radius: inherit
}

.tb-card:hover .tb-card__media img {
    transform: scale(1.04)
}

.tb-ph {
    background: linear-gradient(135deg, var(--tb-border), var(--tb-surface))
}

.tb-card__body {
    padding: 16px
}

.tb-card__title {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 8px 0
}

.tb-card__title {
    font-size: 18.5px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 8px 0
}

.tb-card__title a {
    color: inherit
}

.tb-card__title a:hover {
    color: var(--tb-primary);
    text-decoration: none
}

[data-theme=dark] .tb-card__title a {
    color: #FFFFFF
}

[data-theme=dark] .tb-card__title a:hover {
    color: var(--tb-link)
}

.tb-card__excerpt {
    margin: 0 0 10px;
    color: var(--tb-muted);
    font-size: 14.5px;
    line-height: 1.55
}

.tb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tb-muted);
    align-items: center;
    letter-spacing: -0.01em
}

.tb-meta__author {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: inherit
}

.tb-meta__author img {
    border-radius: 50%
}

.tb-card--list {
    display: grid;
    grid-template-columns: 1fr
}

@media(min-width:576px) {
    .tb-card--list {
        grid-template-columns: 240px 1fr
    }

    .tb-card--list .tb-card__media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 150px;
        border-radius: var(--tb-r) 0 0 var(--tb-r)
    }
}

.tb-feed {
    display: grid;
    gap: 20px
}

.tb-feed.is-grid2 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr))
}

@media(min-width:992px) {
    .tb-feed.is-grid3 {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:991px) {
    .tb-feed.is-grid3 {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr))
    }
}

.tb-feed.is-grid2 .tb-card--list,
.tb-feed.is-grid3 .tb-card--list {
    grid-template-columns: 1fr
}

.tb-card--large {
    border: 0;
    color: #fff;
    background: #000;
    min-height: 260px;
    border-radius: var(--tb-r);
    overflow: hidden
}

.tb-card--large .tb-card__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    border-radius: var(--tb-r)
}

.tb-card--large .tb-card__overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    align-items: flex-start;
    height: 100%;
    min-height: inherit;
    padding: 24px;
    background: linear-gradient(to top, rgba(11, 15, 25, .92), rgba(11, 15, 25, .08) 65%)
}

.tb-card--large .tb-card__title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 4px 0
}

.tb-card--large .tb-card__title a,
.tb-card--large .tb-meta {
    color: #fff
}

.tb-card--large .tb-card__title {
    font-size: 22px;
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 4px 0
}

.tb-card--large .tb-card__title a,
.tb-card--large .tb-meta {
    color: #fff
}

.tb-card--large .tb-meta {
    color: #E6EDF8
}

.tb-card--large.is-hero {
    min-height: 440px
}

.tb-card--large.is-hero .tb-card__title {
    font-size: 30px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.025em
}

@media(min-width:768px) {
    .tb-card--large.is-hero .tb-card__title {
        font-size: 42px;
        line-height: 1.12;
        letter-spacing: -0.03em
    }
}

.tb-card--large.is-hero {
    min-height: 440px
}

.tb-card--large.is-hero .tb-card__title {
    font-size: 28px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em
}

@media(min-width:768px) {
    .tb-card--large.is-hero .tb-card__title {
        font-size: 38px;
        line-height: 1.15;
        letter-spacing: -0.02em
    }
}

.tb-card--large.is-video .tb-card__media::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    margin: -32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 6v12l10-6z'/%3E%3C/svg%3E") center/50% no-repeat
}

.tb-card--small.is-row {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    border: 0;
    background: none;
    border-bottom: 1px solid var(--tb-border);
    padding-bottom: 12px;
    border-radius: 0
}

.tb-card--small.is-row .tb-card__media {
    aspect-ratio: 1;
    border-radius: 10px
}

.tb-card--small.is-row .tb-card__body {
    padding: 0
}

.tb-card--small.is-row .tb-card__title {
    font-size: 15px;
    margin: 0 0 4px
}

.tb-wlist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px
}

.tb-wlist.is-ranked {
    counter-reset: r
}

.tb-wlist.is-ranked>li {
    counter-increment: r;
    position: relative;
    padding-left: 34px
}

.tb-wlist.is-ranked>li::before {
    content: counter(r);
    position: absolute;
    left: 0;
    top: 0;
    font: 700 26px var(--tb-head);
    color: var(--tb-primary)
}

/* hero section (Image 1 Style) */
.tb-hero--v2 .tb-hero__container {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr
}

@media(min-width:992px) {
    .tb-hero--v2 .tb-hero__container {
        grid-template-columns: 300px minmax(0, 1fr)
    }
}

.tb-hero__trending {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    align-self: start;
}

.tb-trending-head {
    border-bottom: 2px solid var(--tb-border);
    margin-bottom: 18px;
    position: relative
}

.tb-trending-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 54px;
    height: 2px;
    background: var(--tb-primary)
}

.tb-trending-head__title {
    font-size: 18px;
    margin: 0 0 8px;
    font-weight: 700
}

.tb-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    border-left: 2px solid var(--tb-border);
    display: flex;
    flex-direction: column;
    gap: 18px
}

.tb-timeline__item {
    position: relative;
    padding-left: 8px
}

.tb-timeline__dot {
    position: absolute;
    left: -22px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dot-c, #22c55e);
    border: 2px solid var(--tb-surface);
    box-shadow: 0 0 0 2px var(--dot-c, #22c55e)
}

.tb-timeline__date {
    display: block;
    font-size: 12px;
    color: var(--tb-muted);
    margin-bottom: 3px
}

.tb-timeline__title {
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
    font-weight: 700
}

.tb-timeline__title a {
    color: var(--tb-text);
    text-decoration: none;
    transition: color .2s
}

.tb-timeline__title a:hover {
    color: var(--tb-primary)
}

[data-theme=dark] .tb-timeline__title a {
    color: #FFFFFF
}

[data-theme=dark] .tb-timeline__title a:hover {
    color: var(--tb-link)
}

.tb-hero__right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0
}

.tb-hero-carousel {
    position: relative;
    border-radius: var(--tb-r);
    overflow: hidden;
}

.tb-hero-carousel__slides {
    position: relative;
    min-height: 440px;
}

.tb-hero-slide {
    display: none;
    width: 100%;
}

.tb-hero-slide.is-active {
    display: block;
    animation: tbHeroFade .35s ease-in-out;
}

@keyframes tbHeroFade {
    from { opacity: 0; transform: scale(0.99); }
    to { opacity: 1; transform: scale(1); }
}

.tb-hero-lead {
    position: relative;
}

.tb-hero-lead__dots {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, .45);
    padding: 6px 12px;
    border-radius: 99px;
    backdrop-filter: blur(4px);
}

.tb-hero-dot {
    border: 0;
    padding: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all .25s ease;
}

.tb-hero-dot:hover {
    background: rgba(255, 255, 255, .9);
    transform: scale(1.2);
}

.tb-hero-dot.is-active {
    background: var(--tb-highlight, #FFB020);
    width: 22px;
    border-radius: 99px;
}

.tb-hero__subcards {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr
}

@media(min-width:640px) {
    .tb-hero__subcards {
        grid-template-columns: repeat(3, 1fr)
    }
}

.tb-subcard {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform .2s, box-shadow .2s
}

.tb-subcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07)
}

.tb-subcard__thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--tb-border)
}

.tb-subcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.tb-subcard__body {
    flex: 1;
    min-width: 0
}

.tb-subcard__title {
    font-size: 13.5px;
    line-height: 1.35;
    margin: 0 0 4px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.tb-subcard__title a {
    color: inherit;
    text-decoration: none
}

.tb-subcard__title a:hover {
    color: var(--tb-primary)
}

[data-theme=dark] .tb-subcard__title a {
    color: #FFFFFF
}

[data-theme=dark] .tb-subcard__title a:hover {
    color: var(--tb-link)
}

.tb-subcard__date {
    font-size: 11.5px;
    color: var(--tb-muted)
}

/* popular & recent posts widget (Image 2 Style) */
.tb-wposts-img2 {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.tb-wpost-lead {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--tb-border);
    padding-bottom: 14px
}

.tb-wpost-lead__media {
    display: block;
    aspect-ratio: 16/9;
    border-radius: var(--tb-r);
    overflow: hidden;
    background: var(--tb-border)
}

.tb-wpost-lead__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s
}

.tb-wpost-lead:hover .tb-wpost-lead__media img {
    transform: scale(1.03)
}

.tb-wpost-lead__date {
    font-size: 11.5px;
    color: var(--tb-muted)
}

.tb-wpost-lead__title {
    font-size: 15px;
    line-height: 1.35;
    margin: 0;
    font-weight: 800;
    color: var(--tb-heading, var(--tb-ink))
}

.tb-wpost-lead__title {
    font-size: 15px;
    line-height: 1.35;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--tb-heading, var(--tb-ink))
}

.tb-wpost-lead__title a {
    color: inherit;
    text-decoration: none
}

.tb-wpost-lead__title a:hover {
    color: var(--tb-primary)
}

[data-theme=dark] .tb-wpost-lead__title a {
    color: #FFFFFF
}

[data-theme=dark] .tb-wpost-lead__title a:hover {
    color: var(--tb-link)
}

.tb-wpost-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.tb-wpost-item {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.tb-wpost-item__thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--tb-border)
}

.tb-wpost-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.tb-wpost-item__body {
    flex: 1;
    min-width: 0
}

.tb-wpost-item__title {
    font-size: 13.5px;
    line-height: 1.35;
    margin: 0 0 4px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--tb-heading, var(--tb-ink))
}

.tb-wpost-item__title a {
    color: inherit;
    text-decoration: none
}

.tb-wpost-item__title a:hover {
    color: var(--tb-primary)
}

[data-theme=dark] .tb-wpost-item__title a {
    color: #F1F5F9
}

[data-theme=dark] .tb-wpost-item__title a:hover {
    color: var(--tb-link)
}

.tb-wpost-item__date {
    font-size: 11.5px;
    color: var(--tb-muted)
}

/* editor's picks carousel with arrow navigation (Image 4 Style) */
.tb-sechead--arrows {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--tb-border);
    margin-bottom: 20px;
    position: relative
}

.tb-sechead--arrows::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 72px;
    height: 2px;
    background: var(--tb-primary)
}

.tb-carousel-arrows {
    display: flex;
    gap: 8px;
    margin-bottom: 6px
}

.tb-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--tb-border);
    background: var(--tb-surface);
    color: var(--tb-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04)
}

.tb-arrow-btn:hover {
    background: var(--tb-primary);
    border-color: var(--tb-primary);
    color: #fff
}

.tb-carousel-wrapper {
    position: relative
}

.tb-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.tb-carousel::-webkit-scrollbar {
    display: none
}

.tb-carousel>* {
    scroll-snap-align: start
}

.tb-video__grid {
    display: grid;
    gap: 20px
}

@media(min-width:992px) {
    .tb-video__grid {
        grid-template-columns: 2fr 1fr
    }
}

.tb-rank {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
    counter-reset: r
}

@media(min-width:768px) {
    .tb-rank {
        grid-template-columns: repeat(5, 1fr)
    }
}

.tb-rank>li {
    counter-increment: r
}

.tb-rank>li::before {
    content: counter(r);
    display: block;
    font: 700 56px/1 var(--tb-head);
    color: var(--tb-primary);
    opacity: .9
}

.tb-rank .is-row {
    display: block;
    border: 0
}

.tb-news {
    background: var(--tb-ink);
    color: #fff;
    margin-top: 24px;
    padding: 40px 0;
    text-align: center
}

.tb-news__title {
    color: #fff !important
}

.tb-news__form {
    max-width: 540px;
    margin: 16px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.tb-news__row {
    display: flex;
    gap: 8px;
    width: 100%
}

.tb-news__row input[type=email] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: var(--tb-r);
    border: 0;
    font: 16px var(--tb-body);
    background: #fff;
    color: #0D1117
}

.tb-news__consent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #CBD5E1;
    cursor: pointer;
    text-align: left
}

.tb-news__consent input {
    margin: 0;
    accent-color: var(--tb-highlight)
}

.tb-news .tb-btn {
    background: var(--tb-highlight);
    color: #0B1B2B
}

/* single */
.tb-single__head {
    margin-bottom: 24px
}

.tb-single__title {
    font-size: 30px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 12px 0 16px;
    color: var(--tb-heading, var(--tb-ink))
}

.tb-single__title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 12px 0 16px;
    color: var(--tb-heading, var(--tb-ink))
}

[data-theme=dark] .tb-single__title {
    color: #FFFFFF
}

@media(min-width:768px) {
    .tb-single__title {
        font-size: 44px;
        line-height: 1.12;
        letter-spacing: -0.035em
    }
}

@media(min-width:768px) {
    .tb-single__title {
        font-size: 38px;
        line-height: 1.15;
        letter-spacing: -0.025em
    }
}

.tb-single.is-narrow .tb-prose {
    max-width: 720px
}

.tb-single__img {
    margin: 0 0 28px
}

.tb-single__img img {
    width: 100%;
    border-radius: var(--tb-r);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04)
}

.tb-single__img figcaption {
    font-size: 13.5px;
    color: var(--tb-muted);
    margin-top: 8px;
    text-align: center;
    font-style: italic
}

.tb-crumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 14px;
    margin: 0 0 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tb-muted);
    letter-spacing: -0.01em;
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 99px
}

.tb-crumbs a {
    color: var(--tb-muted)
}

.tb-crumbs a:hover {
    color: var(--tb-primary)
}

[data-theme=dark] .tb-crumbs a {
    color: var(--tb-muted)
}

[data-theme=dark] .tb-crumbs a:hover {
    color: var(--tb-link)
}

.tb-crumbs li+li::before {
    content: "/";
    margin-right: 6px
}

.tb-sponsored {
    background: var(--tb-surface);
    border-left: 4px solid var(--tb-highlight);
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 0 var(--tb-r) var(--tb-r) 0;
    margin: 12px 0;
    color: var(--tb-text)
}

.tb-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 24px
}

.tb-share__count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: var(--tb-r);
    background: rgba(89, 55, 251, .08);
    color: var(--tb-primary);
    font: 700 13px var(--tb-body)
}

[data-theme=dark] .tb-share__count {
    background: rgba(123, 98, 253, .15);
    color: var(--tb-link)
}

.tb-share a,
.tb-share button {
    border: 1px solid var(--tb-border);
    background: var(--tb-surface);
    color: var(--tb-text);
    padding: 8px 14px;
    border-radius: var(--tb-r);
    font: 700 13px var(--tb-body);
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: all .15s
}

.tb-share a:hover,
.tb-share button:hover {
    border-color: var(--tb-primary);
    background: var(--tb-primary);
    color: #fff;
    text-decoration: none
}

[data-theme=dark] .tb-share a:hover,
[data-theme=dark] .tb-share button:hover {
    background: var(--tb-primary);
    color: #0B0E14;
    border-color: var(--tb-primary)
}

/* Post Prose Typography & Dark Mode Contrast (The Verge editorial standard) */
.tb-prose {
    font-size: 17px;
    line-height: 1.8;
    color: var(--tb-text);
    letter-spacing: -0.004em;
    overflow-wrap: break-word
}

@media(min-width:768px) {
    .tb-prose {
        font-size: 18px;
        line-height: 1.82
    }
}

[data-theme=dark] .tb-prose {
    color: #E2E8F0
}

.tb-prose p {
    margin: 0 0 1.55em;
    color: inherit
}

.tb-prose ul,
.tb-prose ol {
    margin: 0 0 1.55em;
    padding-left: 1.5em;
    color: inherit
}

.tb-prose li {
    margin-bottom: 0.6em;
    line-height: 1.75;
    color: inherit
}

.tb-prose li>ul,
.tb-prose li>ol {
    margin: 0.5em 0 0.5em;
    padding-left: 1.3em
}

.tb-prose strong,
.tb-prose b {
    color: var(--tb-heading, var(--tb-ink));
    font-weight: 700
}

[data-theme=dark] .tb-prose strong,
[data-theme=dark] .tb-prose b {
    color: #FFFFFF
}

.tb-prose a {
    color: var(--tb-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600
}

[data-theme=dark] .tb-prose a {
    color: var(--tb-link)
}

.tb-prose h1,
.tb-prose h2,
.tb-prose h3,
.tb-prose h4,
.tb-prose h5 {
    color: var(--tb-heading, var(--tb-ink))
}

[data-theme=dark] .tb-prose h1,
[data-theme=dark] .tb-prose h2,
[data-theme=dark] .tb-prose h3,
[data-theme=dark] .tb-prose h4,
[data-theme=dark] .tb-prose h5 {
    color: #FFFFFF
}

.tb-prose h2,
.tb-prose h3 {
    margin-top: 2.1em;
    scroll-margin-top: 90px
}

.tb-prose blockquote {
    margin: 1.85em 0;
    padding: 16px 22px;
    border-left: 3px solid var(--tb-primary);
    background: var(--tb-surface);
    border-radius: 0 var(--tb-r) var(--tb-r) 0;
    font: italic 400 17px/1.6 var(--tb-body);
    color: var(--tb-text);
}

[data-theme=dark] .tb-prose blockquote,
[data-theme=dark] .tb-prose blockquote p {
    color: #F1F5F9;
}

.tb-prose table {
    border-collapse: collapse;
    width: 100%;
    display: block;
    overflow-x: auto;
    margin: 1.6em 0;
    color: inherit;
    font-size: 15.5px
}

.tb-prose th,
.tb-prose td {
    border: 1px solid var(--tb-border);
    padding: 10px 14px;
    color: inherit;
    text-align: left
}

.tb-prose th {
    background: rgba(127, 127, 127, .08);
    color: var(--tb-heading, var(--tb-ink));
    font-weight: 700
}

[data-theme=dark] .tb-prose th {
    color: #FFFFFF;
    background: rgba(255, 255, 255, .05)
}

[data-theme=dark] .tb-prose td {
    color: #E2E8F0
}

.tb-prose pre {
    background: var(--tb-ink);
    color: #E6EDF3;
    padding: 16px;
    overflow: auto;
    border-radius: var(--tb-r);
    font-size: 14px;
    line-height: 1.6;
    margin: 1.6em 0
}

[data-theme=dark] .tb-prose pre {
    background: #06080B;
    border: 1px solid var(--tb-border);
    color: #E2E8F0
}

.tb-prose code {
    background: rgba(127, 127, 127, .12);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em
}

.tb-prose pre code {
    background: none;
    padding: 0
}

.tb-prose figcaption,
.wp-caption-text {
    font-size: 13.5px;
    color: var(--tb-muted);
    font-style: italic
}

/* Core Gutenberg text alignment support */
.has-text-align-left {
    text-align: left !important
}

.has-text-align-center {
    text-align: center !important
}

.has-text-align-right {
    text-align: right !important
}

.has-text-align-justify {
    text-align: justify !important
}

.tb-prose .tb-btn {
    color: #fff !important;
    text-decoration: none !important
}

[data-theme=dark] .tb-prose .tb-btn {
    color: #0B0E14 !important
}

.alignwide {
    max-width: min(1100px, 100vw - 40px)
}

.alignleft {
    float: left;
    margin: 0 20px 10px 0
}

.alignright {
    float: right;
    margin: 0 0 10px 20px
}

.aligncenter {
    display: block;
    margin-inline: auto
}

.tb-toc {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    padding: 14px 18px;
    margin: 0 0 24px;
    font-size: 16px;
    color: var(--tb-text)
}

.tb-toc summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--tb-heading, var(--tb-ink));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.tb-toc__toggle {
    font-size: 12px;
    font-weight: 700;
    color: var(--tb-primary);
    text-transform: uppercase;
    letter-spacing: .05em
}

[data-theme=dark] .tb-toc summary {
    color: #FFFFFF
}

[data-theme=dark] .tb-toc__toggle {
    color: var(--tb-link)
}

.tb-toc ol {
    margin: 8px 0 0
}

.tb-toc .l3 {
    margin-left: 16px;
    list-style: circle
}

.tb-toc a {
    color: var(--tb-text);
    text-decoration: none
}

.tb-toc a:hover {
    color: var(--tb-primary);
    text-decoration: underline
}

[data-theme=dark] .tb-toc a {
    color: #E2E8F0
}

[data-theme=dark] .tb-toc a:hover {
    color: var(--tb-link)
}

.tb-tags span {
    color: var(--tb-muted);
    font-weight: 700
}

.tb-tags a {
    display: inline-block;
    border: 1px solid var(--tb-border);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 13px;
    margin: 0 4px 4px 0;
    background: var(--tb-surface);
    color: var(--tb-text);
    text-decoration: none
}

.tb-tags a:hover {
    border-color: var(--tb-primary);
    color: var(--tb-primary)
}

[data-theme=dark] .tb-tags a:hover {
    border-color: var(--tb-link);
    color: var(--tb-link)
}

.tb-authorbox {
    display: flex;
    gap: 16px;
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    padding: 20px;
    border-radius: var(--tb-r);
    margin: 28px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    color: var(--tb-text)
}

.tb-authorbox img {
    border-radius: 50%
}

.tb-authorbox__name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 6px
}

.tb-authorbox__name a {
    color: var(--tb-heading, var(--tb-ink));
    text-decoration: none
}

.tb-authorbox__name a:hover {
    color: var(--tb-primary)
}

[data-theme=dark] .tb-authorbox__name a {
    color: #FFFFFF
}

[data-theme=dark] .tb-authorbox__name a:hover {
    color: var(--tb-link)
}

.tb-authorbox p {
    color: var(--tb-muted);
    margin: 0
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px
}

.post-navigation {
    margin: 24px 0
}

.nav-links a {
    color: var(--tb-heading, var(--tb-ink));
    font-weight: 700;
    text-decoration: none
}

.nav-links a:hover {
    color: var(--tb-primary)
}

[data-theme=dark] .nav-links a {
    color: #F1F5F9
}

[data-theme=dark] .nav-links a:hover {
    color: var(--tb-link)
}

.tb-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 300
}

.tb-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--tb-accent)
}

/* archive */
.tb-archive__head {
    border-left: 6px solid var(--c, var(--tb-primary));
    padding-left: 16px;
    margin-bottom: 24px
}

.tb-archive__title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 6px
}

.tb-authorhead {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    padding: 20px;
    margin-bottom: 24px;
    border-radius: var(--tb-r);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03)
}

.tb-authorhead img {
    border-radius: 50%
}

.tb-authorhead__name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 6px
}

.tb-empty {
    text-align: center
}

.tb-404__code {
    font: 800 96px/1 var(--tb-head);
    letter-spacing: -0.04em;
    color: var(--tb-primary);
    margin: 0
}

.tb-empty .tb-searchform {
    max-width: 520px;
    margin: 16px auto
}

.tb-catlist {
    list-style: none;
    padding: 0;
    columns: 2
}

.tb-catlist li {
    padding: 4px 0
}

.pagination .nav-links,
.page-numbers {
    justify-content: center
}

.page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    margin: 0 2px;
    background: var(--tb-surface);
    color: var(--tb-text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em
}

.page-numbers.current {
    background: var(--tb-primary);
    color: #fff;
    border-color: var(--tb-primary)
}

ul.page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none
}

/* widgets, comments */
.tb-widget {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03)
}

.tb-widget__title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    border-bottom: 3px solid var(--tb-primary);
    padding-bottom: 8px;
    margin-bottom: 16px
}

.tb-comments__list {
    list-style: none;
    padding: 0
}

.tb-comments__list .children {
    list-style: none;
    padding-left: 20px
}

.comment-body {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    padding: 14px;
    margin-bottom: 12px;
    border-radius: var(--tb-r)
}

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    background: var(--tb-surface);
    color: var(--tb-text);
    font: 16px var(--tb-body)
}

/* ads: reserve height (no CLS), collapse when empty (nothing rendered) */
.tb-ad {
    margin: 20px auto;
    text-align: center;
    max-width: 100%
}

.tb-ad__label {
    display: block;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tb-muted);
    margin-bottom: 4px
}

.tb-ad__box {
    min-height: var(--tb-ad-h, 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(127, 127, 127, .08);
    overflow: hidden
}

.tb-ad img {
    display: block;
    margin: auto
}

.tb-ad--wide {
    max-width: 1240px;
    padding: 0 20px
}

/* footer */
.tb-footer {
    margin-top: 32px;
    background: var(--tb-surface);
    border-top: 1px solid var(--tb-border)
}

.tb-footer.is-dark {
    background: var(--tb-ink);
    color: #C9D4DE;
    border: 0
}

.tb-footer.is-dark a {
    color: #fff
}

.tb-footer.is-dark .tb-footer__h,
.tb-footer.is-dark .tb-footer__brand {
    color: #fff
}

.tb-footer__grid {
    display: grid;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 28px
}

@media(min-width:768px) {
    .tb-footer__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(min-width:992px) {
    .tb-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 2fr
    }
}

.tb-footer__brand {
    font: 800 24px var(--tb-head);
    letter-spacing: -0.03em
}

.tb-footer__brand .tb-logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    display: block;
    margin-bottom: 12px
}

.tb-footer__h {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em
}

.tb-footer ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.tb-footer li {
    padding: 4px 0
}

.tb-footer__bar {
    border-top: 1px solid rgba(127, 127, 127, .3);
    font-size: 14px
}

.tb-footer__barin {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px
}

.tb-footer__menu {
    display: flex;
    gap: 16px
}

.tb-footer__barin p {
    margin: 0
}

.tb-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 250;
    background: var(--tb-ink);
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--tb-r);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    max-width: 620px
}

.tb-cookie[hidden] {
    display: none
}

.tb-cookie p {
    margin: 0
}

.tb-totop {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 240;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--tb-primary-dark);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center
}

.tb-totop[hidden] {
    display: none
}

[data-theme=dark] .tb-totop {
    background: var(--tb-primary);
    color: #0B1218
}

.tb-blockgrid.is-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr))
}

.tb-blockgrid.is-list {
    display: grid;
    gap: 20px
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important
    }
}

@media print {

    .tb-header,
    .tb-footer,
    .tb-sidebar,
    .tb-share,
    .tb-ad {
        display: none
    }
}


/* ---- Single post additions ---- */
.tb-single__cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.tb-single__intro {
    font-size: 21px;
    font-weight: 500;
    color: #334155;
    line-height: 1.55;
    letter-spacing: -0.01em;
    margin: 12px 0 24px
}

[data-theme=dark] .tb-single__intro {
    color: #CBD5E1
}

.tb-crumbs {
    margin-bottom: 14px
}

.tb-crumbs ol {
    display: inline-flex;
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 99px;
    padding: 4px 14px;
    margin: 0;
    max-width: 100%;
    overflow: hidden
}

.tb-crumbs li {
    white-space: nowrap
}

.tb-crumbs li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px
}

.tb-hero-full {
    position: relative;
    background: #0B1B2B;
    color: #fff;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.tb-hero-full__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.tb-hero-full::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--ov, .6));
    z-index: 1
}

.tb-hero-full__in {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 30px;
    color: #fff
}

.tb-hero-full .tb-single__title,
.tb-hero-full .tb-meta,
.tb-hero-full .tb-meta a {
    color: #fff
}

.tb-hero-full .tb-crumbs ol {
    background: rgba(0, 0, 0, .45);
    border-color: transparent
}

.tb-hero-full .tb-crumbs a,
.tb-hero-full .tb-crumbs span {
    color: #fff
}

.is-layout-centered .tb-single__head {
    text-align: center
}

.is-layout-centered .tb-single__cats,
.is-layout-centered .tb-meta {
    justify-content: center
}

.is-layout-top .tb-single {
    display: flex;
    flex-direction: column
}

.is-layout-top .tb-single__img {
    order: -1
}

@media(min-width:992px) {
    .is-layout-split .tb-single {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px
    }

    .is-layout-split .tb-single>* {
        grid-column: 1/-1
    }

    .is-layout-split .tb-single__head {
        grid-column: 1;
        grid-row: 1;
        align-self: center
    }

    .is-layout-split .tb-single__img {
        grid-column: 2;
        grid-row: 1
    }
}

.is-layout-minimal .tb-single__title {
    font-size: 34px
}

.has-dropcap .tb-prose>p:first-of-type::first-letter {
    float: left;
    font: 800 4.2em/.8 var(--tb-head);
    padding: 6px 12px 0 0;
    color: var(--tb-primary)
}

.tb-toc summary {
    cursor: pointer;
    font-weight: 800
}

.tb-toc ol {
    counter-reset: t;
    list-style: none;
    padding-left: 0
}

.tb-toc li {
    counter-increment: t
}

.tb-toc li::before {
    content: counter(t) ". ";
    color: var(--tb-muted);
    font-weight: 700
}

.tb-toc a.is-active {
    color: var(--tb-primary);
    font-weight: 800
}

.tb-prose h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin: 1.8em 0 .6em;
    border-left: 3px solid var(--tb-primary);
    padding-left: 12px;
    color: var(--tb-heading, var(--tb-ink));
}

.tb-prose h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin: 1.5em 0 .5em;
    color: var(--tb-heading, var(--tb-ink));
}

.tb-prose h4 {
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.005em;
    color: var(--tb-heading, var(--tb-ink));
    margin: 1.3em 0 .4em;
}

.tb-prose ol>li::marker {
    font-weight: 700;
    color: var(--tb-primary);
}

.tb-prose ul ul,
.tb-prose ol ol {
    margin: .3em 0;
}

.tb-prose figcaption,
.tb-prose .wp-caption-text {
    text-align: center;
    font-style: italic;
    font-size: 13.5px;
    color: var(--tb-muted);
    margin-top: 6px;
}

.tb-prose .wp-block-gallery {
    gap: 12px;
}

.tb-prose .wp-block-pullquote,
.tb-prose .is-style-pullquote {
    border: 1px solid var(--tb-border);
    border-left: 4px solid var(--tb-primary);
    border-radius: var(--tb-r, 10px);
    background: var(--tb-surface);
    text-align: left;
    max-width: 620px;
    padding: 20px 24px;
    margin: 2em auto;
    font: italic 400 17.5px/1.6 var(--tb-body);
    color: var(--tb-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

[data-theme=dark] .tb-prose .wp-block-pullquote,
[data-theme=dark] .tb-prose .is-style-pullquote {
    background: #141A26;
    border-color: #222B3D;
    color: #F1F5F9;
}

.tb-prose .wp-block-pullquote::before {
    content: "\201C";
    display: block;
    font: 400 34px/1 Georgia, serif;
    color: var(--tb-primary);
    margin-bottom: 6px;
    line-height: 1;
}

.tb-prose cite {
    display: block;
    font: 600 12.5px var(--tb-body);
    font-style: normal;
    color: var(--tb-muted);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tb-readalso {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-left: 4px solid var(--tb-primary);
    border-radius: 0 var(--tb-r) var(--tb-r) 0;
    padding: 14px 18px;
    margin: 1.8em 0;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03)
}

.tb-readalso span {
    color: var(--tb-primary);
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: .06em;
    font-weight: 800;
    margin-right: 8px
}

.tb-prose .wp-block-button__link {
    border-radius: var(--tb-r)
}

.tb-prose iframe,
.tb-prose .wp-block-embed {
    max-width: 100%
}

.tb-prose .wp-has-aspect-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.tb-share-end {
    border-top: 1px solid var(--tb-border);
    padding-top: 14px;
    margin-top: 24px
}

.tb-news--box {
    border-radius: var(--tb-r);
    padding: 28px 20px;
    margin: 28px 0
}

.tb-sharebar {
    display: none
}

@media(max-width:767px) {
    .tb-sharebar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 230;
        background: var(--tb-surface);
        border-top: 1px solid var(--tb-border);
        overflow-x: auto;
        gap: 6px;
        padding: 8px
    }

    .tb-sharebar a,
    .tb-sharebar button {
        flex: 0 0 auto;
        border: 1px solid var(--tb-border);
        background: var(--tb-bg);
        color: var(--tb-text);
        padding: 8px 12px;
        border-radius: 99px;
        font: 600 13px var(--tb-body)
    }

    .tb-single-wrap {
        padding-bottom: 56px
    }

    .tb-main .tb-share {
        display: none
    }

    .tb-toc[open] {}
}

.tb-prose img {
    height: auto
}

.tb-single__media {
    margin: 0 0 20px;
    border-radius: var(--tb-r);
    overflow: hidden
}

.tb-single__media iframe,
.tb-single__media video {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0
}

.tb-format-link {
    margin: 16px 0 24px
}

.tb-prose .wp-block-code {
    background: var(--tb-ink);
    color: #E6EDF3;
    padding: 16px;
    border-radius: var(--tb-r);
    font-size: 14px;
    overflow-x: auto
}

.tb-prose .wp-block-table td,
.tb-prose .wp-block-table th {
    border: 1px solid var(--tb-border);
    padding: 8px 12px
}

.tb-prose .wp-block-buttons {
    margin: 1.5em 0
}

/* ---- Section 19–21 Additions: Badges, Bookmarks, Review Box, Comparison, FAQ/HowTo, YouTube Facade, Cookie Consent ---- */
.tb-badge {
    display: inline-block;
    font: 800 10.5px/1 var(--tb-body);
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 8px;
    border-radius: 4px;
    margin-left: 4px;
    color: #fff
}

.tb-badge--breaking {
    background: #EF4444
}

.tb-badge--sponsored {
    background: #F59E0B;
    color: #0D1117
}

.tb-badge--pick {
    background: #10B981
}

.tb-bookmark-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--tb-border);
    background: var(--tb-surface);
    color: var(--tb-text);
    padding: 4px 10px;
    border-radius: 99px;
    font: 700 12px var(--tb-body);
    cursor: pointer;
    transition: all .15s
}

.tb-bookmark-btn:hover,
.tb-bookmark-btn.is-saved {
    border-color: var(--tb-primary);
    color: var(--tb-primary);
    background: rgba(89, 55, 251, .08)
}

[data-theme=dark] .tb-bookmark-btn.is-saved {
    border-color: var(--tb-link);
    color: var(--tb-link);
    background: rgba(123, 98, 253, .15)
}

.tb-bookmarks-trigger {
    position: relative
}

.tb-bookmarks-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--tb-accent);
    color: #fff;
    font: 800 10px/1 var(--tb-body);
    padding: 2px 5px;
    border-radius: 99px
}

.tb-bookmarks-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--tb-border);
    padding-bottom: 10px
}

.tb-bookmarks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.tb-bookmarks-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background: var(--tb-bg);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r)
}

.tb-bookmarks-list a {
    font-weight: 700;
    font-size: 14px;
    color: var(--tb-text);
    text-decoration: none
}

.tb-bookmarks-list button {
    background: none;
    border: 0;
    color: var(--tb-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px
}

.tb-correction {
    background: rgba(245, 158, 11, .1);
    border-left: 4px solid #F59E0B;
    padding: 12px 16px;
    border-radius: 0 var(--tb-r) var(--tb-r) 0;
    margin: 20px 0;
    font-size: 14.5px;
    color: var(--tb-text)
}

.tb-authorbox__role {
    font-size: 13px;
    font-weight: 700;
    color: var(--tb-primary) !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 6px !important
}

[data-theme=dark] .tb-authorbox__role {
    color: var(--tb-link) !important
}

.tb-authorbox__links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700
}

/* Verge-style Gadget Review Scorecard */
.tb-review-box {
    background: var(--tb-surface);
    border: 2px solid var(--tb-border);
    border-top: 5px solid var(--tb-primary);
    border-radius: var(--tb-r);
    padding: 24px;
    margin: 2.2em 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05)
}

.tb-review-box__head {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--tb-border);
    padding-bottom: 20px;
    margin-bottom: 20px
}

.tb-review-box__product {
    display: flex;
    gap: 16px;
    align-items: center;
    flex: 1;
    min-width: 240px
}

.tb-review-box__img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--tb-border)
}

.tb-review-box__badge {
    display: inline-block;
    background: var(--tb-accent);
    color: #fff;
    font: 800 10.5px/1 var(--tb-body);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 6px
}

.tb-review-box__title {
    font-size: 24px !important;
    margin: 0 0 6px !important;
    border: 0 !important;
    padding: 0 !important
}

.tb-review-box__verdict {
    margin: 0 !important;
    font-size: 15px;
    color: var(--tb-muted) !important
}

.tb-review-box__score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--tb-ink);
    color: #fff;
    width: 96px;
    height: 96px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(89, 55, 251, .25)
}

.tb-review-box__score {
    font: 800 34px/1 var(--tb-head);
    color: var(--tb-highlight)
}

.tb-review-box__outof {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 700;
    margin-top: 4px
}

.tb-review-box__bars {
    display: grid;
    gap: 12px;
    margin-bottom: 20px
}

@media(min-width:640px) {
    .tb-review-box__bars {
        grid-template-columns: repeat(2, 1fr)
    }
}

.tb-review-bar__top {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 4px
}

.tb-review-bar__track {
    height: 8px;
    background: var(--tb-border);
    border-radius: 99px;
    overflow: hidden
}

.tb-review-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tb-primary), var(--tb-accent));
    border-radius: 99px
}

.tb-review-box__proscons {
    display: grid;
    gap: 20px;
    margin-bottom: 20px
}

@media(min-width:640px) {
    .tb-review-box__proscons {
        grid-template-columns: 1fr 1fr
    }
}

.tb-review-box__pros,
.tb-review-box__cons {
    background: var(--tb-bg);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--tb-border)
}

.tb-review-box__pros h4,
.tb-review-box__cons h4 {
    margin: 0 0 10px !important;
    font-size: 14px !important
}

.tb-review-box__pros h4 {
    color: #10B981 !important
}

.tb-review-box__cons h4 {
    color: #EF4444 !important
}

.tb-review-box__pros ul,
.tb-review-box__cons ul {
    margin: 0 !important;
    padding-left: 18px !important;
    font-size: 14.5px
}

.tb-review-box__specs {
    margin: 0 0 20px !important
}

.tb-review-box__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--tb-border);
    padding-top: 16px
}

.tb-review-box__price {
    font: 800 22px var(--tb-head);
    color: var(--tb-heading, var(--tb-ink))
}

.tb-review-box__foot,
.tb-review-box__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid var(--tb-border);
    padding-top: 16px;
    margin-top: 18px
}

.tb-review-box__price {
    display: flex;
    flex-direction: column;
    font: 700 22px var(--tb-head);
    color: var(--tb-heading, var(--tb-ink))
}

.tb-review-box__price span {
    font: 600 12px var(--tb-body);
    color: var(--tb-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px
}

[data-theme=dark] .tb-review-box__price {
    color: #FFFFFF
}

.tb-review-box__buy,
.tb-prose .tb-review-box__buy,
.tb-prose a.tb-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: var(--tb-primary) !important;
    color: #FFFFFF !important;
    border: 0 !important;
    padding: 12px 24px !important;
    border-radius: 99px !important;
    font: 700 14.5px var(--tb-body) !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(89, 55, 251, .25);
    transition: transform .15s, background .2s
}

.tb-review-box__buy:hover,
.tb-prose a.tb-btn:hover {
    background: var(--tb-primary-dark) !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transform: translateY(-1px)
}

[data-theme=dark] .tb-review-box__buy,
[data-theme=dark] .tb-prose a.tb-btn {
    background: var(--tb-primary) !important;
    color: #0B0E14 !important
}

[data-theme=dark] .tb-review-box__buy:hover,
[data-theme=dark] .tb-prose a.tb-btn:hover {
    color: #FFFFFF !important
}

/* Comparison, FAQ, HowTo, YouTube Facade */
.tb-compare-wrap {
    margin: 1.8em 0;
    overflow-x: auto
}

.tb-faq,
.tb-howto {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-r);
    padding: 20px;
    margin: 1.8em 0
}

.tb-faq__item {
    border-bottom: 1px solid var(--tb-border);
    padding: 12px 0
}

.tb-faq__item:last-child {
    border-bottom: 0
}

.tb-faq__item summary {
    font-weight: 800;
    cursor: pointer;
    color: var(--tb-heading, var(--tb-ink))
}

[data-theme=dark] .tb-faq__item summary {
    color: #FFFFFF
}

.tb-yt-facade {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--tb-r);
    overflow: hidden;
    cursor: pointer;
    margin: 1.6em 0
}

.tb-yt-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
    transition: opacity .2s
}

.tb-yt-facade:hover img {
    opacity: 1
}

.tb-yt-facade__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(255, 0, 51, .9);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    pointer-events: none
}

.tb-yt-facade__play::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 14px;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff
}

/* Comment policy, GDPR & Report button */
.tb-comment-policy {
    font-size: 13.5px;
    color: var(--tb-muted);
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    padding: 10px 14px;
    border-radius: var(--tb-r);
    margin-bottom: 14px
}

.tb-comment-report {
    background: none;
    border: 0;
    color: var(--tb-muted);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    text-decoration: underline
}

.tb-comment-report:hover {
    color: var(--tb-accent)
}

/* Categorized Cookie Banner & Footer Preferences */
.tb-cookie {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 680px;
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35)
}

.tb-cookie__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
    font-size: 13px;
    color: #CBD5E1
}

.tb-cookie__cats label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer
}

.tb-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tb-cookie__actions .tb-btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .35)
}

.tb-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center
}

.tb-cookie-reopen {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.tb-footer__cookie-wrap {
    margin-top: 14px;
    padding-top: 8px;
    border-top: 1px dashed rgba(127, 127, 127, 0.25);
}

.tb-footer__cookie-wrap .tb-cookie-reopen {
    color: var(--tb-muted, #94A3B8);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: underline;
    transition: color .2s ease;
}

.tb-footer.is-dark .tb-footer__cookie-wrap .tb-cookie-reopen {
    color: #94A3B8;
}

.tb-footer.is-dark .tb-footer__cookie-wrap .tb-cookie-reopen:hover {
    color: #FFFFFF;
}

.tb-meta__views-private {
    background: rgba(89, 55, 251, 0.1);
    color: var(--tb-primary, #5937FB);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

[data-theme=dark] .tb-meta__views-private {
    background: rgba(123, 98, 253, 0.18);
    color: #A797FF;
}