/*
  Theme Name: ynthemes
  Author: default
  Author URI: https://site.com
  Text Domain: batist
  Theme URI: https://site.com
  Description: Twenty Twenty-Three is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
  Requires at least: 6.1
  Tested up to: 6.2
  Requires PHP: 5.6
  Version: 1.0
  License: GNU General Public License v2 or later
  License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

body.logged-in header {
    margin-top: 28px;
}
@media only screen and (max-width: 600px) {

    body.single,
    body.page-template-page-diy-new {
        background-size: cover;
    }
}
#password-protected-logo {
    display: none !important;
}
/*body.logged-in .header {*/
/*    margin-top: 30px;*/
/*}*/
article {
    opacity: 0;
    transition: all 0.25s ease-in-out;
}
a {
    text-decoration: none;
    color: #000;
}
.logged-in .user-registration-page .header {
    padding-top: 24px;
}
a img {
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}
a:hover img {
    opacity: 0.8; /* Example effect: changes opacity */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

/*.date_hidden {*/
/*    display: none !important;*/
/*}*/
::placeholder {

    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: rgba(255, 255, 255, 0.3) !important;
}
::-webkit-scrollbar {
    width: 3px;
    padding: 5px;
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: #5D5D5D;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #787878;
}
input[type="search"]::-webkit-search-decoration:hover,
input[type="search"]::-webkit-search-cancel-button:hover {
    cursor:pointer;
}
.no-item-found {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}
@media only screen and (max-width: 600px) {
    .no-item-found {
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 23px;
    }
}


/*.main {*/
/*    padding-top: 75px;*/
/*}*/
@media only screen and (max-width: 600px) {
    .main {
        padding-top: 60px;
    }
    body._lock {
        overflow: hidden;
    }
}

.container {
    max-width: 1230px;
    padding-right: 16px;
    padding-left: 16px;
    margin: 0 auto;
}
@media only screen and (max-width: 1680px) {
    .container {
        max-width: 1320px;
    }
}
@media only screen and (max-width: 1440px) {
    .container {
        max-width: 1280px;
    }
}
@media only screen and (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 1280px) {
    .container {
        max-width: 1140px;
    }
}

@media only screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
}





.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    max-height: 900px;
}

.hero_block,
.hero_content,
.hero_slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero_slider .swiper-wrapper,
.hero_slider .swiper-slide {
    height: 100%;
}

.hero_slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero_slide_bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero_slide_overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35);
}

.hero_static_content {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.hero_static_content_inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 140px 20px 60px;
    box-sizing: border-box;
}

.hero_content_item {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.hero_content_item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero_content_item .hero_slide_buttons,
.hero_content_item .hero_slide_button,
.hero_content_item a,
.hero_content_item button {
    pointer-events: auto;
}

.hero_slide_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero_slider_pagination {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    bottom: 30px !important;
    z-index: 6;
}

.hero_slider_pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
}

.hero_slider_pagination .swiper-pagination-bullet-active {
    background: #fff;
}
.hero_slide_label {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 115%;
    display: flex;
    align-items: center;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 10px;
}
.hero_content_item {
    max-width: 500px;
}
.hero_slide_title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 56px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
}
.hero_slide_text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    display: flex;
    align-items: center;
    color: #0C2E47;
    margin-bottom: 44px;
    margin-top: 22px;
}

.hero_slide_button a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    height: 54px;
    min-height: 40px;
    background: #EEF6FC;
    border-radius: 96px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #1A4F78;
    border: 1px solid var(--semantic-color-brand-secondary-text, rgba(26, 79, 120, 1))
}
.hero_slide_button:first-child a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    height: 54px;
    min-height: 40px;
    background: #1A4F78;
    border-radius: 96px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #EEF6FC;
}
@media (max-width: 991px) {
    .hero {
        height: 100svh;
        height: 100dvh;
    }

    .hero_static_content_inner {
        padding: 120px 16px 40px;
    }

    .hero_content_item {
        left: 16px;
        right: 16px;
    }
}