@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@200..800&family=Poppins:wght@300;400;500&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:wght@100;300;400;500&display=swap');
@font-face {
  font-family: 'Baskerville';
  src: url('../fonts/baskerville.woff2') format('woff2');
}
* {
    margin: 0;
    padding: 0;
}
/* --- Загальні стилі --- */
body {
    margin: 0;
    font-family: 'Baskerville', sans-serif;
    background-color: #141414;
    transition: background-color 0.5s;
    -webkit-tap-highlight-color: #fff0;
}
body::-webkit-scrollbar {
  display: none;
}
body.menu-open {
    overflow: hidden;
}

/* --- Для екранів 600px і ширше (планшети, розгорнуті телефони) --- */
@media (min-width: 600px) {
  .g-modal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --- Для екранів 939px і ширше (великі планшети, ноутбуки, десктопи) --- */
@media (min-width: 939px) {
  .g-modal-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
/* --- Стилі для основного контенту --- */
.content {
    margin-left: 27%;
    transition: margin-left 0.5s ease;
    color: white;
}
.kind-title br {
    display: none;
}
/* --- Стилі для бокового меню (ДЕСКТОП - ГОЛОВНА СТОРІНКА) --- */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: #141414;
    color: #f5f5f5;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.5s ease;
    display: flex;
    width: 27%;
    padding: 12px 40px;
    justify-content: flex-start;
    align-items: center;
}

.logo-container {
    margin-bottom: 50px;
}

.logo img {
    width: 185px;
    height: 185px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-links li {
    margin-bottom: 50px;
}

.nav-links a {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Робить літери великими тільки на головній сторінці (десктоп) */
.home .nav-links a {
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #ffffff80;
}

.social-icon a {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.3s ease, border-color 0.3s ease;
    border-radius: 6px;
    border: 1px solid #FFF;
    padding: 10px;
    gap: 8px;
    width: 25px;
    height: 25px;
    color: #fff;
}

.social-icon a:hover {
    color: #ffffff80;
    border-color: #ffffff80;
}

/* --- Стилі для мобільного логотипу --- */
.mobile-logo {
    display: none; 
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 101; 
}

.mobile-logo img {
    width: 70px; 
    height: 70px;
}

/* --- Стилі для SVG-іконки бургера --- */
.hamburger {
    cursor: pointer;
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 101;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 3em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.menu-open .hamburger .line {
    stroke: white;
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
    transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}


/* ================================================================================
  СТИЛІ ТІЛЬКИ ДЛЯ ДЕСКТОПІВ (ЕКРАНИ ШИРШЕ 768px)
================================================================================
*/
@media (min-width: 968px) {
    /* --- СТИЛІ ДЛЯ ГОРИЗОНТАЛЬНОГО МЕНЮ НА ВНУТРІШНІХ СТОРІНКАХ --- */

    .inner-page .side-menu {
        position: static;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: auto;
        height: 179px;
        padding: 10px 40px;
    }
    .inner-page .content {
        margin-left: 0;
        padding: 0 40px;
    }

    /* На головній сторінці відступ для контенту залишається */
    .home .content {
        margin-left: 27%;
        padding: 0;
    }
    .inner-page .logo-container {
        margin-bottom: 0;
    }

    .inner-page .logo img {
        width: 147px;
        height: 147px;
    }

    .inner-page .nav-links {
        flex-direction: row; 
        justify-content: flex-end;
    }

    .inner-page .nav-links li {
        margin-bottom: 0;
        margin-left: 40px; 
    }

    /* Приховуємо іконку соцмережі в меню на внутрішніх сторінках */
    .inner-page .social-icon {
        display: none;
    }

    .inner-page .mobile-logo {
        display: none;
    }
}


/* ================================================================================
  АДАПТИВНІ СТИЛІ ДЛЯ МОБІЛЬНИХ (ОДНАКОВІ ДЛЯ ВСІХ СТОРІНОК)
================================================================================
*/

@media (max-width: 968px) {
    .hamburger {
        display: block;
    }
    .home .nav-links a {
        text-transform: none;
    }
    .mobile-logo {
        display: block;
    }

    .content {
        margin-left: 0;
    }
    
    .side-menu .logo-container {
        display: none;
    }
    
    .side-menu {
        position: fixed;
        flex-direction: column; 
        justify-content: center;
        width: 100%;
        height: 100dvh;
        padding: 0;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.6s;
        z-index: 100;
        border-bottom: none;
    }

    body.menu-open .side-menu {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1);
    }
    
    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        margin-bottom: 35px;
        margin-left: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    .nav-links a {
        font-size: 24px;
        font-weight: bold;
    }

    body.menu-open .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }
    body.menu-open .nav-links li:nth-child(1) { transition-delay: 0.2s; }
    body.menu-open .nav-links li:nth-child(2) { transition-delay: 0.3s; }
    body.menu-open .nav-links li:nth-child(3) { transition-delay: 0.4s; }
    body.menu-open .nav-links li:nth-child(4) { transition-delay: 0.5s; }
    body.menu-open .nav-links li:nth-child(5) { transition-delay: 0.6s; }
    
    /* Показуємо іконку в мобільному меню на всіх сторінках */
    .social-icon {
        display: block;
        margin-top: 50px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    body.menu-open .social-icon {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.7s;
    }
}









        .gs-adaptive-gallery-container {
            width: 100%;
            height: 100vh;
            box-sizing: border-box;
            overflow: hidden;
        }
        
        /* Спільні стилі для зображень */
        .gs-adaptive-gallery-container img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 12px;
            user-select: none;
            -webkit-user-drag: none;
        }

        /* --- СТИЛІ ДЛЯ ПК (ВЕРТИКАЛЬНІ КОЛОНКИ) --- */
        .gs-adaptive-desktop-view {
            display: flex;
            justify-content: center;
            gap: 59px;
            touch-action: none; /* Заборона стандартної поведінки дотику на ПК */
            height: 100%;
        }

        .gs-adaptive-column {
            display: flex;
            flex-direction: column;
            width: 30%;
            max-width: 313px;
            will-change: transform; /* Оптимізація анімації */
        }

        .gs-adaptive-column img {
            margin-bottom: 24px;
        }
        
        /* --- СТИЛІ ДЛЯ МОБІЛЬНИХ (ГОРИЗОНТАЛЬНА СТРІЧКА) --- */
        /* ✅ ВИПРАВЛЕННЯ СТРИБКІВ: Ховаємо мобільний вигляд по дефолту */
        .gs-adaptive-mobile-view {
            display: none; 
            height: 100%;
            align-items: center;
            cursor: grab;
        }
        .gs-adaptive-mobile-view:active {
            cursor: grabbing;
        }
        .gs-adaptive-mobile-track {
            display: flex;
            gap: 20px;
            will-change: transform; /* Оптимізація анімації */
            padding: 0 10px;
        }
        .gs-adaptive-mobile-track img {
            height: 60vh; /* Висота зображень на мобільному */
            width: 45vh;
        }

        /* ✅ ВИПРАВЛЕННЯ СТРИБКІВ: Ховаємо десктопний вигляд на маленьких екранах */
        @media (max-width: 768px) {
            .gs-adaptive-desktop-view {
                display: none;
            }
            .gs-adaptive-mobile-view {
                display: flex;
            }
        }









/* --- ОСНОВНІ СТИЛІ (залишаються майже без змін) --- */

.jepr-contact-item svg {
    padding: 14px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid #FFF;
    width: 16px;
    height: 16px;
    /* Плавний перехід для кольору іконки та її рамки */
    transition: color 0.3s ease, border-color 0.3s ease;
}

.jepr-contact-section .jepr-contact-item p {
    font-size: 20px;
    font-style: normal;
    line-height: 100%;
}

.jepr-contact-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFF; /* Початковий колір тексту та іконки */
    gap: 16px;
    /* Плавний перехід для кольору тексту */
    transition: color 0.3s ease;
}


/* --- НОВИЙ ЕФЕКТ НАВЕДЕННЯ --- */

/* Видаліть старе правило .jepr-contact-item svg:hover */

/* Нове правило, що спрацьовує при наведенні на все посилання */
.jepr-contact-item a:hover {
    color: #ffffff80; /* Змінює колір тексту ТА іконки (завдяки успадкуванню) */
}

.jepr-contact-item a:hover svg {
    border-color: #ffffff80; /* Окремо змінює колір рамки для SVG */
}
.jepr-contact-section {
    color: #e0e0e0;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box; /* Важливо для правильних розрахунків */
    padding-bottom: 65px;
}

/* --- Внутрішні стилі, що діють лише всередині .jepr-contact-section --- */
.jepr-contact-section .jepr-container {
    width: 100%;
}

.jepr-contact-section .jepr-header {
    text-align: center;
    margin-bottom: 3em;
}

.jepr-contact-section .jepr-title {
    color: #FFF;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
    margin: 0;
}

.jepr-contact-section .jepr-title-highlight {
    color: #50C440;
}

.jepr-contact-section .jepr-content-wrapper {
    display: flex;
    flex-wrap: wrap; /* Для кращої адаптивності на мобільних */
    gap: 4em;
}

.jepr-contact-section .jepr-contact-info {
    flex: 1;
    min-width: 280px; /* Мінімальна ширина для колонки */
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    margin-top: 1.5em;
}

.jepr-contact-section .jepr-contact-item {
    display: flex;
    align-items: center;
    gap: 1em;
}

.jepr-contact-section .jepr-contact-item i {
    font-size: 1.5rem;
    color: #e0e0e0;
    border: 1px solid #444;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Щоб іконки не стискались */
}



.jepr-contact-section .jepr-contact-form {
    flex: 2;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    max-width: 43%;
    height: auto;
    flex-shrink: 0;
    padding: 34px 28px;
    margin-right: 53px;
}
.jepr-contact-section .jepr-form-group {
    margin-bottom: 1.5em;
}

.jepr-contact-section .jepr-form-group label {
    display: block;
    margin-bottom: 0.5em;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
    margin-bottom: 0.5em;
}

.jepr-contact-section input[type="text"],
.jepr-contact-section input[type="email"],
.jepr-contact-section textarea {
    display: flex;
    height: 50px;
    padding: 17px 17px 17px 17px;
    align-items: center;
    align-self: stretch;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.05);
    box-sizing: border-box; /* Важливо для правильних розрахунків */
    width: 100%;
    color: #fff;
    outline: none;
}

