/*
 * Busya: стили шапки, каталога, крошек и подвала — на всех страницах сайта (пакет 8г, Е.15; раньше — блоки <style>
 * в HTML каждой страницы). Порядок разделов — как печатались блоки: крошки → каталог → шапка → подвал. Он важен:
 * каталог и шапка оба задают .busya-header (каталог — position: relative; z-index, шапка на телефоне — sticky).
 * В конце — мелкие блоки шорткодов и SEO-текста (выводятся на разных страницах).
 * Подключается в Busya::enqueue_assets() после busya-main.css, CSS шаблонов (tpl-*.css) — после этого файла.
 */

/* ===== Крошки и панель категорий (было: includes/site-nav.php, busya_site_nav_styles на wp_head) ===== */

/* Хлебные крошки — компактная строка (живут в шапке, 3-я строка) */
.busya-bc { font-size: 12px; color: #94a3b8; font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.2; }
.busya-bc a { color: #94a3b8; text-decoration: none; }
.busya-bc a:hover { color: #3b82f6; text-decoration: underline; }
.busya-bc-sep { margin: 0 6px; color: #cbd5e1; }
.busya-bc-current { color: #64748b; }

.busya-cat-bar { background: #fff; border-bottom: 1px solid #eef2f7; }
.busya-cat-bar-inner { max-width: var(--busya-w, 1000px); margin: 0 auto; padding: 12px 20px;
    display: flex; flex-wrap: wrap; gap: 6px 8px; justify-content: center;
    font-family: system-ui, -apple-system, sans-serif; }
.busya-cat-bar-link { font-size: 13px; color: #475569; text-decoration: none;
    padding: 5px 12px; border-radius: 999px; background: #f1f5f9; transition: all 0.15s;
    white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.busya-cat-bar-ico { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.busya-cat-bar-link:hover { background: #e2e8f0; color: #1e293b; }
.busya-cat-bar-active { background: #3b82f6; color: #fff; }
.busya-cat-bar-active:hover { background: #2563eb; color: #fff; }
.busya-cat-bar-active .busya-cat-bar-ico { filter: brightness(0) invert(1); }

/* ===== Каталог «Магазины», кнопки шапки, мобильное меню уровней 2–3 (было: includes/site-catalog.php, busya_catalog_styles на wp_head) ===== */

.busya-header { position: relative; z-index: 1000; }

/* Кнопки шапки: «Магазины», «Статьи» и «Найти» (стиль «Найти» — в site-header.php) */
.busya-catalog { margin-right: auto; display: flex; align-items: center; gap: 8px; }
.busya-hbtn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    background: var(--busya-bg-soft, #f1f5f9); color: var(--busya-text, #1e293b); border: none;
    border-radius: var(--busya-radius-btn, 8px); font: 600 15px/1.2 var(--busya-font, system-ui, sans-serif);
    cursor: pointer; transition: background 0.15s, color 0.15s; white-space: nowrap; text-decoration: none; }
.busya-hbtn:hover { background: #e2e8f0; color: var(--busya-text, #1e293b); }
.busya-hbtn.is-current { color: var(--busya-accent, #3b82f6); }
.busya-catalog-btn[aria-expanded="true"] { background: var(--busya-accent, #3b82f6); color: #fff; }
.busya-catalog-btn-ico { display: inline-flex; flex-direction: column; justify-content: space-between;
    width: 16px; height: 12px; }
.busya-catalog-btn-ico i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.busya-catalog-btn-chev { width: 7px; height: 7px; border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.15s; }
.busya-catalog-btn[aria-expanded="true"] .busya-catalog-btn-chev { transform: rotate(-135deg) translate(-2px, -2px); }

/* Панель — под шапкой, на всю ширину, контент по колонке сайта */
.busya-catalog-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-top: 1px solid var(--busya-border, #e2e8f0);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12); font-family: var(--busya-font, system-ui, sans-serif); }
.busya-catalog-panel[hidden] { display: none; }
.busya-catalog-panel-inner { max-width: var(--busya-w, 1000px); margin: 0 auto; padding: 16px 20px;
    display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px;
    max-height: calc(100vh - 140px); box-sizing: border-box; }

/* Левая колонка — список категорий со скроллом */
.busya-cat-list { list-style: none; margin: 0; padding: 0 8px 0 0; overflow-y: auto;
    max-height: calc(100vh - 172px); border-right: 1px solid var(--busya-border, #e2e8f0); }
.busya-cat-list li { margin: 0; padding: 0; }
.busya-cat-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
    color: var(--busya-text-soft, #334155); text-decoration: none; font-size: 15px; line-height: 1.25; }
.busya-cat-item:hover, .busya-cat-item:focus, .busya-cat-item.is-active {
    background: var(--busya-bg-soft, #f1f5f9); color: var(--busya-text, #1e293b); outline: none; }
.busya-cat-item.is-current { color: var(--busya-accent, #3b82f6); font-weight: 600; }
.busya-cat-item-ico { width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; }
.busya-cat-item-ico-star { color: #f59e0b; font-size: 18px; line-height: 20px; text-align: center; }
.busya-cat-item-name { flex: 1; min-width: 0; }
.busya-cat-item-arrow { color: var(--busya-faint, #94a3b8); font-size: 20px; line-height: 1; }
.busya-cat-list-all a { display: block; padding: 10px; font-size: 14px; font-weight: 600;
    color: var(--busya-accent, #3b82f6); text-decoration: none; }
.busya-cat-list-all a:hover { text-decoration: underline; }

/* Правая колонка — магазины */
.busya-cat-panels { min-width: 0; overflow-y: auto; }
.busya-cat-panel { display: none; }
.busya-cat-panel.is-active { display: block; }
.busya-cat-panel-head { display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px; margin: 4px 0 16px; }
.busya-cat-panel-title { font-size: 22px; font-weight: 700; color: var(--busya-text, #1e293b); line-height: 1.2; }
.busya-cat-panel-count { font-size: 13px; color: var(--busya-muted, #64748b); margin-top: 4px; }
.busya-cat-panel-all { font-size: 14px; font-weight: 600; color: var(--busya-accent, #3b82f6);
    text-decoration: none; white-space: nowrap; padding-top: 4px; }
.busya-cat-panel-all:hover { text-decoration: underline; }
.busya-cat-panel-empty { color: var(--busya-muted, #64748b); font-size: 14px; }

.busya-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 12px; }
.busya-cat-tile { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--busya-border, #e2e8f0); border-radius: 12px;
    overflow: hidden; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.busya-cat-tile:hover { border-color: var(--busya-accent, #3b82f6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); }
.busya-cat-tile img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.busya-cat-tile-name { padding: 6px; font-size: 12px; font-weight: 600; text-align: center;
    color: var(--busya-text-soft, #334155); word-break: break-word; }

/* Мобильное меню: уровни 2 (категории) и 3 (магазины категории) */
.busya-m-back { display: none; }
/* Блокировка прокрутки под меню — только на html: overflow:hidden на body делает body контейнером прокрутки,
   и липкая шапка уезжает вверх на величину прокрутки (на телефоне после прокрутки страницы над меню был кусок страницы). */
html.busya-nav-lock { overflow: hidden; }
html.busya-nav-lock body { overflow: visible; } /* у Astra body { overflow-x: hidden } — то же самое */
@media (max-width: 768px) {
    .busya-catalog { display: none; } /* кнопки разделов живут в бургере */
    .busya-catalog-panel { position: fixed; top: var(--busya-mtop, 56px); bottom: 0; left: 0; right: 0;
        overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: none; z-index: 1001; }
    .busya-catalog-panel-inner { display: block; max-height: none; padding: 0 16px 32px; }
    .busya-m-back { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 0;
        position: sticky; top: 0; z-index: 1; background: #fff; border: none; text-align: left;
        font: 700 20px/1.2 var(--busya-font, system-ui, sans-serif); color: var(--busya-text, #1e293b);
        cursor: pointer; }
    .busya-m-back b { font-size: 30px; font-weight: 400; line-height: 20px; color: var(--busya-muted, #64748b); }
    /* Тема (Astra) красит button:hover/:focus в синий — после касания «назад» кнопка оставалась синей плашкой */
    .busya-catalog-panel .busya-m-back:hover, .busya-catalog-panel .busya-m-back:focus,
    .busya-catalog-panel .busya-m-back:active { background: #fff; color: var(--busya-text, #1e293b); box-shadow: none; }
    .busya-cat-list { border-right: none; padding: 0; max-height: none; overflow: visible; }
    .busya-cat-item { padding: 12px 4px; font-size: 16px; }
    .busya-cat-item.is-active, .busya-cat-item:hover, .busya-cat-item:focus { background: none; }
    .busya-cat-item-ico { width: 22px; height: 22px; }
    .busya-cat-panels { display: none; overflow: visible; }
    .busya-catalog-panel.is-m-l3 .busya-cat-list { display: none; }
    .busya-catalog-panel.is-m-l3 .busya-cat-panels { display: block; }
    .busya-cat-panel-title { display: none; } /* название уже в кнопке «назад» */
    .busya-cat-panel-head { align-items: center; margin: 0 0 12px; }
    .busya-cat-panel-count { margin-top: 0; }
    .busya-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* ===== Шапка сайта, палитра, снятие зажима и скрытие шапки Astra (было: includes/site-header.php, busya_custom_header_styles на wp_head) ===== */

/* Единая ширина сайта (как у pikabu — узкая основная колонка) + палитра */
:root {
    --busya-w: 1000px;
    /* Шрифт */
    --busya-font: system-ui, -apple-system, sans-serif;
    /* Акцент (синий) */
    --busya-accent: #3b82f6;
    --busya-accent-hover: #2563eb;
    --busya-accent-bg: #eff6ff;
    /* Текст (слейт) */
    --busya-text: #1e293b;       /* заголовки, основной текст */
    --busya-text-soft: #334155;  /* обычный текст */
    --busya-muted: #64748b;      /* вторичный текст */
    --busya-faint: #94a3b8;      /* подписи, плейсхолдеры, буллеты */
    /* Поверхности */
    --busya-border: #e2e8f0;
    --busya-bg-soft: #f1f5f9;    /* фон чипов/кнопок */
    --busya-bg-page: #f8fafc;
    /* Статусы */
    --busya-success: #10b981;
    --busya-danger: #ef4444;
    /* Форма */
    --busya-radius-btn: 8px;     /* единый радиус кнопок-действий */
}

/* Снимаем зажим контента Astra (был 800px) — ширину задают наши контейнеры */
.ast-container,
.site-content .ast-container,
#primary, .content-area, .entry-content,
.ast-article-single, .ast-article-post,
.ast-separate-container .ast-article-single { max-width: 100% !important; width: auto !important;
    padding-left: 0 !important; padding-right: 0 !important; }
.site-content, #content { padding-left: 0 !important; padding-right: 0 !important; }

/* Прячем стандартную шапку Astra — используем свою */
#masthead.site-header,
.ast-above-header,
.ast-below-header { display: none !important; }

.busya-header { background: #fff; border-bottom: 1px solid #eef2f7;
    font-family: system-ui, -apple-system, sans-serif; }
.busya-header-inner { max-width: var(--busya-w); margin: 0 auto; padding: 14px 20px;
    position: relative; }

/* Логотип — в левом отступе, слева от общей колонки */
.busya-logo { position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
    margin-right: 16px; display: flex; align-items: center; text-decoration: none; }
/* !important: темы дописывают картинкам из wp_get_attachment_image() style="width:100%;…" (twentytwentyone) */
.busya-logo-img { max-height: 80px; max-width: none !important; width: auto !important; height: auto !important; display: block; }
.busya-logo-text { font-size: 24px; font-weight: 800; color: #1e293b; white-space: nowrap; }

.busya-header-rows { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.busya-hrow { display: flex; align-items: center; min-height: 30px; }

/* Строка 1: меню + поиск прижаты вправо (к поиску, не к логотипу) — как на pikabu */
.busya-hrow-top { gap: 28px; justify-content: flex-end; flex-wrap: nowrap; }
.busya-menu { list-style: none; display: flex; flex-wrap: wrap; align-items: center;
    gap: 6px 24px; margin: 0; padding: 0; }
.busya-menu li { margin: 0; padding: 0; }
.busya-menu a { text-decoration: none; color: #1e293b; font-weight: 600; font-size: 15px;
    white-space: nowrap; transition: color 0.15s; }
.busya-menu a:hover, .busya-menu .current-menu-item > a { color: #3b82f6; }

.busya-header-search { display: flex; gap: 8px; flex: 0 1 380px; max-width: 380px; }
/* Поиск и «Найти» — в стиле кнопок «Магазины»/«Статьи» (.busya-hbtn, site-catalog.php) */
.busya-header-search input { flex: 1; min-width: 0; padding: 8px 14px; font-size: 15px;
    border: 1.5px solid #e2e8f0; border-radius: var(--busya-radius-btn, 8px); outline: none;
    transition: border-color 0.2s; }
.busya-header-search input:focus { border-color: #3b82f6; }
.busya-header-search button { padding: 8px 14px; background: var(--busya-bg-soft, #f1f5f9);
    color: var(--busya-text, #1e293b); border: none; border-radius: var(--busya-radius-btn, 8px);
    font: 600 15px/1.2 var(--busya-font, system-ui, sans-serif); cursor: pointer;
    transition: background 0.15s; white-space: nowrap; }
.busya-header-search button:hover { background: #e2e8f0; }

/* Строка 2: крошки (стили самих крошек — в site-nav.php) */
.busya-hrow-crumbs { min-height: 16px; }

@media (max-width: 1100px) {
    .busya-header-inner { padding-left: 130px; }
    .busya-logo { right: auto; left: 14px; margin-right: 0; }
    .busya-logo-img { max-height: 60px; }
}

/* Кнопка «Наверх» от Astra на телефоне висит поверх карточек и кнопок «Получить».
   Шапка там липкая, так что кнопка не нужна — прячем. */
@media (max-width: 768px) {
    #ast-scroll-top { display: none !important; }
}

/* Мобильные элементы — на десктопе скрыты */
.busya-burger, .busya-msearch-btn, .busya-mnav { display: none; }

@media (max-width: 768px) {
    .busya-header { position: sticky; top: 0; }
    .busya-header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
        padding: 8px 12px; }
    .busya-logo { position: static; transform: none; margin: 0 auto 0 4px; }
    .busya-logo-img { max-height: 40px; }

    .busya-burger, .busya-msearch-btn { display: inline-flex; align-items: center; justify-content: center;
        width: 40px; height: 40px; padding: 0; flex-shrink: 0; border: none; cursor: pointer;
        border-radius: var(--busya-radius-btn, 8px); background: var(--busya-bg-soft, #f1f5f9);
        color: var(--busya-text, #1e293b); }
    /* Тема (Astra) красит button:hover/:focus в синий — после касания кнопки оставались синими */
    .busya-burger:hover, .busya-burger:focus, .busya-burger:active,
    .busya-msearch-btn:hover, .busya-msearch-btn:focus, .busya-msearch-btn:active {
        background: var(--busya-bg-soft, #f1f5f9); color: var(--busya-text, #1e293b); box-shadow: none; }
    .busya-msearch-btn[aria-expanded="true"] { background: var(--busya-accent, #3b82f6); color: #fff; }
    .busya-burger { flex-direction: column; gap: 4px; }
    .busya-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
        transition: transform 0.2s, opacity 0.2s; }
    .busya-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .busya-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
    .busya-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* Строки шапки: на телефоне видна только строка поиска, и то по кнопке 🔍 */
    .busya-header-rows { display: none; order: 10; flex: 1 1 100%; }
    .busya-header.is-search-open .busya-header-rows { display: flex; }
    .busya-hrow-menu, .busya-hrow-crumbs { display: none; }
    .busya-hrow-top { gap: 8px; }
    .busya-header-search { max-width: none; flex: 1 1 100%; }
    .busya-header-search input { font-size: 16px; } /* иначе iOS зумит страницу при фокусе */

    /* Меню 1-го уровня */
    .busya-mnav:not([hidden]) { display: block; position: fixed; top: var(--busya-mtop, 56px);
        left: 0; right: 0; bottom: 0; z-index: 1001; overflow-y: auto; background: #fff;
        padding: 8px 16px 32px; font-family: var(--busya-font, system-ui, sans-serif); }
    .busya-mnav-list { list-style: none; margin: 0; padding: 0; }
    .busya-mnav-list li { margin: 0; padding: 0; border-bottom: 1px solid var(--busya-border, #e2e8f0); }
    .busya-mnav-item, .busya-mnav-list li > a { display: flex; align-items: center; justify-content: space-between;
        width: 100%; padding: 14px 4px; background: none; border: none; text-align: left; cursor: pointer;
        font: 600 17px/1.25 var(--busya-font, system-ui, sans-serif); color: var(--busya-text, #1e293b);
        text-decoration: none; }
    .busya-mnav-list .current-menu-item > a { color: var(--busya-accent, #3b82f6); }
    .busya-mnav-arrow { font-size: 26px; font-weight: 400; line-height: 1; color: var(--busya-faint, #94a3b8); }
}

/* ===== Подвал сайта, скрытие подвала Astra (было: includes/site-footer.php, в busya_custom_footer на wp_footer) ===== */

/* Прячем стандартный футер Astra */
#colophon.site-footer { display: none !important; }

.busya-footer { background: #fff; border-top: 1px solid #eef2f7; padding: 40px 0;
    font-family: system-ui, -apple-system, sans-serif; }
.busya-footer-inner { position: relative; max-width: var(--busya-w, 1200px); margin: 0 auto;
    padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 30px;
    align-items: start; }
/* Логотип — в левом отступе, слева от колонки (как в шапке) */
.busya-footer-brand { position: absolute; right: 100%; top: 0; margin-right: 16px; }
/* !important: темы дописывают картинкам из wp_get_attachment_image() style="width:100%;…" (twentytwentyone) */
.busya-footer-logo-img { max-height: 64px; max-width: none !important; width: auto !important; height: auto !important; display: block; }
.busya-footer-logo-text { font-size: 22px; font-weight: 800; color: #1e293b; }
.busya-footer-h { font-size: 15px; color: #1e293b; margin: 0 0 14px; font-weight: 700; }
.busya-footer-col ul { list-style: none; margin: 0; padding: 0; }
.busya-footer-col li { margin: 0 0 10px; }
.busya-footer-col a { color: #64748b; text-decoration: none; font-size: 14px; transition: color 0.15s; }
.busya-footer-col a:hover { color: #3b82f6; }
.busya-footer-copy { color: #94a3b8; font-size: 13px; line-height: 1.6; text-align: right; }
.busya-footer-copy-text { color: #94a3b8; }
/* Ссылка на телеграм-канал */
.busya-footer-tg { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
    color: #229ED9; text-decoration: none; font-size: 14px; font-weight: 600;
    transition: opacity 0.15s; }
.busya-footer-tg span { color: #475569; transition: color 0.15s; }
.busya-footer-tg:hover span { color: #229ED9; }
.busya-footer-tg svg { flex-shrink: 0; }
/* Оговорка внизу на всю ширину — мелко и серо */
.busya-footer-legal { grid-column: 1 / -1; margin-top: 8px; padding-top: 16px; border-top: 1px solid #eef2f7;
    color: #94a3b8; font-size: 12px; line-height: 1.55; }

@media (max-width: 1100px) {
    .busya-footer-inner { padding-left: 130px; }
    .busya-footer-brand { right: auto; left: 14px; margin-right: 0; }
}
@media (max-width: 900px) {
    /* Две колонки ссылок: слева «Вопросы и ответы» (3), справа «О проекте» +
       «Документы» (2 + 2) единым столбиком — без дыры под короткой колонкой. */
    .busya-footer-inner { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 0;
        padding-left: 20px; }
    .busya-footer-brand { position: static; grid-column: 1 / -1; margin: 0 0 20px; }
    .busya-footer-col:nth-of-type(2) { grid-column: 1; grid-row: 2 / span 2; }
    .busya-footer-col:nth-of-type(3) { grid-column: 2; grid-row: 2; }
    .busya-footer-col:nth-of-type(4) { grid-column: 2; grid-row: 3; }
    .busya-footer-copy { text-align: left; grid-column: 1 / -1; margin-top: 20px; }
    .busya-footer-legal { grid-row: auto; }
}

/* Телефон: две колонки на 360px рвут длинные названия — делаем один столбик */
@media (max-width: 600px) {
    .busya-footer { padding: 24px 0 28px; }
    .busya-footer-inner { display: block; padding: 0 16px; }
    .busya-footer-brand { margin: 0 0 16px; }
    .busya-footer-logo-img { max-height: 48px; }
    .busya-footer-col li { margin: 0; }
    .busya-footer-col a { display: block; padding: 12px 0; font-size: 15px; color: #334155; }
    .busya-footer-copy { margin-top: 20px; }
    .busya-footer-legal { margin-top: 16px; }
}

/* ===== SEO-блок под списками (было: includes/seo.php, busya_seo_block — echo при первом блоке) ===== */

.busya-seo { max-width: 100%; margin: 30px auto 0; padding: 28px 30px; background:#fff;
    border-radius:12px; box-shadow:0 4px 15px rgba(0,0,0,0.05); box-sizing:border-box;
    font-family: system-ui, -apple-system, sans-serif; color:#334155; line-height:1.6; }
.busya-seo h2 { font-size:22px; color:#1e293b; margin:0 0 14px; }
.busya-seo h3 { font-size:18px; color:#1e293b; margin:20px 0 10px; }
.busya-seo p { margin:0 0 12px; font-size:15px; }

/* ===== Шорткод [busya_offers] в статьях и подборках (было: includes/offers-shortcode.php) ===== */

.busya-offers { margin: 24px 0; }
.busya-offers-title { font-size: 20px; font-weight: 700; color: #1e293b; margin: 0 0 14px; }
.busya-offers .busya-coupon-card { margin-bottom: 12px; }

/* ===== Шорткод [busya_popular_articles] — блок статей на главной (было: shortcodes/articles.php) ===== */

.busya-articles-block { padding: 10px 0; }
.busya-articles-title { text-align: center; font-size: 22px; font-weight: 700; font-family: system-ui, -apple-system, sans-serif; margin: 0 0 24px; color: #1e293b; }
.busya-articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.busya-article-card { background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column;
    text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.busya-article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
/* Обложка целиком, в своих пропорциях (раньше — рамка 180px + cover обрезала края с текстом) */
.busya-article-card-img { width: 100%; background: #e2e8f0; overflow: hidden; }
.busya-article-card-img img { width: 100%; height: auto; display: block; transition: transform 0.3s; }
.busya-article-card:hover .busya-article-card-img img { transform: scale(1.05); }
.busya-article-card-body { padding: 18px 20px; }
.busya-article-card-title { display: block; font-size: 18px; font-weight: 600; color: #1e293b; line-height: 1.3; margin: 0 0 8px; }
.busya-article-card-excerpt { font-size: 14px; color: #64748b; margin: 0; line-height: 1.5; }
@media (max-width: 560px) { .busya-articles-grid { grid-template-columns: 1fr; } }
