.post-type-archive-tb_alt .mc,
.tax-tb_alt_category .mc {
    background: #f3f6fb;
}

.ta-page,
.ta-page :where(h1,h2,h3,p,li,dd,dt,a) {
    overflow-wrap: anywhere;
}

.ta-page :is(a, summary):focus-visible {
    outline: 2px solid #1759d2;
    outline-offset: 3px;
}

.ta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    min-height: 36px;
}

.ta-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ta-channel {
    gap: 0;
    padding-top: 24px;
}

.ta-channel-heading h1 {
    margin: 0 0 5px;
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.ta-channel-heading .crumb {
    margin-bottom: 8px;
}

.ta-channel-heading p {
    margin: 0;
    line-height: 1.8;
    color: var(--ink2);
}

.ta-tabs {
    display: flex;
    gap: 16px;
    margin: 13px 0 22px;
    border-bottom: 1px solid #dce3ee;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ta-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px 10px;
    border-bottom: 2px solid transparent;
    color: var(--ink2);
    white-space: nowrap;
}

.ta-tabs a:focus-visible {
    outline-offset: -3px;
}

.ta-tabs a:hover,
.ta-tabs a[aria-current] {
    color: var(--brand);
}

.ta-tabs a[aria-current] {
    border-color: var(--brand);
    font-weight: 650;
}

.ta-card-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px 18px;
}

.ta-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #d7dfec;
    border-radius: 10px;
    background: #fff;
    padding: 10px 10px 11px;
}

.ta-card:focus-within,
.ta-card:hover {
    border-color: #a5bff0;
}

.ta-cover {
    display: grid;
    place-items: center;
    aspect-ratio: 3.6;
    overflow: hidden;
    border-radius: 7px;
    background: linear-gradient(120deg,#eaf1ff,#dfeaff);
    color: #507bd7;
}

.ta-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ta-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 5px 0;
}

.ta-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ta-tag {
    display: inline-block;
    background: #eaf1ff;
    border-radius: 4px;
    padding: 2px 7px;
    color: #355387;
    font-size: 12px;
    line-height: 1.45;
}

.ta-card h2 {
    margin: 5px 0 2px;
    font-size: 17px;
    line-height: 1.55;
}

.ta-card p {
    margin: 3px 0 5px;
    color: var(--ink2);
    line-height: 1.8;
    font-size: 13px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ta-card-read {
    margin-top: auto;
    min-height: 44px;
    font-size: 13px;
}

.ta-channel > .pager {
    margin-top: 18px;
}

.ta-surface {
    min-width: 0;
    border-radius: 13px;
    background: #fff;
    padding: 24px;
}

.ta-empty {
    padding-block: 45px;
    text-align: center;
}

.ta-empty h2 {
    margin: 0;
    font-size: 17px;
}

.ta-detail {
    gap: 14px;
}

.ta-topline {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ta-topline .crumb {
    min-width: 0;
}

.ta-detail-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 260px;
    align-items: start;
    gap: 18px;
}

.ta-main,
.ta-rail {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 16px;
}

.ta-rail {
    position: sticky;
    top: calc(var(--top-h) + 16px);
}

.admin-bar .ta-rail {
    top: calc(var(--top-h) + 48px);
}

.ta-detail-layout:not(:has(.ta-rail)) {
    grid-template-columns: minmax(0,1fr);
}

.ta-hero h1 {
    margin: 10px 0 9px;
    font-size: 25px;
    line-height: 1.4;
    letter-spacing: -.025em;
}

.ta-kicker {
    color: var(--brand);
    font-size: 12px;
    font-weight: 650;
}

.ta-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 12px;
    color: var(--ink3);
}

.ta-meta > :not(:first-child)::before {
    content: "·";
    margin-right: 10px;
    color: #8a99ad;
}

.ta-intro {
    margin: 16px 0 0;
    color: var(--ink2);
    line-height: 1.8;
}

