/*
============================================================
MORTALIS GAMING V2
============================================================
*/

.mt-gaming-v2 {
    --mtg-bg: #070b10;
    --mtg-panel: #0c131b;
    --mtg-panel-2: #101a24;
    --mtg-line: rgba(116, 189, 255, .18);
    --mtg-blue: #14a8ff;
    --mtg-blue-2: #39c4ff;
    --mtg-text: #f5f8fc;
    --mtg-muted: #a6b2c0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(20, 168, 255, .08),
            transparent 36rem
        ),
        var(--mtg-bg);

    color: var(--mtg-text);

    padding-bottom: 5rem;
}


.mt-gaming-v2 *,
.mt-gaming-v2 *::before,
.mt-gaming-v2 *::after {
    box-sizing: border-box;
}


/* HERO */

.mtg-hero-shell {
    width: min(1600px, calc(100% - 40px));

    margin:
        24px
        auto
        0;

    overflow: hidden;

    border:
        1px solid
        var(--mtg-line);

    border-radius: 22px;

    background: #05080d;

    box-shadow:
        0 24px 80px
        rgba(0, 0, 0, .42);
}


.mtg-hero-image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;
}


/* INTRO */

.mtg-intro {
    width: min(1180px, calc(100% - 40px));

    margin:
        42px
        auto
        0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 40px;

    align-items: end;
}


.mtg-eyebrow,
.mtg-section-label {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--mtg-blue-2);

    font-size: .76rem;
    font-weight: 800;

    letter-spacing: .13em;
}


.mtg-intro h1 {
    margin: 0;

    max-width: 760px;

    font-size:
        clamp(
            2rem,
            4vw,
            3.6rem
        );

    line-height: 1.02;
}


.mtg-intro p {
    max-width: 760px;

    margin:
        18px
        0
        0;

    color: var(--mtg-muted);

    font-size: 1.05rem;

    line-height: 1.7;
}


.mtg-intro-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/* BUTTONS */

.mtg-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding:
        0
        20px;

    border:
        1px solid
        rgba(20, 168, 255, .42);

    border-radius: 10px;

    color: #eaf7ff;

    background:
        rgba(20, 168, 255, .07);

    font-weight: 800;

    text-decoration: none;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}


.mtg-button:hover {
    transform: translateY(-2px);

    border-color: var(--mtg-blue);

    background:
        rgba(20, 168, 255, .13);
}


.mtg-button-primary {
    border-color: var(--mtg-blue);

    color: #02101a;

    background:
        linear-gradient(
            135deg,
            #2bc1ff,
            #078fe3
        );
}


/* TRUST */

.mtg-trust {
    width: min(1180px, calc(100% - 40px));

    margin:
        28px
        auto
        0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}


.mtg-trust > div {
    padding: 18px 20px;

    border:
        1px solid
        var(--mtg-line);

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 31, 43, .84),
            rgba(8, 14, 21, .9)
        );
}


.mtg-trust strong {
    display: block;

    margin-bottom: 4px;

    color: #fff;
}


.mtg-trust span {
    color: var(--mtg-muted);

    font-size: .9rem;
}


/* SECTIONS */

.mtg-section,
.mtg-method {
    width: min(1180px, calc(100% - 40px));

    margin:
        64px
        auto
        0;
}


.mtg-section-head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 22px;
}


.mtg-section-head h2,
.mtg-method h2 {
    margin: 0;

    font-size:
        clamp(
            1.7rem,
            3vw,
            2.6rem
        );

    line-height: 1.08;
}


.mtg-section-head p {
    max-width: 720px;

    margin:
        12px
        0
        0;

    color: var(--mtg-muted);

    line-height: 1.65;
}


.mtg-head-link,
.mtg-text-link {
    color: var(--mtg-blue-2);

    font-weight: 800;

    text-decoration: none;
}


/* FEATURED CARDS */

.mtg-featured-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}


.mtg-card {
    overflow: hidden;

    border:
        1px solid
        var(--mtg-line);

    border-radius: 16px;

    background:
        linear-gradient(
            155deg,
            #101922,
            #090e14
        );

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, .18);

    transition:
        transform .2s ease,
        border-color .2s ease;
}


.mtg-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(20, 168, 255, .5);
}


.mtg-card-media {
    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #060a0e;
}


.mtg-card-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .28s ease;
}


.mtg-card:hover
.mtg-card-media img {
    transform: scale(1.035);
}


.mtg-card-body {
    padding: 18px;
}


.mtg-card-meta {
    min-height: 25px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 7px;

    margin-bottom: 11px;
}


.mtg-pill,
.mtg-affiliate-pill {
    display: inline-flex;

    padding:
        4px
        8px;

    border-radius: 999px;

    font-size: .67rem;
    font-weight: 900;

    letter-spacing: .04em;

    text-transform: uppercase;
}


.mtg-pill {
    color: #7ed5ff;

    border:
        1px solid
        rgba(20, 168, 255, .35);

    background:
        rgba(20, 168, 255, .08);
}


.mtg-affiliate-pill {
    color: #c4ccd5;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    background:
        rgba(255, 255, 255, .04);
}


.mtg-card h3 {
    margin:
        0
        0
        9px;

    font-size: 1.04rem;

    line-height: 1.3;
}


