.et_pb_section.et_pb_section.et_pb_section.et_pb_section.et_pb_section:has(.choe-bento-grid) {
    background-color: rgba(168,181,162,0.95) !important;
}

.choe-bento-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 90px;
    margin: 0 auto;
    width: 94%;
    max-width: 1840px;
}

.choe-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    background-color: #E9E3D8;
    isolation: isolate;
}
/* JS adds .choe-pre-reveal only when it can also guarantee the reveal
   (IntersectionObserver support + no reduced-motion). If JS never runs,
   cards keep the default, fully visible state above — fail-safe. */
.choe-card.choe-pre-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.choe-card.choe-pre-reveal.choe-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Organic detail: the anchor and wide closer break the grid's strict
   rectangularity with one softened, asymmetric corner each — used
   sparingly, not on every card. */
.choe-anchor { border-radius: 34px 34px 34px 10px; }
.choe-c6-shape { border-radius: 10px 34px 34px 34px; }

.choe-card-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.6s ease;
    filter: saturate(0.92) sepia(0.06) contrast(1.04);
}
.choe-card:hover .choe-card-photo { transform: scale(1.07); }
.choe-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(101, 115, 99, 0.14);
    mix-blend-mode: multiply;
}

.choe-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(20, 22, 18, 0.82) 100%);
}

.choe-card-tag {
    position: absolute;
    top: 16px;
    left: 18px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(244, 242, 236, 0.92);
    color: #252825;
    padding: 5px 12px;
    border-radius: 100px;
}

.choe-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 22px;
    color: #F4F2EC;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.choe-card-kicker {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F0D9BE;
    font-weight: 700;
}
.choe-card-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.28;
    text-wrap: balance;
}
.choe-card-meta {
    font-size: 11px;
    opacity: 0.85;
}

.choe-card-hover {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 12.5px;
    color: #F4F2EC;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.choe-card:hover .choe-card-hover,
.choe-card:focus-visible .choe-card-hover {
    opacity: 1;
    transform: translateY(0);
}
.choe-card:focus-visible {
    outline: 2px solid #A77D65;
    outline-offset: 3px;
}

/* Anchor box (slot 0 of every 7-box composition block): more visual weight */
.choe-anchor .choe-card-title { font-size: 26px; }

.choe-bento-empty {
    text-align: center;
    color: #5B5F58;
    padding: 60px 0;
}

.choe-bento-footer {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}
.choe-all-articles-btn {
    display: inline-block;
    font-size: 13.5px;
    letter-spacing: 0.04em;
    color: #252825;
    text-decoration: none;
    border: 1px solid rgba(37,40,37,0.22);
    padding: 13px 30px;
    border-radius: 100px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.choe-all-articles-btn:hover {
    background-color: #E9E3D8;
    border-color: rgba(37,40,37,0.35);
}

@media (max-width: 900px) {
    .choe-bento-grid {
        width: 92%;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 12px;
    }
    .choe-card {
        grid-column: 1 / 2 !important;
        grid-row: auto !important;
        height: 220px;
    }
    .choe-anchor { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
    .choe-card-photo, .choe-card-hover, .choe-all-articles-btn { transition: none; }
}
