/* ================== NEW CUSTOM STYLING ====================== */
@media screen and (max-width: 768px) {
    /* test CUSTOM mobile */
    .services1 .item .img .img-cover {
        width: 100%;
        height: 100%;
        max-height: 350px;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
        border-radius: 5px 0 0 5px;
    }
}

/* Truncate text in SERVICES1 cards */
.multi-line-truncate {
    display: -webkit-box;
    line-clamp: 6;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* HOMEPAGE - ACTIVITATI - Same height for the carousel items */
@media screen and (min-width: 1024px) {
    .services1 .owl-carousel .owl-stage {
        display: flex;
    }

    .services1 .owl-carousel .item {
        display: flex;
        flex: 1 0 auto;
        height: 100%;
    }

    .services1 .owl-carousel .item .row {
        width: 100%;
        display: flex;
        align-items: stretch;
    }

    .services1 .item .img {
        height: 100%;
        min-height: 300px;
    }

    .services1 .owl-carousel .item {
        height: 450px;
        max-height: 500px;
    }

    .regulations-text {
        column-count: 2;
        column-gap: 40px;
    }
    
    /* Social icons CUSTOM CSS */
    .social-icons li a > i:hover {
        transform: scale(1.3);
    }
}

.text-link, 
a .text-link {
    color: var(--bs-link-color) !important;
}

.footer-dark a {
    color: var(--bs-secondary-bg-subtle) !important;
}

.footer-dark .footer-contact-link-wrapper p {
    color: var(--bs-secondary-bg-subtle);
}

.pricing2 .pricing-wrapper {
    background: var(--bg-white);
    padding: 45px;
    -webkit-transition: .5s;
    transition: .5s;
    position: relative;
    z-index: 1;
    line-height: 1;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 300ms ease, transform 300ms ease, background-color 300ms ease, color 300ms ease;
    transform-style: preserve-3d;
    border: 1px solid var(--border-lightblue);
}

@media screen and (max-width: 768px){
    .pricing2 .pricing-wrapper {
        padding: 30px;
    }
}

.page.services2 .services2-container {
    width: 100%;
    position: relative;
}

.services2 .benefits-wrapper {
    padding: 45px;
    border-radius: 10px;
}

.services2 .benefits-wrapper h3 {
    margin-bottom: 32px;
}

.services2 .benefits-wrapper ul.page-list li {
    margin: 1rem 0;
}

.services2 .benefits-wrapper ul.page-list li:last-of-type {
    margin-bottom: 0;
}

.rules {
    position: relative;
}

.rules .item {
    background: var(--bg-white);
    padding: 0;
    -webkit-transition: .5s;
    transition: .5s;
    position: relative;
    z-index: 1;
    line-height: 1;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 300ms ease, transform 300ms ease, background-color 300ms ease, color 300ms ease;
    transform-style: preserve-3d;
    border: 1px solid var(--border-lightblue);
}

.rules .item i {
    font-size: 36px;
    color: var(--text-blue);
    margin-bottom: 15px;
    display: inline-block;
    -webkit-transition: .5s;
    transition: .5s;
    font-weight: 100;
    background: #edf1fb;
    padding: 15px;
    border-radius: 100%;
    width: 80px;
    height: 80px;
    line-height: 50px;
}

.rules .item .shape {
    position: absolute;
    opacity: 0.05;
    z-index: -1;
    bottom: -15px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.rules .item:hover {
    background: var(--bg-white);
    border: 1px solid var(--text-blue);
    -webkit-transition: all .7s;
    -o-transition: all .7s;
    transition: all .7s;
    transform: none;
}

.rules .item .shape i {
    font-size: 80px;
    color: var(--text-blue);
    background: transparent;
    padding: 0;
    width: auto;
    height: auto;
    line-height: normal;
}

.rules .simpl-bord.nav-tabs {
    padding-bottom: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-lightblue);
}

.rules .simpl-bord .nav-item {
    margin-right: 30px;
}

.rules .simpl-bord .nav-link {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-navy);
    font-size: 21px;
}

