.subpage-hero-strip {
  height: 100px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.subpage-hero-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}

.subpage-withdraw {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 64px;
  position: relative;
  z-index: 1;
}

.subpage-withdraw h1 {
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 24px;
}

.subpage-withdraw h2 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 32px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.subpage-withdraw p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.subpage-withdraw-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.subpage-withdraw-rail {
  position: sticky;
  top: 80px;
  align-self: start;
}

.subpage-withdraw-rail img {
  max-width: 100%;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.subpage-withdraw-stat {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  font-size: 12px;
}

.subpage-withdraw-stat strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 4px;
}

.subpage-withdraw-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.subpage-withdraw-mosaic img {
  max-width: 100%;
  max-height: 160px;
  object-fit: cover;
  border: 1px solid var(--primary);
}

@media (max-width: 768px) {
  .subpage-withdraw-layout {
    grid-template-columns: 1fr;
  }

  .subpage-withdraw-rail {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 375px) {
  .subpage-hero-strip {
    max-width: 100%;
    overflow: hidden;
  }

  .subpage-withdraw {
    overflow-x: hidden;
    padding-left: 16px;
    padding-right: 16px;
  }

  .subpage-withdraw-rail img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}
