/*
Theme Name: Maarwind Blue
Description: マールウィンドミュージック専用の青基調ブロックテーマ（Twenty Twenty-Five 子テーマ）。横浜の海をイメージしたスマート&カジュアルなデザイン。サイトエディターで全て編集できます。
Author: Maarwind Music
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: maarwind-blue
*/

/* ============================================
   共通
   ============================================ */
body {
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

/* 英字ラベル用 */
.mw-en-label,
.mw-hero-badge,
.mw-instructor-label {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================
   ヘッダー
   ============================================ */
.mw-header {
  z-index: 100;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wp--preset--color--accent-5);
}
.mw-header .wp-block-site-title a {
  text-decoration: none;
  color: var(--wp--preset--color--accent-4);
}
.mw-header .wp-block-navigation a {
  text-decoration: none;
}
.mw-header .wp-block-navigation a:hover {
  color: var(--wp--preset--color--accent-2);
}

/* ============================================
   ヒーロー（トップページ）
   ============================================ */
.mw-hero {
  border-radius: 0;
}
.mw-hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 22px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
.mw-hero-title {
  color: #ffffff;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem);
  line-height: 1.5;
  text-shadow: 0 2px 24px rgba(7, 40, 70, 0.45);
}
.mw-hero-lead {
  max-width: 42rem;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  line-height: 1.8;
  text-shadow: 0 1px 16px rgba(7, 40, 70, 0.35);
}
.mw-hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 2;
}
.mw-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 48px));
  padding-right: min(42%, 470px);
  box-sizing: border-box;
}
.mw-hero-lesson-visual {
  position: absolute;
  right: -10px;
  bottom: -48px;
  width: min(48%, 520px);
  margin: 0;
  pointer-events: none;
}
.mw-hero-lesson-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(4, 26, 46, 0.2));
}
.mw-hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 20px auto 0;
}
.mw-hero-facts span {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(7, 40, 70, 0.28);
  white-space: nowrap;
}

/* ページ上部の見出し帯 */
.mw-page-hero {
  background: linear-gradient(135deg, #0a3557 0%, #0f5e9c 55%, #2fa0dc 100%);
  padding: 72px 24px;
  text-align: center;
}
.mw-page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  margin: 0;
}
.mw-page-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 12px 0 0;
}

/* ============================================
   セクション
   ============================================ */
.mw-section-light {
  background: var(--wp--preset--color--accent-3);
}
.mw-section-white {
  background: var(--wp--preset--color--base);
}
.mw-section-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin-bottom: 48px;
  position: relative;
}
.mw-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-6));
  margin: 14px auto 0;
}

/* トップ導入：はじめてを示す双葉と、細い蔦ラインの囲み */
.mw-intro-organic {
  position: relative;
  isolation: isolate;
  padding-top: 96px !important;
  padding-bottom: 82px !important;
}
.mw-intro-organic::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 48px;
  bottom: 38px;
  left: 50%;
  width: min(calc(100% - 48px), 1120px);
  box-sizing: border-box;
  transform: translateX(-50%);
  border: 1.5px solid rgba(15, 94, 156, 0.44);
  border-radius: 42% 58% 46% 54% / 9% 12% 8% 11%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 82'%3E%3Cg fill='none' stroke='%230f5e9c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='.58'%3E%3Cpath d='M116 78C91 76 87 54 94 40c5-10 14-17 21-23'/%3E%3Cpath d='M96 48c-11-1-18-7-20-17 11-1 19 5 20 17ZM100 36c1-11 7-19 17-22 2 11-5 20-17 22Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -3px bottom -2px;
  background-size: 108px auto;
  pointer-events: none;
}
.mw-intro-organic::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 50%;
  width: 72px;
  height: 62px;
  transform: translateX(-50%);
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 62'%3E%3Cg fill='none' stroke='%230f5e9c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M36 52V28'/%3E%3Cpath d='M36 31C24 31 15 24 14 12c12-1 21 6 22 19Z' fill='%23e8f4fb'/%3E%3Cpath d='M36 31c1-13 10-21 23-20-1 13-10 20-23 20Z' fill='%23d8edf8'/%3E%3Cpath d='M36 48c-4-6-9-9-15-10M36 45c5-6 10-8 16-8'/%3E%3C/g%3E%3C/svg%3E") center / 62px 54px no-repeat;
  border-radius: 50%;
  pointer-events: none;
}
.mw-intro-organic > * {
  position: relative;
  z-index: 2;
}

/* ============================================
   カード類
   ============================================ */
