/* RES — soft lavender family magazine */
:root,
.dark {
  --background: #f5f1ff;
  --foreground: #2d2340;
  --card: #ffffff;
  --card-hover: #fbf9ff;
  --muted: #675d78;
  --border: #ded5ef;
  --primary: #7652c7;
  --primary-light: #9a7be0;
  --primary-dark: #5635a2;
  --primary-50: #f0eaff;
  --primary-100: #e5dafb;
  --accent: #e56f78;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
}
body { background: var(--background); color: var(--foreground); }
.container { max-width: 1220px; }
.site-header,
.department-rail,
.hero {
  width: 100%;
  max-width: 100%;
}
.header-inner,
.department-rail-inner,
.hero-content {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}
.hero-content { max-width: 1220px; }
.hero-grid,
.hero-left,
.hero-right,
.hero-card,
.hero-card-media {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1024px) and (max-width: 1120px) {
  .header-inner { display: block !important; }
  .masthead-row { width: 100%; justify-content: space-between !important; }
  .desktop-nav { display: none !important; }
  .menu-button { display: inline-flex !important; }
}
.site-header,
.dark .site-header { color: #2d2340; background: rgba(255,255,255,.88); border: 0; box-shadow: 0 8px 30px rgba(73,47,116,.08); }
.header-inner { max-width: 1220px; }
.masthead-row { height: 86px; }
.brand-logo,
.footer-brand .brand-logo { width: 218px; height: 68px; }
.desktop-nav { min-height: 86px; }
.desktop-nav a { height: auto; padding: 10px 12px; border-radius: 999px; font-size: 12px; }
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { color: #fff; background: var(--primary); box-shadow: none; }
.department-rail { color: #4d3a6b; background: #eadffd; border: 0; }
.department-label { color: #9c4051; }
.department-links a { color: #4d3a6b; }

.hero { padding: 50px 20px 70px; color: #2d2340; background: radial-gradient(circle at 10% 20%, #ffe1df 0 18%, transparent 19%), linear-gradient(135deg,#f5f1ff,#eee4ff); }
.hero-content { max-width: 1220px; padding: 0; }
.hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; min-height: 570px; }
.hero-left { grid-column: 2; order: 2; }
.hero-right { grid-column: 1; order: 1; padding: 28px 0; align-self: center; }
.hero-card { position: relative; min-height: 570px; border-radius: 46% 46% 28px 28px; box-shadow: 0 30px 80px rgba(86,53,162,.2); }
.hero-card-media { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; }
.hero-eyebrow span { color: #b84055; }
.hero-editorial-title { color: #2d2340; font-size: clamp(48px, 5.5vw, 76px); line-height: 1.02; }
.hero-excerpt { color: #5b506c; font-size: 17px; }
.hero-meta { color: #746782; }
.hero-cta { color: #fff; background: var(--primary); border-radius: 999px; box-shadow: 0 12px 28px rgba(86,53,162,.22); }
.hero-cta:hover { background: var(--accent); }

.section-pad { padding-top: 88px; padding-bottom: 88px; }
.section-alt,
.dark .section-alt { background: #eee6fa; }
.section-heading { text-align: center; }
.section-heading .eyebrow { color: #b84055; }
.section-heading h2 { font-size: clamp(38px, 4vw, 56px); }
.editors-grid { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 32px; }
.editors-main-card,
.article-card-inner,
.simple-card { border: 1px solid #e1d9ee; border-radius: 28px; background: #fff; box-shadow: 0 16px 42px rgba(73,47,116,.08); }
.editors-main-media { border-radius: 28px 28px 0 0; }
.editors-main-body { background: #fff; }
.editors-side { gap: 16px; }
.mini-card { padding: 14px; border: 1px solid #e1d9ee; border-radius: 22px; background: rgba(255,255,255,.72); }
.mini-thumb { border-radius: 16px; }
.card-image-wrap,
.simple-card-media { border-radius: 28px 28px 0 0; }
.article-card:hover .article-card-inner,
.simple-card:hover { border-color: #b9a5df; box-shadow: 0 24px 52px rgba(86,53,162,.16); }

.category-banner { color: #2d2340; background: #eee4ff; border: 0; }
.category-editorial-copy h1 { color: #2d2340; }
.category-editorial-copy > p:last-child,
.category-banner .breadcrumbs { color: #5f5371; }
.category-edition { border-color: var(--accent); }
.featured-card { border: 0; border-radius: 32px; background: #fff; box-shadow: 0 22px 60px rgba(73,47,116,.12); }
.featured-media { border-radius: 32px 0 0 32px; }

.article-hero { color: #2d2340; background: #eee4ff; border: 0; }
.article-hero-shell { max-width: 1220px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; }
.article-hero-content h1 { color: #2d2340; font-size: clamp(44px, 5.4vw, 72px); }
.article-lead { color: #5d526c; }
.article-meta,
.article-hero .breadcrumbs { color: #71647f; }
.article-hero-media { border-radius: 48px 48px 12px 12px; box-shadow: 0 28px 65px rgba(86,53,162,.2); }
.article-body-wrap { max-width: none; padding: 82px 20px; background: #fffdfb; }
.article-reading { max-width: 780px; margin: 0 auto; color: #2a2434; }
.article-opening-rule { color: #a63f51; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose strong { color: #261f31; }
.prose p,
.prose li { color: #403849; font-size: 18px; line-height: 1.9; }
.prose a { color: #5635a2; }
.prose blockquote,
.editorial-note { color: #392f46; background: #f2ebfb; border-left-color: var(--accent); }
.disclaimer { color: #494052; background: #f6f1fa; border-color: #d7cce3; }
.site-footer { color: #e7ddf5; background: #2d2340; border-top: 0; }
.footer-brand .brand-logo { padding: 6px 12px; border-radius: 12px; background: #fff; }
.footer-title { color: #fff; }

@media (max-width: 1023px) {
  .site-header,
  .department-rail,
  .hero,
  .header-inner,
  .department-rail-inner,
  .hero-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .header-inner { padding-right: clamp(16px, 4vw, 24px); padding-left: clamp(16px, 4vw, 24px); }
  .masthead-row { width: 100%; min-width: 0; justify-content: space-between; }
  .desktop-nav { display: none !important; }
  .menu-button { display: inline-flex !important; }
  .hero-grid { width: 100%; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr) !important; }
  .hero-left,
  .hero-right,
  .hero-card,
  .hero-card-media {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .hero-left,
  .hero-right { grid-column: 1 !important; }
  .hero-editorial-title,
  .hero-excerpt { max-width: 100%; overflow-wrap: anywhere; }
  .department-links { min-width: 0; max-width: 100%; }
  .header-inner { display: block; }
  .masthead-row { height: 74px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 34px; }
  .hero-left, .hero-right { grid-column: 1; }
  .hero-left { order: 1; }
  .hero-right { order: 2; }
  .hero-card { min-height: 0; aspect-ratio: 16 / 10; }
  .hero-card-media { min-height: 0; aspect-ratio: auto; }
  .editors-grid { grid-template-columns: 1fr; }
  .article-hero-shell { grid-template-columns: 1fr; }
  .article-hero-media { order: -1; }
}
@media (max-width: 639px) {
  .brand-logo { width: 186px; height: 58px; }
  .department-links { grid-template-columns: 1fr 1fr; }
  .hero { padding: 24px 16px 48px; }
  .hero-card { border-radius: 28px; }
  .hero-editorial-title { font-size: 40px; }
  .section-pad { padding-top: 60px; padding-bottom: 60px; }
  .section-heading { text-align: left; }
  .featured-media { border-radius: 28px 28px 0 0; }
  .article-hero-content h1 { font-size: 39px; overflow-wrap: anywhere; }
  .article-body-wrap { padding: 50px 18px 64px; }
  .prose p, .prose li { color: #39313f; font-size: 16.5px; line-height: 1.82; overflow-wrap: anywhere; }
}
