/**
 * ONECOBULL Core Layout — header / footer (copied from fxchart-wp-reset.css)
 * Scope: .page-header, .onecobull-footer-legal*
 */

#fxchart-root .page-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: linear-gradient(180deg, rgba(2, 5, 14, 0.95), rgba(0, 0, 0, 0.95));
  border-bottom: 1px solid rgba(216, 177, 95, 0.12);
  padding: 12px var(--safe-inline, 18px);
}

#fxchart-root .page-header .site-description {
  font-size: 0.92rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  text-align: center;
}

.fx-layout-top .page-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.fx-layout-top .page-header h1 {
  color: #fdf7eb;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.4rem;
  margin: 0;
}

.fx-layout-top .page-header .site-description {
  font-size: 0.92rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

/* Phase 4.4 — Article compact sticky header (.page-header--compact only) */
.onecobull-page-shell .page-header.page-header--compact {
  --header-compact-accent: #ff3b57;
  --price-up: #6ecfff;
  --price-down: #ff6b6b;
  --price-flash-up-rgb: 110, 207, 255;
  --price-flash-down-rgb: 255, 107, 107;
  --change-up: #8fdcff;
  --change-down: #ff9999;
  --pct-up-1: #a8c8e0;
  --pct-up-2: #82d8ff;
  --pct-up-3: #5ccfff;
  --pct-up-4: #33d4ff;
  --pct-up-5: #66ffff;
  --pct-down-1: #d4aaaa;
  --pct-down-2: #ffa8a8;
  --pct-down-3: #ff7070;
  --pct-down-4: #ff4545;
  --pct-down-5: #ff5577;
  --compact-flash-glow-boost: 1.18;
  --compact-flash-alpha-boost: 1.12;
  --price-flash-duration: 8s;
  --price-card-glow-fade: 3.6s;
  --price-card-glow-fade-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --price-card-text-fade: 2.2s;
  --price-card-fade-ease: ease-out;
  --price-flash-fade-ease: ease-out;
  --box-shadow-emboss: -1px -1px 0 rgba(255, 255, 255, 0.18), 1px 1px 0 rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 0;
  z-index: var(--oc-z-header, 100);
  width: 100%;
  min-height: 72px;
  display: block;
  padding: 0;
  margin: 0;
  text-align: left;
  overflow: visible;
  background: rgba(5, 8, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(255, 59, 87, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: min-height 0.25s ease, box-shadow 0.25s ease;
}

.onecobull-page-shell .page-header.page-header--compact::after {
  display: none;
}

.onecobull-page-shell .page-header.page-header--compact.is-scrolled {
  min-height: 56px;
  box-shadow:
    inset 0 -1px 0 rgba(255, 59, 87, 0.22),
    0 6px 20px rgba(0, 0, 0, 0.28);
}

.onecobull-page-shell .page-header--compact .page-header__compact-inner {
  --compact-brand-width: clamp(340px, 34vw, 420px);
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 2vw, 16px);
  width: 100%;
  max-width: 1200px;
  min-height: inherit;
  margin: 0 auto;
  padding: 8px clamp(14px, 3vw, 24px);
  box-sizing: border-box;
}

.onecobull-page-shell .page-header.page-header--compact.is-scrolled .page-header__compact-inner {
  --compact-brand-width: clamp(124px, 13vw, 156px);
}

.onecobull-page-shell .page-header--compact .page-header__quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.onecobull-page-shell .page-header--compact .page-header__brand,
.onecobull-page-shell .page-header--compact .header-left {
  flex: 0 0 auto;
  width: var(--compact-brand-width, clamp(420px, 42vw, 560px));
  max-width: var(--compact-brand-width, clamp(420px, 42vw, 560px));
  min-width: 0;
  overflow: hidden;
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.onecobull-page-shell .page-header--compact .page-header__quotes {
  flex: 1 1 auto;
  min-width: 0;
}

.onecobull-page-shell .page-header--compact .page-header__title,
.onecobull-page-shell .page-header--compact #page-title {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 1.4em;
  margin: 0;
  font-size: clamp(0.82rem, 1.7vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fdf6ec;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  overflow: hidden;
  transition: font-size 0.25s ease, letter-spacing 0.25s ease;
}

.onecobull-page-shell .page-header.page-header--compact .page-header__brand .page-header__title,
.onecobull-page-shell .page-header.page-header--compact .page-header__brand #page-title {
  font-size: 2.15rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16),
    0 2px 0 rgba(0, 0, 0, 0.42),
    0 6px 16px rgba(0, 0, 0, 0.42);
}

.onecobull-page-shell .page-header.page-header--compact.is-scrolled .page-header__brand .page-header__title,
.onecobull-page-shell .page-header.page-header--compact.is-scrolled .page-header__brand #page-title {
  font-size: 1.42rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14),
    0 2px 0 rgba(0, 0, 0, 0.36),
    0 5px 12px rgba(0, 0, 0, 0.38);
}

.onecobull-page-shell .page-header--compact .page-header__title-full,
.onecobull-page-shell .page-header--compact .page-header__title-short {
  grid-area: 1 / 1;
  display: block;
  min-width: 0;
  transition: opacity 0.24s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease;
}

.onecobull-page-shell .page-header--compact .page-header__title-short {
  opacity: 0;
  transform: translateX(14px) scale(0.94);
  filter: blur(2px);
}

.onecobull-page-shell .page-header.page-header--compact.is-scrolled .page-header__title-full {
  opacity: 0;
  transform: translateX(-18px) scale(0.92);
  filter: blur(2px);
}

.onecobull-page-shell .page-header.page-header--compact.is-scrolled .page-header__title-short {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.onecobull-page-shell .page-header.page-header--compact.is-scrolled .page-header__title,
.onecobull-page-shell .page-header.page-header--compact.is-scrolled #page-title {
  font-size: clamp(0.74rem, 1.55vw, 0.88rem);
  letter-spacing: 0.06em;
}

.onecobull-page-shell .page-header--compact .compact-price-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--box-shadow-emboss);
  overflow: hidden;
  box-sizing: border-box;
  transition:
    box-shadow var(--price-card-glow-fade) var(--price-card-glow-fade-ease),
    background-color var(--price-card-text-fade) var(--price-card-fade-ease),
    border-color 0.35s ease;
}

.onecobull-page-shell .page-header--compact .compact-price-card__meta,
.onecobull-page-shell .page-header--compact .compact-mini-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}

