﻿:root{
  --mf-dark: #0e1a2b;
  --mf-max: 1240px;
  --mf-x: clamp(16px, 2.2vw, 24px);
  --mf-sec-y: clamp(26px, 3.2vw, 44px);
  --mf-gap-lg: clamp(16px, 2.4vw, 26px);
}

html{
  scroll-behavior: smooth;
}

.mf-home{
  background: transparent;
  width: 100%;
}

.page .entry-content .mf-home{
  margin: 0;
}

.mf-home-container{
  max-width: var(--mf-max);
  margin: 0 auto;
  padding-left: var(--mf-x);
  padding-right: var(--mf-x);
}

.mf-home-section{
  padding: var(--mf-sec-y) 0;
}

.mf-section-head{
  margin-bottom: 14px;
}

.mf-section-title{
  color: var(--mf-dark);
  font-size: 28px;
  margin: 0 0 8px;
}

.mf-section-sub{
  color: rgba(15, 23, 42, 0.65);
  margin: 0;
  max-width: 80ch;
}

.mf-btn-primary,
.mf-btn-secondary,
.mf-cat-card,
.mf-tool-card{
  transition:
    transform .18s ease,
    filter .18s ease,
    background .18s ease,
    box-shadow .18s ease;
  will-change: transform;
}

@media (hover: none){
  .mf-btn-primary:hover,
  .mf-btn-secondary:hover,
  .mf-cat-card:hover,
  .mf-tool-card:hover{
    transform: none;
  }
}

.mf-breadcrumbs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.65);
  margin-bottom: 14px;
}

.mf-breadcrumbs a{
  color: var(--mf-primary);
  text-decoration: none;
}

.mf-breadcrumbs a:hover{
  text-decoration: underline;
}

.mf-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.mf-badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.85);
  color: rgba(15, 23, 42, 0.72);
}

.mf-badge--new{
  border-color: rgba(47, 100, 226, 0.25);
  background: rgba(47, 100, 226, 0.10);
  color: var(--mf-primary);
}

.mf-badge--popular{
  border-color: rgba(47, 100, 226, 0.35);
  background: linear-gradient(135deg, rgba(47, 100, 226, 0.18), rgba(31, 79, 209, 0.10));
  color: var(--mf-primary);
}

.mf-badge--featured{
  border-color: rgba(47, 100, 226, 0.25);
  background: linear-gradient(135deg, var(--mf-primary) 0%, #1f4fd1 100%);
  color: #fff;
}

.mf-tool-trust{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(47, 100, 226, 0.06);
  border: 1px solid rgba(47, 100, 226, 0.10);
  color: var(--mf-dark);
  font-size: 14px;
  line-height: 1.5;
}

.mf-tool-trust-icon{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mf-tool-editorial{
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.mf-tool-block{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.mf-tool-block-title{
  margin: 0 0 14px;
  color: var(--mf-dark);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mf-tool-block-content{
  color: var(--mf-dark);
}

.mf-tool-block-content p{
  margin: 0 0 14px;
  line-height: 1.72;
}

.mf-tool-block-content p:last-child{
  margin-bottom: 0;
}

.mf-tool-block-content ul,
.mf-tool-block-content ol{
  margin: 8px 0 16px 22px;
}

.mf-tool-block-content li{
  margin-bottom: 8px;
  line-height: 1.65;
}

.mf-faq{
  display: grid;
  gap: 14px;
}

.mf-faq-item{
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  box-shadow: var(--mf-shadow);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mf-faq-item.is-open{
  border-color: rgba(47, 100, 226, 0.18);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(47, 100, 226, 0.06) inset;
}

.mf-faq-title{
  margin: 0;
}

.mf-faq-toggle{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  margin: 0;
  background: rgba(255, 255, 255, 0.82);
  border: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  color: var(--mf-dark);
}

.mf-faq-toggle:hover{
  background: rgba(47, 100, 226, 0.02);
}

.mf-faq-toggle:focus-visible{
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(47, 100, 226, 0.14);
}

.mf-faq-item.is-open .mf-faq-toggle{
  background: rgba(47, 100, 226, 0.055);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mf-faq-toggle-text{
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--mf-dark);
}

.mf-faq-toggle-icon{
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(47, 100, 226, 0.06);
  border: 1px solid rgba(47, 100, 226, 0.10);
  color: var(--mf-primary);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.mf-faq-item.is-open .mf-faq-toggle-icon{
  background: rgba(47, 100, 226, 0.12);
  border-color: rgba(47, 100, 226, 0.18);
  transform: rotate(45deg);
}

.mf-faq-panel{
  padding: 0 22px 22px;
}

.mf-faq-item.is-open .mf-faq-panel{
  padding-top: 18px;
}

.mf-faq-content p{
  margin: 0 0 14px;
  color: var(--mf-dark);
  line-height: 1.7;
  font-size: 16px;
}

.mf-faq-content p:last-child{
  margin-bottom: 0;
}

.mf-home-hero{
  background: #f4f6fb;
  padding: clamp(36px, 4.2vw, 56px) 0 clamp(22px, 3vw, 34px);
  border-radius: 22px;
  margin: 18px 0;
  position: relative;
}

.mf-hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mf-gap-lg);
  align-items: center;
}

@media (min-width: 1024px){
  .mf-hero-grid{
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.mf-hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--mf-border);
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.65);
  font-size: 13px;
  margin-bottom: 14px;
}

.mf-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mf-primary), #1f4fd1);
  box-shadow: 0 0 0 4px rgba(47, 100, 226, 0.12);
}

.mf-hero-title{
  color: var(--mf-dark);
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

@media (min-width: 1024px){
  .mf-hero-title{
    font-size: 52px;
  }
}

.mf-hero-sub{
  color: rgba(15, 23, 42, 0.65);
  font-size: 16px;
  max-width: 70ch;
  margin: 0 0 16px;
}

.mf-hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
}

.mf-hero-actions .mf-btn-primary,
.mf-hero-actions .mf-btn-secondary{
  width: auto !important;
  flex: 0 0 auto;
  min-width: 0;
}

.mf-btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 14px;
  color: var(--mf-dark) !important;
  font-weight: 700;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--mf-border);
  width: auto;
  flex: 0 0 auto;
}

.mf-btn-secondary:hover{
  background: #fff;
  transform: translateY(-1px);
}

.mf-hero-metrics{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--mf-gap-sm);
  max-width: 520px;
}

@media (max-width: 560px){
  .mf-hero-metrics{
    grid-template-columns: 1fr;
  }
}