.ta-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.ta-section-heading h2,
.ta-rail h2,
.ta-related h2,
.ta-mobile-needs h2 {
    margin: 0;
    font-size: 17px;
}

.ta-section-heading > span {
    font-size: 12px;
    color: var(--ink3);
}

.ta-baseline {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 9px;
    background: #eff5ff;
}

.ta-baseline-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 13px;
}

.ta-baseline a,
.ta-original strong {
    font-size: 16px;
    font-weight: 700;
}

.ta-baseline-copy p,
.ta-original p {
    margin: 0;
    line-height: 1.7;
    font-size: 13px;
    color: var(--ink2);
}

.ta-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.ta-col-platform { width: 30%; }
.ta-col-arrow { width: 38px; }

.ta-table thead th {
    background: #f1f4f9;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink2);
    padding: 9px 10px;
}

.ta-group,
.ta-platform-detail,
.ta-platform-details,
.ta-detail {
    scroll-margin-top: calc(var(--top-h) + 17px);
}

.admin-bar :is(.ta-group,.ta-platform-detail,.ta-platform-details,.ta-detail) {
    scroll-margin-top: calc(var(--top-h) + 55px);
}

.ta-group-heading th {
    padding: 8px 11px;
    border-top: 12px solid #fff;
    border-radius: 4px;
    background: #f1f5fb;
    font-size: 13px;
}

.ta-group-heading th::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 1em;
    margin-right: 8px;
    border-radius: 2px;
    background: var(--brand);
    vertical-align: -.09em;
}

.ta-platform-row th,
.ta-platform-row td {
    padding: 10px;
    border-bottom: 1px solid #edf0f4;
    color: var(--ink2);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
}

.ta-platform-row:hover :is(th,td) {
    background: #fbfcff;
}

.ta-platform-name {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--ink);
}

.ta-row-advantage > span:last-child,
.ta-row-caveat > span:last-child {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ta-row-arrow a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    color: var(--ink3);
    font-size: 23px;
}

.ta-mobile-label,
.ta-mobile-needs,
.ta-directory {
    display: none;
}

.ta-platform-details .ta-section-heading {
    margin-bottom: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.ta-platform-detail {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.ta-platform-detail:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ta-platform-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.ta-platform-heading h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
}

.ta-platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 13px;
    margin-left: auto;
    font-size: 13px;
}

.ta-platform-copy {
    margin: 14px 0;
    color: var(--ink2);
    line-height: 1.85;
}

.ta-platform-facts {
    margin: 12px 0 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 13px;
}

.ta-platform-facts > div {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr);
    align-items: start;
    gap: 9px;
    padding: 8px 11px;
}

.ta-platform-facts > div + div {
    border-top: 1px solid var(--line);
}

.ta-platform-facts dd {
    margin: 0;
    color: var(--ink2);
    line-height: 1.7;
}

.ta-rail .ta-surface {
    padding: 19px;
}

.ta-side-needs a,
.ta-directory nav a {
    display: block;
    padding: 10px 10px 10px 13px;
    border-left: 3px solid #dfe7f4;
    border-radius: 4px;
    margin-top: 7px;
    color: var(--ink2);
}

.ta-side-needs small {
    display: block;
    margin-top: 4px;
    color: var(--ink3);
    line-height: 1.6;
}

.ta-page a[data-alt-need][aria-current] {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand);
}

.ta-original h2 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.ta-original > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-block: 12px;
}

.ta-original .ta-link {
    margin-top: 6px;
    font-size: 13px;
}

.ta-empty-note {
    margin: 0;
    color: var(--ink3);
}

.ta-copy > :first-child {
    margin-top: 0;
}

.ta-copy > :last-child {
    margin-bottom: 0;
}

.ta-related {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.ta-related ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 2px 15px;
    padding: 0;
    margin: 6px 0 0;
}

.ta-related a,
.ta-bottom a {
    font-size: 13px;
}

