/* Modern Minimal v3.0.0 — editorial minimal · sky & teal */

.theme-modern-minimal {
  /* Color */
  --mm-bg: #f4f8fb;
  --mm-surface: #ffffff;
  --mm-surface-elevated: #ffffff;
  --mm-text: #0f2a3d;
  --mm-text-muted: #456278;
  --mm-text-subtle: #64748b;
  --mm-on-light: #0f2a3d;
  --mm-on-light-body: #374151;
  --mm-on-light-muted: #4b5563;
  --mm-accent: #0891b2;
  --mm-accent-hover: #0e7490;
  --mm-accent-soft: #e0f2fe;
  --mm-accent-muted: rgba(8, 145, 178, 0.1);
  --mm-mint: #14b8a6;
  --mm-heading: #0c3d5c;
  --mm-border: rgba(8, 145, 178, 0.12);
  --mm-border-strong: rgba(8, 145, 178, 0.24);
  --mm-danger: #dc2626;
  --mm-danger-soft: #fef2f2;
  --mm-success: #15803d;
  /* Spacing (8px base) */
  --mm-space: 8px;
  --mm-space-xs: calc(var(--mm-space) * 1);
  --mm-space-sm: calc(var(--mm-space) * 2);
  --mm-space-md: calc(var(--mm-space) * 3);
  --mm-space-lg: calc(var(--mm-space) * 4);
  --mm-space-xl: calc(var(--mm-space) * 6);
  --mm-space-2xl: calc(var(--mm-space) * 8);
  --mm-space-3xl: calc(var(--mm-space) * 12);
  /* Shape & elevation */
  --mm-radius-sm: 10px;
  --mm-radius: 16px;
  --mm-radius-lg: 24px;
  --mm-radius-full: 999px;
  --mm-shadow-sm: 0 1px 4px rgba(12, 61, 92, 0.05);
  --mm-shadow: 0 8px 28px rgba(8, 145, 178, 0.07);
  --mm-shadow-lg: 0 16px 48px rgba(8, 145, 178, 0.1);
  --mm-shadow-btn: 0 8px 24px rgba(8, 145, 178, 0.2);
  /* Typography */
  --mm-font-display: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mm-font-body: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mm-text-xs: 0.8125rem;
  --mm-text-sm: 0.875rem;
  --mm-text-base: 1rem;
  --mm-text-lg: 1.0625rem;
  --mm-text-xl: 1.25rem;
  /* Motion */
  --mm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mm-duration: 0.26s;
  --mm-focus-ring: 0 0 0 3px rgba(8, 145, 178, 0.24);
}

.theme-modern-minimal {
  font-family: var(--mm-font-body);
  font-size: var(--mm-text-base);
  color: var(--mm-text);
  background: var(--mm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Header ── */
.theme-modern-minimal .site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
}

.theme-modern-minimal .site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid var(--mm-border);
  color: var(--mm-text);
  padding: var(--mm-space-sm) 0;
  position: static;
  box-shadow: 0 1px 0 rgba(8, 145, 178, 0.04);
}

.theme-modern-minimal .site-header__bar,
.theme-modern-minimal .site-header .container,
.theme-modern-minimal .site-header-wrap .nav-drawer { max-width: 1180px; }

.theme-modern-minimal .site-header-wrap a,
.theme-modern-minimal .site-header a {
  color: inherit;
  transition: color var(--mm-duration) var(--mm-ease);
}

.theme-modern-minimal .site-header-wrap a:hover,
.theme-modern-minimal .site-header a:hover { color: var(--mm-accent); }

.theme-modern-minimal .nav-toggle {
  color: var(--mm-heading);
  border-radius: var(--mm-radius-sm);
}

.theme-modern-minimal .nav-toggle:hover {
  background: var(--mm-accent-muted);
  color: var(--mm-accent);
}

.theme-modern-minimal .nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--mm-focus-ring);
}

