/*
Theme Name: medyoga lite
Description: Лёгкая тема школы йогатерапии Прокуниных вместо Avada (24.11.2026). Шапка и подвал - mu-plugins medyoga-shapka.php и medyoga-footer.php, чистые статьи - medyoga-clean-article. Без своих скриптов.
Version: 0.1.0
Text Domain: medyoga-lite
*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fbf9f4; color: #1b1f2a; font: 17px/1.7 "Open Sans", Arial, sans-serif; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: #8e2a5c; }
a:hover { color: #df1459; }
.ml-wrap { max-width: 820px; margin: 0 auto; padding: 18px 20px 56px; }
.ml-wrap-wide { max-width: 1160px; }
.ml-crumbs { font-size: 14px; color: #8a7b84; margin: 6px 0 14px; }
.ml-crumbs a { color: #8a7b84; text-decoration: none; border-bottom: 1px solid #f3cddd; }
.ml-title { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #73123c; font-size: clamp(28px, 4.4vw, 40px); line-height: 1.2; margin: 8px 0 18px; }
.ml-content h2 { font-family: Georgia, serif; color: #73123c; font-size: 27px; line-height: 1.3; margin: 38px 0 12px; }
.ml-content h3 { font-size: 21px; line-height: 1.35; margin: 28px 0 10px; }
.ml-content p, .ml-content li { font-size: 17.5px; line-height: 1.75; }
.ml-content table { border-collapse: collapse; width: 100%; margin: 18px 0; display: block; overflow-x: auto; }
.ml-content td, .ml-content th { border: 1px solid #f0cfe0; padding: 9px 11px; }
.ml-content blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid #e8b6cc; background: #fff; }
.ml-content iframe { display: block; margin: 16px auto; }
.ml-content .wp-caption { max-width: 100%; }
.alignleft { float: left; margin: 6px 22px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 22px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .alignleft, .alignright { float: none; margin: 12px auto; display: block; } }
.ml-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ml-card { background: #fff; border: 1px solid #f7d2e2; border-radius: 14px; padding: 18px 20px; }
.ml-card h2 { font-family: Georgia, serif; font-size: 21px; line-height: 1.3; margin: 0 0 6px; }
.ml-card h2 a { color: #73123c; text-decoration: none; }
.ml-card p { margin: 0; color: #4a3f47; font-size: 15.5px; line-height: 1.6; }
.ml-pager { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0 0; }
.ml-pager a { display: inline-block; padding: 10px 18px; border: 1px solid #f7d2e2; border-radius: 999px; background: #fff; text-decoration: none; }
.ml-search { display: flex; gap: 8px; margin: 10px 0 24px; }
.ml-search input[type=search] { flex: 1; padding: 11px 14px; border: 1px solid #e8cdd9; border-radius: 10px; font: inherit; }
.ml-search button { padding: 11px 18px; border: 0; border-radius: 10px; background: #8e2a5c; color: #fff; font: 600 15px/1 "Open Sans", Arial, sans-serif; cursor: pointer; }
.screen-reader-text { position: absolute; left: -9999px; }
/* элементы старых страниц Avada (medyoga-bez-fusion.php) */
.ml-sep { border: none; border-top: 1px solid #f0cfe0; margin: 30px 0; }
.ml-check { padding-left: 22px; }
.ml-check li { margin: 6px 0; }
.ml-box { background: #fff; border: 1px solid #f7d2e2; border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.ml-box img { max-width: 120px; display: block; margin-bottom: 8px; }
.ml-box-t { font-family: Georgia, serif; font-weight: 700; color: #73123c; font-size: 19px; margin: 0 0 6px; }
.ml-boxes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ml-btn { display: inline-block; background: #8e2a5c; color: #fff !important; text-decoration: none; font-weight: 700; padding: 12px 26px; border-radius: 999px; }
.ml-btn:hover { background: #73123c; }
.ml-video { position: relative; padding-top: 56.25%; margin: 16px 0; border-radius: 12px; overflow: hidden; background: #f6eef2; }
.ml-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; margin: 0; }
.ml-gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 16px 0; }
.ml-gallery img { width: 100%; border-radius: 10px; }
.ml-frame { margin: 16px 0; }
.ml-toggle { border: 1px solid #f0cfe0; border-radius: 12px; background: #fff; margin: 0 0 10px; }
.ml-toggle summary { cursor: pointer; padding: 13px 16px; font-weight: 600; }
.ml-toggle > div { padding: 0 16px 8px; }
.ml-person { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #f7d2e2; border-radius: 14px; padding: 16px; margin: 16px 0; }
.ml-person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ml-quote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid #e8b6cc; background: #fff; }
@media (max-width: 640px) { .ml-person { flex-direction: column; } }
/* старые лендинги Avada: инлайн-кегли до 72px и белый текст на снятом тёмном фоне */
.ml-content { overflow-wrap: anywhere; }
.ml-content [style*="font-size: 3"], .ml-content [style*="font-size: 4"], .ml-content [style*="font-size: 5"], .ml-content [style*="font-size: 6"], .ml-content [style*="font-size: 7"],
.ml-content [style*="font-size:3"], .ml-content [style*="font-size:4"], .ml-content [style*="font-size:5"], .ml-content [style*="font-size:6"], .ml-content [style*="font-size:7"] { font-size: clamp(20px, 5.2vw, 34px) !important; line-height: 1.3 !important; }
.ml-content [style*="color: white"], .ml-content [style*="color:white"], .ml-content [style*="color: #fff"], .ml-content [style*="color:#fff"], .ml-content [style*="color: #FFF"], .ml-content [style*="color:#FFF"] { color: #73123c !important; }
/* старые тексты с шириной, заданной прямо в коде: не шире колонки */
.ml-content * { max-width: 100%; }
.ml-content figure { margin: 16px 0; }
.ml-content figcaption { font-size: 14px; color: #8a7b84; text-align: center; margin-top: 6px; }
