/*
Theme Name: Lumenfolio Press
Author: Mira Vale Studio
Description: A mobile-first learning portfolio and editorial theme with soft AI-inspired visuals, dynamic WordPress navigation, and block-friendly content areas.
Version: 1.0.3
Requires at least: 6.1
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: edc9-theme
Tags: blog, education, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --edc9-bg: #f7fbff;
  --edc9-surface: rgba(255, 255, 255, 0.76);
  --edc9-surface-strong: rgba(255, 255, 255, 0.94);
  --edc9-ink: #24304f;
  --edc9-muted: #677196;
  --edc9-soft: #dce9ff;
  --edc9-line: rgba(94, 112, 173, 0.16);
  --edc9-blue: #23c2e5;
  --edc9-indigo: #6167c8;
  --edc9-violet: #8d77dc;
  --edc9-coral: #ff9d85;
  --edc9-shadow: 0 24px 70px rgba(76, 94, 158, 0.16);
  --edc9-small-shadow: 0 14px 30px rgba(69, 84, 144, 0.12);
  --edc9-radius: 8px;
  --edc9-pill: 999px;
  --edc9-content: min(1120px, calc(100vw - 32px));
  --edc9-wide: min(1320px, calc(100vw - 32px));
  --edc9-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--edc9-ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(231, 185, 255, 0.46), transparent 31rem),
    radial-gradient(circle at 84% 10%, rgba(130, 201, 255, 0.52), transparent 34rem),
    radial-gradient(circle at 52% 48%, rgba(91, 136, 255, 0.18), transparent 42rem),
    linear-gradient(180deg, #fbfdff 0%, var(--edc9-bg) 48%, #ffffff 100%);
  font-family: var(--edc9-font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  min-width: 320px;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(10px);
}

body::before {
  width: 62vw;
  height: 48vw;
  min-width: 420px;
  min-height: 330px;
  left: -24vw;
  top: 12vh;
  background: linear-gradient(135deg, rgba(200, 232, 255, 0.8), rgba(166, 139, 255, 0.24));
  border-radius: 42% 58% 64% 36%;
  transform: rotate(-14deg);
}

body::after {
  width: 66vw;
  height: 38vw;
  min-width: 440px;
  min-height: 290px;
  right: -26vw;
  top: 36vh;
  background: linear-gradient(135deg, rgba(74, 181, 241, 0.26), rgba(255, 255, 255, 0));
  border-radius: 58% 42% 36% 64%;
  transform: rotate(16deg);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--edc9-indigo);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.edc9-skip-link {
  background: var(--edc9-ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 1000;
}

.edc9-skip-link:focus {
  top: 16px;
}

.edc9-sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.edc9-header {
  left: 0;
  padding: 14px 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
}

.edc9-header-shell {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--edc9-pill);
  box-shadow: var(--edc9-small-shadow);
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: min(860px, calc(100vw - 24px));
  min-height: 64px;
  padding: 8px 10px 8px 18px;
  position: relative;
}

@supports (backdrop-filter: blur(18px)) {
  .edc9-header-shell,
  .edc9-mobile-panel,
  .edc9-glass,
  .edc9-post-card,
  .edc9-category-card,
  .edc9-stat-card,
  .edc9-step {
    backdrop-filter: blur(22px);
  }
}

.edc9-brand {
  align-items: center;
  color: var(--edc9-indigo);
  display: inline-flex;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  line-height: 1;
  min-width: 0;
}

.edc9-brand-mark {
  background: linear-gradient(135deg, var(--edc9-blue), var(--edc9-violet));
  border-radius: 7px;
  box-shadow: 0 10px 20px rgba(85, 111, 211, 0.22);
  display: inline-block;
  height: 26px;
  position: relative;
  transform: skewX(-10deg);
  width: 26px;
}

.edc9-brand-mark::after {
  background: rgba(255, 255, 255, 0.8);
  content: "";
  height: 70%;
  left: 11px;
  position: absolute;
  top: 15%;
  width: 4px;
}

.edc9-brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edc9-brand img {
  max-height: 42px;
  width: auto;
}

.edc9-desktop-nav,
.edc9-desktop-categories {
  display: none;
}

.edc9-menu-toggle {
  align-items: center;
  background: linear-gradient(135deg, rgba(105, 112, 215, 0.98), rgba(142, 119, 222, 0.98));
  border: 0;
  border-radius: var(--edc9-pill);
  box-shadow: 0 12px 24px rgba(94, 98, 192, 0.24);
  color: #fff;
  display: inline-grid;
  height: 46px;
  justify-content: center;
  position: relative;
  width: 46px;
}

.edc9-menu-toggle span,
.edc9-menu-toggle::before,
.edc9-menu-toggle::after {
  background: currentColor;
  border-radius: var(--edc9-pill);
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  width: 18px;
}

.edc9-menu-toggle::before {
  transform: translateY(-6px);
}

.edc9-menu-toggle::after {
  transform: translateY(6px);
}

.edc9-menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.edc9-menu-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.edc9-menu-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.edc9-mobile-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--edc9-line);
  border-radius: 8px;
  box-shadow: var(--edc9-shadow);
  display: none;
  left: 12px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding: 16px;
  position: absolute;
  right: 12px;
  top: calc(100% + 10px);
}

.edc9-mobile-panel[data-open="true"] {
  display: block;
}

.edc9-nav-list,
.edc9-mobile-nav-list,
.edc9-category-list,
.edc9-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.edc9-mobile-nav-list {
  display: grid;
  gap: 8px;
}

.edc9-mobile-nav-list a,
.edc9-mobile-categories a {
  align-items: center;
  background: rgba(246, 249, 255, 0.84);
  border: 1px solid var(--edc9-line);
  border-radius: 8px;
  display: flex;
  min-height: 44px;
  padding: 10px 12px;
}

.edc9-mobile-title {
  color: var(--edc9-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 16px 0 8px;
  text-transform: uppercase;
}

.edc9-mobile-categories .edc9-category-list {
  display: grid;
  gap: 8px;
}

.edc9-main {
  min-height: 70vh;
}

.edc9-section {
  padding: clamp(56px, 9vw, 110px) 0;
}

.edc9-wrap {
  margin: 0 auto;
  width: var(--edc9-content);
}

.edc9-wide-wrap {
  margin: 0 auto;
  width: var(--edc9-wide);
}

.edc9-hero {
  min-height: calc(100vh - 94px);
  padding: clamp(58px, 9vw, 108px) 0 clamp(44px, 7vw, 86px);
  position: relative;
}

.edc9-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 70px);
}

.edc9-eyebrow {
  align-items: center;
  color: var(--edc9-indigo);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.edc9-eyebrow::before {
  background: linear-gradient(135deg, var(--edc9-blue), var(--edc9-violet));
  border-radius: var(--edc9-pill);
  content: "";
  height: 2px;
  width: 34px;
}

.edc9-hero-title {
  font-size: clamp(2.25rem, 8.8vw, 5.8rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
  max-width: 780px;
}

.edc9-gradient-text {
  background: linear-gradient(90deg, #16c3e6, #3e79b7 48%, #5c54a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.edc9-hero-highlight {
  border: 1px solid rgba(104, 126, 214, 0.26);
  border-radius: var(--edc9-pill);
  color: var(--edc9-indigo);
  display: inline-block;
  padding: 0 0.16em 0.07em;
}

.edc9-hero-copy {
  color: var(--edc9-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  margin: 16px 0 0;
  max-width: 560px;
}

.edc9-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.edc9-button,
.edc9-button-secondary,
.edc9-icon-button {
  align-items: center;
  border-radius: var(--edc9-pill);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.edc9-button {
  background: linear-gradient(135deg, var(--edc9-indigo), var(--edc9-violet));
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 16px 32px rgba(93, 99, 195, 0.28);
  color: #fff;
  padding: 12px 20px;
}

.edc9-button:hover,
.edc9-button:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

.edc9-button-secondary {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--edc9-line);
  color: var(--edc9-indigo);
  padding: 12px 20px;
}

.edc9-button-secondary:hover,
.edc9-button-secondary:focus-visible {
  box-shadow: var(--edc9-small-shadow);
  transform: translateY(-2px);
}

.edc9-partner-strip {
  margin-top: 36px;
  max-width: 740px;
}

.edc9-partner-label {
  color: var(--edc9-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.edc9-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.edc9-category-pill {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--edc9-line);
  border-radius: var(--edc9-pill);
  color: var(--edc9-muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 12px;
}

.edc9-glass,
.edc9-post-card,
.edc9-category-card,
.edc9-stat-card,
.edc9-step {
  background: var(--edc9-surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--edc9-small-shadow);
}

.edc9-dashboard {
  border-radius: 8px;
  overflow: hidden;
}

.edc9-dashboard-top {
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid var(--edc9-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px;
}

.edc9-search {
  align-items: center;
  background: #fff;
  border: 1px solid var(--edc9-line);
  border-radius: var(--edc9-pill);
  color: var(--edc9-muted);
  display: flex;
  flex: 1;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
}

.edc9-search svg,
.edc9-mini-icon svg,
.edc9-post-meta svg {
  height: 18px;
  width: 18px;
}

.edc9-dashboard-body {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 3vw, 28px);
}

.edc9-dashboard-title {
  display: grid;
  gap: 2px;
}

.edc9-dashboard-title strong {
  color: var(--edc9-ink);
  font-size: 1.08rem;
}

.edc9-dashboard-title span {
  color: var(--edc9-muted);
  font-size: 0.9rem;
}

.edc9-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edc9-metric {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--edc9-line);
  border-radius: 8px;
  padding: 14px;
}

.edc9-metric span {
  color: var(--edc9-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.edc9-metric strong {
  color: var(--edc9-indigo);
  display: block;
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  line-height: 1.1;
  margin-top: 8px;
}

.edc9-chart-grid {
  display: grid;
  gap: 18px;
}

.edc9-chart,
.edc9-feed {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--edc9-line);
  border-radius: 8px;
  padding: 18px;
}

.edc9-chart-bars {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  height: 180px;
  margin-top: 18px;
}

.edc9-chart-bars span {
  background: linear-gradient(180deg, var(--edc9-indigo), var(--edc9-blue));
  border-radius: var(--edc9-pill) var(--edc9-pill) 3px 3px;
  min-height: 34px;
}

.edc9-feed {
  display: grid;
  gap: 12px;
}

.edc9-feed-item {
  border-bottom: 1px solid var(--edc9-line);
  color: var(--edc9-muted);
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
}

.edc9-feed-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.edc9-feed-item strong {
  color: var(--edc9-ink);
}

.edc9-section-heading {
  margin-bottom: clamp(28px, 5vw, 54px);
  max-width: 760px;
}

.edc9-section-heading.edc9-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.edc9-section-kicker {
  color: var(--edc9-indigo);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.edc9-section-title {
  font-size: clamp(2.3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.edc9-section-copy {
  color: var(--edc9-muted);
  font-size: 1.04rem;
  margin: 18px 0 0;
}

.edc9-steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.edc9-step {
  border-radius: 8px;
  min-height: 260px;
  padding: 24px;
  position: relative;
}

.edc9-step-number {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--edc9-line);
  border-radius: var(--edc9-pill);
  color: var(--edc9-indigo);
  display: inline-flex;
  font-weight: 800;
  margin-bottom: 26px;
  padding: 7px 13px;
}

.edc9-line-icon {
  color: var(--edc9-blue);
  height: 52px;
  margin-bottom: 22px;
  width: 52px;
}

.edc9-step h3,
.edc9-category-card h3,
.edc9-post-card h2,
.edc9-post-card h3,
.edc9-stat-card h3 {
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.edc9-step p,
.edc9-category-card p,
.edc9-post-card p,
.edc9-stat-card p {
  color: var(--edc9-muted);
  margin: 12px 0 0;
}

.edc9-category-grid,
.edc9-post-grid,
.edc9-stat-grid {
  display: grid;
  gap: 16px;
}

.edc9-category-card,
.edc9-post-card,
.edc9-stat-card {
  border-radius: 8px;
  padding: 22px;
}

.edc9-category-card {
  min-height: 190px;
}

.edc9-category-card h3 {
  font-size: 1.3rem;
}

.edc9-count {
  color: var(--edc9-indigo);
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 20px;
}

.edc9-post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
}

.edc9-post-thumb {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 25% 30%, rgba(35, 194, 229, 0.42), transparent 38%),
    radial-gradient(circle at 80% 20%, rgba(141, 119, 220, 0.3), transparent 35%),
    linear-gradient(135deg, #f6fbff, #eef3ff);
  overflow: hidden;
}

.edc9-post-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.edc9-post-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.edc9-post-meta {
  align-items: center;
  color: var(--edc9-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.edc9-post-card h2,
.edc9-post-card h3 {
  font-size: 1.35rem;
}

.edc9-read-more {
  color: var(--edc9-indigo);
  font-weight: 800;
  margin-top: auto;
  padding-top: 18px;
}

.edc9-stats-band {
  position: relative;
}

.edc9-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edc9-stat-card strong {
  color: var(--edc9-indigo);
  display: block;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1;
  margin-top: 14px;
}

.edc9-content-wrap {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(38px, 7vw, 82px) 0;
  width: var(--edc9-content);
}

.edc9-content {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: var(--edc9-small-shadow);
  padding: clamp(22px, 5vw, 48px);
}

.edc9-content > *:first-child {
  margin-top: 0;
}

.edc9-content > *:last-child {
  margin-bottom: 0;
}

.edc9-content h1,
.edc9-content h2,
.edc9-content h3,
.edc9-content h4 {
  letter-spacing: 0;
  line-height: 1.14;
}

.edc9-content h1 {
  font-size: clamp(2.4rem, 8vw, 4.8rem);
}

.edc9-content h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.edc9-content p,
.edc9-content li {
  color: var(--edc9-muted);
}

.edc9-content a {
  color: var(--edc9-indigo);
  font-weight: 700;
}

.edc9-content blockquote {
  border-left: 4px solid var(--edc9-blue);
  color: var(--edc9-ink);
  margin-left: 0;
  padding-left: 18px;
}

.edc9-entry-header {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.edc9-entry-title {
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.edc9-tax-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edc9-tax-list a {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--edc9-line);
  border-radius: var(--edc9-pill);
  color: var(--edc9-muted);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 7px 11px;
}

.edc9-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 34px;
}

.edc9-pagination a,
.edc9-pagination span {
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--edc9-line);
  border-radius: var(--edc9-pill);
  display: inline-flex;
  min-height: 40px;
  padding: 8px 14px;
}

.edc9-pagination .current {
  background: var(--edc9-indigo);
  color: #fff;
}

.edc9-empty {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--edc9-line);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
}

.edc9-comments {
  margin-top: 30px;
}

.edc9-footer {
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid var(--edc9-line);
  margin-top: 40px;
  padding: 48px 0 26px;
}

.edc9-footer-grid {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  width: var(--edc9-content);
}

.edc9-footer-brand {
  display: grid;
  gap: 12px;
}

.edc9-footer-brand strong {
  color: var(--edc9-indigo);
  font-size: 1.4rem;
}

.edc9-footer-brand p,
.edc9-footer-note {
  color: var(--edc9-muted);
  margin: 0;
}

.edc9-footer-title {
  color: var(--edc9-ink);
  font-weight: 900;
  margin: 0 0 12px;
}

.edc9-footer-list {
  display: grid;
  gap: 8px;
}

.edc9-footer-list a {
  color: var(--edc9-muted);
}

.edc9-footer-bottom {
  border-top: 1px solid var(--edc9-line);
  color: var(--edc9-muted);
  margin: 34px auto 0;
  padding-top: 20px;
  width: var(--edc9-content);
}

@media (min-width: 680px) {
  .edc9-steps,
  .edc9-category-grid,
  .edc9-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edc9-chart-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  }

  .edc9-footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

@media (min-width: 980px) {
  .edc9-header-shell {
    grid-template-columns: auto 1fr;
    max-width: min(980px, calc(100vw - 48px));
    padding: 8px 10px 8px 20px;
  }

  .edc9-menu-toggle {
    display: none;
  }

  .edc9-desktop-nav {
    display: block;
  }

  .edc9-nav-list {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
  }

  .edc9-nav-list a {
    border-radius: var(--edc9-pill);
    color: var(--edc9-muted);
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 9px 12px;
  }

  .edc9-nav-list a:hover,
  .edc9-nav-list a:focus-visible {
    background: rgba(255, 255, 255, 0.76);
    color: var(--edc9-indigo);
  }

  .edc9-nav-list li {
    position: relative;
  }

  .edc9-nav-list ul {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--edc9-line);
    border-radius: 8px;
    box-shadow: var(--edc9-small-shadow);
    display: none;
    left: 0;
    list-style: none;
    min-width: 210px;
    padding: 8px;
    position: absolute;
    top: 100%;
  }

  .edc9-nav-list li:hover > ul,
  .edc9-nav-list li:focus-within > ul {
    display: grid;
  }

  .edc9-desktop-categories {
    display: block;
  }

  .edc9-desktop-categories .edc9-category-list {
    display: flex;
    gap: 8px;
  }

  .edc9-desktop-categories a {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 255, 0.72));
    border: 1px solid var(--edc9-line);
    border-radius: var(--edc9-pill);
    color: var(--edc9-muted);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    min-height: 36px;
    padding: 8px 12px;
  }

  .edc9-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  .edc9-dashboard {
    transform: translateY(20px);
  }

  .edc9-dashboard-body {
    grid-template-columns: 180px 1fr;
  }

  .edc9-dashboard-title {
    align-content: start;
  }

  .edc9-metrics {
    grid-column: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edc9-chart-grid {
    grid-column: 2;
  }

  .edc9-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .edc9-category-grid,
  .edc9-post-grid,
  .edc9-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .edc9-glass,
  .edc9-post-card,
  .edc9-category-card,
  .edc9-step,
  .edc9-stat-card {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .edc9-post-card:hover,
  .edc9-category-card:hover,
  .edc9-step:hover,
  .edc9-stat-card:hover {
    box-shadow: var(--edc9-shadow);
    transform: translateY(-3px);
  }
}
