/* PulsaClick — tropical-bright tabloid editorial */
:root {
  --bh-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bh-coral: #ff5c38;
  --bh-teal: #00b4a0;
  --bh-sun: #ffc940;
  --bh-magenta: #e0309a;
  --bh-deep: #0d3b47;
  --bh-ink: #1a2332;
  --bh-muted: #5a6578;
  --bh-cream: #fffaf5;
  --bh-white: #ffffff;
  --bh-border: #e8ddd4;
  --bh-radius: 10px;
  --bh-radius-pill: 999px;
  --bh-gap: 0.75rem;
  --bh-gap-lg: 1.25rem;
  --bh-container: 1120px;
  --bh-shadow: 0 4px 20px rgba(13, 59, 71, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bh-font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--bh-ink);
  background: var(--bh-cream);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bh-teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--bh-coral); }

.bh-container {
  width: min(100% - 1.5rem, var(--bh-container));
  margin-inline: auto;
}

/* ── Stacked header ── */
.bh-header {
  background: var(--bh-white);
  border-bottom: 3px solid var(--bh-coral);
  position: sticky;
  top: 0;
  z-index: 100;
}

.bh-header__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0 0;
  gap: 0.5rem;
}

.bh-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--bh-ink);
}

.bh-logo__mark {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--bh-coral), var(--bh-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bh-logo__tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bh-muted);
  font-weight: 600;
}

.bh-nav-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0.75rem 0.6rem;
  position: relative;
}

.bh-nav-toggle {
  display: none;
  position: absolute;
  right: 0.75rem;
  background: var(--bh-coral);
  color: var(--bh-white);
  border: none;
  border-radius: var(--bh-radius-pill);
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.bh-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-nav__link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: var(--bh-radius-pill);
  text-decoration: none;
  color: var(--bh-ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.15s, color 0.15s;
}

.bh-nav__link:hover,
.bh-nav__link--active {
  background: var(--bh-coral);
  color: var(--bh-white);
}

/* ── Hero full-width overlay ── */
.bh-hero {
  position: relative;
  margin-bottom: var(--bh-gap-lg);
  border-radius: 0 0 var(--bh-radius) var(--bh-radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.bh-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-hero__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(13, 59, 71, 0.92) 0%, rgba(13, 59, 71, 0.35) 70%, transparent 100%);
  color: var(--bh-white);
}

.bh-hero__overlay a { color: var(--bh-sun); text-decoration: none; }
.bh-hero__overlay a:hover { color: var(--bh-white); }

.bh-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bh-sun);
  margin: 0 0 0.4rem;
}

.bh-headline {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.bh-headline--xl { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.bh-headline--lg { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.bh-headline--md { font-size: 1.15rem; }

.bh-deck {
  font-size: 1rem;
  opacity: 0.92;
  margin: 0 0 0.6rem;
  max-width: 60ch;
}

.bh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.bh-meta--dark { color: var(--bh-muted); }

.bh-meta span::before { content: "·"; margin-right: 0.5rem; opacity: 0.5; }
.bh-meta span:first-child::before { content: none; margin: 0; }

/* ── Bento hero-grid ── */
.bh-main { padding: var(--bh-gap-lg) 0 3rem; }

.bh-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bh-deep);
  margin: 0 0 var(--bh-gap);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--bh-teal);
}

.bh-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--bh-gap);
  margin-bottom: var(--bh-gap-lg);
}

.bh-bento__item {
  position: relative;
  border-radius: var(--bh-radius);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
}

.bh-bento__item--lg { grid-column: span 7; min-height: 280px; }
.bh-bento__item--md { grid-column: span 5; }
.bh-bento__item--sm { grid-column: span 4; min-height: 180px; }
.bh-bento__item--wide { grid-column: span 8; }
.bh-bento__item--narrow { grid-column: span 4; }

.bh-bento__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-bento__body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(13, 59, 71, 0.88), transparent);
  color: var(--bh-white);
}

.bh-bento__body a { color: var(--bh-white); text-decoration: none; }
.bh-bento__body a:hover { color: var(--bh-sun); }

.bh-bento__body .bh-kicker { color: var(--bh-teal); }

/* ── Image-overlay cards ── */
.bh-card-overlay {
  position: relative;
  border-radius: var(--bh-radius);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}

.bh-card-overlay__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-card-overlay__content {
  position: relative;
  z-index: 1;
  padding: 1rem;
  width: 100%;
  background: linear-gradient(to top, rgba(26, 35, 50, 0.9), transparent);
  color: var(--bh-white);
}

.bh-card-overlay__content a { color: var(--bh-white); text-decoration: none; }
.bh-card-overlay__content a:hover { color: var(--bh-sun); }

/* ── Pill-colored tags ── */
.bh-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--bh-radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bh-tag--coral { background: var(--bh-coral); color: var(--bh-white); }
.bh-tag--teal { background: var(--bh-teal); color: var(--bh-white); }
.bh-tag--sun { background: var(--bh-sun); color: var(--bh-deep); }
.bh-tag--magenta { background: var(--bh-magenta); color: var(--bh-white); }

/* ── Horizontal article rows ── */
.bh-row-list { display: flex; flex-direction: column; gap: var(--bh-gap); }

.bh-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--bh-gap);
  padding: var(--bh-gap);
  background: var(--bh-white);
  border-radius: var(--bh-radius);
  border: 1px solid var(--bh-border);
  align-items: center;
  transition: box-shadow 0.15s;
}

