:root {
    --tp-bg: #0a0a0a;
    --tp-bg-soft: #111;
    --tp-panel: #171717;
    --tp-panel-2: #1f1f1f;
    --tp-border: rgba(255, 255, 255, 0.09);
    --tp-text: #f4f4f4;
    --tp-muted: #a6a6a6;
    --tp-red: #d71920;
    --tp-red-dark: #a91218;
    --tp-gold: #e5b55b;
    --tp-container: 1180px;
    --tp-radius: 2px;
    --tp-gap: 18px;
}

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

html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: var(--tp-bg);
    color: var(--tp-text);
    font: 400 15px/1.55 Georgia, "Times New Roman", serif;
    -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
form,
button,
input,
textarea {
    margin: 0;
    padding: 0;
}

ul,
ol,
li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.skip-to-main-content {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 200;
    transform: translateY(-150%);
    background: var(--tp-red);
    color: #fff;
    padding: 8px 12px;
}

.skip-to-main-content:focus {
    transform: translateY(0);
}

.tp-site {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -120px, rgba(215, 25, 32, 0.18), transparent 310px),
        linear-gradient(180deg, #101010 0, #0a0a0a 340px);
}

.tp-container {
    width: 100%;
    max-width: var(--tp-container);
    margin: 0 auto;
    padding: 0 14px;
}

.tp-main {
    min-height: calc(100vh - 220px);
}

.tp-section {
    margin: 24px 0;
}

/* Header */
.tp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #0b0b0b;
    border-bottom: 1px solid #000;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.tp-topline {
    background: #111;
    border-bottom: 1px solid var(--tp-border);
}

.tp-topline__inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px auto;
    gap: 10px;
    align-items: center;
    min-height: 64px;
}

.tp-menu-button,
.tp-search-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tp-border);
    background: #161616;
    color: #fff;
}

.tp-menu-button span,
.tp-menu-button span:before,
.tp-menu-button span:after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
}

.tp-menu-button span {
    position: relative;
}

.tp-menu-button span:before,
.tp-menu-button span:after {
    content: "";
    position: absolute;
    left: 0;
}

.tp-menu-button span:before {
    top: -7px;
}

.tp-menu-button span:after {
    top: 7px;
}

.tp-logo {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(26px, 4.4vw, 44px);
    letter-spacing: 0.01em;
    line-height: 1;
    text-transform: uppercase;
}

.tp-logo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-logo span:first-letter {
    color: var(--tp-red);
}

.tp-search {
    display: none;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 44px;
    border: 1px solid var(--tp-border);
    background: #070707;
}

.tp-search input {
    width: 100%;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    padding: 0 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.tp-search input::placeholder {
    color: #777;
}

.tp-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tp-red);
    color: #fff;
}

.tp-search button:hover {
    background: var(--tp-red-dark);
}

.tp-lang {
    position: relative;
}

.tp-lang__choice {
    display: inline-flex;
    min-width: 44px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tp-border);
    background: #161616;
    color: #fff;
    font: 700 12px/1 Arial, Helvetica, sans-serif;
}

.tp-lang__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    display: none;
    width: 190px;
    max-height: 330px;
    overflow: auto;
    border: 1px solid var(--tp-border);
    background: #111;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
    padding: 8px;
}

.tp-lang.open .tp-lang__menu {
    display: grid;
    gap: 4px;
}

.tp-lang__item {
    display: flex;
    min-height: 32px;
    align-items: center;
    color: var(--tp-muted);
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    padding: 0 9px;
}

.tp-lang__item:hover,
.tp-lang__item.active {
    background: var(--tp-red);
    color: #fff;
}

.tp-mobile-search {
    display: none;
    border-bottom: 1px solid var(--tp-border);
    background: #101010;
    padding: 10px 0;
}

.search-open .tp-mobile-search {
    display: block;
}

.tp-search--mobile {
    display: grid;
}

.tp-nav {
    position: fixed;
    top: 64px;
    left: 0;
    z-index: 60;
    width: min(320px, 88vw);
    height: calc(100vh - 64px);
    background: #0d0d0d;
    border-right: 1px solid var(--tp-border);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
}

.nav-open .tp-nav {
    transform: translateX(0);
}

.tp-nav__inner {
    display: grid;
    gap: 1px;
    padding: 10px;
}

.tp-nav__link {
    display: flex;
    min-height: 42px;
    align-items: center;
    border-left: 3px solid transparent;
    color: #ddd;
    font: 800 13px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.04em;
    padding: 0 14px;
    text-transform: uppercase;
}

.tp-nav__link:hover,
.tp-nav__link.active {
    border-left-color: var(--tp-red);
    background: #171717;
    color: #fff;
}

.tp-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: none;
    background: rgba(0, 0, 0, 0.68);
}