@media (min-width: 768px) {
  .theme-modern-minimal .site-nav > a,
  .theme-modern-minimal .site-nav > .nav-group > a {
    font-size: var(--mm-text-sm);
    font-weight: 500;
    opacity: 0.8;
    border-radius: var(--mm-radius-full);
    padding-inline: var(--mm-space-md);
  }

  .theme-modern-minimal .site-nav > a:hover,
  .theme-modern-minimal .site-nav > .nav-group > a:hover {
    opacity: 1;
    background: var(--mm-accent-muted);
    color: var(--mm-accent);
  }
}

@media (max-width: 767px) {
  .theme-modern-minimal .nav-drawer__backdrop {
    background: rgba(15, 42, 61, 0.35);
  }

  .theme-modern-minimal .nav-drawer__panel {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--mm-border);
    box-shadow: -8px 0 40px rgba(8, 145, 178, 0.12);
  }

  .theme-modern-minimal .site-nav > a,
  .theme-modern-minimal .site-nav > .nav-group > a {
    font-weight: 500;
    color: var(--mm-heading);
    border-radius: var(--mm-radius-sm);
  }

  .theme-modern-minimal .site-nav > a:hover,
  .theme-modern-minimal .site-nav > .nav-group > a:hover {
    background: var(--mm-accent-soft);
    color: var(--mm-accent);
  }

  .theme-modern-minimal .nav-children a {
    color: var(--mm-text-muted);
  }
}

.theme-modern-minimal .logo {
  font-family: var(--mm-font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
  color: var(--mm-heading);
}

.theme-modern-minimal .nav-children {
  background: var(--mm-surface);
  border-color: var(--mm-border);
  box-shadow: var(--mm-shadow-lg);
}

.theme-modern-minimal .nav-children a {
  color: var(--mm-text);
}

.theme-modern-minimal .nav-children a:hover {
  background: var(--mm-accent-soft);
  color: var(--mm-accent);
}

.theme-modern-minimal .site-main { padding: 0; min-height: 70vh; }

.theme-modern-minimal .site-main.container {
  padding-top: clamp(var(--mm-space-xl), 5vw, var(--mm-space-3xl));
  padding-bottom: clamp(var(--mm-space-2xl), 6vw, calc(var(--mm-space) * 12));
}

/* ── Footer ── */
.theme-modern-minimal .site-footer {
  background: linear-gradient(180deg, var(--mm-surface) 0%, var(--mm-bg) 100%);
  border-top: 1px solid var(--mm-border);
  padding: var(--mm-space-2xl) 0 var(--mm-space-lg);
  color: var(--mm-text-muted);
  font-size: var(--mm-text-sm);
}

.theme-modern-minimal .footer-copy { color: var(--mm-text); font-weight: 500; }

.theme-modern-minimal .footer-bottom {
  border-top-color: var(--mm-border);
}

.theme-modern-minimal .footer-contact-item strong {
  color: var(--mm-text);
}

.theme-modern-minimal .footer-social__label {
  color: var(--mm-text-muted);
}

.theme-modern-minimal .footer-nav a:hover { color: var(--mm-accent); }

.theme-modern-minimal .footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  color: var(--mm-text);
  border-radius: var(--mm-radius-full);
}

.theme-modern-minimal .footer-social .social-link:hover {
  color: var(--mm-accent);
  background: var(--mm-accent-muted);
}

.theme-modern-minimal .footer-social .social-link--no-url {
  color: var(--mm-text-subtle);
}

/* ── Sections & layout ── */
.theme-modern-minimal .blk-section { position: relative; }

.theme-modern-minimal .blk-container {
  padding: 0 clamp(var(--mm-space-md), 4vw, var(--mm-space-lg));
}

.theme-modern-minimal .blk-section--full .blk-container {
  max-width: 100%;
  padding: 0;
}

/* ── Hero ── */
.theme-modern-minimal .blk-hero {
  position: relative;
  text-align: center;
  padding: clamp(var(--mm-space-2xl), 10vw, var(--mm-space-3xl)) clamp(var(--mm-space-md), 4vw, var(--mm-space-lg));
  min-height: clamp(340px, 55vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mm-text);
  overflow: hidden;
}

