/*
Theme Name: Bulanov Practice
Theme URI: https://bulanov-psy.ru/
Author: Владислав Буланов
Description: Блочная редактируемая тема для личного сайта психолога Владислава Буланова.
Version: 0.4.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: bulanov-practice
License: GPL-2.0-or-later
*/
:root{--bp-ink:#18324a;--bp-blue:#2c79bf;--bp-soft:#eef6fd;--bp-muted:#567189}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;color:var(--bp-ink);background:#fff}
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:1160px}
.wp-site-blocks{overflow-x:clip}
a:focus-visible,button:focus-visible{outline:3px solid #edaf2f;outline-offset:3px}
.bp-content{max-width:1160px;margin-left:auto!important;margin-right:auto!important;padding-left:28px;padding-right:28px}
.bp-site-header{border-bottom:1px solid #deebf6;background:#fff}
.bp-head-inner{max-width:1160px;margin:auto;padding:13px 28px;gap:34px;min-height:74px}
.bp-brand{gap:11px!important;flex-wrap:nowrap!important;min-width:295px}
.bp-brand-text{min-width:0}.bp-brand-text p{margin:0}
.bp-logo{font-family:Georgia,serif;font-size:32px;font-weight:700;letter-spacing:-.08em;color:#1b5281;line-height:1;margin:0}
.bp-brand-name{font-weight:750;font-size:18px;line-height:1.12;margin:0}
.bp-brand-sub{color:#5e7c94;font-size:11px;line-height:1.3;margin-top:3px!important}
.bp-header-right{gap:16px!important;margin-left:auto;flex-wrap:nowrap!important}
.bp-main-nav{font-size:14px;font-weight:600;gap:19px}
.bp-main-nav a{color:var(--bp-ink);text-decoration:none}
.bp-header-right .wp-block-buttons{margin:0;flex-shrink:0}
.bp-header-right .wp-block-button__link{font-size:14px;padding:10px 17px;border-radius:10px}
.bp-footer{background:#fff;border-top:1px solid #dcebf7}
.bp-footer-inner{max-width:1160px;margin:auto;padding:22px 28px;gap:18px}
.bp-footer p{color:#647e92;font-size:13px;margin:0}

.bp-hero{margin:0!important;padding:0;overflow:hidden}
.bp-hero .wp-block-cover__image-background{object-fit:cover;object-position:center 49%}
.bp-hero .wp-block-cover__inner-container{padding:18px 0;background:linear-gradient(90deg,rgba(248,252,255,.97),rgba(248,252,255,.90) 45%,rgba(248,252,255,.38) 74%,rgba(248,252,255,.06))}
.bp-hero-columns{max-width:1160px;margin:0 auto;padding:0 28px;gap:26px;align-items:center!important}
.bp-hero-columns>.wp-block-column{margin:0}
.bp-hero .bp-eyebrow{margin-bottom:6px}
.bp-hero-title{font-family:Georgia,serif;font-size:clamp(34px,3.5vw,52px);line-height:1.02;margin:0 0 8px!important;font-weight:700;letter-spacing:-.025em;white-space:nowrap}
.bp-hero-subtitle{font-size:20px;line-height:1.23;font-weight:600;margin:0!important;color:#264962}
.bp-hero-description{font-size:16px;color:#2d4f66;line-height:1.4;margin:0 0 13px!important}
.bp-eyebrow{font-size:12px;letter-spacing:.15em;font-weight:750;color:#4e80a8;text-transform:uppercase;margin-bottom:12px!important}
.bp-hero .wp-block-buttons{gap:10px}
.wp-block-button__link{font-weight:650;font-size:14px;padding:10px 18px;border-radius:10px}
.wp-block-button.is-style-outline .wp-block-button__link{color:#215f98;background:rgba(255,255,255,.83);border-color:#8ab5d7}

.bp-section{padding:52px 0;margin:0!important}
.bp-soft{background:#eef6fd}
.bp-section h2{color:#18324a;font-size:clamp(28px,3vw,38px);line-height:1.14;letter-spacing:-.03em;margin-bottom:12px}
.bp-section-sub{color:#55728b;font-size:16px;margin-bottom:24px}
.bp-about-columns{gap:26px!important;align-items:center!important}
.bp-about-description{color:#587089;font-size:16px;line-height:1.55;margin:0 0 18px}
.bp-about .bp-eyebrow{margin:0 0 10px}
.bp-portrait{margin:0!important;border-radius:18px;overflow:hidden;box-shadow:0 14px 36px rgba(29,75,110,.10)}
.bp-portrait img{display:block;width:100%;height:260px;object-fit:cover;object-position:65% 44%}
.bp-facts{display:grid;gap:11px}
.bp-fact-item{gap:11px!important;align-items:flex-start!important;flex-wrap:nowrap!important}
.bp-fact-icon{display:flex;align-items:center;justify-content:center;margin:0;flex:0 0 38px;background:#e6f2fc;border-radius:50%;height:38px;width:38px;color:#2f79b7;font-size:20px;font-weight:600}
.bp-fact-content{min-width:0}
.bp-fact-title{font-size:15px;line-height:1.2;margin:0 0 3px;font-weight:700}
.bp-fact-desc{font-size:12px;color:#607b91;line-height:1.35;margin:0}
.bp-direction-columns{gap:14px;align-items:stretch!important}
.bp-direction-columns>.wp-block-column{display:flex}
.bp-card{border:1px solid #dbe9f5;background:#fff;padding:22px 20px;border-radius:18px;flex:1}
.bp-card h3{font-size:19px;line-height:1.2;margin:0 0 10px;color:#18324a}
.bp-card p{font-size:14px;color:#5d7890;line-height:1.48;margin:0}
.bp-format-columns{gap:16px;align-items:stretch!important}
.bp-format-columns>.wp-block-column{display:flex}
.bp-format-card{padding:22px 20px;border:1px solid #dbe9f5;border-radius:18px;flex:1}
.bp-format-card h3{font-size:18px;line-height:1.18;margin:0 0 8px}
.bp-format-card p{color:#5e7890;font-size:14px;margin:0}
.bp-price-columns{gap:22px;align-items:start!important}
.bp-price-table{margin:0!important;overflow-x:auto;border:1px solid #dceaf6;border-radius:13px;background:#fff}
.bp-price-table table{min-width:570px;border:0;border-collapse:collapse;width:100%;font-size:13px}
.bp-price-table th,.bp-price-table td{border:0;border-bottom:1px solid #e2eef8;padding:10px 14px;vertical-align:top}
.bp-price-table th{background:#e7f3ff;text-align:left}
.bp-price-table td:last-child,.bp-price-table th:last-child{text-align:right;white-space:nowrap;color:#225f99;font-weight:700}
.bp-price-table tbody tr:nth-child(even){background:#fbfdff}
.bp-price-aside{background:#fff;border:1px solid #d9eaf7;border-radius:16px;padding:22px}
.bp-price-aside h3{font-size:20px;margin:0 0 8px}
.bp-price-aside p{font-size:14px;color:#58758e;margin:0 0 16px}
.bp-fineprint{font-size:12px;color:#6a8296;margin-top:12px}

.bp-terms{margin:0!important}
.bp-terms .wp-block-cover__image-background{object-fit:cover;object-position:center 57%}
.bp-terms .wp-block-cover__inner-container{background:linear-gradient(90deg,rgba(236,247,255,.88),rgba(219,236,251,.64) 70%,rgba(212,234,251,.44));padding:20px 0}
.bp-terms-content{max-width:1160px;margin:0 auto;padding:0 28px}
.bp-terms h2{font-size:clamp(26px,2.9vw,36px);line-height:1.12;margin:0 0 6px;color:#173651}
.bp-terms-intro{color:#375875;font-size:15px;margin:0}
.bp-terms .bp-eyebrow{margin:0 0 6px}
.bp-term-columns{gap:12px;margin-top:15px!important;align-items:stretch!important}
.bp-term-columns>.wp-block-column{display:flex}
.bp-term-item{background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.6);border-radius:12px;padding:11px 12px;flex:1}
.bp-term-item h4{font-size:14px;line-height:1.15;color:#204b70;margin:0 0 5px}
.bp-term-item p{color:#41637f;font-size:12px;line-height:1.35;margin:0}

.bp-contacts{background:#fff}
.bp-contact-panel{border:1px solid #dceaf6;background:#eef6fd;border-radius:18px;padding:28px}
.bp-contact-panel h2{margin:0 0 8px}
.bp-contact-panel p:last-child{color:#607c91;margin:0}
.bp-article{padding-top:55px;padding-bottom:75px}
.bp-article .wp-block-post-title{font-family:Georgia,serif;font-size:clamp(30px,3.3vw,46px);line-height:1.2}

@media (max-width:1060px){
 .bp-head-inner{gap:18px}.bp-brand{min-width:285px}.bp-main-nav{gap:10px;font-size:12px}
 .bp-header-right{gap:10px!important}.bp-header-right .wp-block-button__link{font-size:12px;padding:9px 12px}
 .bp-about-columns{gap:15px!important}.bp-portrait img{height:245px}
 .bp-direction-columns .bp-card{padding:16px 15px}
}
@media (max-width:800px){
 .bp-head-inner{flex-direction:column;align-items:flex-start!important;gap:10px;padding-top:14px;padding-bottom:14px}
 .bp-header-right{width:100%;justify-content:space-between;gap:14px}
 .bp-hero-columns{flex-wrap:wrap!important;gap:8px}
 .bp-hero-columns>.wp-block-column{flex-basis:100%!important}
 .bp-hero-title{white-space:normal}
 .bp-about-columns{flex-wrap:wrap!important}
 .bp-about-columns>.wp-block-column{flex-basis:100%!important}
 .bp-portrait img{height:auto;max-height:440px;object-fit:contain;object-position:center}
 .bp-direction-columns,.bp-format-columns{flex-wrap:wrap!important}
 .bp-direction-columns>.wp-block-column,.bp-format-columns>.wp-block-column{flex-basis:calc(50% - 10px)!important}
 .bp-price-columns{flex-wrap:wrap!important}.bp-price-columns>.wp-block-column{flex-basis:100%!important}
 .bp-term-columns{flex-wrap:wrap!important}.bp-term-columns>.wp-block-column{flex-basis:calc(50% - 8px)!important}
}
@media (max-width:520px){
 .bp-content,.bp-hero-columns,.bp-terms-content{padding-left:18px;padding-right:18px}
 .bp-head-inner,.bp-footer-inner{padding-left:18px;padding-right:18px}
 .bp-brand-name{font-size:16px}.bp-brand-sub{font-size:11px}.bp-logo{font-size:29px}
 .bp-hero .wp-block-cover__inner-container{padding:19px 0;background:linear-gradient(90deg,rgba(248,252,255,.97),rgba(248,252,255,.72))}
 .bp-hero-title{font-size:36px}.bp-hero-subtitle{font-size:17px}
 .bp-section{padding:39px 0}
 .bp-direction-columns>.wp-block-column,.bp-format-columns>.wp-block-column,.bp-term-columns>.wp-block-column{flex-basis:100%!important}
 .bp-terms .wp-block-cover__inner-container{padding:18px 0}
 .bp-term-columns{margin-top:10px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