.mw-feature-card,
.mw-pricing-card,
.mw-testimonial-card,
.mw-philosophy-block {
  background: #ffffff;
  border: 1px solid var(--wp--preset--color--accent-5);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(15, 94, 156, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mw-feature-card:hover,
.mw-pricing-card:hover,
.mw-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 94, 156, 0.14);
}
.mw-feature-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.mw-feature-symbol {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 0 18px;
  border-radius: 50%;
  color: var(--wp--preset--color--accent-1);
  background: linear-gradient(135deg, #edf7fd, #d7eefa);
  box-shadow: inset 0 0 0 1px rgba(15, 94, 156, 0.16);
}
.mw-feature-symbol svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mw-philosophy-block {
  margin-bottom: 20px;
}
.mw-philosophy-block h3 {
  color: var(--wp--preset--color--accent-1);
  font-size: 1.15rem;
  margin-top: 0;
}

/* 料金カード */
.mw-pricing-card {
  text-align: center;
  padding: 40px 32px;
}
.mw-pricing-featured {
  border: 2px solid var(--wp--preset--color--accent-1);
  position: relative;
}
.mw-pricing-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-2));
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 18px;
  margin: 0 auto 8px;
  width: fit-content;
}
.mw-pricing-name {
  font-size: 1.2rem;
  margin: 0 0 4px;
}
.mw-pricing-target {
  color: #56718a;
  font-size: 0.9rem;
  margin: 0 0 12px;
}
.mw-pricing-price {
  color: var(--wp--preset--color--accent-1);
  font-size: 2.4rem;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}
.mw-pricing-period {
  color: #56718a;
  font-size: 0.9rem;
  margin: 4px 0 16px;
}
.mw-pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: center;
  font-size: 0.95rem;
}
.mw-pricing-card li {
  padding: 4px 0;
}
.mw-btn-pricing {
  width: 100%;
}
.mw-btn-pricing .wp-block-button__link {
  width: 100%;
}

/* 生徒の声 */
.mw-testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.9;
}
.mw-testimonial-author {
  color: var(--wp--preset--color--accent-1);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* 講師紹介 */
.mw-instructor-label {
  color: var(--wp--preset--color--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.mw-instructor-name {
  font-size: 2rem;
  margin: 0 0 4px;
}
.mw-instructor-title {
  color: #56718a;
  font-weight: 500;
  margin-top: 0;
}
.mw-instructor-columns {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.mw-instructor-columns > .wp-block-column {
  width: auto !important;
  min-width: 0;
  flex-basis: auto !important;
}
.mw-instructor-columns .wp-block-image {
  margin: 0;
}
.mw-instructor-columns .wp-block-image img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-inline: auto;
}
.mw-achievement-list li {
  padding: 2px 0;
}

/* ============================================
   CTAバンド
   ============================================ */
.mw-cta-band {
  background: linear-gradient(135deg, #0a3557 0%, #0f5e9c 55%, #2fa0dc 100%);
  text-align: center;
}
.mw-cta-band h2,
.mw-cta-band p {
  color: #ffffff;
}
.mw-btn-cta .wp-block-button__link {
  background: #ffffff;
  color: var(--wp--preset--color--accent-4);
  font-weight: 700;
  padding: 16px 44px;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(4, 26, 46, 0.35);
}
.mw-btn-cta .wp-block-button__link:hover {
  background: var(--wp--preset--color--accent-6);
  color: var(--wp--preset--color--accent-4);
}

/* ボタンバリエーション */
.mw-btn-primary .wp-block-button__link {
  border-radius: 999px;
  padding: 14px 36px;
}
.mw-btn-ghost .wp-block-button__link {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 34px;
}
.mw-btn-ghost .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.15);
}
.mw-btn-secondary .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--wp--preset--color--accent-1);
  color: var(--wp--preset--color--accent-1);
  border-radius: 999px;
}
.mw-btn-secondary .wp-block-button__link:hover {
  background: var(--wp--preset--color--accent-1);
  color: #ffffff;
}
.mw-btn-header .wp-block-button__link {
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ============================================
   FAQ（詳細ブロック）
   ============================================ */
.wp-block-details {
  background: #ffffff;
  border: 1px solid var(--wp--preset--color--accent-5);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}
.wp-block-details summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--wp--preset--color--accent-4);
}
.wp-block-details[open] summary {
  color: var(--wp--preset--color--accent-1);
  margin-bottom: 8px;
}

/* ============================================
   フッター
   ============================================ */
.mw-footer a {
  color: #cfe6f5;
  text-decoration: none;
}
.mw-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.mw-footer .wp-block-site-title a {
  color: #ffffff;
}

/* Googleフォーム */
.mw-booking-form-embed {
  width: 100%;
  max-width: 760px;
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(13, 59, 88, 0.08);
}
.mw-booking-form-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 1347px;
  border: 0;
}
.mw-booking-form-pending {
  max-width: 680px;
  margin: 28px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--wp--preset--color--accent-5);
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
}