.mtg-card h3 a {
    color: #fff;

    text-decoration: none;
}


.mtg-card p {
    margin:
        0
        0
        16px;

    color: var(--mtg-muted);

    font-size: .89rem;

    line-height: 1.55;
}


/* CATEGORY CARDS */

.mtg-category-grid {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    gap: 10px;
}


.mtg-category-card {
    position: relative;

    min-height: 128px;

    overflow: hidden;

    border:
        1px solid
        var(--mtg-line);

    border-radius: 14px;

    background: #0a1016;

    text-decoration: none;
}


.mtg-category-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 8, 13, .96),
            rgba(3, 8, 13, .10)
        );
}


.mtg-category-card img {
    width: 100%;
    height: 100%;

    position: absolute;
    inset: 0;

    object-fit: cover;

    transition:
        transform .25s ease;
}


.mtg-category-card:hover img {
    transform: scale(1.06);
}


.mtg-category-card span {
    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 13px;

    z-index: 2;

    color: #fff;

    font-size: .84rem;
    font-weight: 900;
}


/* BUILD YOUR SETUP */

.mtg-build-section {
    padding:
        32px;

    border:
        1px solid
        var(--mtg-line);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(13, 24, 34, .94),
            rgba(7, 12, 18, .96)
        );
}


.mtg-setup-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;
}


.mtg-step {
    min-height: 220px;

    display: flex;

    flex-direction: column;

    padding: 18px;

    border:
        1px solid
        rgba(116, 189, 255, .14);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .025);

    color: inherit;

    text-decoration: none;

    transition:
        transform .18s ease,
        border-color .18s ease;
}


.mtg-step:hover {
    transform: translateY(-3px);

    border-color:
        rgba(20, 168, 255, .45);
}


.mtg-step-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}


.mtg-step-number {
    width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--mtg-blue-2);

    background:
        rgba(20, 168, 255, .11);

    font-weight: 900;
}


.mtg-step-icon {
    color: var(--mtg-blue-2);

    font-size: 1.45rem;
}


.mtg-step h3 {
    margin:
        0
        0
        8px;

    color: #fff;

    font-size: 1rem;
}


.mtg-step p {
    margin: 0;

    color: var(--mtg-muted);

    font-size: .86rem;

    line-height: 1.52;
}


.mtg-step-link {
    margin-top: auto;

    padding-top: 18px;

    color: var(--mtg-blue-2);

    font-size: .78rem;

    font-weight: 800;
}


/* LATEST */

.mtg-latest-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


/* METHOD */

.mtg-method {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding:
        32px;

    border:
        1px solid
        var(--mtg-line);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 18, 26, .95),
            rgba(7, 11, 16, .98)
        );
}


.mtg-method p {
    max-width: 760px;

    margin:
        14px
        0
        0;

    color: var(--mtg-muted);

    line-height: 1.7;
}


/* TABLET */

@media (max-width: 1100px) {

    .mtg-featured-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .mtg-category-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }


    .mtg-setup-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .mtg-latest-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* MOBILE */

@media (max-width: 720px) {

    .mt-gaming-v2 {
        padding-bottom: 3rem;
    }


    .mtg-hero-shell {
        width: calc(100% - 20px);

        margin-top: 12px;

        border-radius: 14px;
    }


    .mtg-hero-image {
        aspect-ratio: auto;

        min-height: 250px;

        object-fit: cover;

        object-position: 58% center;
    }


    .mtg-intro,
    .mtg-trust,
    .mtg-section,
    .mtg-method {
        width: calc(100% - 28px);
    }


    .mtg-intro {
        margin-top: 30px;

        grid-template-columns: 1fr;

        gap: 22px;
    }


    .mtg-intro-actions {
        width: 100%;
    }


    .mtg-button {
        flex: 1;
    }


    .mtg-trust {
        grid-template-columns: 1fr;
    }


    .mtg-section {
        margin-top: 46px;
    }


    .mtg-section-head {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }


    .mtg-featured-grid,
    .mtg-latest-grid {
        grid-template-columns: 1fr;
    }


    .mtg-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .mtg-build-section {
        padding:
            24px
            18px;
    }


    .mtg-setup-grid {
        grid-template-columns: 1fr;
    }


    .mtg-step {
        min-height: 190px;
    }


    .mtg-method {
        align-items: flex-start;

        flex-direction: column;

        padding:
            26px
            20px;
    }
}

/*
============================================================
MORTALIS GAMING V2.1
HERO PROPORTION FIX
============================================================
*/

.mtg-hero-shell {
    width: min(1536px, calc(100% - 36px));
    aspect-ratio: 2.35 / 1;
    max-height: 650px;

    margin:
        30px
        auto
        0;

    overflow: hidden;

    border-radius: 20px;
}

.mtg-hero-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    /*
     * Lidt mod venstre så både MORTALIS-tekst,
     * gaming-overskrift og selve setup'et bevares.
     */
    object-position: 48% 50%;
}


/*
 * TABLET
 */

@media (max-width: 1100px) {

    .mtg-hero-shell {
        width: calc(100% - 28px);
        aspect-ratio: 2 / 1;
        max-height: none;
    }

}


/*
 * MOBILE
 *
 * På telefon bliver billedet højere, så teksten
 * i det indbyggede hero-design stadig kan læses.
 */

