/* Pulse News — editorial homepage (dark default + light theme) */

:root {
  color-scheme: dark;
  --pulse-bg: #07070c;
  --pulse-surface: #101018;
  --pulse-surface-2: #181824;
  --pulse-border: rgba(255, 255, 255, 0.08);
  --pulse-text: #f4f4f8;
  --pulse-muted: #9494a8;
  --pulse-accent: #ff3d57;
  --pulse-accent-2: #00e5b0;
  --pulse-violet: #8b5cf6;
  --pulse-glow: rgba(255, 61, 87, 0.35);
  --pulse-header-bg: rgba(7, 7, 12, 0.72);
  --pulse-hover-bg: rgba(255, 255, 255, 0.06);
  --pulse-hover-border: rgba(255, 255, 255, 0.15);
  --pulse-subtle-bg: rgba(255, 255, 255, 0.05);
  --pulse-glass-bg: rgba(255, 255, 255, 0.03);
  --pulse-tag-bg: rgba(255, 255, 255, 0.1);
  --pulse-tag-mint-bg: rgba(0, 229, 176, 0.15);
  --pulse-pill-border: rgba(0, 229, 176, 0.4);
  --pulse-pill-bg: rgba(0, 229, 176, 0.08);
  --pulse-pill-glow: rgba(0, 229, 176, 0.12);
  --pulse-input-bg: rgba(0, 0, 0, 0.25);
  --pulse-footer-bg: rgba(0, 0, 0, 0.25);
  --pulse-mobile-menu-bg: rgba(7, 7, 12, 0.96);
  --pulse-scrim: rgba(7, 7, 12, 0.92);
  --pulse-scrim-strong: rgba(7, 7, 12, 0.95);
  --pulse-badge-bg: rgba(7, 7, 12, 0.75);
  --pulse-avatar-border: rgba(255, 255, 255, 0.15);
  --pulse-card-hover-border: rgba(255, 255, 255, 0.16);
  --pulse-shadow-hero: 0 32px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(139, 92, 246, 0.12);
  --pulse-shadow-card: 0 24px 48px rgba(0, 0, 0, 0.35);
  --pulse-breaking-bg: linear-gradient(90deg, rgba(255, 61, 87, 0.12), rgba(139, 92, 246, 0.08));
  --pulse-breaking-border: rgba(255, 61, 87, 0.2);
  --pulse-card-accent-bg: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(255, 61, 87, 0.15));
  --pulse-card-accent-border: rgba(139, 92, 246, 0.35);
  --pulse-widget-digest-bg: linear-gradient(160deg, rgba(139, 92, 246, 0.15), var(--pulse-surface));
  --pulse-widget-live-border: rgba(255, 61, 87, 0.3);
  --pulse-widget-live-glow: rgba(255, 61, 87, 0.08);
  --pulse-focus-ring: rgba(139, 92, 246, 0.25);
  --pulse-mesh-g1: rgba(139, 92, 246, 0.22);
  --pulse-mesh-g2: rgba(255, 61, 87, 0.18);
  --pulse-mesh-g3: rgba(0, 229, 176, 0.08);
  --pulse-grain-opacity: 0.04;
  --pulse-theme-toggle-bg: rgba(255, 255, 255, 0.06);
  --pulse-font: "Manrope", system-ui, sans-serif;
  --pulse-serif: "Instrument Serif", Georgia, serif;
  --pulse-radius: 18px;
  --pulse-container: min(1280px, calc(100% - 40px));
  --pulse-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --pulse-bg: #f4f4f8;
  --pulse-surface: #ffffff;
  --pulse-surface-2: #eaeaef;
  --pulse-border: rgba(0, 0, 0, 0.09);
  --pulse-text: #12121a;
  --pulse-muted: #5e5e74;
  --pulse-accent: #e42d44;
  --pulse-accent-2: #00a67d;
  --pulse-violet: #7349d4;
  --pulse-glow: rgba(228, 45, 68, 0.22);
  --pulse-header-bg: rgba(244, 244, 248, 0.9);
  --pulse-hover-bg: rgba(0, 0, 0, 0.05);
  --pulse-hover-border: rgba(0, 0, 0, 0.12);
  --pulse-subtle-bg: rgba(0, 0, 0, 0.04);
  --pulse-glass-bg: rgba(255, 255, 255, 0.78);
  --pulse-tag-bg: rgba(0, 0, 0, 0.06);
  --pulse-tag-mint-bg: rgba(0, 166, 125, 0.12);
  --pulse-pill-border: rgba(0, 166, 125, 0.35);
  --pulse-pill-bg: rgba(0, 166, 125, 0.08);
  --pulse-pill-glow: rgba(0, 166, 125, 0.1);
  --pulse-input-bg: #ffffff;
  --pulse-footer-bg: #ececf2;
  --pulse-mobile-menu-bg: rgba(244, 244, 248, 0.98);
  --pulse-scrim: rgba(7, 7, 12, 0.85);
  --pulse-scrim-strong: rgba(7, 7, 12, 0.9);
  --pulse-badge-bg: rgba(7, 7, 12, 0.72);
  --pulse-avatar-border: rgba(255, 255, 255, 0.25);
  --pulse-card-hover-border: rgba(0, 0, 0, 0.14);
  --pulse-shadow-hero: 0 24px 64px rgba(18, 18, 26, 0.12), 0 0 40px rgba(124, 79, 224, 0.08);
  --pulse-shadow-card: 0 20px 40px rgba(18, 18, 26, 0.1);
  --pulse-breaking-bg: linear-gradient(90deg, rgba(228, 45, 68, 0.07), rgba(124, 79, 224, 0.05));
  --pulse-breaking-border: rgba(228, 45, 68, 0.12);
  --pulse-card-accent-bg: linear-gradient(135deg, rgba(124, 79, 224, 0.1), rgba(228, 45, 68, 0.06));
  --pulse-card-accent-border: rgba(124, 79, 224, 0.2);
  --pulse-widget-digest-bg: linear-gradient(160deg, rgba(124, 79, 224, 0.08), var(--pulse-surface));
  --pulse-widget-live-border: rgba(228, 45, 68, 0.25);
  --pulse-widget-live-glow: rgba(228, 45, 68, 0.06);
  --pulse-focus-ring: rgba(124, 79, 224, 0.2);
  --pulse-mesh-g1: rgba(124, 79, 224, 0.1);
  --pulse-mesh-g2: rgba(228, 45, 68, 0.07);
  --pulse-mesh-g3: rgba(0, 166, 125, 0.05);
  --pulse-grain-opacity: 0.03;
  --pulse-theme-toggle-bg: rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.pulse-page {
  margin: 0;
  font-family: var(--pulse-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--pulse-text);
  background: var(--pulse-bg);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--pulse-violet);
  outline-offset: 2px;
}

