

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

/* ------FONTS-------- */
            /* @font-face {
                font-family: "Noto_Sans";
                src:
                    url('fonts/Noto_Sans/NotoSans-VariableFont_wdth,wght.ttf');
            }

            @font-face {
                font-family: "Jura";
                src:
                    url('fonts/Jura/Jura-VariableFont_wght.ttf');
            } */

/* ------COLORS-------- */
:root {
    --noir-clair: #101010;
    --noir: #000000;
    --accent: #1BB5B7;
    --blanc: #FFFFFF;
    --noir-header: #181818;
    --light_gray: #d3d3d33f;
    --light_blue: #A0C4C4;

}


h1 {
    font-family: "Sora";
    font-weight: 300;
    font-size: 36px;
    line-height: 1.1;
}

h2 {
    font-family: "Sora";
    font-size: 26px;
    line-height: 1.2;  
    font-weight: 300;
}

h3 {
    font-family: "Sora";
    font-weight: 600;
    font-size: 22px;
}



p {
    font-family: "Noto_Sans";
    font-size: 15px;
}

li {
    list-style-type: none;
    padding-left: 0%;

}
a {
    font-family: "Noto_Sans";
    text-decoration: none;
    color: var(--blanc);
}
nav ul li a {
    position: relative;
    padding-bottom: 5px;
}
nav ul li a::before {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -10px;

    width: 0;
    height: 1px;

    background: var(--blanc);

    transform: translateX(-50%);
    transition: width .3s ease;
    
}
nav ul li ul.sub-menu li a::before {
    display: none;
}

nav ul li:hover a::before {
    width: 100%;
}

/* ----------------BUTTONS----------------------------- */
.CTA-button {
    background-color: var(--accent);
    color: var(--noir);
    padding: 10px 20px;
    border: var(--accent);
    border-radius: 50px;
    font-family: "Noto_Sans";
    font-size: 16px;
    cursor: pointer;
    transition: background-color color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    padding-inline: 45px;
}

.CTA-button:hover {
    background-color: #0E8D8F;
}
.vide {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
}
.CTA-button.vide:hover{
    background-color: var(--accent);
    color: var(--noir);
}
.black{
    background-color: var(--noir);
    color: var(--accent);

}
.black:hover{
    background-color: var(--accent);
    color: var(--noir);
}
.black:hover svg path{
    fill: var(--noir);
}

/* --------------------GENERAL------------------------------ */
body {
    background-color: var(--noir-clair);
    color: var(--blanc);
}
body main.white-bg {
    background-color: #D3D3D3;
    color: var(--noir);
}

    .container {
    max-width: 300px;
    margin-inline: auto;
}
    .breadcrumbs ul{
        display: none
    }


/* --------------------------HEADER---------------------------- */
header {
    background-color: var(--noir-header);
}   

header .container {

    padding-block: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
header nav ul {
    display: flex;
    gap: 20px;
flex-direction: column;
}

/* ---------------------BURGER------------------------------ */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 32px;
    height: 24px;

    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 20;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--blanc);
    transition: transform .25s ease, opacity .25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ------MOBILE NAV (за замовчуванням = мобільний вигляд)------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;

    width: min(320px, 85vw);
    height: 100vh;

    background: var(--noir-header);
    padding: 100px 24px 24px;

    display: flex;
    flex-direction: column;
    gap: 32px;

    transform: translateX(100%);
    transition: transform .3s ease;

    z-index: 15;
    overflow-y: auto;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav .main-menu,
.mobile-nav nav.langue ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* підменю (Products тощо) на мобільному — без absolute, розкривається інлайн */
.mobile-nav .main-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin-top: 10px;
    transition: max-height .3s ease;
}

.mobile-nav .main-menu .menu-item.is-open > .sub-menu {
    max-height: 500px;
    padding: 15px;
}

.mobile-nav .main-menu .menu-item-has-children > a::after {
    margin-left: auto;
}

/* затемнення фону */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 14;
}

.menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

#avantages h2, #timeline h2, #sertifications h2{
    padding-bottom: 50px;
}
#timeline{
    margin-block: 50px;
}