.onecobull-page-shell .page-header--compact .compact-price-card__pair {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.onecobull-page-shell .page-header--compact .compact-price-card__price {
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  line-height: 1.2;
}

.onecobull-page-shell .page-header--compact .compact-price-card__change {
  font-size: 0.66rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #94a3b8;
}

.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-1 { color: var(--pct-up-1); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-2 { color: var(--pct-up-2); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-3 { color: var(--pct-up-3); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-4 { color: var(--pct-up-4); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-5 { color: var(--pct-up-5); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-1 { color: var(--pct-down-1); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-2 { color: var(--pct-down-2); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-3 { color: var(--pct-down-3); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-4 { color: var(--pct-down-4); }
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-5 { color: var(--pct-down-5); }

.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-2.change-glow,
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-3.change-glow,
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-4.change-glow,
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-plus.change-tier-5.change-glow {
  text-shadow: 0 0 10px rgba(110, 207, 255, 0.55);
}

.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-2.change-glow,
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-3.change-glow,
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-4.change-glow,
.onecobull-page-shell .page-header--compact .compact-price-card__change.change-minus.change-tier-5.change-glow {
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.55);
}

.onecobull-page-shell .page-header--compact .compact-price-card__change.change-zero {
  color: #94a3b8;
}

.onecobull-page-shell .page-header--compact .compact-price-card.up .compact-price-card__price {
  color: var(--price-up);
  text-shadow: 0 0 10px rgba(110, 207, 255, 0.38);
}

.onecobull-page-shell .page-header--compact .compact-price-card.down .compact-price-card__price {
  color: var(--price-down);
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.38);
}

.onecobull-page-shell .page-header--compact .compact-mini-spark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  pointer-events: none;
  opacity: 0.86;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.175));
  transition: filter var(--price-card-text-fade) var(--price-card-fade-ease), opacity 0.25s ease;
}

.onecobull-page-shell .page-header--compact .compact-price-card.up .compact-mini-spark {
  opacity: 0.94;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.175))
    drop-shadow(0 0 10px rgba(110, 207, 255, 0.42))
    drop-shadow(0 0 18px rgba(110, 207, 255, 0.22));
}

.onecobull-page-shell .page-header--compact .compact-price-card.down .compact-mini-spark {
  opacity: 0.94;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.175))
    drop-shadow(0 0 10px rgba(255, 107, 107, 0.4))
    drop-shadow(0 0 18px rgba(255, 107, 107, 0.2));
}

.onecobull-page-shell .page-header--compact .compact-price-card.spark-pulse .compact-mini-spark {
  animation: onecobull-compact-spark-pulse 0.65s ease-out;
}

@keyframes onecobull-compact-spark-pulse {
  0% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); opacity: 0.86; }
  35% { filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.48)); opacity: 1; }
  100% { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.175)); opacity: 0.94; }
}

.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-up,
.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-down {
  transition: background-color var(--price-card-text-fade) var(--price-card-fade-ease);
}

.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-up .compact-price-card__price {
  color: var(--flash-price-color, var(--price-up));
  text-shadow:
    0 0 12px rgba(var(--flash-rgb, var(--price-flash-up-rgb)), 0.72),
    0 0 22px rgba(var(--flash-rgb, var(--price-flash-up-rgb)), 0.38);
}

.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-down .compact-price-card__price {
  color: var(--flash-price-color, var(--price-down));
  text-shadow:
    0 0 12px rgba(var(--flash-rgb, var(--price-flash-down-rgb)), 0.72),
    0 0 22px rgba(var(--flash-rgb, var(--price-flash-down-rgb)), 0.38);
}

.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-up {
  animation: onecobull-compact-price-flash-outer-up var(--price-flash-duration) var(--price-card-glow-fade-ease) forwards;
}

.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-down {
  animation: onecobull-compact-price-flash-outer-down var(--price-flash-duration) var(--price-card-glow-fade-ease) forwards;
}

.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-up::after,
.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-down::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: rgba(var(--flash-rgb), calc(var(--flash-alpha, 0.58) * var(--compact-flash-alpha-boost)));
  animation: onecobull-compact-price-flash-overlay-fade var(--price-flash-duration) var(--price-flash-fade-ease) forwards;
}

.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-up {
  border-color: rgba(110, 207, 255, 0.42);
}

.onecobull-page-shell .page-header--compact .compact-price-card.price-flash-down {
  border-color: rgba(255, 107, 107, 0.42);
}

@keyframes onecobull-compact-price-flash-outer-up {
  0% {
    box-shadow:
      var(--box-shadow-emboss),
      0 0 22px rgba(var(--price-flash-up-rgb), calc(var(--flash-glow, 0.78) * var(--compact-flash-glow-boost))),
      0 0 40px rgba(var(--price-flash-up-rgb), calc(var(--flash-glow, 0.78) * 0.62)),
      inset 0 0 18px rgba(var(--price-flash-up-rgb), 0.14);
  }
  100% { box-shadow: var(--box-shadow-emboss); }
}

@keyframes onecobull-compact-price-flash-outer-down {
  0% {
    box-shadow:
      var(--box-shadow-emboss),
      0 0 22px rgba(var(--price-flash-down-rgb), calc(var(--flash-glow, 0.78) * var(--compact-flash-glow-boost))),
      0 0 40px rgba(var(--price-flash-down-rgb), calc(var(--flash-glow, 0.78) * 0.62)),
      inset 0 0 18px rgba(var(--price-flash-down-rgb), 0.14);
  }
  100% { box-shadow: var(--box-shadow-emboss); }
}

@keyframes onecobull-compact-price-flash-overlay-fade {
  0% { opacity: 1; }
  10% { opacity: 0.94; }
  24% { opacity: 0.82; }
  40% { opacity: 0.66; }
  55% { opacity: 0.5; }
  68% { opacity: 0.36; }
  80% { opacity: 0.24; }
  90% { opacity: 0.14; }
  96% { opacity: 0.06; }
  100% { opacity: 0; }
}

/* Compact header — pair picker dialog (only dialog layer uses fixed + z-index 1000) */
.compact-pair-picker {
  position: fixed;
  inset: 0;
  z-index: var(--oc-z-dialog, 1000);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.compact-pair-picker[hidden] {
  display: none !important;
}

.compact-pair-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.compact-pair-picker__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(88vh, 520px);
  overflow: auto;
  padding: 12px;
  border-radius: 14px;
  background: rgba(8, 12, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.compact-pair-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.compact-pair-picker__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 72px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #e8edf5;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--box-shadow-emboss);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.compact-pair-picker__item-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.compact-pair-picker__item-spark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  opacity: 0.96;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.16))
    drop-shadow(0 0 12px rgba(110, 207, 255, 0.34))
    drop-shadow(0 0 22px rgba(110, 207, 255, 0.18));
}

.compact-pair-picker__item:hover {
  border-color: rgba(110, 207, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.compact-pair-picker__item:focus-visible {
  outline: 2px solid rgba(110, 207, 255, 0.55);
  outline-offset: 2px;
}

.compact-pair-picker__item.is-slot-active {
  border-color: rgba(110, 207, 255, 0.42);
  background: rgba(56, 189, 248, 0.08);
}

.compact-pair-picker__item.is-slot-target {
  box-shadow:
    var(--box-shadow-emboss),
    0 0 0 1px rgba(110, 207, 255, 0.55);
}

.compact-pair-picker__item-pair {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f4f7fb;
}

.compact-pair-picker__item-price {
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #dce7f5;
}

.compact-pair-picker__item-change {
  font-size: 0.64rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #9fb0c4;
}

/* Article template — dashboard hero header (default .page-header without --compact) */
.onecobull-page-shell .page-header {
  position: relative;
  width: 100%;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 12px var(--safe-inline, 18px);
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(2, 5, 14, 0.95), rgba(0, 0, 0, 0.95));
  border-bottom: 1px solid rgba(216, 177, 95, 0.12);
  overflow: hidden;
  text-align: center;
}

.onecobull-page-shell .page-header::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(216, 177, 95, 0.35), transparent 60%);
  opacity: 0.45;
  filter: blur(12px);
  pointer-events: none;
}