.pulse-search__field:focus-within {
  outline: none;
}

.pulse-search__input:focus-visible {
  outline: none;
}

.pulse-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  color: var(--pulse-text);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--pulse-shadow-card);
  transform: translateY(-160%);
  transition: transform 0.2s var(--pulse-ease);
}

.pulse-skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pulse-container {
  width: var(--pulse-container);
  margin-inline: auto;
}

/* Ambient background */
.pulse-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, var(--pulse-mesh-g1), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, var(--pulse-mesh-g2), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, var(--pulse-mesh-g3), transparent 55%),
    var(--pulse-bg);
  animation: pulseMeshShift 18s ease-in-out infinite alternate;
  transition: background 0.3s ease;
}

.pulse-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: var(--pulse-grain-opacity);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes pulseMeshShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(12deg); }
}

/* Live dot */
.pulse-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pulse-accent);
  box-shadow: 0 0 0 0 var(--pulse-glow);
  animation: pulseLive 1.8s ease infinite;
}

@keyframes pulseLive {
  0%, 100% { box-shadow: 0 0 0 0 var(--pulse-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* Top bar */
.pulse-topbar {
  border-bottom: 1px solid var(--pulse-border);
  font-size: 12px;
  color: var(--pulse-muted);
}

.pulse-topbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 36px;
}

.pulse-topbar__date {
  flex-shrink: 0;
  white-space: nowrap;
}

.pulse-ticker {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.pulse-ticker__label {
  flex-shrink: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pulse-accent-2);
}

.pulse-ticker__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
}

.pulse-ticker__content {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
}

.pulse-ticker:hover .pulse-ticker__content {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pulse-topbar__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.pulse-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  transition: color 0.2s;
}

.pulse-topbar__link--icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pulse-topbar__link:hover {
  color: var(--pulse-text);
}

/* Header */
.pulse-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  background: var(--pulse-header-bg);
  border-bottom: 1px solid var(--pulse-border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.pulse-header.is-scrolled-away {
  transform: translateY(-100%);
}

.pulse-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.pulse-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.pulse-logo__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pulse-logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 24px var(--pulse-glow);
}

.pulse-logo__tagline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--pulse-muted);
  line-height: 1.2;
  white-space: nowrap;
}

.pulse-logo--footer .pulse-logo__tagline {
  display: none;
}

.pulse-nav {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.pulse-nav::-webkit-scrollbar {
  display: none;
}

.pulse-nav__list {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: min-content;
}

.pulse-nav__list > li {
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.pulse-nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pulse-muted);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.pulse-nav__link:hover,
.pulse-nav__link.is-active,
.pulse-nav .current-menu-item > .pulse-nav__link,
.pulse-nav .current_page_item > .pulse-nav__link {
  color: var(--pulse-text);
  background: var(--pulse-hover-bg);
}

.pulse-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pulse-theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-theme-toggle-bg);
  transition: border-color 0.2s, background 0.2s;
}

.pulse-theme-toggle:hover {
  background: var(--pulse-hover-bg);
  border-color: var(--pulse-hover-border);
}

.pulse-theme-toggle svg {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: opacity 0.25s, transform 0.35s var(--pulse-ease);
}

.pulse-theme-toggle__sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.pulse-theme-toggle__moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .pulse-theme-toggle__sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .pulse-theme-toggle__moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.pulse-icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  transition: border-color 0.2s, background 0.2s;
}

.pulse-icon-btn svg {
  width: 18px;
  height: 18px;
}

.pulse-icon-btn:hover {
  background: var(--pulse-subtle-bg);
  border-color: var(--pulse-hover-border);
}

.pulse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s var(--pulse-ease), box-shadow 0.2s;
}

.pulse-btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

.pulse-btn--accent {
  background: linear-gradient(135deg, var(--pulse-accent), #ff6b4a);
  color: #fff;
  box-shadow: 0 10px 30px var(--pulse-glow);
}

.pulse-btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--pulse-glow);
}

.pulse-btn--block {
  width: 100%;
}

.pulse-burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
}

.pulse-burger span {
  display: block;
  height: 2px;
  background: var(--pulse-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.pulse-burger.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.pulse-burger.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Breaking */
.pulse-breaking {
  background: var(--pulse-breaking-bg);
  border-bottom: 1px solid var(--pulse-breaking-border);
}

.pulse-breaking__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 14px;
}

.pulse-breaking__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--pulse-accent);
}

.pulse-breaking__text {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.pulse-breaking__text:hover {
  color: var(--pulse-accent);
}

.pulse-breaking__time {
  flex-shrink: 0;
  color: var(--pulse-muted);
  font-size: 12px;
}

/* Search panel */
.pulse-search {
  position: relative;
  z-index: 90;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  border-bottom: 1px solid transparent;
  background: var(--pulse-header-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  transition:
    max-height 0.4s var(--pulse-ease),
    opacity 0.3s ease,
    visibility 0.4s,
    border-color 0.3s ease;
}

.pulse-search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pulse-search-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pulse-search.is-open {
  max-height: min(320px, 55vh);
  opacity: 1;
  visibility: visible;
  border-bottom-color: var(--pulse-border);
  overflow-y: auto;
}

.pulse-search__form {
  padding: 18px 0 20px;
}

.pulse-search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 18px;
  border-radius: calc(var(--pulse-radius) + 2px);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  box-shadow: var(--pulse-shadow-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pulse-search.is-open .pulse-search__field:focus-within {
  border-color: var(--pulse-violet);
  box-shadow: 0 0 0 3px var(--pulse-focus-ring), var(--pulse-shadow-card);
}

.pulse-search__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--pulse-muted);
}

.pulse-search__input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: none;
  background: transparent;
  color: var(--pulse-text);
  font: inherit;
  font-size: 1.05rem;
}