.jepr-contact-section input::placeholder,
.jepr-contact-section textarea::placeholder {
    color: #A6A6A6;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    font-family: 'Baskerville', sans-serif;
}

.jepr-contact-section textarea {
    resize: vertical;
    min-height: 142px;
}

.jepr-contact-section .jepr-submit-btn {
    display: flex;
    width: 160px;
    padding: 12px 54px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    float: right;
    transition: background-color 0.3s ease;
    border-radius: 100px;
    background: #50C440;
    outline: none;
    border: none;
    font-family: 'Baskerville', sans-serif;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
}

.jepr-contact-section .jepr-submit-btn:hover {
    background-color: rgba(131, 224, 136, 0.595);
}

@media (max-width: 768px) {
    .jepr-contact-section .jepr-contact-form {
        max-width: 100%;
        margin: 0;
    }
    .jepr-contact-section {
        padding: 0 20px;
        padding-bottom: 30px;
    }
    .kind-title br {
        display: block;
    }
    .jepr-contact-section .jepr-content-wrapper {
        flex-direction: column-reverse;
    }
    .jepr-contact-section .jepr-header {
            margin-bottom: 2em;
            margin-top: 8em;
    }
    .jepr-contact-section .jepr-title {
        font-size: 38px;
    }
}












.kind-wodrs {
    text-align: center;
    margin-top: 16px;
}

