/* Блог „Полезно“: списък (R-Blog), статия, „Още статии“. Селекторите са с body + 2 класа заради Kit/Astra. */

/* ---- Списък ---- */
.mf-bl{display:flex;flex-direction:column;gap:28px}
.mf-bl__bar{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
.mf-bl__chips{display:flex;flex-wrap:wrap;gap:10px}
body .mf-bl .mf-chip,body .mf-bl .mf-chip:hover,body .mf-bl .mf-chip:focus{min-height:48px;padding:0 18px;border-radius:999px;border:1.5px solid #10213F;background:#FFFFFF;color:#10213F;font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;letter-spacing:normal;text-transform:none;box-shadow:none;cursor:pointer}
body .mf-bl .mf-chip[aria-pressed="true"]{background:#10213F;color:#FFFFFF}
.mf-bl__count{color:#4A5568;font-size:16px}
.mf-bl__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:18px}
.mf-bl__note{margin:0;font-size:15px;color:#4A5568}
.mf-bl__empty{margin:0;color:#4A5568}

/* ---- Карта ---- */
.mf-card{position:relative;display:flex;flex-direction:column;border:1.5px solid #E3E6EC;border-top:5px solid var(--mf-cat,#1C4793);border-radius:22px;overflow:hidden;background:#FFFFFF;transition:box-shadow .2s,transform .2s}
.mf-card[hidden]{display:none}
.mf-card:hover{box-shadow:0 14px 40px rgba(16,33,63,.12);transform:translateY(-2px)}
.mf-card:focus-within{box-shadow:0 0 0 3px #D19F3B}
.mf-card__media{aspect-ratio:16/9;background:#10213F;overflow:hidden}
body .mf-card .mf-card__img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;max-width:none}
.mf-card__body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}
.mf-card__cat{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8A6417}
body .mf-card .mf-card__t{margin:0;font-size:21px;font-weight:700;line-height:1.3;color:#10213F;letter-spacing:normal}
.mf-d.mf-d.mf-d.mf-d .mf-card .mf-card__t a{color:#10213F;text-decoration:none}
.mf-d.mf-d.mf-d.mf-d .mf-card .mf-card__t a::after{content:"";position:absolute;inset:0}
.mf-d.mf-d.mf-d.mf-d .mf-card .mf-card__t a:focus-visible{outline:none}
.mf-d.mf-d.mf-d.mf-d .mf-card:hover .mf-card__t a{color:#1C4793;text-decoration:underline}
.mf-card__x{margin:0;color:#3A4660;font-size:17px;line-height:1.6}
.mf-card__m{margin:auto 0 0;padding-top:6px;font-size:14px;color:#4A5568}
/* водеща статия: цяла ширина, снимка вляво (R-Blog) */
.mf-card.is-lead{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));border-top-width:1.5px;border-radius:28px}
.mf-card.is-lead .mf-card__media{aspect-ratio:auto;min-height:260px;position:relative;border-bottom:8px solid var(--mf-cat,#1C4793)}
.mf-card.is-lead .mf-card__media::before{content:"Избрано";position:absolute;left:24px;top:22px;z-index:1;color:#E2B04F;background:rgba(16,33,63,.82);padding:4px 12px;border-radius:999px;font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
body .mf-card.is-lead .mf-card__img{position:absolute;inset:0}
.mf-card.is-lead .mf-card__body{padding:32px;gap:12px;justify-content:center}
body .mf-card.is-lead .mf-card__t{font-size:clamp(26px,2.8vw,34px);line-height:1.2}
.mf-card.is-lead .mf-card__x{font-size:19px}
.mf-card.is-lead .mf-card__m{margin-top:4px}

/* ---- Статия ---- */
body .e-con.mf-post-body.mf-post-body{display:flex;flex-direction:column;align-items:center;gap:44px;width:100%;max-width:1280px;margin:0 auto;padding:44px 32px 96px}
body .mf-post-body.mf-post-body>.elementor-widget{width:100%}
.mf-post-meta{margin:0;font-size:16px;color:#4A5568}
.mf-d.mf-d.mf-d.mf-d .mf-post .mf-post-cat:hover{text-decoration:underline}
body .mf-post-body .elementor-widget-image.mf-post-hero{max-width:960px!important;margin:0 auto}
body .mf-post-hero img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:24px}
body .mf-post-body .elementor-widget-text-editor.mf-prose{max-width:760px!important;margin:0 auto;font-size:19px;font-weight:400;line-height:1.75;color:#2B3650}
body .mf-prose.mf-prose p{margin:0 0 1.15em}
body .mf-prose.mf-prose h2{margin:1.9em 0 .6em;font-size:clamp(25px,2.6vw,31px);font-weight:700;line-height:1.25;letter-spacing:-.01em;color:#10213F}
body .mf-prose.mf-prose h3{margin:1.6em 0 .5em;font-size:clamp(21px,2vw,23px);font-weight:700;line-height:1.3;color:#1C4793}
body .mf-prose.mf-prose h2:first-child,body .mf-prose.mf-prose p:first-child{margin-top:0}
.mf-d.mf-d.mf-d.mf-d .mf-prose.mf-prose a{color:#1C4793;text-decoration:underline;text-decoration-thickness:1px}
.mf-d.mf-d.mf-d.mf-d .mf-prose.mf-prose a:hover{color:#10213F;text-decoration-thickness:2px}
body .mf-prose.mf-prose strong{font-weight:700;color:#10213F}
body .mf-prose.mf-prose ul{margin:0 0 1.3em;padding:0;list-style:none}
body .mf-prose.mf-prose li{position:relative;margin:0 0 .6em;padding-left:28px}
body .mf-prose.mf-prose li::before{content:"";position:absolute;left:4px;top:.68em;width:9px;height:9px;border-radius:50%;background:#D19F3B}
body .mf-prose.mf-prose .mf-key{margin:1.4em 0;padding:18px 22px;background:#FBF4E4;border-left:4px solid #D19F3B;border-radius:0 16px 16px 0;font-weight:600;color:#10213F;line-height:1.6}
body .mf-prose.mf-prose .mf-note{margin-top:2.2em;padding-top:18px;border-top:1px solid #E3E6EC;font-size:15px;line-height:1.6;color:#4A5568}
body .mf-prose.mf-prose .mf-fig{margin:2em 0}
body .mf-prose.mf-prose .mf-fig img{display:block;width:100%;height:auto;border-radius:18px}

/* CTA */
body .mf-post-body .elementor-widget-html.mf-post-cta-w{max-width:960px!important;margin:0 auto}
.mf-post-cta{background:#10213F;color:#DCE2EE;border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:12px;border-bottom:6px solid #D19F3B}
body .mf-post-cta .mf-post-cta__h{margin:0;color:#FFFFFF;font-size:clamp(24px,2.6vw,30px);font-weight:700;line-height:1.2}
.mf-post-cta__t{margin:0;font-size:18px}
.mf-post-cta__b{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.mf-d.mf-d.mf-d.mf-d .mf-post-cta a.mf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;font-weight:600;text-decoration:none;line-height:1.3}
.mf-d.mf-d.mf-d.mf-d .mf-post-cta a.mf-btn--gold{background:#D19F3B;color:#10213F;border:2px solid #D19F3B}
.mf-d.mf-d.mf-d.mf-d .mf-post-cta a.mf-btn--gold:hover{background:#E2B04F;border-color:#E2B04F}
.mf-d.mf-d.mf-d.mf-d .mf-post-cta a.mf-btn--line{background:transparent;color:#FFFFFF;border:2px solid #8FA9EA}
.mf-d.mf-d.mf-d.mf-d .mf-post-cta a.mf-btn--line:hover{border-color:#FFFFFF}

/* Още статии */
body .mf-post-body .elementor-widget-shortcode.mf-post-rel{max-width:1216px!important;margin:12px auto 0}
.mf-rel{display:flex;flex-direction:column;gap:20px}
.mf-rel__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px}
body .mf-rel .mf-rel__h{margin:0;font-size:clamp(25px,2.6vw,31px);font-weight:700;color:#10213F}
.mf-d.mf-d.mf-d.mf-d .mf-rel a.mf-rel__all{color:#1C4793;font-weight:600}
.mf-rel__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:18px}

@media (max-width:767px){
  body .mf-post-body .elementor-widget-text-editor.mf-prose{font-size:18px}
  body .e-con.mf-post-body.mf-post-body{padding:28px 16px 72px;gap:32px}
  .mf-post-cta{padding:26px 22px}
  .mf-card__body,.mf-card.is-lead .mf-card__body{padding:22px}
  body .mf-post-hero img{border-radius:18px}
}
