﻿#BlogGrid_List .sys_itemslist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

#BlogGrid_List .sys_itemslist a {
    border: none;
}

#BlogGrid_List .sys_itemslist .sys_subitem > div {
    display: flex;
    flex-direction: column;
    border-bottom: none;
    border-radius: 7px;
    border: 1px solid #e3dede !important;
    background-color: #FFF;
    transition: background-color 0.3s ease-in-out;
}

#BlogGrid_List .sys_itemslist .sys_subitem > div > .sys_thumbnail {
    display: flex;
    max-height: 150px;
    align-items: center;
}

#BlogGrid_List .sys_itemslist .sys_subitem > div > .sys_thumbnail > a {
    width: 100%;
    height: 100%;
    border-radius: 7px 7px 0 0;
    overflow: hidden;
}

#BlogGrid_List .sys_itemslist .sys_subitem > div > .sys_thumbnail > a > img {
    object-fit: cover;
    width: 100%;
    max-height: 150px;
}

#BlogGrid_List .sys_itemslist .sys_subitem > div > h3 {
    margin: 0;
}

#BlogGrid_List .sys_itemslist .sys_subitem > div > h3 > a {
    font-weight: 500;
    padding: 20px 10px;
    display: block;
    border-radius: 0 0 7px 7px;
}

#BlogGrid_List .sys_itemslist .sys_subitem > div > h3 > a:hover {
    color: #01485B;
}

#BlogGrid_List .sys_itemslist .sys_subitem > div:has(> .sys_thumbnail > a:hover),
#BlogGrid_List .sys_itemslist .sys_subitem > div:has(> h3 > a:hover),
#BlogGrid_List .sys_itemslist .sys_subitem > div:has(> .sys_thumbnail > a:focus-visible),
#BlogGrid_List .sys_itemslist .sys_subitem > div:has(> h3 > a:focus-visible) {
    background-color: #E1EFFD;
}

/* 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) {
    #BlogGrid_List .sys_itemslist {
        grid-template-columns: 1fr 1fr;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #BlogGrid_List .sys_itemslist {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1312px) {}