/* AIおにぎり屋 v2.2 | layout-latest.css */
/* トップページ：新着記事（コンパクト版・既存カードには影響しない） */

#onigiri-home .ogl-latest {
    max-width: 1100px;
    margin: 24px auto 20px;
    color: #293c33;
}

#onigiri-home .ogl-latest, #onigiri-home .ogl-latest * {
    box-sizing: border-box;
}

#onigiri-home .ogl-latest__heading {
    margin-bottom: 12px;
}

#onigiri-home .ogl-latest__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    color: #468465;
}

#onigiri-home .ogl-latest__heading h2 {
    margin: 3px 0 5px;
    padding: 0;
    border: 0;
    background: none;
    color: #295d40;
    font-size: clamp(19px,2vw,24px);
    line-height: 1.4;
}

#onigiri-home .ogl-latest__heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

#onigiri-home .ogl-latest__card {
    display: grid;
    grid-template-columns: 148px minmax(0,1fr);
    align-items: center;
    gap: 18px;
    padding: 12px;
    min-height: 0;
    border: 1px solid #d8e7d6;
    border-radius: 14px;
    background: #fffdf7;
    box-shadow: 0 4px 16px rgba(30,60,40,.06);
    text-decoration: none !important;
    color: inherit !important;
}

#onigiri-home .ogl-latest__card:hover {
    box-shadow: 0 6px 18px rgba(30,60,40,.11);
}

#onigiri-home .ogl-latest__card:focus-visible {
    outline: 3px solid #448e65;
    outline-offset: 3px;
}

#onigiri-home .ogl-latest__illustration {
    width: 148px;
    height: 138px;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #e6f2e5;
}

#onigiri-home .ogl-latest__circles {
    position: relative;
    display: block;
    width: 98px;
    height: 78px;
}

#onigiri-home .ogl-latest__big {
    position: absolute;
    left: 7px;
    top: 4px;
    width: 67px;
    height: 67px;
    border: 4px solid #bb5655;
    background: #e77d75;
    border-radius: 50%;
}

#onigiri-home .ogl-latest__small {
    position: absolute;
    right: 5px;
    top: 16px;
    width: 28px;
    height: 28px;
    border: 3px solid #bb5655;
    background: #f1a39c;
    border-radius: 50%;
}

#onigiri-home .ogl-latest__plate {
    display: block;
    margin-top: 0;
    width: 110px;
    height: 16px;
    border: 3px solid #5c967b;
    background: #fffefb;
    border-radius: 50%;
}

#onigiri-home .ogl-latest__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 7px;
}

#onigiri-home .ogl-latest__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
}

#onigiri-home .ogl-latest__category {
    padding: 3px 9px;
    background: #e0eee3;
    color: #285c3c;
    border-radius: 20px;
    font-weight: 700;
}

#onigiri-home .ogl-latest__number {
    color: #63766a;
}

#onigiri-home .ogl-latest__title {
    color: #24583b;
    font-size: clamp(17px,1.8vw,20px);
    line-height: 1.4;
}

#onigiri-home .ogl-latest__desc {
    line-height: 1.5;
    font-size: 13px;
}

#onigiri-home .ogl-latest__link {
    font-weight: 700;
    color: #286c49;
    font-size: 13px;
}

#onigiri-home .ogl-latest + .onigiri-section {
    margin-top: 22px;
}

@media (max-width:600px) {
    #onigiri-home .ogl-latest {
        margin: 24px auto 18px;
    }

    #onigiri-home .ogl-latest__card {
        grid-template-columns: 96px minmax(0,1fr);
        gap: 11px;
        padding: 10px;
    }

    #onigiri-home .ogl-latest__illustration {
        width: 96px;
        height: 110px;
    }

    #onigiri-home .ogl-latest__circles {
        transform: scale(.75);
        margin-bottom: -12px;
    }

    #onigiri-home .ogl-latest__plate {
        width: 80px;
        height: 13px;
    }

    #onigiri-home .ogl-latest__heading h2 {
        font-size: 20px;
    }

    #onigiri-home .ogl-latest__desc {
        font-size: 12px;
    }
}
