.tp-home-refresh,
.tp-home-refresh *,
.tp-market-human-refresh,
.tp-market-human-refresh * {
    box-sizing: border-box;
}

.tp-home-refresh {
    max-width: 1580px;
    margin-top: 0 !important;
    padding-top: 22px;
}

.tp-refresh-hero {
    display: grid;
    grid-template-columns: minmax(430px, 47%) minmax(0, 53%);
    min-height: 620px;
    overflow: hidden;
    border: 1px solid #eceff2;
    border-radius: 0 0 24px 24px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(9, 24, 45, .08);
}

.tp-refresh-hero .tp-home-top-copy {
    display: flex !important;
    min-height: 620px !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 66px clamp(32px, 5vw, 82px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(110deg, #fff 0%, #fff 78%, #f7f3df 100%) !important;
    box-shadow: none !important;
}

.tp-refresh-hero .tp-home-top-copy:before,
.tp-refresh-hero .tp-home-top-copy:after {
    display: none !important;
    content: none !important;
}

.tp-refresh-hero .tp-home-top-copy .tp-market-kicker {
    align-self: flex-start;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #8a7000 !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
    backdrop-filter: none !important;
}

.tp-refresh-hero .tp-home-top-copy h1 {
    max-width: 690px !important;
    margin: 22px 0 20px !important;
    color: #09182d !important;
    font-size: clamp(48px, 5.1vw, 82px) !important;
    line-height: .98 !important;
    letter-spacing: -.06em !important;
    text-shadow: none !important;
}

.tp-refresh-hero .tp-home-top-copy p {
    max-width: 610px !important;
    color: #4f5b6d !important;
    font-size: 16px !important;
    line-height: 1.68 !important;
    text-shadow: none !important;
}

.tp-refresh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tp-refresh-hero-actions a {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 1px solid #ffd000;
    border-radius: 999px;
    background: #ffd000;
    color: #09182d !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tp-refresh-hero-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(9, 24, 45, .12);
}

.tp-refresh-hero-actions a.is-secondary {
    border-color: #09182d;
    background: #fff;
}

.tp-refresh-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin-top: 38px;
}

.tp-refresh-trust span {
    display: inline-flex;
    max-width: 150px;
    align-items: center;
    gap: 9px;
    color: #344257;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.tp-refresh-trust b {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #e4e7eb;
    border-radius: 50%;
    background: #fff;
    color: #09182d;
    font-size: 12px;
}

.tp-refresh-hero-media {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.tp-refresh-hero-media:after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 15%;
    content: '';
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
    pointer-events: none;
}

.tp-refresh-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    object-position: 57% center;
}

.tp-refresh-benefits {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    gap: 12px !important;
    margin-top: 18px;
}

.tp-refresh-benefits article {
    min-height: 132px;
    justify-content: center;
}

.tp-market-human-refresh {
    padding-top: 10px;
    background: #f7f8fa;
}

.tp-market-human-refresh .tp-market-section,
.tp-market-human-refresh .tp-market-showcase,
.tp-market-human-refresh .tp-market-benefits,
.tp-market-human-refresh .tp-market-human-section,
.tp-refresh-story,
.tp-refresh-seller-cta {
    border-color: #e9ebee;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(9, 24, 45, .035);
}

.tp-market-human-refresh .tp-market-categories {
    padding: 24px 24px 18px;
}

.tp-market-human-refresh .tp-market-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.tp-market-human-refresh .tp-market-category-card.is-human {
    min-height: 320px;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    color: #fff;
    box-shadow: 0 12px 26px rgba(9, 24, 45, .12);
}

.tp-market-human-refresh .tp-market-category-card.is-human .tp-market-category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: inherit;
    background: #101923;
}

.tp-market-human-refresh .tp-market-category-card.is-human .tp-market-category-image:after {
    position: absolute;
    inset: 38% 0 0;
    content: '';
    background: linear-gradient(180deg, transparent, rgba(4, 12, 21, .88));
}

.tp-market-human-refresh .tp-market-category-card.is-human .tp-market-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-market-human-refresh .tp-market-category-card.is-human strong,
.tp-market-human-refresh .tp-market-category-card.is-human > span:last-child {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
}

.tp-market-human-refresh .tp-market-category-card.is-human strong {
    min-height: 0;
    padding-bottom: 4px;
    font-size: 16px;
}

.tp-market-human-refresh .tp-market-category-card.is-human > span:last-child {
    margin: 0;
    padding-bottom: 18px;
    color: #ffe477;
}

.tp-refresh-story {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 0;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #e9ebee;
    background: #fff;
}

.tp-refresh-story-media {
    min-height: 390px;
    overflow: hidden;
}

.tp-refresh-story-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.tp-refresh-story-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 74px);
}