.mf-kpi{
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--mf-border);
  border-radius: 14px;
  padding: 12px;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mf-kpi-num{
  font-weight: 800;
  color: var(--mf-dark);
  font-size: 18px;
  margin-bottom: 3px;
}

.mf-kpi-label{
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
}

.mf-hero-trust{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.65);
  max-width: 520px;
}

.mf-hero-trust-icon{
  width: 20px;
  height: 20px;
  stroke: var(--mf-primary);
  stroke-width: 1.8;
  fill: none;
  flex-shrink: 0;
}

.mf-home-search-band{
  padding: 0 0 clamp(18px, 2.6vw, 28px);
}

.mf-home-search-box{
  background:
    url("../images/metricflow-icons-pattern-tile.svg") center top / 320px 180px repeat,
    radial-gradient(circle at top right, rgba(47,100,226,0.08), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(246,249,255,0.94));
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.06);
  padding: clamp(20px, 2.8vw, 28px);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-blend-mode: normal, normal, normal;
}

.mf-home-search-copy{
  display: grid;
  gap: 6px;
}

.mf-home-search-kicker{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(47,100,226,0.18);
  background: rgba(47,100,226,0.06);
  color: var(--mf-primary);
  font-size: 12px;
  font-weight: 800;
}

.mf-home-search-title{
  margin: 0;
  color: var(--mf-dark);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.08;
}

.mf-home-search-sub{
  margin: 0;
  max-width: 72ch;
  color: var(--mf-muted);
  font-size: 15px;
  line-height: 1.6;
}

.mf-home-search-form{
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 16px 32px rgba(15,23,42,0.08);
}

.mf-home-search-icon{
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(47,100,226,0.10);
  color: var(--mf-primary);
  font-size: 19px;
}

.mf-home-search-input{
  width: 100%;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 14px 6px !important;
  margin: 0 !important;
  color: var(--mf-dark);
  font-size: 16px;
}

.mf-home-search-input::placeholder{
  color: rgba(15,23,42,0.42);
}

.mf-home-search-btn{
  border: 0 !important;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mf-primary) 0%, #1f4fd1 100%) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(47,100,226,0.22);
}

.mf-home-search-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mf-home-search-links a{
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  color: var(--mf-dark);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,23,42,0.08);
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mf-home-search-links a:hover{
  transform: translateY(-1px);
  border-color: rgba(47,100,226,0.20);
  background: rgba(47,100,226,0.05);
  color: var(--mf-primary);
}

.mf-mock{
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--mf-shadow);
}

@media (min-width: 1024px){
  .mf-home-hero .mf-mock{
    max-width: 640px;
    width: 100%;
    margin-left: auto;
  }
}

.mf-mock-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mf-mock-chip{
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--mf-border);
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 10px;
  border-radius: 999px;
}

.mf-mock-title{
  font-weight: 800;
  color: var(--mf-dark);
}

.mf-mock-card{
  background: linear-gradient(135deg, var(--mf-primary) 0%, #1f4fd1 100%);
  color: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 26px 60px rgba(47, 100, 226, 0.28);
  margin-bottom: 12px;
}

.mf-mock-kicker{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 8px;
}

.mf-mock-value{
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  white-space: nowrap;
}

.mf-mock-note{
  font-size: 13px;
  opacity: .92;
  margin-bottom: 12px;
}

.mf-mock-mini{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mf-mock-mini-item{
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 14px;
  padding: 10px;
}

.mf-mock-mini-label{
  font-size: 11px;
  opacity: .85;
  margin-bottom: 5px;
}

.mf-mock-mini-val{
  font-weight: 800;
}

.mf-mock-spark svg{
  width: 100%;
  height: 84px;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 10px;
}

.mf-mock-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mf-mock-input{
  background: #fff;
  border: 1px solid var(--mf-border);
  border-radius: 14px;
  padding: 10px;
}

.mf-mock-label{
  font-size: 11px;
  color: rgba(15, 23, 42, 0.65);
  margin-bottom: 6px;
}

.mf-mock-field{
  font-weight: 800;
  color: var(--mf-dark);
}

#mfRotCard{
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
  will-change: opacity, transform;
}

#mfRotCard.is-fading{
  opacity: 0;
  transform: translateY(6px);
  filter: saturate(0.98);
}

.mf-cats-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--mf-gap-sm);
  margin-top: 16px;
  align-items: stretch;
}

.mf-cat-card{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--mf-shadow);
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mf-cat-card:hover{
  transform: translateY(-2px);
}

.mf-cat-icon,
.mf-vertical-icon{
  color: var(--mf-primary);
  background: rgba(47, 100, 226, 0.10);
}

