*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.bp-root {
  width: 100%;
}
.bp-hero h1 {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-size: clamp(29px, 2.5vw, 38px);
  line-height: 130%;
  color: #000000;
  margin-bottom: 24px;
}
.bp-hero {
  margin-bottom: 54px;
}
.bp-hero p {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 140%;
  color: #000000;
  margin-bottom: 12px;
}

.bp-section h2 {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  color: #000000;
  margin-bottom: 16px;
}
.bp-section p {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #000000;
}
div p:not(:first-child) {
  margin-top: 12px;
}
.bp-body {
  margin-bottom: 64px;
}
.bp-highlight {
  margin-left: 64px !important;
  margin-top: 16px;
  border-left: 3px solid #00143e;
  padding: 32px;
  background: #f5f8ff;
}
.bp-highlight p {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 140%;
  color: #000000;
}
.bp-ul {
  list-style: none;
  padding: 10px 0 0 64px;
}
.bp-ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: 150%;
  color: #000000;
  margin-bottom: 12px;
}
.bp-ul li:last-child {
  border-bottom: none;
}
.bp-ul li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f45500;
  flex-shrink: 0;
  margin-top: 6px;
}
.bp-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 32px;
}

.box-img {
  padding-top: 64px;
  max-width: 782px;
  margin: 0 auto;
}

.box-img img {
  display: block;
  width: 100%;
  max-width: 782px;
  height: 440px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 32px;
  margin-bottom: 16px;
}
.box-img span {
  display: block;
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 130%;
  color: #000000;
}
.bp-cta-left h3 {
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #f5f0e8;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.bp-cta-left p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.55);
  max-width: 420px;
}

.bp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d4601a;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
}