/* -------------------INDEX---------------------- */
#main #hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 100px;
    gap: 50px;
}
.CTA-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
        width: 100%;
    align-items: center;
}

.hero-home-h1{
    text-align: center;
}


/* ----slider---- */


.activity-grid {
    display: grid;
    gap: 20px;

    grid-template-columns: 1fr;
   
}

.splide__arrow svg path{
    fill: var(--noir);
}



.activity-card {
    position: relative;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
    min-height: 280px;
}

.activity-card::before {
    content: "";
    z-index: 10;
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #959595,
        #202020,
        #666666
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}


.activity-card img {
    filter: grayscale(100%) ;
     transition: filter .6s ease;
    
}
.activity-card:hover img {
    filter: grayscale(0%) ;
}

.activity-card > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.activity-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}



.activity-card__content {
    position: relative;
    z-index: 1;

    height: 100%;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding: 32px;
}

.activity-card__icon {
    flex-shrink: 0;
}

.insights-slider {
    position: relative;
}

.slide-card {
    position: relative;
    aspect-ratio: 3 / 4;

    border-radius: 30px;
    overflow: hidden;

    background: #111;
}


.slide-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.slide-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.8) 0%,
            rgba(0,0,0,.2) 50%,
            rgba(0,0,0,0) 100%
        );
}

.slide-content {
    position: absolute;
    left: 24px;
    bottom: 24px;
    right: 24px;

    z-index: 2;
}

.slide-content h3 {
    margin-bottom: 8px;
}

.slide-content p {
    opacity: .8;
}

/* arrows */

.splide__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    margin-bottom: 24px;

}

.splide__arrow {
    position: static;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.2);

    background: transparent;
    color: white;

    transform: none;
        background-color: var(--accent) !important;
}

.splide__arrow svg {
    display: none;
}

#hero-lottie {
    width: 100%;
    max-width: 800px;

    aspect-ratio: 16/9;

    margin: 0 auto;
}

/* --------------------SHOP PAGE----------------------- */

#nav_supl {
    
    background-color: #383838;
    height: 200px;
    color: var(--blanc);
    display: flex;
}

    #nav_supl .container .nav_supl__list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;  
    
}
.nav_supl__list li{
    border: 1px solid var(--blanc);
    border-radius: 10px;
    transition: all ease-out;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.nav_supl__list li a{
font-size: 14px;
}
.nav_supl__list li:hover{
    background-color: var(--light_gray);
    color: var(--noir);

}
#nav_supl .container {
margin-block: auto;
}

.shop-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;  
    padding-block: 50px;
}
.card_produit {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 30px;
    overflow: hidden;
    background-color:#C3C3C3 ;
}
.card_produit_img {
background-color: #B6B4B4;
border-radius: 30px;
}
.card_produit_img{
display: flex;
justify-content: center;
align-items: center;
}
.card_produit_content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card_produit_btn{
    display: flex;
    flex-direction: row;
    justify-content: end
}
#block-catalogue {
    padding-block: 50px;
}

#block-catalogue .container{
    background-color: var(--accent);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-block: 50px;
    border-radius: 30px;
padding: 20px;
}
.catalogue-content{
    gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
}
.catalogue-img{
    flex: 2;
}

/* --------------------single-product----------------------- */
.description p{
    padding-block: 50px;
    font-size: 26px;
}
#hero-product, #technical-characteristics{
    background-color:#444444;
    color: var(--blanc);
    margin-block: -4px;
}
#technical-characteristics .container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-block: 50px;
}
#technical-characteristics a.CTA-button svg path{
    fill: var(--noir);
    
}
.product-gallery{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.product-gallery__thumb{
    background-color: transparent;
    border: none;
}

.product-gallery__thumbs{
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
}
.other-products-slider{
    visibility: visible !important;
}
#other-products {
    padding-block: 30px;
}
/* ----SLIDER--- */
.product-card
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 30px;
    overflow: hidden;
    background-color:#C3C3C3 ;
    width: 330px;
    
}
.other-products-slider{
width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: 5px;
}
.splide__list{
    display: flex;
    gap: 20px;
}
.product-card__photo{
    background-color: #B6B4B4;
    border-radius: 30px;
}
.product-card__content{
    padding-inline: 36px;
    padding-block: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--noir);

    padding-bottom: 50px;
}   
.product-card__content svg{
    position: absolute;
    bottom: 14px;
    right: 14px;
    color: var(--blanc);
}
#other-products .CTA-button{
    margin-block: 50px;
}

