/* PIXSTONE — типографика контентных страниц и блога (дополняет main.css) */
.page-wrap{padding:26px 0 14px}
.page-hero{height:280px;border-radius:14px;background-size:cover;background-position:center;margin:6px 0 22px;box-shadow:0 10px 30px rgba(26,29,33,.12)}
@media(max-width:760px){.page-hero{height:180px}}
.entry-content{max-width:920px;margin:0 auto}
.list-h1{font-size:30px;font-weight:800;color:#1a1d21;margin:6px 0 22px}
.entry-content h1{font-size:30px;font-weight:800;color:#1a1d21;letter-spacing:-.01em;margin:0 0 18px}
.entry-content h2{font-size:23px;font-weight:700;color:#1a1d21;margin:30px 0 12px}
.entry-content h3{font-size:18px;font-weight:700;color:#1a1d21;margin:22px 0 8px}
.entry-content p{font-size:16px;color:#33373d;margin:0 0 14px;line-height:1.7}
.entry-content ul,.entry-content ol{margin:0 0 16px 22px;color:#33373d;font-size:16px;line-height:1.7}
.entry-content li{margin-bottom:7px}
.entry-content a{color:#1f5d52;text-decoration:underline;text-underline-offset:2px}
.entry-content a:hover{color:#27776a}
.entry-content strong,.entry-content b{color:#1a1d21}
.entry-content blockquote{border-left:3px solid #1f5d52;background:#f5f6f7;padding:14px 18px;border-radius:0 10px 10px 0;margin:0 0 18px;color:#33373d}
.entry-content table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:15px}
.entry-content table td,.entry-content table th{border:1px solid #e4e6e9;padding:11px 14px;text-align:left}
.entry-content table tr:nth-child(odd) td{background:#f5f6f7}
.entry-content img{max-width:100%;height:auto;border-radius:12px}
.entry-content details{border:1px solid #e4e6e9;border-radius:11px;margin-bottom:10px;padding:0 18px;background:#fff}
.entry-content summary{cursor:pointer;list-style:none;padding:16px 0;font-weight:600;font-size:16px;color:#1a1d21;display:flex;justify-content:space-between;gap:14px}
.entry-content summary::-webkit-details-marker{display:none}
.entry-content summary:after{content:"+";color:#c06a40;font-size:20px;font-weight:700}
.entry-content details[open] summary:after{content:"–"}
.entry-content details p{padding:0 0 16px}

/* CTA-блок внизу страницы */
.page-cta{max-width:920px;margin:34px auto 0;background:#1f5d52;border-radius:16px;padding:30px 34px;color:#e7eee8;text-align:center}
.page-cta h3{color:#fff;font-size:23px;font-weight:800;margin:0 0 8px}
.page-cta p{margin:0 0 18px;color:#cfe0d9}

/* Блог-листинг */
.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}
.post-card{border:1px solid #e4e6e9;border-radius:13px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.post-card .pc-img img{width:100%;height:180px;object-fit:cover;display:block}
.post-card .pc-b{padding:16px;display:flex;flex-direction:column;flex:1}
.post-card h3{font-size:17px;font-weight:700;margin:0 0 8px;line-height:1.3}
.post-card h3 a{color:#1a1d21}
.post-card p{font-size:13.5px;color:#80868e;margin:0 0 14px}
.post-card .pc-more{margin-top:auto;color:#1f5d52;font-weight:600;font-size:14px}

/* Мобильное меню */
@media(max-width:760px){
	.navrow ul{display:none;flex-direction:column;height:auto;gap:0;padding:6px 0}
	.navrow.open ul{display:flex}
	.navrow li{width:100%;border-top:1px solid #e4e6e9}
	.navrow a{display:block;padding:11px 0}
	.post-list{grid-template-columns:1fr}
}

/* Кнопка в зелёном блоке-призыве: белая с акцентным текстом (была зелёная на зелёном) */
.page-cta .btn{background:#fff;color:var(--accent);font-weight:700}
.page-cta .btn:hover{background:#eef0f0;color:var(--accent2)}

/* Кнопки внутри контента не должны наследовать цвет/подчёркивание ссылок */
.entry-content a.btn{color:#fff;text-decoration:none}
.entry-content a.btn:hover{color:#fff;text-decoration:none}
.entry-content a.btn-out{color:var(--ink,#1a1d21)}
.entry-content a.btn-w{color:var(--ink,#1a1d21)}

/* === Страница «Услуги» — зигзаг-ряды === */
.uslugi-head{max-width:1080px;margin:0 auto}
.uslugi-head h1{font-size:32px;font-weight:800;color:#1a1d21;letter-spacing:-.02em;margin:0 0 14px}
.uslugi-intro p{font-size:17px;color:#33373d;line-height:1.7;margin:0 0 8px;max-width:820px}
.services-zz{max-width:1080px;margin:26px auto 0;display:flex;flex-direction:column;gap:18px}
.srow{display:grid;grid-template-columns:210px 1fr;gap:34px;align-items:center;background:#fff;border:1px solid #e4e6e9;border-radius:18px;padding:30px 36px;transition:.18s}
.srow:hover{box-shadow:0 16px 34px rgba(26,29,33,.09);border-color:#d3d6da}
.srow:nth-child(even){grid-template-columns:1fr 210px}
.srow:nth-child(even) .s-media{order:2}
.s-media{display:flex;align-items:center;justify-content:center}
.s-media img{width:128px;height:128px;object-fit:contain}
.s-media .emoji{font-size:74px;color:#1f5d52;line-height:1}
.s-body{position:relative}
.s-body .s-num{display:inline-block;font-size:13px;font-weight:800;color:#1f5d52;background:#eef4f2;border-radius:7px;padding:3px 10px;margin-bottom:10px;letter-spacing:.04em}
.s-body h2{font-size:23px;font-weight:800;color:#1a1d21;margin:0 0 10px}
.s-body .s-text p{font-size:15.5px;color:#33373d;line-height:1.7;margin:0}
@media(max-width:760px){
  .srow,.srow:nth-child(even){grid-template-columns:1fr;gap:14px;text-align:center;padding:26px 22px}
  .srow:nth-child(even) .s-media{order:0}
  .s-media img{width:96px;height:96px}
}

/* === Страница «Контакты» === */
.kont-h1{font-size:32px;font-weight:800;color:#1a1d21;letter-spacing:-.02em;margin:4px 0 22px}
.kont-grid{display:grid;grid-template-columns:380px 1fr;gap:26px;align-items:stretch}
.kont-card{background:#fff;border:1px solid #e4e6e9;border-radius:16px;padding:26px 28px;align-self:start}
.kc-row{display:flex;flex-direction:column;gap:3px;padding:13px 0;border-bottom:1px solid #eef0f1}
.kc-row:first-child{padding-top:0}
.kc-l{font-size:12.5px;color:#80868e;text-transform:uppercase;letter-spacing:.04em;font-weight:600}
.kont-card a{color:#1f5d52}
.kc-phone{font-size:23px;font-weight:800;color:#1a1d21!important}
.kc-msg{display:flex;gap:10px;margin:16px 0 4px}
.kc-mbtn{flex:1;text-align:center;padding:11px;border-radius:9px;font-weight:600;font-size:14px;color:#fff!important;text-decoration:none}
.kc-mbtn.wa{background:#25d366}.kc-mbtn.tg{background:#2aabee}
.kc-cta{width:100%;justify-content:center;margin-top:16px}
.kont-map{border-radius:16px;overflow:hidden;border:1px solid #e4e6e9;min-height:420px;background:#f5f6f7}
.map-embed,.map-embed iframe{width:100%;height:100%;min-height:420px;border:0;display:block}
.map-empty{height:100%;min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#80868e}
.map-empty .me-ic{font-size:46px;margin-bottom:12px}
.map-empty b{font-size:18px;color:#1a1d21;margin-bottom:6px}
.map-empty p{font-size:14px;max-width:340px;line-height:1.6}
.kont-form{max-width:680px;margin:34px auto 0;text-align:center}
.kont-form h2{font-size:24px;font-weight:800;color:#1a1d21;margin:0 0 8px}
.kont-form p{color:#33373d;margin:0 0 18px}
.kont-form-box .leadform{justify-content:center}
@media(max-width:860px){.kont-grid{grid-template-columns:1fr}.kont-map{min-height:320px}}

/* Контакты: фикс кнопки (была зелёная на зелёном) + стиль формы */
.kont-card a.btn,.kont-card a.btn:hover{color:#fff!important;text-decoration:none}
.kont-form-box{max-width:460px;margin:0 auto}
.kont-form-box form{margin:0}
.kont-form-box .leadform{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.kont-form-box .wpcf7-form-control-wrap{flex:1 1 180px;display:block}
.kont-form-box input[type=text],.kont-form-box input[type=tel]{width:100%;border:1px solid #d9dde0;background:#fff;color:#1a1d21;border-radius:9px;padding:13px 16px;font-family:inherit;font-size:15px}
.kont-form-box input::placeholder{color:#9aa0a7}
.kont-form-box input:focus{outline:none;border-color:#27776a}
.kont-form-box .wpcf7-submit{flex:1 1 100%;width:100%;background:#1f5d52;color:#fff;border:none;border-radius:9px;padding:14px 20px;font-weight:600;font-size:15px;cursor:pointer;font-family:inherit;transition:.2s}
.kont-form-box .wpcf7-submit:hover{background:#27776a}
.kont-form-box .wpcf7-response-output{flex:1 1 100%;margin:8px 0 0!important;padding:9px 13px!important;border-radius:8px;font-size:13px}
.kont-form-box .wpcf7-not-valid-tip{color:#d23f3f;font-size:12px;margin-top:4px}