@media (max-width: 720px) {

    .mtg-hero-shell {
        width: calc(100% - 20px);

        aspect-ratio: 1.45 / 1;

        margin-top: 14px;

        border-radius: 14px;
    }

    .mtg-hero-image {
        width: 100%;
        height: 100%;

        min-height: 0;

        object-fit: cover;
        object-position: 43% center;
    }

}


/*
============================================================
MORTALIS GAMING V2.2
FULL HERO – NO CROPPING
============================================================
*/

.mtg-hero-shell {
    width: min(1536px, calc(100% - 36px));

    height: auto;
    max-height: none;
    aspect-ratio: auto;

    margin:
        28px
        auto
        0;

    overflow: hidden;

    border-radius: 20px;

    line-height: 0;
}

.mtg-hero-image {
    display: block;

    width: 100%;
    height: auto;

    min-height: 0;

    aspect-ratio: auto;

    object-fit: contain;
    object-position: center;
}


/*
 * Hero-billedet indeholder allerede:
 * MORTALIS branding
 * headline
 * beskrivelse
 * kategori-ikoner
 *
 * Derfor skjuler vi den ekstra tekst-hero nedenunder.
 */

.mtg-intro {
    display: none !important;
}


/*
 * Trustbaren bliver første element efter heroen.
 */

.mtg-trust {
    margin-top: 28px;
}


/* TABLET */

@media (max-width: 1100px) {

    .mtg-hero-shell {
        width: calc(100% - 28px);

        height: auto;
        max-height: none;
        aspect-ratio: auto;
    }

    .mtg-hero-image {
        width: 100%;
        height: auto;

        object-fit: contain;
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .mtg-hero-shell {
        width: calc(100% - 20px);

        height: auto;
        aspect-ratio: auto;

        margin-top: 14px;

        border-radius: 14px;
    }

    .mtg-hero-image {
        width: 100%;
        height: auto;

        min-height: 0;

        object-fit: contain;
        object-position: center;
    }

    .mtg-trust {
        margin-top: 18px;
    }

}


/*
============================================================
MORTALIS GAMING V2.3
CARDS + SECTIONS + RESPONSIVE GRID
============================================================
*/


/*
------------------------------------------------------------
GENEREL SECTION SPACING
------------------------------------------------------------
*/

.mtg-section {
    margin-top: 54px;
}

.mtg-section-head {
    margin-bottom: 18px;
}

.mtg-section-label {
    margin-bottom: 7px;

    font-size: .72rem;

    letter-spacing: .15em;
}

.mtg-section-head h2 {
    font-size:
        clamp(
            1.65rem,
            2.4vw,
            2.25rem
        );
}


/*
------------------------------------------------------------
TRUST STRIP
------------------------------------------------------------
*/

.mtg-trust {
    gap: 14px;

    margin-top: 30px;
}

.mtg-trust > div {
    min-height: 112px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        20px
        24px;
}

.mtg-trust strong {
    font-size: 1rem;
}

.mtg-trust span {
    margin-top: 4px;

    line-height: 1.45;
}


/*
------------------------------------------------------------
ARTICLE GRIDS
------------------------------------------------------------
*/

.mtg-featured-grid,
.mtg-latest-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/*
------------------------------------------------------------
ARTICLE CARD
------------------------------------------------------------
*/

.mtg-card {
    height: 100%;

    display: flex;
    flex-direction: column;

    border-radius: 15px;

    overflow: hidden;
}

.mtg-card-media {
    flex: 0 0 auto;

    aspect-ratio: 16 / 9;
}

.mtg-card-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.mtg-card-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding:
        16px
        17px
        17px;
}

.mtg-card-meta {
    min-height: 23px;

    margin-bottom: 9px;
}

.mtg-pill,
.mtg-affiliate-pill {
    padding:
        3px
        7px;

    font-size: .62rem;
}

.mtg-card h3 {
    margin:
        0
        0
        8px;

    font-size: .98rem;

    line-height: 1.35;
}

.mtg-card p {
    margin:
        0
        0
        15px;

    font-size: .82rem;

    line-height: 1.5;
}

.mtg-card .mtg-text-link {
    margin-top: auto;

    font-size: .79rem;
}


/*
------------------------------------------------------------
FEATURED GUIDES
------------------------------------------------------------
*/

.mtg-featured-card {
    min-height: 100%;
}

.mtg-featured-card .mtg-card-media {
    aspect-ratio: 16 / 9;
}


/*
------------------------------------------------------------
GAMING CATEGORIES
------------------------------------------------------------
*/

