/*
Theme Name: Swisslink custom theme
Author: team
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swisslink
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
p {
    /*font-size: 1.25rem;*/
    font-size: 16px;
    line-height: 1.625rem;
    margin: 0;
}
a {
    text-decoration: none;
    transition: all 0.15s cubic-bezier(.4, 0, .2, 1);
}
ul {
    padding-left: 20px;
    margin: 0;
}
h1 {
    margin: 0;
    font-size: 3.75rem;
    line-height: 1;
}
.h1-small h1 {
    font-size: 3rem;
}

body {
    margin: 0;
}
.header {
    position: fixed;
    z-index: 999;
    inset: 0;
    width: 100%;
    height: fit-content;
    max-width: 100vw;
    background: #fff;
    /*padding-inline: 2rem;*/
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / .05);
}
.header__container {
    width: 80rem;
    max-width: 100%;
    margin-inline: auto;
    padding-block: 0.75rem;
    padding-inline: 2rem;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}
/*.header__logo {*/
/*    height: 58px;*/
/*    padding-bottom: 16px;*/
/*}*/
.header__list {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
}
.header__list a {
    color: #374151;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
}
.header__list a:hover {
    color: #dc2626;
}
.header__contact-block {
    display: flex;
    gap: 1.5rem;
}

.vacancy-menu-counter {
    position: relative;
}
span.vacancy-count-badge {
    position: absolute;
    font-size: 12px;
    color: rgb(255, 255, 255);
    background: rgb(220, 38, 38);
    top: -10px;
    right: -18px;
    padding: 0 4px;
    border-radius: 44px;
    z-index: -1;

    @media (max-width: 1200px) {
        right: unset;
    }
}


/* mobile burger */
.header__mobile-burger,
.header__mobile-wrapper {
    display: none;
    color: #111827;
}
.header__mobile-burger .close-menu {
    display: none;
}
.header__mobile-burger.opened .close-menu {
    display: block;
}
.header__mobile-burger.opened .open-menu {
    display: none;
}


.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
}
.contact-link:hover {
    color: #dc2626;
}
.contact-link svg {
    width: 1rem;
    height: 1rem;
}
.contact-link--hero {
    color: #fffc;
}
.contact-link--hero:hover {
    color: #fff;
}

.contact-link--person {
    color: #4b5563;
}
.contact-link--person:hover {
    color: #dc2626;
}

#load_vacancy,
.red-button {
    display: block;
    width: fit-content;
    color: #fff;
    background: #dc2626;
    border-radius: 0.5rem;
    padding-block: .625rem;
    padding-inline: 1.25rem;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
}
#load_vacancy:hover,
.red-button:hover {
    background: #c62020;
}
#load_vacancy {
    max-width: 100%;
    padding-block: 16px;
    padding-inline: 60px;
    margin-inline: auto;
}

.checked-list ul {
    padding: 0;
}
.checked-list ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}
.checked-list ul li:before {
    content: '';
    width: 20px;
    min-width: 20px;
    height: 20px;
    background: url('assets/icons/checked.svg') no-repeat center / contain;
}
.checked-list.checked-list--red ul li,
.checked-list.checked-list--gray ul li {
    margin-bottom: 1rem;
}
.checked-list.checked-list--red ul li:before {
    background: url('assets/icons/checked__red.svg') no-repeat center / contain;
}

.checked-list.checked-list--gray ul li:before {
    background: url('assets/icons/checked__gray.svg') no-repeat center / contain;
}


.checked-list--small p {
    margin-top: 8px;
    font-size: 14px;
}

.red-checked-item,
.red-protect-item {
    display: flex;
    align-items: center !important;
    gap: 0.5rem !important;
}
.red-checked-item:before,
.red-protect-item:before {
    content: '';
    width: 16px;
    min-width: 16px;
    height: 16px;
    background: url('assets/icons/checked__red.svg') no-repeat center / contain;
}
.red-protect-item:before {
    background: url('assets/icons/protect.svg') no-repeat center / contain;
}

    /* Hero Section */
.hero-section {
    position: relative;
}
.hero-section .e-con-inner {
    z-index: 1;
}
.hero-section:after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgb(17 24 39 / .8), rgb(17 24 39 / .6), transparent);
    z-index: 0;
}


/* Vacancies */
#open_vacancy_category {
    cursor: pointer;
}
#open_vacancy_category .elementor-button-content-wrapper {
    justify-content: space-between !important;
}

