.lemelson-featured-invention-notebook {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 25px;
    grid-template-rows: repeat(2, minmax(250px, 1fr));
    margin-top: 60px;
}
.lemelson-featured-invention-notebook .featured-post:nth-of-type(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}
.lemelson-featured-invention-notebook .featured-post:nth-of-type(2) {
    grid-column: 3 / span 2;
    grid-row: 1;
}
.lemelson-featured-invention-notebook .featured-post a {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    position: relative;
}
.lemelson-featured-invention-notebook .featured-post a figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.lemelson-featured-invention-notebook .featured-post a figure::after {
    position: absolute;
    content: "";
    height: 65%;
    width: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top, #00000088,#00000000);
}
.lemelson-featured-invention-notebook .featured-post a figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lemelson-featured-invention-notebook .featured-post a .featured-post-content {
    position: relative;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 30% 30px 30px;
}
.lemelson-featured-invention-notebook .featured-post a .featured-post-content h6 {
    color: white;
    font-size: 26px;
}
.lemelson-featured-invention-notebook .featured-post:nth-of-type(1) a .featured-post-content h6, .lemelson-featured-invention-notebook .featured-post:nth-of-type(2) a .featured-post-content h6 {
    font-size: 36px;
}
.lemelson-featured-invention-notebook .featured-post:nth-of-type(1) a .featured-post-excerpt, .lemelson-featured-invention-notebook .featured-post:nth-of-type(2) a .featured-post-excerpt {
    color: white;
    font-size: 24px;
}

@media screen and (max-width: 1100px) {
.lemelson-featured-invention-notebook .featured-post:nth-of-type(1) a .featured-post-content h6, .lemelson-featured-invention-notebook .featured-post:nth-of-type(2) a .featured-post-content h6 {
    font-size: 24px;
}
    .lemelson-featured-invention-notebook .featured-post:nth-of-type(1) a .featured-post-excerpt, .lemelson-featured-invention-notebook .featured-post:nth-of-type(2) a .featured-post-excerpt{
        font-size: 18px;
    }
    .lemelson-featured-invention-notebook .featured-post a .featured-post-content h6 {
        font-size: 18px;
    }
}
@media screen and (max-width: 800px) {
    .lemelson-featured-invention-notebook {
        margin-top: 40px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, minmax(200px, 1fr));
    }
    .lemelson-featured-invention-notebook .featured-post:nth-of-type(1) {
        grid-column: 1 / span 2;
        grid-row: 1;
    }
    .lemelson-featured-invention-notebook .featured-post:nth-of-type(2) {
        grid-column: 1 / span 2;
        grid-row: 2;
    }
}
@media screen and (max-width: 500px) {
    .lemelson-featured-invention-notebook {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, minmax(150px, 1fr));
    }
    .lemelson-featured-invention-notebook .featured-post {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    .lemelson-featured-invention-notebook .featured-post:nth-of-type(1) a .featured-post-content h6, .lemelson-featured-invention-notebook .featured-post:nth-of-type(2) a .featured-post-content h6 {
        font-size: 18px;
    }
    .lemelson-featured-invention-notebook .featured-post:nth-of-type(1) a .featured-post-excerpt, .lemelson-featured-invention-notebook .featured-post:nth-of-type(2) a .featured-post-excerpt {
        display: none;
    }
}