/* --------------------Solution----------------------- */


#hero_solution{
    position: relative;
    height: fit-content;
    padding-bottom: 30px;
}

.img-hero{
    /* position: absolute; */
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;

}
.functional-description{
    padding-bottom: 50px;
}
.avantages-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.avantages-item{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}
.solutions-technologies{
    padding-top: 50px;
}
.solutions-technologies-list ul{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 30px;
}
#other-products h2{
    padding-bottom: 20px;
}
#other-products .CTA-button{
    margin-inline: auto;
    margin-block: 50px;
}
/*============== Transformarors ================== */
.trans-buton{
    background-color: var(--accent);
    height: 200px;
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    transition: all .4s ease;
}
.trans-buton:hover{
    background-color: #0E8D8F;

}
.little{
    height: fit-content;
}

.container .black{
    background-color: var(--noir);
    color: var(--accent);
}
.container .black:hover ,.container .black:hover svg{
    color:var(--blanc)
}
.trans-buton svg {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.buttons-container{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-inline: auto;
}

.img-large{
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.img-large img{
   height: 100%;
    object-fit: cover;
    object-position: center;
    
}
.h1-trans{
    padding-block: 50px;
    text-align: center;
}
.running-line-container{

 width: 100%;
    background-color: var(--accent);
    height: 100%;
    overflow: hidden;
        margin-block: 50px;
}
.running-line {
    height: 100%;
    /* display: flex; */
    white-space: nowrap;
    gap: 0;
    padding: 16px 0;
    /* margin-block: 50px; */
    /* animation: scroll-left 15s linear infinite !important; */
    animation: marquee 8s linear infinite;
    
}

.running-line li {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    padding: 0 40px;
    /* animation: marquee 12s linear infinite; */
       
}

.running-line li p {
    color: var(--noir);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#avantages-trans .avantages-list{
    grid-template-columns: 1fr;
    margin-block: 70px;
    margin-inline: auto;
    width: 70vw;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}



/* ===== TIMELINE ===== */

#timeline {
    padding-block: 60px;
}

#timeline > .timeline-container {
    margin-bottom: 48px;
}

/* вертикальна лінія на мобайл — ::before до .timeline */
#timeline .timeline-container{
    position: relative;
    margin-block: 50px;
}

#timeline .timeline-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 19px;                     /* по центру кружечків */
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--accent);
}

/* список */
#timeline ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-block: 8px;
}

/* кожен пункт */
#timeline li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;

    /* відступ зліва щоб текст не перекривав лінію */
    padding-left: 58px;
}

/* кружечок через ::before до li */
#timeline li::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;

    width: 38px;
    height: 38px;
    border-radius: 50%;

    background-color: var(--accent);
   

    /* центруємо по лінії */
    transform: translateX( calc( -50% + 1px ) );
    left: 19px;
}

#timeline li h3 {
    line-height: 1.3;
}

#timeline li p {
    opacity: .75;
}

#nomres .container {
    background-color: #A0C4C4;
    display: flex;
    border-radius: 30px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    text-align: center;
    margin-block: 50px;
}
#nomres .container li{
    margin-block: 50px;
}
#nomres .container li h3{
    color: var(--accent);
    font-family: 'Noto Sans';
    font-size: 82px;
    font-weight: 800;
    line-height: 0.5;
}
#nomres .container li h3 .small-txt {
    font-size: 22px;
    font-weight: 600;
    
}
#nomres .container li p{
    margin-top: 20px;
}
#transformer-products .CTA-container{
    margin-block: 50px;
}
#form-transform{
    padding-bottom: 50px;
}