.vacancy_categories {
    /*overflow: hidden;*/
    /*max-height: 44px;*/
    border: 1px solid #E5E5E5;
    border-radius: 0.5rem;
    background: #fff;

    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease !important;
}
.vacancy_categories.open {
    opacity: 1;
    visibility: visible;
}
.vacancy_categories button {
    cursor: pointer;
    width: 100% !important;
    justify-content: space-between !important;
}
.vacancy_categories button[aria-pressed="true"]:after {
    content: '✓';
}


.sphere_item {
    transition: all 0.5s ease;
    cursor: pointer;
}
.sphere_item:hover  {
    box-shadow: 0 0 #0000,0 0 #0000, 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
}
.sphere_item:hover .sphere_img {
   transform: scale(1.1);
}
.vacancy-card-title *,
.vacancy-card-btn-arrow {
    transition: all 0.3s ease;
}
.vacancy-card-v1:hover {

    .vacancy-card-title {
        * {
            color: #B91C1C !important;
        }
    }
    .vacancy-card-btn-arrow {
        transform: translateX(6px);
    }
}


/* Footer */

.footer {
    background-color: #191e2b; /* Темно-синій фон */
    color: #b0b5c1; /* Світло-сірий текст */
    padding: 60px 20px 20px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer__list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}
.footer__list.footer-links {
    flex-direction: column;
    gap: 0.5rem;
}
.footer__list a {
    cursor: pointer;
}

.footer__legal-links .footer__list {
    flex-wrap: wrap;
}

/* Верхня частина футера (колонки) */
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

/* Перша колонка (Бренд) */
.brand-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;

    width: fit-content;
    /*padding-inline: 40px;*/
    /*background: #fff;*/
    border-radius: 8px;
    transition: all 0.5s ease;
}

.brand-logo:hover {
    opacity: 0.6;
}

.logo-icon {
    /*background-color: #d94343; !* Червоний колір лого *!*/
    /*color: white;*/
    /*width: 32px;*/
    /*height: 32px;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*border-radius: 4px;*/
    /*margin-right: 10px;*/
    /*font-weight: bold;*/
    /*border-radius: 0.5rem;*/
}

.brand-desc {
    margin-bottom: 20px;
    max-width: 300px;
}
.social-block {
    display: flex;
    gap: 12px;
    align-items: center;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    opacity: 1;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.6;
}

/* Колонки навігації */
h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b5c1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Розділювальна лінія */
.footer-divider {
    border-top: 1px solid #2c3240;
    margin: 30px 0;
}

/* Секція контактів (середня частина) */
.footer-contacts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
    padding: 10px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0b5c1;
    text-decoration: none;
}

.contact-item svg {
    stroke: #b0b5c1;
    width: 18px;
    height: 18px;
}

/* Нижня частина (Copyright) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    font-size: 13px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #b0b5c1;
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* Vacancy */
.vacancy__sticky-block {
    position: sticky !important;
    top: 110px;
}


/* Blog / Single post */
.general-post-blog {
    position: relative;
}
.general-post-link {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer;
}
.general-post-img-block {
    overflow: hidden !important;
}
.general-post-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}
.list-post-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}
.general-post-img-block img,
.general-post-blog .general-post-button .elementor-button-icon,
.general-post-blog .general-post-title * {
    transition: all 0.5s ease;
}
.general-post-blog:hover .general-post-img-block img {
    transform: scale(1.05);
}
.general-post-blog:hover .general-post-button .elementor-button-icon {
    transform: translateX(0.25rem);
}
.general-post-blog:hover .general-post-title * {
    color: #1e3a8a !important;
}


.privacy-text {
    ol, ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-block: 46px;
    }
    * {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
}


.vacancy-counter {
    font-family: "Inter", Sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 25px;
    color: #4B5563;
}


/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}



@media ( max-width: 1280px ) {
    h1 {
        font-size: 3rem;
    }

    /* Header */
    .header__menu,
    .header__contact-block {
        display: none;
    }

    /* mobile burger */
    .header__mobile-burger {
        display: block;
        cursor: pointer;
    }
    .header__container--mobile {
        overflow: hidden;
        width: 80rem;
        max-width: 100%;
        max-height: 0;
        margin-inline: auto;
        padding-inline: 2rem;
        border-block: 1px solid #e5e5e5;
        transition: all 0.5s ease;
    }
    .header__mobile-wrapper {
        display: flex;
        flex-direction: column;
    }
    .header__list {
        flex-direction: column;
        padding: 28px 16px;
        gap: 24px;
        border-bottom: 1px solid #e5e5e5;
    }
    .header__list a {
        font-size: 1rem;
    }
    .header__contact-block--mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    .header .contact-link {
        color: #4b5563;
    }
    .header__button--mobile {
        width: 100%;
        margin-top: 4px;
        padding-block: .875rem;
        text-align: center;
    }
}

