/* PRCD_CATEGORY_DESIGN_V1 — рубрики ПроРецепт, отдельно от главной */
body.category #main.prcd-archive {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 64px;
    background: #fcfcfa;
}
.prcd-hero {
    position: relative;
    min-height: 235px;
    display: flex;
    align-items: center;
    background: #233a2d;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.prcd-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.prcd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 30, 20, .86), rgba(16, 33, 25, .66) 65%, rgba(16, 33, 25, .38));
    z-index: -1;
}
.prcd-hero-content {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0;
}
.prcd-breadcrumb { font-size: 13px; color: #e0eade; margin-bottom: 15px; }
.prcd-breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.prcd-breadcrumb span { margin-left: 5px; }
.prcd-hero h1 {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.18;
    margin: 0 0 12px;
    font-weight: 800;
}
.prcd-description {
    max-width: 780px;
    margin: 0;
    font-size: clamp(14px, 1.35vw, 17px);
    line-height: 1.6;
    color: #f4f6ed;
}
.prcd-container { max-width: 1160px; margin: 0 auto; padding: 34px 20px 0; }
.prcd-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 22px;
}
.prcd-section-heading h2 { font-size: 24px; line-height: 1.3; margin: 0 0 5px; color: #243c2d; }
.prcd-section-heading p { margin: 0; color: #708173; font-size: 14px; }
.prcd-back { white-space: nowrap; font-size: 14px; color: #356948; font-weight: 700; text-decoration: none; }
.prcd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.prcd-card { min-width: 0; background: #fff; border: 1px solid #e5ebe3; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(29, 50, 30, .05); transition: transform .2s, box-shadow .2s; }
.prcd-card:hover { transform: translateY(-3px); box-shadow: 0 9px 24px rgba(29, 50, 30, .12); }
.prcd-card-link { display: block; height: 100%; text-decoration: none !important; color: #273d2d !important; }
.prcd-card-media { display: flex; aspect-ratio: 4 / 3; background: #eaf1e9; align-items: center; justify-content: center; overflow: hidden; }
.prcd-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.prcd-card:hover .prcd-card-media img { transform: scale(1.035); }
.prcd-card-placeholder { font-size: 42px; }
.prcd-card-body { display: block; padding: 13px 14px 16px; }
.prcd-card-title { display: block; font-size: 16px; font-weight: 750; line-height: 1.4; }
.prcd-card-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 12px; color: #697d6d; margin-top: 10px; }
.prcd-empty { text-align: center; padding: 40px 18px 45px; border: 1px dashed #b7cbbd; background: #f6f9f4; border-radius: 16px; }
.prcd-empty-icon { display: block; font-size: 38px; margin-bottom: 7px; }
.prcd-empty h3 { margin: 0 0 10px; font-size: 22px; color: #2c4935; }
.prcd-empty p { max-width: 530px; margin: 0 auto 19px; color: #617766; line-height: 1.6; }
.prcd-empty a { display: inline-block; border-radius: 9px; padding: 10px 18px; background: #326747; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; }
.prcd-pagination { margin: 33px 0 0; }
.prcd-pagination ul { display: flex; list-style: none; flex-wrap: wrap; gap: 9px; justify-content: center; padding: 0; margin: 0; }
.prcd-pagination a, .prcd-pagination span { display: block; border: 1px solid #d5dfd6; border-radius: 8px; padding: 8px 12px; text-decoration: none; }
.prcd-pagination .current { background: #326747; color: #fff; }
@media (max-width: 900px) {
    .prcd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 640px) {
    .prcd-hero { min-height: 210px; }
    .prcd-hero-content { width: calc(100% - 32px); padding: 28px 0; }
    .prcd-hero::before { background: rgba(13, 30, 20, .72); }
    .prcd-container { padding: 24px 14px 0; }
    .prcd-section-heading { align-items: start; }
    .prcd-section-heading h2 { font-size: 20px; }
    .prcd-section-heading p { font-size: 12px; }
    .prcd-back { font-size: 12px; }
    .prcd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .prcd-card-title { font-size: 14px; }
    .prcd-card-body { padding: 11px 10px 13px; }
    .prcd-card-meta { font-size: 11px; gap: 5px 8px; }
    .prcd-empty { padding: 30px 16px; }
    .prcd-empty h3 { font-size: 18px; }
}

/* PRCD_HERO_SMALL_IMAGE_FIX_V1 */
.prcd-hero {
    background: linear-gradient(135deg, #21382b 0%, #2f4c3a 55%, #496756 100%);
}

.prcd-hero-photo {
    filter: none !important;
    transform: none !important;
    image-rendering: auto;
}

.prcd-hero::before {
    background: rgba(13, 30, 20, .58) !important;
}

/* PRCD_COMPACT_EMPTY_V1 */

/* Уменьшаем расстояние после баннера */
.prcd-container {
    padding-top: 20px;
}

/* Компактный блок пустой категории */
.prcd-empty {
    padding: 18px 16px 20px;
    border-radius: 12px;
}

.prcd-empty-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.prcd-empty h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 6px;
}

.prcd-empty p {
    max-width: 460px;
    font-size: 13px;
    line-height: 1.45;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .prcd-container {
        padding-top: 16px;
    }

    .prcd-empty {
        padding: 18px 12px;
    }

    .prcd-empty h3 {
        font-size: 16px;
    }
}
