/* Только статья специи: не меняет рецепты, главную и общие блоки вне неё. */
.spice_article .spice_article_intro
{
    padding-block: clamp(1.25rem, 2.5vw, 2rem);
    /* Явное исключение для intro: едва заметный тёплый переход по просьбе владельца. */
    background: linear-gradient(110deg, #fbfaf8 0%, #f8f5ef 100%);
}
.spice_article .spice_article_meta
{
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--site_border, #e4dfd7);
    line-height: 1.7;
}
.spice_article .spice_article_body h2
{
    padding-left: 1rem;
    border-left: 3px solid #b17a36;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    line-height: 1.4;
}
.spice_article .spice_article_body h3
{
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}
.spice_article .spice_article_body h4
{
    font-size: clamp(1.08rem, 1.8vw, 1.22rem);
}
.spice_article .spice_article_body [id]
{
    scroll-margin-top: 1.5rem;
}
.spice_article .spice_photo_link
{
    cursor: zoom-in;
}
.spice_article .spice_related
{
    padding-block: clamp(2rem, 5vw, 4rem);
    background: #fff;
}
.spice_article .spice_related_card
{
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--site_border, #e4dfd7);
    border-radius: .7rem;
    background: #fff;
    overflow-wrap: anywhere;
}
.spice_article .spice_related_photo
{
    display: block;
    border-radius: .65rem .65rem 0 0;
    overflow: hidden;
}
.spice_article .spice_related_image
{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #eae5dd;
}
.spice_article .spice_related_body
{
    flex: 1;
    padding: 1.25rem;
}
.spice_article .spice_related_title
{
    color: var(--site_ink, #1A202C);
    font-family: Merriweather, Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.5;
}
.spice_article .spice_related_title a
{
    color: #264653;
    text-decoration: none;
}
.spice_article .spice_related_title a:hover
{
    color: #19313c;
    text-decoration: underline;
    text-underline-offset: .18em;
}
.spice_article .spice_gallery_modal .modal-content
{
    color: var(--site_ink, #1A202C);
    border: 1px solid var(--site_border, #e4dfd7);
    border-radius: .7rem;
    background: #fff;
}
.spice_article .spice_gallery_modal .modal-header
{
    align-items: flex-start;
    gap: 1rem;
    border-color: var(--site_border, #e4dfd7);
}
.spice_article .spice_gallery_modal .modal-title
{
    font-family: Merriweather, Georgia, serif;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.spice_article .spice_gallery_modal .btn-close
{
    flex-shrink: 0;
}
.spice_article .spice_gallery_stage
{
    display: grid;
    place-items: center;
    min-height: 12rem;
    background: #F9F7F4;
    border-radius: .5rem;
}
.spice_article .spice_gallery_full_image
{
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 65vh;
    max-height: 65dvh;
    object-fit: contain;
    border-radius: .5rem;
}
.spice_article .spice_gallery_full_image[hidden],
.spice_article .spice_gallery_error[hidden]
{
    display: none;
}
.spice_article .spice_gallery_error
{
    padding: 2rem 1rem;
    color: #596169;
    text-align: center;
}
.spice_article .spice_gallery_details
{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    color: #596169;
    overflow-wrap: anywhere;
}
.spice_article .spice_gallery_counter
{
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.spice_article .spice_gallery_controls
{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}
.spice_article .spice_gallery_controls .btn
{
    min-width: 48px;
    min-height: 44px;
    font-size: 1.25rem;
    line-height: 1;
}
@media (max-width: 575px)
{
    .spice_article .spice_gallery_modal .modal-body
    {
        padding: .75rem;
    }
    .spice_article .spice_gallery_details
    {
        font-size: .9rem;
    }
}