.onecobull-page-shell .page-header h1,
.onecobull-page-shell .page-header #page-title {
  color: #fdf6ec;
  z-index: 1;
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.45rem;
  margin: 0;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.onecobull-page-shell .page-header.page-header--compact .page-header__brand .page-header__title,
.onecobull-page-shell .page-header.page-header--compact .page-header__brand #page-title {
  color: #fdf6ec;
  z-index: 1;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.onecobull-page-shell .page-header .site-description {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  text-align: center;
  z-index: 1;
}

.onecobull-page-shell .page-header .lang-toggle {
  position: absolute;
  right: 24px;
  top: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.onecobull-page-shell .page-header .lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.onecobull-footer-legal {
  width: 100%;
  padding: clamp(20px, 4vw, 30px) var(--safe-inline, 18px);
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(2, 5, 14, 0.95), rgba(0, 0, 0, 0.95));
  border-top: 1px solid rgba(216, 177, 95, 0.12);
  color: #f7f5f0;
}

.onecobull-footer-legal__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.onecobull-footer-legal__copy {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
  text-transform: uppercase;
}

body.fxchart-front-page-js .onecobull-footer-legal__nav,
.onecobull-footer-legal__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1px 1px;
  justify-content: center;
  align-items: center;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
}

body.fxchart-front-page-js .onecobull-footer-legal__nav a,
body.fxchart-front-page-js .onecobull-footer-legal__nav span,
.onecobull-footer-legal__nav a {
  color: #d8b15f;
  text-decoration: none;
  font-size: 0.95rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  padding-bottom: 2px;
  visibility: visible !important;
  opacity: 1 !important;
}

.onecobull-footer-legal__nav span {
  visibility: visible !important;
  opacity: 1 !important;
  color: rgba(216, 177, 95, 0.55);
}

.onecobull-footer-legal__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 1px;
  background: #d8b15f;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  opacity: 0;
}

.onecobull-footer-legal__nav a:hover {
  color: #fef6df;
}

.onecobull-footer-legal__nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* Phase 4.1 — shared page templates */

body.onecobull-core-layout {
  background-color: #020305;
  color: #d6e8ff;
}

body.onecobull-article-template {
  --ob-article-bg: #0b0b0b;
  --ob-article-text: #ffffff;
  --ob-article-surface: #0b0b0b;
  --ob-article-border: #3a3a3a;
  --ob-heading-card-bg: #ffffff;
  --ob-heading-card-text: #4d4d4d;
  --ob-heading-card-border: #cfcfcf;
  --ob-heading-card-shadow-ambient: rgba(0, 0, 0, 0.18);
  --ob-heading-card-shadow-contact: rgba(0, 0, 0, 0.1);
  --ob-heading-card-glow: rgba(255, 255, 255, 0.16);
  --ob-heading-card-glow-soft: rgba(255, 255, 255, 0.07);
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden;
  overflow-y: auto !important;
  background-color: var(--ob-article-bg);
  color: var(--ob-article-text);
}

body.onecobull-core-layout.onecobull-article-template {
  background-color: var(--ob-article-bg);
  color: var(--ob-article-text);
}

html:has(body.onecobull-article-template) {
  background-color: var(--ob-article-bg);
}

body.onecobull-article-template .onecobull-background {
  background-color: var(--ob-article-bg);
}

body.onecobull-article-template .onecobull-background-inner {
  background: var(--ob-article-bg);
}

body.onecobull-article-template .onecobull-page-shell,
body.onecobull-article-template main.onecobull-main {
  background-color: transparent;
  color: var(--ob-article-text);
}

/* Article template — light mode follows OS on PC only (default is dark; touch/mobile stays dark) */
@media (prefers-color-scheme: light) and (hover: hover) and (pointer: fine) {
  body.onecobull-article-template {
    --ob-article-bg: #ffffff;
    --ob-article-text: #000000;
    --ob-article-surface: #ffffff;
    --ob-article-border: #d8d8d8;
    --ob-heading-card-shadow-ambient: rgba(0, 0, 0, 0.1);
    --ob-heading-card-shadow-contact: rgba(0, 0, 0, 0.06);
    --ob-heading-card-glow: rgba(0, 0, 0, 0.04);
    --ob-heading-card-glow-soft: rgba(0, 0, 0, 0.025);
  }
}

html:has(body.onecobull-article-template),
body.onecobull-article-template {
  overflow-y: visible !important;
}

body.onecobull-media-template {
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden;
  overflow-y: auto !important;
}

.onecobull-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #020305;
}

.onecobull-background-inner {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% -8%, rgba(216, 177, 95, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 65% 18%, rgba(56, 189, 248, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.65) 100%),
    linear-gradient(180deg, #020305 0%, #040507 32%, #070b12 65%, #0b1220 100%);
}

.onecobull-page-shell {
  --oc-z-header: 100;
  --oc-z-menu: 90;
  --oc-z-dialog: 1000;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

.onecobull-page-shell__header {
  position: sticky;
  top: 0;
  z-index: var(--oc-z-header, 100);
  width: 100%;
}

.onecobull-page-shell__footer {
  position: static;
  width: 100%;
}

/* Article 7:3 — grid on page-shell when sidebar is a shell region (Phase 5.2) */
.onecobull-page-shell.onecobull-page-shell--with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  grid-template-rows: auto auto auto auto;
  align-items: start;
  column-gap: clamp(12px, 2.5vw, 32px);
  max-width: 1200px;
  margin: 0 auto;
}

.onecobull-page-shell.onecobull-page-shell--with-sidebar .onecobull-page-shell__header {
  grid-column: 1 / -1;
  grid-row: 1;
}

.onecobull-page-shell.onecobull-page-shell--with-sidebar .onecobull-page-shell__menu {
  grid-column: 1 / -1;
  grid-row: 2;
}

.onecobull-page-shell.onecobull-page-shell--with-sidebar .onecobull-main {
  grid-column: 1;
  grid-row: 3;
  max-width: none;
  margin: 0;
  padding-top: 0;
}

.onecobull-page-shell.onecobull-page-shell--with-sidebar .onecobull-page-shell__sidebar {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
  align-self: stretch;
  position: static;
  top: auto;
}

.onecobull-page-shell.onecobull-page-shell--with-sidebar .onecobull-page-shell__footer {
  grid-column: 1 / -1;
  grid-row: 4;
}

.onecobull-page-shell--dashboard .onecobull-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.onecobull-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) var(--safe-inline, 18px);
  box-sizing: border-box;
  overflow: visible;
}