.mtg-category-grid {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.mtg-category-card {
    min-height: 150px;

    border-radius: 15px;
}

.mtg-category-card::after {
    background:
        linear-gradient(
            to top,
            rgba(4, 9, 14, .98) 0%,
            rgba(4, 9, 14, .62) 38%,
            rgba(4, 9, 14, .06) 75%
        );
}

.mtg-category-card span {
    left: 16px;
    right: 16px;
    bottom: 15px;

    font-size: .95rem;

    line-height: 1.25;
}


/*
------------------------------------------------------------
BUILD YOUR SETUP
------------------------------------------------------------
*/

.mtg-build-section {
    padding:
        28px;

    margin-top: 56px;
}

.mtg-build-section
.mtg-section-head {
    margin-bottom: 20px;
}

.mtg-setup-grid {
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 13px;
}

.mtg-step {
    min-height: 190px;

    padding:
        16px;
}

.mtg-step-top {
    margin-bottom: 13px;
}

.mtg-step-number {
    width: 34px;
    height: 34px;

    font-size: .9rem;
}

.mtg-step-icon {
    font-size: 1.25rem;
}

.mtg-step h3 {
    font-size: .95rem;
}

.mtg-step p {
    font-size: .79rem;

    line-height: 1.45;
}

.mtg-step-link {
    padding-top: 13px;

    font-size: .73rem;
}


/*
------------------------------------------------------------
LATEST GAMING
------------------------------------------------------------
*/

.mtg-latest-card .mtg-card-media {
    aspect-ratio: 16 / 9;
}


/*
------------------------------------------------------------
METHOD / EDITORIAL
------------------------------------------------------------
*/

.mtg-method {
    margin-top: 58px;

    padding:
        28px
        30px;
}

.mtg-method h2 {
    font-size:
        clamp(
            1.5rem,
            2.3vw,
            2rem
        );
}

.mtg-method p {
    font-size: .94rem;
}


/*
============================================================
LARGE / MEDIUM DESKTOP
============================================================
*/

@media (max-width: 1250px) {

    .mtg-featured-grid,
    .mtg-latest-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .mtg-category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .mtg-setup-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/*
============================================================
TABLET
============================================================
*/

@media (max-width: 900px) {

    .mtg-featured-grid,
    .mtg-latest-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .mtg-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .mtg-setup-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .mtg-trust {
        grid-template-columns: 1fr;
    }

    .mtg-trust > div {
        min-height: 90px;
    }

}


/*
============================================================
MOBILE
============================================================
*/

@media (max-width: 620px) {

    .mtg-section {
        margin-top: 42px;
    }

    .mtg-featured-grid,
    .mtg-latest-grid,
    .mtg-category-grid,
    .mtg-setup-grid {
        grid-template-columns: 1fr;
    }

    .mtg-category-card {
        min-height: 170px;
    }

    .mtg-build-section {
        padding:
            22px
            16px;
    }

    .mtg-step {
        min-height: 165px;
    }

    .mtg-card-body {
        padding: 16px;
    }

    .mtg-card h3 {
        font-size: 1rem;
    }

    .mtg-card p {
        font-size: .86rem;
    }

}


/*
============================================================
VERY SMALL MOBILE
============================================================
*/

@media (max-width: 420px) {

    .mtg-section,
    .mtg-trust,
    .mtg-method {
        width: calc(100% - 20px);
    }

    .mtg-category-card {
        min-height: 145px;
    }

}


/*
============================================================
MORTALIS GAMING V2.4
REMOVE VISUAL DUPLICATION
============================================================
*/


/*
------------------------------------------------------------
GAMING-KATEGORIER ER NAVIGATION
– ikke endnu en artikeloversigt
------------------------------------------------------------
*/

.mtg-category-grid {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}


.mtg-category-card {
    min-height: 92px;

    position: relative;

    display: flex;
    align-items: center;

    padding:
        18px
        48px
        18px
        20px;

    overflow: hidden;

    border:
        1px solid
        rgba(47, 174, 255, .22);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(18, 31, 43, .96),
            rgba(8, 14, 21, .98)
        );

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}


/*
 * Fjern de gentagne artikel-thumbnails.
 */

.mtg-category-card img {
    display: none !important;
}


/*
 * Fjern gammel billed-gradient.
 */

.mtg-category-card::after {
    content: "→";

    position: absolute;

    top: 50%;
    right: 20px;
    bottom: auto;
    left: auto;

    width: auto;
    height: auto;

    transform:
        translateY(-50%);

    color: #28b8ff;

    background: none;

    font-size: 1.15rem;
    font-weight: 900;

    opacity: .9;
}


/*
 * Lille neonmarkør.
 */

.mtg-category-card::before {
    content: "";

    position: absolute;

    top: 18px;
    bottom: 18px;
    left: 0;

    width: 3px;

    border-radius:
        0
        3px
        3px
        0;

    background:
        linear-gradient(
            #36c6ff,
            #097bd3
        );
}


.mtg-category-card span {
    position: static;

    z-index: 2;

    color: #f5f8fc;

    font-size: .94rem;
    font-weight: 850;

    line-height: 1.3;
}


.mtg-category-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(47, 174, 255, .56);

    background:
        linear-gradient(
            135deg,
            rgba(20, 42, 59, .98),
            rgba(8, 17, 25, .98)
        );
}


/*
------------------------------------------------------------
MERE LUFT MELLEM NAVIGATION OG SETUP
------------------------------------------------------------
*/

#gaming-kategorier {
    margin-bottom: 48px;
}


.mtg-build-section {
    margin-top: 0;
}


/*
------------------------------------------------------------
LATEST
------------------------------------------------------------
*/

#seneste-gaming {
    margin-top: 58px;
}


/*
============================================================
TABLET
============================================================
*/

