/* ★自動生成: scripts/build-css.mjs。直接編集しない。
   編集するのは tokens.json（値）/ scripts/templates/wp-faithful-base.css（不変・共通）/ site/css/decorations.css（装飾）。 */

/* ---------- (1) tokens (:root) <- site/tokens.json ---------- */
:root {
  --wp--preset--color--base: #ffffff;
  --wp--preset--color--white: #ffffff;
  --wp--preset--color--ivory: #f5fbfa;
  --wp--preset--color--cream: #eef8f7;
  --wp--preset--color--primary: #087d8f;
  --wp--preset--color--beige: #cceae5;
  --wp--preset--color--gold: #58bfae;
  --wp--preset--color--text: #263238;
  --wp--preset--color--text-light: #64777c;
  --wp--preset--color--border: #d7e7e5;
  --wp--preset--color--dark: #10343a;

  --wp--preset--font-family--serif: 'Noto Sans JP', system-ui, sans-serif;
  --wp--preset--font-family--display: 'Noto Sans JP', system-ui, sans-serif;
  --wp--preset--font-family--sans: 'Noto Sans JP', system-ui, sans-serif;

  --wp--preset--font-size--site-sm: 14px;
  --wp--preset--font-size--site-base: 16px;
  --wp--preset--font-size--site-lg: 20px;
  --wp--preset--font-size--site-xl: 28px;
  --wp--preset--font-size--site-2xl: 40px;
  --wp--preset--font-size--site-3xl: 58px;

  --wp--preset--spacing--space-xs: 8px;
  --wp--preset--spacing--space-sm: 16px;
  --wp--preset--spacing--space-md: 24px;
  --wp--preset--spacing--space-lg: 32px;
  --wp--preset--spacing--space-xl: 48px;
  --wp--preset--spacing--space-2xl: 64px;
  --wp--preset--spacing--space-3xl: 80px;
  --wp--preset--spacing--space-4xl: 112px;

  --content-size: 1140px;
}

/* ---------- (1b) 色ユーティリティ（tokens.colors から生成） ---------- */
/* WP プリセット色ユーティリティ（tokens.colors から生成）。背景透明バグ防止＝§2 */
.has-base-color { color: var(--wp--preset--color--base) !important; }
.has-white-color { color: var(--wp--preset--color--white) !important; }
.has-ivory-color { color: var(--wp--preset--color--ivory) !important; }
.has-cream-color { color: var(--wp--preset--color--cream) !important; }
.has-primary-color { color: var(--wp--preset--color--primary) !important; }
.has-beige-color { color: var(--wp--preset--color--beige) !important; }
.has-gold-color { color: var(--wp--preset--color--gold) !important; }
.has-text-color { color: var(--wp--preset--color--text) !important; }
.has-text-light-color { color: var(--wp--preset--color--text-light) !important; }
.has-border-color { color: var(--wp--preset--color--border) !important; }
.has-dark-color { color: var(--wp--preset--color--dark) !important; }
.has-base-background-color { background-color: var(--wp--preset--color--base) !important; }
.has-white-background-color { background-color: var(--wp--preset--color--white) !important; }
.has-ivory-background-color { background-color: var(--wp--preset--color--ivory) !important; }
.has-cream-background-color { background-color: var(--wp--preset--color--cream) !important; }
.has-primary-background-color { background-color: var(--wp--preset--color--primary) !important; }
.has-beige-background-color { background-color: var(--wp--preset--color--beige) !important; }
.has-gold-background-color { background-color: var(--wp--preset--color--gold) !important; }
.has-text-background-color { background-color: var(--wp--preset--color--text) !important; }
.has-text-light-background-color { background-color: var(--wp--preset--color--text-light) !important; }
.has-border-background-color { background-color: var(--wp--preset--color--border) !important; }
.has-dark-background-color { background-color: var(--wp--preset--color--dark) !important; }

