/*
Theme Name: Meta Ads Studio
Description: Адаптивная тема для публичного пошагового мастера настройки Meta Ads.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: meta-ads-studio
*/

:root { color-scheme: light; }
body.mam-studio { margin: 0; color: #182744; background: #f4f6fb; font: 16px/1.55 "Aptos", "Segoe UI", system-ui, sans-serif; }
body.mam-studio *, body.mam-studio *::before, body.mam-studio *::after { box-sizing: border-box; }
.mam-studio-wrap { max-width: 1170px; margin-inline: auto; padding-inline: clamp(15px, 4vw, 34px); }
.mam-studio-header { border-bottom: 1px solid #e3e8f2; background: #fff; }
.mam-studio-header .mam-studio-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; min-height: 70px; padding-block: 9px; }
.mam-studio-brand { color: #172949; font-size: 17px; font-weight: 780; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mam-studio-sign { display: inline-grid; place-items: center; border-radius: 10px; background: #3053cd; color: #fff; inline-size: 34px; block-size: 34px; font-size: 19px; }
.mam-studio-main { padding-block: clamp(18px, 4vw, 38px) 34px; }
.mam-studio-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; background: linear-gradient(112deg,#182c5d 0%,#213a82 59%,#355ad0 100%); color: #fff; padding: clamp(24px, 3.8vw, 42px); margin-bottom: 22px; }
.mam-studio-hero::before, .mam-studio-hero::after { content: ""; position: absolute; z-index: -1; width: clamp(195px,34vw,420px); aspect-ratio: 1; border: 1px solid #bdcdff55; border-radius: 28%; transform: rotate(-28deg); pointer-events: none; }
.mam-studio-hero::before { right: -11%; top: -94%; }
.mam-studio-hero::after { right: -3%; top: -60%; }
.mam-studio-hero h1 { margin: 0 0 7px; font-size: clamp(29px,5vw,52px); line-height: 1.07; letter-spacing: -.04em; max-width: 29ch; }
.mam-studio-hero p { color: #e5edff; max-width: 67ch; margin: 0; }
.mam-studio-footer { padding-block: 6px 26px; color: #52627c; font-size: 13px; }
.mam-studio-standard { background: #fff; border: 1px solid #e3e8f2; border-radius: 18px; padding: clamp(20px, 4vw, 40px); }
.mam-studio-standard h1 { line-height: 1.15; }
.mam-studio-standard img { max-width: 100%; height: auto; }
.mam-studio-standard a { color: #2647ba; }
.mam-studio-skip { position: absolute; left: 10px; top: 10px; background: white; padding: 8px; display: block; transform: translateY(-160px); z-index: 10000; }
.mam-studio-skip:focus { transform: translateY(0); }
@media (max-width: 530px) {
    .mam-studio-header .mam-studio-wrap { min-height: 55px; }
    .mam-studio-hero { border-radius: 15px; margin-bottom: 12px; }
}
@media print {
    body.mam-studio { background: #fff; }
    .mam-studio-wrap, .mam-studio-main { max-width: none; padding: 0; }
}
