.client-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 266px !important;
    opacity: 1;

    transition: all 0.6s ease !important;
}

.link-btn {
    position: relative;
    outline: none;
    top: 0px;
}
.link-btn svg {
    position: relative;
    top: 1px;
    width: 14px !important;
}
.link-btn.small {
    top: -3px;
}
.link-btn.small svg {
    top: 1px;
    font-size: 24px;
}
.link-btn a::after {
   content: "";
   width: 0%;
   height: 1px;
   background-color: #000;
   position: absolute;
   bottom: 2px;
   left: 0;
    transition: width 0.4s ease;
}

.link-btn:hover a::after {
    width: 80%;
}

#video-element {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;

    transition: opacity 0.6s ease;
}
#video-element, #video-element .elementor-widget-container, #video-element .elementor-widget-container > div {
    width: 100%;
    height: 100%;
}


.hero-video {
    transition: width 0.6s ease, opacity 0.6s ease, flex-shrink 0.6s ease;

    position: relative;
}

#video-container {
    width: calc(40vw - 24px);

}

.hero-section, .swiper-wrapper {
    height: 624px;
}

.hero-section .elementor-container {
    max-height: 100% !important;
}

.play-button {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    height: 81px;
    width: 81px !important;
    cursor: pointer;
    transition: opacity 0.6s ease;
}
.close-button {
    position: absolute;
    z-index: 2;
    right: 24px;
    top: 24px;
    height: 24px;
    width: 24px !important;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.6s ease;
}

.hero-section #video-container.active .play-button {
    opacity: 0;
}
.hero-section #video-container.active .close-button {
    opacity: 1;
}
.hero-section #video-container.active #video-element {
    opacity: 1;
    z-index: 10;
}

.hero-section #video-container.active .client-card {
    opacity: 0;
}
.hero-section .hide {
    opacity: 0.4;
}

.hero-section #video-container video {
    z-index: -1;
    pointer-events: none;
}
.hero-section #video-container #video-element {
    pointer-events: none;
}
.hero-section #video-container.active #video-element {
    pointer-events: initial;
}
.hero-section #video-container.active video {
    pointer-events: initial;
}

#video-container .elementor-widget-wrap, .autoplaying-video .elementor-widget-wrap {
    border-radius: 4px;
    overflow: hidden;
}

.autoplaying-video {
    width: 20vw !important;
}
.autoplaying-video .e-hosted-video {
    aspect-ratio: unset !important;
}
.card-asset .e-hosted-video {
    aspect-ratio: unset !important;
}

.card-asset img,
.card-asset video {
    height: 330px !important;
}

.autoplaying-video * { 
    height: 100%;
}
.autoplaying-video video { 
    object-fit: cover;
    object-position: center;
}

.action-divider {
    width: unset !important;
    flex: 1;

    position: relative;
    bottom: 2px;
}
.action-wrapper {
    width: fit-content !important;
}

a:active, a:focus {
    outline: 0 !important;
    -moz-outline-style: none !important;
}
  

.footer-logos .elementor-row {
    gap: 34px;
}

.cards .elementor-row:first-child {
    gap: 0;
    justify-content: unset;
    flex-wrap: nowrap;
}

.cards .elementor-container {
    overflow: hidden;
}

.swiper-container:not(.swiper-container-initialized)>.swiper-wrapper, .swiper:not(.swiper-initialized)>.swiper-wrapper {
    overflow: visible;
}

.card-footer {
    height: 200px;
}
.card-footer > div {
    height: 100%;
}
.card-footer > .elementor-container > .elementor-row > .elementor-column > .elementor-column-wrap > .elementor-widget-wrap {
    height: 100%;
    flex-direction: column;
}
.card-actions {
    margin-top: auto;
}

.card-item.elementor-col-25 {
    width: inherit;
}

.power-up-video {
    width: 550px !important;
}

.cards-title {
    padding-top: 114px !important;
}

.logo-strip-wrapper .elementor-widget-wrap {
    padding: 0 !important;
}

.swiper-button-next,.swiper-button-prev {
    display: none;
}

#showreel-thumbnail.hide,
#desktop-showreel-video.hide,
#mobile-showreel-video.hide {
    display: none !important;
}
#mobile-showreel-video {
    display: none;
}
#desktop-showreel-video {
    display: block;
}
#showreel-thumbnail {
    cursor: pointer;
    position: relative;
}
#showreel-thumbnail.desktop,
#desktop-showreel-video {
    border-radius: 4px;
    overflow: hidden;
}
#showreel-thumbnail.mobile {
    display: none;
}

