/*
Theme Name: Gzhel 2026
Theme URI: https://muzejgzheli.ru/
Author: Музей Гжельского промысла
Description: Лёгкая тема музея: тёмно-синий и золото, Roboto Slab / Open Sans, без конструкторов страниц.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: gzhel2026
*/

/* ==========================================================================
   Токены
   ========================================================================== */
:root {
  --navy: #072768;
  --navy-2: #0a3a8f;
  --blue: #0f4f99;
  --blue-mid: #1d63b8;
  --blue-soft: #e8f1fa;
  --blue-wash: #f3f7fc;

  --gold: #c19a3f;
  --gold-2: #d8b864;
  --gold-soft: #efe1bd;
  --gold-deep: #8f6f22;

  --ink: #081a3a;
  --ink-2: #33456a;
  --muted: #5f708c;
  --faint: #8b98ad;

  --paper: #ffffff;
  --paper-2: #f7fafd;
  --line: #dde6f2;
  --line-2: #c9d8ea;

  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow: 0 30px 70px -34px rgba(7, 39, 104, 0.35), 0 10px 26px -18px rgba(7, 39, 104, 0.2);
  --shadow-soft: 0 16px 44px -26px rgba(7, 39, 104, 0.28);
  --shadow-gold: 0 18px 40px -22px rgba(193, 154, 63, 0.5);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Roboto Slab", Georgia, serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --font-cond: "Roboto Condensed", "Arial Narrow", sans-serif;

  color-scheme: light;
}

/* ==========================================================================
   Сброс и база
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.02vw, 16.5px);
  line-height: 1.68;
  color: var(--ink-2);
  background:
    radial-gradient(900px 620px at 88% -6%, #e9f2fb 0%, rgba(233, 242, 251, 0) 62%),
    radial-gradient(760px 520px at -6% 26%, #f0f6fd 0%, rgba(240, 246, 253, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 60%, #ffffff 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 1.15em; height: 1.15em; flex: none; }
a { color: var(--blue); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold-deep); }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }

.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 12px 18px; background: var(--navy); color: #fff; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { margin: 16px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--faint); margin-top: 6px; }

/* ==========================================================================
   Верхняя полоса
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, var(--navy) 0%, #0b3585 60%, var(--navy) 100%);
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid var(--gold);
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; padding-block: 6px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 14px; height: 14px; color: var(--gold-2); }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--gold-2); }
.topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); opacity: 0.7; }
.topbar__socials { display: inline-flex; gap: 12px; }
.topbar__socials a { display: inline-flex; }
.topbar__socials svg { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.75); }
.topbar__socials a:hover svg { color: var(--gold-2); }
.topbar__socials .icon-max { color: #fff; }

/* ==========================================================================
   Шапка
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 82px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { height: 58px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.nav__links a {
  position: relative; padding: 9px 9px;
  font-family: var(--font-cond); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__links a:hover, .nav__links .current-menu-item > a, .nav__links .is-active { color: var(--blue); }
.nav__links a:hover::after, .nav__links .current-menu-item > a::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-cond); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.03em; color: var(--navy); white-space: nowrap;
}
.header__phone svg { width: 16px; height: 16px; color: var(--gold-deep); }
.header__phone:hover { color: var(--blue); }

.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff; cursor: pointer; place-items: center;
}
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: 0.3s; }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); transition: 0.3s;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.header.is-open .nav__burger span { transform: rotate(45deg); }
.header.is-open .nav__burger span::before { top: 0; transform: rotate(-90deg); }
.header.is-open .nav__burger span::after { top: 0; opacity: 0; }

.nav__mobile { display: none; padding: 14px 0 18px; border-top: 1px solid var(--line); }
.nav__mobile a {
  display: block; padding: 12px 6px;
  font-family: var(--font-cond); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:hover { color: var(--blue); }
.nav__mobile .btn { width: 100%; margin-top: 14px; border-bottom: 0; }
.header.is-open .nav__mobile { display: block; }

/* ==========================================================================
   Кнопки, ссылки-стрелки, бейджи
   ========================================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; font-family: var(--font-cond);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-color: rgba(7, 39, 104, 0.2);
  box-shadow: 0 16px 34px -16px rgba(7, 39, 104, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(7, 39, 104, 0.72); }
.btn--gold {
  color: #2a1f06;
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  border-color: rgba(143, 111, 34, 0.25);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { color: #2a1f06; transform: translateY(-2px); }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--navy); }
.btn--ghost:hover { color: var(--blue); border-color: var(--gold-soft); }
.btn--sm { padding: 11px 18px; font-size: 0.82rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-cond); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s, gap 0.35s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--gold-deep); border-color: var(--gold); gap: 14px; }
.link-arrow:hover svg { transform: translateX(2px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-cond); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ==========================================================================
   Секции и заголовки
   ========================================================================== */