.nav-open .tp-overlay,
.search-open .tp-overlay {
    display: block;
}

@media (min-width: 860px) {
    .tp-topline__inner {
        grid-template-columns: minmax(180px, auto) minmax(260px, 430px) auto;
    }

    .tp-menu-button,
    .tp-search-toggle {
        display: none;
    }

    .tp-logo {
        justify-content: flex-start;
    }

    .tp-search {
        display: grid;
    }

    .tp-nav {
        position: static;
        width: auto;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--tp-border);
        background: #050505;
        transform: none;
    }

    .tp-nav__inner {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        padding: 0 14px;
    }

    .tp-nav__link {
        min-height: 42px;
        border-left: 0;
        border-bottom: 3px solid transparent;
        padding: 0 13px;
    }

    .tp-nav__link:hover,
    .tp-nav__link.active {
        border-bottom-color: var(--tp-red);
        background: transparent;
    }

    .tp-overlay {
        display: none !important;
    }
}

html[dir="rtl"] .tp-lang__menu {
    right: auto;
    left: 0;
}

html[dir="rtl"] .tp-nav {
    left: auto;
    right: 0;
    border-right: 0;
    border-left: 1px solid var(--tp-border);
    transform: translateX(105%);
}

html[dir="rtl"] .nav-open .tp-nav {
    transform: translateX(0);
}

@media (min-width: 860px) {
    html[dir="rtl"] .tp-nav {
        transform: none;
        border-left: 0;
    }
}

/* Ads */
.tp-ad-row {
    padding: 16px 0 0;
}

.tp-ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, max-content));
    justify-content: center;
    gap: 10px;
}

.ad-slot {
    overflow: hidden;
    min-height: 24px;
    color: var(--tp-muted);
    text-align: center;
}

/* Listing */
.tp-hero {
    margin-top: 18px;
}

.tp-hero__panel {
    display: grid;
    gap: 18px;
    border: 1px solid var(--tp-border);
    background:
        linear-gradient(135deg, rgba(215, 25, 32, 0.2), transparent 34%),
        var(--tp-panel);
    padding: clamp(18px, 4vw, 34px);
}

.tp-kicker {
    color: var(--tp-gold);
    font: 800 12px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tp-hero h1,
.tp-single__header h1 {
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(31px, 6vw, 56px);
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 0.98;
    text-transform: uppercase;
}

.tp-hero p,
.tp-single__meta,
.tp-page-count {
    color: var(--tp-muted);
    font: 700 13px/1.4 Arial, Helvetica, sans-serif;
}

.tp-search-cloud {
    margin: 18px 0;
}

.tp-search-cloud__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--tp-border);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
}

.tp-search-cloud span {
    color: var(--tp-gold);
    font: 800 12px/1 Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.tp-search-cloud a,
.tp-chip-list a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid var(--tp-border);
    background: #141414;
    color: #d7d7d7;
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    padding: 0 10px;
}

.tp-search-cloud a:hover,
.tp-chip-list a:hover {
    border-color: var(--tp-red);
    color: #fff;
}

.tp-note,
.tp-empty {
    border: 1px solid var(--tp-border);
    background: var(--tp-panel);
    color: var(--tp-muted);
    padding: 14px;
}

.tp-post-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}

.tp-post-card {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--tp-border);
    background: var(--tp-panel);
}

.tp-post-card__media,
.tp-related-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #050505;
}

.tp-post-card__media img,
.tp-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.tp-post-card:hover img,
.tp-related-card:hover img {
    transform: scale(1.035);
    filter: brightness(1.08);
}

.tp-post-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.78));
}

.tp-no-thumb {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--tp-muted);
    text-align: center;
}

.tp-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    font: 800 12px/1 Arial, Helvetica, sans-serif;
    padding: 0 8px;
}

.tp-badge--time {
    left: 8px;
    bottom: 8px;
}

.tp-badge--rating {
    right: 8px;
    bottom: 8px;
    background: var(--tp-red);
}

.tp-post-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.tp-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--tp-gold);
    font: 800 11px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tp-post-card__title {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.2;
}

.tp-post-card__title a:hover {
    color: var(--tp-gold);
}

.tp-post-card__excerpt {
    color: var(--tp-muted);
}

.tp-read-more {
    display: inline-flex;
    width: max-content;
    min-height: 34px;
    align-items: center;
    margin-top: auto;
    background: var(--tp-red);
    color: #fff;
    font: 800 12px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.05em;
    padding: 0 14px;
    text-transform: uppercase;
}

.tp-read-more:hover {
    background: var(--tp-red-dark);
}

@media (min-width: 700px) {
    .tp-post-card {
        grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
    }
}

@media (min-width: 1020px) {
    .tp-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tp-post-card {
        grid-template-columns: 1fr;
    }
}