#showreel-thumbnail::after {
    content: "";
    background-image: url("https://staging-new-blog.artlist.io/blog/wp-content/uploads/2024/04/play-button.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

}


.header-button {
    margin-left: auto;
}

#video-container video {
    object-fit: cover;
}
#video-container video:fullscreen {
    object-fit: contain;
}


@media (min-width: 1460px) {
    .logo-strip-wrapper {
        padding-top: 74px !important;
    }
    .power-up-button .elementor-column-wrap {
        width: 180px !important;
    }
    .power-up-button .elementor-column-wrap a {
        width: 100%;
    }
}
@media (max-width: 1460px) {
    

    .card-item {
        width: 396px !important;
    }
    
    .hero-section, .swiper-wrapper {
        height: 467px;
    }

    .cards {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .power-up {
        padding-top: 116px !important;
    }

    #video-container .thumbnail,
    #video-container .thumbnail * {
        height: 100%;
    }

    .logo-strip .elementor-row  {
        gap: 24px;
    }    

    .client-card { 
        width: 199px !important;
    }
    .client-spacer-1 .elementor-spacer-inner {
        height: 90px;
    }
    .client-spacer-2 .elementor-spacer-inner {
        height: 10px;
    }
    .swiper-button-next,.swiper-button-prev {
        display: block;
    }
    .swiper-button-next {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(270deg, rgba(23, 23, 23, 0.6)  0%, rgba(23, 23, 23, 0) 100%);
        width: 125px;
        height: 100%;
        z-index: 2;
        margin: 0 !important;
        transition: opacity 0.2s ease;

    }
    .swiper-button-next::after {
        position: absolute;
        content: url("https://staging-new-blog.artlist.io/blog/wp-content/uploads/2024/04/next.svg");
        transform: translateY(-50%);
        top: 50%;
        right: 32px;
        z-index: 3;
    }
    .swiper-button-prev {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        background: linear-gradient(90deg, rgba(23, 23, 23, 0.6) 0%, rgba(23, 23, 23, 0) 100%);
        width: 125px;
        height: 100%;
        z-index: 2;
        margin: 0 !important;
        transition: opacity 0.2s ease;

    }
    .swiper-button-prev::after {
        position: absolute;
        content: url("https://staging-new-blog.artlist.io/blog/wp-content/uploads/2024/04/prev.svg");
        transform: translateY(-50%);
        top: 50%;
        left: 32px;
        z-index: 3;
    }

    .swiper-button-disabled {
        opacity: 0 !important;
    }
  
    .power-up-video {
        width: 450px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1460px) { 
    .client-card {
        padding: 24px !important;
    }
    .client-card p {
        font-size: 16px !important;
        line-height: 120% !important;
    }
    .read-more .elementor-button-text {
        font-size: 15px !important;
        line-height: 120% !important;
    }
    .client-logo img {
        height: 27px !important;
    }
    .logo-strip-wrapper {
        padding-top: 88px !important;
    }
    .heading {
        padding-bottom: 88px !important;
    }
    .power-up-content {
        font-size: 18px !important;
        line-height: 20px !important;
    }
    .link-btn svg {
        top: -2px;
    }

    .power-up-button .elementor-column-wrap {
        width: 180px !important;
    }
    .power-up-button .elementor-column-wrap a {
        width: 100%;
    }
}

@media (max-width: 1024px) {

    .hero-section .elementor-row{
        flex-wrap: nowrap;
    }
    .cards > .elementor-container > .elementor-row > .elementor-column  {
        width: 396px;   
    }    
    #video-container {
        width: calc(50vw - 12px);
    }
    #video-container .thumbnail,
    #video-container .thumbnail * {
        height: 100%;
    }
    .autoplaying-video {
        display: none;
    }
    .play-button {
        width: 62px !important;
        height: 62px;
    }

    .client-card {
        width: 200px !important;
    }

    .hero-section, .swiper-wrapper {
        height: 445px;
    }
   

    .client-spacer-1 .elementor-spacer-inner {
        height: var(--spacer-size);
    }
    .client-spacer-2 .elementor-spacer-inner {
        height: var(--spacer-size);
    }
    .logo-strip-wrapper {
        padding-top: 78px !important;
    }
    .power-up-video {
        width: 330px !important;
    }

    .power-up {
        padding-top: 106px !important;
    }
    .cards-title {
        padding-top: 90px !important;
    }
    
}