.section { padding-block: clamp(44px, 6.5vh, 88px); }
.section--tight { padding-block: clamp(32px, 4.5vh, 58px); }
.section--wash { background: var(--blue-wash); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vh, 44px); }
.section-head .h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--between { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head__actions { flex: none; }

.display { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.015em; color: var(--navy); }
.display .gold { color: var(--gold-deep); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.35rem); line-height: 1.14; color: var(--navy); }
.lead { font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--ink-2); line-height: 1.7; max-width: 64ch; }

/* ==========================================================================
   Главная: hero и блоки
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vh, 86px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 420px at 86% 8%, rgba(193, 154, 63, 0.16), transparent 60%),
    radial-gradient(680px 420px at 4% 90%, rgba(15, 79, 153, 0.1), transparent 62%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.hero__copy .display { margin-top: 14px; }
.hero__copy .lead { margin-top: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__panel {
  position: relative; padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 252, 0.9));
  box-shadow: var(--shadow); overflow: hidden;
}
.hero__panel::before {
  content: ""; position: absolute; right: -80px; top: -90px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(193, 154, 63, 0.26), transparent 62%);
  filter: blur(8px); pointer-events: none;
}
.hero__panel-title { font-family: var(--font-cond); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.hero__facts { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; position: relative; }
.hero__fact { display: flex; gap: 12px; align-items: flex-start; }
.hero__fact svg { width: 20px; height: 20px; color: var(--gold-deep); margin-top: 2px; }
.hero__fact strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: var(--navy); }
.hero__fact span { font-size: 0.88rem; color: var(--muted); }

.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.entry-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: 0 10px 30px -22px rgba(7, 39, 104, 0.25);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.entry-card:hover { transform: translateY(-4px); border-color: var(--gold-soft); box-shadow: 0 26px 54px -30px rgba(7, 39, 104, 0.35); }
.entry-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--blue-wash); overflow: hidden; }
.entry-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.entry-card:hover .entry-card__media img { transform: scale(1.04); }
.entry-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.entry-card__meta { font-family: var(--font-cond); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.entry-card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.35; color: var(--navy); }
.entry-card__title a { color: inherit; }
.entry-card__title a:hover { color: var(--blue); }
.entry-card__text { font-size: 0.9rem; color: var(--muted); line-height: 1.58; }
.entry-card--wide { grid-column: span 1; }

/* ==========================================================================
   Контент страниц и записей
   ========================================================================== */
.entry-header { padding-block: clamp(30px, 5vh, 56px) clamp(16px, 2.5vh, 26px); }
.entry-header__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 12px; font-family: var(--font-cond); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.entry-header__meta a { color: var(--gold-deep); }
.breadcrumbs { font-family: var(--font-cond); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); }

.entry-content { max-width: 840px; padding-bottom: clamp(36px, 6vh, 70px); }
.entry-content > * + * { margin-top: 1.05em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.3em; }
.entry-content a { border-bottom: 1px solid rgba(15, 79, 153, 0.25); }
.entry-content a:hover { border-color: var(--gold); }
.entry-content img, .entry-content iframe { max-width: 100%; border-radius: var(--radius-sm); }
.entry-content iframe { width: 100%; min-height: 340px; border: 0; }
.entry-content blockquote {
  padding: 18px 24px; border-left: 3px solid var(--gold); background: var(--paper-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.02rem; color: var(--ink-2);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--paper-2); font-family: var(--font-cond); letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.entry-content .wp-block-image figcaption { font-size: 0.82rem; color: var(--faint); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 1.2em; }
.gallery-item { margin: 0 !important; }
.gallery-item img { border-radius: var(--radius-sm); }

.page-main { padding-bottom: clamp(40px, 6vh, 80px); }
.page-main--excursions { padding: 0; }

/* Форма CF7 (общая) */
.wpcf7 { max-width: 640px; }
.wpcf7-form p { margin: 0 0 12px; }
.wpcf7-form label {
  display: block; margin-bottom: 4px; color: var(--muted);
  font-family: var(--font-cond); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2);
  border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 0.93rem;
}
.wpcf7-form textarea { min-height: 110px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 79, 153, 0.12); }
.wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; min-width: 200px;
  padding: 13px 26px; border: 0; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff; font-family: var(--font-cond); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 16px 34px -16px rgba(7, 39, 104, 0.65);
}
.wpcf7-submit:hover { transform: translateY(-2px); }
.wpcf7-not-valid-tip { color: #9a2a1e; font-size: 0.8rem; margin-top: 4px; }
.wpcf7-response-output { margin: 14px 0 0 !important; padding: 10px 14px !important; border: 1px solid var(--line) !important; border-radius: 10px !important; background: var(--paper-2); font-size: 0.88rem; }

/* Пагинация */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 10px 40px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  padding: 0 12px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-cond); font-weight: 700; color: var(--ink-2); background: #fff;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ==========================================================================
   Подвал
   ========================================================================== */
