@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&display=swap');

:root {
    --swobodna-color-primary: #66352A;
    --swobodna-color-primary-lighter: #753E31;
    --swobodna-color-secondary: #F2F0E9;
    --swobodna-color-text: #000000;
    --swobodna-font-primary: "Outfit", sans-serif;
    --swobodna-font-secondary: "Cal Sans", sans-serif;
}

body.nowa-swobodna {
    color: var(--swobodna-color-text);
}

.swobodna, [class*="nowa-swobodna-"] {
    font-family: var(--swobodna-font-primary);
    font-optical-sizing: auto;

    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
        font-family: var(--swobodna-font-secondary);
        font-weight: 400 !important;
        font-style: normal;
        line-height: 1.5;
    }

    @media (min-width: 1200px) {
        .h2, h2 {
            font-size: 52px;
        }
    }

    .investment_navbar a:active, .investment_navbar a:focus, .investment_navbar a:focus-within, .investment_navbar a:hover,
    .active-current a, .btn-primary, .investment-table.investment-table--single tbody td[colspan]::before {
        color: white !important;
    }

    .home-slider__container header {
        text-shadow: none;
        letter-spacing: 1px;
    }
}

.swobodna {
    .btn-primary {
        font-weight: 400;
        text-transform: uppercase;
        font-size: 1rem;
        padding: clamp(12px, 3vw, 15px) clamp(20px, 2vw, 30px);

        &:hover {
            background-color: var(--swobodna-color-primary-lighter) !important;
        }

        &::after {
            display: none;
        }
    }
}

.swobodna .logo_text {
    padding-top: 45px;
}

.swobodna .icons_columns {
    .icons_columns__list-item {
        @media (min-width: 1200px) {
            margin-bottom: 60px;
        }
    }

    .icon-text-box__text b {
        color: var(--swobodna-color-primary);

        @media (min-width: 1200px) {
            font-size: 20px;
        }
    }

    .section__title.icons_columns__title {
        margin-bottom: 0;
    }
}