.kind-title {
    color: #50C440;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
    text-transform: capitalize;
}

.kind-title-highlight {
    color: #FFF;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
    text-transform: capitalize;

}
.kind-header {
    display: flex;
    justify-content: center;
}
@media (max-width: 768px) {
    .kind-title {
        font-size: 38px;
    }
    .kind-title-highlight {
        font-size: 38px;
    }
    .kind-wodrs {
        margin-bottom: 2em;
        margin-top: 8em;
        text-align: center;
    }
}






.unq-ts-container {
    position: relative;
    width: 90%;
    max-width: 100%;
    margin: 47px auto 65px auto;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #5A9951;
    color: white;
    padding: 60px 80px;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* ВИДАЛЕНО фіксовану висоту, тепер вона динамічна */
    /* height: 65vh; */
}

.unq-ts-container:active {
    cursor: grabbing;
}

/* Обгортка для слайдів */
.unq-ts-wrapper {
    position: relative;
    width: 100%;
    display: flex; /* Додано для гнучкого центрування */
    align-items: center; /* Центрує слайд по вертикалі */
    justify-content: center; /* Центрує слайд по горизонталі */
    /* ДОДАНО: Плавна зміна висоти при ресайзі */
    transition: height 0.4s ease-in-out;
}

/* Окремий слайд */
.unq-ts-slide {
    flex-shrink: 0; /* Забороняє слайду стискатися */
    box-sizing: border-box;
    text-align: center;
    padding: 0 15px;
    /* Абсолютне позиціонування для анімації */
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    /* transform тепер повністю контролюється GSAP */
}