.mf-cat-icon{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mf-cat-icon svg,
.mf-vertical-icon svg{
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.mf-cat-title{
  font-weight: 800;
  color: var(--mf-dark);
  margin-bottom: 4px;
}

.mf-cat-desc{
  color: rgba(15, 23, 42, 0.65);
  font-size: 14px;
}

.mf-cat-arrow{
  margin-left: auto;
  color: rgba(15, 23, 42, 0.35);
  font-weight: 800;
}

.mf-cat-bg-count{
  position: absolute;
  bottom: -7px;
  left: 2px;
  font-weight: 800;
  line-height: 1;
  color: rgba(47, 100, 226, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-size: clamp(56px, 8vw, 60px);
}

.mf-cat-side,
.mf-cat-body,
.mf-cat-arrow{
  position: relative;
  z-index: 2;
}

.mf-tools-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mf-gap-sm);
  margin-top: 16px;
}

@media (min-width: 900px){
  .mf-tools-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.mf-tool-card{
  background: #fff;
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--mf-shadow);
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mf-tool-card:hover{
  transform: translateY(-2px);
}

.mf-tool-name{
  font-weight: 900;
  color: var(--mf-dark);
  margin-bottom: 6px;
}

.mf-tool-desc{
  color: rgba(15, 23, 42, 0.65);
  margin-bottom: 12px;
}

.mf-tool-cta{
  font-weight: 800;
  color: var(--mf-primary);
  margin-top: auto;
}

.mf-tool-card.is-featured{
  border: 1px solid rgba(212, 180, 107, 0.85);
  box-shadow:
    0 0 0 1px rgba(212, 180, 107, 0.35) inset,
    0 12px 28px rgba(0, 0, 0, 0.06);
}

.mf-feature{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(47, 100, 226, 0.05) 0%, rgba(47, 100, 226, 0.00) 58%),
    linear-gradient(180deg, #f9fbff 0%, #f5f8fe 100%);
  border: 1px solid rgba(212, 180, 107, 0.65);
  border-radius: 22px;
  padding: 34px 28px 26px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.mf-feature-left{
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto 22px;
  text-align: center;
}

.mf-feature-left .mf-section-title{
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(28px, 3.1vw, 33px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mf-feature-left .mf-section-sub{
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  font-size: 18px;
  line-height: 1.25;
  color: rgba(14, 26, 43, 0.72);
}

.mf-feature-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}

@media (min-width: 900px){
  .mf-feature-grid{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.mf-feature-card{
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow:
    0 12px 26px rgba(47, 100, 226, 0.07),
    0 2px 8px rgba(15, 23, 42, 0.03);
  height: 100%;
}

.mf-feature-title{
  font-weight: 800;
  color: var(--mf-dark);
  margin-bottom: 8px;
  font-size: 16px;
}

.mf-feature-desc{
  color: rgba(15, 23, 42, 0.65);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.mf-feature-trust{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 35px;
  padding-top: 16px;
  border-top: 1px solid rgba(47, 100, 226, 0.22);
  color: var(--mf-primary);
  font-weight: 800;
  font-size: 16px;
  text-align: center;
}

.mf-feature-grid .mf-feature-trust{
  grid-column: 1 / -1;
  justify-self: stretch;
}

.mf-feature-trust-icon{
  width: 22px;
  height: 22px;
  stroke: var(--mf-primary);
  stroke-width: 2;
  fill: none;
  flex: 0 0 auto;
}

.mf-feature-security{
  text-align: center;
  color: #224fbf;
  font-weight: 700;
}

.mf-proof{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px){
  .mf-proof{
    grid-template-columns: 1fr 1fr;
  }
}

.mf-proof-card{
  background: #fff;
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--mf-shadow);
}

.mf-proof-title{
  font-weight: 900;
  color: var(--mf-dark);
  margin-bottom: 6px;
}

.mf-proof-desc{
  color: rgba(15, 23, 42, 0.65);
  margin: 0;
}

.mf-home-cta{
  padding: 34px 0 56px;
}

.mf-cta-inner{
  background: #f4f6fb;
  border: 1px solid var(--mf-border);
  border-radius: 22px;
  padding: clamp(18px, 2.2vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--mf-gap-lg);
}

.mf-cta-title{
  margin: 0 0 6px;
  color: var(--mf-dark);
  font-size: 26px;
}

.mf-cta-sub{
  margin: 0;
  color: rgba(15, 23, 42, 0.65);
}

.mf-cta-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.mf-cta-actions .mf-btn-primary,
.mf-cta-actions .mf-btn-secondary{
  width: auto;
  flex: 0 0 auto;
}

.mf-vertical-mark{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.mf-vertical-icon{
  position: absolute;
  top: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.mf-vertical-pattern{
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(47, 100, 226, 0.14), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(47, 100, 226, 0.10), transparent 55%);
  opacity: .9;
}

.mf-vertical-svgpattern{
  position: absolute;
  inset: 0;
  width: 75%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  left: 18%;
  opacity: 0.08;
}

.mf-vertical-count{
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--mf-primary);
}

.mf-tools-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mf-gap-lg);
  align-items: start;
}

.post-type-archive-herramientas .content-area,
.post-type-archive-herramientas .site-main,
.tax-vertical .content-area,
.tax-vertical .site-main,
.search .content-area,
.search .site-main{
  width: 100%;
  max-width: 100%;
}

.post-type-archive-herramientas .is-right-sidebar,
.post-type-archive-herramientas .is-left-sidebar,
.post-type-archive-herramientas .widget-area,
.tax-vertical .is-right-sidebar,
.tax-vertical .is-left-sidebar,
.tax-vertical .widget-area,
.search .is-right-sidebar,
.search .is-left-sidebar,
.search .widget-area{
  display: none !important;
}

@media (min-width: 1100px){
  .mf-tools-layout{
    grid-template-columns: 340px 1fr;
  }

  .mf-tools-side{
    position: sticky;
    top: 110px;
  }
}

.mf-tools-side-card{
  background: #fff;
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--mf-shadow);
}

.mf-tools-filter{
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.mf-tools-filter-title{
  font-weight: 800;
  color: var(--mf-dark);
  margin-bottom: 10px;
}

.mf-tools-filter-links{
  display: grid;
  gap: 8px;
}

.mf-tools-filter-links a{
  text-decoration: none !important;
  color: var(--mf-dark);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(244, 246, 251, 0.7);
}

.mf-tools-filter-links a.is-active{
  border-color: rgba(47, 100, 226, 0.25);
  background: rgba(47, 100, 226, 0.10);
  color: var(--mf-primary);
  font-weight: 800;
}

.mf-tools-hint{
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
}

.mf-tools-filters-summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(244, 246, 251, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 900;
  color: var(--mf-dark);
}

.mf-tools-filters-summary::-webkit-details-marker{
  display: none;
}

.mf-tools-filters-hint{
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.65);
}

.mf-tools-filters-body{
  padding-top: 10px;
}

@media (min-width: 1100px){
  .mf-tools-filters-summary{
    cursor: default;
    background: transparent;
    border: 0;
    padding: 0;
    justify-content: flex-start;
  }

  .mf-tools-filters-hint{
    display: none;
  }

  .mf-tools-filters > summary{
    pointer-events: none;
  }

  .mf-tools-filters > .mf-tools-filters-body{
    display: block;
    padding-top: 0;
  }
}

@media (max-width: 1099px){
  .mf-tools-filters > .mf-tools-filters-body{
    display: none;
  }

  .mf-tools-filters[open] > .mf-tools-filters-body{
    display: block;
  }
}

.mf-seg{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.mf-seg-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none !important;
  color: var(--mf-dark);
  background: rgba(244, 246, 251, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.mf-seg-btn.is-active{
  color: #fff;
  border-color: rgba(47, 100, 226, 0.25);
  background: linear-gradient(135deg, var(--mf-primary) 0%, #1f4fd1 100%);
  box-shadow: 0 14px 28px rgba(47, 100, 226, 0.20);
}

.mf-hero{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  margin: 18px 0 22px;
  padding: clamp(44px, 3vw, 72px) clamp(18px, 2.2vw, 26px) clamp(68px, 0vw, 110px);
  background:
    radial-gradient(900px 420px at 18% 18%, rgba(47, 100, 226, 0.14), transparent 62%),
    radial-gradient(740px 360px at 88% 18%, rgba(47, 100, 226, 0.10), transparent 58%),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.10);
}

.mf-hero .mf-hero_bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .95;
  background:
    radial-gradient(900px 520px at 70% 10%, rgba(255, 255, 255, 0.70), transparent 60%),
    radial-gradient(700px 460px at 92% 30%, rgba(47, 100, 226, 0.12), transparent 55%),
    radial-gradient(2px 2px at 30px 40px, rgba(47, 100, 226, 0.55) 0 1px, transparent 2px),
    radial-gradient(2px 2px at 140px 90px, rgba(47, 100, 226, 0.55) 0 1px, transparent 2px),
    radial-gradient(2px 2px at 220px 50px, rgba(47, 100, 226, 0.55) 0 1px, transparent 2px),
    radial-gradient(2px 2px at 320px 120px, rgba(47, 100, 226, 0.55) 0 1px, transparent 2px);
  background-size: auto, auto, 120px 120px, 120px 120px, 120px 120px, 120px 120px;
}

.mf-hero .mf-hero_inner{
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.mf-hero .mf-hero_title{
  color: var(--mf-primary);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 12px;
  font-size: clamp(34px, 3.4vw, 56px);
}

.mf-hero .mf-hero_sub{
  margin: 0 0 22px;
  color: rgba(15, 23, 42, 0.70);
  font-size: 16px;
}

.mf-hero .mf-hero_search{
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.mf-hero .mf-hero_icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(47, 100, 226, 0.12);
  color: var(--mf-primary);
  font-size: 18px;
}

.mf-hero .mf-hero_input{
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 14px 6px !important;
  margin: 0 !important;
  font-size: 16px;
  color: var(--mf-dark);
}

.mf-hero .mf-hero_btn{
  border: 0 !important;
  background: linear-gradient(135deg, var(--mf-primary) 0%, #1f4fd1 100%) !important;
  color: #fff !important;
  font-weight: 900;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(47, 100, 226, 0.22);
}

.mf-hero .mf-hero_count{
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--mf-primary);
}

.mf-about-cards,
.mf-about-verticals{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 8px;
}

.mf-about-card,
.mf-about-vertical{
  background: #fff;
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--mf-shadow);
}

.mf-about-card-title,
.mf-about-vertical-title,
.mf-about-step-title{
  font-weight: 800;
  color: var(--mf-dark);
  margin-bottom: 8px;
}

.mf-about-card-text,
.mf-about-step-text,
.mf-about-vertical p{
  margin: 0;
  color: rgba(15, 23, 42, 0.65);
}

.mf-about-steps{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.mf-about-step{
  background: #fff;
  border: 1px solid var(--mf-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--mf-shadow);
}

.mf-about-step-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(47, 100, 226, 0.10);
  color: var(--mf-primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.mf-about-cta{
  margin-top: 28px;
}

.mf-about-cta-inner{
  background: #f4f6fb;
  border: 1px solid var(--mf-border);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mf-about-cta-title{
  margin: 0 0 6px;
  color: var(--mf-dark);
  font-size: 28px;
}

.mf-about-cta-text{
  margin: 0;
  color: rgba(15, 23, 42, 0.65);
}

.mf-about-cta-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.mf-about-cta-actions .mf-btn-primary,
.mf-about-cta-actions .mf-btn-secondary{
  width: auto;
  flex: 0 0 auto;
}

.mf-next-panel{
  margin: 22px 0 30px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(47, 100, 226, 0.14);
  background:
    radial-gradient(circle at top right, rgba(47, 100, 226, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 251, 0.96));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.mf-next-panel-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 18px;
}

.mf-next-panel-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--mf-primary);
  background: rgba(47, 100, 226, 0.10);
  border: 1px solid rgba(47, 100, 226, 0.15);
}

.mf-next-panel-title{
  margin: 0 0 8px;
  color: var(--mf-dark);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.mf-next-panel-sub{
  margin: 0 auto 16px;
  max-width: 62ch;
  color: rgba(15, 23, 42, 0.65);
  line-height: 1.65;
  text-align: center;
}

.mf-next-panel-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--mf-primary) 0%, #1f4fd1 100%);
  box-shadow: 0 14px 28px rgba(47, 100, 226, 0.22);
  transition: transform .18s ease, filter .18s ease;
}

.mf-next-panel-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.mf-next-panel-preview{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px){
  .mf-next-panel-preview{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.mf-next-panel-card{
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.mf-next-panel-line{
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 100, 226, 0.16), rgba(47, 100, 226, 0.06));
  margin-bottom: 10px;
}

.mf-next-panel-line:last-child{
  margin-bottom: 0;
}

.mf-w-100{ width: 100%; }
.mf-w-85{ width: 85%; }
.mf-w-82{ width: 82%; }
.mf-w-78{ width: 78%; }
.mf-w-70{ width: 70%; }
.mf-w-65{ width: 65%; }
.mf-w-60{ width: 60%; }

.mf-relacionadas{
  margin-top: 48px;
}

.mf-relacionadas-title{
  font-size: 26px;
  font-weight: 800;
  color: var(--mf-dark);
  margin-bottom: 18px;
}

.mf-embed-mode{
  background: #fff;
}

.mf-embed-mode .site-header,
.mf-embed-mode .site-footer,
.mf-embed-mode #site-navigation,
.mf-embed-mode .main-navigation,
.mf-embed-mode .inside-header,
.mf-embed-mode .inside-navigation,
.mf-embed-mode .generate-back-to-top,
.mf-embed-mode .comments-area,
.mf-embed-mode .post-navigation,
.mf-embed-mode .widget-area,
.mf-embed-mode .right-sidebar,
.mf-embed-mode .left-sidebar,
.mf-embed-mode .sidebar,
.mf-embed-mode .site-info,
.mf-embed-mode .footer-widgets,
.mf-embed-mode .entry-meta,
.mf-embed-mode .mf-breadcrumbs,
.mf-embed-mode .rank-math-breadcrumb,
.mf-embed-mode nav[aria-label="Breadcrumbs"]{
  display: none !important;
}

.mf-embed-mode .site,
.mf-embed-mode .site-content,
.mf-embed-mode .content-area,
.mf-embed-mode .site-main,
.mf-embed-mode .inside-article,
.mf-embed-mode .entry-content{
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.mf-embed-mode .grid-container,
.mf-embed-mode .container,
.mf-embed-mode .inside-article{
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mf-embed-mode .entry-header,
.mf-embed-mode h1.entry-title,
.mf-embed-mode .mf-tool-hero,
.mf-embed-mode .mf-tool-header,
.mf-embed-mode .mf-security-bar,
.mf-embed-mode .mf-tool-intro{
  display: none !important;
}

.mf-embed-mode .mf-layout{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.mf-embed-mode .mf-card,
.mf-embed-mode .mf-side-card{
  border-radius: 16px;
}

.mf-embed-cta{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.mf-embed-cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mf-embed-cta-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.65);
}

.mf-embed-cta-text strong{
  font-size: 14px;
  color: var(--mf-dark);
}

.mf-embed-cta-btn{
  background: var(--mf-primary);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .2s ease;
}

.mf-embed-cta-btn:hover{
  background: var(--mf-embed-primary-strong, var(--mf-primary));
  transform: translateY(-1px);
}

.mf-embed-cta--brand{
  border-top: 0;
  padding-top: 4px;
}

.mf-embed-cta--brand .mf-embed-cta-inner{
  justify-content: flex-start;
}

.mf-embed-cta--brand .mf-embed-cta-text{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(var(--mf-embed-primary-rgb, 47,100,226), 0.06);
  border: 1px solid rgba(var(--mf-embed-primary-rgb, 47,100,226), 0.12);
}

.mf-embed-cta--brand .mf-embed-cta-text strong{
  font-size: 13px;
  color: var(--mf-primary);
}

.mf-embed-cta--brand .mf-embed-cta-text span{
  font-size: 12px;
  line-height: 1.45;
}

.mf-embed-mode .mf-home,
.mf-embed-mode .mf-home-section,
.mf-embed-mode .mf-home-container,
.mf-embed-mode .mf-embed-shell{
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.mf-embed-mode .mf-home-section{
  padding: 0 !important;
}

.mf-embed-mode .mf-home-container{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mf-embed-mode .mf-layout--single.mf-layout--embed{
  display: block !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mf-embed-mode .mf-layout--single.mf-layout--embed > .mf-main{
  width: 100%;
  max-width: 100%;
}

.mf-embed-mode .mf-tool{
  width: 100%;
}

.mf-embed-mode .mf-tool .mf-layout.mf-app.mf-app--embed{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  margin: 0;
}

.mf-embed-mode .mf-tool .mf-layout.mf-app.mf-app--embed > .mf-main,
.mf-embed-mode .mf-tool .mf-layout.mf-app.mf-app--embed > .mf-side{
  width: 100%;
  min-width: 0;
}

.mf-embed-mode .mf-tool .mf-layout.mf-app.mf-app--embed > .mf-main{
  order: 1;
  gap: 12px;
}

.mf-embed-mode .mf-tool .mf-layout.mf-app.mf-app--embed > .mf-side{
  order: 2;
  position: static !important;
  top: auto !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mf-embed-mode .mf-tool .mf-card,
.mf-embed-mode .mf-tool .mf-side-card{
  padding: 16px;
  border-radius: 16px;
  gap: 14px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.05);
}

.mf-embed-mode .mf-tool .mf-btn-primary{
  background: linear-gradient(135deg, var(--mf-primary) 0%, var(--mf-embed-primary-strong, var(--mf-primary)) 100%);
}

.mf-embed-mode .mf-tool .mf-card-title,
.mf-embed-mode .mf-tool .mf-side-card-title{
  font-size: 16px;
}

.mf-embed-mode .mf-tool .mf-form-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mf-embed-mode .mf-tool .mf-results-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mf-embed-mode .mf-tool .mf-result{
  min-width: 0;
  background: rgba(var(--mf-embed-primary-rgb, 47,100,226), 0.05);
  border-color: rgba(var(--mf-embed-primary-rgb, 47,100,226), 0.12);
}

.mf-embed-mode .mf-tool .mf-result span{
  color: rgba(var(--mf-embed-primary-rgb, 47,100,226), 0.72);
}

.mf-embed-mode .mf-tool .mf-result strong{
  font-size: 17px;
  color: var(--mf-dark);
}

.mf-embed-mode .mf-tool .mf-side-card{
  background: linear-gradient(135deg, var(--mf-primary) 0%, var(--mf-embed-primary-strong, var(--mf-primary)) 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(var(--mf-embed-primary-rgb, 47,100,226), 0.18);
}

.mf-embed-mode .mf-tool .mf-side-value{
  font-size: clamp(30px, 5vw, 42px);
  white-space: normal;
  overflow-wrap: anywhere;
}

.mf-embed-mode .mf-tool .mf-side-metrics{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mf-embed-mode .mf-tool .mf-side-metric{
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  min-width: 0;
}

.mf-embed-mode .mf-tool .mf-table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mf-embed-mode .mf-tool .mf-table{
  min-width: 560px;
}

.mf-embed-mode .mf-tool [data-mf-html-out="chart"],
.mf-embed-mode .mf-tool [data-mf-html-out="extra"],
.mf-embed-mode .mf-tool [data-mf-html-out="sideChart"]{
  width: 100%;
  min-width: 0;
}

.mf-embed-mode .mf-tool .mf-chart-wrap,
.mf-embed-mode .mf-tool .mf-extra-wrap,
.mf-embed-mode .mf-tool .mf-side-chart-outer,
.mf-embed-mode .mf-tool .mf-side-insight-outer{
  width: 100%;
  min-width: 0;
}

.mf-embed-mode.mf-embed-theme-clean .mf-tool .mf-side-card,
.mf-embed-mode.mf-embed-theme-clean .mf-tool .mf-side-card--embed-summary{
  background: #ffffff;
  color: var(--mf-dark);
  box-shadow: 0 14px 30px rgba(15,23,42,0.05);
}

.mf-embed-mode.mf-embed-theme-clean .mf-tool .mf-side-card-title,
.mf-embed-mode.mf-embed-theme-clean .mf-tool .mf-side-label,
.mf-embed-mode.mf-embed-theme-clean .mf-tool .mf-side-mini,
.mf-embed-mode.mf-embed-theme-clean .mf-tool .mf-side-value,
.mf-embed-mode.mf-embed-theme-clean .mf-tool .mf-side-note{
  color: var(--mf-dark);
}

.mf-embed-mode.mf-embed-theme-clean .mf-tool .mf-side-metric{
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.08);
}

.mf-embed-mode.mf-embed-theme-clean .mf-embed-cta--brand .mf-embed-cta-text{
  background: rgba(15,23,42,0.03);
  border-color: rgba(15,23,42,0.08);
}

.mf-embed-mode.mf-embed-theme-clean .mf-embed-cta--brand .mf-embed-cta-text strong{
  color: var(--mf-dark);
}

.mf-embed-mode.mf-embed-theme-clean .mf-embed-cta-btn{
  box-shadow: none;
}

.mf-embed-mode .mf-embed-cta{
  margin-top: 12px;
  padding-top: 12px;
}

.mf-embed-mode .mf-embed-cta-inner{
  align-items: flex-start;
}

@media (max-width: 860px){
  .mf-embed-mode .mf-tool .mf-form-grid,
  .mf-embed-mode .mf-tool .mf-results-grid,
  .mf-embed-mode .mf-tool .mf-side-metrics{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .mf-embed-mode .mf-tool .mf-card,
  .mf-embed-mode .mf-tool .mf-side-card{
    padding: 14px;
    border-radius: 14px;
  }

  .mf-embed-mode .mf-tool .mf-table{
    min-width: 520px;
    font-size: 13px;
  }

  .mf-embed-mode .mf-tool .mf-side-value{
    font-size: 32px;
  }
}

@media (max-width: 1024px){
  .mf-about-cards,
  .mf-about-verticals{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .mf-hero{
    text-align: center;
    padding-bottom: 90px;
  }

  .mf-hero .mf-hero_inner{
    margin: 0 auto;
  }

  .mf-hero .mf-hero_search{
    margin: 0 auto;
    grid-template-columns: 44px 1fr;
  }

  .mf-hero .mf-hero_btn{
    grid-column: 1 / -1;
    width: 100%;
  }
}

.single-herramientas .mf-side-card--mobile-summary{
  display: none;
}

.single-herramientas .mf-side-card--desktop-summary{
  display: flex;
}

@media (max-width: 768px){
  .single-herramientas .mf-tool .mf-layout.mf-app:not(.mf-app--embed) > .mf-side{
    position: static !important;
    top: auto !important;
  }

  .single-herramientas .mf-side-card--desktop-summary{
    display: none !important;
  }

  .single-herramientas .mf-side-card--mobile-summary{
    display: flex !important;
  }

  .mf-tool-block{
    padding: 18px;
  }

  .mf-home-hero{
    padding: 30px 0 24px;
  }

  .mf-home-search-box{
    padding: 18px;
    border-radius: 18px;
  }

  .mf-home-search-form{
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .mf-home-search-btn{
    grid-column: 1 / -1;
    width: 100%;
  }

  .mf-feature{
    padding: 26px 18px 20px;
    border-radius: 18px;
  }

  .mf-feature-left .mf-section-title{
    font-size: 28px;
  }

  .mf-feature-left .mf-section-sub{
    font-size: 15px;
  }

  .mf-about-cards,
  .mf-about-steps,
  .mf-about-verticals{
    grid-template-columns: 1fr;
  }

  .mf-about-cta-inner{
    align-items: flex-start;
  }

  .mf-about-cta-actions{
    width: 100%;
  }

  .mf-about-cta-actions a{
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   Cierre de migración desde CSS adicional
   Reglas que aún no estaban cubiertas en el theme
========================= */

.mf-faq-content ul,
.mf-faq-content ol{
  margin: 8px 0 16px 22px;
}

.mf-faq-content li{
  margin-bottom: 8px;
  line-height: 1.65;
}

.wp-block-accordion-item.is-open .wp-block-accordion-panel{
  padding-top: 18px;
}

.wp-block-accordion-panel p:last-child{
  margin-bottom: 0;
}

.mf-cat-icon svg path,
.mf-vertical-icon svg path{
  stroke: currentColor;
}

@media (prefers-reduced-motion: reduce){
  #mfRotCard{
    transition: none;
  }

  #mfRotCard.is-fading{
    transform: none;
  }
}

.mf-feature::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0) 52%);
  opacity: .9;
}

.mf-feature::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: radial-gradient(rgba(47, 100, 226, 0.22) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
}

.mf-feature-card{
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.mf-tools-side-title{
  font-weight: 900;
  color: var(--mf-dark);
  margin-bottom: 12px;
}

.mf-tools-search{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mf-tools-search-input{
  flex: 1 1 260px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.mf-seg-btn:hover{
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
}

.mf-tools-grid .mf-tool-desc{
  min-height: 44px;
}

.mf-tools-grid .mf-tool-cta{
  margin-top: auto;
}

.mf-hero .mf-hero_input::placeholder{
  color: rgba(15, 23, 42, 0.45);
}

.mf-hero .mf-hero_btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.mf-next-cta{
  display: flex;
  justify-content: center;
  margin: 18px 0 26px;
}

.mf-next-cta-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 14px;
  color: var(--mf-primary);
  text-decoration: none;
  background: rgba(47, 100, 226, 0.08);
  border: 1px solid rgba(47, 100, 226, 0.18);
  border-radius: 999px;
  transition: all .2s ease;
}

.mf-next-cta-link:hover{
  background: rgba(47, 100, 226, 0.14);
  transform: translateY(-1px);
}

.mf-next-cta-arrow{
  font-size: 16px;
}

#mfcm_sexo,
#mfcm_actividad,
#mfcm_objetivo{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  transition: all .2s ease;
}

#mfcm_sexo:focus,
#mfcm_actividad:focus,
#mfcm_objetivo:focus{
  outline: none;
  border-color: var(--mf-primary);
  box-shadow: 0 0 0 3px rgba(47, 100, 226, 0.15);
}

.mf-chart-card{
  overflow: hidden;
}

.mf-chart-full{
  grid-column: 1 / -1;
}

.mfcm-chart-wrap{
  margin-top: 4px;
}

.mfcm-chart-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mfcm-chart-head-left,
.mfcm-chart-head-right{
  font-size: 13px;
  color: rgba(15, 23, 42, 0.65);
}

.mfcm-chart-area{
  position: relative;
  width: 100%;
  min-height: 340px;
}

.mfce-mini-btn--edit{
  color: #2563eb;
  border-color: rgba(180, 35, 24, 0.18);
}

.mfce-mini-btn--danger{
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.18);
}

.mf-ce-cats-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Ajustes heredados de mobile y header ligero */
@media (max-width: 768px){
  .site-header{
    position: relative;
    background: #fff !important;
  }

  .site-header a,
  .main-navigation a{
    color: var(--mf-dark) !important;
  }

  .main-navigation,
  .main-nav,
  .inside-navigation,
  .inside-header{
    background: #fff !important;
  }

  .site-content{
    padding-top: 0 !important;
  }

  .mf-hero{
    padding: 88px 16px 110px;
    min-height: auto;
  }

  .mf-hero-inner{
    max-width: 100%;
  }

  .mf-hero h1{
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .mf-hero-subtitle,
  .mf-subtitle{
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .mf-search{
    max-width: 100%;
    padding: 6px;
    border-radius: 16px;
  }

  .mf-search input{
    font-size: 16px;
    padding: 14px 8px;
  }

  .mf-search-btn{
    font-size: 16px;
    padding: 14px 18px;
    border-radius: 12px;
  }

  .mf-count{
    margin-top: 22px;
    font-size: 16px;
  }

  .mf-hero-wave{
    height: 90px;
  }
}

/* ==========================================================
   MetricFlow - Soluciones embed / empresas
========================================================== */

.mf-solutions-page{
  max-width: var(--mf-max);
  margin: 0 auto;
  padding: 0 var(--mf-x) 56px;
}

.mf-sol-section{
  padding: 20px 0;
}

.mf-sol-section__head{
  max-width: 760px;
  margin: 0 0 18px;
}

.mf-sol-section__head h2{
  margin: 0 0 10px;
  color: var(--mf-dark);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mf-sol-section__head p{
  margin: 0;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.7;
}

.mf-sol-hero{
  margin: 18px 0 26px;
  padding: clamp(34px, 4vw, 52px);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top right, rgba(47, 100, 226, 0.10), transparent 30%),
    radial-gradient(circle at left top, rgba(47, 100, 226, 0.06), transparent 34%),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.07);
}

.mf-sol-hero__inner{
  max-width: 860px;
}

.mf-sol-hero__badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--mf-primary);
  background: rgba(47, 100, 226, 0.10);
  border: 1px solid rgba(47, 100, 226, 0.14);
}

.mf-sol-hero__title{
  margin: 0 0 14px;
  color: var(--mf-dark);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.mf-sol-hero__text{
  margin: 0 0 18px;
  max-width: 68ch;
  color: rgba(15, 23, 42, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.mf-sol-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.mf-sol-hero__actions .mf-btn-primary,
.mf-sol-hero__actions .mf-btn-secondary{
  width: auto !important;
  flex: 0 0 auto;
}

.mf-sol-hero__metrics{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.mf-sol-kpi{
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 14px;
}

.mf-sol-kpi__value{
  color: var(--mf-dark);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 4px;
}

.mf-sol-kpi__label{
  color: rgba(15, 23, 42, 0.65);
  font-size: 13px;
}

.mf-sol-how__grid,
.mf-sol-grid{
  display: grid;
  gap: 16px;
}

.mf-sol-grid--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mf-sol-grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mf-sol-grid--4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mf-sol-how__grid{
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
}

.mf-sol-how__grid .mf-sol-card{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mf-sol-how__grid .mf-sol-card h3{
  margin: 0 0 14px;
  text-align: center;
}

.mf-sol-how__grid .mf-sol-card p{
  margin: 0 0 12px;
  text-align: center;
}

.mf-sol-how__grid .mf-sol-card p:last-child{
  margin-bottom: 0;
}

.mf-sol-card,
.mf-sol-code,
.mf-sol-price-card{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.mf-sol-card h3,
.mf-sol-price-card h3{
  margin: 0 0 8px;
  color: var(--mf-dark);
  font-size: 22px;
  line-height: 1.2;
}

.mf-sol-card p,
.mf-sol-price-card p{
  margin: 0;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.7;
}

.mf-sol-code pre{
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: 16px;
  background: #0e1a2b;
  color: #f8fafc;
  font-size: 14px;
}

.mf-sol-list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mf-sol-list__item{
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  color: var(--mf-dark);
  font-weight: 700;
}

.mf-sol-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--mf-primary);
  font-weight: 800;
  text-decoration: none;
}

.mf-sol-link:hover{
  text-decoration: underline;
}

.mf-sol-price-card__tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--mf-primary);
  background: rgba(47, 100, 226, 0.10);
  border: 1px solid rgba(47, 100, 226, 0.14);
}

.mf-sol-price-card--featured{
  border-color: rgba(47, 100, 226, 0.24);
  box-shadow:
    0 0 0 1px rgba(47, 100, 226, 0.08) inset,
    0 18px 40px rgba(15, 23, 42, 0.05);
}

.mf-sol-faq__items{
  display: grid;
  gap: 12px;
}

.mf-sol-faq__items details{
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.mf-sol-faq__items summary{
  cursor: pointer;
  list-style: none;
  padding: 20px;
  font-weight: 800;
  color: var(--mf-dark);
}

.mf-sol-faq__items summary::-webkit-details-marker{
  display: none;
}

.mf-sol-faq__items p{
  margin: 0;
  padding: 0 20px 20px;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.7;
}

.mf-sol-cta{
  padding: 22px 0 0;
}

.mf-sol-cta__inner{
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(47, 100, 226, 0.14);
  background:
    radial-gradient(circle at top right, rgba(47, 100, 226, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 246, 251, 0.98));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.mf-sol-cta__inner h2{
  margin: 0 0 10px;
  color: var(--mf-dark);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.mf-sol-cta__inner > p{
  margin: 0 0 18px;
  max-width: 64ch;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.7;
}

.mf-sol-form{
  display: grid;
  gap: 14px;
}

.mf-sol-form__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mf-sol-form__field{
  display: grid;
  gap: 6px;
}

.mf-sol-form__field--full{
  grid-column: 1 / -1;
}

.mf-sol-form__field label{
  font-size: 13px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
}

.mf-sol-form__field input,
.mf-sol-form__field textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--mf-dark);
  box-sizing: border-box;
}

.mf-sol-form__field input:focus,
.mf-sol-form__field textarea:focus{
  outline: none;
  border-color: var(--mf-primary);
  box-shadow: 0 0 0 3px rgba(47, 100, 226, 0.12);
}

.mf-sol-form__field textarea{
  min-height: 150px;
  resize: vertical;
}

.mf-sol-form__actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mf-sol-form__note{
  font-size: 13px;
  color: rgba(15, 23, 42, 0.58);
}

.mf-sol-form__legal{
  font-size: 12px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.64);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.mf-sol-form__legal a{
  color: var(--mf-primary);
  font-weight: 700;
  text-decoration: none;
}

.mf-sol-form__legal a:hover{
  text-decoration: underline;
}

.mf-sol-form__status{
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.mf-sol-form__status.is-visible{
  display: block;
}

.mf-sol-form__status--ok{
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: #047857;
}

.mf-sol-form__status--error{
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.14);
  color: #b91c1c;
}

.mf-sol-hp{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 1024px){
  .mf-sol-grid--4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mf-sol-grid--3,
  .mf-sol-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .mf-sol-how__grid,
  .mf-sol-grid--2,
  .mf-sol-grid--3,
  .mf-sol-grid--4,
  .mf-sol-list,
  .mf-sol-form__grid,
  .mf-sol-hero__metrics{
    grid-template-columns: 1fr;
  }

  .mf-sol-hero{
    padding: 26px 18px;
  }

  .mf-sol-cta__inner{
    padding: 22px 18px;
  }
}

/* ==========================================================
   MetricFlow - Unified Header
========================================================== */

.mf-site-header-shell{
  position: sticky;
  top: 10px;
  z-index: 1000;
  padding: 8px 16px 0;
  pointer-events: none;
}

.mf-site-header-shell + .site-content{
  padding-top: 84px;
}

.mf-site-header-shell__inner{
  max-width: calc(var(--mf-max) + 44px);
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(251,252,255,0.96), rgba(242,246,255,0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
  overflow: hidden;
}

.mf-site-header-shell .site-header{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.mf-site-header-shell .inside-header{
  max-width: var(--mf-max);
  margin: 0 auto;
  padding: 7px 18px !important;
}

.mf-site-header-shell .main-navigation,
.mf-site-header-shell .inside-navigation,
.mf-site-header-shell .main-nav{
  background: transparent !important;
}

.mf-site-header-shell .main-navigation .sub-menu{
  display: none !important;
}

.mf-site-header-shell .main-navigation .main-nav > ul{
  align-items: center;
}

.mf-site-header-shell .main-navigation .main-nav > ul > li > a{
  border-radius: 12px;
  font-weight: 600;
  color: var(--mf-dark);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.main-navigation .main-nav ul li a{
  padding-left: 10px;
  padding-right: 10px;
  line-height: 50px;
}

.mf-site-header-shell .main-navigation .main-nav > ul > li > a:hover{
  background: rgba(47, 100, 226, 0.10);
  color: var(--mf-primary);
}

.mf-site-header-shell .main-navigation .main-nav > ul > li.mf-menu-item-simulators > a{
  background: transparent;
  color: var(--mf-dark) !important;
  box-shadow: none;
}

.mf-site-header-shell .main-navigation .main-nav > ul > li.mf-menu-item-simulators > a:hover{
  background: rgba(47, 100, 226, 0.10);
  color: var(--mf-primary) !important;
  transform: none;
}

.mf-site-header-shell .main-navigation .main-nav > ul > li.mf-menu-item-simulators:hover > a,
.mf-site-header-shell .main-navigation .main-nav > ul > li.mf-menu-item-simulators:focus-within > a{
  background: rgba(47, 100, 226, 0.10);
  color: var(--mf-primary) !important;
}

.mf-site-subnav{
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height .22s ease, opacity .18s ease, transform .18s ease, border-color .18s ease;
  border-top-color: transparent;
}

.mf-site-subnav__inner{
  max-width: var(--mf-max);
  margin: 0 auto;
  padding: 6px 18px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.mf-site-header-shell__inner:has(.mf-menu-item-simulators:hover) .mf-site-subnav,
.mf-site-header-shell__inner:has(.mf-menu-item-simulators:focus-within) .mf-site-subnav,
.mf-site-header-shell__inner:has(.mf-site-subnav:hover) .mf-site-subnav,
.mf-site-header-shell__inner:has(.mf-site-subnav:focus-within) .mf-site-subnav{
  max-height: 220px;
  opacity: 1;
  overflow: visible;
  transform: translateY(0);
  border-top-color: rgba(15, 23, 42, 0.06);
}

.mf-site-subnav__link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 12px;
  text-decoration: none !important;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(47, 100, 226, 0.10);
  color: var(--mf-dark);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.mf-site-subnav__link:hover{
  transform: translateY(-1px);
  border-color: rgba(47, 100, 226, 0.22);
  background: rgba(255,255,255,1);
  box-shadow: 0 8px 20px rgba(47,100,226,0.08);
}

.mf-site-subnav__link.is-active{
  background: linear-gradient(135deg, var(--mf-primary) 0%, #1f4fd1 100%);
  border-color: rgba(47, 100, 226, 0.35);
  color: #fff;
}

.mf-site-subnav__icon{
  width: 18px;
  height: 18px;
  min-width: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(47, 100, 226, 0.08);
  color: var(--mf-primary);
}

.mf-site-subnav__link.is-active .mf-site-subnav__icon{
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.mf-site-subnav__icon svg{
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mf-site-subnav__label{
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

body.admin-bar .mf-site-header-shell{
  top: 42px;
}

@media (min-width: 980px){
  .mf-tool .mf-layout.mf-app > .mf-side{
    top: 132px !important;
  }

  body.admin-bar .mf-tool .mf-layout.mf-app > .mf-side{
    top: 164px !important;
  }

  body.admin-bar .mf-site-header-shell + .site-content{
    padding-top: 116px;
  }
}

@media (max-width: 1100px){
  .mf-site-header-shell{
    top: 0;
    padding: 0;
    position: relative;
  }

  .mf-site-header-shell__inner{
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 767px){
  .mf-site-subnav{
    display: none;
  }

  .mf-site-header-shell{
    position: relative;
    top: 0;
    padding: 0;
  }

  body.admin-bar .mf-site-header-shell{
    top: 0;
  }
}

@media (max-width: 767px){
  .mf-site-header-shell{
    padding: 0 !important;
    position: relative !important;
    top: 0 !important;
  }

  .mf-site-header-shell__inner{
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .mf-site-header-shell .inside-header{
    padding: 10px 16px !important;
  }

  .mf-site-subnav,
  .mf-site-subnav__inner,
  .mf-site-subnav__link{
    display: none !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    transform: none !important;
  }
}

.mf-pagination{
  margin-top: 24px;
}

.mf-pagination .page-numbers{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mf-pagination .page-numbers li{
  margin: 0;
  padding: 0;
}

.mf-pagination .page-numbers a,
.mf-pagination .page-numbers span{
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(47, 100, 226, 0.14);
  background: #fff;
  color: #1f2a44;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(14, 30, 72, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.mf-pagination .page-numbers a:hover{
  transform: translateY(-1px);
  border-color: rgba(47, 100, 226, 0.24);
  box-shadow: 0 14px 28px rgba(14, 30, 72, 0.09);
}

.mf-pagination .page-numbers .current{
  background: linear-gradient(135deg, var(--mf-primary) 0%, #1f4fd1 100%);
  border-color: rgba(47, 100, 226, 0.36);
  color: #fff;
  box-shadow: 0 14px 28px rgba(47, 100, 226, 0.2);
}

.mf-pagination .page-numbers .dots{
  min-width: auto;
  padding: 0 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 767px){
  .mf-pagination .page-numbers{
    gap: 8px;
  }

  .mf-pagination .page-numbers a,
  .mf-pagination .page-numbers span{
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 13px;
  }
}