.swobodna .cards {
    background-color: #f4f2ec;
    text-align: left;

    &.padding_small_bottom {
        padding-bottom: 65px;
    }

    &.padding_small_top {
        padding-top: 65px;
    }

    .cards__header {
        margin-bottom: clamp(24px, 4vw, 40px);
    }

    .cards__title {
        color: var(--swobodna-color-primary);
        margin-bottom: 0;
    }

    .cards__list {
        margin-bottom: -30px;
    }

    .cards__column {
        margin-bottom: 30px;
    }

    .cards__item {
        background-color: #fff;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 8px 20px rgba(51, 38, 33, 0.06);
        overflow: hidden;
    }

    .cards__image-wrapper {
        aspect-ratio: 5 / 3;
        overflow: hidden;
    }

    .cards__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cards__body {
        padding: 24px;
    }

    .cards__number {
        display: block;
        font-family: var(--swobodna-font-secondary);
        color: var(--swobodna-color-primary);
        font-size: 0.875rem;
        font-weight: 400;
        line-height: 1;
        margin-bottom: 12px;
    }

    .cards__item-title {
        color: var(--swobodna-color-primary);
        font-family: var(--swobodna-font-primary);
        font-size: 1.125rem;
        font-weight: 700 !important;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .cards__content {
        font-size: 1rem;
        line-height: 1.4;

        @media (max-width: 1200px) {
            font-size: 0.9rem;
        }
    }

    .cards__content > :last-child {
        margin-bottom: 0;
    }

    @media (max-width: 991.98px) {
        .cards__item {
            height: 100%;
        }
    }

    @media (max-width: 767.98px) {
        .cards__header {
            margin-bottom: 24px;
        }

        .cards__body {
            padding: 16px;
        }

        .cards__content {
            font-size: 1rem;
        }
    }
}

.swobodna .cards-2 {
    text-align: left;

    .cards-2__header {
        margin-bottom: clamp(24px, 4vw, 40px);
    }

    .cards-2__title {
        color: var(--swobodna-color-primary);
        margin-bottom: 0;
    }

    .cards-2__list {
        margin-bottom: -52px;
    }

    .cards-2__column {
        margin-bottom: 52px;
    }

    .cards-2__image-wrapper {
        aspect-ratio: 1.86 / 1;
        overflow: hidden;
    }

    .cards-2__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cards-2__item-title {
        color: var(--swobodna-color-primary);
        font-family: var(--swobodna-font-primary);
        font-size: 1.125rem;
        font-weight: 700 !important;
        line-height: 1.25;
        margin: 20px 0 14px;
    }

    .cards-2__item-title:first-child {
        margin-top: 0;
    }

    .cards-2__content {
        font-size: 1rem;
        line-height: 1.35;
    }

    .cards-2__content > :last-child {
        margin-bottom: 0;
    }

    @media (max-width: 767.98px) {
        .cards-2__list {
            margin-bottom: -36px;
        }

        .cards-2__column {
            margin-bottom: 36px;
        }

        .cards-2__item-title {
            margin-top: 16px;
        }
    }
}

.swobodna .image_text.image_text--outside {
    .image_text__content {
        @media (min-width: 1200px) {
            padding-left: 60px;
        }
    }

    .image_text__content-text {
        color: var(--swobodna-color-text);
    }

    .image_text__content-text ul li {
        padding-left: 25px;

        &::before {
            content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.3333 7.66667C15.3333 11.9008 11.9008 15.3333 7.66667 15.3333C3.43248 15.3333 0 11.9008 0 7.66667C0 3.43248 3.43248 0 7.66667 0C11.9008 0 15.3333 3.43248 15.3333 7.66667ZM10.7566 5.34341C10.9811 5.56797 10.9811 5.93203 10.7566 6.15659L6.92325 9.98992C6.6987 10.2145 6.33463 10.2145 6.11008 9.98992L4.57675 8.45659C4.3522 8.23203 4.3522 7.86796 4.57675 7.64341C4.8013 7.41886 5.16537 7.41886 5.38992 7.64341L6.51667 8.77016L8.23004 7.05679L9.94341 5.34341C10.168 5.11886 10.532 5.11886 10.7566 5.34341Z' fill='%23AB9B8A'/%3E%3C/svg%3E") !important;
            width: 16px;
            height: 16px;
            font-size: 16px;
            top: 4px !important;
        }
    }

    .image_text__link {
         @media (min-width: 1200px) {
            margin-top: 32px;
        }
    }

    &.order--reverse {
        .image_text__content {
            @media (min-width: 1200px) {
                padding-left: 0;
                padding-right: 60px;
            }
        }
    }
}

.swobodna .form_fullwidth {
    text-align: center;

    &.padding_small_bottom  {
        padding-bottom: 60px;
    }

    &.padding_small_top {
        padding-top: 60px;
    }

    &.section-light-theme {
        background-color: var(--swobodna-color-secondary);

        input, textarea {
            background: transparent;
            border: 1px solid #AB9B8A;
        }

        .form__label {
            color: #AB9B8A;
            top: 20px;
        }
    }

    input:not([type="checkbox"]):not([type="radio"]), textarea {
        padding: 20px 16px;
    }

    .form__input--checkbox {
        width: 19px;
        height: 19px;
    }

    .terms-info, .form-row--radio-checkbox--terms {
        font-size: 14px;
    }

    .form-row--radio-checkbox--terms {
        padding-left: 0;
        gap: 12px;
    }
}

.swobodna .text_basic.text_basic__accordion {
    .text_basic__accordion__content {
        font-size: 1rem;

        @media (min-width: 1200px) {
            font-size: 1.125rem;
        }
    }
}

[class*="nowa-swobodna-"] {
    .entry-list__details-logo img.img-fluid {
        margin-bottom: 24px;
        max-height: 70px;
    }
}