/* ── Outer wrapper ── */
.rc-block {
    margin-bottom: 0;
    padding-top: 130px;
}

/* ── Decorative borders ── */
.rc-border {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px;
    background: #fff;

    @media (max-width: 700px) {
        flex-direction: column;
    }
}

.rc-border-top {
    padding-top: 16px;
    padding-bottom: 0;
}

.rc-border-bottom {
    padding-top: 0;
    padding-bottom: 16px;
}

.rc-border-img {
    flex: 0 0 auto;
    max-height: 30px;
    object-fit: none;
    object-position: center;

    @media (max-width: 950px) {
        object-fit: contain;
        max-height: 24px;
    }

    @media (max-width: 850px) {
        object-fit: contain;
        max-height: 16px;
    }

    @media (max-width: 700px) {
        object-fit: contain;
    }
}

.rc-border-img-flipped {
    transform: scaleX(-1);
}

.rc-title {
    white-space: nowrap;
    font-family: 'Gelo', Arial, sans-serif;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: #b0001f;
    margin: 0;
    padding: 0 16px;

    @media (max-width: 400px) {
        font-size: 20px;
    }
}

/* ── Body: three-zone layout ── */
.rc-body {
    font-size: 0;
}

/* ── Pattern bands ── */
.rc-pattern-band {
    width: 100%;
    line-height: 0;
    display: block;
    margin: 0;
    padding: 0;
}

.rc-pattern-band img {
    width: 100%;
    display: block;
    object-fit: fill;
    margin: 0;
    padding: 0;
}

.rc-pattern-band-bottom {
    margin-top: -2px !important;
    padding-top: 0px;
    background-image: url("../../inc/assets/img/product-pattern-bottom.png");
    background-repeat: repeat-x;
    background-size: auto 80px;
    background-position: top center;
    height: 80px;
    margin-bottom: 40px;
}
.rc-pattern-band-top {
    margin-bottom: -2px !important;
    padding-top: 0px;
    background-image: url("../../inc/assets/img/product-pattern-top.png");
    background-repeat: repeat-x;
    background-size: auto 80px;
    background-position: top center;
    height: 80px;
    margin-top: 40px;
}

/* ── Gray recipe grid zone ── */
.rc-grid {
    background-color: #eeebea;
    padding: 48px 20px;
    box-sizing: border-box;
    font-size: 16px;
    margin: 0;
}

.rc-grid-inner {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    align-items: start;
    gap: 40px 32px;
    max-width: 960px;
    margin: 0 auto;
}

/* ── Recipe card ── */
.rc-card {
    width: 360px;

    @media (max-width: 400px) {
        width: 280px;
    }
}

.rc-card:hover .rc-card-title {
    color: #b0001f;
}

.rc-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.rc-card-link:hover {
    opacity: 0.85;
    text-decoration: none !important;
}

.rc-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 12px;
}

.rc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.rc-card-link:hover .rc-img-wrap img {
    transform: scale(1.03);
}

.rc-card-body {
    padding: 0 4px;
}

.rc-card-title {
    font-size: 20px;
    font-weight: 800;
    font-family: 'Gelo', Arial, sans-serif;
    color: #108140;
    text-transform: uppercase;
    margin: 0 0 4px;
    line-height: 1.3;
    text-align: center;
}

.rc-card-brand {
    font-size: 12px;
    color: #888;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .rc-grid-inner {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width: 800px) {
    .rc-grid-inner {
        grid-template-columns: repeat(1, auto);
    }

    /* .rc-card {
        width: 150px;
    }

    .rc-title {
        font-size: 16px;
    } */
}
