/*
 * Teamsport Elite Bausteine – OPC portlet styles
 * Mobile first. Breakpoints: 700px (tablet), 1000px (desktop), 1400px (wide).
 * Design tokens come from the NOVAChild theme (:root --tse-*); every token has a fallback here,
 * so the portlets also render correctly with another template.
 * Contrast rules: green fills always carry black text; green text only on black/dark surfaces.
 */

/* ---------- Tokens and base ---------- */
.tse,
.tse-stack {
    --k: var(--tse-black, #000);
    --s1: var(--tse-surface, #0b0b0b);
    --s2: var(--tse-surface-2, #141414);
    --ln: var(--tse-line, #262626);
    --w: var(--tse-white, #fff);
    --m: var(--tse-muted, #b3b3b3);
    --g: var(--tse-green, #67b437);
    --gh: var(--tse-green-hover, #7cc94c);
    --fd: var(--tse-font-display, 'Archivo', 'Arial Black', Arial, sans-serif);
    --fb: var(--tse-font-body, 'Inter', 'Segoe UI', Arial, sans-serif);
    --ease: var(--tse-ease, cubic-bezier(.2, .7, .2, 1));
    --ph: #161616;
}

.tse {
    position: relative;
    display: block;
    width: 100%;
    background: var(--k);
    color: var(--w);
    font-family: var(--fb);
    font-size: 16px;
    line-height: 1.55;
    overflow: hidden;
}

.tse *,
.tse *::before,
.tse *::after {
    box-sizing: border-box;
}

/* Resets with zero specificity so component classes always win */
:where(.tse) :where(h1, h2, h3, p, ol, ul, figure) {
    margin: 0;
}

:where(.tse) :where(ul, ol) {
    padding: 0;
    list-style: none;
}

.tse a {
    color: inherit;
    text-decoration: none;
}

.tse a:hover {
    color: inherit;
    text-decoration: none;
}

.tse img {
    max-width: 100%;
}

.tse a:focus-visible,
.tse button:focus-visible,
.tse input:focus-visible,
.tse textarea:focus-visible,
.tse summary:focus-visible {
    outline: 2px solid var(--g);
    outline-offset: 3px;
}

.tse-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.tse-wrap {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.tse--contained .tse-wrap {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}

.tse-section {
    padding-block: clamp(64px, 9vw, 120px);
}

.tse-bg--surface {
    background: var(--s1);
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
}

/* ---------- Typography ---------- */
.tse-display {
    font-family: var(--fd);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.02em;
    line-height: .92;
    text-wrap: balance;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.tse-h2 {
    font-size: clamp(34px, 4.4vw, 64px);
}

.tse-micro {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--m);
}

.tse-micro--accent,
.tse-accent {
    color: var(--g);
}

.tse-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--g);
}

.tse-eyebrow__line {
    width: 40px;
    height: 1px;
    background: var(--g);
}

.tse-briefing {
    font-size: 12px;
    line-height: 1.5;
    color: #c4c4c4;
}

.tse-briefing strong {
    color: var(--w);
    letter-spacing: .14em;
}

.tse-dummy-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--m);
}

/* ---------- Links and buttons ---------- */
.tse-wipe {
    background-image: linear-gradient(var(--g), var(--g));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    padding-bottom: 4px;
    transition: background-size .35s ease;
}

.tse-wipe:hover {
    background-size: 100% 2px;
}

.tse-line-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    background-image: linear-gradient(var(--g), var(--g));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1px;
    padding-bottom: 6px;
    transition: background-size .35s ease;
}

.tse-line-link:hover {
    background-size: 100% 3px;
}

.tse-row-link {
    transition: padding-left .3s ease, color .3s ease;
}

.tse .tse-row-link:hover {
    padding-left: 12px;
    color: var(--g);
}

.tse-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #5a5a5a;
    font-size: 14px;
    font-weight: 600;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.tse .tse-chip:hover {
    background: var(--w);
    border-color: var(--w);
    color: var(--k);
}

.tse-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-size: 14px;
    font-weight: 600;
}

.tse-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--fb);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}

.tse .tse-btn--primary,
.tse .tse-btn--primary:hover {
    background: var(--g);
    color: #000;
}

.tse .tse-btn--primary:hover,
.tse .tse-btn--primary:focus-visible,
a:hover > .tse-promo__banner-body .tse-btn--primary {
    background: var(--gh);
    color: #000;
    transform: translateY(-2px);
}

.tse-btn--outline {
    border-color: var(--w);
    color: var(--w);
    font-weight: 600;
}

.tse .tse-btn--outline:hover {
    background: var(--w);
    color: var(--k);
}

.tse-btn--small {
    min-height: 50px;
    padding: 0 24px;
    font-size: 14px;
}

.tse-btn--block {
    width: 100%;
}

/* ---------- Image cards ---------- */
.tse-card {
    position: relative;
    display: block;
    overflow: hidden;
    color: var(--w);
    background: var(--ph);
    isolation: isolate;
}

.tse-card__media {
    position: absolute;
    inset: 0;
    background-color: var(--ph);
    background-image:
        radial-gradient(ellipse 55% 45% at 78% 0%, rgba(255, 255, 255, .2), transparent 70%),
        radial-gradient(ellipse 40% 34% at 12% 4%, rgba(255, 255, 255, .1), transparent 70%);
    box-shadow: inset 0 0 0 1px #2a2a2a;
    transition: transform 1.2s var(--ease);
    z-index: -2;
}

.tse-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tse-card:hover .tse-card__media,
.tse-card:focus-visible .tse-card__media {
    transform: scale(1.045);
}

.tse-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0) 58%);
    z-index: -1;
}

