/* Top brokers directory */
.tbk-page {
    --tbk-primary: var(--bc-primary, #e8822a);
    --tbk-primary-dark: var(--bc-primary-dark, #c46a16);
    --tbk-text: var(--bc-text, #1c1e24);
    --tbk-muted: var(--bc-muted, #6b7280);
    --tbk-border: var(--bc-border, #e8e3da);
    --tbk-surface: var(--bc-surface, #ffffff);
    --home-hairline: rgba(232, 130, 42, 0.14);

    /* Reuse the homepage "top picks" card recipe for broker cards on this page */
    --picks-ocean: var(--bc-primary, #e8822a);
    --picks-ice: var(--bc-light, #e8e2d9);
    --picks-off-white: #fffdfa;
    --picks-midnight: var(--bc-dark, #1c1e24);
    --picks-midnight-soft: rgba(40, 34, 28, 0.06);

    min-height: 100vh;
    padding-bottom: 4rem;
    background: linear-gradient(160deg, #f6f7f9 0%, #eef0f3 40%, #f9f3ea 100%);
    color: var(--tbk-text);
}

.tbk-page *,
.tbk-page *::before,
.tbk-page *::after {
    box-sizing: border-box;
}

/* Same secondary button recipe used across the site's broker pages */
.tbk-page .bc-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fff;
    color: #1c1e24 !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #ded7cc;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.tbk-page .bc-btn-secondary:hover {
    border-color: var(--tbk-primary);
    background: rgba(232, 130, 42, 0.1);
}

.tbk-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--bc-nav-height, 5.5rem) + 2.75rem) 0 2rem;
    margin-bottom: 1.5rem;
    background:
        radial-gradient(ellipse 46% 62% at 88% 6%, rgba(245, 166, 35, 0.26) 0%, transparent 62%),
        radial-gradient(ellipse 40% 58% at 3% 44%, rgba(255, 214, 130, 0.28) 0%, transparent 62%),
        radial-gradient(ellipse 42% 50% at 62% 96%, rgba(232, 130, 42, 0.12) 0%, transparent 62%);
    border-bottom: 1px solid rgba(232, 130, 42, 0.14);
}

.tbk-hero > * {
    position: relative;
    z-index: 1;
}

.tbk-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: var(--tbk-muted);
}

.tbk-breadcrumb a {
    color: var(--tbk-muted);
    text-decoration: none;
}

.tbk-breadcrumb a:hover {
    color: var(--tbk-primary);
}

.tbk-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.625rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tbk-primary);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(60, 50, 40, 0.06);
    backdrop-filter: blur(14px);
}

.tbk-hero__title {
    margin: 0 0 0.625rem;
    max-width: 42rem;
    font-size: clamp(1.75rem, 4vw, 2.375rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bc-dark, #1c1e24);
    line-height: 1.15;
}

.tbk-hero__accent {
    color: var(--tbk-primary);
}

.tbk-hero__subtitle {
    margin: 0;
    max-width: 40rem;
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    font-weight: 500;
    color: #6b7280;
    line-height: 1.55;
}

.tbk-main {
    padding-top: 0;
}

/* ── Compact section header used by "Best brokers by categories" and "Regulation" ── */
.tbk-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.1rem;
}

.tbk-section-head .tbk-section-title {
    margin: 0;
}

.tbk-section-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tbk-primary);
}

.tbk-section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--tbk-primary);
    text-decoration: none;
    white-space: nowrap;
}

.tbk-section-link svg {
    width: 0.9rem;
    height: 0.9rem;
}

.tbk-section-link:hover {
    color: var(--tbk-primary-dark);
}

/* ── Best brokers by categories (compact chip grid) ── */
.tbk-categories {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--home-hairline);
}

.tbk-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
    gap: 0.65rem;
}

.tbk-category-chip {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    color: inherit;
    text-decoration: none;
    background: var(--tbk-surface);
    border: 1px solid var(--tbk-border);
    border-radius: 0.65rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.tbk-category-chip:hover {
    border-color: rgba(232, 130, 42, 0.4);
    box-shadow: 0 8px 20px rgba(60, 50, 40, 0.07);
    transform: translateY(-1px);
}

.tbk-category-chip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.875rem;
    color: var(--tbk-primary);
    background: rgba(232, 130, 42, 0.1);
    border-radius: 0.55rem;
}