/* Текстові елементи (без змін) */
.unq-ts-slide .unq-ts-author {
    color: #FFF;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 160%;
    margin: 0 0 5px 0;
}

.unq-ts-slide .unq-ts-title {
    color: #FFF;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 160%;
    margin: 0 0 25px 0;
}

.unq-ts-slide .unq-ts-quote {
    color: #FFF;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 160%;
    max-width: 870px;
    margin: 0 auto;
}

/* Кнопки-стрілки (без змін) */
.unq-ts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0%);
    cursor: pointer;
    z-index: 10;
    width: 44px;
    height: 44px;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.unq-ts-arrow:hover {
    background-color: #000;
}

.unq-ts-arrow svg {
    width: 24px;
    height: 24px;
}

.unq-ts-arrow.unq-ts-prev {
    left: 20px;
}

.unq-ts-arrow.unq-ts-next {
    right: 20px;
}

/* Адаптація для мобільних пристроїв (без змін) */
@media (max-width: 768px) {
    .unq-ts-container {
        padding: 10px;
        padding-bottom: 70px; /* Трохи більше місця для кнопок */
    }
    .unq-ts-arrow {
        top: auto;
        bottom: 20px;
        transform: none;
    }
    .unq-ts-arrow.unq-ts-prev {
        left: calc(50% - 44px - 10px);
    }
    .unq-ts-arrow.unq-ts-next {
        left: calc(50% + 10px);
        right: auto;
    }
    .unq-ts-slide .unq-ts-author {
        font-size: 1.3rem;
    }
    .unq-ts-slide .unq-ts-title,
    .unq-ts-slide .unq-ts-quote {
        font-size: 0.9rem;
    }
}






.about-descriptions p {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
}
.about-wodrs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 60px;
    height: 100%;
    padding-top: 80px;
    margin: auto;
}
.about-descriptions p {
    width: 80%;
    margin: auto;
}
@media (max-width: 768px) {
    .about-descriptions p {
        font-size: 16px;
    }    
    .about-wodrs {
        gap: 20px;
        padding: 20px;
        padding-top: 150px;
    }
    .about-descriptions p {
        width: 100%;
    }
}




.clients-header {
    display: flex;
    flex-direction: column;
    width: 672px;
    margin: auto;
    gap: 18px;
}
.clients-header p {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
}
@media (max-width: 768px) {
    .clients-header {
        width: 90%;
    }
    .clients-header p {
        font-size: 16px;
    }
}