.theme-modern-minimal .blk-hero__bg,
.theme-modern-minimal .hero-fx-host {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.theme-modern-minimal .hero-fx-host canvas,
.theme-modern-minimal .blk-hero__bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.theme-modern-minimal .blk-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(240, 249, 255, 0.55) 0%, transparent 70%),
    linear-gradient(180deg, rgba(246, 250, 252, 0.35) 0%, rgba(246, 250, 252, 0.88) 100%);
  pointer-events: none;
}

.theme-modern-minimal .blk-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.theme-modern-minimal .blk-hero__title {
  font-family: var(--mm-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 var(--mm-space-md);
  background: linear-gradient(135deg, var(--mm-heading) 0%, var(--mm-accent) 55%, var(--mm-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-modern-minimal .blk-hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  line-height: 1.75;
  color: var(--mm-text-muted);
  margin: 0 0 var(--mm-space-lg);
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.theme-modern-minimal .blk-hero-typed-fx {
  display: block;
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  line-height: 1.75;
  color: var(--mm-text-muted);
  min-height: 1.75em;
  max-width: 36em;
  margin: calc(var(--mm-space-sm) * -1) auto var(--mm-space-lg);
}

.theme-modern-minimal .blk-hero-typed-fx .typed-cursor {
  color: var(--mm-accent);
  opacity: 0.85;
}

.theme-modern-minimal .blk-hero__inner:has(.blk-hero-typed-fx) .blk-hero-subtitle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.theme-modern-minimal .blk-hero__inner:not(:has(.blk-hero-typed-fx)) .blk-hero-subtitle {
  min-height: 1.75em;
}

/* ── Buttons ── */
.theme-modern-minimal .blk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mm-space-xs);
  min-height: var(--touch-min, 44px);
  padding: 0.875rem 1.875rem;
  background: linear-gradient(135deg, var(--mm-accent) 0%, var(--mm-mint) 100%);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: var(--mm-radius-full);
  font-weight: 600;
  font-size: var(--mm-text-sm);
  letter-spacing: 0.01em;
  box-shadow: var(--mm-shadow-btn);
  transition: transform var(--mm-duration) var(--mm-ease), box-shadow var(--mm-duration) var(--mm-ease), background var(--mm-duration) var(--mm-ease);
  cursor: pointer;
}

.theme-modern-minimal .blk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(12, 143, 212, 0.32);
}

.theme-modern-minimal .blk-btn:active {
  transform: translateY(0);
}

.theme-modern-minimal .blk-btn:focus-visible {
  outline: none;
  box-shadow: var(--mm-shadow-btn), var(--mm-focus-ring);
}

.theme-modern-minimal .blk-btn:disabled,
.theme-modern-minimal .blk-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.theme-modern-minimal .blk-btn--secondary {
  background: var(--mm-surface);
  color: var(--mm-accent);
  border: 1.5px solid var(--mm-border-strong);
  box-shadow: var(--mm-shadow-sm);
}

.theme-modern-minimal .blk-btn--secondary:hover {
  background: var(--mm-accent-soft);
  border-color: var(--mm-accent);
  box-shadow: var(--mm-shadow);
}

.theme-modern-minimal .blk-btn--ghost {
  background: transparent;
  color: var(--mm-accent);
  border: 1.5px solid transparent;
  box-shadow: none;
}

.theme-modern-minimal .blk-btn--ghost:hover {
  background: var(--mm-accent-muted);
  box-shadow: none;
}

.theme-modern-minimal .blk-btn--danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.22);
}

/* ── Typography blocks ── */
.theme-modern-minimal .blk-heading {
  font-family: var(--mm-font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--mm-heading);
  margin: var(--mm-space-md) 0 var(--mm-space-sm);
}

.theme-modern-minimal h2.blk-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.theme-modern-minimal h3.blk-heading {
  font-size: var(--mm-text-xl);
  color: var(--mm-text);
  padding-left: var(--mm-space-sm);
  border-left: 3px solid var(--mm-mint);
  margin-top: var(--mm-space-lg);
}