.tbk-category-chip__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.tbk-category-chip__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--tbk-text);
    line-height: 1.3;
}

.tbk-category-chip__meta {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--tbk-muted);
}

/* Award categories — single dedicated spotlight that links to /awards */
.tbk-award-spotlight {
    padding: 2.5rem 0;
    border-top: 1px solid var(--home-hairline);
}

.tbk-award-spotlight__card {
    position: relative;
    display: block;
    padding: 2rem 2.25rem 2.25rem;
    color: inherit;
    text-decoration: none;
    background:
        linear-gradient(160deg, rgba(255, 252, 246, 0.97) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 246, 232, 0.97) 100%);
    border: 1px solid rgba(232, 130, 42, 0.22);
    border-radius: 1.25rem;
    box-shadow:
        0 1px 3px rgba(60, 50, 40, 0.05),
        0 18px 36px rgba(60, 50, 40, 0.06);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tbk-award-spotlight__card:hover {
    border-color: rgba(232, 130, 42, 0.42);
    box-shadow:
        0 4px 10px rgba(60, 50, 40, 0.06),
        0 26px 48px rgba(60, 50, 40, 0.1);
    transform: translateY(-2px);
}

.tbk-award-spotlight__glow {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(232, 130, 42, 0.1), rgba(232, 130, 42, 0.65), rgba(232, 130, 42, 0.1));
}

.tbk-award-spotlight__top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.tbk-award-spotlight__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--tbk-primary), var(--tbk-primary-dark));
    border-radius: 1rem;
    box-shadow: 0 10px 22px rgba(232, 130, 42, 0.28);
}

.tbk-award-spotlight__heading {
    flex: 1;
    min-width: 0;
}

.tbk-award-spotlight__eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tbk-primary);
}

.tbk-award-spotlight__title {
    margin: 0;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--tbk-text);
}

.tbk-award-spotlight__count {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tbk-primary);
    background: rgba(232, 130, 42, 0.1);
    border-radius: 999px;
}

.tbk-award-spotlight__desc {
    margin: 0 0 1.1rem;
    max-width: 44rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--tbk-muted);
}

.tbk-award-spotlight__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.tbk-award-spotlight__tags li {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tbk-text);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--tbk-border);
    border-radius: 999px;
}

.tbk-award-spotlight__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 800;
    color: #fff;
    background: var(--tbk-primary);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(232, 130, 42, 0.28);
    transition: background 0.18s ease, transform 0.18s ease;
}

.tbk-award-spotlight__cta svg {
    width: 1rem;
    height: 1rem;
}

.tbk-award-spotlight__card:hover .tbk-award-spotlight__cta {
    background: var(--tbk-primary-dark);
    transform: translateX(2px);
}

.tbk-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.tbk-chip {
    padding: 0.45rem 0.8rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--tbk-text);
    background: var(--tbk-surface);
    border: 1px solid var(--tbk-border);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tbk-chip:hover,
.tbk-chip.is-active {
    color: var(--tbk-primary);
    background: rgba(232, 130, 42, 0.08);
    border-color: rgba(232, 130, 42, 0.28);
}

.tbk-directory {
    padding-top: 0.5rem;
}

.tbk-directory__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.tbk-directory__title,
.tbk-section-title {
    margin: 0 0 1rem;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tbk-directory__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.tbk-directory__search-wrap {
    position: relative;
    display: block;
    min-width: min(100%, 14rem);
}

.tbk-directory__search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: var(--tbk-muted);
    pointer-events: none;
}

.tbk-directory__search {
    width: 100%;
    height: 2.5rem;
    padding: 0 0.9rem 0 2.35rem;
    font-size: 0.875rem;
    color: var(--tbk-text);
    background: #fff;
    border: 1px solid var(--tbk-border);
    border-radius: 0.625rem;
    outline: none;
}

.tbk-directory__search:focus {
    border-color: rgba(232, 130, 42, 0.5);
    box-shadow: 0 0 0 3px rgba(232, 130, 42, 0.12);
}

.tbk-sort {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.tbk-sort__label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--tbk-muted);
}

.tbk-sort__btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tbk-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
}