.footer {
  background: var(--navy); color: rgba(255, 255, 255, 0.78);
  padding: clamp(38px, 5vw, 60px) 0 26px; border-top: 3px solid var(--gold);
}
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.72fr)); gap: clamp(24px, 4vw, 54px); }
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 38ch; }
.footer__logo-card {
  display: inline-flex; align-items: center; justify-content: center; background: #fff;
  padding: 12px 16px; border-radius: 10px; width: fit-content;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}
.footer__logo-card img { height: 46px; width: auto; }
.footer__about { font-size: 0.88rem; line-height: 1.62; color: rgba(255, 255, 255, 0.7); }
.footer .link-arrow { color: var(--gold-2); }
.footer .link-arrow:hover { color: #fff; border-color: var(--gold); }
.footer__col h3 { font-family: var(--font-cond); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer__col a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom {
  margin-top: clamp(28px, 4vw, 46px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center;
  font-family: var(--font-cond); font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.55);
}
.footer__bottom .tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(216, 184, 100, 0.4); color: rgba(216, 184, 100, 0.9); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .header__phone { display: none; }
}
@media (max-width: 980px) {
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .topbar__left .topbar__item--address { display: none; }
  .topbar__left .topbar__dot { display: none; }
  .topbar__inner { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 8px; }
  .header__inner { min-height: 68px; }
  .brand__logo { height: 38px; }
  .entry-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--between { display: block; }
  .section-head__actions { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; scroll-behavior: auto !important; }
}



/* Карта на странице контактов */
.gzhel-map { margin: 8px 0 clamp(40px, 6vh, 70px); }
.gzhel-map iframe { display: block; width: 100%; height: clamp(320px, 46vh, 520px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* Фотогалерея */
.gzhel-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-bottom: clamp(40px, 6vh, 70px); }
.gzhel-gallery__item { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; box-shadow: 0 10px 30px -22px rgba(7, 39, 104, 0.25); }
.gzhel-gallery__item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.gzhel-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gzhel-gallery__item:hover img { transform: scale(1.04); }
.gzhel-gallery__item figcaption { padding: 10px 12px; font-size: 0.84rem; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .gzhel-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gzhel-gallery { grid-template-columns: 1fr; } }


/* Главная — разделы как на архивной версии */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 1040px; margin: 0 auto; }
.welcome-item { display: flex; gap: 18px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: 0 10px 30px -24px rgba(7, 39, 104, 0.25); }
.welcome-item img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.welcome-item h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--navy); line-height: 1.32; }

.cta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cta-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.cta-card img { width: 120px; height: 120px; object-fit: contain; }
.cta-card .btn { width: 100%; }

