.jt-search-hub {
    --jt-search-bg: #050609;
    --jt-search-panel: #0f1014;
    --jt-search-panel-2: #11131a;
    --jt-search-line: rgba(255, 255, 255, .08);
    --jt-search-text: #f7f8fb;
    --jt-search-muted: rgba(247, 248, 251, .64);
    --jt-search-soft: rgba(247, 248, 251, .42);
    --jt-search-red: #e1261c;
    --jt-search-blue: #0c63ff;
    --jt-search-radius: 24px;
    background: #0A0A0A;
    color: var(--jt-search-text);
    font-family: Montserrat, "PT Sans", Arial, sans-serif;
    min-height: 100vh;
    margin-top: -40px;
    padding: 0 20px 72px;
    position: relative;
}

.jt-search-hub *,
.jt-search-hub *::before,
.jt-search-hub *::after {
    box-sizing: border-box;
}

.jt-search-hub a {
    color: inherit;
    text-decoration: none;
}

.jt-search-layout {
    margin: 0 auto;
    max-width: 1320px;
}

.jt-search-hero {
    background: #050505;
    border: 0;
    border-radius: var(--jt-search-radius);
    box-shadow: none;
    overflow: hidden;
    padding: 30px 30px 26px;
    position: relative;
}

.jt-search-hero::before {
    content: none;
}

.jt-search-hero__glow {
    display: none;
}

.jt-search-hero__content {
    position: relative;
    z-index: 1;
}

.jt-search-hero__eyebrow {
    color: var(--jt-search-red);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
}

.jt-search-hero h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0;
}

