/* Base Styles - Default for all screen sizes */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.overlayCard::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%; /* Adjust this to control the shadow's vertical coverage */
    background: linear-gradient(0deg, rgba(0,0,0,.8), transparent 90%); /* Semi-transparent black background for the shadow effect */
    pointer-events: none; /* Prevents interfering with interactions */
    z-index: 1; /* Ensures it's above the image */
}

.cardImage {
    display: block;
    width: 100%; /* Ensures the image is responsive */
    z-index: 0; /* Ensure the image is behind the shadow and content */
}

.cardContent {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    row-gap: 10px;

    container-type: inline-size;
    container-name: cardContent;
    position: absolute;
    bottom: 18px; /* Adjust this value to position the text as needed */
    left: 18px;  /* Adjust this value for horizontal positioning */
    right: 18px; /* Adjust for horizontal padding if needed */
    color: white; /* Text color */
    /*font-size: 18px; /* Adjust text size */
    padding: 10px; /* Padding around the text */
    z-index: 2; /* Ensures text is above the image */
    box-sizing: border-box; /* Ensures padding is included in the element’s width/height */
    pointer-events: none; /* So that it doesn't interfere with clicks */
}

.cardTitle {
    text-shadow: 0 3px 10px rgba(0,0,0,.851);
    font-weight: 900;
    pointer-events: none; /* So that it doesn't interfere with clicks */
    bottom: 2px;
    position: relative;
}

.cardCategory {
    background-color: #1c66d9;
    border: 0;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .1em;
    padding: 5px;
    text-transform: uppercase;
    display: inline-block; /* Allow width to be determined by text */
    white-space: nowrap; /* Prevent text from wrapping to the next line */
    pointer-events: none; /* So that it doesn't interfere with clicks */
    
}

.matchCard {
    align-items: center;
    background-color: #fff;
    border: 1px solid #eeeeef;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.matchCard .matchContentCard{
    align-items: center;
    display: flex;
    flex-direction: row;
    color: black;
    font-weight: bold;
    column-gap: 13px;
}

.matchCard .articleMatchContentCard{
    font-size: 32px;
    justify-content: space-between;
}

.matchCard .matchContentCard .matchScoreText {
    color: #1c66d9 !important;
}

.matchCard .matchContentCard .matchTimeText {
    color: #ce1212 !important;
    text-align: center;
}

.matchCard .matchContentCard .gameStatusText {
    font-size: 67%;
}

.featured4 .matchCard {
    width: 100%;
}

.featured4 .matchCard .matchContentCard {
    width: 98%;
    justify-content: space-between;
}

/* Container query for min-width 650px */
@container cardContent (min-width: 650px) {
    .cardCategory {
        font-size: 12px;
    }
}

/* Container query for max-width 649px */
@container cardContent (max-width: 649px) {
    .cardCategory {
        font-size: 9px;
    }
}

/* Container query for min-width 650px */
@container overlayCard (min-width: 650px) {
    .cardContent {
        font-size: 1.8em;
    }
}

/* Container query for max-width 649px */
@container overlayCard (max-width: 649px) {
    .cardContent {
        font-size: 1.3em;
    }
}