@media (max-width: 980px) {
    .logo-strip .elementor-row  {
        justify-content: center !important;
        gap: 24px 64px;
    }    
    .headline br {
        display: none;
    }    
}
@media (min-width: 769px) {
    .hero-section .swiper {
        margin: 0;
        width: 100%;
    }
    
    .hero-section > .elementor-container > .swiper-wrapper {
        justify-content: space-between;
        display: flex;
        gap: 24px !important;
    }

    #video-container {
        flex-shrink: 1;
    }

}
@media (max-width: 768px) {
    .cards > .elementor-container > .elementor-row > .elementor-column  {
        width: 292px;   
    }    
    .hero-section, .swiper-wrapper {
        height: 569px;
    }
    #video-container {
        width: 623px;
    }
    .play-button {
        width: 80px !important;
        height: 80px;
    }
    .power-up > .elementor-container > .elementor-row {
        flex-direction: column;
    }
    .power-up {
        max-width: 575px;
    }
    .power-up .elementor-widget-heading br, .heading br {
        display: none;
    }
    .power-up > .elementor-container > .elementor-row > .elementor-column {
        width: 100%;
    }
    .power-up-actions > .elementor-container > .elementor-row {
        flex-direction: row;
    }
    .power-up-video {
        width: 380px !important;
    }

    
    .cards-title {
        padding-top: 54px !important;
    }

    .card-asset img,
    .card-asset video {
        height: 292px !important;
    }

    .card-item {
        width: 292px !important;
    }
 
    .cards {
        position: relative;
    }
   
    .hero-section .hide {
        width: attr(data-hide-width);
    }
    .client-logo img {
        height: 32px !important;
    }
    .client-spacer-1 .elementor-spacer-inner {
        height: 150px;
    }
    .client-card {
        width: 227px !important;
    }
    .heading {
        max-width: 603px !important;
    }

    #showreel-thumbnail::after {
        width: 52px;
        height: 52px;
    }
}
@media (max-width: 600px) {
    .power-up-actions .elementor-column, .power-up-actions .elementor-widget-button, .power-up-actions .elementor-button {
        width: 100% !important;
    }
    #video-container {
        width: 80vw;
    }
    #video-container video {
        object-fit: contain;
    }
    .play-button {
        left: 50%;
        top: 160px;
        right: unset;
        width: 82px !important;
        height: 82px;
        transform: translate(-50%, 0);
    }

    .cards .swiper-wrapper {
        flex-direction: column;
        height: fit-content;
        align-items: center;
        gap: 16px !important;
        padding: 0 16px;
    }

    .cards > .elementor-container > .elementor-row > .elementor-column  {
        width: 100% !important;   
    }    
    .power-up-video {
        margin: auto;
    }

    .footer-logos .elementor-row {
        justify-content: center;
    }

    .hero-section, .swiper-wrapper {
        height: 488px;
    }
    .logo-strip .elementor-row  {
        gap: 16px 28px;
    }    
    .cards-title {
        padding-top: 40px !important;
    }
    .power-up-video {
        width: 211px !important;
    }
    .client-spacer-1 .elementor-spacer-inner {
        height: var(--spacer-size);
    }

    .showreel-title br {
        display: none;
    }

    .swiper-button-next,.swiper-button-prev {
        display: none;
    }
    .power-up {
        padding-top: 64px !important;
    }
    .header-button {
        position: relative;
        top: 2px;
    }
    #showreel-thumbnail.desktop {
        display: none;
    }
    #showreel-thumbnail.mobile {
        display: block;
    }
    #showreel-thumbnail.mobile.hide {
        display: none;
    }
    #showreel-thumbnail::after {
        width: 62px;
        height: 62px;
    }
    #mobile-showreel-video .e-hosted-video {
        aspect-ratio: 0.8 !important;
    }
    #mobile-showreel-video {
        display: block;
    }
    #desktop-showreel-video {
        display: none;
    }
    .link-btn {
        top: -3px;
    }
    .link-btn svg {
        top: 2px;
    }
    .logo-strip-wrapper {
        padding-top: 66px !important;
    }
}