.jt-search-hero__lead {
    color: var(--jt-search-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    margin: 10px 0 22px;
    max-width: 720px;
}

.jt-search-form {
    align-items: start;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 132px;
}

.jt-search-form input,
.jt-search-form button {
    border: 0;
    border-radius: 16px;
    font-family: inherit;
    height: 58px;
    outline: none;
}

.jt-search-form input {
    background: rgba(2, 3, 7, .82);
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 0 20px;
}

.jt-search-form input:focus {
    border-color: rgba(225, 38, 28, .54);
    box-shadow: 0 0 0 4px rgba(225, 38, 28, .12);
}

.jt-search-form button {
    align-self: start;
    background: linear-gradient(135deg, var(--jt-search-red), #9f1516 48%, var(--jt-search-blue));
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    margin: 0 !important;
    transform: none;
}

.jt-search-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.jt-search-popular-button {
    align-items: center;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 999px;
    color: rgba(255, 255, 255, .88);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    padding: 11px 16px;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.jt-search-popular-button:hover,
.jt-search-popular-button:focus,
.jt-search-popular-button.is-active {
    background: rgba(225, 38, 28, .16);
    border-color: rgba(225, 38, 28, .42);
    color: #fff;
}

.jt-search-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: 280px minmax(0, 1fr);
}

.jt-search-main {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.jt-search-filters {
    grid-area: auto;
    position: sticky;
    top: 96px;
    transform: translateY(-46px);
}

.jt-search-filters > summary {
    display: none;
}

.jt-search-filter-stack {
    display: grid;
    gap: 16px;
}

.jt-search-filter-card {
    background: #050505;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
    padding: 18px;
}

.jt-search-filter-card h2 {
    color: var(--jt-search-red);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 14px;
}

.jt-topic-list,
.jt-check-list,
.jt-radio-list {
    display: grid;
    gap: 3px;
}

.jt-topic-list a,
.jt-check-list a,
.jt-radio-list a {
    align-items: center;
    border-radius: 12px;
    color: rgba(255, 255, 255, .76);
    display: grid;
    font-size: 12px;
    font-weight: 700;
    min-height: 31px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.jt-topic-list a {
    grid-template-columns: 22px minmax(0, 1fr) auto;
}

.jt-check-list a {
    grid-template-columns: 22px minmax(0, 1fr) auto;
}

.jt-radio-list a {
    grid-template-columns: 22px minmax(0, 1fr);
}

.jt-topic-list a:hover,
.jt-check-list a:hover,
.jt-radio-list a:hover,
.jt-topic-list a.is-active,
.jt-check-list a.is-active,
.jt-radio-list a.is-active {
    background: rgba(255, 255, 255, .045);
    color: #fff;
    transform: translateX(2px);
}

.jt-topic-list__mark {
    background: linear-gradient(135deg, rgba(225, 38, 28, .82), rgba(12, 99, 255, .78));
    border-radius: 50%;
    display: block;
    height: 14px;
    overflow: hidden;
    width: 14px;
}

.jt-topic-list__mark img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.jt-topic-list strong,
.jt-check-list strong {
    background: rgba(255, 255, 255, .055);
    border-radius: 999px;
    color: rgba(255, 255, 255, .68);
    font-size: 10px;
    font-weight: 800;
    min-width: 24px;
    padding: 3px 7px;
    text-align: center;
}

.jt-check-list__box,
.jt-radio-list__dot {
    border: 1px solid rgba(255, 255, 255, .3);
    display: block;
    height: 14px;
    width: 14px;
}

.jt-check-list__box {
    border-radius: 4px;
}

.jt-radio-list__dot {
    border-radius: 50%;
}

.jt-check-list a.is-active .jt-check-list__box,
.jt-radio-list a.is-active .jt-radio-list__dot {
    background: radial-gradient(circle, var(--jt-search-red) 0 42%, transparent 45%), rgba(225, 38, 28, .16);
    border-color: rgba(225, 38, 28, .88);
    box-shadow: 0 0 18px rgba(225, 38, 28, .24);
}

.jt-search-results {
    grid-area: results;
    min-width: 0;
}

.jt-search-results__header {
    align-items: center;
    display: flex;
    min-height: 28px;
    padding: 0 0 14px;
}

.jt-search-results__header h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0;
}

.jt-search-results__header span {
    color: var(--jt-search-red);
}

.jt-result-list {
    display: grid;
    gap: 16px;
}

.jt-result-card {
    background:
        linear-gradient(var(--jt-search-panel), var(--jt-search-panel)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)) border-box;
    border: 1px solid transparent;
    border-radius: var(--jt-search-radius);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
    display: grid;
    gap: 22px;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 228px;
    padding: 24px;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jt-result-card::after {
    background: linear-gradient(135deg, rgba(225, 38, 28, .42), rgba(12, 99, 255, .24));
    border-radius: inherit;
    content: "";
    inset: -1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity .2s ease;
    z-index: -1;
}

.jt-result-card:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42), 0 0 34px rgba(225, 38, 28, .12);
    transform: translateY(-3px);
}

.jt-result-card:hover::after {
    opacity: 1;
}

.jt-result-card__media {
    background: linear-gradient(135deg, rgba(12, 99, 255, .3), rgba(225, 38, 28, .28)), #080a10;
    border-radius: 16px;
    display: block;
    min-height: 180px;
    overflow: hidden;
    position: relative;
}

.jt-result-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.jt-result-card__media span {
    align-items: center;
    color: rgba(255, 255, 255, .84);
    display: flex;
    font-size: 62px;
    font-weight: 900;
    height: 180px;
    justify-content: center;
}

.jt-result-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 4px 0 2px;
}

.jt-result-card h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 12px;
}