.cardImage {
    object-fit: cover;
}

  
/* Extra Small Devices (Phones, <576px) */
@media (max-width: 575.98px) {
    /* Add styles for extra small devices here */

    .articleSectionTitleSeparator {
        margin-top: 40px;
    }

        /* Featured 4 (4 small) */

        .containerGrid.featured4 {
            grid-template:"a b c d";
            grid-gap: 10px !important;
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(4) {
            grid-area: a
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(4) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(3) {
            grid-area: b
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(3) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(2) {
            grid-area: c
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(2) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:last-child {
            grid-area: d
        }
    
        .containerGrid.featured4 .overlayCard:last-child .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard::before {
            background: none;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent {
            position: static;
            padding: 0;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent .cardCategory {
            background-color: transparent;
            color: #1c66d9;
            padding: 0px;
            margin-top: 17px;
            font-size: 10px;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent .cardTitle {
            color: black;
            text-shadow: none;
            font-weight: 800;
        }

        .containerGrid.featured4 .overlayCard {
            margin-bottom: 35px;
        }
    

    .matchCard .articleMatchContentCard{
        font-size: 18px;
    }

    .displayDesktop {
        display: none;
    }

    .matchCard .articleMatchContentCard{ 
        width: 100%;
    }

    .articleMatchCardTeamLogo {
        width: 40px;
    }

    .overlayCard {
        position: relative;
        container-type: inline-size;
        container-name: overlayCard;
        margin-bottom:10px;
    }

    .cardContent {
        bottom: 13px; /* Adjust this value to position the text as needed */
        left: 13px;  /* Adjust this value for horizontal positioning */
        right: 13px; /* Adjust for horizontal padding if needed */
    }

    .overlayCard .cardImage {
        height: 300px;
    }
    
}

/* Small Devices (Tablets, ≥576px and <768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Add styles for small devices here */

        /* Featured 4 (4 small) */

        .containerGrid.featured4 {
            grid-template:"a b c d";
            grid-gap: 10px !important;
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(4) {
            grid-area: a
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(4) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(3) {
            grid-area: b
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(3) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(2) {
            grid-area: c
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(2) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:last-child {
            grid-area: d
        }
    
        .containerGrid.featured4 .overlayCard:last-child .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard::before {
            background: none;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent {
            position: static;
            padding: 0;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent .cardCategory {
            background-color: transparent;
            color: #1c66d9;
            padding: 0px;
            margin-top: 17px;
            font-size: 10px;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent .cardTitle {
            color: black;
            text-shadow: none;
            font-weight: 800;
        }

        .containerGrid.featured4 .overlayCard {
            margin-bottom: 35px;
        }
    

    .displayDesktop {
        display: none;
    }

    .matchCard .articleMatchContentCard{ 
        width: 100%;
    }


    .articleMatchCardTeamLogo {
        width: 60px;
    }

    .overlayCard {
        position: relative;
        container-type: inline-size;
        container-name: overlayCard;
        margin-bottom:10px;
    }

    .cardImage {
        height: 300px;
    }
}

/* Medium Devices (Desktops, ≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Add styles for medium devices here */

        /* Featured 4 (4 small) */

        .containerGrid.featured4 {
            grid-template:"a b c d";
            grid-gap: 10px !important;
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(4) {
            grid-area: a
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(4) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(3) {
            grid-area: b
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(3) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(2) {
            grid-area: c
        }
    
        .containerGrid.featured4 .overlayCard:nth-last-child(2) .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard:last-child {
            grid-area: d
        }
    
        .containerGrid.featured4 .overlayCard:last-child .cardImage {
            height: 275px
        }
    
        .containerGrid.featured4 .overlayCard::before {
            background: none;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent {
            position: static;
            padding: 0;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent .cardCategory {
            background-color: transparent;
            color: #1c66d9;
            padding: 0px;
            margin-top: 17px;
            font-size: 10px;
        }
    
        .containerGrid.featured4 .overlayCard .cardContent .cardTitle {
            color: black;
            text-shadow: none;
            font-weight: 800;
        }

        .containerGrid.featured4 .overlayCard {
            margin-bottom: 35px;
        }
    

    .displayDesktop {
        display: none;
    }

    .matchCard .articleMatchContentCard{ 
        width: 100%;
    }

    .articleMatchCardTeamLogo {
        width: 60px;
    }

    .overlayCard {
        position: relative;
        container-type: inline-size;
        container-name: overlayCard;
        margin-bottom:10px;
    }
    
}

/* Large Devices (Desktops, ≥992px and <1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Add styles for large devices here */

    .displayDesktop {
        display: none;
    }

    .matchCard .articleMatchContentCard{ 
        width: 92%;
    }

    .articleMatchCardTeamLogo {
        width: 80px;
    }

    .overlayCard {
        position: relative;
        container-type: inline-size;
        container-name: overlayCard;
    }

    .containerGrid {
        display: grid;
        width: 100%;
        margin-bottom: 30px;
    }

    /* Featured 1 (1 main, 2 small) */

    .containerGrid.featured1 {
        grid-template:"a a b" "a a c";
        grid-gap: 10px !important;
    }

    .containerGrid.featured1 .overlayCard:nth-last-child(3) {
        grid-area: a
    }

    .containerGrid.featured1 .overlayCard:nth-last-child(3) .cardImage {
        height: 560px
    }

    .containerGrid.featured1 .overlayCard:nth-last-child(2) {
        grid-area: b
    }

    .containerGrid.featured1 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured1 .overlayCard:last-child {
        grid-area: c
    }

    .containerGrid.featured1 .overlayCard:last-child .cardImage {
        height: 275px
    }


    /* Featured 2 (2 main) */

    .containerGrid.featured2 {
        grid-template:"a b" "a b";
        grid-gap: 10px !important;
    }

    .containerGrid.featured2 .overlayCard:nth-last-child(2) {
        grid-area: a
    }

    .containerGrid.featured2 .overlayCard:nth-last-child(2) .cardImage {
        height: 560px
    }

    .containerGrid.featured2 .overlayCard:last-child {
        grid-area: b
    }

    .containerGrid.featured2 .overlayCard:last-child .cardImage {
        height: 560px
    }

    
    /* Featured 3 (1 main + 1 small) */

    .containerGrid.featured3 {
        grid-template:"a a b" "a a b";
        grid-gap: 10px !important;
    }

    .containerGrid.featured3 .overlayCard:nth-last-child(2) {
        grid-area: a
    }

    .containerGrid.featured3 .overlayCard:nth-last-child(2) .cardImage {
        height: 560px
    }

    .containerGrid.featured3 .overlayCard:last-child {
        grid-area: b
    }

    .containerGrid.featured3 .overlayCard:last-child .cardImage {
        height: 560px
    }


    /* Featured 4 (4 small) */

    .containerGrid.featured4 {
        grid-template:"a b c d";
        grid-gap: 10px !important;
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(4) {
        grid-area: a
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(4) .cardImage {
        height: 275px
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(3) {
        grid-area: b
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(3) .cardImage {
        height: 275px
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(2) {
        grid-area: c
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured4 .overlayCard:last-child {
        grid-area: d
    }

    .containerGrid.featured4 .overlayCard:last-child .cardImage {
        height: 275px
    }

    .containerGrid.featured4 .overlayCard::before {
        background: none;
    }

    .containerGrid.featured4 .overlayCard .cardContent {
        position: static;
        padding: 0;
    }

    .containerGrid.featured4 .overlayCard .cardContent .cardCategory {
        background-color: transparent;
        color: #1c66d9;
        padding: 0px;
        margin-top: 17px;
        font-size: 10px;
    }

    .containerGrid.featured4 .overlayCard .cardContent .cardTitle {
        color: black;
        text-shadow: none;
        font-weight: 800;
    }

    .containerGrid.featured4 .overlayCard .cardContent .matchCard .matchContentCard {
        font-size: 15px;
        column-gap: 8px;
    }

    .containerGrid.featured4 .overlayCard .cardContent .matchCard .matchContentCard .teamLogoMatchCard {
        width: 32px;
    }


    /* Featured 5 (3 small) */

    .containerGrid.featured5 {
        grid-template:"a b c";
        grid-gap: 10px !important;
    }

    .containerGrid.featured5 .overlayCard:nth-last-child(3) {
        grid-area: a
    }

    .containerGrid.featured5 .overlayCard:nth-last-child(3) .cardImage {
        height: 275px
    }

    .containerGrid.featured5 .overlayCard:nth-last-child(2) {
        grid-area: b
    }

    .containerGrid.featured5 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured5 .overlayCard:last-child {
        grid-area: c
    }

    .containerGrid.featured5 .overlayCard:last-child .cardImage {
        height: 275px
    }


    /* Featured 6 (5 small) */

    .containerGrid.featured6 {
        grid-template:"a b c" "a d e";
        grid-gap: 10px !important;
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(5) {
        grid-area: a
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(5) .cardImage {
        height: 560px
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(4) {
        grid-area: b
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(4) .cardImage {
        height: 275px
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(3) {
        grid-area: c
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(3) .cardImage {
        height: 275px
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(2) {
        grid-area: d
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured6 .overlayCard:last-child {
        grid-area: e
    }

    .containerGrid.featured6 .overlayCard:last-child .cardImage {
        height: 275px
    }


    /* Featured 7 (6 small) */

    .containerGrid.featured7 {
        grid-template:"a b c" "d e f";
        grid-gap: 10px !important;
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(6) {
        grid-area: a
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(6) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(5) {
        grid-area: b
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(5) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(4) {
        grid-area: c
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(4) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(3) {
        grid-area: d
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(3) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(2) {
        grid-area: e
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:last-child {
        grid-area: f
    }

    .containerGrid.featured7 .overlayCard:last-child .cardImage {
        height: 275px
    }
}

/* Extra Large Devices (Large Desktops, ≥1200px) */
@media (min-width: 1200px) {
    /* Add styles for extra large devices here */

    .containerGrid.featured4 .overlayCard .cardContent .matchCard .matchContentCard .articleMatchCardTeamLogo {
        width: 32px;
    }


    .displayPhone {
        display: none;
    }

    .matchCard .articleMatchContentCard{ 
        width: 95%;
    }

    .articleMatchCardTeamLogo {
        width: 80px;
    }

    .overlayCard {
        position: relative;
        container-type: inline-size;
        container-name: overlayCard;
    }

    .containerGrid {
        display: grid;
        width: 100%;
        margin-bottom: 30px;
    }

    /* Featured 1 (1 main, 2 small) */

    .containerGrid.featured1 {
        grid-template:"a a b" "a a c";
        grid-gap: 10px !important;
    }

    .containerGrid.featured1 .overlayCard:nth-last-child(3) {
        grid-area: a
    }

    .containerGrid.featured1 .overlayCard:nth-last-child(3) .cardImage {
        height: 560px
    }

    .containerGrid.featured1 .overlayCard:nth-last-child(2) {
        grid-area: b
    }

    .containerGrid.featured1 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured1 .overlayCard:last-child {
        grid-area: c
    }

    .containerGrid.featured1 .overlayCard:last-child .cardImage {
        height: 275px
    }


    /* Featured 2 (2 main) */

    .containerGrid.featured2 {
        grid-template:"a b" "a b";
        grid-gap: 10px !important;
    }

    .containerGrid.featured2 .overlayCard:nth-last-child(2) {
        grid-area: a
    }

    .containerGrid.featured2 .overlayCard:nth-last-child(2) .cardImage {
        height: 560px
    }

    .containerGrid.featured2 .overlayCard:last-child {
        grid-area: b
    }

    .containerGrid.featured2 .overlayCard:last-child .cardImage {
        height: 560px
    }

    
    /* Featured 3 (1 main + 1 small) */

    .containerGrid.featured3 {
        grid-template:"a a b" "a a b";
        grid-gap: 10px !important;
    }

    .containerGrid.featured3 .overlayCard:nth-last-child(2) {
        grid-area: a
    }

    .containerGrid.featured3 .overlayCard:nth-last-child(2) .cardImage {
        height: 560px
    }

    .containerGrid.featured3 .overlayCard:last-child {
        grid-area: b
    }

    .containerGrid.featured3 .overlayCard:last-child .cardImage {
        height: 560px
    }


    /* Featured 4 (4 small) */

    .containerGrid.featured4 {
        grid-template:"a b c d";
        grid-gap: 10px !important;
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(4) {
        grid-area: a
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(4) .cardImage {
        height: 275px
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(3) {
        grid-area: b
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(3) .cardImage {
        height: 275px
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(2) {
        grid-area: c
    }

    .containerGrid.featured4 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured4 .overlayCard:last-child {
        grid-area: d
    }

    .containerGrid.featured4 .overlayCard:last-child .cardImage {
        height: 275px
    }

    .containerGrid.featured4 .overlayCard::before {
        background: none;
    }

    .containerGrid.featured4 .overlayCard .cardContent {
        position: static;
        padding: 0;
    }

    .containerGrid.featured4 .overlayCard .cardContent .cardCategory {
        background-color: transparent;
        color: #1c66d9;
        padding: 0px;
        margin-top: 17px;
        font-size: 10px;
    }

    .containerGrid.featured4 .overlayCard .cardContent .cardTitle {
        color: black;
        text-shadow: none;
        font-weight: 800;
    }


    /* Featured 5 (3 small) */

    .containerGrid.featured5 {
        grid-template:"a b c";
        grid-gap: 10px !important;
    }

    .containerGrid.featured5 .overlayCard:nth-last-child(3) {
        grid-area: a
    }

    .containerGrid.featured5 .overlayCard:nth-last-child(3) .cardImage {
        height: 275px
    }

    .containerGrid.featured5 .overlayCard:nth-last-child(2) {
        grid-area: b
    }

    .containerGrid.featured5 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured5 .overlayCard:last-child {
        grid-area: c
    }

    .containerGrid.featured5 .overlayCard:last-child .cardImage {
        height: 275px
    }


    /* Featured 6 (1 main + 4 small) */

    .containerGrid.featured6 {
        grid-template:"a b c" "a d e";
        grid-gap: 10px !important;
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(5) {
        grid-area: a
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(5) .cardImage {
        height: 560px
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(4) {
        grid-area: b
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(4) .cardImage {
        height: 275px
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(3) {
        grid-area: c
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(3) .cardImage {
        height: 275px
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(2) {
        grid-area: d
    }

    .containerGrid.featured6 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured6 .overlayCard:last-child {
        grid-area: e
    }

    .containerGrid.featured6 .overlayCard:last-child .cardImage {
        height: 275px
    }


    /* Featured 7 (6 small) */

    .containerGrid.featured7 {
        grid-template:"a b c" "d e f";
        grid-gap: 10px !important;
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(6) {
        grid-area: a
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(6) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(5) {
        grid-area: b
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(5) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(4) {
        grid-area: c
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(4) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(3) {
        grid-area: d
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(3) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(2) {
        grid-area: e
    }

    .containerGrid.featured7 .overlayCard:nth-last-child(2) .cardImage {
        height: 275px
    }

    .containerGrid.featured7 .overlayCard:last-child {
        grid-area: f
    }

    .containerGrid.featured7 .overlayCard:last-child .cardImage {
        height: 275px
    }
    

}