.rules .simpl-bord .nav-link.active {
    color: var(--text-blue);
}

.rules .item .wrap .cont {
    width: 100%;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 16px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-lightblue);
}

.rules .item .wrap {
    flex-wrap: wrap;
    padding: 0 30px;
    border-radius: 0 0 10px 10px;
}

.rules .item .wrap .cont .coll {
    width: auto;
    max-width: auto;
}

.price-card-title {
    background: var(--bg-blue);
}

/* small border - custom */
.border-short {
    position: relative; /* Esențial pentru a poziționa linia */
    padding-bottom: 15px; /* Spațiu între text și linie */
}

.border-short::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; /* Sau left: 50% și transform: translateX(-50%) pentru centrare */
    width: 50px;
    height: 1px;
    background-color: var(--color-secondary-soft);
}

.cont .text-blog-card {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog .cont {
    height: 280px;
    max-height: 280px;
}

.blog-nav-link {
    padding: 30px 0;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    position: relative;
}

.blog-nav-link-prev {
    padding-left: 50px;
}

.blog-nav-link-next {
    padding-right: 50px;
}

@media screen and (max-width: 768px) {
    .blog-nav-link-prev {
    padding-left: 35px;
}

    .blog-nav-link-next {
        padding-right: 35px;
    }
}

.blog-nav-link-prev .blog-nav-icon, 
.blog-nav-link-next .blog-nav-icon {
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    position: absolute;
}

.blog-nav-link-prev .blog-nav-icon {
    left: 0;
}
.blog-nav-link-next .blog-nav-icon {
    right: 0;
}

.social-icons-insert {
    border-radius: 0 30px 30px 0;
}

.social .social-icons-insert li > a {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .dropdown-stacked {
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-navy);
    transition: all .4s;
    padding-right: 5px;
    padding-left: 12px;
}


/* Lists with check icons */
.page-list-custom {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* .page-list-icon {
    align-items: center;
    background: transparent;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 100%;
    border: 1px solid var(--border-lightblue);
    flex-shrink: 0;
} */

.page-list-custom li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}

.page-list-custom li::before {
    content: "\e64c";
    font-family: 'themify';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    color: var(--text-blue);
    border: 1px solid var(--border-lightblue);
    border-radius: 100%;
    align-items: center;
    background: transparent;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    flex-shrink: 0;
}

.page-list-custom li p {
    margin: 0;
    padding-left: 16px;
}

.disclaimer-text > p {
    margin-bottom: 0;
}


/* cookies popup */
.cookie-wrapper {
    position: fixed;
    bottom: 3.3rem;
    left: 2.5rem;
    max-width: 400px;
    width: 100%;
    padding: 20px;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    border: 1px solid var(--bg-blue);
    padding: 15px 25px 22px;
    transition: left 0.3s ease;
    z-index: 100;
}

/* Carousel - Events */
@media (max-width: 768px) {
    .cookie-wrapper {
        width: calc(100% - 30px);
        margin: auto;
        left: 0; right: 0;
    }
}

#cookie-consent .btn-wrap .button-1::after {
    content: '';
    background: none;
}

#cookie-consent .btn-wrap .button-1 {
    overflow: hidden;
    z-index: 1;
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    color: var(--text-white);
    background: var(--bg-blue);
    font-family: "Urbanist", sans-serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    padding: 15px 25px;
    border-radius: 40px;
    transition: 0.2s transform ease-in-out;
    will-change: transform;
    transition: 400ms;
    cursor: pointer;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}

#cookie-consent .btn-wrap .button-1:hover {
    color: var(--text-blue);
    background: var(--bg-white);
    border-color: var(--text-blue);
}

.footer-logo {
    width: 100px !important;
    max-width: 120px;
}