#hero {
    padding-top: calc( var(--padding-v) + var(--header-padding) );
}

#hero .hero-img-desktop {
    max-height: calc(100vh - var(--padding-v) * 2 - 200px);
    object-fit: contain;
    transform: translateY(0px);
}

#hero .hero-img-mobile {
    display: none;
}

#hero .container {
    z-index: 9;
}

#hero .hero-trustpilot.full {
    max-width: 250px;
}

@media screen and (max-width: 749px) {
    #hero > .container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    #hero .hero-img-desktop {
        display: none;
    }
    
    #hero .hero-img-mobile {
        display: block;
        object-fit: contain;
        width: 100%;
        height: calc(100vh - var(--padding-v) - var(--header-padding) - 300px);
        padding: 0 var(--padding-h);
        box-sizing: border-box;
    }
}

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

    #hero > .container {
        align-items: flex-start;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #hero .container > div:not(.hero-img-wrapper) {
        order: 2;
        margin-top: 20px;
    }
    
    #hero .hero-img-wrapper {
        order: 1;
    }
    
    #hero .hero-buttons {
        gap: 20px;
    }
}

@media screen and (min-width: 750px) {
    #hero .hero-img {
        position: absolute;
        left: 0;
        min-height: calc( 100% + 100px );
    }
}

@media screen and (min-width: 1200px) {
    #hero {
        min-height: 700px;
    }
}

/* ––––––––––––––––––––––––––––––––––– */

#services-buttons .services-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
}

#services-buttons .service-item {
    display: grid;
    justify-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.2s;
    transform: scale(1);
}

#services-buttons .service-icon {
    width: 40%;
    max-width: 60px;
    min-width: 50px;
    object-fit: contain;
}

#services-buttons .service-item:hover .service-title,
#services-buttons .service-item:focus .service-title {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--green-accent-color);
    text-decoration-skip-ink: none;
    text-underline-offset: 3px;
}

@media screen and (max-width: 1199px) {
    #services-buttons .service-icon {
        max-width: 60px;
    }
}

@media screen and (max-width: 749px) {
    #services-buttons .services-wrapper {
        display: grid;
        overflow-x: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
        gap: var(--padding-h);
        grid-template-columns: repeat(6, calc( ( 100vw - var(--padding-h) * 4 ) / 3 ) );
    }
    
    #services-buttons .services-wrapper::-webkit-scrollbar {
      display: none;
    }
    
    #services-buttons .service-title {
        word-break: break-word;
    }
}

/* ––––––––––––––––––––––––––––––––––– */

#featured-card {
    padding: var(--narrow-padding-v) var(--padding-h);
    padding-top: calc(var(--narrow-padding-v) * 2 -  var(--padding-v));
}

#featured-card .card-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 40%;
    max-height: 40%;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgb(0,0,0,0.3));
    transition: all 0.3s;
}

#featured-card .video-placeholder {
    height: 100%;
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    object-position: bottom;
    transform: translateY(5px);
}

#featured-card #youtube-video {
    display: none;
    overflow: hidden; 
    position: relative;
}

#featured-card .card-title-mobile {
    padding: var(--content-padding);
}

#featured-card .card-title-desktop {
        display: none;
    }

#featured-card .card-text {
    margin-bottom: 40px;
}

@media screen and (min-width: 750px) {
    #featured-card .video-placeholder {
        max-height: 300px;
    }
    
    #featured-card .card-title-mobile {
        display: none;
    }
    
    #featured-card .card-title-desktop {
        display: block;
        margin-bottom: 60px;
    }
    
    #featured-card #youtube-video iframe {
        position: absolute;
        top: -60px;
        left: 0;
        width: 100%;
        height: calc(100% + 63px);
    }
}

/* ––––––––––––––––––––––––––––––––––– */

#services-cards {
    --card-carousel-height: 350px;
    
    padding-bottom: calc( var(--padding-v) * 2 );
    box-sizing: content-box;
}