@media (max-width: 900px) {

    .mtg-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/*
============================================================
MOBILE
============================================================
*/

@media (max-width: 620px) {

    .mtg-category-grid {
        grid-template-columns: 1fr;
    }


    .mtg-category-card {
        min-height: 76px;

        padding:
            16px
            44px
            16px
            18px;
    }

}


/*
============================================================
MORTALIS GAMING V2.5
PREMIUM CATEGORY CARDS
============================================================
*/


/*
------------------------------------------------------------
GRID
------------------------------------------------------------
*/

#gaming-kategorier .mtg-category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/*
------------------------------------------------------------
CARD
------------------------------------------------------------
*/

#gaming-kategorier .mtg-category-card {
    position: relative;

    min-height: 230px;

    display: block;

    padding:
        38px
        36px
        34px;

    border:
        1px solid
        rgba(139, 159, 181, .18);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 32, 43, .98),
            rgba(20, 27, 37, .98)
        );

    color: #f5f8fc;

    text-decoration: none;

    overflow: hidden;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


/*
 * Fjern alle rester fra de gamle
 * thumbnail/navigation-kort.
 */

#gaming-kategorier .mtg-category-card img {
    display: none !important;
}


#gaming-kategorier .mtg-category-card::before {
    display: none !important;
}


#gaming-kategorier .mtg-category-card::after {
    display: none !important;
}


/*
------------------------------------------------------------
KATEGORI LABEL
------------------------------------------------------------
*/

.mtg-category-kicker {
    display: block;

    position: static !important;

    margin:
        0
        0
        24px;

    color: #20b7ff !important;

    font-size: .72rem !important;
    font-weight: 900 !important;

    line-height: 1 !important;

    letter-spacing: .11em;

    text-transform: uppercase;
}


/*
------------------------------------------------------------
ARROW
------------------------------------------------------------
*/

.mtg-category-arrow {
    position: absolute !important;

    top: 36px;
    right: 34px;

    left: auto !important;
    bottom: auto !important;

    color: #20b7ff !important;

    font-size: 1.35rem !important;
    font-weight: 500 !important;

    line-height: 1 !important;

    transition:
        transform .2s ease;
}


/*
------------------------------------------------------------
TITLE
------------------------------------------------------------
*/

#gaming-kategorier
.mtg-category-card h3 {
    margin:
        0
        0
        20px;

    max-width: 85%;

    color: #fff;

    font-size:
        clamp(
            1.35rem,
            1.8vw,
            1.72rem
        );

    line-height: 1.2;

    font-weight: 850;
}


/*
------------------------------------------------------------
DESCRIPTION
------------------------------------------------------------
*/

#gaming-kategorier
.mtg-category-card p {
    max-width: 92%;

    margin: 0;

    color: #a9b8c8;

    font-size: .98rem;

    line-height: 1.7;
}


/*
------------------------------------------------------------
HOVER
------------------------------------------------------------
*/

#gaming-kategorier
.mtg-category-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(32, 183, 255, .48);

    background:
        linear-gradient(
            145deg,
            rgba(27, 39, 52, .99),
            rgba(17, 27, 38, .99)
        );

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, .22);
}


#gaming-kategorier
.mtg-category-card:hover
.mtg-category-arrow {
    transform:
        translateX(5px);
}


/*
------------------------------------------------------------
7. KORT CENTRERES
------------------------------------------------------------
*/

@media (min-width: 901px) {

    #gaming-kategorier
    .mtg-category-card:last-child {
        grid-column: 2 / 3;
    }

}


/*
============================================================
TABLET
============================================================
*/

@media (max-width: 900px) {

    #gaming-kategorier
    .mtg-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    #gaming-kategorier
    .mtg-category-card {
        min-height: 210px;

        padding:
            30px
            28px;
    }


    .mtg-category-arrow {
        top: 29px;
        right: 27px;
    }


    #gaming-kategorier
    .mtg-category-card:last-child {
        grid-column: auto;
    }

}


/*
============================================================
MOBILE
============================================================
*/

@media (max-width: 620px) {

    #gaming-kategorier
    .mtg-category-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    #gaming-kategorier
    .mtg-category-card {
        min-height: 185px;

        padding:
            26px
            24px;
    }


    .mtg-category-kicker {
        margin-bottom: 18px;
    }


    .mtg-category-arrow {
        top: 26px;
        right: 23px;
    }


    #gaming-kategorier
    .mtg-category-card h3 {
        margin-bottom: 14px;

        font-size: 1.35rem;
    }


    #gaming-kategorier
    .mtg-category-card p {
        max-width: 100%;

        font-size: .9rem;

        line-height: 1.6;
    }

}


/*
============================================================
MORTALIS GAMING V2.6
BUILD YOUR SETUP PREMIUM
============================================================
*/


/*
------------------------------------------------------------
SECTION
------------------------------------------------------------
*/

.mtg-build-section {
    position: relative;

    margin-top: 58px;

    padding:
        36px
        34px
        34px;

    overflow: hidden;

    border:
        1px solid
        rgba(42, 184, 255, .22);

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(26, 169, 255, .08),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(14, 25, 35, .98),
            rgba(7, 13, 19, .99)
        );
}


/*
 * Diskret blå glød i toppen.
 */

.mtg-build-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;
    right: 12%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(45, 192, 255, .55),
            transparent
        );
}


/*
------------------------------------------------------------
HEADING
------------------------------------------------------------
*/

.mtg-build-section
.mtg-section-head {
    position: relative;

    z-index: 2;

    margin-bottom: 32px;
}