/* begin::Vacancy Contact Form */
.swisslink-form {
    font-family: 'Arial', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding-inline: 24px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

/* Header */
.form-header {
    position: fixed;
    z-index: 1;
    top: 0;
    width: 60%;
    left: 20%;

    background-color: #e32d22;
    color: white;
    padding: 30px;
}

.form-header h2 { margin: 0; font-size: 24px; font-weight: bold; }
.form-header p input {
    background: transparent; border: none; color: white; font-size: 14px; padding: 0;
}

/* Sections */
.form-section { padding: 20px 0; }
.form-section--top { padding-top: 120px; }
.form-section h3 { font-size: 20px; margin-bottom: 5px; color: #333; }
.section-desc { font-size: 13px; color: #777; margin-bottom: 20px; }

/* Grid System */
.form-row { display: flex; gap: 20px; margin-bottom: 15px; }
.form-group { flex: 1; display: flex; flex-direction: column; }
.full-width { width: 100%; margin-bottom: 15px; }
.full-width select { width: 100%}

/* Inputs */
.swisslink-form label { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.swisslink-form input[type="text"],
.swisslink-form input[type="email"],
.swisslink-form input[type="tel"],
.swisslink-form select,
.swisslink-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    background: #fcfcfc;
    font-size: 16px;
}
input[type="checkbox"] {
    width: 16px;
    max-width: 16px;
    min-width: 16px;
    margin-left: 0;
}



/* Consent Boxes */
.consent-section {
    padding: 24px;
    font-size: 12px;
    color: #555;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    line-height: 1.4;
}
.consent-section span.wpcf7-list-item { display: block; margin-bottom: 15px; }

/* Footer Buttons */
.form-footer {
    width: 330px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 15px;
    margin-inline: auto 0;
    padding-block: 30px;
    padding-inline: 0;
    border-top: 1px solid #eee;
}

.btn-cancel {
    height: fit-content;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.btn-submit {
    background-color: #e32d22 !important;
    color: white !important;
    border: none !important;
    padding: 8px 32px !important;
    border-radius: 8px !important;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
}
.pum-theme-765 .pum-container,
.pum-theme-lightbox .pum-container {
    border: none!important;
    padding: 0!important;
}
.pum-close.popmake-close {
    position: fixed !important;
    top: 20px !important;
    right: calc(20% + 13px) !important;
}
.consent-section span.wpcf7-list-item {
    margin-left: 0;
}


.elementor-shortcode {
    font-family: "Inter", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}
.vacancy-counter--on-page .elementor-shortcode {
    font-family: "Inter", Sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 2.25rem;
    color: #111827;
}

.file-upload-zone .wpcf7-form-control-wrap {
    width: 100%;
}

@media (max-width: 768px) {
    .file-upload-zone {
        padding: 8px;
    }
}



@media ( max-width: 1024px ) {

    .form-header {
        width: 95%;
        left: 2.5%;
    }
    .pum-close.popmake-close {
        right: 4% !important;
    }
}
@media ( max-width: 600px ) {

    .form-row {
        flex-direction: column;
    }
    .swisslink-form {
        padding-inline: 16px;
    }
    .form-footer {
        grid-template-columns: 1fr;
    }
}
/* end::Vacancy Contact Form */


@media ( max-width: 600px ) {
    .h1 {
        font-size: 36px;
    }
}

/* Custom "Steps" Contact Form */

.e-search-form svg {
    top: 1.5em !important;
}

.dropdown-block {
    cursor: pointer;
}
.dropdown-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease !important;
}
.dropdown-content p {
    padding-top: 1rem;
}
.dropdown-arrow {
    transform: rotate(0deg);
    transition: transform 0.3s ease !important;
}
.dropdown-arrow.open {
    transform: rotate(180deg);
    transition: transform 0.3s ease !important;
}

.elementor-widget-search .e-search-results-container {
    height: 800px;
    max-height: 80vh;
}

@media ( max-width: 480px ) {

    .brand-logo,
    .copyright {
        text-align: center;
    }
    .brand-desc {
        max-width: 100%;
        text-align: center;
    }
    .social-block {
        justify-content: center;
    }
    .footer__list.footer-links {
        align-items: center;
    }
    .footer__legal-links .footer__list {
        justify-content: center;
        gap: 0.75rem 1rem;
    }
}