.pulse-search__input:focus {
  outline: none;
}

.pulse-search__input::placeholder {
  color: var(--pulse-muted);
}

.pulse-search__submit {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--pulse-accent), #ff6b4a);
  transition: transform 0.2s var(--pulse-ease), box-shadow 0.2s;
}

.pulse-search__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--pulse-glow);
}

.pulse-search__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  color: var(--pulse-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pulse-search__close svg {
  width: 18px;
  height: 18px;
}

.pulse-search__close:hover {
  background: var(--pulse-hover-bg);
  border-color: var(--pulse-hover-border);
  color: var(--pulse-text);
}

.pulse-search__hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  font-size: 13px;
}

.pulse-search__hints-label {
  color: var(--pulse-muted);
  font-weight: 600;
}

.pulse-search__hints a,
.pulse-search__hint-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--pulse-border);
  color: var(--pulse-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.pulse-search__hints a:hover,
.pulse-search__hint-btn:hover {
  color: var(--pulse-text);
  border-color: var(--pulse-hover-border);
  background: var(--pulse-hover-bg);
}

.pulse-icon-btn.is-active {
  background: var(--pulse-hover-bg);
  border-color: var(--pulse-violet);
  color: var(--pulse-violet);
}

/* Tags & meta */
.pulse-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--pulse-tag-bg);
  color: var(--pulse-text);
}

.pulse-tag--hot {
  background: var(--pulse-accent);
  color: #fff;
}

.pulse-tag--mint {
  background: var(--pulse-tag-mint-bg);
  color: var(--pulse-accent-2);
}

.pulse-meta {
  font-size: 13px;
  color: var(--pulse-muted);
}

/* Hero */
.pulse-hero {
  padding: 36px 0 48px;
}

.pulse-hero__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.pulse-hero__main-link {
  display: block;
  border-radius: calc(var(--pulse-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  transition: transform 0.45s var(--pulse-ease), box-shadow 0.45s;
}

.pulse-hero__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pulse-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--pulse-ease);
}

@media (hover: hover) {
  .pulse-hero__main-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--pulse-shadow-hero);
  }

  .pulse-hero__main-link:hover .pulse-hero__media img {
    transform: scale(1.05);
  }
}

.pulse-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--pulse-scrim) 100%);
}

.pulse-hero__media .pulse-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}

.pulse-hero__live {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--pulse-badge-bg);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.pulse-hero__body {
  padding: 24px 28px 28px;
}

.pulse-hero__title {
  margin: 12px 0 14px;
  font-family: var(--pulse-serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.pulse-hero__lead {
  margin: 0 0 20px;
  color: var(--pulse-muted);
  font-size: 1.05rem;
  max-width: 54ch;
}

.pulse-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-author__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pulse-avatar-border);
}

.pulse-author__name {
  display: block;
  font-weight: 700;
  font-size: 14px;
}

.pulse-author__role {
  display: block;
  font-size: 12px;
  color: var(--pulse-muted);
}

.pulse-hero__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.pulse-hero__side .pulse-donate {
  position: static;
  margin-top: auto;
  flex: 1 0 auto;
}

/* Cards */
.pulse-card {
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  transition: transform 0.35s var(--pulse-ease), border-color 0.35s;
}

@media (hover: hover) {
  .pulse-card:hover {
    transform: translateX(6px);
    border-color: var(--pulse-card-hover-border);
  }
}

.pulse-card--glass {
  background: var(--pulse-glass-bg);
  backdrop-filter: blur(12px);
}

.pulse-card--accent {
  background: var(--pulse-card-accent-bg);
  border-color: var(--pulse-card-accent-border);
}

.pulse-card__link {
  display: block;
  padding: 22px 24px;
}

.pulse-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pulse-accent-2);
}

.pulse-card__title {
  margin: 10px 0 12px;
  font-family: var(--pulse-serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}

.pulse-card__title--sm {
  font-size: 1.25rem;
}

.pulse-card--media {
  overflow: hidden;
}

.pulse-card__link--media {
  display: flex;
  flex-direction: column;
  padding: 0;
  height: 100%;
}

.pulse-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.pulse-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--pulse-ease);
}

@media (hover: hover) {
  .pulse-card--media:hover .pulse-card__media img {
    transform: scale(1.06);
  }

  .pulse-card--media:hover {
    transform: translateY(-6px);
  }
}

.pulse-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 20px;
}

.pulse-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pulse-card__meta-row .pulse-tag {
  flex-shrink: 1;
}

.pulse-card__date {
  margin-left: auto;
  font-size: 12px;
  line-height: 1.2;
  color: var(--pulse-muted);
  white-space: nowrap;
}

.pulse-card__body .pulse-card__title {
  margin: 10px 0 12px;
  font-family: var(--pulse-font);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.pulse-card__body .pulse-meta {
  margin-top: auto;
}

/* Section heads */
.pulse-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.pulse-section-title {
  margin: 0;
  font-family: var(--pulse-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.pulse-section-title--line {
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pulse-border);
}

.pulse-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.pulse-carousel-btn svg {
  width: 18px;
  height: 18px;
}

.pulse-carousel-btn:hover {
  background: var(--pulse-hover-bg);
}

/* Trending carousel */
.pulse-trending {
  padding: 8px 0 48px;
}

.pulse-trending__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pulse-trending__track::-webkit-scrollbar {
  display: none;
}

.pulse-trend-card {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
}

.pulse-trend-card a {
  display: block;
  border-radius: var(--pulse-radius);
  overflow: hidden;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  transition: transform 0.35s var(--pulse-ease), box-shadow 0.35s;
}

@media (hover: hover) {
  .pulse-trend-card a:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--pulse-shadow-card);
  }

  .pulse-trend-card a:hover .pulse-trend-card__img img {
    transform: scale(1.08);
  }
}