.mtg-build-section
.mtg-section-head h2 {
    font-size:
        clamp(
            2rem,
            3vw,
            2.65rem
        );
}


.mtg-build-section
.mtg-section-head p {
    max-width: 760px;

    font-size: .97rem;

    line-height: 1.65;
}


/*
------------------------------------------------------------
GRID
------------------------------------------------------------
*/

.mtg-setup-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;
}


/*
 * Progressionslinje bag kortene.
 */

.mtg-setup-grid::before {
    content: "";

    position: absolute;

    top: 36px;
    left: 8%;
    right: 8%;

    height: 2px;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(38, 187, 255, .15),
            rgba(38, 187, 255, .58),
            rgba(38, 187, 255, .15)
        );
}


/*
------------------------------------------------------------
STEP CARD
------------------------------------------------------------
*/

.mtg-step {
    position: relative;

    min-height: 255px;

    display: flex;
    flex-direction: column;

    padding:
        20px
        20px
        19px;

    border:
        1px solid
        rgba(118, 168, 201, .18);

    border-radius: 16px;

    background:
        linear-gradient(
            150deg,
            rgba(17, 30, 41, .98),
            rgba(10, 18, 26, .99)
        );

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, .12);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.mtg-step:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(35, 188, 255, .55);

    background:
        linear-gradient(
            150deg,
            rgba(19, 39, 53, .99),
            rgba(10, 21, 30, .99)
        );

    box-shadow:
        0 18px 42px
        rgba(0, 0, 0, .24);
}


/*
------------------------------------------------------------
TOP ROW
------------------------------------------------------------
*/

.mtg-step-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 26px;
}


/*
------------------------------------------------------------
NUMBER
------------------------------------------------------------
*/

.mtg-step-number {
    width: 52px;
    height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 52px;

    border:
        1px solid
        rgba(36, 186, 255, .34);

    border-radius: 50%;

    color: #32c2ff;

    background:
        linear-gradient(
            145deg,
            rgba(20, 100, 145, .28),
            rgba(10, 45, 69, .34)
        );

    box-shadow:
        0 0 0 6px
        rgba(7, 13, 19, .96);

    font-size: 1.1rem;
    font-weight: 900;
}


/*
------------------------------------------------------------
ICON / TYPE BADGE
------------------------------------------------------------
*/

.mtg-step-icon {
    min-width: 46px;
    height: 32px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        0
        9px;

    border:
        1px solid
        rgba(41, 190, 255, .24);

    border-radius: 8px;

    color: #33c3ff;

    background:
        rgba(28, 177, 245, .07);

    font-size: .67rem;
    font-weight: 900;

    letter-spacing: .08em;
}


/*
------------------------------------------------------------
CONTENT
------------------------------------------------------------
*/

.mtg-step h3 {
    margin:
        0
        0
        11px;

    color: #fff;

    font-size: 1.08rem;

    line-height: 1.25;
}


.mtg-step p {
    margin: 0;

    color: #aab9c8;

    font-size: .84rem;

    line-height: 1.58;
}


/*
------------------------------------------------------------
CTA
------------------------------------------------------------
*/

.mtg-step-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: auto;

    padding-top: 20px;

    color: #29baff;

    font-size: .8rem;
    font-weight: 850;

    transition:
        gap .18s ease,
        color .18s ease;
}


.mtg-step:hover
.mtg-step-link {
    gap: 9px;

    color: #69d4ff;
}


/*
------------------------------------------------------------
STEP ACCENT
------------------------------------------------------------
*/

.mtg-step::after {
    content: "";

    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 0;

    height: 2px;

    opacity: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            #26baff,
            transparent
        );

    transition:
        opacity .2s ease;
}


.mtg-step:hover::after {
    opacity: 1;
}


/*
============================================================
MEDIUM DESKTOP
============================================================
*/

@media (max-width: 1180px) {

    .mtg-setup-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .mtg-setup-grid::before {
        display: none;
    }


    .mtg-step {
        min-height: 230px;
    }

}


/*
============================================================
TABLET
============================================================
*/

@media (max-width: 850px) {

    .mtg-build-section {
        padding:
            28px
            24px;
    }


    .mtg-setup-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .mtg-step {
        min-height: 215px;
    }

}


/*
============================================================
MOBILE
============================================================
*/

@media (max-width: 620px) {

    .mtg-build-section {
        margin-top: 42px;

        padding:
            26px
            17px;

        border-radius: 17px;
    }


    .mtg-build-section
    .mtg-section-head {
        margin-bottom: 22px;
    }


    .mtg-setup-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .mtg-step {
        min-height: 185px;

        padding:
            18px;
    }


    .mtg-step-top {
        margin-bottom: 18px;
    }


    .mtg-step-number {
        width: 44px;
        height: 44px;

        flex-basis: 44px;

        box-shadow:
            0 0 0 4px
            rgba(7, 13, 19, .96);
    }

}


/*
============================================================
MORTALIS GAMING V2.7
LATEST GAMING ARTICLES
============================================================
*/

#seneste-gaming {
    margin-top: 64px;
}


/*
------------------------------------------------------------
GRID
------------------------------------------------------------
*/

#seneste-gaming .mtg-latest-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/*
------------------------------------------------------------
CARD
------------------------------------------------------------
*/

