.buy-rent-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 50px 0px;
}

.buy-rent-title {
    font-family: Inter, 'sans-serif';
    font-weight: 600;
    font-size: 45px;
    line-height: 52px;
    text-transform: uppercase;
    color: #000;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    text-align: center;
    padding-bottom: 10px;
}

.buy-rent-description {
    font-family: Inter, 'sans-serif';
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    color: #000;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    text-align: center;
    padding-bottom: 30px;
}

.buy-rent-description strong {
    font-weight: 600;
}

a.pubblicita-btn {
    display: block;
    max-width: 414px;
    height: auto;
    margin: 0px auto 3rem;
    background-color: #008bee;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 45px;
    text-align: center;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

a.pubblicita-btn2 {
    display: none;
    max-width: 414px;
    height: auto;
    margin: 0px auto 3rem;
    background-color: #008bee;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 45px;
    text-align: center;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

a.pubblicita-btn:hover {
    background-color: #0067B0;
    color: #fff;
}

a.pubblicita-btn2:hover {
    background-color: #0067B0;
    color: #fff;
}

.pubblicita-columns {
    display: flex;
    gap: 40px;
    text-align: center;
}

.pubblicita-subtitle {
    font-family: Inter, 'sans-serif';
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    color: #000;
    padding-bottom: 7px;
    text-align: center;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

.pubblicita-title {
    font-family: Inter, 'sans-serif';
    font-weight: 600;
    font-size: 36px;
    line-height: 42px;
    color: #000;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    text-align: center;
    padding-bottom: 10px;
}

.pubblicita-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 30px;
}

.rent-btn {
    display: inline-block;
    width: 254px;
    height: 54px;
    background-color: transparent;
    border: 3px solid #000;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 45px;
    text-align: center;
    transition: all 0.3s ease;
    align-content: center;
}


.rent-btn:hover {
    background-color: #000;
    color: #fff;
}

/* MEDIA QUERIES */
/* PADDING */
@media (max-width: 409px) {
    .buy-rent-section {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .buy-rent-section {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .buy-rent-section {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* TITOLO PRINCIPALE */

/* < 369PX */
@media (max-width: 368px) {
    .buy-rent-title {
        font-size: 31px;
        line-height: 40px;
    }
}

/*  Da 369px a 374px */
@media (min-width: 369px) and (max-width: 374px) {
    .buy-rent-title {
        font-size: 31px;
        line-height: 40px;
    }
}

/*  Da 375px a 408px */
@media (min-width: 375px) and (max-width: 408px) {
    .buy-rent-title {
        font-size: 32px;
        line-height: 41px;
    }
}

/*  Da 409px a 413px */
@media (min-width: 409px) and (max-width: 413px) {
    .buy-rent-title {
        font-size: 33px;
        line-height: 40px;
    }
}

/*  Da 414px a 429px */
@media (min-width: 414px) and (max-width: 429px) {
    .buy-rent-title {
        font-size: 32.5px;
        line-height: 40px;
    }
}

/*  Da 430px a 790px */
@media (min-width: 430px) and (max-width: 790px) {
    .buy-rent-title {
        font-size: 34px;
        line-height: 41px;
    }
}

/* Da 791px a 809px */
@media (min-width: 791px) and (max-width: 809px) {
    .buy-rent-title {
        font-size: 35px;
        line-height: 42px;
    }
}

/* Da 810px a 829px */
@media (min-width: 810px) and (max-width: 829px) {
    .buy-rent-title {
        font-size: 36px;
        line-height: 43px;
    }
}

/* Da 830px a 848px */
@media (min-width: 830px) and (max-width: 848px) {
    .buy-rent-title {
        font-size: 37px;
        line-height: 44px;
    }
}

/* Da 849px a 886px */
@media (min-width: 849px) and (max-width: 886px) {
    .buy-rent-title {
        font-size: 38px;
        line-height: 45px;
    }
}

/* Da 887px a 963px */
@media (min-width: 887px) and (max-width: 963px) {
    .buy-rent-title {
        font-size: 39px;
        line-height: 46px;
    }
}

/* Da 964px a 1066px */
@media (min-width: 964px) and (max-width: 1066px) {
    .buy-rent-title {
        font-size: 41px;
        line-height: 48px;
    }
}

/* Da 1067px a 1231px */
@media (min-width: 1067px) and (max-width: 1231px) {
    .buy-rent-title {
        font-size: 43px;
        line-height: 51px;
    }
}


/* DESCRIZIONE */

@media (max-width: 369px) {
    .buy-rent-description {
        line-height: 26px;
        font-size: 18px;
    }
}

@media (min-width: 369px) and (max-width: 388px) {
    .buy-rent-description {
        line-height: 28px;
        font-size: 20px;

    }
}

@media (min-width: 389px) and (max-width: 409px) {
    .buy-rent-description {
        line-height: 30px;
        font-size: 22px;
    }
}

@media (min-width: 410px) and (max-width: 820px) {
    .buy-rent-description {
        line-height: 30px;
        font-size: 22px;
    }
}

@media (min-width: 821px) and (max-width: 943px) {
    .buy-rent-description {
        line-height: 34px;
        font-size: 26px;
    }
}

/* DESCRIZIONE SOTTOTITOLO */
@media (max-width: 1066px) {
    .pubblicita-subtitle {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (min-width: 1067px) and (max-width: 1231px) {
    .pubblicita-subtitle {
        font-size: 20px;
        line-height: 26px;
    }
}


/* DESCRIZIONE TITOLO PRODOTTO */
@media (max-width: 369px) {
    .pubblicita-title {
        font-size: 26px;
        line-height: 32px;
    }
}

@media (min-width: 370px) and (max-width: 375px) {
    .pubblicita-title {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (min-width: 376px) and (max-width: 409px) {
    .pubblicita-title {
        font-size: 27px;
        line-height: 33px;
    }
}

@media (min-width: 410px) and (max-width: 414px) {
    .pubblicita-title {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (min-width: 415px) and (max-width: 430px) {
    .pubblicita-title {
        font-size: 29px;
        line-height: 35px;
    }
}

@media (min-width: 431px) and (max-width: 791px) {
    .pubblicita-title {
        font-size: 30px;
        line-height: 36px;
    }
}

@media (min-width: 792px) and (max-width: 810px) {
    .pubblicita-title {
        font-size: 31px;
        line-height: 37px;
    }
}

@media (min-width: 811px) and (max-width: 830px) {
    .pubblicita-title {
        font-size: 32px;
        line-height: 38px;
    }
}

@media (min-width: 831px) and (max-width: 849px) {
    .pubblicita-title {
        font-size: 33px;
        line-height: 39px;
    }
}


@media (min-width: 850px) and (max-width: 964px) {
    .pubblicita-title {
        font-size: 35px;
        line-height: 41px;
    }
}

/* COLONNA SINGOLA 699PX */
@media (max-width: 699px) {
    .pubblicita-columns {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    a.pubblicita-btn {
        display: none;
    }

    a.pubblicita-btn2 {
        display: block;
        max-width: 250px;
    }

    .rent-btn {
        font-size: 18px;
        line-height: 24px;
        width: 220px;
        height: 50px;
    }
}