/* Общие блоки сайта. Bootstrap остаётся основным набором компонентов. */
:root { --site_ink: #1c3027; --site_muted: #52645b; --site_accent: #1b4332; --site_mustard: #d4a017; --site_background: #ffffff; --site_soft: #f3f7f2; --site_border: #dce5db; }
.site_body { --bs-link-color-rgb: 27, 67, 50; --bs-link-hover-color-rgb: 16, 45, 33; background: var(--site_background); color: var(--site_ink); min-height: 100vh; display: flex; flex-direction: column; }
.site_header, .site_footer { background: #fff; }
.site_main { padding-top: 2.5rem; padding-bottom: 4rem; flex: 1; }
.site_brand { color: var(--site_ink); font-size: 1.4rem; font-weight: 800; letter-spacing: -.035em; white-space: normal; }
.site_header .nav-link { color: #364358; }
.site_footer a { color: #364358; text-decoration: none; }
.site_footer a:hover, .site_header .nav-link:hover { color: var(--site_accent); }
.skip_link { display: block; background: white; padding: .7rem 1rem; }
.hero_block { padding: clamp(1.5rem, 4vw, 4rem); background: #eaf0fc; border-radius: 1.4rem; }
.hero_eyebrow { color: #345895; font-size: .85rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.hero_title { max-width: 900px; margin: .8rem 0 1rem; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 750; letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero_lead { max-width: 800px; color: #3e506b; font-size: 1.15rem; line-height: 1.7; }
.section_label { font-size: 1.4rem; font-weight: 700; }
.post_card { border-radius: 1rem; overflow: hidden; }
.post_card_title { color: var(--site_ink); font-weight: 700; line-height: 1.35; font-size: 1.25rem; text-decoration: none; overflow-wrap: anywhere; }
.post_card_title:hover { color: var(--site_accent); }
.post_cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #e7edf6; }
.post_card_description { color: var(--site_muted); font-size: .96rem; line-height: 1.65; overflow-wrap: anywhere; }
.category_text { max-width: 850px; line-height: 1.8; overflow-wrap: anywhere; }
.article_block { max-width: 850px; }
.article_title { font-weight: 750; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.04em; line-height: 1.12; overflow-wrap: anywhere; }
.article_meta { color: var(--site_muted); font-size: .9rem; }
.article_lead { font-size: 1.2rem; line-height: 1.8; color: #44536b; }
.article_cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article_body { font-size: 1.08rem; line-height: 1.85; overflow-wrap: anywhere; }
.article_body h2, .article_body h3, .article_body h4 { margin: 2rem 0 1rem; font-weight: 700; line-height: 1.3; }
.article_body img { max-width: 100%; height: auto; border-radius: .5rem; }
.article_body pre { padding: 1.2rem; background: #eaf0f8; border-radius: .7rem; overflow: auto; }
.article_body blockquote { border-left: 4px solid #94afe5; padding: .5rem 1.3rem; color: #44536b; }
.article_body table { display: block; overflow-x: auto; max-width: 100%; margin: 1rem 0; }
.article_body td, .article_body th { border: 1px solid #ccd5e2; padding: .5rem .8rem; }
.static_page { max-width: 850px; line-height: 1.8; }
.static_page h1 { margin-bottom: 1.5rem; font-weight: 750; }
.static_page h2 { font-size: 1.5rem; margin-top: 2rem; }
.cookie_notice { background: white; border-top: 1px solid #ccd5e2; position: sticky; bottom: 0; z-index: 1030; font-size: .9rem; }
.cookie_notice[hidden] { display: none !important; }
.admin_body { background: #f3f6fa; }
.admin_main { padding-bottom: 4rem; }
.editor_text { min-height: 30rem; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; line-height: 1.65; }
.upload_preview { width: 100%; height: 220px; object-fit: contain; background: #edf1f7; border-radius: .5rem; }
@media (max-width: 575px) { .site_main { padding-top: 1.5rem; } .hero_block { border-radius: 1rem; } .article_body { font-size: 1rem; } }

/* Каталог специй: локальные компоненты без изменений глобальных заголовков. */
.spice_catalog, .spice_page { --bs-link-color: var(--site_accent); --bs-link-hover-color: #102d21; }
.site_body .btn-primary { --bs-btn-color: #fff; --bs-btn-bg: var(--site_accent); --bs-btn-border-color: var(--site_accent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #102d21; --bs-btn-hover-border-color: #102d21; --bs-btn-active-bg: #102d21; --bs-btn-active-border-color: #102d21; }
.spice_page { max-width: 920px; margin-inline: auto; }
.spice_title { color: var(--site_accent); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.12; overflow-wrap: anywhere; }
.spice_eyebrow { color: var(--site_accent); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; }
.spice_lead { max-width: 740px; color: var(--site_muted); line-height: 1.7; font-size: 1.1rem; }
.spice_filters { padding: 1.3rem; border-radius: .75rem; background: var(--site_soft); }
.spice_count, .spice_card_hint { color: var(--site_muted); }
.spice_card { border: 1px solid var(--site_border); border-bottom: 3px solid var(--site_mustard); border-radius: .75rem; background: var(--site_background); }
.spice_card_link { color: var(--site_accent); text-decoration: none; overflow-wrap: anywhere; }
.spice_card_link:hover { text-decoration: underline; }
.spice_initial { display: inline-flex; justify-content: center; align-items: center; width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 50%; background: var(--site_soft); color: var(--site_accent); font-family: Georgia, serif; font-size: 1.7rem; }
.spice_badge { color: #1b4332; background: #e7f0e4; font-weight: 600; padding: .5em .75em; }
.spice_badge_mix { color: #614a08; background: #fbf0cc; }
.spice_header, .spice_module { border-bottom: 3px solid var(--site_mustard); }
.spice_module_body { font-size: 1.08rem; line-height: 1.85; overflow-wrap: anywhere; }
.spice_module_body.lead { font-size: 1.2rem; font-weight: 400; }
.spice_module_body h2, .spice_module_body h3, .spice_module_body h4 { font-weight: 700; line-height: 1.3; margin-block: 1.8rem 1rem; }
.spice_module_body img { max-width: 100%; height: auto; }
.spice_module_body table { display: block; max-width: 100%; overflow-x: auto; }
.spice_module_body th, .spice_module_body td { border: 1px solid var(--site_border); padding: .5rem .75rem; }
.spice_module_body blockquote { border-left: 3px solid var(--site_mustard); padding-left: 1rem; }
.spice_empty { border: 1px dashed var(--site_border); border-radius: .75rem; color: var(--site_muted); }
.spice_button { --bs-btn-color: #fff; --bs-btn-bg: var(--site_accent); --bs-btn-border-color: var(--site_accent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #102d21; --bs-btn-hover-border-color: #102d21; --bs-btn-active-color: #fff; --bs-btn-active-bg: #102d21; --bs-btn-active-border-color: #102d21; }
.spice_button_outline { --bs-btn-color: var(--site_accent); --bs-btn-border-color: var(--site_accent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--site_accent); --bs-btn-hover-border-color: var(--site_accent); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--site_accent); --bs-btn-active-border-color: var(--site_accent); }
.spice_catalog .pagination { --bs-pagination-color: var(--site_accent); --bs-pagination-hover-color: var(--site_accent); --bs-pagination-active-bg: var(--site_accent); --bs-pagination-active-border-color: var(--site_accent); --bs-pagination-focus-box-shadow: 0 0 0 .2rem #dce8db; }
.spice_catalog .form-control:focus, .spice_catalog .form-select:focus { border-color: var(--site_accent); box-shadow: 0 0 0 .2rem #dce8db; }
@media (max-width: 575px) { .spice_filters { padding: 1rem; } .spice_module_body { font-size: 1rem; } }