.onecobull-page-shell--article .onecobull-main {
  padding-top: clamp(12px, 2vw, 20px);
}

/* Phase 4.3 — Article Design System */

.onecobull-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(12px, 2.5vw, 32px);
  width: 100%;
  margin: 40px 0 0;
  align-items: start;
  overflow: visible;
}

.onecobull-page-shell--with-sidebar .onecobull-article-layout {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}

.onecobull-article-layout__main {
  min-width: 0;
  width: 100%;
  overflow: visible;
}

/* Article template — fixed layout (responsive width/columns disabled) */
body.onecobull-article-template .onecobull-page-shell--article {
  display: block;
  max-width: none;
  margin: 0;
}

body.onecobull-article-template .onecobull-article-page-shell {
  width: 800px;
  min-width: 800px;
  max-width: 800px;
  margin-inline: auto;
  box-sizing: border-box;
}

body.onecobull-article-template .onecobull-article-page-shell .onecobull-page-shell__header,
body.onecobull-article-template .onecobull-article-page-shell .onecobull-page-shell__menu,
body.onecobull-article-template .onecobull-article-page-shell .onecobull-page-shell__footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-sizing: border-box;
}

body.onecobull-article-template main.onecobull-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

body.onecobull-article-template main.onecobull-main .onecobull-article-layout {
  width: 800px;
  display: grid;
  grid-template-columns: 600px 200px;
  gap: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  align-items: start;
}

body.onecobull-article-template .onecobull-article-layout__main {
  width: 600px;
  min-width: 600px;
  max-width: 600px;
  box-sizing: border-box;
}

body.onecobull-article-template .onecobull-article-sidebar {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  box-sizing: border-box;
}

.onecobull-article-sidebar,
.onecobull-page-shell__sidebar {
  min-width: 0;
  width: 100%;
  display: block;
  visibility: visible;
  position: static;
  overflow: visible;
}

.onecobull-article-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.onecobull-article-sidebar__inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.onecobull-page-shell--article .onecobull-article-sidebar {
  position: sticky;
  top: var(--oc-sticky-sidebar-top, 140px);
  align-self: start;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.onecobull-page-shell--article .onecobull-article-sidebar__inner {
  position: static;
  top: auto;
  width: 100%;
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.onecobull-page-shell--article .onecobull-article-sidebar__inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.onecobull-sidebar-widget {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-sizing: border-box;
}

.onecobull-sidebar-widget__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7dd3fc;
}

/* Article sidebar — futures mini charts (Dashboard-aligned) */
.onecobull-article-sidebar .futures-mini-sidebar {
  --price-up: #38bdf8;
  --price-down: #ff2b2b;
  --price-flash-up-rgb: 56, 189, 248;
  --price-flash-down-rgb: 255, 43, 43;
  --compact-flash-glow-boost: 1.18;
  --compact-flash-alpha-boost: 1.12;
  --change-up: #6ecfff;
  --change-down: #ff7777;
  --pct-up-1: #8fa8bc;
  --pct-up-2: #6ecfff;
  --pct-up-3: #38bdf8;
  --pct-up-4: #00b8ff;
  --pct-up-5: #00f0ff;
  --pct-down-1: #b89898;
  --pct-down-2: #ff8a8a;
  --pct-down-3: #ff4444;
  --pct-down-4: #ff1a1a;
  --pct-down-5: #ff0044;
  --futures-mini-card-rest-shadow: none;
  --futures-mini-flash-duration: 8s;
  --futures-mini-flash-intensity: 0.82;
  --price-card-glow-fade-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --price-card-text-fade: 2.2s;
  --price-card-fade-ease: ease-out;
  --price-flash-fade-ease: ease-out;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.onecobull-article-sidebar .futures-mini-card {
  --mini-card-accent-rgb: 255, 59, 87;
  --mini-card-accent-hex: #ff3b57;
  --mini-card-accent-border-alpha: 0.08;
  --mini-card-accent-glow-alpha: 0.10;
  --mini-card-accent-hover-alpha: 0.14;
  --mini-card-accent-bg-alpha: 0.08;
  position: relative;
  min-height: 108px;
  padding: 12px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--box-shadow-emboss);
  transition:
    box-shadow var(--price-card-glow-fade) var(--price-card-glow-fade-ease),
    border-color 0.35s ease,
    background-color var(--price-card-text-fade) var(--price-card-fade-ease);
}

.onecobull-article-sidebar .futures-mini-card.up {
  border-color: rgba(110, 207, 255, 0.28);
}

.onecobull-article-sidebar .futures-mini-card.down {
  border-color: rgba(255, 107, 107, 0.28);
}

.onecobull-article-sidebar .futures-mini-card:hover {
  box-shadow:
    var(--box-shadow-emboss),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.onecobull-article-sidebar .futures-mini-card.flash-up,
.onecobull-article-sidebar .futures-mini-card.flash-down {
  transition: background-color var(--price-card-text-fade) var(--price-card-fade-ease);
}

.onecobull-article-sidebar .futures-mini-card.flash-up .futures-mini-price {
  color: var(--flash-price-color, var(--price-up));
  text-shadow:
    0 0 12px rgba(var(--flash-rgb, var(--price-flash-up-rgb)), 0.72),
    0 0 22px rgba(var(--flash-rgb, var(--price-flash-up-rgb)), 0.38);
}

.onecobull-article-sidebar .futures-mini-card.flash-down .futures-mini-price {
  color: var(--flash-price-color, var(--price-down));
  text-shadow:
    0 0 12px rgba(var(--flash-rgb, var(--price-flash-down-rgb)), 0.72),
    0 0 22px rgba(var(--flash-rgb, var(--price-flash-down-rgb)), 0.38);
}

.onecobull-article-sidebar .futures-mini-card.flash-up {
  animation: onecobull-futures-flash-outer-up var(--futures-mini-flash-duration) var(--price-card-glow-fade-ease) forwards;
}

.onecobull-article-sidebar .futures-mini-card.flash-down {
  animation: onecobull-futures-flash-outer-down var(--futures-mini-flash-duration) var(--price-card-glow-fade-ease) forwards;
}

.onecobull-article-sidebar .futures-mini-card.flash-up::after,
.onecobull-article-sidebar .futures-mini-card.flash-down::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: rgba(var(--flash-rgb), calc(var(--flash-alpha, 0.58) * var(--compact-flash-alpha-boost)));
  animation: onecobull-price-flash-overlay-fade var(--futures-mini-flash-duration) var(--price-flash-fade-ease) forwards;
}

@keyframes onecobull-futures-flash-outer-up {
  0% {
    box-shadow:
      var(--box-shadow-emboss),
      0 0 22px rgba(var(--price-flash-up-rgb), calc(var(--flash-glow, 0.78) * var(--compact-flash-glow-boost))),
      0 0 40px rgba(var(--price-flash-up-rgb), calc(var(--flash-glow, 0.78) * 0.62)),
      inset 0 0 18px rgba(var(--price-flash-up-rgb), 0.14);
  }
  100% { box-shadow: var(--box-shadow-emboss); }
}

@keyframes onecobull-futures-flash-outer-down {
  0% {
    box-shadow:
      var(--box-shadow-emboss),
      0 0 22px rgba(var(--price-flash-down-rgb), calc(var(--flash-glow, 0.78) * var(--compact-flash-glow-boost))),
      0 0 40px rgba(var(--price-flash-down-rgb), calc(var(--flash-glow, 0.78) * 0.62)),
      inset 0 0 18px rgba(var(--price-flash-down-rgb), 0.14);
  }
  100% { box-shadow: var(--box-shadow-emboss); }
}

@keyframes onecobull-price-flash-overlay-fade {
  0% { opacity: 1; }
  10% { opacity: 0.94; }
  24% { opacity: 0.82; }
  40% { opacity: 0.66; }
  55% { opacity: 0.5; }
  68% { opacity: 0.36; }
  80% { opacity: 0.24; }
  90% { opacity: 0.14; }
  96% { opacity: 0.06; }
  100% { opacity: 0; }
}

.onecobull-article-sidebar .futures-mini-head {
  position: relative;
  z-index: 2;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.24);
}