.jt-result-card__meta {
    align-items: center;
    color: var(--jt-search-soft);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.jt-result-card__meta span,
.jt-result-card__meta time {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.jt-result-card__meta span + span::before,
.jt-result-card__meta time::before {
    background: rgba(255, 255, 255, .18);
    border-radius: 50%;
    content: "";
    height: 5px;
    width: 5px;
}

.jt-result-card p {
    color: var(--jt-search-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

.jt-result-card__stats {
    align-items: center;
    color: rgba(255, 255, 255, .5);
    display: flex;
    gap: 18px;
    margin-top: auto;
    padding-top: 18px;
}

.jt-result-card__stats span {
    align-items: center;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
}

.jt-result-card__stats i {
    color: var(--jt-search-red);
    font-style: normal;
}

.jt-search-pagination {
    margin-top: 24px;
}

.jt-search-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jt-search-pagination a,
.jt-search-pagination span {
    align-items: center;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    color: #fff;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    min-width: 38px;
    padding: 0 12px;
}

.jt-search-pagination .current {
    background: linear-gradient(135deg, var(--jt-search-red), var(--jt-search-blue));
}

.jt-search-empty {
    background: rgba(15, 16, 20, .82);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: var(--jt-search-radius);
    padding: 34px;
}

.jt-search-empty h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 8px;
}

.jt-search-empty p {
    color: var(--jt-search-muted);
    font-size: 14px;
    margin: 0;
}

body.search #page,
body.search .page-container,
body.search .content__block,
body.search article {
    background: transparent !important;
}

body.search .container,
body.search .sixteen.columns {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

@media (max-width: 1024px) {
    .jt-search-hub {
        padding-left: 16px;
        padding-right: 16px;
    }

    .jt-search-layout {
        grid-template-columns: 1fr;
    }

    .jt-search-filters {
        position: static;
    }

    .jt-search-filter-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jt-result-card {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .jt-search-hub {
        padding: 18px 10px 84px;
    }

    .jt-search-hero {
        border-radius: 20px;
        padding: 24px 16px 20px;
    }

    .jt-search-hero h1 {
        font-size: 28px;
    }

    .jt-search-form {
        grid-template-columns: 1fr;
    }

    .jt-search-form input,
    .jt-search-form button {
        height: 54px;
        width: 100%;
    }

    .jt-search-layout,
    .jt-search-main {
        gap: 18px;
    }

    .jt-search-layout {
        margin-top: 18px;
    }

    .jt-search-filters {
        background: rgba(12, 13, 18, .86);
        border: 1px solid rgba(255, 255, 255, .07);
        border-radius: 18px;
        padding: 0;
    }

    .jt-search-filters > summary {
        align-items: center;
        color: #fff;
        cursor: pointer;
        display: flex;
        font-size: 14px;
        font-weight: 900;
        height: 54px;
        justify-content: space-between;
        list-style: none;
        padding: 0 16px;
    }

    .jt-search-filters > summary::-webkit-details-marker {
        display: none;
    }

    .jt-search-filters > summary::after {
        color: var(--jt-search-red);
        content: "+";
        font-size: 20px;
        font-weight: 900;
    }

    .jt-search-filters[open] > summary::after {
        content: "−";
    }

    .jt-search-filter-stack {
        gap: 12px;
        grid-template-columns: 1fr;
        padding: 0 10px 10px;
    }

    .jt-search-filter-card {
        border-radius: 14px;
        padding: 15px;
    }

    .jt-search-results__header h2 {
        font-size: 18px;
    }

    .jt-result-card {
        border-radius: 20px;
        gap: 16px;
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .jt-result-card__media,
    .jt-result-card__media span {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 0;
    }

    .jt-result-card h3 {
        font-size: 18px;
    }

    .jt-result-card p {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .jt-search-hero h1 {
        font-size: 25px;
    }

    .jt-search-tags {
        gap: 8px;
    }

    .jt-search-tags a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .jt-result-card__stats {
        gap: 12px;
    }
}


/* TVASHTAR 2026-06-11: search page legal/visual cleanup — plain black background and compact right-column flow. */
.jt-search-hero,
.jt-search-filters,
.jt-search-results {
    grid-area: auto;
}


/* TVASHTAR 2026-06-11: match main site base background instead of pure black. */
body.search #page,
body.search .page-container {
    background: #0A0A0A !important;
}