/* キーボード操作時のフォーカスをページ全体で明確にする */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #66c2ea;
  outline-offset: 3px;
}

/* ============================================
   ロゴ
   ============================================ */
.mw-header .wp-block-site-logo img {
  height: 44px;
  width: auto;
}
.mw-footer-logo {
  margin-bottom: 8px;
}

/* ============================================
   動画ヒーロー + 波のディバイダー
   ============================================ */
.mw-hero {
  position: relative;
  overflow: hidden;
}
.mw-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23F3F9FD' d='M0,45 C240,95 480,5 720,35 C960,65 1200,15 1440,50 L1440,90 L0,90 Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}
.mw-hero .wp-block-cover__video-background {
  filter: saturate(1.1);
}
.mw-hero-logo img {
  filter: drop-shadow(0 4px 16px rgba(4, 26, 46, 0.4));
}

/* 音符の透かしパターン */
.mw-page-hero,
.mw-cta-band {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Ctext x='12' y='40' font-size='28' fill='%23ffffff' opacity='0.07'%3E%E2%99%AA%3C/text%3E%3Ctext x='58' y='84' font-size='20' fill='%23ffffff' opacity='0.05'%3E%E2%99%AB%3C/text%3E%3C/svg%3E"),
    linear-gradient(135deg, #0a3557 0%, #0f5e9c 55%, #2fa0dc 100%);
}

/* セクション背景をリッチに */
.mw-section-light {
  background: linear-gradient(180deg, #f3f9fd 0%, #e5f1fa 100%);
}
.mw-section-title::before {
  content: "♪";
  display: block;
  color: var(--wp--preset--color--accent-2);
  font-size: 1.15rem;
  margin-bottom: 2px;
}

/* 特徴カードのアイコンをチップに */
.mw-feature-icon {
  width: 72px;
  height: 72px;
  line-height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e3f2fc, #c8e6f8);
  box-shadow: inset 0 0 0 1px rgba(15, 94, 156, 0.12);
  margin: 0 auto 14px;
  font-size: 2rem !important;
  text-align: center;
}

/* 体験レッスンバナー */
.mw-banner img {
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(15, 94, 156, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mw-banner:hover img {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 94, 156, 0.26);
}

/* ============================================
   ヒーロー内マイクロコピー・料金表
   ============================================ */
.mw-hero-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.9;
  margin-top: 14px;
}
.mw-price-table table {
  border-collapse: collapse;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 94, 156, 0.06);
}
.mw-price-table td {
  border: 1px solid var(--wp--preset--color--accent-5);
  padding: 14px 18px;
}
.mw-price-table tr td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--wp--preset--color--accent-1);
  white-space: nowrap;
}

/* ============================================
   コース対象ラベル・ステップカード
   ============================================ */
.mw-course-target {
  font-size: 0.8rem;
  color: var(--wp--preset--color--accent-1);
  background: var(--wp--preset--color--accent-3);
  border-radius: 999px;
  padding: 6px 14px;
  width: fit-content;
  margin: 4px auto 0;
  font-weight: 600;
}
.mw-step-card {
  background: #ffffff;
  border: 1px solid var(--wp--preset--color--accent-5);
  border-radius: 16px;
  padding: 32px 24px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(15, 94, 156, 0.06);
  position: relative;
}
.mw-step-num {
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-2));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  margin: 0 auto 12px;
}

/* お知らせカード */
.mw-news-card {
  background: #ffffff;
  border: 1px solid var(--wp--preset--color--accent-5);
  border-radius: 12px;
  padding: 22px 24px;
  height: 100%;
  transition: box-shadow 0.25s ease;
}
.mw-news-card:hover {
  box-shadow: 0 10px 28px rgba(15, 94, 156, 0.12);
}
.mw-news-card .wp-block-post-title a {
  text-decoration: none;
  color: var(--wp--preset--color--accent-4);
}
.mw-news-card .wp-block-post-title a:hover {
  color: var(--wp--preset--color--accent-1);
}

/* ============================================
   スマホ追従CTA（モバイルのみ表示）
   ============================================ */
.mw-fixed-cta {
  display: none !important;
}
@media (max-width: 781px) {
  .mw-fixed-cta {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--wp--preset--color--accent-5);
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(10, 53, 87, 0.12);
  }
  .mw-fixed-cta .wp-block-buttons {
    width: 100%;
  }
  .mw-fixed-cta .wp-block-button {
    flex: 1;
  }
  .mw-fixed-cta .wp-block-button__link {
    width: 100%;
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 6px 10px;
    font-size: 0.85rem;
    border-radius: 999px;
    text-align: center;
  }
  .mw-fixed-cta-book .wp-block-button__link {
    background: #ffffff;
    color: var(--wp--preset--color--accent-1);
    border: 2px solid var(--wp--preset--color--accent-1);
  }
  /* フッターがボタンに隠れないように余白 */
  .page-id-61 .mw-fixed-cta-book {
    display: none;
  }
  .page-id-61 .mw-fixed-cta-trial {
    flex-basis: 100%;
  }
  .mw-footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }
}