.theme-modern-minimal .blk-paragraph {
  margin: var(--mm-space-sm) 0;
  line-height: 1.85;
  color: var(--mm-text-muted);
  font-size: var(--mm-text-lg);
}

.theme-modern-minimal .blk-paragraph a {
  color: var(--mm-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--mm-accent-soft);
  transition: border-color var(--mm-duration);
}

.theme-modern-minimal .blk-paragraph a:hover { border-bottom-color: var(--mm-accent); }

/* ── Post list (blocks) ── */
.theme-modern-minimal .blk-post-list { padding: var(--mm-space-md) 0; }

.theme-modern-minimal .blk-post-list > h2 {
  font-family: var(--mm-font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  margin-bottom: var(--mm-space-lg);
  color: var(--mm-heading);
}

.theme-modern-minimal .blk-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--mm-space-md);
}

.theme-modern-minimal .blk-post-card {
  position: relative;
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius);
  background: var(--mm-surface);
  overflow: hidden;
  transition: transform var(--mm-duration) var(--mm-ease), box-shadow var(--mm-duration) var(--mm-ease), border-color var(--mm-duration);
  box-shadow: var(--mm-shadow-sm);
}

.theme-modern-minimal .blk-post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mm-accent), var(--mm-mint));
  opacity: 0;
  transition: opacity var(--mm-duration) var(--mm-ease);
}

.theme-modern-minimal .blk-post-card:hover::before {
  opacity: 1;
}

.theme-modern-minimal .blk-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mm-shadow-lg);
  border-color: var(--mm-border-strong);
}

.theme-modern-minimal .blk-post-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--mm-space-md);
  color: inherit;
  text-decoration: none;
}

.theme-modern-minimal .blk-post-card img {
  width: 100%;
  max-width: 100%;
  height: 168px;
  object-fit: cover;
  margin: calc(var(--mm-space-md) * -1) calc(var(--mm-space-md) * -1) var(--mm-space-sm);
  border-radius: var(--mm-radius) var(--mm-radius) 0 0;
}

.theme-modern-minimal .blk-post-card h3 {
  font-family: var(--mm-font-display);
  font-size: var(--mm-text-lg);
  font-weight: 600;
  margin: var(--mm-space-xs) 0;
  line-height: 1.4;
  color: var(--mm-heading);
}

.theme-modern-minimal .blk-post-card time {
  color: var(--mm-accent);
  font-size: var(--mm-text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.theme-modern-minimal .blk-post-card p {
  color: var(--mm-text-muted);
  font-size: var(--mm-text-sm);
  line-height: 1.65;
  margin: var(--mm-space-xs) 0 0;
  flex: 1;
}

.theme-modern-minimal .blk-post-empty {
  color: var(--mm-text-muted);
  text-align: center;
  padding: var(--mm-space-xl) 0;
  font-size: var(--mm-text-lg);
}

/* ── Pagination ── */
.theme-modern-minimal .blk-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--mm-space-sm) var(--mm-space-md);
  margin-top: var(--mm-space-xl);
  padding-top: var(--mm-space-lg);
  border-top: 1px solid var(--mm-border);
}

.theme-modern-minimal .blk-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mm-space-xs);
  align-items: center;
  justify-content: center;
}

.theme-modern-minimal .blk-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min, 44px);
  min-height: var(--touch-min, 44px);
  padding: 0 0.875rem;
  border-radius: var(--mm-radius-full);
  border: 1px solid var(--mm-border);
  color: var(--mm-accent);
  text-decoration: none;
  font-size: var(--mm-text-sm);
  font-weight: 500;
  transition: background var(--mm-duration), border-color var(--mm-duration), transform var(--mm-duration);
}

.theme-modern-minimal .blk-pagination__link:hover {
  background: var(--mm-accent-soft);
  border-color: var(--mm-border-strong);
}

.theme-modern-minimal .blk-pagination__link:focus-visible {
  outline: none;
  box-shadow: var(--mm-focus-ring);
}