/* Pagination */
.tp-pagination-section {
    margin-top: 28px;
}

.tp-pager,
.tp-pager .pagination,
.tp-pager ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.tp-pager li {
    display: flex;
}

.tp-pager a,
.tp-pager span,
.tp-pager strong {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tp-border);
    background: #141414;
    color: #ddd;
    font: 800 13px/1 Arial, Helvetica, sans-serif;
    padding: 0 10px;
}

.tp-pager a:hover,
.tp-pager .active a,
.tp-pager .active span,
.tp-pager strong,
.tp-pager span.current,
.tp-pager .current {
    border-color: var(--tp-red);
    background: var(--tp-red);
    color: #fff;
}

.tp-page-count {
    margin-top: -6px;
    text-align: center;
}

/* Single post */
.tp-breadcrumbs {
    margin: 18px 0;
}

.tp-breadcrumbs .tp-container {
    display: flex;
    gap: 8px;
    overflow: auto;
    color: var(--tp-muted);
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}

.tp-breadcrumbs a {
    color: #fff;
}

.tp-breadcrumbs a:hover {
    color: var(--tp-gold);
}

.tp-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.tp-single__main,
.tp-sidebar {
    min-width: 0;
}

.tp-single__header {
    border: 1px solid var(--tp-border);
    border-bottom: 0;
    background: var(--tp-panel);
    padding: clamp(18px, 4vw, 30px);
}

.tp-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tp-single__meta span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border: 1px solid var(--tp-border);
    background: #101010;
    padding: 0 9px;
}

.tp-player {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--tp-border);
    background: #000;
}

.tp-player:before {
    display: block;
    width: 100%;
    padding-top: 56.25%;
    content: "";
}

.tp-player > script,
.tp-player > #player {
    position: absolute;
}

.tp-player > #player,
.tp-player .jwplayer {
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.tp-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 1px solid var(--tp-border);
    border-top: 0;
    background: #101010;
    padding: 12px;
}

.tp-reactions a,
.tp-reactions button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--tp-border);
    background: #171717;
    color: #ddd;
    font: 800 12px/1 Arial, Helvetica, sans-serif;
    padding: 0 12px;
    text-transform: uppercase;
}

.tp-reactions a:hover,
.tp-reactions button:hover {
    border-color: var(--tp-red);
    color: #fff;
}

.tp-single-box,
.tp-entry-content {
    border: 1px solid var(--tp-border);
    background: var(--tp-panel);
    color: #d5d5d5;
    padding: 18px;
}

.tp-entry-content {
    line-height: 1.75;
}

.tp-entry-content p + p {
    margin-top: 14px;
}

.tp-entry-content a {
    color: var(--tp-gold);
    text-decoration: underline;
    text-decoration-color: rgba(229, 181, 91, 0.45);
}