.bp-btn:hover {
  background: #b84f14;
}
.bp-video {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 30px;
}
.bp-video .vt-slide {
  max-width: 780px;
}
.vt-caption-bottom {
  padding: 16px 0 0 0;
  color: #ffffff !important;
}
.bp-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}
.bp-cta__btn {
  border-radius: 8px !important;
  padding: 20px 32px !important;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: 150%;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
.bp-updated {
  padding: 32px 0;
  text-align: right;
  font-style: italic;
}

.bp-section .bp-updated-artical {
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════
   FADE-АНІМАЦІЇ: .fade-up і .fade-scale
   JS додає клас .show коли елемент потрапляє у в'юпорт.
   ═══════════════════════════════════════════════════════════════════ */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* "Розкриття з центру" для фото */
.fade-scale {
  opacity: 0;
  transform: scale(0.85);
  filter: blur(12px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s ease;
}
.fade-scale.show {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Затримки появи — щоб сусідні елементи виглядали хвилею */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}

/* Користувачі з налаштуванням "зменшити анімацію" — без анімації */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-scale {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
@media (max-width: 1200px) {
  .bp-root {
    padding: 0 clamp(16px, 4vw, 40px);
  }
}

@media (max-width: 768px) {
  .bp-hero h1 {
    margin-bottom: 16px;
  }
  .bp-hero {
    margin-bottom: 48px;
  }
  .bp-body {
    margin-bottom: 48px;
  }
  .bp-highlight {
    margin-left: 24px !important;
    border-left: 3px solid #ad6220;
    padding: 32px;
    background: #f7f0e9;
  }
  .bp-divider {
    display: none;
  }
  .box-img {
    padding-top: 48px;
  }
  .box-img img {
    height: 188px;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .bp-cta__btn {
    margin-bottom: 40px;
    letter-spacing: 0;
    border-radius: 0 !important;
    padding: 15px 24px;
  }
  .bp-video {
    margin-bottom: 48px;
  }
  .vt-caption-bottom {
    color: #000000 !important;
    font-size: 15px !important;
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .page-template-page-article .breadcrumbs {
    position: static;
    z-index: auto;
    padding: 0 !important;
  }
  /* .bp-hero{padding-top: 43px;} */
  .bp-cta__btn {
    width: 100%;
    max-width: 232px;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* Стили для Блог*/
.bp-blog__list {
  margin-bottom: 24px;
}
.bp-blog__title {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-size: clamp(29px, 3vw, 38px);
  line-height: 130%;
  color: #000000;
  margin-bottom: 24px;
}
.bp-blog__item {
  display: flex;
  gap: 30px;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  padding: 24px 0;
}

.bp-blog__thumb img,
.bp-blog__thumb img.attachment-full,
.bp-blog__thumb img.wp-post-image,
.bp-blog .bp-blog__thumb img {
  width: 383px !important;
  height: 100% !important;
  max-width: 383px !important;
  height: 215px !important;
  min-width: 0 !important;
  border-radius: 16px !important;
  object-fit: cover !important;
}

.bp-blog__heading {
  font-family: "Montserrat";
  font-style: normal;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 120%;
  color: #000000;
}
.bp-blog__excerpt {
  font-family: "Montserrat";
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 140%;
  color: #000000;
  margin-bottom: 24px;
}
.bp-blog__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bp-blog__more {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f45500;
}
.bp-blog__date {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #000000;
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 100px;
}
.bp-blog__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  padding: 24px 0;
}
.page-numbers {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #000000;
}

.current {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid #f45500;
  background: #f45500;
  border-radius: 100px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #ffff;
}
.next,
.prev {
  border: 1px solid #000000 !important;
}
@media (max-width: 768px) {
  .blog .breadcrumbs,
  .single .breadcrumbs {
    position: static;
    z-index: auto;
  }
  .bp-blog__title {
    text-align: center;
  }
  .bp-blog__item {
    flex-direction: column;
    gap: 16px;
  }

  .bp-blog__thumb img,
  .bp-blog__thumb img.attachment-full,
  .bp-blog__thumb img.wp-post-image,
  .bp-blog .bp-blog__thumb img {
    width: 383px !important;
    height: 100% !important;
    max-width: 383px !important;
    height: 188px !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    object-fit: cover !important;
  }
  .bp-blog__footer {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }
  .bp-blog__more {
    font-size: 15px;
  }
  .bp-blog__date {
    font-size: 12px;
  }
  .page-numbers {
    width: 40px;
    height: 40px;
  }
  .current {
    background-color: #ad6220;
    border: 1px solid #ad6220;
  }
}

@media (max-width: 375px) {
  .bp-blog__thumb img,
  .bp-blog__thumb img.attachment-full,
  .bp-blog__thumb img.wp-post-image,
  .bp-blog .bp-blog__thumb img {
    width: 383px !important;
    height: 100% !important;
    max-width: 335px !important;
    height: 188px !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    object-fit: cover !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   СТИЛІ КОНТЕНТУ СТАНДАРТНОГО РЕДАКТОРА (.bp-editor-content)
   Автоматично стилізує всі стандартні HTML-елементи WordPress-редактора.
   ═══════════════════════════════════════════════════════════════════ */

/* Параграфи */
.bp-editor-content p {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 140%;
  color: #000000;
  margin-top: 12px;
}
.bp-editor-content p:first-child {
  margin-top: 0;
}

/* Заголовки */
.bp-editor-content h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  color: #000000;
  margin: 40px 0 16px;
}
.bp-editor-content h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  color: #000000;
  margin: 28px 0 12px;
}

/* Маркований список — помаранчева крапка (відповідає .bp-ul) */
.bp-editor-content ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}
.bp-editor-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: 150%;
  color: #000000;
  padding: 10px 0;
}
.bp-editor-content ul li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f45500;
  flex-shrink: 0;
  margin-top: 6px;
}

/* Нумерований список */
.bp-editor-content ol {
  padding-left: 24px;
  margin-top: 12px;
}
.bp-editor-content ol li {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
  padding: 6px 0;
}

/* Зображення і підписи */
.bp-editor-content img {
  display: block;
  width: 100%;
  max-width: 782px;
  height: auto;
  border-radius: 16px;
  margin: 32px auto;
}
.bp-editor-content figure {
  max-width: 782px;
  margin: 32px auto;
}
.bp-editor-content figcaption {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-size: clamp(13px, 1.2vw, 14px);
  color: #6b7280;
  margin-top: 8px;
  text-align: center;
}

/* Відео та вбудовані iframe (YouTube, Vimeo) */
.bp-editor-content iframe,
.bp-editor-content video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 16px;
  margin: 32px auto;
  border: none;
}

/* Blockquote — виноска (відповідає .bp-highlight) */
.bp-editor-content blockquote {
  margin: 24px 0;
  border-left: 3px solid #00143e;
  padding: 24px 32px;
  background: #f5f8ff;
}
.bp-editor-content blockquote p {
  font-size: clamp(15px, 1.2vw, 16px);
  margin-top: 0;
}

/* Посилання у тексті */
.bp-editor-content a {
  color: #f45500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bp-editor-content a:hover {
  color: #e86210;
}

/* Кнопки Gutenberg (.wp-block-button) */
.bp-editor-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1vw, 16px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: #f45500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.bp-editor-content .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(244, 85, 0, 0.35);
  color: #ffffff;
}

/* Адаптив */
@media (max-width: 768px) {
  .bp-editor-content h2 {
    font-size: 20px;
    margin: 32px 0 12px;
  }
  .bp-editor-content h3 {
    font-size: 18px;
    margin: 22px 0 10px;
  }
  .bp-editor-content img,
  .bp-editor-content figure {
    border-radius: 8px;
    margin: 24px auto;
  }
  .bp-editor-content iframe,
  .bp-editor-content video {
    border-radius: 8px;
    margin: 24px auto;
  }
  .bp-editor-content blockquote {
    padding: 20px 24px;
    background: #f7f0e9;
    border-left-color: #ad6220;
  }
}
@media (max-width: 575px) {
  .bp-editor-content .wp-block-button__link {
    width: 100%;
    max-width: 232px;
    font-size: 12px;
  }
}