.tse-card__shade--side {
    background: linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, 0));
}

.tse-card__briefing {
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    max-width: 30em;
}

.tse-card__briefing--right {
    left: auto;
    max-width: 22em;
    text-align: right;
}

.tse-card__body {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tse-card__body .tse-micro {
    color: #d0d0d0;
}

.tse-rule {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--g);
    transition: width .5s ease;
}

.tse-card:hover .tse-rule,
.tse-card:focus-visible .tse-rule {
    width: 120px;
}

.tse-card__title {
    font-size: clamp(34px, 4vw, 48px);
}

.tse-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 4px 8px;
    background: var(--g);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tse-badge--light {
    background: var(--w);
}

/* ---------- Section heads ---------- */
.tse-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 40px;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.tse-head__title {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tse-head__text {
    max-width: 26em;
    color: #bdbdbd;
}

.tse-head--split .tse-head__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 34em;
}

/* ---------- Hero ---------- */
.tse-hero {
    display: flex;
    flex-direction: column;
    min-height: 600px;
    background: var(--ph);
}

.tse-hero__media {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 55% 45% at 78% 0%, rgba(255, 255, 255, .2), transparent 70%),
        radial-gradient(ellipse 40% 34% at 12% 4%, rgba(255, 255, 255, .1), transparent 70%);
}

.tse-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* subject slightly right of centre; on portrait screens the stadium stays in view */
    object-position: 55% 45%;
}

.tse-hero__pitch {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--w);
    opacity: .16;
}

.tse-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .85) 75%);
}

.tse-hero__briefing {
    position: relative;
    z-index: 1;
    margin: 20px 20px 0 auto;
    max-width: 300px;
    text-align: right;
}

.tse-hero__body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
}

.tse-hero__rail {
    display: none;
}

.tse-hero__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 56px max(20px, env(safe-area-inset-right, 0px)) 48px max(20px, env(safe-area-inset-left, 0px));
}

.tse-hero__title {
    font-size: clamp(46px, 9.4vw, 138px);
    font-weight: 900;
}

.tse-hero__text {
    max-width: 30em;
    font-size: 17px;
    color: #d6d6d6;
}

.tse-hero__quick {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-top: 1px solid #2a2a2a;
    background: rgba(0, 0, 0, .55);
}

.tse-hero__quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2a2a;
}

.tse-hero__quick-link .tse-micro {
    margin-bottom: 4px;
}

.tse-hero__quick-text {
    font-weight: 600;
}

