.lemelson-news-scroller {
}
.lemelson-news-scroller .panel {
    padding: 60px 0;
}
.lemelson-news-scroller .panel .features {
    padding: 0 60px;
    display: grid;
    grid-template-columns: 25px auto 25px;
    grid-template-rows: 70px auto;
    margin: 0 auto !important;
}
.lemelson-news-title.wp-block-heading {
    grid-row: 1;
    grid-column: 2;
    width: 100%;
    color: #363635;
}
.lemelson-news-scroller .panel[data-featured="0"] #featured-article-1,
.lemelson-news-scroller .panel[data-featured="1"] #featured-article-0 {
    opacity: 0;
    order: 0;
    pointer-events: none;
}
.lemelson-news-scroller .featured-article {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-height: 100%;
    width: 100%;
    height: 100%;
    transition: opacity 200ms ease-in-out;
}
.lemelson-news-scroller .featured-article a {
    display: grid;
    grid-template-columns: 390fr 32px 360fr 15fr;
    position: relative;
    order: 5;
    height: 100%;
}
.lemelson-news-scroller .featured-article .news-feature-photo {
    grid-column: 3 / 5;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 3 / 2;
}
.lemelson-news-scroller .featured-article .news-feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lemelson-news-scroller .featured-article .news-titles-container {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    padding-top: 60px;
    flex-direction: column;
    justify-content: flex-start;
}
.lemelson-news-scroller .featured-article .news-titles-container h3 {
    line-height: 1.4;
    font-weight: 300;
    margin-left: 0 !important;
    margin-bottom: 10px !important;
    width: 100%;
}
.lemelson-news-scroller .featured-article .news-titles-container h4 {
    color: #363635;
    font-size: 20px;
    font-weight: 300;
    margin: 0 !important;
}
.lemelson-news-scroller .news-scroller {
    padding: 0 60px;
}
.lemelson-news-scroller .news-query-container {
    background-color: var(--lemelson-catskill-white);
    border-radius: 10px;
    border: var(--lemelson-casper) solid 2px;
    padding: 10px 45px 25px;
    width: 100%;
}
.lemelson-news-scroller .news-query-container .wp-block-post-template {
   /* gap: 8px;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(8, 1fr);*/
}
.lemelson-news-scroller .news-query-container .wp-block-post-template li {
    position: relative;
}
.lemelson-news-scroller .news-query-container .wp-block-post-template li figure {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: 100%;
    border: 8px solid transparent;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-transition: border 200ms ease-in-out;
    -moz-transition: border 200ms ease-in-out;
    -ms-transition: border 200ms ease-in-out;
    -o-transition: border 200ms ease-in-out;
    transition: border 200ms ease-in-out;
}
.lemelson-news-scroller .news-query-container .wp-block-post-template li.selected-article figure {
    position: relative;
    z-index: 2;
    border: 8px solid var(--lemelson-blue-50);;
}
.lemelson-news-scroller .news-query-container .wp-block-post-template li.selected-article figure img {
    border: 2px solid black;
}
.lemelson-news-scroller .news-query-container .wp-block-post-template li:hover figure {
    border: 8px solid var(--lemelson-blue-50);;
}
.lemelson-news-scroller .news-query-container .wp-block-post-template li figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lemelson-news-scroller .news-query-container-head {
    margin: 0 30px !important;
    position: relative;
}
.lemelson-news-scroller .news-query-container-head::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--lemelson-casper);
    top: 43%;
    left: 0;
}
.lemelson-news-scroller .news-query-container-head p {
    position: relative;
    color: var(--lemelson-gray);
    text-align: center;
    font-family: "Gotham", sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
    padding: 0 15px;
    margin-bottom: 0;
    background-color: var(--lemelson-catskill-white);
}
.lemelson-news-scroller .news-query-container .wp-block-post-template li .wp-block-post-title,
.lemelson-news-scroller .news-query-container .wp-block-post-template li .wp-block-post-excerpt {
    display: none;
}
.lemelson-news-scroller .lemelson-news-title-highlight {
    font-size: 20px;
    font-weight: 300;
    grid-column: 2;
    grid-row: 5;
    margin-top: 10px;
    color: var(--lemelson-blue);
    text-align: center;
}
.lemelson-news-scroller .news-titles-container button {
        font-family: "Oswald", "Helvetica", "Arial", sans-serif !important;
        font-weight: 400 !important;
        background-color: #6e2159 !important;
        border: #6e2159 solid 1px !important;
        color: white !important;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 22px !important;
        border-radius: 0;
        padding: 6px 25px 6px !important;
        min-width: 240px !important;
        height: 45px !important;
        transition: background-color 200ms ease-in-out, border 200ms ease-in-out !important;
    margin-left: 0 !important;
    margin-top: 30px;
}
.lemelson-news-scroller a:hover .news-titles-container button {
    background-color: #aa0000 !important;
}
.lemelson-news-scroller .owl-stage-outer {
    z-index: 4;
}
.lemelson-news-scroller .owl-item {
    cursor: pointer;
}
.lemelson-news-scroller .owl-nav {
    position: absolute;
    top: 50%;
    transform: translate(-20px, -50%);
    width: calc(100% + 40px);
    display: flex;
    justify-content: space-between;
    z-index: 2;
}
.lemelson-news-scroller .panel .news-scroller {
    padding-top: 30px;
}
@media screen and (max-width: 1400px) {
    .lemelson-news-scroller {
    }
    .lemelson-news-scroller .panel:not(.alignfull) {
        padding: 25px 40px;
        grid-template-rows: 70px auto 40px auto;
    }
    .lemelson-news-scroller .featured-article .news-titles-container h2 {
        font-size: 26px;
    }
    .lemelson-news-scroller .featured-article .news-titles-container h4 {
        font-size: 16px;
    }
    .lemelson-news-scroller .news-titles-container button {
        font-size: 15px !important;
        height: 30px !important;;
        min-width: 160px !important;;
        padding: 6px 16px 4px !important;;
    }
    .lemelson-news-scroller .panel .news-scroller {
        padding: 25px 0 0;
    }
}
@media screen and (max-width: 1100px) {
    .lemelson-news-scroller .panel:not(.alignfull) {
        grid-template-rows: 60px auto 40px auto;
    }
    .lemelson-news-scroller .featured-article {
        grid-row: 2;
    }
    .lemelson-news-scroller .featured-article .news-titles-container {
        padding-top: 10px;
    }
    .lemelson-news-scroller .featured-article a {
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width: 980px) {
    .lemelson-news-scroller .panel {
        margin: 0 !important;
    }
}
@media screen and (max-width: 900px) {
    .lemelson-news-scroller .panel:not(.alignfull) {
        grid-template-rows: 50px auto 40px auto;
    }
    .lemelson-news-scroller .featured-article {
        grid-row: 2;
    }
}
@media screen and (max-width: 800px) {

    .lemelson-news-scroller .panel:not(.alignfull) {
        grid-template-columns: 0 auto 0;
    }
    .lemelson-news-title.wp-block-heading, .lemelson-news-scroller .featured-article {
        grid-column: 1 / span 3;
    }
}
@media screen and (max-width: 700px) {
    .lemelson-news-scroller .panel:not(.alignfull) {
        grid-template-rows: 70px auto 30px auto 40px;
    }
    .lemelson-news-scroller .featured-article {
        grid-template-columns: 100%;
    }
    .lemelson-news-scroller .featured-article .news-titles-container {
        padding-top: 10px;
        grid-row: 2;
        grid-column: 1;
    }
    .lemelson-news-scroller .featured-article .news-feature-photo {
        height: auto;
        aspect-ratio: 3 / 2;
        max-width: 100%;
    }
    .lemelson-news-scroller .panel .features {
        padding: 0;
    }
}
@media screen and (max-width: 600px) {
    .lemelson-news-scroller .panel[data-featured="0"] #featured-article-1,
    .lemelson-news-scroller .panel[data-featured="1"] #featured-article-0 {
        display: none;
        opacity: 0;
        order: 0;
        pointer-events: none;
    }
    .lemelson-news-scroller .panel:not(.alignfull) {
        padding: 25px 0;
    }
}