.theme-modern-minimal .blk-pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min, 44px);
  min-height: var(--touch-min, 44px);
  padding: 0 0.875rem;
  border-radius: var(--mm-radius-full);
  background: var(--mm-accent);
  color: #fff;
  font-size: var(--mm-text-sm);
  font-weight: 600;
}

/* ── Post body (blocks) ── */
.theme-modern-minimal .blk-post-body { background: transparent; }

.theme-modern-minimal .blk-post-header {
  margin-bottom: var(--mm-space-lg);
  padding-bottom: var(--mm-space-lg);
  border-bottom: 1px solid var(--mm-border);
}

.theme-modern-minimal .blk-post-title {
  font-family: var(--mm-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--mm-heading);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 var(--mm-space-sm);
}

.theme-modern-minimal .blk-post-meta {
  color: var(--mm-accent);
  font-weight: 600;
  font-size: var(--mm-text-sm);
}

.theme-modern-minimal .blk-post-excerpt {
  color: var(--mm-text-muted);
  font-size: var(--mm-text-lg);
  line-height: 1.7;
}

.theme-modern-minimal .blk-post-content {
  color: var(--mm-text);
  font-size: var(--mm-text-lg);
  line-height: 1.85;
}

.theme-modern-minimal .blk-post-content a { color: var(--mm-accent); }

.theme-modern-minimal .blk-post-content h2,
.theme-modern-minimal .blk-post-content h3 {
  font-family: var(--mm-font-display);
  color: var(--mm-heading);
}

/* ── SSR blog pages ── */
.theme-modern-minimal .site-main.container > h1 {
  font-family: var(--mm-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--mm-heading);
  letter-spacing: -0.025em;
  margin: 0 0 var(--mm-space-lg);
}

.theme-modern-minimal .post-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--mm-space-md);
}

.theme-modern-minimal .post-list li {
  border-color: var(--mm-border);
  border-radius: var(--mm-radius);
  background: var(--mm-surface);
  box-shadow: var(--mm-shadow-sm);
  padding: var(--mm-space-md);
}

.theme-modern-minimal .post-list li:hover {
  box-shadow: var(--mm-shadow-lg);
  transform: translateY(-3px);
  border-color: var(--mm-border-strong);
}

.theme-modern-minimal .post-list strong {
  font-family: var(--mm-font-display);
  color: var(--mm-heading);
}

.theme-modern-minimal .post-list .meta { color: var(--mm-accent); font-weight: 500; }

.theme-modern-minimal .post-list p { color: var(--mm-text-muted); }

.theme-modern-minimal .post-empty {
  color: var(--mm-text-muted);
  text-align: center;
  padding: var(--mm-space-xl) 0;
  font-size: var(--mm-text-lg);
}

.theme-modern-minimal .post-article header {
  border-bottom-color: var(--mm-border);
  margin-bottom: var(--mm-space-lg);
  padding-bottom: var(--mm-space-lg);
}

.theme-modern-minimal .post-article h1 {
  font-family: var(--mm-font-display);
  color: var(--mm-heading);
}

.theme-modern-minimal .post-article .meta { color: var(--mm-accent); font-weight: 500; }

.theme-modern-minimal .post-article .excerpt { color: var(--mm-text-muted); }

.theme-modern-minimal .post-content { color: var(--mm-on-light-body); }

.theme-modern-minimal .post-article .excerpt,
.theme-modern-minimal .post-list p { color: var(--mm-on-light-muted); }

.theme-modern-minimal .post-content a { color: var(--mm-accent); }

.theme-modern-minimal .post-content blockquote {
  border-left-color: var(--mm-accent);
  background: var(--mm-accent-soft);
  color: var(--mm-text-muted);
}

/* ── Contact form ── */
.theme-modern-minimal .blk-contact-form {
  margin-top: var(--mm-space-xl);
  padding: var(--mm-space-lg);
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius);
  background: linear-gradient(180deg, var(--mm-surface) 0%, var(--mm-bg) 100%);
  box-shadow: var(--mm-shadow);
}

.theme-modern-minimal .blk-contact-form__title {
  color: var(--mm-heading);
  font-family: var(--mm-font-display);
}