.tse-rise {
    animation: tse-rise 1s var(--ease) both;
}

/* Text keeps full opacity from the first frame (readable even if the animation never runs,
   e.g. in screenshots, link previews or background tabs); only the position eases in. */
@keyframes tse-rise {
    from {
        transform: translateY(18px);
    }
    to {
        transform: none;
    }
}

/* ---------- Category grid ---------- */
.tse-cats__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.tse-cats__card {
    min-height: 340px;
}

.tse-cats__card--1 .tse-card__title {
    font-size: clamp(44px, 5vw, 72px);
}

.tse-cats__card--4 .tse-card__title {
    font-size: clamp(38px, 4.2vw, 60px);
}

/* ---------- Feature sections ---------- */
.tse-feature__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.tse-feature__media {
    aspect-ratio: 4 / 5;
    max-height: 560px;
    width: 100%;
}

.tse-feature__badge {
    top: auto;
    left: 24px;
    bottom: 24px;
    padding: 10px 16px;
    font-size: 13px;
    letter-spacing: .1em;
}

.tse-feature__media .tse-card__briefing {
    right: 24px;
}

.tse-feature__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.tse-feature__text {
    max-width: 32em;
    color: #bdbdbd;
}

.tse-rows {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #2a2a2a;
}

.tse-rows__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    border-bottom: 1px solid #2a2a2a;
}

.tse-rows--display .tse-rows__label {
    font-size: clamp(22px, 2.4vw, 26px);
}

.tse-rows__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #bdbdbd;
    text-align: right;
}

.tse-rows--compact .tse-rows__item {
    min-height: 76px;
    padding-right: 8px;
}

.tse-rows--compact .tse-rows__label {
    display: block;
    font-weight: 600;
}

.tse-rows--compact .tse-rows__meta {
    display: block;
    font-size: 13px;
    color: #a3a3a3;
    text-align: left;
}

.tse-rows__title {
    padding: 16px 0 6px;
}

.tse-rows--lines .tse-rows__item {
    min-height: 52px;
    font-weight: 600;
}

.tse-tiles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.tse-tiles__card {
    min-height: 300px;
}

.tse-tiles__title {
    font-size: clamp(24px, 2.2vw, 28px);
}

.tse-tiles--4 .tse-tiles__title {
    font-size: clamp(22px, 1.9vw, 26px);
}

.tse-feature__rows-grid {
    margin-top: 24px;
}

.tse-feature--tiles .tse-chips {
    margin-top: 28px;
}

/* ---------- Products ---------- */
.tse-pgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
}

.tse-pcard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.tse-pcard__tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
    max-width: 100%;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid var(--ln);
    transition: border-color .3s ease;
}

.tse-pcard--dummy .tse-pcard__tile {
    background: var(--ph);
}

.tse-pcard__tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .8s var(--ease);
}

.tse-pcard--dummy .tse-pcard__tile img {
    object-fit: cover;
}

.tse-pcard:hover .tse-pcard__tile {
    border-color: var(--g);
}

.tse-pcard:hover .tse-pcard__tile img {
    transform: scale(1.03);
}

.tse-pcard__ribbon .ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    margin: 0;
    padding: 4px 8px;
    border-radius: 0;
    background: var(--g);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tse-pcard__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tse-pcard__name {
    font-family: var(--fb);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.tse .tse-pcard__name a:hover {
    color: var(--g);
}

.tse-pcard__meta {
    font-size: 13px;
    color: #a3a3a3;
}

.tse-pcard__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-top: 8px;
    font-family: var(--fd);
    font-stretch: 112%;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
}

.tse-pcard__price .price_wrapper,
.tse-pcard__price .price {
    color: var(--w);
    font: inherit;
}

.tse-pcard__price .instead-of,
.tse-pcard__price .old-price,
.tse-pcard__price .text-muted,
.tse-pcard__price .price-note {
    font-family: var(--fb);
    font-size: 13px;
    font-weight: 400;
    color: #a3a3a3 !important;
}