.bh-row:hover { box-shadow: var(--bh-shadow); }

.bh-row__thumb {
  border-radius: calc(var(--bh-radius) - 2px);
  overflow: hidden;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.bh-row__title {
  margin: 0.25rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.bh-row__title a { color: var(--bh-ink); text-decoration: none; }
.bh-row__title a:hover { color: var(--bh-coral); }

.bh-row__excerpt {
  margin: 0;
  font-size: 0.88rem;
  color: var(--bh-muted);
}

/* ── Prose ── */
.bh-prose { max-width: 68ch; }
.bh-prose p { margin: 0 0 1rem; }
.bh-prose h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 1.5rem 0 0.75rem;
  color: var(--bh-deep);
}
.bh-prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.bh-prose li { margin-bottom: 0.35rem; }

/* ── Article image-heavy ── */
.bh-article-hero {
  margin-bottom: var(--bh-gap-lg);
}

.bh-article-hero__img {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  max-height: 480px;
  object-fit: cover;
}

.bh-article-body { max-width: 720px; margin: 0 auto; }
.bh-article-body .bh-meta--dark { margin-bottom: 1.25rem; }

.bh-figure {
  margin: 1.5rem calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.bh-figure img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.bh-figure figcaption {
  font-size: 0.8rem;
  color: var(--bh-muted);
  padding: 0.5rem 1.5rem;
  text-align: center;
}

.bh-author-box {
  display: flex;
  gap: var(--bh-gap);
  align-items: flex-start;
  padding: var(--bh-gap-lg);
  background: var(--bh-white);
  border-radius: var(--bh-radius);
  border-left: 4px solid var(--bh-teal);
  margin: 2rem 0;
}

.bh-author-box__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bh-author-box__name {
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.bh-author-box__bio {
  font-size: 0.88rem;
  color: var(--bh-muted);
  margin: 0;
}

.bh-related {
  margin-top: 2.5rem;
  padding-top: var(--bh-gap-lg);
  border-top: 2px solid var(--bh-border);
}

.bh-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--bh-gap);
}

.bh-breadcrumb {
  font-size: 0.8rem;
  color: var(--bh-muted);
  margin-bottom: var(--bh-gap);
}

.bh-breadcrumb a { color: var(--bh-teal); text-decoration: none; }

.bh-updated {
  font-size: 0.78rem;
  color: var(--bh-muted);
  font-style: italic;
  margin-top: 0.25rem;
}

/* ── Buttons filled-accent ── */
.bh-btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--bh-coral);
  color: var(--bh-white);
  border: none;
  border-radius: var(--bh-radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
}

.bh-btn:hover {
  background: var(--bh-magenta);
  color: var(--bh-white);
  transform: translateY(-1px);
}

.bh-btn--teal { background: var(--bh-teal); }
.bh-btn--teal:hover { background: var(--bh-deep); }

/* ── Contact form ── */
.bh-form { max-width: 520px; }
.bh-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.bh-form input,
.bh-form textarea,
.bh-form select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: var(--bh-gap);
  background: var(--bh-white);
}

.bh-form textarea { min-height: 120px; resize: vertical; }

/* ── Stacked-links footer ── */
.bh-footer {
  background: var(--bh-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}

.bh-footer a { color: var(--bh-sun); text-decoration: none; }
.bh-footer a:hover { color: var(--bh-white); }

.bh-footer__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.bh-footer__brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bh-white);
}

.bh-footer__tagline {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.bh-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-footer__links a {
  font-size: 0.88rem;
  font-weight: 600;
}

.bh-footer__bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.65;
}

/* ── Cookie bottom-bar ── */
.bh-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bh-deep);
  color: var(--bh-white);
  padding: 0.85rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.bh-cookie--visible { transform: translateY(0); }

.bh-cookie__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-gap);
  max-width: var(--bh-container);
  margin: 0 auto;
}

.bh-cookie__text {
  margin: 0;
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.bh-cookie__text a { color: var(--bh-sun); }

.bh-cookie__btn {
  background: var(--bh-coral);
  color: var(--bh-white);
  border: none;
  border-radius: var(--bh-radius-pill);
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.bh-cookie__btn:hover { background: var(--bh-magenta); }

/* ── Page header ── */
.bh-page-header {
  text-align: center;
  margin-bottom: var(--bh-gap-lg);
  padding-bottom: var(--bh-gap);
  border-bottom: 2px solid var(--bh-teal);
}

.bh-page-header .bh-headline { color: var(--bh-deep); }

/* ── Editorial picks strip ── */
.bh-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--bh-gap-lg);
}

.bh-picks__label {
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bh-muted);
  width: 100%;
  margin-bottom: 0.25rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .bh-bento__item--lg,
  .bh-bento__item--md,
  .bh-bento__item--sm,
  .bh-bento__item--wide,
  .bh-bento__item--narrow { grid-column: span 12; }

  .bh-row { grid-template-columns: 100px 1fr; }
}

@media (max-width: 640px) {
  .bh-nav-toggle { display: block; }

  .bh-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bh-white);
    border-top: 1px solid var(--bh-border);
    padding: 0.75rem;
    box-shadow: var(--bh-shadow);
  }

  .bh-nav--open { display: block; }

  .bh-nav__list { flex-direction: column; align-items: stretch; }

  .bh-nav__link { text-align: center; }

  .bh-hero { min-height: 340px; }

  .bh-row { grid-template-columns: 1fr; }

  .bh-row__thumb { max-height: 160px; }
}