.pulse-trend-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pulse-trend-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--pulse-ease);
}

.pulse-trend-card h3 {
  margin: 0;
  padding: 16px 18px 20px;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

.pulse-trend-card__num {
  position: absolute;
  margin: -28px 0 0 16px;
  font-family: var(--pulse-serif);
  font-size: 3rem;
  font-style: italic;
  color: var(--pulse-accent);
  opacity: 0.9;
  line-height: 1;
  pointer-events: none;
}

.pulse-trend-card a {
  position: relative;
}

/* Feed + bento */
.pulse-feed {
  padding: 12px 0 56px;
}

.pulse-ad {
  position: relative;
  margin-bottom: 28px;
}

.pulse-ad__mark {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pulse-muted);
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
}

.pulse-ad__link {
  display: block;
  border-radius: var(--pulse-radius);
  overflow: hidden;
  border: 1px dashed var(--pulse-border);
  background: var(--pulse-surface);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.pulse-ad__link:hover {
  border-color: var(--pulse-hover-border);
  box-shadow: var(--pulse-shadow-card);
}

.pulse-ad__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 120px;
  aspect-ratio: 970 / 120;
  max-height: 160px;
  color: var(--pulse-muted);
  background:
    linear-gradient(135deg, var(--pulse-glass-bg), transparent 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      var(--pulse-hover-bg) 12px,
      var(--pulse-hover-bg) 13px
    );
}

.pulse-ad__placeholder--leaderboard {
  aspect-ratio: 970 / 120;
}

.pulse-ad__size {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pulse-text);
  opacity: 0.55;
}

.pulse-ad__hint {
  font-size: 13px;
}

.pulse-ad__link img {
  display: block;
  width: 100%;
  height: auto;
}

.pulse-feed__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

.pulse-feed__bento-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}

.pulse-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pulse-bento__item {
  position: relative;
  border-radius: var(--pulse-radius);
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--pulse-border);
}

.pulse-bento__item--wide {
  grid-column: span 2;
  min-height: 280px;
}

.pulse-bento__item--tall {
  grid-row: span 2;
  min-height: 100%;
}

.pulse-bento__link {
  display: block;
  height: 100%;
}

.pulse-bento__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.7s var(--pulse-ease);
}

.pulse-bento__item:hover img {
  transform: scale(1.06);
}

.pulse-bento__content {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 20px 20px;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 12, 0) 0%,
    rgba(7, 7, 12, 0.72) 38%,
    rgba(7, 7, 12, 0.94) 100%
  );
}

.pulse-bento__content h3 {
  margin: 10px 0 0;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

.pulse-bento__content .pulse-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.pulse-bento__content .pulse-tag--hot {
  background: var(--pulse-accent);
  color: #fff;
}

.pulse-bento__content .pulse-tag--mint {
  background: rgba(0, 166, 125, 0.45);
  color: #fff;
}

/* Donate widget */
.pulse-donate {
  position: sticky;
  top: 88px;
  padding: 22px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.12), var(--pulse-surface));
  box-shadow: var(--pulse-shadow-card);
}

[data-theme="light"] .pulse-donate {
  background: linear-gradient(160deg, rgba(124, 79, 224, 0.08), var(--pulse-surface));
}

.pulse-donate__title {
  margin: 0 0 10px;
  font-family: var(--pulse-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.pulse-donate__lead {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pulse-muted);
}

.pulse-donate__form {
  display: grid;
  gap: 14px;
}

.pulse-donate__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pulse-muted);
}

.pulse-donate__amount {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-input-bg);
  color: var(--pulse-text);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
}

.pulse-donate__amount:focus {
  outline: none;
  border-color: var(--pulse-violet);
  box-shadow: 0 0 0 3px var(--pulse-focus-ring);
}

.pulse-donate__types {
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  gap: 8px;
}

.pulse-donate__type {
  position: relative;
  cursor: pointer;
}

.pulse-donate__type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pulse-donate__type span {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--pulse-muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pulse-donate__type input:checked + span {
  border-color: var(--pulse-accent-2);
  background: var(--pulse-pill-bg);
  color: var(--pulse-text);
}

.pulse-donate__type input:focus-visible + span {
  outline: 2px solid var(--pulse-violet);
  outline-offset: 2px;
}

.pulse-donate--modal {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pulse-donate--modal .pulse-donate__title {
  padding-right: 36px;
}

.pulse-modal__panel--donate {
  width: min(100%, 460px);
}

.pulse-widget--donate-cta {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pulse-widget--donate-cta .pulse-btn {
  width: 100%;
}

/* Sidebar */
.pulse-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.pulse-widget {
  padding: 22px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
}

.pulse-widget--live {
  border-color: var(--pulse-widget-live-border);
  box-shadow: 0 0 40px var(--pulse-widget-live-glow);
}

.pulse-widget--digest {
  background: var(--pulse-widget-digest-bg);
}

.pulse-widget__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pulse-widget__title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
}

.pulse-widget__head .pulse-widget__title {
  margin: 0;
}

.pulse-widget__video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.pulse-widget__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pulse-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 61, 87, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px var(--pulse-glow);
  transition: transform 0.25s;
}

.pulse-play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.pulse-play-btn:hover {
  transform: scale(1.08);
}

.pulse-widget__caption {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--pulse-muted);
}

.pulse-live-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff8a4c, #ff3d57);
}

.pulse-widget__embed {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--pulse-surface-2, rgba(255, 255, 255, 0.04));
}

.pulse-widget__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.pulse-live-countdown {
  display: grid;
  gap: 14px;
  padding: 18px 14px;
  text-align: center;
  border-radius: 12px;
  background: var(--pulse-surface-2, rgba(255, 255, 255, 0.04));
  border: 1px dashed var(--pulse-widget-live-border);
}