.tse-pcard__uvp {
    font-family: var(--fb);
    font-size: 13px;
    font-weight: 400;
    color: #a3a3a3;
    text-decoration: line-through;
}

.tse-pcard__vat {
    font-size: 12px;
    color: #a3a3a3;
}

.tse-pcard__vat a {
    text-decoration: underline;
}

/* ---------- Promo ---------- */
.tse-promo {
    padding-bottom: 0;
}

.tse-promo__title {
    margin-bottom: 24px;
}

.tse-promo__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.tse-promo__banner {
    min-height: 400px;
    display: flex;
}

.tse-promo__banner-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding: 28px;
}

.tse-promo__headline {
    font-size: clamp(36px, 4.6vw, 64px);
}

.tse-promo__text {
    max-width: 26em;
    color: #d6d6d6;
}

.tse-promo__banner .tse-btn {
    margin-top: 6px;
}

.tse-promo__tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 360px;
    padding: 28px;
    background: var(--s2);
    border: 1px solid var(--ln);
    transition: border-color .3s ease;
}

.tse-promo__tile:hover {
    border-color: #5a5a5a;
}

.tse-promo__tile-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.tse-promo__word {
    font-size: clamp(56px, 6.6vw, 96px);
    font-weight: 900;
    line-height: .9;
}

.tse-outline {
    color: var(--w);
}

@supports (-webkit-text-stroke: 1px #fff) {
    .tse-outline {
        color: transparent;
        -webkit-text-stroke: 1.5px var(--w);
    }
}

.tse-promo__tile-headline {
    font-size: 18px;
    font-weight: 600;
}

.tse-promo__tile-text {
    font-size: 14px;
    color: #a3a3a3;
}

/* ---------- Brands ---------- */
.tse-brands {
    padding-block: 40px;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
}

.tse-brands__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px 24px;
    margin-bottom: 28px;
}

.tse-brands__head .tse-wipe {
    color: var(--w);
}

.tse-brands__viewport {
    overflow: hidden;
}

.tse-brands__track {
    display: flex;
    width: max-content;
}

.tse-brands__list {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-right: 48px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    font-size: clamp(30px, 3.4vw, 44px);
    white-space: nowrap;
}

.tse-brands__list + .tse-brands__list {
    padding-left: 0;
}

.tse-brands__list li {
    display: flex;
    align-items: center;
    gap: 48px;
}

.tse-brands__list li::after {
    content: "/";
    color: var(--g);
}

.tse-brands__list a {
    transition: color .25s ease;
}

.tse .tse-brands__list a:hover {
    color: var(--g);
}

.tse-brands--animate .tse-brands__list:first-child {
    padding-left: 0;
}

.tse-brands--animate .tse-brands__track {
    animation: tse-drift 46s linear infinite;
}

.tse-brands--animate .tse-brands__viewport:hover .tse-brands__track,
.tse-brands--animate .tse-brands__viewport:focus-within .tse-brands__track {
    animation-play-state: paused;
}

@keyframes tse-drift {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Benefits ---------- */
.tse-benefits__title {
    margin-bottom: 32px;
}

.tse-benefits__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 40px;
    border-top: 1px solid #2a2a2a;
}

.tse-benefits__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 0;
    border-bottom: 1px solid #1f1f1f;
}

.tse-benefits__icon {
    color: var(--g);
}

.tse-benefits__name {
    margin-top: 6px;
    font-family: var(--fb);
    font-size: 17px;
    font-weight: 700;
}

.tse-benefits__text {
    font-size: 14px;
    color: #a3a3a3;
}

.tse-benefits__seal {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid var(--ln);
    font-size: 14px;
    color: #bdbdbd;
}

.tse-benefits__seal strong {
    color: var(--w);
}

.tse-benefits__seal-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: none;
    border: 1px dashed #5a5a5a;
    border-radius: 50%;
    color: var(--g);
}

/* ---------- SEO content ---------- */
.tse-seo__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
}

.tse-seo__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.tse-seo__title {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1;
}

.tse-richtext {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 38em;
    color: #d0d0d0;
}

.tse-richtext a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tse .tse-richtext a:hover {
    color: var(--g);
}