.tbk-sort__btn:hover,
.tbk-sort__btn.is-active {
    color: var(--tbk-primary);
    background: rgba(232, 130, 42, 0.08);
    border-color: rgba(232, 130, 42, 0.2);
}

.tbk-results-meta {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tbk-muted);
}

.tbk-pick-wrap.is-hidden {
    display: none;
}

.tbk-load-more {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.tbk-load-more__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--tbk-text);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(232, 130, 42, 0.28);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(60, 50, 40, 0.08);
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tbk-load-more__button.is-hidden {
    display: none;
}

.tbk-load-more__button svg {
    width: 1rem;
    height: 1rem;
    color: var(--tbk-primary);
}

.tbk-load-more__button:hover {
    color: var(--tbk-primary-dark);
    border-color: rgba(232, 130, 42, 0.52);
    box-shadow: 0 12px 28px rgba(232, 130, 42, 0.14);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .tbk-load-more__button {
        transition: none;
    }

    .tbk-load-more__button:hover {
        transform: none;
    }
}

.tbk-empty {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--tbk-muted);
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed var(--tbk-border);
    border-radius: 0.75rem;
}

.tbk-empty.is-hidden {
    display: none;
}

/* ── Broker cards — same design as the "Compare" section on broker review pages ── */
.tbk-page .br-compare-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    height: 100%;
    padding: 1.125rem 1rem;
    text-decoration: none;
    border: 1px solid var(--tbk-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 10px rgba(60, 50, 40, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tbk-page .br-compare-card:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 130, 42, 0.32);
    box-shadow: 0 10px 22px rgba(60, 50, 40, 0.08);
}

.tbk-page .br-compare-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3.25rem;
    margin: 0 0 0.35rem;
    padding: 0.4rem 0.6rem;
    background: #fff;
    border: 1px solid var(--tbk-border);
    border-radius: 0.75rem;
}

.tbk-page .br-compare-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tbk-page .br-compare-card__fallback {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--tbk-primary-dark);
}

.tbk-page .br-compare-card__name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--tbk-text);
    text-align: center;
    text-decoration: none;
}

.tbk-page .br-compare-card__status {
    margin: 0;
    padding: 0.15rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4b5563;
    background: rgba(107, 114, 128, 0.12);
    border-radius: 999px;
}

.tbk-page .br-compare-card__status--safe {
    color: #047857;
    background: rgba(5, 150, 105, 0.12);
}

.tbk-page .br-compare-card__status--risk {
    color: #b91c1c;
    background: rgba(220, 38, 38, 0.1);
}

.tbk-page .br-compare-card__score {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--tbk-text);
}

.tbk-page .br-compare-card__score::before {
    content: '\2605';
    font-size: 0.8125rem;
    color: var(--tbk-primary-dark);
}

.tbk-compare-card__rank {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #fff;
    background: var(--tbk-primary);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(232, 130, 42, 0.3);
}

.tbk-compare-card.is-top .tbk-compare-card__rank {
    color: #1c1e24;
    background: linear-gradient(135deg, #ffd682, var(--tbk-primary));
}

.tbk-compare-card__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.1rem;
    padding-top: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-top: 1px solid rgba(232, 130, 42, 0.12);
    width: 100%;
}

.tbk-compare-card__action {
    color: var(--tbk-primary);
    text-decoration: none;
}

.tbk-compare-card__action:hover {
    color: var(--tbk-primary-dark);
    text-decoration: underline;
}

.tbk-compare-card__action--visit {
    color: var(--tbk-muted);
}

.tbk-compare-card__action--visit:hover {
    color: var(--tbk-primary);
    text-decoration: underline;
}

.tbk-compare-card__action-dot {
    color: #d4cfc6;
}

/* Grid layout for broker cards — matches the 2/3/4 column breakpoints of the Compare grid */
.tbk-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .tbk-compare-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tbk-compare-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ── Regulation section — compact, horizontally scrollable tab bar ── */
.tbk-regulation {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--home-hairline);
}

.tbk-regulation__tabsbar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.tbk-regulation__tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    min-width: 0;
    padding: 0.3rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: var(--picks-off-white);
    border: 1px solid var(--picks-ice);
    border-radius: 999px;
    scroll-behavior: smooth;
}

