/*
====================================
Mamalabo Plus
ママらぼ専用カスタムCSS
Ver.1.1
====================================
*/

.p-postList__thumb {
    position: relative;
}

.mamalabo-read-badge {

    position: absolute;
    top: 10px;
    left: 10px;

    display: inline-flex;
    align-items: center;
    gap: 4px;

    background: rgba(115, 198, 154, 0.9);

    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    padding: 6px 10px;

    border-radius: 999px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow: 0 2px 8px rgba(0,0,0,.15);

    pointer-events: none;
    z-index: 10;

    transition: opacity .25s ease,
                transform .25s ease;

    opacity: 0.92;

} 

.mamalabo-read-badge {
    animation: badgeFade .35s ease;
}

@keyframes badgeFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: .92;
        transform: translateY(0);
    }
}


/* ==========================
読了済みの記事を少し暗くする
========================== */

.mamalabo-read .c-postThumb__figure {
    opacity: 0.75;
    filter: grayscale(12%);
    transition: all .25s ease;
}

.mamalabo-read:hover .c-postThumb__figure {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================
読了時間
========================== */

.mamalabo-reading-time{

    display:inline-flex;

    align-items:center;

    margin-left:14px;

    color:#7a7a7a;

    font-size:13px;

    font-weight:600;

}

.mamalabo-reading-time {
    margin-left: 10px;
    color: #888;
    font-size: 0.9em;
}

/* ====================================
記事読了プログレスバー
==================================== */

#mamalabo-progress {

    position: fixed;

    top: 0;
    left: 0;

    width: 0%;
    height: 4px;

    background: #73C69A;

    z-index: 99999;

    transition: width .08s linear;

}