/* ---------- (2) WP忠実ベース <- scripts/templates/wp-faithful-base.css ---------- */
/* =====================================================================
   wp-faithful-base.css — 実WordPress を忠実に再現する「不変ベース」
   ---------------------------------------------------------------------
   ★全プロジェクト共通。サイトごとに書き換えない（＝WPシミュレータ層）。
   過去の忠実性バグ（背景透明 / contentSize / columns縦揃え / cover padding /
   flex stretch / cover overlayのz-index）は全てこの層。1ファイルに固定して再発を防ぐ。

   使い方: 各サイトの style.css 冒頭で読み込む:
     @import "wp-faithful-base.css";
   このファイルは token 変数（--wp--preset--*）が :root で定義済みである前提。
   token は site の style.css / tokens.css 側で定義する（gen-root-css.mjs）。
   ===================================================================== */

/* box-sizing */
* { box-sizing: border-box; }
.wp-block-group { box-sizing: border-box; }

/* body margin: WP/テーマは body 既定 8px マージンを除去（alignfull が端まで届く前提）。
   静的にこれが無いと alignfull が 8px 内側に入り x=8/w=幅-16 で WP とズレる（型非依存）。 */
html, body { margin: 0; }

/* ★body 背景／文字色: WP の global-styles は body に background/color を必ず持つが、静的で未指定だと
   body が透明＝プレビューで暗幕が透けて「暗いサイト」に誤認、かつ WP と不一致になる（毎サイト踏む）。
   ここで必ず出す＝decorations で書き忘れても透明にならない。ページ背景は `base` スラッグが正
   （tokens.colors に base を置く＝自由デザインの約束）。未定義なら白にフォールバック。
   decorations の body 規則は style.css の後段なので、必要ならサイト側で上書きできる。 */