.tse-richtext h3 {
    font-family: var(--fb);
    font-size: 18px;
    color: var(--w);
}

.tse-seo__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.tse-seo__faq {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tse-seo__faq-title {
    margin-bottom: 16px;
    color: var(--w);
}

.tse-faq {
    border-top: 1px solid #2a2a2a;
    padding: 18px 0;
}

.tse-faq:last-child {
    border-bottom: 1px solid #2a2a2a;
}

.tse-faq[open] {
    border-top-color: var(--g);
}

.tse-faq__q {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.tse-faq__q::-webkit-details-marker {
    display: none;
}

.tse-faq__q::after {
    content: "+";
    flex: none;
    font-family: var(--fd);
    font-size: 22px;
    line-height: 1;
    color: var(--g);
    transition: transform .3s ease;
}

.tse-faq[open] .tse-faq__q::after {
    transform: rotate(45deg);
}

.tse-faq__a {
    margin-top: 10px;
    font-size: 15px;
    color: #bdbdbd;
}

/* ---------- Forms (newsletter, club quote) ---------- */
.tse-label {
    color: var(--w);
}

.tse-input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #5a5a5a;
    border-radius: 0;
    background: var(--k);
    color: var(--w);
    font: inherit;
    transition: border-color .2s ease;
}

.tse-input::placeholder {
    color: #8c8c8c;
}

.tse-input:focus {
    border-color: var(--g);
    outline: none;
}

.tse-input--area {
    height: auto;
    min-height: 96px;
    padding: 14px 16px;
    resize: vertical;
}

.tse-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tse-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tse-field-row .tse-input {
    flex: 1 1 240px;
}

.tse-newsletter {
    border-top: 1px solid #1f1f1f;
}

.tse-newsletter__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: end;
}

.tse-newsletter__intro {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tse-newsletter__text {
    max-width: 30em;
    color: #bdbdbd;
}

.tse-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.tse-newsletter__captcha:empty {
    display: none;
}

.tse-newsletter__consent {
    font-size: 13px;
    color: #a3a3a3;
}

.tse-newsletter__consent a {
    text-decoration: underline;
}

.tse-club__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
}

.tse-club__main,
.tse-club__aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.tse-club__text {
    max-width: 32em;
    color: #bdbdbd;
}

.tse-steps {
    margin-top: 8px !important;
    border-top: 1px solid #2a2a2a;
}

.tse-steps__item {
    display: flex;
    gap: 20px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid #2a2a2a;
}

.tse-steps__no {
    flex: none;
    width: 64px;
    white-space: nowrap;
}

.tse-steps__title {
    display: block;
    font-size: 18px;
}

.tse-steps__text {
    font-size: 15px;
    color: #a3a3a3;
}

.tse-quote {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px 20px;
    background: var(--s2);
    border: 1px solid var(--ln);
    border-top: 2px solid var(--g);
}

.tse-quote__title {
    font-size: clamp(24px, 2.4vw, 28px);
}

.tse-quote__note {
    font-size: 14px;
    color: #a3a3a3;
}

.tse-quote .tse-btn {
    margin-top: 6px;
    font-size: 14px;
}

/* ---------- Stack (editor helper) ---------- */
.tse-stack__label {
    padding: 6px 10px;
    border: 1px dashed #67b437;
    font: 600 12px/1.4 Arial, sans-serif;
    color: #2f5f12;
    background: #eef7e8;
}