.home-posts { margin-top: 36px; }
.home-posts__title { font-family: var(--font-cond); font-size: 1.02rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.entry-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.home-map { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.home-map__address p { margin-bottom: 10px; color: var(--ink-2); }
.home-map__frame iframe { width: 100%; height: 420px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.home-map__subtitle { font-family: var(--font-cond); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-top: 10px; }

@media (max-width: 980px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-map { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cta-grid { grid-template-columns: 1fr; }
  .entry-grid--2, .entry-grid--4 { grid-template-columns: 1fr; }
}


/* ===== Шапка: логотип по центру, меню второй строкой ===== */
.header--center .header__top { position: relative; display: flex; align-items: center; justify-content: center; min-height: 92px; padding-block: 12px; }
.header--center .brand { justify-content: center; }
.header--center .brand__logo { height: 66px; width: auto; }
.header--center .nav__burger { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: none; }
.header--center .header__cta { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.header--center .header__nav { border-top: 1px solid var(--line); padding-block: 6px; }
.header--center .nav__links { justify-content: center; flex-wrap: wrap; }
.header--center .nav__links a { padding: 9px 11px; }

@media (max-width: 1200px) {
  .header--center .header__nav { display: none; }
  .header--center .header__cta { display: none; }
  .header--center .nav__burger { display: grid; }
}
@media (max-width: 640px) {
  .header--center .header__top { min-height: 74px; }
  .header--center .brand__logo { height: 44px; }
}

/* ===== Hero с видео-фоном и белой плёнкой 50% ===== */
.hero--video { position: relative; isolation: isolate; overflow: hidden; background: #eef4fb; }
.hero--video::before { display: none; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__overlay { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.7); z-index: -1; }
.hero--video .hero__grid { position: relative; z-index: 1; padding-block: clamp(36px, 6vh, 76px); }
.hero--video .hero__panel { background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero--video .display { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }


/* ===== Меню: убираем маркеры списка и лишние графические элементы ===== */
.nav__links,
.nav__mobile,
.nav__links ul,
.nav__mobile ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}
.nav__links li,
.nav__mobile li {
  list-style: none !important;
  list-style-type: none !important;
}
.nav__links li::marker,
.nav__mobile li::marker,
.nav__links li::before,
.nav__mobile li::before {
  content: none !important;
  display: none !important;
}
.nav__links a,
.nav__mobile a {
  text-decoration: none !important;
}
.nav__links a::after {
  display: none !important;
}
.nav__links a:hover {
  color: var(--blue);
}



/* Ссылка «Сайт сделан с … в Gionet Studio» в подвале */
.footer__bottom a.tag {
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
}
.footer__bottom a.tag:hover {
  color: #fff;
  border-color: var(--gold);
}

/* Персоны: фото целиком, без жёсткого кропа */
.category-zhizn-zamechatelnykh-lyudej .entry-card__media,
.category-znamenitye-lyudi-gzheli .entry-card__media,
.category-khudozhniki-i-skulptory-gzheli .entry-card__media {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  padding: 10px;
}
.category-zhizn-zamechatelnykh-lyudej .entry-card__media img,
.category-znamenitye-lyudi-gzheli .entry-card__media img,
.category-khudokhniki-i-skulptory-gzheli .entry-card__media img,
.category-khudozhniki-i-skulptory-gzheli .entry-card__media img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.category-zhizn-zamechatelnykh-lyudej .entry-card:hover .entry-card__media img,
.category-znamenitye-lyudi-gzheli .entry-card:hover .entry-card__media img,
.category-khudozhniki-i-skulptory-gzheli .entry-card:hover .entry-card__media img {
  transform: none;
}


/* ===== Hero: фотоколлаж как в референсе ===== */
.hero--home .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.hero__media { position: relative; padding: 0 0 30px 20px; max-width: 620px; margin-left: auto; }
.hero-photo { position: relative; background: #fff; padding: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 6px; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }
.hero-photo--main { width: 88%; margin-left: auto; aspect-ratio: 4 / 3; }
.hero-photo--float { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1 / 1; z-index: 2; border-color: var(--gold-soft); }
.hero-badge { position: absolute; right: 1%; bottom: 8%; z-index: 3; width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 1px solid var(--gold-soft); box-shadow: 0 18px 40px -18px rgba(7, 39, 104, 0.45); display: grid; place-items: center; padding: 8px; }
.hero-badge img { width: 100%; height: 100%; object-fit: contain; }
.ornament { position: absolute; z-index: 4; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(15, 79, 153, 0.16)); }
.ornament--tl { left: -8px; top: -14px; width: 88px; }
.ornament--br { right: -4px; bottom: -2px; width: 76px; }

@media (max-width: 980px) {
  .hero--home .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; margin: 24px auto 0; padding-left: 0; }
  .hero-photo--float { width: 48%; }
}
@media (max-width: 560px) {
  .hero-badge { width: 72px; height: 72px; right: 0; bottom: 2%; }
  .ornament--tl { width: 70px; }
  .ornament--br { width: 62px; }
}

/* ===== Блок четырёх кнопок: фон-картина как в референсе ===== */
.home-tiles {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eef4fb url("assets/img/bg-painting.webp") center center / cover no-repeat;
  border-block: 1px solid var(--line);
}
.home-tiles::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  z-index: -1;
}
.home-tiles .cta-card {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ===== Блок с картиной: больше воздуха, круглые иллюстрации ===== */
.section.home-tiles {
  padding-block: clamp(64px, 9vh, 112px);
}
.home-tiles .cta-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  gap: 16px;
}
.home-tiles .cta-card__icon {
  display: grid;
  place-items: center;
  width: clamp(112px, 12vw, 152px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 22px 44px -22px rgba(7, 39, 104, 0.5);
  padding: clamp(16px, 2.2vw, 24px);
}
.home-tiles .cta-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Убираем размытие у блока с кнопками */
.home-tiles .cta-card {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* ===== Слайдер «Немного о Гжели» ===== */
.home-posts__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.home-posts__title { margin: 0; padding: 0; border: 0; }
.home-posts__title a { color: inherit; text-decoration: none; }
.home-posts__title a:hover { color: var(--blue); }
.slider-nav { display: flex; gap: 8px; flex: none; }
.slider-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.slider-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.slider-btn[data-slide="prev"] svg { transform: rotate(180deg); }
.slider-btn:disabled { opacity: 0.35; cursor: default; }
.posts-slider { position: relative; overflow: hidden; }
.posts-slider__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.posts-slider__track::-webkit-scrollbar { display: none; }
.posts-slider__track > .entry-card { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
.entry-card--person .entry-card__media { aspect-ratio: 4 / 5; background: var(--paper-2); padding: 8px; }
.entry-card--person .entry-card__media img { object-fit: contain; }
.entry-card--person:hover .entry-card__media img { transform: none; }
@media (max-width: 980px) { .posts-slider__track > .entry-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .posts-slider__track > .entry-card { flex-basis: 82%; } }

/* ===== «Как доехать»: иконки, золотые ссылки ===== */
.home-map__line { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.home-map__line svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.home-map__coords { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.home-map__coords:hover { color: var(--gold); }
.home-map__phone { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.home-map__phone:hover { color: var(--gold); text-decoration: underline; }

/* ===== Параллакс-цветок ===== */
.section--decor { position: relative; overflow: hidden; }
.section--decor > .container { position: relative; z-index: 1; }
.parallax-flower {
  position: absolute;
  pointer-events: none;
  background: url("assets/img/flower-gzhel.webp") center / contain no-repeat;
  opacity: 0.18;
  will-change: transform;
  z-index: 0;
}
.parallax-flower--right { right: -4%; top: 4%; width: clamp(240px, 28vw, 460px); aspect-ratio: 900 / 1308; }
.parallax-flower--left { left: -6%; bottom: -2%; width: clamp(220px, 24vw, 400px); aspect-ratio: 900 / 1308; }
@media (max-width: 980px) {
  .parallax-flower { opacity: 0.12; }
  .parallax-flower--right { right: -18%; top: 2%; }
  .parallax-flower--left { left: -20%; bottom: 0; }
}

/* ===== Страница контактов ===== */
.contacts-page { padding-bottom: clamp(40px, 6vh, 80px); }
.contacts-head .eyebrow { margin-bottom: 10px; }
.contacts-head .lead { margin-top: 12px; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block: 28px clamp(32px, 5vh, 56px); }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.contact-card--span2 { grid-column: span 2; }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-wash); border: 1px solid var(--line); color: var(--gold-deep); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card__title { font-family: var(--font-cond); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin: 2px 0 0; }
.contact-card p { margin: 0; font-size: 0.96rem; color: var(--ink-2); line-height: 1.6; }
.contact-card__note { font-size: 0.86rem; color: var(--muted); }
.contact-card__phone { font-family: var(--font-cond); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.02em; color: var(--navy); text-decoration: none; }
.contact-card__phone:hover { color: var(--blue); }
.contact-card__label { display: inline-block; margin-top: 2px; font-size: 0.8rem; color: var(--muted); }
.contact-card__socials { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-card__social { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; color: var(--ink-2); text-decoration: none; transition: border-color 0.25s, color 0.25s, background 0.25s; }
.contact-card__social:hover { border-color: var(--gold); color: var(--blue); background: var(--paper-2); }
.contact-card__social svg { width: 18px; height: 18px; color: var(--gold-deep); }
.contact-card__actions { margin-top: auto; padding-top: 8px; }
.contacts-map { margin-top: clamp(10px, 2vh, 24px); }
.contacts-map__frame iframe { display: block; width: 100%; height: clamp(340px, 48vh, 520px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-top: 14px; }
@media (max-width: 980px) { .contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-card--span2 { grid-column: span 2; } }
@media (max-width: 640px) { .contacts-grid { grid-template-columns: 1fr; } .contact-card--span2 { grid-column: span 1; } }

.contact-card--full { grid-column: span 3; }
@media (max-width: 980px) { .contact-card--full { grid-column: span 2; } }
@media (max-width: 640px) { .contact-card--full { grid-column: span 1; } }


/* ===== Обложка записи/страницы (концепт 1) ===== */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 46vh, 540px);
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 39, 104, 0.10) 0%, rgba(7, 39, 104, 0.30) 40%, rgba(7, 39, 104, 0.88) 100%),
    linear-gradient(90deg, rgba(7, 39, 104, 0.55) 0%, rgba(7, 39, 104, 0) 65%);
}
.page-hero--fallback {
  background-image: url("assets/img/flower-gzhel.webp"), linear-gradient(135deg, #072768 0%, #0a3a7a 60%, #072768 100%);
  background-size: min(520px, 44%) auto, cover;
  background-position: right -50px bottom -60px, center;
  background-repeat: no-repeat;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(30px, 5vh, 58px);
  max-width: 1000px;
}
.page-hero .breadcrumbs { color: rgba(255, 255, 255, 0.75); }
.page-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.9); }
.page-hero h1 { color: #fff; max-width: 980px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28); }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--font-cond); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); }
.page-hero__meta a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(216, 184, 100, 0.45); }
.page-hero__meta a:hover { color: #fff; border-color: #fff; }
.entry-wrap { padding-top: clamp(28px, 4.5vh, 52px); padding-bottom: clamp(40px, 7vh, 80px); }
.entry-wrap .entry-content { max-width: 880px; }
@media (max-width: 640px) {
  .page-hero { min-height: 340px; }
  .page-hero--fallback { background-size: 62% auto, cover; background-position: right -30px bottom -40px, center; }
}

/* ===== Персональные рубрики: сплит-раскладка (концепт 3) ===== */
.person-list { display: flex; flex-direction: column; gap: 20px; margin-block: 26px 40px; }
.person-list .entry-card--person-split {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.entry-card--person-split .entry-card__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper-2);
}
.entry-card--person-split .entry-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transform: none;
}
.entry-card--person-split .entry-card__body { padding: 6px 8px; }
.entry-card--person-split .entry-card__title { font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.28; margin: 6px 0 10px; }
.entry-card--person-split .entry-card__text { margin: 0; font-size: 0.98rem; color: var(--ink-2); }
.entry-card--person-split:hover .entry-card__media img { transform: none; }
@media (max-width: 720px) {
  .person-list .entry-card--person-split { grid-template-columns: 1fr; }
  .entry-card--person-split .entry-card__media { max-width: 260px; margin: 0 auto; }
}

/* ===== Страница персоны: сплит (концепт 3) ===== */
.person-single { padding-block: clamp(26px, 4vh, 48px) clamp(40px, 7vh, 80px); }
.person-single__grid { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.person-single__media { position: sticky; top: 24px; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.person-single__media img { width: 100%; height: auto; object-fit: contain; border-radius: calc(var(--radius) - 6px); }
.person-single__copy h1 { margin: 6px 0 0; }
.person-single__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; font-family: var(--font-cond); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.person-single__meta a { color: inherit; text-decoration: none; }
.person-single__meta a:hover { color: var(--blue); }
.person-single .entry-content { max-width: none; }
.person-single .entry-content img { border-radius: var(--radius-sm); }
@media (max-width: 860px) {
  .person-single__grid { grid-template-columns: 1fr; }
  .person-single__media { position: static; max-width: 320px; margin: 0 auto; }
}

/* Информер Яндекс.Метрики в подвале */
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.footer__informer { display: inline-flex; align-items: center; line-height: 0; }
.footer__informer img { display: block; width: auto; height: 31px; border: 0; }

/* На главной даты в карточках не показываем */
.home .entry-card__meta { display: none; }


/* ===== Сообщения Contact Form 7 ===== */
.wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 18px;
  border: 1px solid #d63638;
  border-radius: 12px;
  background: #fdecec;
  color: #b32d2e;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.55;
  box-shadow: 0 10px 26px -18px rgba(179, 45, 46, 0.55);
}
.wpcf7-response-output:empty {
  display: none;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  display: block;
}
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  color: #b32d2e;
  font-size: 0.86rem;
  font-weight: 600;
}
.wpcf7-form .wpcf7-not-valid {
  border-color: #d63638 !important;
  background: #fff5f5 !important;
}