body { background-color: var(--wp--preset--color--base, #ffffff); color: var(--wp--preset--color--text, #2c2622); }

/* constrained: WP は constrained の「子」を contentSize 幅に絞る（blanket で属性を潰さない＝§4.6） */
.is-layout-constrained > * { max-width: var(--content-size, 1140px); margin-left: auto; margin-right: auto; }
.is-layout-constrained > .alignfull { max-width: none; }
.alignfull { max-width: none; width: 100%; }

/* ★block-gap（flow/constrained）: CSS の gap: は flex/grid 専用で flow には無効。WP は flow/constrained の
   子に margin-block-start で block-gap を入れる。これを忠実再現する（無いと blockGap 指定のセクションで
   子（FAQグループ・News行リスト等）が 0px で密着＝スペース欠け）。値はマークアップ側が
   --wp--style--block-gap で渡す（inject-block-gap.mjs が inline gap: から自動補完）。未設定なら 0＝無害。 */
.is-layout-constrained > * + *,
.is-layout-flow > * + * { margin-block-start: var(--wp--style--block-gap, 0); }

/* ★段落の既定マージン除去: WP/TT5 は core paragraph の margin を 0 にし、要素間スペースは block-gap
   （flow/constrained の margin-block-start）か flex/grid の gap で出す。静的の <p> は UA 既定の
   margin（上下 ~1em）を残すため、flex カード内（card-body / voice-card 等）で WP より縦が膨らみ
   measure の h が合わない（型非依存・毎サイト踏む）。ここで 0 にして静的==WP にする。 */
p { margin: 0; }

/* ★見出しの既定マージン除去: WP/TT5 は core heading の margin を 0 にし、要素間スペースは block-gap で出す。
   静的の hN は UA 既定マージン（~0.67em）を残すため WP より縦が膨らむ。**要素セレクタ（低詳細度）で 0** に
   するのがミソ: 上の `.is-layout-constrained > * + *`（block-gap）が勝てるので、非先頭の見出しは block-gap 分
   だけ離れ（WP と同じ）、先頭の見出しは 0 になる。`.wp-block-heading{margin:0}` を decorations に書くと
   block-gap と同詳細度で後勝ちし block-gap を殺す（plan の page-header で h1↔eyebrow 間が詰まる）ので、ここで element 指定にする。 */
h1, h2, h3, h4, h5, h6 { margin: 0; }

/* flex: WP は flex グループに align-items:flex-start を出力（子が内容幅に縮む。stretch だと見出し幅がズレる） */
.is-layout-flex { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--space-md, 24px); align-items: flex-start; }

/* columns: 縦揃えはクラス起点（blanket の align-items:center にしない＝§3.8） */
.wp-block-columns { display: flex; gap: var(--wp--preset--spacing--space-xl, 48px); }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column.is-vertically-aligned-center { align-self: center; }

.wp-block-image { margin: 0; }
.wp-block-image img { max-width: 100%; height: auto; }   /* WP/テーマ既定。無いと原寸画像がカラムを突き破る（初回バグの定番） */
/* 画像は既定で角丸なし（＝WP/TT5 の実挙動。四角が忠実）。角丸が欲しい設計の時だけ
   そのサイトの tokens/decorations で `.wp-block-image img{border-radius:…}` を付ける。
   ★ここに固定の border-radius を焼かない（全サイトの画像が勝手に丸くなる＝美的デフォルトの混入）。 */
/* ★constrained の「直接の子」画像は他の子と同様に中央寄せ（WP の実挙動）。
   上の margin:0 が constrained 子の中央寄せ（margin-inline:auto）を同詳細度で打ち消し、
   記事本文(article-body 等)直下の figure が左寄せになるのを防ぐ（型非依存・毎サイト踏む）。 */
.is-layout-constrained > .wp-block-image { margin-left: auto; margin-right: auto; }

/* テキスト配置 */
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.has-text-align-right { text-align: right; }

/* ★WP プリセット色ユーティリティ（has-{slug}-color / has-{slug}-background-color）は
   パレットのスラッグ依存なので、ここには固定で書かない。
   build-css.mjs が tokens.json の colors から生成して style.css に挿入する（!important も WP に合わせる）。
   無いと has-*-background-color が静的で無視され全セクション背景が透明になる（背景バグの元）。 */

/* ボタン（基本。色は has-スラッグ や インラインで付与） */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--space-sm, 16px); }
.wp-block-button__link {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 16px 36px; /* TT5 既定ボタン padding（型非依存）。静的に無いと WP だけ大きくなる（h・x ズレ） */
  border-radius: 0;   /* 四角＝中立（WP/TT5 既定の pill を打ち消す）。build-theme-json がこの値を導出＝静的==WP。
                         ★角丸・hover・transition は"スタイル"なので焼かない。欲しい設計だけ decorations で付ける（REMOVED-STYLE-DEFAULTS.md）。 */
}
/* ★outline スタイル: WP core の「Outline」は透明背景＋2px 枠（枠色＝文字色 currentColor）。
   静的ベースに無いと is-style-outline ボタンが塗りボタンに見える（枠が出ない）。型非依存。
   枠色を文字と変えたい等の個別調整は当該ボタンの css 属性で。 */
.is-style-outline > .wp-block-button__link { background-color: transparent; border: 2px solid currentColor; }

/* 見出しフォントは"スタイル"（サイト毎の選択）→ 焼かない。未指定なら body フォントを継承（中立）。
   serif 見出しにしたい等はそのサイトの decorations で `.wp-block-heading{font-family:var(--…serif)}`。
   build-theme-json がその値を CSS から導出して global-styles に出すので静的==WP（REMOVED-STYLE-DEFAULTS.md）。 */

/* ★ロゴ（site-title）のリンク色: WP core は site-title の <a> を color:inherit にする
   （`.wp-block-site-title a{color:inherit}`）。静的でロゴを <p class="site-logo-text"><a> で書くと
   <a> が既定リンク色（青）になり WP と不一致＝毎サイト踏む。WP挙動を忠実再現する。 */
.site-logo-text a { color: inherit; text-decoration: none; }

.wp-block-list { padding-left: 1.2em; }
.wp-block-list li { margin-bottom: var(--wp--preset--spacing--space-xs, 8px); }
.wp-block-separator { border: none; border-top: 1px solid var(--wp--preset--color--border); margin: var(--wp--preset--spacing--space-xl, 48px) auto; }