/* ---------- Tablet ≥ 700px ---------- */
/* Phones: two-column cards and tiles keep the homepage compact (mockup: EliteMobile) */
@media (max-width: 699.98px) {
    .tse-cats__grid,
    .tse-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tse-cats__card {
        min-height: 220px;
    }

    .tse-cats__card--1,
    .tse-cats__card--4 {
        grid-column: 1 / -1;
        min-height: 280px;
    }

    .tse-cats__card--1 .tse-card__title,
    .tse-cats__card--4 .tse-card__title {
        font-size: 38px;
        font-stretch: 112%;
    }

    /* half-width cards: the expanded display cut (125%) is too wide for ~170px */
    .tse-cats__card--2 .tse-card__title,
    .tse-cats__card--3 .tse-card__title {
        font-size: 22px;
        font-stretch: 100%;
    }

    .tse-cats__card--2 .tse-card__body .tse-micro,
    .tse-cats__card--3 .tse-card__body .tse-micro {
        display: none;
    }

    .tse-tiles__card {
        min-height: 190px;
    }

    .tse-tiles--3 .tse-tiles__card:first-child,
    .tse-tiles--1 .tse-tiles__card {
        grid-column: 1 / -1;
    }

    .tse-tiles__title,
    .tse-tiles--4 .tse-tiles__title {
        font-size: 19px;
        font-stretch: 100%;
        hyphens: manual;
    }

    /* small tiles: the photo briefing is development text; it would cover the whole tile */
    .tse-tiles__card .tse-card__briefing,
    .tse-cats__card--2 .tse-card__briefing,
    .tse-cats__card--3 .tse-card__briefing {
        display: none;
    }

    .tse-card__body {
        left: 14px;
        right: 14px;
        bottom: 16px;
        gap: 10px;
    }
}

@media (min-width: 700px) {
    .tse-wrap {
        padding-left: max(32px, env(safe-area-inset-left, 0px));
        padding-right: max(32px, env(safe-area-inset-right, 0px));
    }

    .tse-cats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .tse-cats__card {
        min-height: 380px;
    }

    .tse-cats__card--1,
    .tse-cats__card--4 {
        grid-column: 1 / -1;
    }

    .tse-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .tse-tiles--3 .tse-tiles__card:first-child,
    .tse-tiles--1 .tse-tiles__card {
        grid-column: 1 / -1;
    }

    .tse-pgrid {
        gap: 32px 24px;
    }

    .tse-benefits__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tse-hero__quick--2,
    .tse-hero__quick--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tse-hero__quick--3 .tse-hero__quick-link:last-child {
        grid-column: 1 / -1;
    }

    .tse-hero__quick-link {
        padding: 20px 32px;
        border-right: 1px solid #2a2a2a;
    }

    .tse-quote {
        padding: 36px;
    }

    .tse-promo__banner-body,
    .tse-promo__tile {
        padding: 36px;
    }
}