.onecobull-article-sidebar .futures-mini-title {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
}

.onecobull-article-sidebar .futures-mini-quote {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.onecobull-article-sidebar .futures-mini-price {
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f0f0f0;
}

.onecobull-article-sidebar .futures-mini-change {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
}

.onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-1 { color: var(--pct-up-1); }
.onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-2 { color: var(--pct-up-2); }
.onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-3 { color: var(--pct-up-3); }
.onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-4 { color: var(--pct-up-4); }
.onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-5 { color: var(--pct-up-5); }
.onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-1 { color: var(--pct-down-1); }
.onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-2 { color: var(--pct-down-2); }
.onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-3 { color: var(--pct-down-3); }
.onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-4 { color: var(--pct-down-4); }
.onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-5 { color: var(--pct-down-5); }

.onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-3.change-glow,
.onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-4.change-glow,
.onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-5.change-glow {
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}

.onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-3.change-glow,
.onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-4.change-glow,
.onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-5.change-glow {
  text-shadow: 0 0 8px rgba(255, 43, 43, 0.45);
}

.onecobull-article-sidebar .futures-mini-change.change-zero {
  color: #94a3b8;
}

.onecobull-article-sidebar .futures-mini-card.up .futures-mini-price {
  color: var(--mini-card-accent-hex, var(--price-up));
  text-shadow: 0 0 10px rgba(110, 207, 255, 0.38);
}

.onecobull-article-sidebar .futures-mini-card.down .futures-mini-price {
  color: var(--mini-card-accent-hex, var(--price-down));
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.38);
}

.onecobull-article-sidebar .futures-mini-card.flat .futures-mini-price,
.onecobull-article-sidebar .futures-mini-card.flat .futures-mini-change {
  color: #94a3b8;
}

.onecobull-article-sidebar .futures-mini-card.idle {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.onecobull-article-sidebar .futures-mini-spark {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
  opacity: 0.86;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.175));
  transition: filter var(--price-card-text-fade) var(--price-card-fade-ease), opacity 0.25s ease;
}

.onecobull-article-sidebar .futures-mini-card.up .futures-mini-spark {
  opacity: 0.94;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.175))
    drop-shadow(0 0 10px rgba(110, 207, 255, 0.42))
    drop-shadow(0 0 18px rgba(110, 207, 255, 0.22));
}

.onecobull-article-sidebar .futures-mini-card.down .futures-mini-spark {
  opacity: 0.94;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.175))
    drop-shadow(0 0 10px rgba(255, 107, 107, 0.4))
    drop-shadow(0 0 18px rgba(255, 107, 107, 0.2));
}

.onecobull-article-sidebar .futures-mini-card.spark-pulse .futures-mini-spark {
  animation: onecobull-compact-spark-pulse 0.65s ease-out;
}

.onecobull-article-sidebar .futures-mini-card.idle .futures-mini-spark {
  opacity: 0.72;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.onecobull-article {
  --article-emboss: 0 1px 0 rgba(255, 255, 255, 0.42), 0 -1px 1px rgba(0, 0, 0, 0.45);
  --article-emboss-strong: 0 1px 0 rgba(255, 255, 255, 0.58), 0 2px 3px rgba(0, 0, 0, 0.42), 0 -1px 0 rgba(0, 0, 0, 0.28);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px;
  box-sizing: border-box;
  color: #d7dce2;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.onecobull-article-header {
  margin: 0 0 32px;
  padding-bottom: 0;
  border-bottom: none;
}

.onecobull-article-title {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: var(--article-emboss-strong);
}

.onecobull-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 0;
  font-size: 14px;
  color: #94a3b8;
  text-shadow: var(--article-emboss);
}

.onecobull-article-date,
.onecobull-article-updated {
  display: inline-block;
}

/* Phase 4.3 — Ad slots (placeholder; no AdSense yet) */
.onecobull-ad-slot {
  max-width: 860px;
  margin: 48px auto;
  box-sizing: border-box;
}

.onecobull-ad-slot--top {
  margin-top: 32px;
}

.onecobull-ad-slot--bottom {
  margin-bottom: 0;
}

.onecobull-ad-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
  text-align: center;
  text-shadow: none;
}

.onecobull-ad-container {
  min-height: 90px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-sizing: border-box;
}

.onecobull-article-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.01em;
  color: #d7dce2;
  text-shadow: var(--article-emboss);
}

.onecobull-article-content > :first-child {
  margin-top: 0;
}

.onecobull-article-content > :last-child {
  margin-bottom: 0;
}

.onecobull-article-content p {
  margin: 0 0 1.5em;
}

.onecobull-article-content h2 {
  margin: 64px 0 24px;
  padding-left: 16px;
  border-left: 4px solid #38bdf8;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: var(--article-emboss-strong);
}

.onecobull-article-content h3 {
  margin: 48px 0 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #7dd3fc;
  text-shadow: var(--article-emboss-strong);
}

.onecobull-article-content h4 {
  margin: 32px 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #e2e8f0;
  text-shadow: var(--article-emboss);
}