/* ----------BLOG-------------------- */

 
#blog-main,
#article-main {
    background-color: #D3D3D3;
    color: var(--noir);
}
 

 
#blog-hero {
    padding-block: 40px 32px;
}
 
#blog-hero h1 {
    margin-bottom: 12px;
    color: var(--noir);
}
 
.blog-hero__lead {
    color: #5a5a5a;
    max-width: 560px;
}
 
 
/* ------------------BLOG GRID----------------------- */
 
#blog-grid {
    padding-bottom: 60px;
}
 
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
 
/* картка */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
 
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
 
.blog-card__link {
    display: flex;
    flex-direction: column;
    color: var(--noir);
    text-decoration: none;
    height: 100%;
}
 
/* зображення */
.blog-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e0e0e0;
}
 
.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
 
.blog-card:hover .blog-card__img img {
    transform: scale(1.04);
}
 
.blog-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c8c8c8, #e8e8e8);
}
 
/* контент */
.blog-card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex: 1;
}
 
.blog-card__meta {
    font-size: 13px;
    color: #888;
}
 
.blog-card__title {
    font-family: "Sora", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--noir);
    margin: 0;
}
 
.blog-card__excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    flex: 1;
}
 
.blog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-family: "Noto_Sans", sans-serif;
    color: var(--accent);
    font-weight: 600;
    margin-top: 4px;
    transition: gap .2s ease;
}
 
.blog-card:hover .blog-card__cta {
    gap: 10px;
}
 
 
/* -------------------------------------------------------
   ПАГІНАЦІЯ
------------------------------------------------------- */
 
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
 
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: "Noto_Sans", sans-serif;
    font-size: 14px;
    color: var(--noir);
    background: #fff;
    transition: background .2s ease, color .2s ease;
    text-decoration: none;
}
 
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--accent);
    color: #fff;
}
 
.blog-empty {
    text-align: center;
    padding: 60px 0;
    color: #888;
}
 
 
/* -------------------------------------------------------
   ARTICLE HERO
------------------------------------------------------- */
 
#article-hero {
    padding-bottom: 32px;
}
 
#article-hero .breadcrumbs {
    padding-block: 24px 0;
}
 
.article-hero__img {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    margin-bottom: 24px;
}
 
.article-hero__img img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    display: block;
}
 
.article-hero__meta {
    margin-bottom: 12px;
}
 
.article-hero__date {
    font-size: 13px;
    color: #888;
    font-family: "Noto_Sans", sans-serif;
}
 
#article-hero h1 {
    color: var(--noir);
    margin-top: 8px;
}
 
 
/* -------------------------------------------------------
   ARTICLE BODY — типографіка контенту
------------------------------------------------------- */
 
#article-body {
    padding-block: 32px 48px;
}
 
.article-content {
    max-width: 720px;
    margin-inline: auto;
}
 
/* всі теги що генерує редактор WordPress */
.article-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #2a2a2a;
    margin-bottom: 20px;
    font-family: "Noto_Sans";
}
 .wp-block-paragraph code{
    font-family: "Noto_Sans";
 }
.article-content h2 {
    font-family: "Sora", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--noir);
    margin-top: 40px;
    margin-bottom: 16px;
}
 
.article-content h3 {
    font-family: "Sora", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--noir);
    margin-top: 32px;
    margin-bottom: 12px;
}
 
.article-content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    margin-block: 28px;
}
 
.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
 
.article-content ul li,
.article-content ol li {
    list-style-type: disc;
    font-size: 16px;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 8px;
}
 
.article-content ol li {
    list-style-type: decimal;
}
 
.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin-block: 28px;
    color: #555;
    font-style: italic;
}
 
.article-content a {
    color: var(--accent);
    text-decoration: underline;
}
 
.article-content strong {
    font-weight: 700;
    color: var(--noir);
}
 
 
/* -------------------------------------------------------
   НАВІГАЦІЯ МІЖ СТАТТЯМИ
------------------------------------------------------- */
 
#article-nav {
    padding-block: 32px 48px;
    border-top: 1px solid #c0c0c0;
}
 
.article-nav__links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
 
.article-nav__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--noir);
    text-decoration: none;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    transition: background .2s ease;
}
 
