@media only screen and (min-width: 1025px) {

    .logo-container {
        pointer-events: auto;
    }

    .logo {
        cursor: pointer;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1100px) {
    .selected-clients-bar {
        max-width: 32vw !important;
    }

    .email-corner {
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 0 !important;
        top: 0 !important;
    }
}

@media only screen and (max-width: 1024px) {

    html,
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: #FBEE9B;
        position: relative;
        width: 100%;
        height: auto;
        min-height: 100%;
    }

    #loader span {
        font-size: 25px;
        line-height: 19px;
    }

    .image-carousel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1;
    }

    .carousel-item {
        position: absolute;
        width: 100%;
        height: 51vh;
        max-height: none;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        opacity: 0;
        transition: opacity 1.2s ease;
        will-change: opacity;
        pointer-events: none;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .carousel-item.active.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .carousel-image {
        width: auto;
        max-width: 85%;
        height: auto;
        max-height: 46vh;
        object-fit: contain;
    }

    .carousel-item .carousel-image:nth-child(n+2) {
        display: none;
    }

    .mobile-footer-wrapper {
        position: relative;
        top: auto;
        margin-top: calc(45vh + 6vh);
        left: 0px;
        right: 0px;
        bottom: auto;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        z-index: 50;
        pointer-events: none;
        transform: none !important;
        overflow: visible;
        padding-left: 0;
        padding-right: 0;
        padding-top: 15px;
        padding-bottom: 40px;
    }

    .logo-container,
    .services-block,
    .email-corner {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        text-align: left !important;
        pointer-events: auto;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        left: 0 !important;
    }

    .logo-container {
        display: block;
        line-height: 19px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .mobile-break {
        display: none;
    }

    @media only screen and (min-width: 601px) {
        .mobile-break {
            display: block;
        }
    }

    .logo {
        display: inline;
        font-size: 18px;
        line-height: 19px;
        color: #FF0000;
        cursor: pointer;
        pointer-events: auto;
    }

    .logo::after {
        content: " +";
        font-size: 18px;
        color: #FF0000;
    }

    .logo-container.logo-open .logo::after {
        content: " −";
    }

    .bio-text {
        display: none !important;
        position: static !important;
        font-size: 18px;
        line-height: 19px;
        color: #FF0000;
        width: auto !important;
        max-width: 100%;
        text-align: left;
        margin-top: 4px;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .bio-text[style*="display: inline"],
    .bio-text[style*="display: block"] {
        display: block !important;
    }

    .bio-text a {
        color: #FF0000;
        text-decoration: none;
    }

    .services-layout {
        display: block;
        position: relative;
    }

    .services-layout .services-column {
        margin-bottom: 15px;
    }

    .services-layout .services-column:last-child {
        margin-bottom: 0;
    }

    .services-block p,
    .services-layout .services-column p {
        font-size: 18px;
        line-height: 19px;
        color: #FF0000;
        margin: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .services-title {
        font-size: 18px !important;
        line-height: 19px;
        color: #FF0000;
        display: inline;
        cursor: pointer;
        padding-left: 15px;
        padding-right: 15px;
    }

    .services-title::after {
        content: " +";
        font-size: 18px;
        color: #FF0000;
    }

    .logo-container.services-open~.services-block .services-title::after {
        content: " −";
    }

    .services-text {
        display: none;
        position: static !important;
        font-size: 18px;
        line-height: 19px;
        color: #FF0000;
        margin-top: 4px;
        width: auto !important;
        padding-left: 0px;
        padding-right: 0px;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .services-text p {
        display: block !important;
        margin: 0 0 4px 0;
        font-size: 18px;
        line-height: 19px;
        color: #FF0000;
    }

    .services-text p:last-child {
        margin-bottom: 0;
    }

    .selected-clients-bar {
        display: block !important;
        flex: 0 0 auto !important;
        margin-left: 0;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: none !important;
        cursor: pointer;
        pointer-events: auto;
    }

    .selected-clients-bar .selected-clients-title {
        font-size: 18px !important;
        line-height: 19px;
        color: #FF0000;
        display: inline;
        white-space: nowrap;
    }

    .selected-clients-bar .image-caption {
        display: block !important;
        position: static !important;
        font-size: 18px;
        line-height: 19px;
        color: #FF0000;
        opacity: 1 !important;
        margin-left: 0 !important;
        margin-top: 4px;
        text-align: left;
        padding-left: 0 !important;
        padding-right: 0 !important;
        white-space: normal;
        overflow: visible;
        width: 100% !important;
        max-width: none;
    }

    .email-corner {
        padding-left: 15px !important;
        padding-right: 15px !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 15px;
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }

    .email-corner a:nth-child(3) {
        flex-basis: auto;
    }

    .email-corner br {
        display: none;
    }

    .email-corner a,
    .email-corner a:link,
    .email-corner a:visited {
        font-size: 18px !important;
        line-height: 19px;
        color: #FF0000;
        display: inline !important;
        text-decoration: none;
        background: none !important;
        -webkit-text-fill-color: #FF0000 !important;
    }

    .email-corner a:hover,
    .email-corner a:active {
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
    }

    @media only screen and (max-height: 700px) {
        .carousel-image {
            max-height: 43vh;
        }
    }

    @media only screen and (min-width: 601px) {
        .carousel-item {
            height: 61vh;
        }

        .carousel-image {
            max-width: 80%;
            max-height: 60vh;
        }

        .mobile-footer-wrapper {
            margin-top: calc(55vh + 6vh);
        }
    }
}