/*
Theme Name: Salient Child Theme
Description: Custom child theme for Salient (VARTA)
Template: salient
Version: 1.0
*/

/* ==========================
   1. Підключення шрифтів
   ========================== */

/* Основний текстовий шрифт */
@font-face {
  font-family: 'KyivType Serif';
  src: url('fonts/KyivTypeSerif-Regular.woff2') format('woff2'),
       url('fonts/KyivTypeSerif-Regular.woff') format('woff'),
       url('fonts/KyivTypeSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Nastup Basic — regular */
@font-face {
  font-family: 'Nastup Basic';
  src: url('fonts/Nastup-Basic.woff2') format('woff2'),
       url('fonts/Nastup-Basic.woff') format('woff'),
       url('fonts/Nastup-Basic.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Nastup Basic — bold (якщо файл _1 дійсно жирний) */
@font-face {
  font-family: 'Nastup Basic';
  src: url('fonts/Nastup-Basic_1.woff2') format('woff2'),
       url('fonts/Nastup-Basic_1.woff') format('woff'),
       url('fonts/Nastup-Basic_1.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ==========================
   2. Базова типографіка
   ========================== */

/* Весь звичайний текст сайту */
html,
body {
  font-family: 'KyivType Serif', 'Times New Roman', serif;
  font-size: 24px;
}

/* Наслідування body-шрифту для стандартного тексту */
body,
p,
li,
ol,
ul,
a,
span,
strong,
em,
small,
.nectar-post-grid-item .content,
.nectar-blog-fullwidth-article .post-content,
.nectar-fancy-ul ul li,
.widget,
#sidebar,
#footer-outer,
.comment-list,
.nectar_icon_wrap .text,
.nectar-cta .nectar-cta-text,
.nectar_icon_list li .content {
  font-family: inherit;
}

/* Форми, кнопки тощо — теж текстовий шрифт */
input,
textarea,
select,
button,
.nectar-button,
body .button,
.nectar-form-control,
.woocommerce input,
.woocommerce textarea,
.woocommerce select {
  font-family: 'KyivType Serif', 'Times New Roman', serif;
}


/* ==========================
   3. Заголовки (тільки Nastup Basic)
   ========================== */

h1, h2, h3, h4, h5, h6,
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.nectar-animated-title,
.nectar-split-heading,
.nectar-cta .link_wrap,
.nectar-highlighted-text em,
.nectar-milestone .number,
.nectar-fancy-box .inner h1,
.nectar-fancy-box .inner h2,
.nectar-fancy-box .inner h3,
.page-title,
.row .col.section-title span,
#ajax-content-wrap .portfolio-items .work-meta h3 {
  font-family: 'Nastup Basic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
}

/* Жирні заголовки, якщо треба */
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
  font-family: 'Nastup Basic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
}


/* ==========================
   4. Логотип і меню в шапці
   ========================== */

/* Текстовий логотип Salient */
#header-outer #logo.no-image,
#header-outer .logo-clone.no-image,
#header-outer[data-format="centered-menu"] .logo-spacing[data-using-image="false"],
#header-outer[data-format="centered-logo-between-menu"] .logo-spacing[data-using-image="false"],
#header-outer #logo .text-logo,
#header-outer .logo-clone .text-logo {
  font-family: 'Nastup Basic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
}

/* Головне меню в шапці */
#header-outer nav > ul > li > a,
#header-outer nav > ul > li > a span,
#top nav ul .megamenu > ul > li > a {
  font-family: 'Nastup Basic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Мобільне меню / off-canvas */
#slide-out-widget-area .menu li a,
#slide-out-widget-area .inner .off-canvas-menu-container li a {
  font-family: 'Nastup Basic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


/* ==========================
   5. Акценти / кнопки, якщо треба заголовковий шрифт
   ========================== */

/* Якщо хочеш, щоб деякі кнопки виглядали як заголовки */
.nectar-button.extra-heading,
body .button.extra-heading {
  font-family: 'Nastup Basic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
}