/* ---------- Desktop ≥ 1000px ---------- */
@media (min-width: 1000px) {
    .tse-wrap {
        padding-left: 40px;
        padding-right: 40px;
    }

    .tse--contained .tse-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    /* Hero */
    .tse-hero--tall {
        min-height: 760px;
    }

    .tse-hero--medium {
        min-height: 600px;
    }

    /* lighter than before so the light streaks stay visible behind the headline */
    .tse-hero__shade {
        background: linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 32%, rgba(0, 0, 0, 0) 60%);
    }

    .tse-hero__briefing {
        position: absolute;
        top: 28px;
        right: 40px;
        margin: 0;
    }

    .tse-hero__rail {
        width: 72px;
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 36px 0;
        border-right: 1px solid #262626;
    }

    .tse-hero__rail .tse-micro {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
    }

    .tse-hero__rail-label {
        color: var(--w);
    }

    .tse-hero__rail-line {
        width: 1px;
        height: 96px;
        background: linear-gradient(var(--g), rgba(103, 180, 55, 0));
    }

    .tse-hero__content {
        gap: 28px;
        padding: 64px 40px 56px 56px;
    }

    .tse-hero__text {
        font-size: 18px;
    }

    .tse-hero__quick--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tse-hero__quick--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tse-hero__quick--3 .tse-hero__quick-link:last-child {
        grid-column: auto;
    }

    .tse-hero__quick-link {
        padding: 22px 40px;
        border-bottom: 0;
    }

    .tse-hero__quick-link:last-child {
        border-right: 0;
    }

    /* Category grid */
    .tse-cats__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }

    .tse-cats--offset .tse-cats__card--1 {
        grid-column: span 7;
        min-height: 580px;
    }

    .tse-cats--offset .tse-cats__card--2 {
        grid-column: span 5;
        min-height: 440px;
        margin-top: 140px;
    }

    .tse-cats--offset .tse-cats__card--3 {
        grid-column: span 5;
        min-height: 440px;
    }

    .tse-cats--offset .tse-cats__card--4 {
        grid-column: span 7;
        min-height: 500px;
        margin-top: 72px;
    }

    .tse-cats--even .tse-cats__card {
        grid-column: span 6;
        min-height: 480px;
    }

    .tse-card__body {
        left: 28px;
        right: 28px;
        bottom: 28px;
        gap: 14px;
    }

    .tse-card__briefing {
        top: 24px;
        left: 28px;
        right: 28px;
    }

    .tse-card__briefing--right {
        left: auto;
    }

    /* Section head with aside */
    .tse-head--split {
        display: grid;
        grid-template-columns: 7fr 5fr;
        gap: 24px;
        align-items: end;
    }

    /* Feature */
    .tse-feature__split {
        grid-template-columns: 5fr 7fr;
        gap: 72px;
    }

    .tse-feature--image-right .tse-feature__split {
        grid-template-columns: 7fr 5fr;
    }

    .tse-feature--image-right .tse-feature__media {
        order: 2;
    }

    .tse-feature__media {
        aspect-ratio: auto;
        height: 640px;
        max-height: none;
    }

    .tse-feature__badge {
        left: 28px;
        bottom: 28px;
    }

    .tse-tiles {
        gap: 24px;
    }

    .tse-tiles--3,
    .tse-tiles--4 {
        grid-template-columns: repeat(var(--tse-tiles, 3), minmax(0, 1fr));
    }

    .tse-tiles--4 {
        --tse-tiles: 4;
    }

    .tse-tiles--3 .tse-tiles__card:first-child {
        grid-column: auto;
    }

    .tse-tiles__card {
        min-height: 360px;
    }

    .tse-feature__rows-grid .tse-rows {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 24px;
    }

    /* Products */
    .tse-pgrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 40px 24px;
    }

    /* Promo */
    .tse-promo__grid {
        grid-template-columns: 8fr 4fr;
        gap: 24px;
    }

    .tse-promo--swap .tse-promo__grid {
        grid-template-columns: 4fr 8fr;
    }

    .tse-promo--swap .tse-promo__banner {
        order: 2;
    }

    .tse-promo__banner,
    .tse-promo__tile {
        min-height: 440px;
    }

    .tse-promo__banner-body {
        padding: 40px;
    }

    /* Brands */
    .tse-brands__list {
        gap: 72px;
        padding-right: 72px;
        padding-left: 40px;
    }

    .tse-brands__list li {
        gap: 72px;
    }

    /* Benefits */
    .tse-benefits__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tse-benefits__item {
        border-bottom: 0;
    }

    /* SEO, newsletter, club */
    .tse-seo__grid,
    .tse-club__grid {
        grid-template-columns: 7fr 5fr;
        gap: 48px 72px;
    }

    .tse-newsletter__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 72px;
    }

    .tse-steps__item {
        gap: 28px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .tse-rise,
    .tse-brands--animate .tse-brands__track {
        animation: none !important;
    }

    .tse-brands--animate .tse-brands__track {
        width: auto;
    }

    .tse-brands--animate .tse-brands__list {
        flex-wrap: wrap;
        white-space: normal;
        row-gap: 16px;
        padding-left: max(20px, env(safe-area-inset-left, 0px));
    }

    .tse-brands--animate .tse-brands__list[aria-hidden="true"] {
        display: none;
    }

    .tse-card__media,
    .tse-rule,
    .tse-wipe,
    .tse-line-link,
    .tse-row-link,
    .tse-btn,
    .tse-pcard__tile,
    .tse-pcard__tile img,
    .tse-faq__q::after {
        transition: none !important;
    }

    .tse-card:hover .tse-card__media,
    .tse .tse-btn--primary:hover {
        transform: none;
    }
}

/* Section heads use <header>; neutralise template-wide header styles (background, sticky, borders) */
.tse header.tse-head,
.tse header {
  position: static;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: auto;
}
