/*
Theme Name: Twenty Twenty-Three
*/

/* ============================================================
   BLOG POST — стилі для контенту Gutenberg (single.php)
   Підключай в functions.php:
   wp_enqueue_style('blog-post', get_template_directory_uri() . '/assets/css/blog-post.css', array(), '1.0.0');
   ============================================================ */

/* ---- Обгортка контенту ---- */
.blog-content .entry-content,
.blog-content .wp-block-post-content {
  max-width: 800px;
  margin: 0 auto;
}

/* ---- Featured image / перша картинка ---- */
.blog-content .entry-content > .wp-block-image:first-child,
.blog-content .entry-content > figure.wp-block-image:first-child {
  overflow: hidden;
  border-radius: 10px;
  max-width: 800px;
  max-height: 533px;
  margin: 0 auto 120px;
}
.blog-content .entry-content > .wp-block-image:first-child img,
.blog-content .entry-content > figure.wp-block-image:first-child img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* ---- Всі зображення в контенті ---- */
.blog-content .entry-content .wp-block-image {
  overflow: hidden;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto 48px;
}
.blog-content .entry-content .wp-block-image img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* ---- Заголовки в контенті ---- */
.blog-content .entry-content h2,
.blog-content .entry-content .wp-block-heading {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--color_black);
  margin-bottom: 16px;
  margin-top: 48px;
  max-width: 800px;
}

/* ---- Параграфи ---- */
.blog-content .entry-content p,
.blog-content .entry-content .wp-block-paragraph {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 145%;
  color: rgba(0, 0, 0, 0.549);
  margin-bottom: 48px;
  max-width: 800px;
}

/* ---- Цитата (core/quote або core/pullquote) ---- */
.blog-content .entry-content .wp-block-quote,
.blog-content .entry-content .wp-block-pullquote {
  padding: 80px 0;
  border: none;
  margin: 0;
  max-width: 100%;
}
.blog-content .entry-content .wp-block-quote p,
.blog-content .entry-content .wp-block-pullquote p {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--color_black);
  max-width: 800px;
  margin: 0 auto 48px;
}
.blog-content .entry-content .wp-block-quote cite,
.blog-content .entry-content .wp-block-pullquote cite {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  font-style: normal;
  font-size: 16px;
  color: var(--color_black);
}

/* ---- Separator ---- */
.blog-content .entry-content .wp-block-separator {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 48px auto;
  max-width: 800px;
}

/* ---- Списки ---- */
.blog-content .entry-content ul,
.blog-content .entry-content ol,
.blog-content .entry-content .wp-block-list {
  max-width: 800px;
  margin: 0 auto 48px;
  padding-left: 24px;
  color: rgba(0, 0, 0, 0.549);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 145%;
}
.blog-content .entry-content ul li {
  list-style-type: disc;
}
.blog-content .entry-content ol li {
  list-style-type: decimal;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .blog-content {
    padding-top: 141px;
  }
  .blog-content h1 {
    font-size: 40px;
  }
  .blog-content .subtitle {
    margin-bottom: 60px;
  }
  .blog-content .entry-content .wp-block-quote p,
  .blog-content .entry-content .wp-block-pullquote p {
    font-size: 24px;
  }
  .blog .h2_title.mobile-small {
    font-size: 32px;
  }
}
@media (max-width: 500px) {
  .blog-content .entry-content > .wp-block-image:first-child {
    margin: 0 -32px 80px;
    border-radius: 0;
  }
  .blog-content .entry-content .wp-block-image {
    margin: 0 -32px 48px;
    border-radius: 0;
  }
}



.service-info__content .text-content h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  letter-spacing: -2%;
  color: var(--color_black);
  margin-bottom: 24px;
  margin-top: 40px;
}

.service-info__content h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -1.5%;
  color: var(--color_black);
  margin-bottom: 16px;
  margin-top: 32px;
}

.service-info__content p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 145%;
  letter-spacing: -0.5%;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 16px;
}

.service-info__content ul,
.service-info__content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.service-info__content ul li {
  list-style-type: disc;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 145%;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 8px;
}

.service-info__content ol li {
  list-style-type: decimal;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 145%;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 8px;
}

.service-info__content strong {
  font-weight: 600;
  color: var(--color_black);
}

.service-info__content a {
  color: var(--color_green2);
  text-decoration: underline;
  transition: var(--trans);
}

.service-info__content a:hover {
  opacity: 0.7;
}


.select-box {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.select-box svg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}