/*
 * Marumitsu Care Service - Newpost Catch shortcode styling
 * Place at: /wp-content/themes/mcs/css/newpost-catch.css
 * In Newpost Catch settings, disable "Use default css" to load this file.
 */

ul#npcatch,
ul.npcatch {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

ul#npcatch > li,
ul.npcatch > li {
    display: block !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box;
}

ul#npcatch > li > a,
ul.npcatch > li > a {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

ul#npcatch > li > a > figure,
ul.npcatch > li > a > figure {
    display: block !important;
    flex: 0 0 60px !important;
    width: 60px !important;
    height: 60px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

ul#npcatch > li > a > figure img,
ul.npcatch > li > a > figure img {
    display: block !important;
    width: 60px !important;
    height: 60px !important;
    max-width: none !important;
    object-fit: cover;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
}

ul#npcatch > li > a > .detail,
ul.npcatch > li > a > .detail {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul#npcatch .detail .title,
ul.npcatch .detail .title {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

ul#npcatch .detail .date,
ul.npcatch .detail .date {
    display: block !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #888;
    font-size: 11px;
    line-height: 1.5;
}