.article-nav__link:hover {
    background: #efefef;
}
 
.article-nav__label {
    font-size: 12px;
    color: #888;
    font-family: "Noto_Sans", sans-serif;
}
 
.article-nav__title {
    font-size: 15px;
    font-weight: 600;
    font-family: "Sora", sans-serif;
    color: var(--noir);
    line-height: 1.3;
}
 
.article-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-family: "Noto_Sans", sans-serif;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: gap .2s ease;
}
 
.article-nav__back:hover {
    gap: 10px;
}
 
 /* ----------FORM-------------------- */
 #form-transform .container{
display: flex;
flex-direction: column;
    }

/*============== TABLETTE ================== */

@media (min-width: 768px){
    .container {
        max-width: 600px;
        margin-inline: auto;
        
    }



    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
 
    .article-hero__img {
        max-height: 520px;
    }
 
    .article-nav__links {
        flex-direction: row;
    }
 
    .article-nav__link {
        flex: 1;
    }
 
    .article-nav__link--next {
        align-items: flex-end;
        text-align: right;
    }

}
/*================= DESKTOP =============== */
@media (min-width: 1160px) {

/* ----------GENERAL------------ */
/* body{
    overflow: hidden;
} */

h1 {
    font-size: 63px;
}

h2 {
    font-size: 40px;
    font-family: "Sora";
    font-weight: 600;
    color: #3F3F3F;

}

h3 {
    font-size: 24px;
}

p {
    font-size: 17px;
}  

.container {
        max-width: 1318px;
        margin-inline: auto;
    }
     .breadcrumbs{
        padding-block: 50px;
     }
    .breadcrumbs ul{
        display: flex;
        gap: 10px;
        font-size: 14px;
        color: #ABABAB;
        
    }
.breadcrumbs a:hover {
    color: var(--noir);
    text-decoration: none;
}
/* ----------splide----------- */

.splide__slide, .product-card{
    width: unset;
}
/* ----------HEADER----------- */

header nav ul {
flex-direction: row;
}
.main-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.main-menu .menu-item-has-children > a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s;
    margin-top: -3px;
}


.main-menu .menu-item {
    position: relative;
}

.main-menu .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;

    min-width: 240px;

    background: #202020;
   
    padding: 15px;

    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: .25s;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.main-menu .menu-item .sub-menu{
    opacity: 0  ;
}

.main-menu .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .menu-item:hover > a::after {
    transform: rotate(225deg);
}


.sub-menu li {

    list-style: none;

}
/* .sub-menu li a::before {
    display: none;
}
.sub-menu li:hover a::before {
    display: block;
} */

.sub-menu a {

    display: block;

    padding: 10px 20px;

    text-decoration: none;

    color: white;

    transition: background .2s;

}

.sub-menu a:hover {

    background: rgba(255,255,255,.08);

}

.sub-menu li a{
    text-decoration: none   ;
}
.sub-menu li a:hover ::after ::before{
    display: none;
}
/* ------BURGER------- */


    .burger {
        display: none;
    }

    .mobile-nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        flex-direction: row;
        justify-content: space-between;
        flex: 1;
        margin-left: 40px;

        transform: none;
        transition: none;
        overflow: visible;
    }

    .mobile-nav .main-menu,
    .mobile-nav nav.langue ul {
        flex-direction: row;
        gap: 20px;
    }

    .mobile-nav .main-menu .sub-menu {
        position: absolute;
        max-height: none;
        overflow: visible;
    }

    .menu-backdrop {
        display: none;
    }


/* ------INDEX------- */

.CTA-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;

}
 .activity-grid {
        grid-template-columns: repeat(3, 1fr);

        grid-template-areas:
            "energy water water"
            "cable cable transformer";

             /* grid-template-areas:
        "energy water"
        "cable transformer"; */
    }
.activity-card--energy { grid-area: energy; }
.activity-card--water { grid-area: water; }
.activity-card--cable { grid-area: cable; }
.activity-card--transformer { grid-area: transformer; }