/* Cover の WP プリミティブ（グラデ等の装飾はサイト側 style.css に書く）。
   ・padding:16px = WP core の最小 padding ・inner-container は z-index:2 で overlay の上 */
.wp-block-cover { position: relative; display: flex; align-items: center; overflow: hidden; padding: 16px; background-size: cover; background-position: center; }
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; }

/* レスポンシブの不変部分（columns 縦積み・flex 均等カードの縦積み） */
@media (max-width: 768px) {
  .wp-block-columns { flex-direction: column; gap: var(--wp--preset--spacing--space-lg, 32px); }
  [style*="flex-basis:0"] { flex-basis: 100% !important; }
}

/* ---------- (3) サイト固有の装飾 <- site/css/decorations.css ---------- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--wp--preset--color--text);
  background: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--sans);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0;
}

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

.site-main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(215, 231, 229, .78);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo-text,
.footer-logo {
  margin: 0;
  color: var(--wp--preset--color--primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.site-logo-text a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-logo-text a::before,
.footer-logo::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 26px;
  margin-right: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wp--preset--color--gold), var(--wp--preset--color--primary));
  vertical-align: -5px;
}

.site-nav {
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--wp--preset--color--text);
  font-size: 13px;
  font-weight: 600;
}

.site-nav p,
.header-actions p,
.site-footer p {
  margin: 0;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--wp--preset--color--gold);
}

.header-actions {
  align-items: center;
  gap: 14px;
}

.header-phone {
  color: var(--wp--preset--color--primary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.wp-block-button__link {
  border-radius: 4px;
  padding: 14px 24px;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  background: var(--wp--preset--color--dark);
}

.btn-reserve .wp-block-button__link {
  box-shadow: 0 12px 26px rgba(8, 125, 143, .22);
}

.btn-secondary .wp-block-button__link {
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--primary);
}

.btn-outline .wp-block-button__link {
  background: rgba(255, 255, 255, .84);
  color: var(--wp--preset--color--text);
  border: 1px solid rgba(8, 125, 143, .28);
}

.btn-light .wp-block-button__link {
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--primary);
}

.btn-outline-light .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--white);
  border: 1px solid rgba(255, 255, 255, .7);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 58px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 34%, rgba(255, 255, 255, .18) 70%, rgba(255, 255, 255, .08) 100%), url("../images/hero-dental-clinic-unsplash.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--wp--preset--color--white));
}

.hero-copy {
  max-width: 680px;
  margin-left: max(24px, calc((100% - 1140px) / 2)) !important;
  margin-right: auto !important;
}

.hero-copy h1 {
  margin: 0;
  color: var(--wp--preset--color--text);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.16;
}

.hero-copy p {
  max-width: 520px;
  margin-top: 22px;
  color: var(--wp--preset--color--text-light);
  font-size: 19px;
  line-height: 2;
}

.hero-meta {
  margin-top: 34px;
  padding: 22px 26px;
  max-width: 520px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(215, 231, 229, .8);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(16, 52, 58, .11);
}

.hero-meta p {
  margin: 0;
  color: var(--wp--preset--color--text);
  font-size: 15px;
  line-height: 1.9;
}

.hero-buttons {
  margin-top: 30px;
}

.section-head {
  margin-bottom: 34px;
}

.section-head p {
  max-width: 620px;
  color: var(--wp--preset--color--text-light);
}

.section-label {
  margin: 0 0 10px;
  color: var(--wp--preset--color--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wp-block-heading {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--wp--preset--color--text);
  line-height: 1.35;
  letter-spacing: 0;
}

h2.wp-block-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
}

h3.wp-block-heading {
  font-size: 21px;
  font-weight: 700;
}

.white-section,
.soft-section,
.page-header {
  padding-top: var(--wp--preset--spacing--space-4xl);
  padding-bottom: var(--wp--preset--spacing--space-4xl);
}

.compact-section {
  padding-top: var(--wp--preset--spacing--space-3xl);
  padding-bottom: var(--wp--preset--spacing--space-3xl);
}

.page-header {
  text-align: center;
}

.page-header h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.page-header p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--wp--preset--color--text-light);
}

.card,
.news-row,
.service-card,
.feature-card,
.doctor-panel,
.office-panel,
.faq-card,
.info-panel {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 52, 58, .08);
}

.feature-card,
.service-card,
.faq-card,
.info-panel {
  padding: 30px;
}

.feature-card p,
.service-card p,
.faq-card p,
.info-panel p {
  color: var(--wp--preset--color--text-light);
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--primary);
  font-size: 14px;
  font-weight: 700;
}

.news-list {
  border-top: 1px solid var(--wp--preset--color--border);
}

.news-row {
  box-shadow: none;
  border-width: 0 0 1px 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  background: transparent;
}

.news-date {
  color: var(--wp--preset--color--primary);
  font-size: 14px;
  font-weight: 700;
}

.news-category {
  justify-self: end;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--primary);
  font-size: 12px;
  font-weight: 700;
}

.image-frame img,
.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.doctor-panel,
.office-panel {
  overflow: hidden;
}

.doctor-panel .wp-block-column,
.office-panel .wp-block-column {
  padding: 36px;
}

.office-photo {
  min-height: 430px;
  background-image: url("../images/hero-dental-clinic-unsplash.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.doctor-panel .office-photo {
  min-height: 360px;
}

.schedule-table {
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 8px;
  background: var(--wp--preset--color--white);
}

.schedule-table table,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td,
.wp-block-table th,
.wp-block-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--wp--preset--color--border);
  text-align: center;
}

.schedule-table th,
.wp-block-table th {
  color: var(--wp--preset--color--primary);
  font-weight: 700;
}

.reservation-band {
  padding-top: var(--wp--preset--spacing--space-2xl);
  padding-bottom: var(--wp--preset--spacing--space-2xl);
  color: var(--wp--preset--color--white);
}

.reservation-band h2,
.reservation-band p {
  color: var(--wp--preset--color--white);
}

.site-footer {
  padding-top: var(--wp--preset--spacing--space-3xl);
  padding-bottom: var(--wp--preset--spacing--space-xl);
  color: rgba(255, 255, 255, .78);
}

.site-footer h3 {
  color: var(--wp--preset--color--white);
  font-size: 16px;
}

.site-footer .footer-logo {
  color: var(--wp--preset--color--white);
  margin-bottom: 18px;
}

.copyright {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.cat-bar {
  justify-content: center;
  gap: 12px;
}

.cat-bar p {
  margin: 0;
}

.cat-bar a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 999px;
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--text);
  font-size: 14px;
  font-weight: 700;
}

.article-body {
  font-size: 17px;
}

.article-body p {
  color: var(--wp--preset--color--text-light);
}

.site-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--wp--preset--color--text);
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--wp--preset--color--text);
  font: inherit;
  background: var(--wp--preset--color--white);
}

.form-row textarea {
  min-height: 150px;
}

.req {
  display: inline-block;
  margin-left: 8px;
  color: var(--wp--preset--color--primary);
  font-size: 12px;
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.consent-row input {
  width: auto;
}

.form-submit {
  justify-self: start;
  border: 0;
  border-radius: 4px;
  padding: 16px 28px;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 8px;
}

.js .fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .header-inner {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 640px;
    padding-top: 48px;
  }

  .hero::before {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .78)), url("../images/hero-dental-clinic-unsplash.jpg");
    background-position: 62% center;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .news-category {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .wp-block-columns {
    flex-direction: column;
  }

  .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .white-section,
  .soft-section,
  .page-header {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .feature-card,
  .service-card,
  .faq-card,
  .info-panel {
    padding: 24px;
  }

  .doctor-panel .wp-block-column,
  .office-panel .wp-block-column {
    padding: 24px;
  }

  .doctor-panel .office-photo,
  .office-panel .office-photo {
    min-height: 220px;
    background-position: 34% center;
  }

  .wp-block-buttons {
    width: 100%;
  }

  .wp-block-button,
  .wp-block-button__link {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .reservation-band .wp-block-buttons {
    justify-content: stretch !important;
  }
}
