/* Blog post — 01 Hero (Corewave blog internal Page.html) */

@keyframes cw-blog-post-hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-blog-post-hero {
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 40px) clamp(48px, 6vw, 80px);
  box-sizing: border-box;
  background: #141210;
}

.cw-blog-post-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  animation: cw-blog-post-hero-in 0.45s both;
}

.cw-blog-post-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.cw-blog-post-hero__crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #8e877c;
}

.cw-blog-post-hero__crumbs a {
  color: inherit;
  text-decoration: none;
}

.cw-blog-post-hero__crumbs a:hover {
  color: #d4f53c;
}

.cw-blog-post-hero__crumbs-current {
  color: #f3efe7;
}

.cw-blog-post-hero__pill {
  align-self: flex-start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--cw-blog-post-type-color, #ff5527);
  color: var(--cw-blog-post-type-color, #ff5527);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.cw-blog-post-hero__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cw-blog-post-type-color, #ff5527);
}

.cw-blog-post-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 76px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-wrap: balance;
}

.cw-blog-post-hero__title-accent {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #cfc4f6;
}

.cw-blog-post-hero__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.cw-blog-post-hero__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #cfc4f6;
  color: #141210;
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.cw-blog-post-hero__byline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cw-blog-post-hero__author-name {
  font-weight: 600;
  font-size: 15px;
}

.cw-blog-post-hero__author-meta {
  font-size: 13px;
  color: #a39c90;
}

.cw-blog-post-hero__meta-spacer {
  flex: 1 1 12px;
}

.cw-blog-post-hero__action {
  border: 1px solid rgba(243, 239, 231, 0.25);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cw-blog-post-hero__action:hover,
.cw-blog-post-hero__action:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
  outline: none;
}

.cw-blog-post-hero__action.is-saved {
  background: #d4f53c;
  color: #141210;
  border-color: #d4f53c;
}

.cw-blog-post-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cw-blog-post-hero__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

.cw-blog-post-hero__cover--placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(145deg, #ff5527 0%, #141210 55%, #cfc4f6 120%);
  min-height: 220px;
}

.cw-blog-post-hero__cover-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(243, 239, 231, 0.85);
}

.cw-blog-post-hero__cover-big {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.cw-blog-post-hero__cover-sub {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(243, 239, 231, 0.72);
}

.cw-blog-post-hero__map-panel {
  border: 1px solid rgba(243, 239, 231, 0.12);
  border-radius: 28px;
  padding: clamp(20px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #1c1916;
}

.cw-blog-post-hero__map-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
}

.cw-blog-post-hero__map-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cw-blog-post-type-color, #ff5527);
}

.cw-blog-post-hero__map-meta {
  font-size: 12.5px;
  color: #8e877c;
}

.cw-blog-post-hero__map-list {
  display: flex;
  flex-direction: column;
}

.cw-blog-post-hero__map-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 90px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(243, 239, 231, 0.08);
  color: #f3efe7;
  text-decoration: none;
  transition: color 0.2s;
}

.cw-blog-post-hero__map-row:first-child {
  border-top: 0;
}

.cw-blog-post-hero__map-row:hover,
.cw-blog-post-hero__map-row:focus-visible {
  color: #d4f53c;
  outline: none;
}

.cw-blog-post-hero__map-row.is-active .cw-blog-post-hero__map-bar-fill {
  background: #d4f53c !important;
}

.cw-blog-post-hero__map-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #8e877c;
}

.cw-blog-post-hero__map-label {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
}

.cw-blog-post-hero__map-time {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.cw-blog-post-hero__map-min {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #a39c90;
}

.cw-blog-post-hero__map-bar {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(243, 239, 231, 0.1);
  overflow: hidden;
}

.cw-blog-post-hero__map-bar-fill {
  display: block;
  height: 100%;
  transition: background 0.25s;
}