.activity-card:hover .activity-card__icon circle {
    fill: var(--blanc);
}
.activity-card:hover .activity-card__icon path {
    color: var(--noir);
}
.activity-card:hover img {
    transform: scale(1.05);
}

.activity-card:hover .activity-card__icon {
    transform: translateX(4px);
}

.activity-card__icon {
    transition: transform .3s ease;
}



/* --------------------SHOP PAGE----------------------- */

#nav_supl {
display: flex;
    height: 56px;

}
#nav_supl .container{
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
}
#nav_supl .container .nav_supl__list{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
 
    align-items: center;
    width: 100%;
    
}
#nav_supl .container .nav_supl__list li{
    border: none;
}
#nav_supl li a {
    color: #c3c3c3;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 17px;
}
#nav_supl li a:hover {
    color: var(--blanc);
   
}
.shop-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;  
}
#block-catalogue .container{
    flex-direction: row;
}

/* --------------------single-product----------------------- */

#hero-product .container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
padding-block: 50px;
}
#hero, #technical-characteristics{
    flex: 1;
}
.product-gallery__main img{
    height: 414px;;
}
.product-gallery__thumb img{
    height: 100px;
    width: auto;
}
#technical-characteristics{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    
    gap: 30px;
    height: 100%;
}
.technical-characteristics{
 list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #CFCFCF;
    font-size: 16px;
    
}
#other-products .other-products-slider {
    width: 100%;
    margin-inline: unset;
    padding-inline: 0;
}
#other-products h2 {
    padding-block: 50px;
}
#other-products .CTA-button{
    margin-inline: auto;
   
}

/* --------------------Solution----------------------- */
.avantages-list{
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.solutions-technologies-list ul{
    display: block;
columns: 2;
    column-gap: 60px;

}
.solutions-technologies-list ul li{
    break-inside: avoid;
    margin-bottom: 24px;
}
.hero_solution .container{
    margin-top: -50px;
}


/*====================== Transformarors ========================= */
.img-large img {
    width: 100%;
    height: 100%;
}
.img-large{
    height: 510px;
}
.individual-approach{
    display: flex;

}
.individual-approach h2, .individual-approach p {
    flex: 1;
}
#avantages-trans .avantages-list{
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}
#avantages-trans .CTA-button{
    margin-inline: auto;
}

/* ===== TIMELINE ===== */
    /* горизонтальна лінія — ::before до #timeline */
    #timeline .timeline-container::before {
        top: 27px;
        bottom: auto;
        left: 0;
        right: 0;
        width: 100%;
        height: 2px;
        transform: translateY(-50%);
    }

    #timeline ul {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        justify-content: space-between;
    }

    #timeline li {
        flex: 1;
        padding-left: 0;
        padding-top: 58px;         /* відступ зверху щоб текст був під кружечком */
        align-items: center;
        text-align: center;
    }

    /* кружечок зверху по лінії */
    #timeline li::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    #avantages-trans h2, #sertifications h2, #timeline h2 {
        width: 35%;
    }
    #sertifications p{
        width: 65%;
    }

    #nomres .container{
        flex-direction: row;
        padding-inline: 130px;
    }
    .buttons-container{
        grid-template-columns: 1fr 1fr;
    }

    /* ----------BLOG-------------------- */


    #blog-hero {
        padding-block: 60px 48px;
    }
 
    #blog-hero h1 {
        font-size: 63px;
    }
 
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
 
    .blog-card__title {
        font-size: 20px;
    }
 
    /* article */
 
    .article-hero__img {
        max-height: 620px;
    }
 
    #article-hero h1 {
        font-size: 52px;
    }
 
    .article-content p,
    .article-content ul li,
    .article-content ol li {
        font-size: 17px;
    }
 
    .article-content h2 {
        font-size: 32px;
    }
 
    .article-content h3 {
        font-size: 24px;
    }
   
  /* ----------FORM-------------------- */
 #form-transform .container{
    flex-direction: row;
    }
#form-transform .container > *{
    flex: 1;
}
#form-transform .container .form-h2 h2{
    width: 70%;
}
.wpforms-field-medium{
    width: 100% !important;
}
}