/* Shared styles for the native Elementor Blog templates. No header/footer rules. */
@font-face {
  font-family: "FM Blog Inter";
  src: url("fonts/Inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "FM Blog Inter";
  src: url("fonts/Inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "FM Blog Inter";
  src: url("fonts/Inter-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.fm-blog-view,
.fm-blog-card,
.fm-blog-single {
  --fm-blog-ink: #151619;
  --fm-blog-muted: #60656d;
  --fm-blog-line: #e6e8ec;
  --fm-blog-brand: #0032c8;
  --fm-blog-surface: #f5f6f8;
  color: var(--fm-blog-ink);
  font-family: "FM Blog Inter", Arial, sans-serif;
  font-weight: 400;
  --kit-widget-spacing: 0px;
  --widgets-spacing: 0px 0px;
}

.fm-blog-view.e-con,
.fm-blog-card.e-con,
.fm-blog-single.e-con,
.fm-blog-card .fm-blog-card-copy.e-con,
.fm-blog-card .fm-blog-card-meta.e-con,
.fm-blog-single .fm-blog-single-header.e-con {
  --container-widget-width: 100%;
  --container-widget-flex-grow: 0;
  --container-widget-align-self: stretch;
  --flex-direction: column;
  --flex-wrap: nowrap;
  --justify-content: flex-start;
  --align-items: stretch;
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  --padding-block-start: 0px;
  --padding-inline-end: 0px;
  --padding-block-end: 0px;
  --padding-inline-start: 0px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.fm-blog-view .elementor-widget.elementor-element,
.fm-blog-card .elementor-widget.elementor-element,
.fm-blog-single .elementor-widget.elementor-element {
  margin-block-end: 0;
  font-family: inherit;
}
.fm-blog-view :where(.elementor-heading-title, .elementor-text-editor),
.fm-blog-card :where(.elementor-heading-title, .elementor-text-editor),
.fm-blog-single :where(.elementor-heading-title, .elementor-text-editor) {
  font-family: inherit;
}
.fm-blog-view .elementor-widget-container :where(p, span, h1, h2, h3, h4, h5, h6),
.fm-blog-card .elementor-widget-container :where(p, span, h1, h2, h3, h4, h5, h6),
.fm-blog-single .elementor-widget-container :where(p, span, h1, h2, h3, h4, h5, h6) {
  font-family: inherit;
}

.fm-blog-view.e-con,
.fm-blog-single.e-con {
  width: calc(100% - 96px);
  max-width: 1248px;
  margin-inline: auto;
  padding: 26px 0 66px;
  gap: 0;
}

.fm-blog-view .fm-blog-sr-only,
.fm-blog-single .fm-blog-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.fm-blog-view :where(a, button):focus-visible,
.fm-blog-single :where(a, button):focus-visible,
a.fm-blog-card:focus-visible {
  outline: 2px solid var(--fm-blog-brand);
  outline-offset: 5px;
}

.fm-blog-view .fm-blog-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 30px;
  width: 100%;
  margin: 0 0 36px;
  border-bottom: 1px solid var(--fm-blog-line);
}
.fm-blog-view .fm-blog-topic {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 60px;
  padding: 15px 0;
  color: var(--fm-blog-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
}
.fm-blog-view .fm-blog-topic[aria-current="page"] { color: var(--fm-blog-ink); }
.fm-blog-view .fm-blog-topic[aria-current="page"]::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--fm-blog-brand);
  content: "";
}
.fm-blog-view .fm-blog-topic:hover { color: var(--fm-blog-brand); text-decoration: none; }

/* Set the Loop Grid widget's native columns to 3 / 2 / 1 as well. */
.fm-blog-view .fm-blog-loop { width: 100%; }
.fm-blog-view .fm-blog-loop .elementor-loop-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 48px;
}
.fm-blog-view .fm-blog-loop .e-loop-item { display: flex; min-width: 0; }
.fm-blog-card.e-con {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  gap: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
a.fm-blog-card:where(:hover, :focus, :visited) { color: var(--fm-blog-ink); text-decoration: none; }
.fm-blog-card .fm-blog-card-cover { display: block; width: 100%; margin: 0; }
.fm-blog-card .fm-blog-card-cover .elementor-widget-container { display: block; width: 100%; }
.fm-blog-card .fm-blog-card-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}
.fm-blog-card .fm-blog-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 22px 0 0;
  gap: 0;
}
.fm-blog-card .fm-blog-card-category.elementor-widget,
.fm-blog-card .fm-blog-card-category .elementor-heading-title {
  margin: 0;
  color: var(--fm-blog-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.fm-blog-card .fm-blog-card-title.elementor-widget { margin: 10px 0 12px; }
.fm-blog-card .fm-blog-card-title .elementor-heading-title {
  margin: 0;
  color: var(--fm-blog-ink);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
  text-wrap: pretty;
  text-decoration: none;
}
.fm-blog-card .fm-blog-card-excerpt.elementor-widget {
  margin: 0 0 20px;
  color: var(--fm-blog-muted);
  font-size: 14px;
  line-height: 1.65;
}
.fm-blog-card .fm-blog-card-excerpt p { margin: 0; }
.fm-blog-card .fm-blog-card-meta.e-con {
  --flex-direction: row;
  --flex-wrap: wrap;
  --justify-content: space-between;
  --align-items: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: 100%;
  margin-top: auto;
  padding: 3px 0 0;
}
.fm-blog-card .fm-blog-card-date { width: auto; color: var(--fm-blog-muted); font-size: 12px; line-height: 1.5; }
.fm-blog-card .fm-blog-card-more { width: auto; color: var(--fm-blog-ink); font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.fm-blog-card :where(.fm-blog-card-date, .fm-blog-card-more) p { margin: 0; }
.fm-blog-card .fm-blog-card-more .fm-blog-arrow { display: inline-block; margin-left: 7px; transition: transform 150ms ease; }
.fm-blog-card:focus-visible .fm-blog-card-title .elementor-heading-title { color: var(--fm-blog-brand); text-decoration: none; }
@media (hover: hover) {
  .fm-blog-card:hover .fm-blog-card-title .elementor-heading-title,
  .fm-blog-card:hover .fm-blog-card-more { color: var(--fm-blog-brand); text-decoration: none; }
  .fm-blog-card:hover .fm-blog-card-more .fm-blog-arrow { transform: translateX(3px); }
}
.fm-blog-view .fm-blog-loop .elementor-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 54px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--fm-blog-line);
}
.fm-blog-view .fm-blog-loop .elementor-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 50%;
  color: var(--fm-blog-ink);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.fm-blog-view .fm-blog-loop .elementor-pagination .page-numbers.current { background: var(--fm-blog-ink); color: #fff; }
.fm-blog-view .fm-blog-loop .elementor-pagination a:hover { color: var(--fm-blog-brand); text-decoration: none; }

.fm-blog-single.e-con { padding-top: 30px; padding-bottom: 64px; }
.fm-blog-single .fm-blog-single-breadcrumb.elementor-widget { width: 100%; max-width: 900px; margin: 0 auto 20px; color: var(--fm-blog-muted); font-size: 12px; line-height: 1.5; }
.fm-blog-single .fm-blog-single-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.fm-blog-single .fm-blog-single-header { width: 100%; max-width: 740px; margin-inline: auto; padding: 0; gap: 0; }
.fm-blog-single .fm-blog-single-category.elementor-widget { margin: 0 0 15px; color: var(--fm-blog-brand); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; }
.fm-blog-single .fm-blog-single-category .elementor-heading-title { margin: 0; color: inherit; font: inherit; letter-spacing: inherit; }
.fm-blog-single .fm-blog-single-title .elementor-heading-title { margin: 0; font-size: 48px; font-weight: 600; line-height: 1.13; letter-spacing: -.04em; overflow-wrap: break-word; }
.fm-blog-single .fm-blog-single-date.elementor-widget { margin: 21px 0 0; color: var(--fm-blog-muted); font-size: 12px; line-height: 1.6; }
.fm-blog-single .fm-blog-single-date p { margin: 0; }
.fm-blog-single .fm-blog-single-cover.elementor-widget { display: block; width: 100%; max-width: 900px; margin: 34px auto 48px; }
.fm-blog-single .fm-blog-single-cover .elementor-widget-container { display: block; }
.fm-blog-single .fm-blog-single-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 12px; }
.fm-blog-single .fm-blog-single-body { width: 100%; max-width: 740px; margin-inline: auto; color: var(--fm-blog-ink); font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.fm-blog-single .fm-blog-single-body p { margin: 0 0 20px; }
.fm-blog-single .fm-blog-single-body h2 { margin: 38px 0 14px; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.fm-blog-single .fm-blog-single-body h3 { margin: 30px 0 12px; font-size: 23px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.fm-blog-single .fm-blog-single-body :where(ul, ol) { margin: 0 0 25px; padding-left: 23px; }
.fm-blog-single .fm-blog-single-body li { margin: 8px 0; padding-left: 3px; }
.fm-blog-single .fm-blog-single-body a { color: var(--fm-blog-brand); text-decoration: underline; text-underline-offset: 3px; }
.fm-blog-single .fm-blog-single-body :where(img, video, iframe) { max-width: 100%; }
.fm-blog-single .fm-blog-single-body img { height: auto; }
.fm-blog-single .fm-blog-single-body figure { margin: 28px 0; }
.fm-blog-single .fm-blog-single-body figcaption { margin-top: 10px; color: var(--fm-blog-muted); font-size: 13px; line-height: 1.6; }
.fm-blog-single .fm-blog-single-related { width: 100%; max-width: 900px; margin: 58px auto 0; padding: 30px 0 0; border-top: 1px solid var(--fm-blog-line); gap: 0; }
.fm-blog-single .fm-blog-single-related-heading { margin: 0 0 23px; color: var(--fm-blog-ink); font-family: inherit; font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.fm-blog-single .fm-blog-single-related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.fm-blog-single .fm-blog-single-related-list a { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 44px; padding: 18px 0; border-top: 1px solid var(--fm-blog-line); color: var(--fm-blog-ink); font-size: 17px; font-weight: 600; line-height: 1.45; letter-spacing: -.015em; text-decoration: none; }
.fm-blog-single .fm-blog-single-related-list a::after { flex: none; color: var(--fm-blog-brand); content: "→"; }
.fm-blog-single .fm-blog-single-related-list a:hover { color: var(--fm-blog-brand); text-decoration: none; }
.fm-blog-single .fm-blog-single-back a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 25px; color: var(--fm-blog-muted); font-size: 13px; line-height: 1.5; text-decoration: none; }

@media (min-width: 1920px) {
  .fm-blog-view.e-con, .fm-blog-single.e-con { max-width: 1320px; }
}
@media (max-width: 1199px) {
  .fm-blog-view.e-con, .fm-blog-single.e-con { width: calc(100% - 64px); }
  .fm-blog-view .fm-blog-loop .elementor-loop-container { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; row-gap: 40px; }
}
@media (max-width: 767px) {
  .fm-blog-view.e-con, .fm-blog-single.e-con { width: calc(100% - 40px); }
  .fm-blog-view.e-con { padding-top: 15px; padding-bottom: 42px; }
  .fm-blog-view .fm-blog-topics { column-gap: 20px; margin-bottom: 25px; }
  .fm-blog-view .fm-blog-topic { min-height: 44px; padding: 10px 0; font-size: 12px; }
  .fm-blog-view .fm-blog-loop .elementor-loop-container { grid-template-columns: minmax(0, 1fr); row-gap: 37px; }
  .fm-blog-card .fm-blog-card-cover img { border-radius: 10px; }
  .fm-blog-card .fm-blog-card-copy { padding-top: 19px; }
  .fm-blog-card .fm-blog-card-title.elementor-widget { margin-top: 9px; margin-bottom: 11px; }
  .fm-blog-card .fm-blog-card-title .elementor-heading-title { font-size: 24px; line-height: 1.27; }
  .fm-blog-card .fm-blog-card-excerpt.elementor-widget { margin-bottom: 17px; }
  .fm-blog-view .fm-blog-loop .elementor-pagination { gap: 4px; margin-top: 36px; padding-top: 22px; }
  .fm-blog-single.e-con { padding-top: 24px; padding-bottom: 44px; }
  .fm-blog-single .fm-blog-single-breadcrumb.elementor-widget { margin-bottom: 5px; }
  .fm-blog-single .fm-blog-single-category.elementor-widget { margin-bottom: 12px; }
  .fm-blog-single .fm-blog-single-title .elementor-heading-title { font-size: 32px; line-height: 1.17; letter-spacing: -.035em; }
  .fm-blog-single .fm-blog-single-date.elementor-widget { margin-top: 18px; }
  .fm-blog-single .fm-blog-single-cover.elementor-widget { margin-top: 27px; margin-bottom: 30px; }
  .fm-blog-single .fm-blog-single-cover img { aspect-ratio: 16 / 10; border-radius: 10px; }
  .fm-blog-single .fm-blog-single-body { font-size: 16px; }
  .fm-blog-single .fm-blog-single-body p { margin-bottom: 18px; }
  .fm-blog-single .fm-blog-single-body h2 { margin-top: 31px; margin-bottom: 12px; font-size: 24px; line-height: 1.3; }
  .fm-blog-single .fm-blog-single-body h3 { font-size: 21px; }
  .fm-blog-single .fm-blog-single-related { margin-top: 40px; padding-top: 25px; }
  .fm-blog-single .fm-blog-single-related-heading { margin-bottom: 18px; font-size: 22px; }
  .fm-blog-single .fm-blog-single-related-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fm-blog-single .fm-blog-single-related-list a { padding-block: 17px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-blog-card .fm-blog-card-more .fm-blog-arrow { transition: none; transform: none; }
}

.fm-blog-single .fm-blog-breadcrumb{display:flex;align-items:center;gap:10px}

/* Override Elementor's widget-level global typography within Blog only. */
.elementor .fm-blog-card .elementor-element.elementor-widget .elementor-heading-title,
.elementor .fm-blog-single .elementor-element.elementor-widget .elementor-heading-title{font-family:inherit}
.elementor .fm-blog-card .elementor-element.fm-blog-card-date .elementor-heading-title,
.elementor .fm-blog-single .elementor-element.fm-blog-single-date .elementor-heading-title{color:var(--fm-blog-muted);font-size:12px;font-weight:400;line-height:1.6}
.elementor .fm-blog-card .elementor-element.fm-blog-card-more .elementor-heading-title{color:inherit;font-size:12px;font-weight:600;line-height:1.5}
.elementor .fm-blog-single .elementor-element.fm-blog-single-title .elementor-heading-title{color:var(--fm-blog-ink)}
.elementor .fm-blog-single .elementor-element.fm-blog-single-category .elementor-heading-title{color:var(--fm-blog-brand);font-size:11px;font-weight:600;line-height:1.5}
.elementor .fm-blog-single .elementor-element.elementor-widget.fm-blog-single-cover{width:100%;max-width:900px}
.elementor .fm-blog-single .elementor-element.elementor-widget.fm-blog-single-body{width:100%;max-width:740px}

/* Keep return navigation in the reading column and disabled pagination distinct. */
.elementor .fm-blog-single .elementor-element.elementor-widget.fm-blog-single-back{width:100%;max-width:900px;margin-inline:auto}
.fm-blog-view .elementor-pagination span.page-numbers.prev,
.fm-blog-view .elementor-pagination span.page-numbers.next{opacity:.45;cursor:default}
