/* Сумісність з оригінальним дизайном: семантичні h1 мають виглядати як раніше + стійкі картки блогу */
.witr_ds_content_inner h1.mob_text_h2 { background: none; padding: 0; border-radius: 0; display: block !important; color: #131313; font-size: 58px; line-height: 1; font-weight: 300; }
@media (max-width: 991px) { .witr_ds_content_inner h1.mob_text_h2 { font-size: 40px !important; } }
.brpt h1 { font-size: 30px; }
.brpt h1.whiete-text, h1.whiete-text { color: #fff; }
.apt_sub { font-size: 17px; margin: 0 0 6px; }
@media (max-width: 991px) { .brpt h1 { font-size: 30px; } }

/* ---------- Блог: картки не залежать від довжини заголовка ---------- */
.blog_wrap .slick-track { display: flex !important; align-items: stretch; }
.blog_wrap .slick-slide { height: auto !important; float: none; padding: 0 14px; box-sizing: border-box; }
.blog_wrap .slick-slide > div, .blog_wrap .slick-slide .blog-post-item { height: 100%; }
.blog-post-item .single_blog_adn { min-height: 0; height: 100%; box-shadow: none !important; transform: none !important; }
.blog-post-item .witr_ablog_7 { position: relative; display: flex; flex-direction: column; height: 100%; padding-bottom: 0; }
.blog-post-item .witr_ablog_thumb { height: 230px; flex: 0 0 auto; }
.blog-post-item .witr_ablog_content {
  position: relative; left: auto; right: auto; bottom: auto; flex: 1 1 auto; z-index: 3;
  margin: -64px 30px 0 0; padding: 24px 22px 20px; box-shadow: 0 12px 30px rgba(32, 45, 77, .12); background: #fff;
}
.blog-post-item .witr_ablog_inner { display: flex; flex-direction: column; height: 100%; }
.blog-post-item .witr_ablog_inner h2 { font-size: 19px; line-height: 1.35; min-height: 0; max-height: none; margin: 0 0 12px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.blog-post-item .witr_ablog_inner h2 a { color: #202D4D; }
.blog-post-item .witr_blog_metan { margin-bottom: 12px; padding-bottom: 12px; }
.blog-post-item .witr_ablog_inner p { min-height: 0; font-size: 15px; line-height: 1.55; margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
@media (max-width: 767px) {
  .blog_wrap.slick-slider { padding: 0 !important; }
  .blog_wrap .slick-slide { padding: 0 6px; }
  .blog_wrap .slick-arrow { display: none !important; }
  .blog-post-item .witr_ablog_thumb { height: 200px; }
}

/* ---------- Сторінка «Дякуємо» (оригінальний дизайн, раніше був у processed.css) ---------- */
.thank-you-wrapper { position: relative; text-align: center; }
.thank-you-wrapper > .container { width: 780px; max-width: 100%; margin: 0 auto; }
html body .thank-you-wrapper .container { display: table; }
html body .thank-you-wrapper .container > .row { display: table-cell; vertical-align: middle; }
.thank-you-page-content { position: relative; float: left; width: 100%; background: #f2f2f2; padding: 90px; margin: 30px 0; box-sizing: border-box; }
.thank-you-page-content::before, .thank-you-page-content::after { z-index: -1; position: absolute; content: ""; bottom: 15px; left: 10px; width: 50%; top: 80%; max-width: 300px; background: #777; box-shadow: 0 15px 10px #777; transform: rotate(-3deg); }
.thank-you-page-content::after { transform: rotate(3deg); right: 10px; left: auto; }
.thank-you-page-content h1 { position: relative; width: 100%; float: left; margin-bottom: 45px; padding-top: 110px; font-size: 30px; font-weight: 200; line-height: 40px; background: none; color: #131313; border-radius: 0; }
.thank-you-page-content h1::before { content: "\f00c"; top: 0; transform: translateX(-50%); left: 50%; position: absolute; font-family: "FontAwesome"; font-size: 60px; text-align: center; width: 100px; color: green; height: 100px; line-height: 100px; border: 2px solid green; border-radius: 100%; }
@media (max-width: 575px) { .thank-you-page-content { padding: 40px 16px; } .thank-you-page-content h1 { font-size: 24px; line-height: 32px; } }

/* ---------- Відгуки Google ---------- */
.gr_summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 24px; padding: 16px 20px; background: #f5f7fb; border-radius: 14px; }
.gr_score { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gr_score > i.bi-google { font-size: 22px; color: #202D4D; }
.gr_score strong { font-size: 26px; line-height: 1; color: #202D4D; }
.gr_score span { color: #5a6479; font-size: 15px; }
.gr_score .em_crating { display: inline-flex; }
.gr_links { display: flex; flex-wrap: wrap; gap: 10px; }
.gr_links a { display: inline-block; padding: 10px 20px; border-radius: 12px; border: 1.5px solid #202D4D; color: #202D4D; font-weight: 700; font-size: 14px; }
.gr_links a.gr_write { background: #202D4D; color: #fff; }
.gr_links a:hover { opacity: .85; }
.gr_photo { width: 64px !important; height: 64px !important; border-radius: 50%; object-fit: cover; }
.gr_avatar { display: flex !important; align-items: center; justify-content: center; width: 64px; height: 64px; line-height: 1 !important; color: #fff !important; border-radius: 50%; background: #202D4D; color: #fff; font-size: 28px !important; font-weight: 800; }
.em_test_thumb img { object-fit: cover; }
@media (max-width: 575px) { .gr_summary { padding: 14px; } .gr_links { width: 100%; } .gr_links a { flex: 1; text-align: center; } }

/* ===== Договір публічної оферти: модальне вікно ===== */
.offer_modal{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.offer_modal_box{background:#fff;border-radius:12px;width:100%;max-width:900px;height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.offer_modal_head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#202D4D;color:#fff}
.offer_modal_head h3{margin:0;font-size:18px;color:#fff;line-height:1.3}
.offer_modal_actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.offer_btn{background:#0067ed;color:#fff!important;padding:8px 14px;border-radius:6px;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.offer_btn:hover{opacity:.9}
.offer_close{background:none;border:0;color:#fff;font-size:30px;line-height:1;cursor:pointer;padding:0 4px}
.offer_frame{flex:1;width:100%;border:0;background:#eee}
.offer_modal_note{margin:0;padding:8px 16px;font-size:13px;color:#555;text-align:center;border-top:1px solid #eee}
@media (max-width:575px){.offer_modal{padding:0}.offer_modal_box{height:100%;max-width:none;border-radius:0}.offer_modal_head h3{font-size:15px}.offer_btn{padding:7px 10px;font-size:13px}}

/* Блок договору оферти на сторінці «Про нас» */
.offer_block{padding:50px 0;text-align:center;background:#f5f7fb}
.offer_block h3{margin:0 0 10px;font-size:28px;color:#202D4D}
.offer_block p{max-width:620px;margin:0 auto 22px;color:#555}
.offer_block_btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.offer_block_btns a{display:inline-block;padding:12px 26px;border-radius:20px;font-weight:600;text-decoration:none;background:#202D4D;color:#fff;border:1px solid #202D4D}
.offer_block_btns a.offer_dl{background:#fff;color:#202D4D}
.offer_block_btns a:hover{opacity:.88}