.pulse-live-countdown__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pulse-muted);
}

.pulse-live-countdown__timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pulse-live-countdown__unit {
  min-width: 52px;
  padding: 10px 8px;
  border-radius: 10px;
  background: var(--pulse-bg, #0b0d12);
  border: 1px solid var(--pulse-border, rgba(255, 255, 255, 0.08));
}

.pulse-live-countdown__value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.pulse-live-countdown__unit-label {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--pulse-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-live-countdown__starts {
  margin: 0;
  font-size: 13px;
  color: var(--pulse-muted);
}

.pulse-rank {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pulse-rank a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s;
}

.pulse-rank a:hover {
  color: var(--pulse-accent-2);
}

.pulse-rank__n {
  flex-shrink: 0;
  width: 24px;
  font-family: var(--pulse-serif);
  font-size: 1.25rem;
  color: var(--pulse-accent);
}

.pulse-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pulse-form input,
.pulse-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-input-bg);
  color: var(--pulse-text);
  font: inherit;
}

.pulse-form textarea {
  min-height: 0;
  resize: vertical;
}

.pulse-form input:focus,
.pulse-form textarea:focus {
  outline: none;
  border-color: var(--pulse-violet);
  box-shadow: 0 0 0 3px var(--pulse-focus-ring);
}

/* wpautop wraps each field in <p>/<br> — collapse wrappers so grid gap stays tight */
.pulse-form > p,
.pulse-form p {
  display: contents;
  margin: 0;
  padding: 0;
}

.pulse-form br {
  display: none;
}

/* Topics */
.pulse-topics {
  padding: 4px 0 28px;
}

.pulse-topics--after-hero {
  padding: 0 0 32px;
  border-bottom: 1px solid var(--pulse-border);
  margin-bottom: 8px;
}

.pulse-topics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pulse-topic {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--pulse-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--pulse-muted);
  transition: all 0.25s var(--pulse-ease);
}

.pulse-topic:hover,
.pulse-topic.is-active {
  color: var(--pulse-text);
  border-color: var(--pulse-pill-border);
  background: var(--pulse-pill-bg);
  box-shadow: 0 0 24px var(--pulse-pill-glow);
}

/* Footer */
.pulse-footer {
  border-top: 1px solid var(--pulse-border);
  padding: 40px 0 24px;
  background: var(--pulse-footer-bg);
  transition: background-color 0.3s ease;
}

.pulse-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.pulse-footer__brand p {
  margin: 14px 0 0;
  color: var(--pulse-muted);
  font-size: 14px;
  max-width: 32ch;
}

.pulse-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.pulse-footer__nav a {
  font-size: 14px;
  color: var(--pulse-muted);
  transition: color 0.2s;
}

.pulse-footer__nav a:hover {
  color: var(--pulse-text);
}

.pulse-footer__social {
  display: flex;
  gap: 10px;
}

.pulse-footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  transition: background 0.2s;
}

.pulse-footer__social a svg {
  width: 18px;
  height: 18px;
}

.pulse-header__subscribe {
  flex-shrink: 0;
}

.pulse-footer__social a:hover {
  background: var(--pulse-hover-bg);
}

.pulse-footer__copy {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--pulse-border);
  font-size: 13px;
  color: var(--pulse-muted);
}

/* Mobile menu */
.pulse-mobile-menu {
  position: fixed;
  inset: 68px 0 0;
  z-index: 99;
  background: var(--pulse-mobile-menu-bg);
  backdrop-filter: blur(20px);
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.pulse-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pulse-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pulse-mobile-menu a,
.pulse-mobile-menu__list a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--pulse-border);
}

.pulse-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pulse-mobile-menu__list li {
  margin: 0;
}

.pulse-mobile-menu__action {
  width: 100%;
  padding: 14px 0;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--pulse-border);
  color: var(--pulse-accent-2);
}

/* Scroll reveal */
.pulse-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--pulse-ease), transform 0.7s var(--pulse-ease);
  transition-delay: var(--d, 0s);
}

.pulse-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .pulse-hero__grid {
    grid-template-columns: 1fr;
  }

  .pulse-feed__layout {
    grid-template-columns: 1fr;
  }

  .pulse-feed__bento-layout {
    grid-template-columns: 1fr;
  }

  .pulse-donate {
    position: static;
  }

  .pulse-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 900px) {
  .pulse-nav {
    display: none;
  }

  .pulse-burger {
    display: flex;
  }

  .pulse-header__subscribe {
    display: none;
  }

  .pulse-header .pulse-logo__tagline {
    display: none;
  }

  .pulse-topbar__actions {
    gap: 8px;
  }

  .pulse-topbar__link--icon {
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--pulse-border);
    background: var(--pulse-glass-bg);
  }

  .pulse-topbar__link--icon svg {
    width: 15px;
    height: 15px;
  }

  .pulse-topbar__link-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pulse-bento {
    grid-template-columns: 1fr;
  }

  .pulse-bento__item--wide,
  .pulse-bento__item--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .pulse-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --pulse-container: 100%;
  }

  .pulse-container {
    padding-inline: 16px;
    box-sizing: border-box;
  }

  .pulse-topbar__date {
    display: none;
  }

  .pulse-breaking__time {
    display: none;
  }

  .pulse-hero__body {
    padding: 18px 16px 22px;
  }

  .pulse-search.is-open {
    max-height: min(360px, 60vh);
  }

  .pulse-search__field {
    padding-left: 14px;
    gap: 8px;
  }

  .pulse-search__submit {
    padding: 10px 14px;
    font-size: 13px;
  }

  .pulse-ad__placeholder {
    min-height: 80px;
    max-height: 100px;
    aspect-ratio: 320 / 100;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse-mesh,
  .pulse-ticker__content,
  .pulse-live-dot,
  .pulse-reveal,
  .pulse-search {
    animation: none;
    transition: none;
  }

  .pulse-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Article page */
.pulse-article-page {
  padding: 28px 0 64px;
}

.pulse-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--pulse-muted);
}

