.reels-module .item .media,
.reels-module .item .media figure {
    height: 45rem;
    object-fit: cover;
    aspect-ratio: 324 / 450;
    pointer-events: none;
}

.main-reels-module.reels-module .item .media,
.main-reels-module.reels-module .item .media figure {
    height: 48rem;
}

.main-reels-module .swiper-slide:not(.post) {
    width: 27rem !important;
}

.reels-module .itemtext {
    border: 0;
}

.reels-module .reel-cat {
    background-color: var(--clr1);
    padding: 0.4rem 0.8rem;
    color: var(--textclr4);
    text-transform: uppercase;
    font-size: calc(var(--fontsize_s) * var(--text-scaler));
    line-height: 1;
    display: inline-block;
}
body:after {
    content: '';
    position: fixed;
    z-index: 999;
    top: var(--y);
    left: var(--x);
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: white;
    pointer-events: none;
    transition: width 0.2s ease-in-out, height 0.2s ease-in-out,
        background-color 0.2s ease-in-out, opacity 0.4s ease-in-out;
    font-family: var(--Typeface-Family-Headings);
    font-size: calc(var(--fontsize_h4) * var(--text-scaler));
    transform-origin: center;
}

body.invisible-next-hovered:after, body.invisible-prev-hovered:after {
    width: 6rem;
    height: 6rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 1.7rem;
    font-family: var(--Typeface-Family-Headings);
}
.swiper-button-invisible {
    cursor: none!important;
}
body.invisible-next-hovered:after {
    content: '→';
}
body.invisible-prev-hovered:after {
    content: '←';
}

.reels-module .items-top-content {
    display: flex;
    justify-content: space-between;
    column-gap: 4rem;
}

.reels-module .subtitle {
    max-width: 55rem;
}

.reels-module .items-top-content > h2 {
    text-transform: uppercase;
}

.reels-module .items-list {
    margin: 4.8rem 0 0;
    display: block;
}

.media-icon-wrapper {
    position: relative;
}

.media-icon-wrapper::before {
    content: '';
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 52.88%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.media-icon-wrapper > svg {
    position: absolute;
    bottom: 1.6rem;
    left: 1.6rem;
    height: 12rem;
    width: 12rem;
    z-index: 3;
}

.reels-module .itemtext {
    padding: 0;
}

.reels-module .itemtext h3 {
    margin: 0.8rem 0 0;
    text-transform: uppercase;
}

.uddannelser-moduler .itemtext h3 {
    font-size: calc(var(--fontsize_h4) * var(--text-scaler));
    line-height: calc(var(--lineh_h4) * var(--text-scaler));
}

.swiper-pagination-container {
    width: 100%;
    margin-top: 5.6rem;
}

.swiper-pagination-wrapper {
    position: relative;
    width: 100%;
    height: 2px;
}

.swiper-pagination-wrapper .swiper-scrollbar {
    height: 100%;
}

.swiper-pagination-wrapper .swiper-scrollbar .swiper-scrollbar-drag {
    background: #0a0a0a;
}

.swiper-navigation-container {
    position: absolute;
    width: 100%;
    top: 16.5rem;
    left: 0;
}

.swiper-navigation-container .container {
    display: flex;
    justify-content: space-between;
}

.swiper-navigation-container .swiper-button-next,
.swiper-navigation-container .swiper-button-prev {
    position: relative;
}

.item.swiper-slide {
    flex-basis: unset;
}

.main-reels-module .itemtext {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.2rem;
}

.main-reels-module .itemtext h3 {
    font-size: var(--Typeface-Size-Miscellaneous-SubH1);
    line-height: var(--Typeface-Size-Line-height-SubH1);
    margin: 0;
}

.main-reels-module .itemtext h3,
.main-reels-module .itemtext h3 a {
    color: #fff;
    text-transform: none;
}

@media screen and (max-width: 1000px) {
    .reels-module .items-top-content {
        flex-direction: column;
        row-gap: 2.4rem;
    }

    .reels-module .items-list {
        margin: 2.4rem 0 0;
    }

    .swiper-navigation-container,
    .swiper .swiper-button-next.swiper-button-invisible,
    .swiper .swiper-button-prev.swiper-button-invisible {
        display: none !important;
    }

    .swiper-pagination-container {
        margin: 3.2rem 0 0;
    }
}