.ta-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

@media(max-width:900px) {
    .ta-detail-layout { grid-template-columns: minmax(0,1fr) 225px; }
    .ta-surface { padding: 19px; }
}

@media(max-width:767px) {
    .ta-channel { padding-top: 17px; }
    .ta-channel-heading h1 { font-size: 21px; }
    .ta-tabs { margin: 10px 0 15px; gap: 6px; }
    .ta-tabs a { padding-inline: 8px; font-size: 13px; }
    .ta-card-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
    .ta-cover { aspect-ratio: 3.25; }
    .ta-detail { gap: 10px; }
    .ta-detail-layout { display: block; }
    .ta-main { gap: 12px; }
    .ta-rail, .ta-author { display: none; }
    .ta-meta > :nth-child(2)::before { content: none; }
    .ta-surface { padding: 15px; }
    .ta-topline .crumb { font-size: 12px; }
    .ta-hero h1 { font-size: 21px; }
    .ta-hero h1 span { display: block; }
    .ta-intro { margin-top: 10px; }
    .ta-mobile-needs { display: block; }
    .ta-mobile-needs h2 { display: flex; align-items: center; gap: 6px; }
    .ta-mobile-needs > div {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 6px;
        margin-top: 9px;
    }
    .ta-mobile-needs a {
        display: flex;
        align-items: center;
        min-height: 44px;
        border: 1px solid #d7e1f2;
        border-left-width: 3px;
        border-radius: 6px;
        padding: 6px 8px;
        font-size: 13px;
    }
    .ta-directory { display: block; flex: none; }
    .ta-directory summary {
        display: flex;
        align-items: center;
        gap: 4px;
        min-height: 44px;
        color: var(--ink3);
        cursor: pointer;
        list-style: none;
    }
    .ta-directory summary::-webkit-details-marker { display: none; }
    .ta-directory nav {
        position: absolute;
        z-index: 5;
        top: 100%;
        right: 0;
        width: min(285px, 100%);
        max-height: 55vh;
        overflow-y: auto;
        border: 1px solid var(--line);
        border-radius: 9px;
        padding: 7px 10px 12px;
        background: #fff;
        box-shadow: 0 8px 24px #253b5e24;
    }
    .ta-section-heading { margin-bottom: 12px; }
    .ta-baseline { margin-bottom: 11px; padding: 10px; }
    .ta-row-advantage > span:last-child,
    .ta-row-caveat > span:last-child { -webkit-line-clamp: 3; }
    .ta-table colgroup { display: none; }
    .ta-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .ta-table, .ta-table tbody, .ta-group-heading, .ta-group-heading th { display: block; }
    .ta-group-heading th { border-top-width: 8px; padding: 6px 8px; }
    .ta-platform-row {
        display: grid;
        grid-template-columns: minmax(0,1fr) 25px;
        gap: 2px 3px;
        border-bottom: 1px solid var(--line);
        padding: 7px 0;
    }
    .ta-platform-row th, .ta-platform-row td { padding: 0; border: 0; }
    .ta-platform-row .ta-row-advantage, .ta-platform-row .ta-row-caveat {
        display: flex;
        align-items: baseline;
        gap: 6px;
        grid-column: 1;
        padding-left: 43px;
    }
    .ta-mobile-label { display: inline; flex: none; color: var(--ink3); }
    .ta-row-arrow { grid-column: 2; grid-row: 1; }
    .ta-platform-name { gap: 8px; min-height: 40px; }
    .ta-platform-heading h3 { font-size: 16px; }
    .ta-platform-links { width: 100%; padding-left: 48px; }
    .ta-platform-links a { min-height: 42px; }
    .ta-platform-facts { border: 0; }
    .ta-platform-facts > div { display: block; padding: 8px 0; }
    .ta-platform-facts dd { margin-top: 4px; }
    .ta-related a, .ta-bottom a { min-height: 44px; }
}
