/* Публичные страницы: тёплая книжная палитра поверх Bootstrap 5.3. */
.site_body
{
    --site_ink: #1A202C;
    --site_muted: #596169;
    --site_accent: #264653;
    --site_soft: #F9F7F4;
    --site_border: #e4dfd7;
    --site_mustard: #F89C1F;
    --bs-link-color-rgb: 38, 70, 83;
    --bs-link-hover-color-rgb: 25, 49, 60;
    color: var(--site_ink);
    font-family: Lato, "Segoe UI", sans-serif;
    line-height: 1.65;
}
.site_body .site_brand
{
    color: var(--site_accent);
    font-family: Merriweather, Georgia, serif;
    font-weight: 700;
    letter-spacing: -.04em;
}
.site_body .site_header,
.site_body .site_footer
{
    border-color: var(--site_border) !important;
}
.site_main_wide
{
    padding-top: 1.5rem;
    padding-bottom: 0;
}
.spice_home_intro,
.spice_article_intro,
.spice_gallery,
.spice_editor,
.spice_discussion,
.spice_article_text,
.spice_home_group
{
    padding-block: clamp(2rem, 5vw, 4rem);
}
.spice_home_intro,
.spice_home_group:nth-child(odd),
.spice_article_intro,
.spice_gallery,
.spice_discussion
{
    background: #F9F7F4;
}
.spice_home_title,
.spice_section_title,
.spice_article .spice_title,
.spice_about h1,
.spice_about h2
{
    color: var(--site_ink);
    font-family: Merriweather, Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
.spice_home_title
{
    max-width: 940px;
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}
.spice_home_lead
{
    max-width: 790px;
    color: #404b53;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.8;
}
.spice_home_description
{
    max-width: 780px;
    color: var(--site_muted);
}
.spice_eyebrow
{
    color: #436454;
    font-size: .78rem;
    letter-spacing: .09em;
    font-weight: 700;
}
.spice_section_title
{
    font-size: clamp(1.45rem, 3vw, 2rem);
}
.spice_home_link
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
    height: 100%;
    padding: 1.2rem 1.3rem;
    color: var(--site_accent);
    background: #fff;
    border: 1px solid var(--site_border);
    border-radius: .6rem;
    text-decoration: none;
    font-size: 1.08rem;
    overflow-wrap: anywhere;
}
.spice_home_link:hover
{
    color: #19313c;
    border-color: #a5b8ad;
    background: #fffdf8;
}
.spice_home_arrow
{
    flex-shrink: 0;
    color: #557464;
}
.spice_reading_width
{
    max-width: 850px;
    margin-inline: auto;
}
.spice_article .spice_title
{
    font-size: clamp(2.2rem, 5vw, 3.7rem);
}
.spice_article_meta,
.spice_photo_caption,
.spice_editor_note,
.spice_muted
{
    color: var(--site_muted);
}
.spice_article_meta,
.spice_photo_caption,
.spice_editor_note
{
    font-size: .9rem;
}
.spice_article_body
{
    color: #343d44;
    font-size: 1.1rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.spice_article_body h2,
.spice_article_body h3,
.spice_article_body h4,
.spice_article_body h5,
.spice_article_body h6
{
    color: var(--site_ink);
    font-family: Merriweather, Georgia, serif;
    line-height: 1.4;
    margin-block: 2rem 1rem;
}
.spice_article_body > :first-child
{
    margin-top: 0;
}
.spice_article_body p,
.spice_article_body ul,
.spice_article_body ol
{
    margin-bottom: 1.3rem;
}
.spice_article_body a
{
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}
.spice_article_body blockquote
{
    border-left: 3px solid #F89C1F;
    padding: .6rem 1.3rem;
    margin-block: 1.5rem;
    background: #F9F7F4;
}
.spice_article_body blockquote p:last-child
{
    margin-bottom: 0;
}
.spice_article_body img
{
    max-width: 100%;
    height: auto;
    border-radius: .6rem;
}
.spice_article_body pre
{
    max-width: 100%;
    overflow-x: auto;
    background: #F9F7F4;
    padding: 1rem;
}
.spice_article_body table
{
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.spice_article_body th,
.spice_article_body td
{
    border: 1px solid var(--site_border);
    padding: .6rem .8rem;
}
.spice_gallery_image
{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eae5dd;
    border-radius: .7rem;
}
.spice_photo_link
{
    display: block;
    border-radius: .7rem;
}
.spice_editor_photo
{
    width: 112px;
    height: 112px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
}
.spice_editor_name
{
    color: var(--site_ink);
    font-family: Merriweather, Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
}
.spice_comments
{
    min-height: 160px;
    max-width: 100%;
}
.site_body .spice_button
{
    --bs-btn-color: #1A202C;
    --bs-btn-bg: #F89C1F;
    --bs-btn-border-color: #F89C1F;
    --bs-btn-hover-color: #1A202C;
    --bs-btn-hover-bg: #e88b0f;
    --bs-btn-hover-border-color: #e88b0f;
    --bs-btn-active-color: #1A202C;
    --bs-btn-active-bg: #df8207;
    --bs-btn-active-border-color: #df8207;
}
.site_body .spice_button_outline
{
    --bs-btn-color: #264653;
    --bs-btn-border-color: #264653;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #264653;
    --bs-btn-hover-border-color: #264653;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #19313c;
    --bs-btn-active-border-color: #19313c;
}
.spice_share .btn,
.spice_home .btn
{
    padding: .65rem 1rem;
}
.spice_share_status:empty
{
    display: none;
}
.site_body a:focus-visible,
.site_body button:focus-visible
{
    outline: 3px solid #a95700;
    outline-offset: 3px;
}
@media (max-width: 575px)
{
    .spice_article_body
    {
        font-size: 1rem;
    }
    .spice_home_link
    {
        min-height: 64px;
    }
    .spice_article_meta
    {
        gap: .6rem 1rem !important;
    }
}
