﻿#ListingNewsIndex_wrapper {
    float: left;
    width: 100%;
}

#ListingNewsIndex_wrapper p {
    padding: 0;
    margin: 0;
}

#ListingNewsIndex_wrapper .sys_itemslist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

#ListingNewsIndex_wrapper .sys_subitem .news__newsitem-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    min-height: 44px;
    background-color: #fa9370;
    border: 1px solid #f5dadf;
    color: #000;
    align-content: center;
}

#ListingNewsIndex_wrapper .sys_subitem .news__newsitem-container:hover {
    background-color: #f5dadf;
    color: black;
    border: 1px solid #fa9370;
}

#ListingNewsIndex_wrapper .news__image-container {
    display: flex;
    align-items: center;
    max-height: 150px;
    overflow: hidden;
    position:  relative;
}

#ListingNewsIndex_wrapper .news__image-container > img {
    width: 100%;
    height: auto;
}

#ListingNewsIndex_wrapper .news__metadata {
    padding: 1rem;
}

/* RESPONSIVE STYLES
=========================================== */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    #ListingNewsIndex_wrapper .sys_itemslist {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #ListingNewsIndex_wrapper .sys_itemslist {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}

/* Override animated elements using motion */
@media (prefers-reduced-motion: reduce) {}