/* ═══════════════════════════════════════════ */
/* LAYOUT LIBRARY — Auto-generated design combo */
/* Layout: Magazine Editorial | Palette: Clean White SEO */
/* ═══════════════════════════════════════════ */

/* --- Theme Palette Variables --- */
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-2: #eef2f7;
  --card-bg: #ffffff;
  --text: #101828;
  --muted: #667085;
  --accent: #155eef;
  --accent-2: #0ba5ec;
  --accent-text: #ffffff;
  --border: #e5e7eb;

/* --- Layout CSS --- */

.hero-editorial { min-height: 600px; }
.editorial-layout {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 36px;
}
.editorial-featured { border-radius: 30px; overflow: hidden; }
.editorial-sidebar { display: grid; gap: 18px; }


/* --- Header Style --- */

.site-header--mega {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header--mega .nav-item:hover .mega-dropdown { display: grid; }


/* --- Card Style --- */

.card--brutal {
  border: 3px solid var(--text);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--text);
  padding: 24px;
}


/* --- Primary Button --- */

.btn--square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  border: 0;
}


/* --- Secondary Button --- */

.btn--pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  border: 0;
}


/* --- Section Backgrounds --- */

.section--grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  background-color: var(--bg);
}


.section--wave {
  position: relative;
  isolation: isolate;
}
.section--wave::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 50% 100%, 0 40%);
}


/* --- Image Style --- */

.img--tilted {
  transform: rotate(-2deg);
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}


/* --- Blog Style --- */

.blog--grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }


/* --- Badge Style --- */

.badge--soft {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  font-weight: 700;
}