.onecobull-article blockquote,
.onecobull-article-content blockquote {
  position: relative;
  margin: 32px 0;
  padding: 24px 24px 24px 56px;
  background: rgba(56, 189, 248, 0.08);
  border: none;
  border-left: 4px solid #38bdf8;
  border-radius: 12px;
  color: #dbeafe;
  font-style: normal;
  font-size: 17px;
  line-height: 1.75;
  text-shadow: var(--article-emboss);
}

.onecobull-article blockquote::before,
.onecobull-article-content blockquote::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 40px;
  line-height: 1;
  color: rgba(56, 189, 248, 0.35);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

.onecobull-article-content a {
  color: #38bdf8;
  text-decoration: none;
  text-shadow: var(--article-emboss);
  transition: color 0.2s ease;
}

.onecobull-article-content a:hover {
  color: #7dd3fc;
}

.onecobull-article-content ul,
.onecobull-article-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.onecobull-article-content li {
  margin-bottom: 12px;
}

.onecobull-article-content li:last-child {
  margin-bottom: 0;
}

.onecobull-article-content table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
}

.onecobull-article-content thead th,
.onecobull-article-content th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-shadow: var(--article-emboss);
}

.onecobull-article-content td {
  padding: 14px 16px;
  color: #d7dce2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-shadow: var(--article-emboss);
}

.onecobull-article-content tr:last-child td {
  border-bottom: none;
}

.onecobull-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.onecobull-author-box {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-sizing: border-box;
}

.onecobull-author-box__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: var(--article-emboss-strong);
}

.onecobull-author-box__bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  text-shadow: var(--article-emboss);
}

/* Article template — light/dark text, surfaces, and conflict overrides (--ob-article-*) */
body.onecobull-article-template .onecobull-page-shell--article,
body.onecobull-article-template .onecobull-article-page-shell {
  background-color: var(--ob-article-bg);
  color: var(--ob-article-text);
}

body.onecobull-article-template .onecobull-article {
  background: var(--ob-article-surface);
  border: none;
  color: var(--ob-article-text);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.onecobull-article-template .onecobull-article-title,
body.onecobull-article-template .onecobull-article-content,
body.onecobull-article-template .onecobull-article-content.entry-content,
body.onecobull-article-template .onecobull-article-content :is(h1, h2, h3, p, li, strong, em, th, td),
body.onecobull-article-template .onecobull-article-content.entry-content :is(h1, h2, h3, p, li, strong, em, th, td),
body.onecobull-article-template .onecobull-article-content :is(blockquote, blockquote cite),
body.onecobull-article-template .onecobull-article-content.entry-content :is(blockquote, blockquote cite),
body.onecobull-article-template .onecobull-article-content :is(.toc-title, .ez-toc-title, .ez-toc-title-container, .lwptoc_header),
body.onecobull-article-template .onecobull-article-content :is(#toc, .toc, #ez-toc-container, .ez-toc-container, .lwptoc, .lwptoc_i) :is(li, span, strong),
body.onecobull-article-template .onecobull-article-sidebar,
body.onecobull-article-template .onecobull-article-sidebar .onecobull-sidebar-widget :is(p, li, span, strong),
body.onecobull-article-template .onecobull-article-sidebar .futures-mini-title {
  color: var(--ob-article-text);
}

body.onecobull-article-template .onecobull-article-title,
body.onecobull-article-template .onecobull-article-content,
body.onecobull-article-template .onecobull-article-content.entry-content,
body.onecobull-article-template .onecobull-article-content :is(h1, h2, h3, p, li, strong, em, blockquote, blockquote cite, th, td),
body.onecobull-article-template .onecobull-article-content.entry-content :is(h1, h2, h3, p, li, strong, em, blockquote, blockquote cite, th, td) {
  text-shadow: none;
}

body.onecobull-article-template .onecobull-article-sidebar .futures-mini-title {
  text-shadow: none;
}

/* Article template — sidebar mini charts: stronger flash on light/dark page bg */
body.onecobull-article-template .onecobull-article-sidebar .futures-mini-sidebar {
  --compact-flash-glow-boost: 1.42;
  --compact-flash-alpha-boost: 1.32;
}

body.onecobull-article-template .onecobull-article-sidebar .futures-mini-card.up .futures-mini-price,
body.onecobull-article-template .onecobull-article-sidebar .futures-mini-card.down .futures-mini-price {
  text-shadow: 0 0 12px rgba(var(--mini-card-accent-rgb, 107, 107, 107), 0.52);
}

body.onecobull-article-template .onecobull-article-sidebar .futures-mini-card.flash-up .futures-mini-price,
body.onecobull-article-template .onecobull-article-sidebar .futures-mini-card.flash-down .futures-mini-price {
  color: var(--flash-price-color, var(--price-up));
  text-shadow:
    0 0 14px rgba(var(--flash-rgb, var(--price-flash-up-rgb)), 0.92),
    0 0 28px rgba(var(--flash-rgb, var(--price-flash-up-rgb)), 0.58);
}

body.onecobull-article-template .onecobull-article-sidebar .futures-mini-card.flash-down .futures-mini-price {
  color: var(--flash-price-color, var(--price-down));
  text-shadow:
    0 0 14px rgba(var(--flash-rgb, var(--price-flash-down-rgb)), 0.92),
    0 0 28px rgba(var(--flash-rgb, var(--price-flash-down-rgb)), 0.58);
}

body.onecobull-article-template .onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-3.change-glow,
body.onecobull-article-template .onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-4.change-glow,
body.onecobull-article-template .onecobull-article-sidebar .futures-mini-change.change-plus.change-tier-5.change-glow {
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.58);
}

body.onecobull-article-template .onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-3.change-glow,
body.onecobull-article-template .onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-4.change-glow,
body.onecobull-article-template .onecobull-article-sidebar .futures-mini-change.change-minus.change-tier-5.change-glow {
  text-shadow: 0 0 10px rgba(255, 43, 43, 0.58);
}

/* Article template — H1 & H2: eq-info-card (white base, shared) */
body.onecobull-article-template .onecobull-article-title,
body.onecobull-article-template .onecobull-article-content h1,
body.onecobull-article-template .onecobull-article-content.entry-content h1,
body.onecobull-article-template .onecobull-article-content h1.wp-block-heading,
body.onecobull-article-template .onecobull-article-content.entry-content h1.wp-block-heading,
body.onecobull-article-template .onecobull-article-section-card > h1,
body.onecobull-article-template .onecobull-article-content h1:has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content.entry-content h1:has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content h2,
body.onecobull-article-template .onecobull-article-content.entry-content h2,
body.onecobull-article-template .onecobull-article-content h2.wp-block-heading,
body.onecobull-article-template .onecobull-article-content.entry-content h2.wp-block-heading,
body.onecobull-article-template .onecobull-article-section-card > h2,
body.onecobull-article-template .onecobull-article-content h2:has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content.entry-content h2:has(> span[id^="toc"]) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 15px 17px;
  background: var(--ob-heading-card-bg) !important;
  background-color: var(--ob-heading-card-bg) !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  border-radius: 4px;
  text-shadow: none;
  color: var(--ob-heading-card-text) !important;
  font-weight: 700;
}