.theme-modern-minimal .blk-contact-form__desc { color: var(--mm-text-muted); }

.theme-modern-minimal .blk-contact-info__item { color: var(--mm-text-muted); }

.theme-modern-minimal .blk-contact-info__item strong { color: var(--mm-text); }

.theme-modern-minimal .blk-contact-info__item a { color: var(--mm-accent); }

.theme-modern-minimal .blk-contact-form__field span { color: var(--mm-text); }

.theme-modern-minimal .blk-contact-form__field input,
.theme-modern-minimal .blk-contact-form__field textarea {
  border-color: var(--mm-border);
  border-radius: var(--mm-radius-sm);
  background: var(--mm-surface);
  color: var(--mm-text);
}

.theme-modern-minimal .blk-contact-form__field input:focus,
.theme-modern-minimal .blk-contact-form__field textarea:focus {
  border-color: var(--mm-accent);
  box-shadow: var(--mm-focus-ring);
}

.theme-modern-minimal .blk-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min, 44px);
  padding: 0.8125rem 1.75rem;
  background: linear-gradient(135deg, var(--mm-accent) 0%, #06b6d4 100%);
  color: #fff;
  font-weight: 600;
  font-size: var(--mm-text-sm);
  border-radius: var(--mm-radius-full);
  box-shadow: var(--mm-shadow-btn);
  transition: transform var(--mm-duration) var(--mm-ease), box-shadow var(--mm-duration);
}

.theme-modern-minimal .blk-contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(12, 143, 212, 0.32);
}

.theme-modern-minimal .blk-contact-form__submit:focus-visible {
  outline: none;
  box-shadow: var(--mm-shadow-btn), var(--mm-focus-ring);
}

.theme-modern-minimal .blk-contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.theme-modern-minimal .blk-contact-form__status--ok { color: var(--mm-success); }

.theme-modern-minimal .blk-contact-form__status--err { color: var(--mm-danger); }

/* ── Media ── */
.theme-modern-minimal .blk-image img {
  border-radius: var(--mm-radius);
  box-shadow: var(--mm-shadow);
}

.theme-modern-minimal .blk-animate { will-change: transform, opacity; }

/* ── Responsive ── */
@media (min-width: 768px) and (max-width: 1024px) {
  .theme-modern-minimal .blk-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-modern-minimal .blk-container {
    padding: 0 var(--mm-space-lg);
  }
}

@media (max-width: 767px) {
  .theme-modern-minimal .blk-hero {
    min-height: 320px;
    padding: var(--mm-space-2xl) var(--mm-space-md);
  }

  .theme-modern-minimal .blk-post-grid,
  .theme-modern-minimal .post-list {
    grid-template-columns: 1fr;
  }

  .theme-modern-minimal .blk-contact-form {
    padding: var(--mm-space-md);
  }

  .theme-modern-minimal .blk-btn,
  .theme-modern-minimal .blk-contact-form__submit {
    width: 100%;
    max-width: 100%;
  }

  .theme-modern-minimal .blk-contact-form__submit {
    align-self: stretch;
  }

  .theme-modern-minimal .site-footer {
    padding: var(--mm-space-md) 0 var(--mm-space-sm);
  }

  .theme-modern-minimal .footer-inner {
    gap: var(--mm-space-sm);
    align-items: center;
    justify-content: center;
  }

  .theme-modern-minimal .footer-col {
    max-width: 20rem;
  }

  .theme-modern-minimal .footer-social {
    align-items: center;
  }

  .theme-modern-minimal .footer-social__icons {
    justify-content: center;
  }

  .theme-modern-minimal .footer-bottom {
    margin-top: var(--mm-space-sm);
    padding-top: var(--mm-space-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-modern-minimal .blk-btn,
  .theme-modern-minimal .blk-post-card,
  .theme-modern-minimal .blk-pagination__link,
  .theme-modern-minimal .post-list li {
    transition: none;
  }

  .theme-modern-minimal .blk-btn:hover,
  .theme-modern-minimal .blk-post-card:hover,
  .theme-modern-minimal .post-list li:hover {
    transform: none;
  }
}