.pulse-breadcrumbs a:hover {
  color: var(--pulse-text);
}

.pulse-breadcrumbs__current {
  color: var(--pulse-text);
  min-width: 0;
}

.pulse-article__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}

.pulse-article__header {
  margin-bottom: 28px;
}

.pulse-article__title {
  margin: 14px 0 16px;
  font-family: var(--pulse-serif);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.pulse-article__lead {
  margin: 0 0 22px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--pulse-muted);
  max-width: 62ch;
}

.pulse-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.pulse-article__cover {
  margin: 0 0 32px;
  border-radius: calc(var(--pulse-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--pulse-border);
}

.pulse-article__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pulse-article__cover figcaption {
  padding: 12px 16px;
  background: var(--pulse-surface);
  border-top: 1px solid var(--pulse-border);
}

.pulse-article__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--pulse-text);
}

.pulse-article__body > * + * {
  margin-top: 1.15em;
}

.pulse-article__body h2 {
  margin: 1.8em 0 0.6em;
  font-family: var(--pulse-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.pulse-quote {
  margin: 1.8em 0;
  padding: 22px 24px;
  border-left: 3px solid var(--pulse-accent);
  border-radius: 0 var(--pulse-radius) var(--pulse-radius) 0;
  background: var(--pulse-glass-bg);
}

.pulse-quote p {
  margin: 0;
  font-family: var(--pulse-serif);
  font-size: 1.25rem;
  line-height: 1.45;
  font-style: italic;
}

.pulse-article__footer {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--pulse-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pulse-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pulse-article__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.pulse-related {
  padding: 48px 0 64px;
  border-top: 1px solid var(--pulse-border);
}

/* Archive / search */
.pulse-archive {
  padding: 48px 0 64px;
}

.pulse-search-page__head {
  margin-bottom: 32px;
}

.pulse-search-page__query {
  margin: 10px 0 0;
  font-size: 1rem;
  color: var(--pulse-muted);
}

.pulse-search-page__empty {
  margin: 0;
  color: var(--pulse-muted);
}

.pulse-archive__more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.pulse-search-results {
  display: grid;
  gap: 16px;
}

.pulse-search-results .pulse-card {
  max-width: 760px;
}

.pulse-search-results .pulse-card__link {
  padding: 28px 32px;
}

.pulse-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pulse-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--pulse-radius);
  overflow: hidden;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  transition: transform 0.35s var(--pulse-ease), box-shadow 0.35s, border-color 0.35s;
}

@media (hover: hover) {
  .pulse-related-card__link:hover {
    transform: translateY(-6px);
    border-color: var(--pulse-card-hover-border);
    box-shadow: var(--pulse-shadow-card);
  }

  .pulse-related-card__link:hover .pulse-related-card__img img {
    transform: scale(1.06);
  }
}

.pulse-related-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.pulse-related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--pulse-ease);
}

.pulse-related-card__img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    linear-gradient(135deg, var(--pulse-glass-bg), transparent 55%),
    var(--pulse-surface);
}

.pulse-related-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 20px;
}

.pulse-related-card__title {
  margin: 10px 0 12px;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 700;
}

.pulse-related-card__body .pulse-meta {
  margin-top: auto;
}

.pulse-ad--leaderboard {
  margin-bottom: 28px;
}

.pulse-ad--inline {
  margin: 32px 0;
}

.pulse-ad__placeholder--inline {
  min-height: 90px;
  aspect-ratio: 728 / 90;
  max-height: 120px;
}

.pulse-ad__placeholder--sidebar {
  min-height: 250px;
  aspect-ratio: 300 / 250;
  max-height: 280px;
}

.pulse-btn--ghost {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--pulse-border);
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.pulse-btn--ghost:hover {
  background: var(--pulse-hover-bg);
  border-color: var(--pulse-hover-border);
}

/* Ads / Reklama page */
.pulse-ads-page {
  padding-bottom: 64px;
}

.pulse-ads-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--pulse-border);
}

.pulse-ads-hero__title {
  margin: 14px 0 16px;
  max-width: 14ch;
  font-family: var(--pulse-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.pulse-ads-hero__lead {
  margin: 0 0 28px;
  max-width: 58ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--pulse-muted);
}

.pulse-ads-stats {
  padding: 40px 0;
}

.pulse-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pulse-stat {
  padding: 24px 22px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
}

.pulse-stat__value {
  display: block;
  font-family: var(--pulse-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--pulse-accent);
}

.pulse-stat__label {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}

.pulse-stat__note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pulse-muted);
}

.pulse-ads-disclaimer {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--pulse-muted);
}

.pulse-ads-formats {
  padding: 20px 0 48px;
}

.pulse-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pulse-banner-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  transition: border-color 0.25s, transform 0.25s var(--pulse-ease);
}

.pulse-banner-card:hover {
  border-color: var(--pulse-card-hover-border);
  transform: translateY(-2px);
}

.pulse-banner-card__preview {
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px dashed var(--pulse-border);
  background: var(--pulse-glass-bg);
  color: var(--pulse-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pulse-banner-card__preview--970x120 { aspect-ratio: 970 / 120; }
.pulse-banner-card__preview--728x90 { aspect-ratio: 728 / 90; }
.pulse-banner-card__preview--300x250 { aspect-ratio: 300 / 250; }
.pulse-banner-card__preview--160x600 { aspect-ratio: 160 / 600; min-height: 180px; }
.pulse-banner-card__preview--320x100 { aspect-ratio: 320 / 100; }
.pulse-banner-card__preview--native { aspect-ratio: 4 / 3; }

.pulse-banner-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.pulse-banner-card__size {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pulse-accent-2);
}

.pulse-banner-card__body > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pulse-muted);
}

.pulse-banner-card__meta {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
  color: var(--pulse-text);
}

.pulse-banner-card__meta li + li {
  margin-top: 4px;
}

.pulse-ads-cta {
  padding: 40px 0 0;
  border-top: 1px solid var(--pulse-border);
}

