/* ETW Journal hero patch — restyles the "Your trades, in context." hero
   on /trading-journal to match the dark gradient design. */
.etwjh-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 550px at 12% -10%, rgba(124,31,209,.35), transparent 60%),
              radial-gradient(900px 500px at 92% 8%, rgba(181,101,240,.28), transparent 55%),
              linear-gradient(180deg, #0b0e18 0%, #0e1220 55%, #0b0e18 100%);
  padding: 88px 0 96px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.etwjh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(1200px 600px at 20% 20%, #000 0%, transparent 75%);
}
.etwjh-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .etwjh-grid { grid-template-columns: .92fr 1.35fr; gap: 28px; }
}
@media (min-width: 1280px) {
  .etwjh-grid { grid-template-columns: .85fr 1.5fr; gap: 24px; }
}
.etwjh-left {
  position: relative;
  z-index: 2;
}
.etwjh-title {
  color: #f5f6fa;
  font-size: 2.6rem;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: 0;
}
@media (min-width: 640px) { .etwjh-title { font-size: 3.4rem; } }
@media (min-width: 1100px) { .etwjh-title { font-size: 3.85rem; } }
.etwjh-grad {
  background: linear-gradient(90deg, #7C1FD1, #B565F0 55%, #e879c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.etwjh-sub {
  margin: 22px 0 0;
  max-width: 46ch;
  color: rgba(229,231,242,.72);
  font-size: 1.03rem;
  line-height: 1.65;
}
.etwjh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.etwjh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: .7rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s, background-color .2s, opacity .2s;
  border: 1px solid transparent;
}
.etwjh-btn:hover { transform: translateY(-2px); }
.etwjh-btn-primary {
  background: linear-gradient(90deg, #7C1FD1, #8B5CF6);
  color: #fff;
}
.etwjh-btn-primary:hover { opacity: .92; }
.etwjh-btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.16);
  color: #f5f6fa;
}
.etwjh-btn-ghost:hover { background: rgba(255,255,255,.09); }
.etwjh-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
.etwjh-stars { color: #f5b942; letter-spacing: 2px; font-size: 1.05rem; }
.etwjh-rating-text { color: rgba(229,231,242,.65); font-size: .92rem; }
.etwjh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.etwjh-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(229,231,242,.78);
  font-size: .82rem;
  font-weight: 500;
  background: rgba(255,255,255,.03);
}
.etwjh-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}
.etwjh-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
}
@media (min-width: 960px) {
  .etwjh-right { justify-content: flex-end; }
  .etwjh-image { width: 104%; max-width: 104%; margin-right: -3%; }
}
@media (min-width: 1280px) {
  .etwjh-image { width: 110%; max-width: 110%; margin-right: -6%; }
}
