/* Modern Minimal — light airy · cool mint & sky */

.theme-modern-minimal {
  --mm-bg: #f8fcff;
  --mm-surface: #ffffff;
  --mm-text: #1e3a4f;
  --mm-text-muted: #5b7a8c;
  --mm-accent: #0ea5e9;
  --mm-accent-soft: #e0f2fe;
  --mm-mint: #5eead4;
  --mm-border: rgba(14, 165, 233, 0.12);
  --mm-radius: 16px;
  --mm-shadow: 0 4px 24px rgba(14, 165, 233, 0.08);
  --mm-font-display: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mm-font-body: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mm-space: 8px;
}

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

.theme-modern-minimal .site-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mm-border);
  color: var(--mm-text);
  padding: calc(var(--mm-space) * 2) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.theme-modern-minimal .site-header .container {
  max-width: 1200px;
}

.theme-modern-minimal .site-header a { color: inherit; transition: color 0.2s; }
.theme-modern-minimal .site-header a:hover { color: var(--mm-accent); }
.theme-modern-minimal .logo {
  font-family: var(--mm-font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.theme-modern-minimal .site-nav a {
  margin-left: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.75;
}
.theme-modern-minimal .site-nav a:hover { opacity: 1; }

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

.theme-modern-minimal .site-footer {
  background: var(--mm-surface);
  border-top: 1px solid var(--mm-border);
  padding: calc(var(--mm-space) * 6) 0;
  color: var(--mm-text-muted);
  font-size: 0.875rem;
}

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

.theme-modern-minimal .footer-social .social-link svg,
.theme-modern-minimal .footer-social .social-link svg path,
.theme-modern-minimal .footer-social .social-link svg circle {
  fill: currentColor;
}

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

.theme-modern-minimal .footer-social .social-link--no-url {
  color: color-mix(in srgb, var(--mm-text-muted) 45%, transparent);
}

.theme-modern-minimal .blk-section {
  position: relative;
}

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

.theme-modern-minimal .blk-hero {
  position: relative;
  text-align: center;
  padding: calc(var(--mm-space) * 10) calc(var(--mm-space) * 2);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mm-text);
}

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

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

.theme-modern-minimal .blk-hero__title {
  font-family: var(--mm-font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 calc(var(--mm-space) * 3);
  background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 50%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-modern-minimal .blk-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--mm-text-muted);
  margin: 0 0 calc(var(--mm-space) * 4);
  min-height: 1.7em;
}

.theme-modern-minimal .blk-btn {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--mm-space) * 1);
  padding: calc(var(--mm-space) * 1.75) calc(var(--mm-space) * 4);
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}
.theme-modern-minimal .blk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.35);
}

.theme-modern-minimal .blk-heading {
  font-family: var(--mm-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0c4a6e;
  margin: calc(var(--mm-space) * 2) 0 calc(var(--mm-space) * 2);
}
.theme-modern-minimal h2.blk-heading { font-size: clamp(1.5rem, 3vw, 2rem); }
.theme-modern-minimal h3.blk-heading { font-size: 1.25rem; color: var(--mm-text); }

.theme-modern-minimal .blk-paragraph {
  margin: calc(var(--mm-space) * 2) 0;
  line-height: 1.85;
  color: var(--mm-text-muted);
  font-size: 1.0625rem;
}
.theme-modern-minimal .blk-paragraph a {
  color: var(--mm-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--mm-accent-soft);
}
.theme-modern-minimal .blk-paragraph a:hover { border-bottom-color: var(--mm-accent); }

.theme-modern-minimal .blk-post-list { padding: calc(var(--mm-space) * 2) 0; }
.theme-modern-minimal .blk-post-list > h2 {
  font-family: var(--mm-font-display);
  font-size: 1.5rem;
  margin-bottom: calc(var(--mm-space) * 4);
  color: #0c4a6e;
}

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

.theme-modern-minimal .blk-post-card {
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius);
  background: var(--mm-surface);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.theme-modern-minimal .blk-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mm-shadow);
  border-color: rgba(14, 165, 233, 0.25);
}
.theme-modern-minimal .blk-post-card a {
  display: block;
  padding: calc(var(--mm-space) * 3);
  color: inherit;
  text-decoration: none;
}
.theme-modern-minimal .blk-post-card img {
  width: calc(100% + var(--mm-space) * 6);
  max-width: none;
  height: 160px;
  object-fit: cover;
  margin: calc(var(--mm-space) * -3) calc(var(--mm-space) * -3) calc(var(--mm-space) * 2);
}
.theme-modern-minimal .blk-post-card h3 {
  font-family: var(--mm-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: calc(var(--mm-space) * 1) 0;
  line-height: 1.4;
}
.theme-modern-minimal .blk-post-card time {
  color: var(--mm-accent);
  font-size: 0.8125rem;
  font-weight: 500;
}
.theme-modern-minimal .blk-post-card p {
  color: var(--mm-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: calc(var(--mm-space) * 1) 0 0;
}

.theme-modern-minimal .blk-post-empty {
  color: var(--mm-text-muted);
  text-align: center;
  padding: calc(var(--mm-space) * 6) 0;
}

.theme-modern-minimal .blk-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: calc(var(--mm-space) * 5);
  padding-top: calc(var(--mm-space) * 4);
  border-top: 1px solid var(--mm-border);
}
.theme-modern-minimal .blk-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.theme-modern-minimal .blk-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--mm-border);
  color: var(--mm-accent);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.2s, border-color 0.2s;
}
.theme-modern-minimal .blk-pagination__link:hover {
  background: var(--mm-accent-soft);
  border-color: rgba(14, 165, 233, 0.35);
}
.theme-modern-minimal .blk-pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--mm-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.theme-modern-minimal .blk-post-body { background: transparent; }
.theme-modern-minimal .blk-post-header {
  margin-bottom: calc(var(--mm-space) * 4);
  padding-bottom: calc(var(--mm-space) * 4);
  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: #0c4a6e;
  letter-spacing: -0.02em;
}
.theme-modern-minimal .blk-post-meta { color: var(--mm-accent); font-weight: 500; }
.theme-modern-minimal .blk-post-excerpt { color: var(--mm-text-muted); }
.theme-modern-minimal .blk-post-content a { color: var(--mm-accent); }

.theme-modern-minimal .blk-contact-form {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius);
  background: linear-gradient(180deg, #fff 0%, #f8fcff 100%);
  box-shadow: var(--mm-shadow);
}
.theme-modern-minimal .blk-contact-form__title {
  color: #0c4a6e;
  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: 12px;
  background: #fff;
}
.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: 0 0 0 3px rgba(14, 165, 233, 0.12);
}
.theme-modern-minimal .blk-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.theme-modern-minimal .blk-contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.32);
}
.theme-modern-minimal .blk-contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.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;
}

@media (max-width: 640px) {
  .theme-modern-minimal .site-nav a { margin-left: calc(var(--mm-space) * 2); font-size: 0.875rem; }
  .theme-modern-minimal .blk-hero { min-height: 360px; padding: calc(var(--mm-space) * 8) calc(var(--mm-space) * 2); }
}