#services-cards .cards-carousel {
    padding-top: var(--card-carousel-height);
}

#services-cards .card {
    width: min(calc(100vw - var(--padding-h) * 2),var(--site-max-width));
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-100%,0);
    grid-template-rows: 40% 1fr;
    height: 100%;
}

#services-cards .card.current {
    visibility: visible;
    opacity: 1;
    left: 50%;
    transform: translate(-50%,0);
}

#services-cards .card.current + .card,
#services-cards.last-card .card:first-child {
    left: 100%;
    transform: translate(0,0);
}

#services-cards .card-content {
    grid-template-rows: auto 1fr;
    order: 2;
}

#services-cards .card-image-wrapper {
    order: 1;
}

#services-cards .card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    box-sizing: border-box;
    filter: invert(1);
}

#services-cards .carousel-navigation {
    margin-top: 40px;
}

#services-cards .carousel-navigation {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    padding: 0 20px
}  

#services-cards .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#services-cards .carousel-dot {
    width: 10px;
    height: 10px;
    background: var(--green-dark-bg-color);
    display: block;
    border-radius: 50%;
    opacity: 0.5;
}

#services-cards[data-current="0"] .carousel-dot:nth-child(1),
#services-cards[data-current="1"] .carousel-dot:nth-child(2),
#services-cards[data-current="2"] .carousel-dot:nth-child(3),
#services-cards[data-current="3"] .carousel-dot:nth-child(4),
#services-cards[data-current="4"] .carousel-dot:nth-child(5),
#services-cards[data-current="5"] .carousel-dot:nth-child(6),
#services-cards[data-current="6"] .carousel-dot:nth-child(7),
#services-cards[data-current="7"] .carousel-dot:nth-child(8),
#services-cards[data-current="8"] .carousel-dot:nth-child(9),
#services-cards[data-current="9"] .carousel-dot:nth-child(10),
#services-cards[data-current="10"] .carousel-dot:nth-child(11),
#services-cards[data-current="11"] .carousel-dot:nth-child(12)
{ opacity: 1 !important }

@media screen and (min-width: 750px) {
    #services-cards .card > div {
        height: var(--card-carousel-height);
    }
    
    #services-cards .card {
        height: var(--card-carousel-height);
    }
    
    #services-cards .carousel-dot {
        width: 15px;
        height: 15px;
    }
    
    #services-cards .card img {
        padding: 70px 20px;
    }
}

/* ––––––––––––––––––––––––––––––––––– */

#usp-1 > .container {
    row-gap: 40px;
}

#usp-1 .usp-1-image {
    max-height: 200px;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

@media screen and (min-width: 750px) {
    #usp-1 .usp-1-image {
        max-height: 350px;
    }
}

/* ––––––––––––––––––––––––––––––––––– */

#usp-2 > .container {
    row-gap: 40px;
}

#usp-2 .usp-2-image {
    max-height: 200px;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

@media screen and (max-width: 749px) {
    #usp-2 .usp-list {
        gap: 20px;
    }
}

@media screen and (min-width: 750px) {
    #usp-2 .usp-2-image {
        max-height: 350px;
    }
}

/* ––––––––––––––––––––––––––––––––––– */

#news .news-post {
    display: grid;
    grid-template-rows: 100px 1fr;
    min-height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

#news .news-post img {
    object-position: bottom center;
    padding: var(--content-padding) var(--content-padding) 0 var(--content-padding);
    box-sizing: border-box;
}

#news .news-post .content-col {
    padding: var(--content-padding);
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 10px;
}

#news .news-post a {
    text-decoration: none;
}

#news .news-post .button {
    margin-top: 20px;
}

@media screen and (min-width: 750px) {
    #news .news-post {
        grid-template-rows: 200px 1fr;
    }
}


.grid.col-2 > .content-col {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 40px;
}

.grid.col-2 > .content-col > div:first-child > *:nth-child(2) {
    margin-top: 20px;
}