.tbk-regulation__tabs::-webkit-scrollbar {
    display: none;
}

.tbk-regulation__tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tbk-muted);
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.tbk-regulation__tab:hover {
    color: var(--tbk-primary);
}

.tbk-regulation__tab.is-active {
    color: #fff;
    background: var(--tbk-primary);
    box-shadow: 0 3px 10px rgba(232, 130, 42, 0.32);
}

.tbk-reg-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    font-size: 0.625rem;
    font-weight: 800;
    color: var(--tbk-muted);
    background: rgba(40, 34, 28, 0.06);
    border-radius: 999px;
}

.tbk-regulation__tab.is-active .tbk-reg-tab__count {
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
}

.tbk-regulation__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    color: var(--tbk-muted);
    background: #fff;
    border: 1px solid var(--tbk-border);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.tbk-regulation__nav svg {
    width: 0.9rem;
    height: 0.9rem;
}

.tbk-regulation__nav:hover {
    color: var(--tbk-primary);
    border-color: rgba(232, 130, 42, 0.4);
}

.tbk-regulation__grid {
    margin-top: 0;
}

/* ── Editor's picks — editorial spotlight, deliberately distinct from the card grids above ── */
.tbk-editorial {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--home-hairline);
}

.tbk-editorial__list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(28, 30, 36, 0.98) 0%, rgba(58, 43, 28, 0.97) 100%);
    border: 1px solid rgba(232, 130, 42, 0.3);
    border-radius: 1.25rem;
    box-shadow:
        0 1px 3px rgba(20, 16, 10, 0.2),
        0 24px 48px rgba(20, 16, 10, 0.24);
}

.tbk-editorial__row {
    display: grid;
    grid-template-columns: 2.25rem auto 1fr auto auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 1.75rem;
    color: #f5f1ea;
}

.tbk-editorial__row + .tbk-editorial__row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tbk-editorial__num {
    font-size: 2rem;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.14);
}

.tbk-editorial__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.tbk-editorial__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.tbk-editorial__logo img {
    max-width: 76%;
    max-height: 76%;
    object-fit: contain;
}

.tbk-editorial__logo-fallback {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tbk-primary-dark);
}

.tbk-editorial__identity {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.tbk-editorial__label {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ffd682;
}

.tbk-editorial__name {
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.tbk-editorial__quote {
    margin: 0;
    max-width: 26rem;
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.55;
    color: rgba(245, 241, 234, 0.72);
}

.tbk-editorial__score {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    white-space: nowrap;
}

.tbk-editorial__score strong {
    font-size: 1.375rem;
    font-weight: 800;
    color: #fff;
}

.tbk-editorial__score span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(245, 241, 234, 0.5);
}

.tbk-editorial__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1c1e24;
    background: #fff;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.tbk-editorial__cta svg {
    width: 0.875rem;
    height: 0.875rem;
}

.tbk-editorial__cta:hover {
    color: #fff;
    background: var(--tbk-primary);
    transform: translateY(-1px);
}

.tbk-cta {
    margin-top: 2.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--tbk-border);
    border-radius: 1rem;
}

.tbk-cta__title {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
}

.tbk-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    .tbk-editorial__row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand score"
            "quote quote"
            "cta cta";
        row-gap: 0.75rem;
        column-gap: 1rem;
    }

    .tbk-editorial__num {
        display: none;
    }

    .tbk-editorial__brand {
        grid-area: brand;
    }

    .tbk-editorial__score {
        grid-area: score;
        align-self: center;
    }

    .tbk-editorial__quote {
        grid-area: quote;
        max-width: none;
    }

    .tbk-editorial__cta {
        grid-area: cta;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 639px) {
    .tbk-award-spotlight__card {
        padding: 1.5rem;
    }

    .tbk-award-spotlight__top {
        flex-wrap: wrap;
    }

    .tbk-award-spotlight__count {
        order: 3;
    }

    .tbk-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tbk-directory__head {
        flex-direction: column;
        align-items: stretch;
    }

    .tbk-directory__tools {
        flex-direction: column;
        align-items: stretch;
    }

    .tbk-editorial__row {
        padding: 1.1rem 1.25rem;
    }

    .tbk-regulation__nav {
        display: none;
    }
}
