/* Black Friday 2026 campaign surfaces. Loaded only while the campaign is active. */
:root {
  --tw-bf-gold: #f1ce86;
  --tw-bf-pale: #fff0ca;
  --tw-bf-line: rgba(238, 201, 134, 0.26);
  --tw-bf-ink: #17110a;
  --tw-bf-metal: linear-gradient(112deg, #fff0c8, #e6bb6f 66%, #f4d897);
}

.tw-site-header {
  border-bottom-color: var(--tw-bf-line);
}

.tw-header-access {
  gap: 10px;
  font-size: 14px;
  white-space: nowrap;
}

.tw-header-access,
:is(.tw-hero--black-friday, .tw-global-promo, .tw-inline-access, .tw-side-access, .tw-site-footer__brand) .tw-button--signal {
  background: var(--tw-bf-metal);
  color: var(--tw-bf-ink);
  box-shadow: 0 10px 30px rgba(226, 176, 91, 0.15);
}

.tw-header-access:is(:hover, :focus-visible),
:is(.tw-hero--black-friday, .tw-global-promo, .tw-inline-access, .tw-side-access, .tw-site-footer__brand) .tw-button--signal:is(:hover, :focus-visible) {
  background: var(--tw-bf-pale);
  color: var(--tw-bf-ink);
  box-shadow: 0 13px 36px rgba(226, 176, 91, 0.27);
}

.tw-header-access:focus-visible,
:is(.tw-hero--black-friday, .tw-global-promo, .tw-inline-access, .tw-side-access, .tw-site-footer__brand) a:focus-visible {
  outline-color: var(--tw-bf-gold);
}

/* Homepage campaign */
.tw-hero--black-friday {
  min-height: 0;
  background: radial-gradient(ellipse at 80% 25%, #352919 0%, #151311 42%, #08090b 78%);
}

.tw-hero--black-friday::before {
  background: linear-gradient(rgba(225, 189, 128, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 189, 128, 0.065) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(130deg, black, transparent 65%);
}

.tw-hero--black-friday .tw-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(30px, 4.6vw, 74px);
  min-height: 0;
  padding-block: clamp(40px, 5.5vw, 85px) 36px;
}

.tw-hero--black-friday .tw-kicker {
  padding: 8px 13px;
  border: 1px solid var(--tw-bf-line);
  border-radius: 4px;
  background: rgba(232, 192, 122, 0.075);
  color: var(--tw-bf-gold);
  font-size: clamp(11px, 1.2vw, 14px);
}

.tw-hero--black-friday .tw-kicker i,
.tw-hero--black-friday .tw-orbit-story__status i,
.tw-global-promo .tw-kicker i,
.tw-inline-access .tw-kicker i,
.tw-side-access .tw-kicker i,
.tw-site-footer__status i {
  background: var(--tw-bf-gold);
  box-shadow: 0 0 12px rgba(241, 206, 134, 0.65);
}

.tw-hero--black-friday .tw-hero__copy h1 {
  margin: 24px 0;
  color: #f7f7f7;
  font-size: clamp(44px, 6.7vw, 108px);
  letter-spacing: -0.061em;
  line-height: 0.98;
  text-wrap: initial;
}

.tw-hero--black-friday .tw-hero__copy h1 span {
  display: block;
  padding-bottom: 0.04em;
  color: var(--tw-bf-gold);
}

@supports (background-clip: text) {
  .tw-hero--black-friday .tw-hero__copy h1 span {
    background: var(--tw-bf-metal);
    background-clip: text;
    color: transparent;
  }
}

.tw-hero--black-friday .tw-hero__copy > p {
  max-width: 540px;
  color: #d4d0c9;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.55;
}

.tw-hero--black-friday .tw-hero__actions {
  margin-top: 29px;
}

.tw-hero--black-friday .tw-button {
  gap: 13px;
  padding-inline: 20px;
}

.tw-hero--black-friday .tw-button--ghost:is(:hover, :focus-visible) {
  border-color: var(--tw-bf-line);
  background: rgba(241, 206, 134, 0.08);
}

.tw-black-friday-orbit {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 17px;
  min-height: clamp(330px, 35vw, 495px);
  overflow: hidden;
  padding: clamp(20px, 2.8vw, 42px);
  border: 1px solid var(--tw-bf-line);
  border-radius: 22px;
  background: #100e0a;
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.36), 0 0 72px rgba(223, 175, 92, 0.11);
  color: #f7f5ef;
  text-decoration: none;
  transition: border-color var(--tw-transition), box-shadow var(--tw-transition);
}

.tw-black-friday-orbit:is(:hover, :focus-visible) {
  border-color: var(--tw-bf-gold);
  box-shadow: 0 22px 80px rgba(221, 178, 107, 0.2);
  color: #fff;
}

.tw-black-friday-orbit::before,
.tw-black-friday-orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tw-black-friday-orbit::before {
  z-index: -2;
  background: url("../images/tradingwelt-orbit-hero.webp") right 39% / cover no-repeat;
  filter: grayscale(1) sepia(0.88) saturate(1.65) brightness(1.24) contrast(1.09);
  transition: transform 450ms ease;
}

.tw-black-friday-orbit::after {
  z-index: -1;
  background: linear-gradient(0deg, #0d0c0a 0%, rgba(13, 12, 10, 0.2) 49%, transparent 74%),
    linear-gradient(90deg, rgba(13, 12, 10, 0.66), transparent 70%);
}

.tw-black-friday-orbit:is(:hover, :focus-visible)::before {
  transform: scale(1.035);
}

.tw-black-friday-orbit__tag {
  position: absolute;
  inset: 22px auto auto 22px;
  padding: 6px 9px;
  border: 1px solid var(--tw-bf-line);
  border-radius: 4px;
  background: rgba(13, 12, 10, 0.76);
  color: #e6d6bc;
  font: 700 11px/1.4 var(--tw-mono);
  letter-spacing: 0.12em;
}

.tw-black-friday-orbit__offer {
  display: grid;
  gap: 3px;
  max-width: 15rem;
  padding-left: 13px;
  border-left: 2px solid var(--tw-bf-gold);
  font-size: 14px;
  line-height: 1.4;
  text-shadow: 0 2px 14px #080704;
}

.tw-black-friday-orbit__offer > strong {
  color: var(--tw-bf-pale);
  font-size: clamp(43px, 6vw, 82px);
  letter-spacing: -0.055em;
  line-height: 0.96;
  white-space: nowrap;
}

.tw-black-friday-orbit__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--tw-bf-line);
  border-radius: 8px;
  background: rgba(13, 12, 10, 0.8);
  color: var(--tw-bf-pale);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

.tw-black-friday-orbit:is(:hover, :focus-visible) .tw-black-friday-orbit__link {
  border-color: var(--tw-bf-gold);
}

/* The newest post shares the hero without covering the campaign link. */
.tw-hero--black-friday .tw-orbit-story {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "status category" "title link" "excerpt link";
  gap: 5px 24px;
  width: 100%;
  margin: 0;
  padding: 18px clamp(16px, 2.3vw, 30px);
  border-color: var(--tw-bf-line);
  border-radius: 14px;
  background: linear-gradient(105deg, #191816, #111215);
  backdrop-filter: none;
}

.tw-hero--black-friday .tw-orbit-story::before,
.tw-hero--black-friday .tw-orbit-story::after,
.tw-hero--black-friday .tw-orbit-story__number {
  display: none;
}

.tw-hero--black-friday .tw-orbit-story__status {
  grid-area: status;
  color: #dbd4c9;
  font-size: 12px;
}

.tw-hero--black-friday .tw-orbit-story__category {
  grid-area: category;
  justify-self: end;
  margin: 0;
  color: var(--tw-bf-gold);
  font-size: 12px;
}

.tw-hero--black-friday .tw-orbit-story h2 {
  grid-area: title;
  margin: 0;
  font-size: clamp(19px, 2.2vw, 27px);
  overflow-wrap: anywhere;
  text-wrap: initial;
}

.tw-hero--black-friday .tw-orbit-story p {
  grid-area: excerpt;
  margin: 0;
  color: #c3bfb8;
  font-size: 15px;
}

.tw-hero--black-friday .tw-orbit-story .tw-text-link {
  grid-area: link;
  align-self: center;
  color: var(--tw-bf-pale);
  white-space: nowrap;
}

.tw-hero--black-friday .tw-orbit-story .tw-text-link span {
  color: var(--tw-bf-gold);
}

/* Existing access cards and article promotions */
.tw-station:nth-child(5),
.tw-station:nth-child(5):is(:hover, :focus-visible) {
  border-color: var(--tw-bf-line);
  background: linear-gradient(135deg, #282119, #141416);
}

.tw-station:nth-child(5)::before {
  background: var(--tw-bf-metal);
  box-shadow: none;
}

.tw-station:nth-child(5)::after {
  border-color: var(--tw-bf-line);
  box-shadow: 0 0 0 24px rgba(241, 206, 134, 0.05), 0 0 0 48px rgba(241, 206, 134, 0.025);
}

.tw-station:nth-child(5) :is(small, span:last-child, span:last-child i),
.tw-global-promo .tw-kicker,
.tw-inline-access .tw-kicker,
.tw-side-access .tw-kicker {
  color: var(--tw-bf-gold);
}

.tw-station:nth-child(5) p {
  color: #d4d0c9;
}

.tw-section--global {
  padding-block: clamp(46px, 7vw, 100px);
  background: #0a0b0d;
}

.tw-global-promo {
  min-height: 0;
  border-color: var(--tw-bf-line);
  background: linear-gradient(145deg, #2a2117, #111214 74%);
}

.tw-global-promo::before {
  background-position: right center;
  filter: grayscale(1) sepia(0.86);
}

.tw-global-promo::after {
  background: linear-gradient(90deg, transparent, #111214 73%);
}

.tw-global-promo__visual {
  min-height: 0;
  padding: clamp(24px, 4.4vw, 65px);
}

.tw-access-pass {
  padding: clamp(20px, 3.2vw, 45px);
  border-color: var(--tw-bf-line);
  background: linear-gradient(120deg, #2b2319, #161617);
  box-shadow: -12px 16px 0 rgba(238, 201, 134, 0.085), 0 24px 70px rgba(0, 0, 0, 0.44);
  transform: rotate(-2deg);
}

.tw-access-pass > span {
  padding-bottom: 16px;
  border-color: var(--tw-bf-line);
  color: var(--tw-bf-gold);
}

.tw-access-pass > strong {
  margin: 23px 0 17px;
  font-size: clamp(48px, 8vw, 106px);
  font-variant-numeric: tabular-nums;
}

.tw-access-pass > small {
  color: #e4dbcc;
  font-size: 15px;
}

.tw-global-promo__copy {
  padding: clamp(30px, 4.8vw, 66px);
}

.tw-global-promo__copy h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  overflow-wrap: anywhere;
}

.tw-global-promo__copy li::before {
  border-color: var(--tw-bf-line);
  color: var(--tw-bf-gold);
}

.tw-inline-access,
.tw-side-access {
  border-color: var(--tw-bf-line);
  background: linear-gradient(135deg, #282119, #121315);
}

.tw-inline-access strong,
.tw-side-access h2 {
  overflow-wrap: anywhere;
}

@media (min-width: 1081px) and (max-width: 1420px) {
  .tw-header-access {
    padding-inline: 10px;
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  .tw-hero--black-friday .tw-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 29px;
    padding-block: 33px 28px;
  }

  .tw-hero--black-friday .tw-hero__copy h1 {
    margin-block: 18px 16px;
    font-size: clamp(43px, 10.3vw, 79px);
  }

  .tw-hero--black-friday .tw-hero__actions {
    margin-top: 22px;
  }

  .tw-black-friday-orbit {
    min-height: clamp(275px, 60vw, 420px);
  }
}

@media (max-width: 760px) {
  .tw-site-header__inner {
    width: min(calc(100% - 24px), var(--tw-shell));
    gap: 5px;
  }

  .tw-site-header__actions {
    gap: 4px;
  }

  .tw-search-toggle,
  .tw-menu-toggle {
    width: 42px;
  }

  .tw-header-access {
    display: inline-flex;
    max-width: 88px;
    min-height: 44px;
    padding: 5px 7px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .tw-header-access i {
    display: none;
  }

  .tw-hero--black-friday .tw-button {
    min-height: 49px;
    justify-content: space-between;
  }

  .tw-hero--black-friday .tw-button--ghost {
    justify-content: center;
  }

  .tw-hero--black-friday .tw-orbit-story {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "status category" "title title" "excerpt excerpt" "link link";
    gap: 9px 10px;
  }

  .tw-global-promo::after {
    background: linear-gradient(180deg, transparent, #111214 75%);
  }
}

@media (max-width: 360px) {
  .tw-header-access {
    max-width: 74px;
    padding-inline: 5px;
  }
}