.pulse-ads-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pulse-ads-cta__inner p {
  margin: 10px 0 0;
  color: var(--pulse-muted);
  max-width: 42ch;
}

.pulse-ads-cta__inner a {
  color: var(--pulse-accent-2);
  font-weight: 600;
}

.pulse-ads-cta__inner a:hover {
  color: var(--pulse-accent);
}

.pulse-ads-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: min(100%, 420px);
}

.pulse-ads-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--pulse-border);
  background: var(--pulse-input-bg);
  color: var(--pulse-text);
  font: inherit;
}

.pulse-ads-form input:focus {
  outline: none;
  border-color: var(--pulse-violet);
  box-shadow: 0 0 0 3px var(--pulse-focus-ring);
}

@media (max-width: 1100px) {
  .pulse-article__layout {
    grid-template-columns: 1fr;
  }

  .pulse-article__sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .pulse-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pulse-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .pulse-banner-grid {
    grid-template-columns: 1fr;
  }

  .pulse-banner-card {
    grid-template-columns: 1fr;
  }

  .pulse-banner-card__preview--160x600 {
    max-height: 120px;
    aspect-ratio: 160 / 120;
  }
}

@media (max-width: 600px) {
  .pulse-stats {
    grid-template-columns: 1fr;
  }

  .pulse-related__grid {
    grid-template-columns: 1fr;
  }

  .pulse-ads-form {
    width: 100%;
  }

  .pulse-ads-form .pulse-btn {
    width: 100%;
  }
}

/* Static info pages */
.pulse-static-page {
  padding-bottom: 64px;
}

.pulse-static-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--pulse-border);
}

.pulse-static-hero__title {
  margin: 12px 0 14px;
  font-family: var(--pulse-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.pulse-static-hero__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--pulse-muted);
}

.pulse-static-content {
  padding: 40px 0;
}

.pulse-static-content__narrow {
  max-width: 720px;
}

.pulse-static-content h2 {
  margin: 2em 0 0.75em;
  font-family: var(--pulse-serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.2;
}

.pulse-static-content h2:first-child {
  margin-top: 0;
}

.pulse-static-content p,
.pulse-static-content li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--pulse-text);
}

.pulse-static-content ul,
.pulse-static-content ol {
  margin: 0.75em 0;
  padding-left: 1.25em;
}

.pulse-static-content li + li {
  margin-top: 0.4em;
}

.pulse-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.pulse-value-card {
  padding: 22px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
}

.pulse-value-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.pulse-value-card p {
  margin: 0;
  font-size: 14px;
  color: var(--pulse-muted);
  line-height: 1.55;
}

.pulse-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.pulse-team-card {
  padding: 22px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  text-align: center;
}

.pulse-team-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pulse-border);
}

.pulse-team-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.pulse-team-card__role {
  display: block;
  font-size: 13px;
  color: var(--pulse-accent-2);
  font-weight: 700;
  margin-bottom: 8px;
}

.pulse-team-card p {
  margin: 0;
  font-size: 13px;
  color: var(--pulse-muted);
  line-height: 1.5;
}

.pulse-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.pulse-contact-card {
  padding: 24px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
}

.pulse-contact-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.pulse-contact-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--pulse-muted);
}

.pulse-contact-card a {
  color: var(--pulse-accent-2);
  font-weight: 600;
}

.pulse-contact-card a:hover {
  color: var(--pulse-accent);
}

.pulse-contact-form {
  margin-top: 28px;
  padding: 18px 20px 20px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
}

.pulse-contact-form h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.pulse-contact-form > p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.pulse-contact-form .pulse-form {
  margin-top: 0;
  gap: 6px;
}

.pulse-contact-form .pulse-form input,
.pulse-contact-form .pulse-form textarea {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.pulse-contact-form .pulse-form input {
  padding: 10px 16px;
  border-radius: 999px;
}

.pulse-contact-form .pulse-form textarea {
  padding: 14px 16px;
  border-radius: 16px;
  min-height: 148px;
  line-height: 1.5;
  resize: vertical;
}

.pulse-contact-form .pulse-form .pulse-btn {
  margin-top: 2px;
  padding: 10px 18px;
}

.pulse-policy-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--pulse-border);
}

.pulse-policy-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

@media (max-width: 900px) {
  .pulse-values,
  .pulse-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Subscribe modal */
.pulse-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pulse-modal-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.pulse-modal {
  position: fixed;
  inset: 0;
  z-index: 1210;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pulse-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pulse-modal__panel {
  position: relative;
  width: min(100%, 440px);
  padding: 32px 28px 28px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.pulse-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pulse-muted);
  cursor: pointer;
}

.pulse-modal__close:hover {
  color: var(--pulse-text);
  background: var(--pulse-border);
}

.pulse-modal__close svg {
  width: 18px;
  height: 18px;
}

.pulse-modal__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--pulse-accent);
}

.pulse-modal__icon svg {
  width: 100%;
  height: 100%;
}

.pulse-modal__title {
  margin: 0 0 8px;
  font-family: var(--pulse-font-serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.pulse-modal__text {
  margin: 0 0 18px;
  color: var(--pulse-muted);
  line-height: 1.55;
}

.pulse-modal__text--success {
  text-align: center;
  font-size: 15px;
}

.pulse-modal__panel--success {
  text-align: center;
}

.pulse-modal__panel--success .pulse-btn--block {
  margin-top: 8px;
}

.pulse-modal__icon--success {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(200, 245, 66, 0.15);
  color: var(--pulse-accent-2);
}

.pulse-modal__icon--success svg {
  width: 28px;
  height: 28px;
}

.pulse-modal__panel--success .pulse-modal__title {
  text-align: center;
}

body.pulse-modal-open {
  overflow: hidden;
}

.pulse-form__status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.pulse-contact-form .pulse-form .pulse-form__status {
  margin-top: 2px;
}

.pulse-form__status.is-success {
  color: var(--pulse-accent-2);
}

.pulse-form__status.is-error {
  color: #ff6b6b;
}

/* Cookie banner */
.pulse-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, 0.94);
  border-top: 1px solid var(--pulse-border);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] .pulse-cookie {
  background: rgba(255, 255, 255, 0.96);
}