.tp-taxonomy h2,
.tp-widget h2,
.tp-section-heading h2 {
    margin-bottom: 12px;
    color: #fff;
    font: 900 18px/1.1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tp-taxonomy h2:not(:first-child) {
    margin-top: 18px;
}

.tp-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-sidebar {
    display: grid;
    gap: 18px;
    align-content: start;
}

.tp-widget {
    border: 1px solid var(--tp-border);
    background: var(--tp-panel);
    padding: 16px;
}

.tp-widget__stats {
    display: grid;
    gap: 10px;
}

.tp-widget__stats div {
    display: grid;
    gap: 3px;
    border-bottom: 1px solid var(--tp-border);
    padding-bottom: 10px;
}

.tp-widget__stats div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tp-widget__stats strong {
    color: #fff;
    font: 900 25px/1 Arial, Helvetica, sans-serif;
}

.tp-widget__stats span {
    color: var(--tp-muted);
    font: 800 11px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tp-share-input {
    width: 100%;
    height: 38px;
    border: 1px solid var(--tp-border);
    outline: 0;
    background: #080808;
    color: #fff;
    padding: 0 10px;
}

.tp-rating-line {
    height: 7px;
    overflow: hidden;
    margin-top: 12px;
    background: #303030;
}

.tp-rating-line span {
    display: block;
    height: 100%;
    background: var(--tp-red);
}

.tp-related {
    margin-top: 30px;
}

.tp-section-heading {
    border-bottom: 2px solid var(--tp-red);
    margin-bottom: 16px;
}

.tp-section-heading h2 {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    background: var(--tp-red);
    padding: 0 13px;
}

.tp-related-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 18px;
}

.tp-related-card {
    border: 1px solid var(--tp-border);
    background: var(--tp-panel);
}

.tp-related-card h3 {
    min-height: 48px;
    color: #fff;
    font: 800 15px/1.25 Arial, Helvetica, sans-serif;
    padding: 12px 12px 0;
}

.tp-related-card h3 a:hover {
    color: var(--tp-gold);
}

.tp-related-card p {
    color: var(--tp-muted);
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    padding: 10px 12px 14px;
}

@media (min-width: 700px) {
    .tp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1020px) {
    .tp-single__layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .tp-sidebar {
        position: sticky;
        top: 130px;
    }

    .tp-related-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Footer */
.tp-ad-row--bottom {
    margin-top: 34px;
}

.tp-seo-text {
    margin-top: 34px;
}

.tp-footer {
    margin-top: 40px;
    border-top: 1px solid var(--tp-border);
    background: #050505;
}

.tp-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 28px;
    padding-bottom: 24px;
}

.tp-logo--footer {
    justify-content: flex-start;
    font-size: 32px;
}

.footer-counters {
    margin-top: 14px;
    color: var(--tp-muted);
}

.tp-footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.tp-footer__column h2 {
    margin-bottom: 12px;
    color: #fff;
    font: 900 14px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tp-footer__column a {
    display: block;
    color: var(--tp-muted);
    font: 700 13px/1.5 Arial, Helvetica, sans-serif;
    margin-bottom: 8px;
}

.tp-footer__column a:hover,
.tp-footer__column a.active {
    color: var(--tp-gold);
}

.tp-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    border-top: 1px solid var(--tp-border);
    color: #777;
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    padding-top: 14px;
    padding-bottom: 18px;
}

@media (min-width: 760px) {
    .tp-footer__inner {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

/* Directories */
.directory-page {
    max-width: var(--tp-container);
    margin: 24px auto;
    padding: 0 14px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 2px solid var(--tp-red);
    margin-bottom: 16px;
}

.section-head h1 {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    background: var(--tp-red);
    color: #fff;
    font: 900 20px/1 Arial, Helvetica, sans-serif;
    padding: 0 13px;
    text-transform: uppercase;
}

.section-head span {
    color: var(--tp-muted);
}

.directory-grid,
.directory-grid--models {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.directory-card,
.model-tile {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--tp-border);
    background: var(--tp-panel);
    color: #fff;
    padding: 12px;
}

.directory-card:hover,
.model-tile:hover {
    border-color: var(--tp-red);
}

.directory-card__letter,
.model-tile__placeholder {
    display: inline-flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    background: var(--tp-red);
    color: #fff;
    font: 900 18px/1 Arial, Helvetica, sans-serif;
}

.directory-card__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.directory-card__title,
.model-tile__title {
    overflow: hidden;
    color: #fff;
    font: 800 15px/1.2 Arial, Helvetica, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.directory-card__meta {
    color: var(--tp-muted);
    font: 700 12px/1 Arial, Helvetica, sans-serif;
}

.model-tile {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
}

.model-tile__media {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #080808;
}

.model-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.load-more-row {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

/* 404 */
.error-hero {
    max-width: var(--tp-container);
    margin: 28px auto 40px;
    padding: 0 14px;
}

.error-hero__panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    border: 1px solid var(--tp-border);
    background:
        linear-gradient(135deg, rgba(215, 25, 32, 0.2), transparent 40%),
        var(--tp-panel);
    padding: clamp(20px, 4vw, 42px);
}

.error-hero__code {
    color: var(--tp-red);
    font: 900 clamp(72px, 18vw, 170px)/0.85 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.error-hero__eyebrow {
    color: var(--tp-gold);
    font: 800 12px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.error-hero h1 {
    color: #fff;
    font: 900 clamp(30px, 6vw, 58px)/1 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    text-transform: uppercase;
}

.error-hero__text {
    max-width: 620px;
    color: var(--tp-muted);
}

.error-hero__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    max-width: 620px;
    margin-top: 16px;
}

.error-hero__search input {
    min-width: 0;
    height: 40px;
    border: 1px solid var(--tp-border);
    outline: 0;
    background: #080808;
    color: #fff;
    padding: 0 12px;
}

.error-hero__search button,
.error-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    background: #171717;
    color: #fff;
    font: 800 12px/1 Arial, Helvetica, sans-serif;
    padding: 0 14px;
    text-transform: uppercase;
}

.error-hero__search button,
.error-button--primary {
    background: var(--tp-red);
}

.error-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

@media (min-width: 760px) {
    .error-hero__panel {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }
}

@media (max-width: 560px) {
    .tp-topline__inner {
        grid-template-columns: 42px minmax(0, 1fr) 42px auto;
    }

    .tp-logo {
        font-size: 24px;
    }

    .tp-hero__panel {
        padding: 18px;
    }

    .tp-post-card__title {
        font-size: 18px;
    }

    .tp-reactions a,
    .tp-reactions button {
        flex: 1 1 auto;
        justify-content: center;
    }

    .error-hero__search {
        grid-template-columns: 1fr;
    }
}