.g-modal-grid {
     display: grid;
     gap: 20px;
     /* Мобільна версія: 2 колонки */
     grid-template-columns: repeat(1, 1fr);
     padding: 30px 20px 40px 20px;
 }

 .g-modal-grid-item {
     box-sizing: border-box; /* Додайте це */
     position: relative;
     cursor: pointer;
     overflow: hidden;
     border-radius: 12px;
     height: 500px;
 }

 .g-modal-grid-item img {
     box-sizing: border-box; /* І це */
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform 0.4s ease-out;
 }

 .g-modal-grid-item:hover img {
     transform: scale(1.08);
 }

 .g-modal-grid-item .g-modal-full {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    padding: 20px;
    margin: 0;
    color: #FFF;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
 }

  @media (max-width: 992px) {
       .g-modal-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   }
      @media (max-width: 768px) {
       .g-modal-grid {
           grid-template-columns: repeat(1, 1fr);
       }
   }
  /* Адаптивність для десктопу: 4 колонки */
  @media (min-width: 992px) {
       .g-modal-grid {
           grid-template-columns: repeat(4, 1fr);
           padding: 60px 20px 20px 20px;
       }
   }

  /* --- СТИЛІ ДЛЯ POPUP-ОВЕРЛЕЮ (спільні) --- */
  .g-modal-popup-overlay {
       position: fixed; top: 0; left: 0; width: 100%; height: 100%;
       background: rgba(0, 0, 0, 0.7);
       backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
       display: grid; place-items: center; z-index: 1000;
       opacity: 0; visibility: hidden;
       transition: opacity 0.4s ease, visibility 0s 0.4s linear;
  }
  .g-modal-popup-overlay.g-modal-active {
       opacity: 1;
       visibility: visible;
       transition: opacity 0.4s ease;
  }
  .g-modal-popup-content {
       width: 90%; height: 90vh; max-width: 1400px;
       display: grid; grid-template-columns: 2fr 1fr;
       background-color: #1e1e1e; /* <-- Змінено */
       border-radius: 16px;
       border: 1px solid rgba(255, 255, 255, 0.1);
       transform: scale(0.95) translateY(20px);
       transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
       overflow: hidden;
  }
  .g-modal-popup-overlay.g-modal-active .g-modal-popup-content {
       transform: scale(1) translateY(0);
  }

  /* [ЗМІНЕНО] Блок з інформацією. Скрол видалено. */
  .g-modal-popup-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: #f0f0f0;
    min-height: 0;
  }

  .g-modal-popup-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
  }

  /* [ЗМІНЕНО] Блок з описом. Додано скрол. */
  .g-modal-popup-description {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 15px; /* Простір для скролбара */
    margin-right: -15px; /* Компенсація відступу */
  }

  .g-modal-popup-description .g-modal-main-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .g-modal-popup-description .g-modal-tags {
    font-size: 1em;
    color: #aaa;
    word-wrap: break-word;
    line-height: 1.5;
  }

  .g-modal-popup-close {
    font-size: 2.5em;
    cursor: pointer;
    color: #888;
    background: none;
    border: none;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
    padding: 0;
  }
  .g-modal-popup-close:hover {
    color: #f0f0f0;
    transform: rotate(90deg);
  }

  /* --- СТИЛІ ДЛЯ POPUP ПРОФІЛЮ --- */
  .g-modal-popup-image-container { position: relative; overflow: hidden; background-color: #000; }
  .g-modal-popup-image-container img { width: 100%; height: auto; object-fit: cover; }
  .g-modal-popup-profession-tag { background-color: rgba(255, 255, 255, 0.1); color: #50C440; padding: 6px 12px; border-radius: 20px; font-size: 0.8em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; margin-bottom: 25px; } /* <-- Змінено */
  .g-modal-popup-social-links { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; gap: 15px; flex-wrap: wrap; }
      .g-modal-social-button {
           display: flex;
           align-items: center;
           justify-content: center;
           width: 48px;
           height: 48px;
           text-decoration: none;
           transition: background-color 0.3s ease, transform 0.2s ease;
           border-radius: 6px;
           border: 1px solid #FFF;
       }
  .g-modal-social-button:hover { background-color: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
  .g-modal-social-button svg { width: 24px; height: 24px; fill: #fff; }
  .g-modal-social-button[href=""], .g-modal-social-button:not([href]) { display: none; }

  /* --- Адаптивність для попапу --- */
  @media (max-width: 768px) {
       .g-modal-popup-content { grid-template-columns: 1fr; width: 90vw; height: 80vh; max-height: 780px; border-radius: 20px; grid-template-rows: 55% auto; }
       .g-modal-popup-image-container { height: 100%; border-top-left-radius: 20px; border-top-right-radius: 20px; }
       /* [ЗМІНЕНО] Видалено зайвий скрол для мобільної версії */
       .g-modal-popup-info { padding: 5px 25px 30px; }
       .g-modal-popup-profession-tag { margin-bottom: 10px; }
       .g-modal-popup-social-links {
            margin-top: 10px;
       }
   }



    .page-wodrs {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
        margin: auto;
        height: 50vh;
    }
   .jepr-submit-btn {
    display: flex;
    padding: 12px 54px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    float: right;
    transition: background-color 0.3s ease;
    border-radius: 100px;
    background: #50C440;
    outline: none;
    border: none;
    font-family: 'Baskerville', sans-serif;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
    text-decoration: none;
}

.jepr-submit-btn:hover {
    background-color: rgba(131, 224, 136, 0.595);
}



main.content-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7; /* Збільшуємо міжрядковий інтервал для кращої читабельності */
  font-size: 1.1rem; /* Трохи більший базовий шрифт */
  color: #fff; /* Темно-сірий колір тексту замість чисто чорного */
  max-width: 800px; /* Обмежуємо ширину, щоб рядки не були занадто довгими */
  margin: 40px auto; /* Центруємо блок по горизонталі і додаємо відступ зверху/знизу */
  padding: 20px 40px; /* Внутрішні відступи для "повітря" */
}

/* --- Заголовок сторінки H2 --- */
.content-page h2 {
  font-size: 1.8rem; /* Робимо заголовок значно більшим */
  font-weight: 700;
  line-height: 1.2; /* Зменшуємо міжрядковий інтервал для великого тексту */
  color: #fff;
  margin-bottom: 1.5em; /* Відступ під заголовком */
  padding-bottom: 0.5em;
}

/* --- Параграфи <p> --- */
.content-page p {
  margin-bottom: 1.5em; /* Відступ між параграфами */
}

/* --- Посилання <a> --- */
.content-page a {
  color: #fff; /* Класичний синій колір для посилань */
  text-decoration: none; /* Прибираємо підкреслення */
  border-bottom: 2px solid #fff; /* Додаємо стильне напівпрозоре підкреслення */
  transition: all 0.2s ease-in-out; /* Плавний перехід для ефектів */
}

.content-page a:hover,
.content-page a:focus {
  color: #fff; /* Затемнюємо колір при наведенні */
  border-bottom-color: #fff;
}

/* --- Зображення <img> --- */
.content-page img {
  max-width: 100%; /* Робить зображення адаптивними */
  height: auto; /* Зберігає пропорції */
  display: block; /* Прибирає зайвий відступ під зображенням */
  margin: 2em 0; /* Відступи зверху і знизу */
  border-radius: 8px; /* Легко заокруглені кути */
}

/* --- Списки <ul> та <ol> --- */
.content-page ul,
.content-page ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em; /* Відступ для маркерів/нумерації */
}

.content-page li {
  margin-bottom: 0.5em; /* Відступ між пунктами списку */
}



/* --- СТИЛІ ДЛЯ ВІЗУАЛЬНОЇ ЗАГРУЗКИ ЗОБРАЖЕНЬ --- */

/* Стилізуємо зображення до завантаження */
.gs-adaptive-column img,
.gs-adaptive-mobile-track img {
    opacity: 0;
    filter: blur(8px); /* Ефект розмиття */
    transform: scale(1.05); /* Легке збільшення */
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Стилізуємо зображення після завантаження (коли додається клас 'loaded') */
.gs-adaptive-column img.loaded,
.gs-adaptive-mobile-track img.loaded {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* Опціонально: стиль для зображень, що не завантажились */
.gs-adaptive-column img.load-error,
.gs-adaptive-mobile-track img.load-error {
    /* Можна додати стиль для "зламаних" зображень, наприклад, рамку */
    border: 2px dashed #ff4d4d;
}