.pulse-cookie.is-visible {
  transform: translateY(0);
}

.pulse-cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pulse-cookie__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pulse-muted);
}

.pulse-cookie__text a {
  color: var(--pulse-accent-2);
  text-decoration: underline;
}

/* PWA promo banner */
.pulse-pwa-promo {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 1090;
  transform: translateY(140%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pulse-pwa-promo.is-visible {
  transform: translateY(0);
}

.pulse-cookie.is-visible ~ .pulse-pwa-promo.is-visible {
  bottom: calc(88px + env(safe-area-inset-bottom));
}

.pulse-pwa-promo__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.pulse-pwa-promo__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: var(--pulse-accent);
}

.pulse-pwa-promo__icon svg {
  width: 100%;
  height: 100%;
}

.pulse-pwa-promo__copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
  font-size: 13px;
  line-height: 1.35;
}

.pulse-pwa-promo__copy strong {
  font-size: 14px;
}

.pulse-pwa-promo__copy span {
  color: var(--pulse-muted);
}

.pulse-pwa-promo__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-pwa-promo__dismiss {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pulse-muted);
  cursor: pointer;
}

.pulse-pwa-promo__dismiss:hover {
  background: var(--pulse-border);
  color: var(--pulse-text);
}

.pulse-pwa-promo__dismiss svg {
  width: 16px;
  height: 16px;
}

/* PWA install guide page */
.pulse-pwa-guide__hero {
  margin: 28px 0;
  padding: 28px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: linear-gradient(135deg, rgba(200, 245, 66, 0.08), transparent 60%);
}

.pulse-pwa-guide__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pulse-accent);
  color: #0a0a0b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-pwa-steps {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.pulse-pwa-step {
  padding: 24px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
}

.pulse-pwa-step h2 {
  margin-top: 0;
}

.pulse-pwa-step ol {
  margin: 16px 0 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.pulse-pwa-step__note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--pulse-muted);
}

.pulse-pwa-faq {
  margin-top: 36px;
}

.pulse-pwa-benefits {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  line-height: 1.7;
  color: var(--pulse-muted);
}

.pulse-pwa-benefits li + li {
  margin-top: 6px;
}

.pulse-pwa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pulse-pwa-promo__actions .pulse-pwa-actions {
  flex: 1;
}

.pulse-pwa-page-cta {
  max-width: 520px;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--pulse-radius);
  border: 1px solid var(--pulse-border);
  background: var(--pulse-surface);
}

.pulse-pwa-page-cta__device {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pulse-accent-2);
}

.pulse-pwa-page-cta__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--pulse-muted);
  line-height: 1.45;
}

.pulse-pwa-step__intro {
  margin: 0 0 14px;
  color: var(--pulse-muted);
  line-height: 1.6;
}

.pulse-pwa-page.is-device-android .pulse-pwa-step--android {
  border-color: var(--pulse-accent);
  box-shadow: 0 0 0 1px rgba(200, 245, 66, 0.2);
}

.pulse-pwa-page.is-device-ios .pulse-pwa-step--ios {
  border-color: var(--pulse-accent);
  box-shadow: 0 0 0 1px rgba(200, 245, 66, 0.2);
}

.pulse-pwa-page.is-device-android .pulse-pwa-step--ios,
.pulse-pwa-page.is-device-ios .pulse-pwa-step--android {
  opacity: 0.72;
}

@media (max-width: 768px) {
  .pulse-article-page {
    padding: 12px 0 48px;
  }

  .pulse-breadcrumbs {
    font-size: 12px;
    gap: 6px;
    margin-bottom: 16px;
    line-height: 1.45;
  }

  .pulse-breadcrumbs__current {
    flex: 1 1 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pulse-ad--leaderboard {
    margin-bottom: 18px;
  }

  .pulse-ad--leaderboard .pulse-ad__placeholder,
  .pulse-ad__placeholder--leaderboard {
    aspect-ratio: 320 / 100;
    min-height: 72px;
    max-height: 100px;
  }

  .pulse-ad--leaderboard .pulse-ad__size {
    font-size: 0;
  }

  .pulse-ad--leaderboard .pulse-ad__size::after {
    content: '320 × 100';
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pulse-text);
    opacity: 0.55;
  }

  .pulse-ad--leaderboard .pulse-ad__hint {
    font-size: 12px;
    text-align: center;
    padding: 0 8px;
  }

  .pulse-article__header {
    margin-bottom: 20px;
  }

  .pulse-article__title {
    font-size: clamp(1.55rem, 6.8vw, 2.15rem);
    margin: 10px 0 12px;
    line-height: 1.12;
  }

  .pulse-article__lead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .pulse-article__meta {
    gap: 8px 14px;
    font-size: 13px;
  }

  .pulse-article__cover {
    margin-bottom: 20px;
    border-radius: 14px;
  }

  .pulse-article__body {
    font-size: 1rem;
    line-height: 1.72;
  }

  .pulse-article__body img,
  .pulse-article__body iframe,
  .pulse-article__body video {
    max-width: 100%;
    height: auto;
  }

  .pulse-article__body h2 {
    font-size: 1.35rem;
  }

  .pulse-quote {
    padding: 16px 18px;
    margin: 1.4em 0;
  }

  .pulse-quote p {
    font-size: 1.1rem;
  }

  .pulse-article__footer {
    margin-top: 28px;
    padding-top: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .pulse-article__footer .pulse-btn--ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .pulse-article__sidebar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pulse-ad--inline .pulse-ad__placeholder--inline {
    aspect-ratio: 320 / 100;
    min-height: 72px;
    max-height: 100px;
  }

  .pulse-cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .pulse-pwa-promo__inner {
    flex-wrap: wrap;
  }

  .pulse-pwa-promo__actions {
    width: 100%;
    justify-content: space-between;
  }
}
