/* Стили подключаются только на странице подготовки к визиту. */
main.wp-block-group { padding-block: clamp(2.5rem, 6vw, 5rem) !important; }
main .wp-block-post-title, main .bes-prep { width: min(calc(100% - 2.5rem), 46rem); box-sizing: border-box; }
main .wp-block-post-title { font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1; }
main .wp-block-post-content { margin-block-start: .8rem; }
.bes-prep { margin-inline: auto; color: #242723; font-size: 1.125rem; line-height: 1.55; }
.bes-prep p { margin: 0; }
.bes-prep nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-block: 1.5rem clamp(2.5rem, 6vw, 4rem); }
.bes-prep nav a, .bes-prep-call { display: flex; align-items: center; min-height: 3.3rem; padding: .5rem 1rem; box-sizing: border-box; text-decoration: none; }
.bes-prep nav a { justify-content: space-between; gap: .5rem; border: 1px solid #aaa59c; color: #181a1b; background: #f7f5f0; }
.bes-prep nav a::after { content: ''; width: .46rem; height: .46rem; flex: none; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.bes-prep nav a:hover { background: #e9e5de; }
.bes-prep a:focus-visible { outline: 3px solid #242723; outline-offset: 3px; }
.bes-prep section { border-top: 1px solid #b8a58a; padding-block: clamp(1.7rem, 4vw, 3rem); }
.bes-prep [id] { scroll-margin-block-start: 1.5rem; }
.bes-prep h2 { font-size: clamp(2.05rem, 4vw, 3.1rem); line-height: 1.08; margin: 0 0 1rem; }
.bes-prep h3 { font-size: 1.5rem; margin: 1.4rem 0 .45rem; }
.bes-prep ul { max-width: 61ch; margin: 0; padding-inline-start: 1.25rem; }
.bes-prep li { margin-block: .45rem; padding-inline-start: .2rem; }
.bes-prep aside { background: #e9e5de; padding: 1rem 1.25rem; margin-top: 1.25rem; }
.bes-prep aside h3 { margin-top: 0; }
.bes-prep .bes-prep-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: .65rem; font-size: 1rem; }
.bes-prep .bes-prep-call { display: inline-flex; background: #181a1b; color: #f7f5f0; margin-block: .75rem 1rem; }
@media (max-width: 36rem) { .bes-prep nav { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
