/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

.nasa-topbar-wrap {
    background-color: #396256 !important
}

.header-wrapper.nasa-header-transparent #top-bar {
    background-color: #396256 !important
}

#top-bar {
    border-bottom: 0px !important;
    justify-self: center;
}

.nasa-header-transparent .nasa-topbar-wrap.nasa-topbar-toggle .nasa-icon-toggle {
    background-color: #396256 !important;
    color: #fff !important;
    border: 0px;
}

#header-content {
    --top-sticky: -42px !important;
}

.custom-banner .banner {
    height: 400px !important;
    border-radius: 12px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .custom-banner .banner {
        height: 300px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .custom-banner .banner {
        height: 300px !important;
    }

    .heading-custom {
        font-size: 8vw !important;
    }

    .post-type-archive-product .woocommerce-products-header__title.page-title::after {
        font-size: 8vw !important;
    }

    .post-type-archive-product .nasa_shop_description-wrap {
        padding: 46px !important;
    }

    .nasa-first-breadcrumb {
        font-size: 8vw !important;
    }

    .breadcrumb-row {
        padding: 20px;
        height: auto !important;
    }

    .nasa-breadcrumb {
        margin: 10px !important;
    }
}

.heading-custom {
    color: #FBFAF5 !important;
    font-size: 52px;
    font-family: "El Messiri", sans-serif;
    margin: 20px;
}

.post-type-archive-product .nasa_shop_description-wrap {
    background-color: #396256;
    text-align: center;
    margin-bottom: 50px;
    margin: 20px;
    padding: 20px;
    border-radius: 20px;
}

.post-type-archive-product .woocommerce-products-header__title.page-title {
    font-size: 0 !important;
    margin: 0;
}

.post-type-archive-product .woocommerce-products-header__title.page-title::after {
    content: "Магазин";
    font-size: 56px;
    color: #FBFAF5 !important;
    font-family: "El Messiri", sans-serif;
}

.breadcrumb {
    display: none;
}

.nasa-first-breadcrumb {
    font-size: 52px;
    font-family: "El Messiri", sans-serif;
}

.nasa-breadcrumb {
    margin: 20px;
    border-radius: 20px;
}

.top-bar {
    width: 100%;
}

.top-bar .left-text  {
    width: 100%;
}

/* ==========================================================================
   ИЗОЛИРАНИ СТИЛОВЕ САМО ЗА БЛОГ СТАТИИ (AFTER-FOODS)
   ========================================================================== */

/* Импорт на шрифтовете */
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;600;700&family=Sofia+Sans:wght@300;400;500;600;700&display=swap');

/* Основен текст - САМО в статия */
body.single-post .entry-content,
body.single-post .elementor-widget-text-editor {
    font-family: 'Sofia Sans', sans-serif !important;
    color: #444444;
    line-height: 1.7;
    font-size: 16px;
}

/* Заглавия (H1, H2, H3, H4) - САМО в статия */
body.single-post h1, 
body.single-post h2, 
body.single-post h3,
body.single-post h4 {
    font-family: 'El Messiri', sans-serif !important;
    color: #396256 !important;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.3;
}

body.single-post h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

body.single-post h2 {
    font-size: 24px;
    border-bottom: 2px solid #eef2f0;
    padding-bottom: 8px;
}

/* Автоматично позеленяване на удебеления текст - САМО в статия */
body.single-post strong, 
body.single-post b {
    color: #396256 !important;
    font-weight: 700;
}

/* Списъци с отметки (✔) - САМО в статия */
body.single-post .entry-content ul,
body.single-post .elementor-widget-text-editor ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-top: 15px;
    margin-bottom: 25px;
}

body.single-post .entry-content ul li,
body.single-post .elementor-widget-text-editor ul li {
    position: relative;
    padding-left: 30px !important;
    margin-bottom: 10px;
    font-size: 16px;
}

body.single-post .entry-content ul li::before,
body.single-post .elementor-widget-text-editor ul li::before {
    content: "✔" !important;
    position: absolute;
    left: 5px;
    color: #396256;
    font-weight: 900;
}

/* Центриране и заобляне на снимките - САМО в статия */
body.single-post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 4px;
}

/* Блок "Източници" - САМО в статия */
body.single-post .elessi-source-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}

body.single-post .elessi-source-section ul li::before {
    content: "•" !important;
    font-size: 18px !important;
    top: -1px;
}

/* Блок "Важно / Disclaimer" - САМО в статия */
body.single-post .elessi-disclaimer-box {
    background-color: #fafafa;
    border-left: 4px solid #396256;
    padding: 15px;
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.5;
}