.tp-refresh-story-copy h2 {
    max-width: 620px;
    margin: 10px 0 17px;
    color: #09182d;
    font-size: clamp(32px, 3.2vw, 50px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.tp-refresh-story-copy p {
    max-width: 620px;
    margin: 0;
    color: #5f6978;
    font-size: 14px;
    line-height: 1.7;
}

.tp-refresh-story-copy a {
    display: inline-flex;
    align-self: flex-start;
    gap: 10px;
    margin-top: 23px;
    color: #123c78;
    font-size: 12px;
    font-weight: 900;
}

.tp-refresh-seller-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tp-refresh-seller {
    display: block;
    overflow: hidden;
    border: 1px solid #e6e9ed;
    border-radius: 15px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tp-refresh-seller:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(9, 24, 45, .09);
}

.tp-refresh-seller img {
    display: block;
    width: 100%;
    aspect-ratio: 1.9;
    object-fit: cover;
}

.tp-refresh-seller > span {
    display: block;
    padding: 15px 17px 17px;
}

.tp-refresh-seller strong,
.tp-refresh-seller small {
    display: block;
}

.tp-refresh-seller strong {
    color: #09182d;
    font-size: 15px;
}

.tp-refresh-seller small {
    margin-top: 5px;
    color: #7b8490;
    font-size: 11px;
}

.tp-refresh-seller-cta {
    position: relative;
    min-height: 310px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #e9ebee;
    background-image:
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 35%, rgba(255,255,255,.73) 48%, rgba(255,255,255,0) 70%),
        url('../assets/images/tradin-home-refresh/vender-banner.webp');
    background-position: center, center;
    background-size: cover;
}

.tp-refresh-seller-cta > div {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 48px clamp(28px, 5vw, 72px);
}

.tp-refresh-seller-cta h2 {
    max-width: 510px;
    margin: 9px 0 12px;
    color: #09182d;
    font-size: clamp(34px, 3.5vw, 54px);
    line-height: 1;
    letter-spacing: -.05em;
}

.tp-refresh-seller-cta p {
    max-width: 490px;
    margin: 0;
    color: #536073;
    font-size: 13px;
    line-height: 1.6;
}

.tp-refresh-seller-cta a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    margin-top: 21px;
    padding: 0 23px;
    border-radius: 999px;
    background: #ffd000;
    color: #09182d;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1250px) {
    .tp-refresh-hero {
        grid-template-columns: 1fr 1fr;
        min-height: 560px;
    }

    .tp-refresh-hero .tp-home-top-copy,
    .tp-refresh-hero-media,
    .tp-refresh-hero-media img {
        min-height: 560px !important;
    }

    .tp-market-human-refresh .tp-market-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .tp-home-refresh {
        width: calc(100% - 20px);
    }

    .tp-refresh-hero {
        grid-template-columns: 1fr;
    }

    .tp-refresh-hero .tp-home-top-copy {
        min-height: auto !important;
        padding: 48px 32px !important;
    }

    .tp-refresh-hero-media,
    .tp-refresh-hero-media img {
        min-height: 440px !important;
    }

    .tp-refresh-hero-media:after {
        inset: 0 0 auto;
        width: 100%;
        height: 18%;
        background: linear-gradient(180deg, #fff, rgba(255,255,255,0));
    }

    .tp-refresh-benefits {
        grid-template-columns: 1fr !important;
    }

    .tp-refresh-story {
        grid-template-columns: 1fr;
    }

    .tp-refresh-story-media,
    .tp-refresh-story-media img {
        min-height: 340px;
    }

    .tp-refresh-seller-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .tp-home-refresh {
        width: calc(100% - 14px);
        padding-top: 12px;
    }

    .tp-refresh-hero {
        border-radius: 0 0 16px 16px;
    }

    .tp-refresh-hero .tp-home-top-copy {
        padding: 38px 20px !important;
    }

    .tp-refresh-hero .tp-home-top-copy h1 {
        font-size: 43px !important;
    }

    .tp-refresh-hero .tp-home-top-copy p {
        font-size: 14px !important;
    }

    .tp-refresh-hero-actions a {
        width: 100%;
    }

    .tp-refresh-trust {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tp-refresh-hero-media,
    .tp-refresh-hero-media img {
        min-height: 360px !important;
    }

    .tp-market-human-refresh .tp-market-categories {
        padding: 18px 12px 12px;
    }

    .tp-market-human-refresh .tp-market-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .tp-market-human-refresh .tp-market-category-card.is-human {
        min-height: 245px;
    }

    .tp-refresh-story-copy {
        padding: 29px 20px 34px;
    }

    .tp-refresh-story-copy h2 {
        font-size: 31px;
    }

    .tp-refresh-seller-cta {
        min-height: 470px;
        background-image:
            linear-gradient(180deg, #fff 0%, rgba(255,255,255,.95) 42%, rgba(255,255,255,.15) 72%),
            url('../assets/images/tradin-home-refresh/vender-banner.webp');
        background-position: center, 65% center;
    }

    .tp-refresh-seller-cta > div {
        padding: 30px 20px;
    }
}