#seneste-gaming .mtg-latest-card {
    min-height: 100%;

    display: flex;
    flex-direction: column;

    border:
        1px solid
        rgba(124, 161, 190, .18);

    border-radius: 16px;

    background:
        linear-gradient(
            150deg,
            rgba(16, 27, 37, .98),
            rgba(8, 15, 22, .99)
        );

    overflow: hidden;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


#seneste-gaming .mtg-latest-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(38, 187, 255, .48);

    box-shadow:
        0 18px 42px
        rgba(0, 0, 0, .22);
}


/*
------------------------------------------------------------
IMAGE
------------------------------------------------------------
*/

#seneste-gaming
.mtg-latest-card
.mtg-card-media {
    aspect-ratio: 16 / 8.7;

    overflow: hidden;
}


#seneste-gaming
.mtg-latest-card
.mtg-card-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/*
------------------------------------------------------------
BODY
------------------------------------------------------------
*/

#seneste-gaming
.mtg-latest-card
.mtg-card-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding:
        18px
        19px
        19px;
}


/*
------------------------------------------------------------
TITLE
------------------------------------------------------------
*/

#seneste-gaming
.mtg-latest-card h3 {
    margin:
        0
        0
        10px;

    font-size: 1.03rem;

    line-height: 1.4;

    /*
     * Ensartet højde selv ved lange titler.
     */
    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/*
------------------------------------------------------------
DESCRIPTION
------------------------------------------------------------
*/

#seneste-gaming
.mtg-latest-card p {
    margin:
        0
        0
        16px;

    color: #a9b8c7;

    font-size: .83rem;

    line-height: 1.55;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/*
------------------------------------------------------------
META
------------------------------------------------------------
*/

#seneste-gaming
.mtg-card-meta {
    margin-bottom: 11px;
}


/*
------------------------------------------------------------
CTA
------------------------------------------------------------
*/

#seneste-gaming
.mtg-text-link {
    margin-top: auto;

    padding-top: 4px;

    color: #27bbff;

    font-size: .8rem;
    font-weight: 850;
}


/*
============================================================
TABLET
============================================================
*/

@media (max-width: 950px) {

    #seneste-gaming
    .mtg-latest-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/*
============================================================
MOBILE
============================================================
*/

@media (max-width: 620px) {

    #seneste-gaming {
        margin-top: 46px;
    }


    #seneste-gaming
    .mtg-latest-grid {
        grid-template-columns: 1fr;
    }


    #seneste-gaming
    .mtg-latest-card
    .mtg-card-media {
        aspect-ratio: 16 / 9;
    }

}



/*
============================================================
MORTALIS PC BUILD HUB v1
============================================================
*/

#byg-din-gaming-pc {
    position: relative;

    margin-top: 58px;
}


.mtg-pc-build-head {
    align-items: flex-end;

    margin-bottom: 22px;
}


.mtg-pc-build-lead {
    max-width: 760px;

    margin:
        10px
        0
        0;

    color: #a9b8c7;

    font-size: .97rem;
    line-height: 1.7;
}


.mtg-pc-build-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(0, .88fr);

    border:
        1px solid
        rgba(38, 187, 255, .30);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 12% 10%,
            rgba(38, 187, 255, .13),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 90%,
            rgba(155, 77, 255, .12),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            rgba(15, 26, 37, .99),
            rgba(7, 13, 20, .99)
        );

    box-shadow:
        0 24px 70px
        rgba(0, 0, 0, .28);

    overflow: hidden;
}


.mtg-pc-build-media {
    position: relative;

    display: block;

    min-height: 100%;

    overflow: hidden;
}


.mtg-pc-build-media::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent 62%,
            rgba(7, 13, 20, .34)
        );
}


.mtg-pc-build-image {
    width: 100%;
    height: 100%;

    min-height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .35s ease,
        filter .35s ease;
}


.mtg-pc-build-media:hover
.mtg-pc-build-image {
    transform: scale(1.018);

    filter: brightness(1.05);
}


.mtg-pc-build-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        34px
        34px
        32px;
}


.mtg-pc-build-kicker {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 13px;

    padding:
        6px
        10px;

    border:
        1px solid
        rgba(38, 187, 255, .34);

    border-radius: 999px;

    background:
        rgba(38, 187, 255, .08);

    color: #62ceff;

    font-size: .68rem;
    font-weight: 900;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.mtg-pc-build-content h3 {
    margin:
        0
        0
        14px;

    font-size:
        clamp(
            1.55rem,
            2.7vw,
            2.35rem
        );

    line-height: 1.1;
}


.mtg-pc-build-content > p {
    margin:
        0
        0
        21px;

    color: #b2c0cc;

    line-height: 1.68;
}


.mtg-pc-build-topics {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;
}


.mtg-pc-build-topics span {
    padding:
        7px
        10px;

    border:
        1px solid
        rgba(124, 161, 190, .18);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, .025);

    color: #c5d1db;

    font-size: .72rem;
    font-weight: 750;
}


.mtg-pc-build-cta {
    align-self: flex-start;
}


.mtg-pc-build-note {
    margin:
        18px
        0
        0 !important;

    color:
        #7f92a3 !important;

    font-size: .72rem;

    line-height: 1.5 !important;
}