/* H1 — layered drop shadow + soft white glow */
body.onecobull-article-template .onecobull-article-title,
body.onecobull-article-template .onecobull-article-content h1,
body.onecobull-article-template .onecobull-article-content.entry-content h1,
body.onecobull-article-template .onecobull-article-content h1.wp-block-heading,
body.onecobull-article-template .onecobull-article-content.entry-content h1.wp-block-heading,
body.onecobull-article-template .onecobull-article-section-card > h1,
body.onecobull-article-template .onecobull-article-content h1:has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content.entry-content h1:has(> span[id^="toc"]) {
  margin: 0 0 24px;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  border: 1px solid var(--ob-heading-card-border) !important;
  outline: none;
  box-shadow:
    0 1px 3px var(--ob-heading-card-shadow-contact),
    0 6px 18px var(--ob-heading-card-shadow-ambient),
    0 14px 36px rgba(0, 0, 0, 0.1),
    0 0 14px var(--ob-heading-card-glow),
    0 0 36px var(--ob-heading-card-glow-soft);
}

/* H2 — compact shadow + subtle glow */
body.onecobull-article-template .onecobull-article-content h2,
body.onecobull-article-template .onecobull-article-content.entry-content h2,
body.onecobull-article-template .onecobull-article-content h2.wp-block-heading,
body.onecobull-article-template .onecobull-article-content.entry-content h2.wp-block-heading,
body.onecobull-article-template .onecobull-article-section-card > h2,
body.onecobull-article-template .onecobull-article-content h2:has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content.entry-content h2:has(> span[id^="toc"]) {
  margin: 3.5rem 0 1.4rem;
  font-size: 1rem;
  line-height: 1.45;
  border: 1px solid var(--ob-heading-card-border) !important;
  outline: none;
  box-shadow:
    0 1px 2px var(--ob-heading-card-shadow-contact),
    0 4px 12px var(--ob-heading-card-shadow-ambient),
    0 0 8px var(--ob-heading-card-glow),
    0 0 20px var(--ob-heading-card-glow-soft);
}

/* Article template — H3: text-only subsection heading */
body.onecobull-article-template .onecobull-article-content h3,
body.onecobull-article-template .onecobull-article-content.entry-content h3,
body.onecobull-article-template .onecobull-article-content h3.wp-block-heading,
body.onecobull-article-template .onecobull-article-content.entry-content h3.wp-block-heading,
body.onecobull-article-template .onecobull-article-section-card > h3,
body.onecobull-article-template .onecobull-article-content h3:has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content.entry-content h3:has(> span[id^="toc"]) {
  margin: 2.5rem 0 1rem;
  padding: 0;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  border: 0 !important;
  border-left: 0 !important;
  border-left-width: 0 !important;
  border-left-color: transparent !important;
  border-radius: 0;
  padding-left: 0 !important;
  box-shadow: none !important;
  text-shadow: none;
  color: var(--ob-article-text) !important;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
}

/* Article template — suppress Cocoon/theme red gradient heading bands + left accent bars */
body.onecobull-article-template .onecobull-article-content :is(h3, h4, h5, h6),
body.onecobull-article-template .onecobull-article-content.entry-content :is(h3, h4, h5, h6),
body.onecobull-article-template .onecobull-article-section-card {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
}

body.onecobull-article-template .onecobull-article-content :is(h3, h4, h5, h6),
body.onecobull-article-template .onecobull-article-content.entry-content :is(h3, h4, h5, h6) {
  border-left: 0 !important;
  border-left-width: 0 !important;
  border-left-color: transparent !important;
  padding-left: 0 !important;
}

body.onecobull-article-template .onecobull-article-content h3,
body.onecobull-article-template .onecobull-article-content.entry-content h3,
body.onecobull-article-template .onecobull-article-content h3.wp-block-heading,
body.onecobull-article-template .onecobull-article-content.entry-content h3.wp-block-heading,
body.onecobull-article-template .onecobull-article-section-card > h3,
body.onecobull-article-template .onecobull-article-content h3:has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content.entry-content h3:has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content :is(h4, h5, h6):has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content.entry-content :is(h4, h5, h6):has(> span[id^="toc"]),
body.onecobull-article-template .onecobull-article-content span[id^="toc"],
body.onecobull-article-template .onecobull-article-content.entry-content span[id^="toc"] {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-left: 0 !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.onecobull-article-template .onecobull-article-title::before,
body.onecobull-article-template .onecobull-article-title::after,
body.onecobull-article-template .onecobull-article-content h1::before,
body.onecobull-article-template .onecobull-article-content h1::after,
body.onecobull-article-template .onecobull-article-content.entry-content h1::before,
body.onecobull-article-template .onecobull-article-content.entry-content h1::after,
body.onecobull-article-template .onecobull-article-content h1.wp-block-heading::before,
body.onecobull-article-template .onecobull-article-content h1.wp-block-heading::after,
body.onecobull-article-template .onecobull-article-section-card > h1::before,
body.onecobull-article-template .onecobull-article-section-card > h1::after,
body.onecobull-article-template .onecobull-article-content h1:has(> span[id^="toc"])::before,
body.onecobull-article-template .onecobull-article-content h1:has(> span[id^="toc"])::after,
body.onecobull-article-template .onecobull-article-content.entry-content h1:has(> span[id^="toc"])::before,
body.onecobull-article-template .onecobull-article-content.entry-content h1:has(> span[id^="toc"])::after,
body.onecobull-article-template .onecobull-article-content h2::before,
body.onecobull-article-template .onecobull-article-content h2::after,
body.onecobull-article-template .onecobull-article-content.entry-content h2::before,
body.onecobull-article-template .onecobull-article-content.entry-content h2::after,
body.onecobull-article-template .onecobull-article-content h2.wp-block-heading::before,
body.onecobull-article-template .onecobull-article-content h2.wp-block-heading::after,
body.onecobull-article-template .onecobull-article-section-card > h2::before,
body.onecobull-article-template .onecobull-article-section-card > h2::after,
body.onecobull-article-template .onecobull-article-content h2:has(> span[id^="toc"])::before,
body.onecobull-article-template .onecobull-article-content h2:has(> span[id^="toc"])::after,
body.onecobull-article-template .onecobull-article-content.entry-content h2:has(> span[id^="toc"])::before,
body.onecobull-article-template .onecobull-article-content.entry-content h2:has(> span[id^="toc"])::after,
body.onecobull-article-template .onecobull-article-content h3::before,
body.onecobull-article-template .onecobull-article-content h3::after,
body.onecobull-article-template .onecobull-article-content.entry-content h3::before,
body.onecobull-article-template .onecobull-article-content.entry-content h3::after,
body.onecobull-article-template .onecobull-article-content h3.wp-block-heading::before,
body.onecobull-article-template .onecobull-article-content h3.wp-block-heading::after,
body.onecobull-article-template .onecobull-article-section-card > h3::before,
body.onecobull-article-template .onecobull-article-section-card > h3::after,
body.onecobull-article-template .onecobull-article-content h3:has(> span[id^="toc"])::before,
body.onecobull-article-template .onecobull-article-content h3:has(> span[id^="toc"])::after,
body.onecobull-article-template .onecobull-article-content.entry-content h3:has(> span[id^="toc"])::before,
body.onecobull-article-template .onecobull-article-content.entry-content h3:has(> span[id^="toc"])::after,
body.onecobull-article-template .onecobull-article-content :is(h4, h5, h6):has(> span[id^="toc"])::before,
body.onecobull-article-template .onecobull-article-content :is(h4, h5, h6):has(> span[id^="toc"])::after,
body.onecobull-article-template .onecobull-article-content.entry-content :is(h4, h5, h6):has(> span[id^="toc"])::before,
body.onecobull-article-template .onecobull-article-content.entry-content :is(h4, h5, h6):has(> span[id^="toc"])::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-left: 0 !important;
  border-left-width: 0 !important;
  box-shadow: none !important;
}