/* スマホ調整 */
@media (max-width: 781px) {
  .mw-header {
    padding: 8px 12px !important;
  }
  .mw-header > .wp-block-group,
  .mw-header > .wp-block-group > .wp-block-group {
    flex-wrap: nowrap !important;
  }
  .mw-header > .wp-block-group {
    gap: 8px !important;
  }
  .mw-header .wp-block-site-title {
    font-size: clamp(0.76rem, 3.5vw, 0.92rem) !important;
    line-height: 1.3;
    white-space: nowrap;
  }
  .mw-header .wp-block-buttons {
    display: none;
  }
  .mw-header .wp-block-navigation__responsive-container-open,
  .mw-header .wp-block-navigation__responsive-container-close {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
  }
  .mw-header .wp-block-navigation__container {
    display: none;
  }
  .mw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex;
  }
  .mw-header .wp-block-navigation__responsive-container.is-menu-open {
    display: block !important;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh !important;
    min-height: 100vh;
    box-sizing: border-box;
    z-index: 1000;
    padding: 72px 24px 24px;
    background: #ffffff;
  }
  .mw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    position: absolute;
    top: 14px !important;
    right: 14px !important;
  }
  .mw-header .wp-block-navigation__responsive-container.is-menu-open a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.1rem;
  }
  body:has(.mw-header .wp-block-navigation__responsive-container.is-menu-open) .mw-header {
    z-index: 1100;
  }
  body:has(.mw-header .wp-block-navigation__responsive-container.is-menu-open) .mw-fixed-cta {
    display: none !important;
  }
  .mw-page-hero {
    padding: 52px 20px;
  }
  .mw-intro-organic {
    padding-top: 82px !important;
    padding-bottom: 68px !important;
  }
  .mw-intro-organic::before {
    top: 40px;
    bottom: 28px;
    width: calc(100% - 24px);
    border-radius: 34px 48px 38px 44px / 28px 36px 30px 34px;
    background-size: 76px auto;
  }
  .mw-intro-organic::after {
    top: 10px;
    width: 64px;
    height: 58px;
    background-size: 56px 49px;
  }
  .mw-pricing-card {
    padding: 32px 24px;
  }
  .mw-instructor-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mw-instructor-columns .wp-block-image img {
    max-width: 260px;
  }
  .mw-hero::after {
    height: 40px;
  }
  .mw-header .wp-block-site-logo img {
    height: 36px;
  }
  .mw-hero {
    min-height: auto !important;
    padding: 24px 0 68px;
  }
  .mw-hero .wp-block-cover__video-background {
    display: block;
    object-position: center top;
  }
  .mw-hero .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    width: min(100% - 32px, 560px);
    padding-right: 0;
  }
  .mw-hero .mw-hero-logo {
    display: none !important;
  }
  .mw-hero-badge {
    order: 1;
    padding: 6px 14px;
    font-size: 0.7rem;
  }
  .mw-hero-lesson-visual {
    order: 2;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(66%, 250px);
    margin: 10px auto 2px;
  }
  .mw-hero-title {
    order: 3;
    font-size: clamp(1.7rem, 8vw, 2.2rem);
    line-height: 1.45;
    margin-top: 8px;
  }
  .mw-hero-lead {
    order: 4;
    margin-top: 2px;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .mw-hero-facts {
    order: 6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    font-size: 0.78rem;
  }
  .mw-hero-facts span {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 6px 8px;
    white-space: normal;
    text-align: center;
  }
  .mw-hero-facts span:nth-child(1),
  .mw-hero-facts span:nth-child(4) {
    grid-column: 1 / -1;
  }
  .mw-hero .mw-btn-cta .wp-block-button__link {
    padding: 14px 22px;
    font-size: 0.92rem;
    line-height: 1.45;
  }
  .mw-hero > .wp-block-cover__inner-container > .wp-block-buttons {
    order: 5;
    margin-top: 18px !important;
  }
  .mw-hero-note {
    order: 7;
    font-size: 0.75rem;
  }
  .mw-feature-symbol {
    margin-left: auto;
    margin-right: auto;
  }
  .mw-philosophy-block h3 {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .mw-hero .wp-block-cover__video-background {
    display: none;
  }
}