/*
------------------------------------------------------------
PC BUILD TABLET
------------------------------------------------------------
*/

@media (max-width: 950px) {

    .mtg-pc-build-card {
        grid-template-columns: 1fr;
    }


    .mtg-pc-build-media {
        aspect-ratio: 16 / 9;
    }


    .mtg-pc-build-media::after {
        background:
            linear-gradient(
                180deg,
                transparent 70%,
                rgba(7, 13, 20, .18)
            );
    }


    .mtg-pc-build-content {
        padding:
            28px
            26px
            29px;
    }

}


/*
------------------------------------------------------------
PC BUILD MOBILE
------------------------------------------------------------
*/

@media (max-width: 620px) {

    #byg-din-gaming-pc {
        margin-top: 46px;
    }


    .mtg-pc-build-card {
        border-radius: 18px;
    }


    .mtg-pc-build-content {
        padding:
            23px
            20px
            24px;
    }


    .mtg-pc-build-content h3 {
        font-size: 1.45rem;
    }


    .mtg-pc-build-topics {
        gap: 6px;
    }


    .mtg-pc-build-topics span {
        font-size: .68rem;
    }

}




/*
============================================================
MORTALIS PC BUILD ACTIVE TOPIC v1
============================================================
*/

.mtg-pc-build-topic-link {
    display: inline-flex;
    align-items: center;

    padding:
        7px
        10px;

    border:
        1px solid
        rgba(38, 187, 255, .42);

    border-radius: 8px;

    background:
        rgba(38, 187, 255, .10);

    color: #62ceff;

    font-size: .72rem;
    font-weight: 850;

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}


.mtg-pc-build-topic-link:hover,
.mtg-pc-build-topic-link:focus-visible {
    transform: translateY(-1px);

    border-color:
        rgba(38, 187, 255, .78);

    background:
        rgba(38, 187, 255, .17);

    color: #a3e5ff;

    outline: none;
}


@media (max-width: 620px) {

    .mtg-pc-build-topic-link {
        font-size: .68rem;
    }

}


/*
============================================================
MORTALIS PC BUILD LAYOUT FIX v1
============================================================
*/

/*
 * Kortet skal altid blive inde i content-containeren.
 */
#byg-din-gaming-pc,
#byg-din-gaming-pc * {
    box-sizing: border-box;
}


#byg-din-gaming-pc {
    width: 100%;
    max-width: 100%;

    overflow: hidden;
}


.mtg-pc-build-card {
    width: 100%;
    max-width: 100%;

    /*
     * Før var billedet for dominerende.
     * Nu får tekstområdet mere plads.
     */
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
}


/*
 * Vigtigt ved CSS Grid:
 * tillad begge kolonner at krympe.
 */
.mtg-pc-build-media,
.mtg-pc-build-content {
    min-width: 0;
}


.mtg-pc-build-media {
    width: 100%;
}


.mtg-pc-build-image {
    width: 100%;
    max-width: 100%;

    object-fit: cover;
}


/*
 * Højre kolonne.
 */
.mtg-pc-build-content {
    width: 100%;

    overflow: hidden;

    padding:
        32px
        30px
        30px;
}


.mtg-pc-build-content h3 {
    width: 100%;
    max-width: 100%;

    margin:
        0
        0
        14px;

    font-size:
        clamp(
            1.45rem,
            2.15vw,
            2.05rem
        );

    line-height: 1.14;

    overflow-wrap: anywhere;
    word-break: normal;
}


.mtg-pc-build-content > p {
    max-width: 100%;

    overflow-wrap: break-word;
}


/*
 * Topic-knapper skal blive inde i kolonnen.
 */
.mtg-pc-build-topics {
    width: 100%;
    max-width: 100%;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    overflow: visible;
}


.mtg-pc-build-topics span,
.mtg-pc-build-topic-link {
    flex:
        0
        0
        auto;

    max-width: 100%;

    white-space: nowrap;
}


/*
 * CTA må ikke presse kolonnen bredere.
 */
.mtg-pc-build-cta {
    max-width: 100%;

    white-space: normal;

    text-align: center;
}


/*
============================================================
MEDIUM DESKTOP / SMALL LAPTOP
============================================================
*/

@media (max-width: 1180px) {

    .mtg-pc-build-card {
        grid-template-columns:
            minmax(0, .92fr)
            minmax(0, 1.08fr);
    }


    .mtg-pc-build-content {
        padding:
            28px
            25px
            27px;
    }


    .mtg-pc-build-content h3 {
        font-size:
            clamp(
                1.4rem,
                2vw,
                1.85rem
            );
    }

}


/*
============================================================
TABLET
============================================================
*/

@media (max-width: 950px) {

    .mtg-pc-build-card {
        grid-template-columns: 1fr;
    }


    .mtg-pc-build-media {
        aspect-ratio: 16 / 9;
    }


    .mtg-pc-build-content {
        padding:
            27px
            25px
            28px;
    }

}


/*
============================================================
MOBILE
============================================================
*/

@media (max-width: 620px) {

    .mtg-pc-build-content {
        padding:
            22px
            18px
            23px;
    }


    .mtg-pc-build-content h3 {
        font-size: 1.4rem;
    }


    .mtg-pc-build-topics {
        gap: 7px;
    }

}