/* Article template — Cocoon TOC box: remove card / band backgrounds */
body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc),
body.onecobull-article-template .onecobull-article-content.entry-content :is(#toc.toc, .toc),
body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc) .toc-title,
body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc) .toc-content,
body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc) .toc-list,
body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc) .toc-list li,
body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc) .toc-list li a {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc) .toc-title,
body.onecobull-article-template .onecobull-article-content.entry-content :is(#toc.toc, .toc) .toc-title {
  color: var(--ob-article-text);
  padding: 0;
  text-shadow: none;
}

body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc) .toc-title::before,
body.onecobull-article-template .onecobull-article-content :is(#toc.toc, .toc) .toc-title::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Article template — related / popular lists: hex honeycomb 4-3-4 (11 cards, 600px main) */
body.onecobull-article-template .onecobull-article-list--hex {
  --ob-hex-width: 138px;
  --ob-hex-gap: 7px;
  --ob-hex-cols: 4;
  --ob-hex-sqrt3: 1.73205;
  --ob-hex-height: calc(var(--ob-hex-width) * 2 / var(--ob-hex-sqrt3));
  --ob-hex-cell: calc((var(--ob-hex-width) + var(--ob-hex-gap)) / 2);
  --ob-hex-grid-width: calc((var(--ob-hex-width) + var(--ob-hex-gap)) * var(--ob-hex-cols));
  --ob-hex-margin-y: calc(
    (var(--ob-hex-sqrt3) / 4 * var(--ob-hex-gap)) - (0.125 * var(--ob-hex-height))
  );
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-list__header {
  margin-bottom: 20px;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex-gallery {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 800px;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex-grid {
  display: grid;
  grid-template-columns: repeat(8, var(--ob-hex-cell));
  grid-template-rows: repeat(3, auto);
  width: var(--ob-hex-grid-width);
  max-width: 100%;
  margin: 0 auto;
  padding: calc(var(--ob-hex-margin-y) * -1) 0;
  list-style: none;
  gap: 0;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex {
  width: var(--ob-hex-width);
  height: var(--ob-hex-height);
  margin: var(--ob-hex-margin-y) 0;
  padding: 0;
  border: 0;
  position: relative;
  justify-self: center;
  grid-column: span 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  transform: translateY(0);
  transition:
    filter 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 4-3-4 honeycomb — row1: 4, row2: 3 (half-step), row3: 4 */
body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(1) {
  grid-column: 1 / span 2;
  grid-row: 1;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(2) {
  grid-column: 3 / span 2;
  grid-row: 1;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(3) {
  grid-column: 5 / span 2;
  grid-row: 1;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(4) {
  grid-column: 7 / span 2;
  grid-row: 1;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(5) {
  grid-column: 2 / span 2;
  grid-row: 2;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(6) {
  grid-column: 4 / span 2;
  grid-row: 2;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(7) {
  grid-column: 6 / span 2;
  grid-row: 2;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(8) {
  grid-column: 1 / span 2;
  grid-row: 3;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(9) {
  grid-column: 3 / span 2;
  grid-row: 3;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(10) {
  grid-column: 5 / span 2;
  grid-row: 3;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:nth-child(11) {
  grid-column: 7 / span 2;
  grid-row: 3;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
  text-decoration: none;
  outline: none;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__link:focus-visible::before {
  opacity: 1;
  transform: scale(1.05);
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__link:focus-visible {
  outline: none;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:hover,
body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:focus-within {
  z-index: 10;
  transform: translateY(-6px);
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.7));
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__shape {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background-color: #1e2025;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 35%,
    rgba(0, 0, 0, 0.55) 120%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
  transition: opacity 0.5s ease;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:hover .onecobull-article-hex__shape::after,
body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:focus-within .onecobull-article-hex__shape::after {
  opacity: 0;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__img,
body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(70%) brightness(0.7) contrast(1.1);
  transform: scale(1.02);
  backface-visibility: hidden;
  transition:
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.6s ease;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__placeholder {
  background: linear-gradient(145deg, #2a2d35 0%, #12141a 100%);
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:hover .onecobull-article-hex__img,
body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:focus-within .onecobull-article-hex__img {
  transform: scale(1.15);
  filter: grayscale(0%) brightness(1.05) contrast(1.05);
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-sizing: border-box;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.28) 42%,
    rgba(0, 0, 0, 0.12) 100%
  );
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: stretch;
  padding: 12px 10px 20px;
  text-align: center;
  opacity: 1;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    background 0.4s ease;
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__title {
  align-self: center;
  justify-self: center;
  width: 100%;
  margin: 0;
  padding: 0 2px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
  opacity: 0.3;
  transform: translateY(0);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex__label {
  align-self: end;
  margin: 0;
  padding-top: 6px;
  font-family: "Montserrat", system-ui, sans-serif;
  color: #ffffff;
  font-size: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  opacity: 0.3;
  transform: translateY(0);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:hover .onecobull-article-hex__caption,
body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:focus-within .onecobull-article-hex__caption {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:hover .onecobull-article-hex__title,
body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:focus-within .onecobull-article-hex__title {
  opacity: 1;
  transform: translateY(-2px);
}

body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:hover .onecobull-article-hex__label,
body.onecobull-article-template .onecobull-article-list--hex .onecobull-article-hex:focus-within .onecobull-article-hex__label {
  opacity: 1;
}

html:has(body.onecobull-article-template),
body.onecobull-article-template {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}
