:root {
  --mfdr-blue: #1f2937;
  --mfdr-blue-soft: #f1f5f9;
  --mfdr-red: #e42d35;
  --mfdr-red-soft: #fff0f1;
  --mfdr-ink: #090b12;
  --mfdr-muted: #6b7280;
  --mfdr-line: #e5e7eb;
  --mfdr-bg: #f3f4f6;
  --mfdr-card: #ffffff;
  --mfdr-shadow: 0 18px 44px rgba(9, 11, 18, .1);
  --mfdr-shadow-soft: 0 8px 24px rgba(9, 11, 18, .07);
}

/* Global app redesign v4 */
.mfdr-app-rebuild {
  --mfdr-page: #f5f6f8;
  --mfdr-surface: #ffffff;
  --mfdr-surface-2: #f9fafb;
  --mfdr-text: #0b0d12;
  --mfdr-subtle: #6b7280;
  --mfdr-border: #e5e7eb;
  --mfdr-brand: #e61f2d;
  --mfdr-brand-dark: #a90f18;
  --mfdr-radius-lg: 22px;
  --mfdr-radius-md: 16px;
  --mfdr-ease: cubic-bezier(.2, .8, .2, 1);
  min-height: 100vh;
  color: var(--mfdr-text);
  background:
    radial-gradient(circle at 50% -10%, rgba(230, 31, 45, .08), transparent 38%),
    var(--mfdr-page);
  font-family: "Inter", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.mfdr-app-rebuild a {
  color: inherit;
  text-decoration: none;
}

.mfdr-app-rebuild img {
  display: block;
}

.mfdr-app-rebuild .jeg_header,
.mfdr-app-rebuild .jeg_header_wrapper,
.mfdr-app-rebuild .site-header,
.mfdr-app-rebuild header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(229, 231, 235, .86);
  box-shadow: 0 12px 34px rgba(9, 11, 18, .06);
  backdrop-filter: blur(16px);
}

.mfdr-app-rebuild .jeg_navbar,
.mfdr-app-rebuild .jeg_header .jeg_navbar,
.mfdr-app-rebuild .site-header > *,
.mfdr-app-rebuild header[role="banner"] > * {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  width: min(1180px, calc(100vw - 32px)) !important;
  min-height: 76px;
  margin: 0 auto !important;
  padding: 0 !important;
}

.mfdr-app-rebuild .jeg_logo,
.mfdr-app-rebuild .site-logo,
.mfdr-app-rebuild .custom-logo-link,
.mfdr-app-rebuild .logo {
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
}

.mfdr-app-rebuild .jeg_logo img,
.mfdr-app-rebuild .site-logo img,
.mfdr-app-rebuild .custom-logo,
.mfdr-app-rebuild .logo img {
  width: auto !important;
  max-width: 190px !important;
  max-height: 48px !important;
  object-fit: contain;
}

.mfdr-app-rebuild .jeg_main_menu_wrapper,
.mfdr-app-rebuild .main-navigation,
.mfdr-app-rebuild .primary-navigation,
.mfdr-app-rebuild nav[role="navigation"] {
  justify-self: center !important;
  width: auto !important;
  margin: 0 !important;
}

.mfdr-app-rebuild .jeg_menu,
.mfdr-app-rebuild .menu,
.mfdr-app-rebuild .main-navigation ul,
.mfdr-app-rebuild .primary-navigation ul,
.mfdr-app-rebuild nav[role="navigation"] ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mfdr-app-rebuild .jeg_menu > li,
.mfdr-app-rebuild .menu > li {
  position: relative;
  margin: 0 !important;
}

.mfdr-app-rebuild .jeg_menu a,
.mfdr-app-rebuild .menu a,
.mfdr-app-rebuild .main-navigation a,
.mfdr-app-rebuild .primary-navigation a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px !important;
  color: #20242d !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: color .18s var(--mfdr-ease), background .18s var(--mfdr-ease), transform .18s var(--mfdr-ease);
}

.mfdr-app-rebuild .jeg_menu a:hover,
.mfdr-app-rebuild .menu a:hover,
.mfdr-app-rebuild .current-menu-item > a {
  color: #fff !important;
  background: linear-gradient(135deg, var(--mfdr-brand), var(--mfdr-brand-dark)) !important;
  transform: translateY(-1px);
}

.mfdr-app-rebuild .jeg_header .jeg_search_wrapper,
.mfdr-app-rebuild .jeg_search_wrapper,
.mfdr-app-rebuild .search-form {
  justify-self: end;
}

.mfdr-app-rebuild input[type="search"],
.mfdr-app-rebuild .search-field {
  width: min(220px, 24vw);
  min-height: 38px;
  padding: 8px 13px;
  color: var(--mfdr-text);
  background: #fff;
  border: 1px solid var(--mfdr-border);
  border-radius: 999px;
  outline: none;
}

.mfdr-app-rebuild .jeg_main,
.mfdr-app-rebuild .jeg_main_content,
.mfdr-app-rebuild .site-content,
.mfdr-app-rebuild #content,
.mfdr-app-rebuild .content-area {
  width: min(1180px, calc(100vw - 32px)) !important;
  max-width: 1180px !important;
  margin: 30px auto !important;
}

.mfdr-app-rebuild.home .jeg_posts,
.mfdr-app-rebuild.archive .jeg_posts,
.mfdr-app-rebuild.blog .jeg_posts,
.mfdr-app-rebuild.search .jeg_posts,
.mfdr-app-rebuild .wp-block-query .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mfdr-app-rebuild .jeg_post,
.mfdr-app-rebuild.home article,
.mfdr-app-rebuild.archive article,
.mfdr-app-rebuild.blog article,
.mfdr-app-rebuild.search article,
.mfdr-app-rebuild .wp-block-post {
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  min-height: 100%;
  padding: 0 !important;
  background: var(--mfdr-surface);
  border: 1px solid rgba(229, 231, 235, .96);
  border-radius: var(--mfdr-radius-lg) !important;
  box-shadow: 0 14px 30px rgba(9, 11, 18, .07);
  transition: transform .22s var(--mfdr-ease), box-shadow .22s var(--mfdr-ease), border-color .22s var(--mfdr-ease);
}

.mfdr-app-rebuild .jeg_post:hover,
.mfdr-app-rebuild.home article:hover,
.mfdr-app-rebuild.archive article:hover,
.mfdr-app-rebuild.blog article:hover,
.mfdr-app-rebuild.search article:hover {
  border-color: rgba(230, 31, 45, .24);
  box-shadow: 0 24px 54px rgba(9, 11, 18, .13);
  transform: translateY(-4px);
}

.mfdr-app-rebuild .jeg_thumb,
.mfdr-app-rebuild .post-thumbnail,
.mfdr-app-rebuild .entry-thumbnail,
.mfdr-app-rebuild .featured-image,
.mfdr-app-rebuild .wp-block-post-featured-image {
  overflow: hidden;
  width: 100% !important;
  margin: 0 !important;
  background: #e5e7eb;
  border-radius: var(--mfdr-radius-lg) var(--mfdr-radius-lg) 0 0 !important;
}

.mfdr-app-rebuild .jeg_thumb img,
.mfdr-app-rebuild .post-thumbnail img,
.mfdr-app-rebuild .entry-thumbnail img,
.mfdr-app-rebuild .featured-image img,
.mfdr-app-rebuild .wp-block-post-featured-image img {
  width: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .34s var(--mfdr-ease), filter .34s var(--mfdr-ease);
}

.mfdr-app-rebuild .jeg_post:hover .jeg_thumb img,
.mfdr-app-rebuild article:hover .post-thumbnail img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.035);
}

.mfdr-app-rebuild .jeg_postblock_content,
.mfdr-app-rebuild .entry-header,
.mfdr-app-rebuild .entry-summary,
.mfdr-app-rebuild .wp-block-post-title,
.mfdr-app-rebuild .wp-block-post-excerpt {
  padding: 16px 17px 18px !important;
}

.mfdr-app-rebuild .jeg_post_title,
.mfdr-app-rebuild .jeg_post_title a,
.mfdr-app-rebuild .entry-title,
.mfdr-app-rebuild .entry-title a,
.mfdr-app-rebuild .wp-block-post-title,
.mfdr-app-rebuild .wp-block-post-title a {
  color: var(--mfdr-text) !important;
  font-size: clamp(19px, 1.8vw, 28px) !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  letter-spacing: -.01em;
}

.mfdr-app-rebuild .jeg_post_title a:hover,
.mfdr-app-rebuild .entry-title a:hover {
  color: var(--mfdr-brand) !important;
}

.mfdr-app-rebuild .jeg_post_excerpt,
.mfdr-app-rebuild .entry-summary,
.mfdr-app-rebuild .wp-block-post-excerpt {
  color: #4b5563 !important;
  font-size: 14px;
  line-height: 1.5;
}

.mfdr-app-rebuild .jeg_post_meta,
.mfdr-app-rebuild .entry-meta,
.mfdr-app-rebuild .wp-block-post-date {
  color: var(--mfdr-subtle) !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.mfdr-app-rebuild .jeg_post_category,
.mfdr-app-rebuild .cat-links,
.mfdr-app-rebuild .entry-category {
  position: absolute !important;
  top: 12px;
  left: 12px;
  z-index: 4;
}

.mfdr-app-rebuild .jeg_post_category a,
.mfdr-app-rebuild .cat-links a,
.mfdr-app-rebuild .entry-category a,
.mfdr-app-rebuild a[rel="category tag"] {
  display: inline-flex !important;
  min-height: 23px !important;
  padding: 5px 8px !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 950 !important;
  background: linear-gradient(135deg, var(--mfdr-brand), var(--mfdr-brand-dark)) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 22px rgba(230, 31, 45, .26);
}

.mfdr-app-rebuild.single .jeg_post_category,
.mfdr-app-rebuild.single .cat-links,
.mfdr-app-rebuild.single .entry-category,
.mfdr-app-rebuild.single .jeg_post_meta,
.mfdr-app-rebuild.single .entry-meta,
.mfdr-app-rebuild.single .byline,
.mfdr-app-rebuild.single .author,
.mfdr-app-rebuild.single .avatar,
.mfdr-app-rebuild.single img.avatar,
.mfdr-app-rebuild.single .post-tags,
.mfdr-app-rebuild.single .tags-links,
.mfdr-app-rebuild.single .jeg_post_tags {
  display: none !important;
}

.mfdr-app-rebuild.single .mfdr-single-hero,
.mfdr-app-rebuild.single .jeg_main_content,
.mfdr-app-rebuild.single .jeg_content,
.mfdr-app-rebuild.single article {
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.mfdr-app-rebuild.single .jeg_featured,
.mfdr-app-rebuild.single .jeg_featured_img,
.mfdr-app-rebuild.single .post-thumbnail,
.mfdr-app-rebuild.single .featured-image {
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  margin: 30px auto 0 !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 70px rgba(9, 11, 18, .16);
  transform: none !important;
}

.mfdr-app-rebuild.single .jeg_featured img,
.mfdr-app-rebuild.single .jeg_featured_img img,
.mfdr-app-rebuild.single .post-thumbnail img,
.mfdr-app-rebuild.single .featured-image img {
  width: 100% !important;
  max-height: 620px;
  object-fit: cover;
}

.mfdr-app-rebuild.single .entry-header,
.mfdr-app-rebuild.single .jeg_post_header {
  width: min(760px, calc(100vw - 64px)) !important;
  max-width: 760px !important;
  margin: -48px auto 36px !important;
  padding: 22px clamp(18px, 3vw, 34px) 26px !important;
  text-align: center !important;
  background: #fff !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: 0 20px 52px rgba(9, 11, 18, .12);
  transform: none !important;
}

.mfdr-app-rebuild.single h1,
.mfdr-app-rebuild.single .entry-title,
.mfdr-app-rebuild.single .jeg_post_title,
.mfdr-app-rebuild.single .jeg_post_title a {
  margin: 0 auto !important;
  color: var(--mfdr-text) !important;
  font-size: clamp(34px, 4.5vw, 60px) !important;
  font-weight: 950 !important;
  line-height: 1.03 !important;
  letter-spacing: -.025em;
  text-align: center !important;
}

.mfdr-app-rebuild.single .jeg_inner_content,
.mfdr-app-rebuild.single .entry-content,
.mfdr-app-rebuild.single .post-content,
.mfdr-app-rebuild.single .article-content {
  width: min(820px, calc(100vw - 32px)) !important;
  max-width: 820px !important;
  margin: 0 auto !important;
  color: #20242d;
  font-size: clamp(17px, 1.28vw, 19px);
  line-height: 1.78;
}

.mfdr-app-rebuild.single .entry-content p,
.mfdr-app-rebuild.single .jeg_inner_content p {
  margin: 0 0 1.25em;
}

.mfdr-app-rebuild .mfdr-related {
  width: min(820px, calc(100vw - 32px));
  max-width: 820px;
  margin: 46px auto 28px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--mfdr-border);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(9, 11, 18, .08);
}

.mfdr-app-rebuild .mfdr-related h2 {
  color: var(--mfdr-subtle);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mfdr-app-rebuild .mfdr-related__grid {
  display: grid;
  gap: 12px;
}

.mfdr-app-rebuild .mfdr-related__card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  min-height: 132px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--mfdr-border);
  border-radius: 22px;
  transition: transform .2s var(--mfdr-ease), box-shadow .2s var(--mfdr-ease);
}

.mfdr-app-rebuild .mfdr-related__card:hover {
  box-shadow: 0 18px 38px rgba(9, 11, 18, .1);
  transform: translateY(-2px);
}

.mfdr-app-rebuild .mfdr-related__image {
  overflow: hidden;
  width: 180px;
  height: 132px;
  padding: 8px;
  background: #f3f4f6;
}

.mfdr-app-rebuild .mfdr-related__image img {
  width: 100%;
  max-width: 100% !important;
  height: 100%;
  max-height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px;
}

.mfdr-app-rebuild .mfdr-related__body {
  display: grid;
  gap: 10px;
  padding: 14px 18px 14px 12px;
}

.mfdr-app-rebuild .mfdr-related__title {
  color: var(--mfdr-text);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 950;
  line-height: 1.14;
}

.mfdr-app-rebuild .mfdr-related__date {
  color: var(--mfdr-subtle);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.mfdr-app-rebuild .site-footer,
.mfdr-app-rebuild footer {
  width: 100%;
  margin-top: 48px;
  padding: 34px 16px;
  color: #d1d5db;
  text-align: center;
  background: #0b0d12;
}

@media (max-width: 900px) {
  .mfdr-app-rebuild .jeg_navbar,
  .mfdr-app-rebuild .jeg_header .jeg_navbar,
  .mfdr-app-rebuild .site-header > *,
  .mfdr-app-rebuild header[role="banner"] > * {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0 !important;
  }

  .mfdr-app-rebuild .jeg_logo,
  .mfdr-app-rebuild .site-logo,
  .mfdr-app-rebuild .custom-logo-link,
  .mfdr-app-rebuild .logo {
    justify-self: center !important;
  }

  .mfdr-app-rebuild .jeg_menu,
  .mfdr-app-rebuild .menu,
  .mfdr-app-rebuild .main-navigation ul,
  .mfdr-app-rebuild .primary-navigation ul {
    justify-content: flex-start;
    width: min(100vw - 24px, 100%);
    overflow-x: auto;
    padding-bottom: 4px !important;
    scrollbar-width: none;
  }

  .mfdr-app-rebuild .jeg_menu::-webkit-scrollbar,
  .mfdr-app-rebuild .menu::-webkit-scrollbar {
    display: none;
  }

  .mfdr-app-rebuild.home .jeg_posts,
  .mfdr-app-rebuild.archive .jeg_posts,
  .mfdr-app-rebuild.blog .jeg_posts,
  .mfdr-app-rebuild.search .jeg_posts,
  .mfdr-app-rebuild .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mfdr-app-rebuild.single .entry-header,
  .mfdr-app-rebuild.single .jeg_post_header {
    width: calc(100vw - 36px) !important;
    margin-top: -30px !important;
  }

  .mfdr-app-rebuild.single h1,
  .mfdr-app-rebuild.single .entry-title,
  .mfdr-app-rebuild.single .jeg_post_title,
  .mfdr-app-rebuild.single .jeg_post_title a {
    font-size: clamp(29px, 9vw, 42px) !important;
  }

  .mfdr-app-rebuild .mfdr-related__card {
    grid-template-columns: 126px minmax(0, 1fr);
    min-height: 104px;
    border-radius: 18px;
  }

  .mfdr-app-rebuild .mfdr-related__image {
    width: 126px;
    height: 104px;
    padding: 6px;
  }

  .mfdr-app-rebuild .mfdr-related__body {
    padding: 10px 12px 10px 8px;
  }

  .mfdr-app-rebuild .mfdr-related__title {
    font-size: 13px;
  }
}

.mfdr-hidden-footer-junk {
  display: none !important;
}

@media (max-width: 900px) {
  .mfdr-app-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  .mfdr-app-header__logo {
    justify-self: center;
  }

  .mfdr-app-header__nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .mfdr-app-header__nav::-webkit-scrollbar {
    display: none;
  }

  .mfdr-app-header__nav a {
    white-space: nowrap;
  }

  .mfdr-app-header__search {
    display: none;
  }
}

/* Header cleanup v4.1 */
.mfdr-app-rebuild .jeg_header,
.mfdr-app-rebuild .jeg_header_wrapper,
.mfdr-app-rebuild .site-header,
.mfdr-app-rebuild header[role="banner"]:not(.mfdr-app-header),
.mfdr-app-rebuild .jnews_header_top_ads,
.mfdr-app-rebuild .jeg_mobile_wrapper,
.mfdr-app-rebuild .jeg_navbar_mobile_wrapper {
  display: none !important;
}

.mfdr-app-header {
  position: sticky;
  top: 0;
  z-index: 999999;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 72px;
  padding: 10px max(18px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(229, 231, 235, .9);
  box-shadow: 0 12px 34px rgba(9, 11, 18, .06);
  backdrop-filter: blur(16px);
}

body.mfdr-app-rebuild .jeg_logo,
body.mfdr-app-rebuild .custom-logo-link,
body.mfdr-app-rebuild .site-logo,
body.mfdr-app-rebuild .logo,
body.mfdr-app-rebuild .jeg_main_menu_wrapper,
body.mfdr-app-rebuild .main-navigation,
body.mfdr-app-rebuild .primary-navigation,
body.mfdr-app-rebuild nav[role="navigation"],
body.mfdr-app-rebuild .jeg_menu,
body.mfdr-app-rebuild .menu {
  display: none !important;
}

body.mfdr-app-rebuild .mfdr-app-header,
body.mfdr-app-rebuild .mfdr-app-header *,
body.mfdr-app-rebuild .mfdr-app-header__logo,
body.mfdr-app-rebuild .mfdr-app-header__nav {
  display: revert;
}

body.mfdr-app-rebuild .mfdr-app-header {
  display: grid !important;
}

body.mfdr-app-rebuild .mfdr-app-header__logo {
  display: inline-flex !important;
}

body.mfdr-app-rebuild .mfdr-app-header__nav {
  display: flex !important;
}

body.mfdr-app-rebuild .mfdr-app-header__search {
  display: block !important;
}

body.mfdr-app-rebuild .mfdr-app-header__search input {
  display: block !important;
}

.mfdr-app-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 13px;
  color: #fff !important;
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -.05em;
  background: #ed1c24;
  border-radius: 8px;
}

.mfdr-app-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.mfdr-app-header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  color: #1f2430 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 999px;
}

.mfdr-app-header__nav a:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--mfdr-brand), var(--mfdr-brand-dark));
}

.mfdr-app-header__search {
  justify-self: end;
  margin: 0;
}

.mfdr-app-header__search input {
  width: 170px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--mfdr-border);
  border-radius: 999px;
  outline: none;
}

.mfdr-app-rebuild .jeg_header_top,
.mfdr-app-rebuild .jeg_header_bottom,
.mfdr-app-rebuild .jeg_header_mid,
.mfdr-app-rebuild .jeg_social_icon_block,
.mfdr-app-rebuild .jeg_top_socials,
.mfdr-app-rebuild .jeg_nav_item.jeg_search_wrapper,
.mfdr-app-rebuild .jeg_search_wrapper,
.mfdr-app-rebuild .jeg_search_popup,
.mfdr-app-rebuild .site-description,
.mfdr-app-rebuild .site-title,
.mfdr-app-rebuild .header-socials,
.mfdr-app-rebuild .socials_widget,
.mfdr-app-rebuild .widget_text,
.mfdr-app-rebuild .widget_search {
  display: none !important;
}

.mfdr-app-rebuild .mfdr-hidden-duplicate,
.mfdr-app-rebuild .mfdr-hidden-header-junk {
  display: none !important;
}

.mfdr-app-rebuild > p,
.mfdr-app-rebuild #page > p,
.mfdr-app-rebuild .site > p,
.mfdr-app-rebuild .jeg_viewport > p {
  display: none !important;
}

.mfdr-app-rebuild .jeg_header_wrapper + .jeg_header_wrapper,
.mfdr-app-rebuild .site-header + .site-header,
.mfdr-app-rebuild .jeg_logo + .jeg_logo,
.mfdr-app-rebuild .custom-logo-link + .custom-logo-link,
.mfdr-app-rebuild .jeg_main_menu_wrapper + .jeg_main_menu_wrapper,
.mfdr-app-rebuild .main-navigation + .main-navigation {
  display: none !important;
}

.mfdr-app-rebuild .jeg_header,
.mfdr-app-rebuild .jeg_header_wrapper {
  min-height: 76px !important;
}

.mfdr-app-rebuild {
  margin: 0;
  color: var(--mfdr-ink);
  background: #fff;
}

.mfdr-app-rebuild * {
  box-sizing: border-box;
}

.mfdr-app-rebuild ul,
.mfdr-app-rebuild ol {
  padding-left: 0;
}

.mfdr-app-rebuild li {
  list-style: none;
}

.mfdr-app-rebuild a {
  color: inherit;
}

.mfdr-app-rebuild .jeg_container,
.mfdr-app-rebuild .container,
.mfdr-app-rebuild .site,
.mfdr-app-rebuild #page,
.mfdr-app-rebuild .site-content,
.mfdr-app-rebuild #content,
.mfdr-app-rebuild .content-area,
.mfdr-app-rebuild .jeg_main,
.mfdr-app-rebuild .jeg_main_content {
  width: min(1180px, calc(100vw - 32px));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.mfdr-app-rebuild .row {
  display: block;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.mfdr-app-rebuild [class*="col-"] {
  float: none;
  width: 100%;
  min-height: 0;
  padding-right: 0;
  padding-left: 0;
}

.mfdr-app-rebuild img {
  max-width: 100%;
  height: auto;
}

body {
  color: var(--mfdr-ink);
  background: var(--mfdr-bg);
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  text-underline-offset: .18em;
}

img {
  max-width: 100%;
  height: auto;
}

.site,
#page,
.site-content,
.content-area,
.container,
.wrap,
.main-content,
#content {
  margin-right: auto;
  margin-left: auto;
}

.site-content,
.content-area,
.container,
.wrap,
.main-content,
#content {
  max-width: 1140px;
}

.site,
#page {
  width: 100%;
  overflow-x: hidden;
}

.site-header,
header[role="banner"],
#masthead,
.jeg_header,
.jeg_header_wrapper {
  text-align: center;
  background: #fff;
  border-bottom: 1px solid var(--mfdr-line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.jeg_header_top,
.jeg_header .jeg_social_icon_block,
.jeg_header .jeg_search_wrapper,
.jeg_mobile_wrapper,
.jeg_mobile_header,
.jeg_navbar_mobile_wrapper,
.mfdr-app-rebuild .jeg_header .jeg_navbar_secondary,
.mfdr-app-rebuild .jeg_header .jeg_midbar,
.mfdr-app-rebuild .jeg_header .jeg_bottombar,
.mfdr-app-rebuild .jeg_header .jeg_topbar {
  display: none !important;
}

.mfdr-app-rebuild .jeg_header .jeg_navbar,
.mfdr-app-rebuild .site-header,
.mfdr-app-rebuild header[role="banner"] {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100vw - 32px));
  min-height: 72px;
  margin: 0 auto;
  background: #fff;
}

.mfdr-app-rebuild .jeg_logo,
.mfdr-app-rebuild .site-logo,
.mfdr-app-rebuild .custom-logo-link,
.mfdr-app-rebuild .logo {
  justify-self: start;
}

.site-branding,
.custom-logo-link,
.site-logo,
.logo,
.jeg_logo {
  display: flex;
  justify-content: center;
  text-align: center;
}

.custom-logo,
.site-logo img,
.logo img,
.jeg_logo img,
header img[alt*="Sanfelipe"],
header img[alt*="Mi Sanfelipe"] {
  max-height: 72px;
  width: auto;
}

.main-navigation,
.primary-navigation,
nav[role="navigation"],
.jeg_navbar,
.jeg_main_menu_wrapper {
  text-align: center;
}

.main-navigation ul,
.primary-navigation ul,
nav[role="navigation"] ul,
.menu,
.jeg_menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  padding-right: 10px;
  padding-left: 10px;
  margin: 0;
  list-style: none;
}

.main-navigation li,
.primary-navigation li,
nav[role="navigation"] li,
.menu li,
.jeg_menu li {
  margin: 0;
  list-style: none;
}

.main-navigation a,
.primary-navigation a,
nav[role="navigation"] a,
.menu a,
.jeg_menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--mfdr-ink);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 999px;
}

.main-navigation a:hover,
.primary-navigation a:hover,
nav[role="navigation"] a:hover,
.menu a:hover,
.jeg_menu a:hover {
  color: #fff;
  background: var(--mfdr-red);
}

.main-navigation .current-menu-item > a,
.primary-navigation .current-menu-item > a,
nav[role="navigation"] .current-menu-item > a,
.menu .current-menu-item > a,
.jeg_menu .current-menu-item > a {
  color: #fff;
  background: linear-gradient(135deg, var(--mfdr-red), #9f121a);
}

h1,
h2,
h3,
h4,
.entry-title,
.post-title,
.article-title,
.wp-block-post-title,
.jeg_post_title,
.jeg_post_title a {
  color: var(--mfdr-ink);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
}

.entry-title a,
.post-title a,
.article-title a,
.wp-block-post-title a,
.jeg_post_title a,
h1 a,
h2 a,
h3 a {
  color: inherit;
  text-decoration: none;
}

.entry-title a:hover,
.post-title a:hover,
.article-title a:hover,
.wp-block-post-title a:hover,
.jeg_post_title a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover {
  color: var(--mfdr-red);
}

.home .entry-title,
.archive .entry-title,
.blog .entry-title,
.search .entry-title,
.home .post-title,
.archive .post-title,
.blog .post-title,
.search .post-title,
.home h2,
.archive h2,
.blog h2,
.search h2,
.jeg_postblock .jeg_post_title {
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 950;
}

.single .entry-title,
.page .entry-title,
.single h1,
.page h1 {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 950;
  text-align: center;
}

.entry-meta,
.post-meta,
.byline,
.posted-on,
.wp-block-post-date,
.wp-block-post-author {
  color: var(--mfdr-muted);
  font-size: 12px;
  font-weight: 800;
}

.single .entry-meta,
.single .post-meta,
.page .entry-meta,
.page .post-meta {
  text-align: center;
}

.cat-links a,
.category a,
.post-category a,
.entry-category a,
a[rel="category tag"],
.jeg_post_category a,
.jeg_cat a {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--mfdr-red);
  border-radius: 999px;
}

.entry-content,
.post-content,
.article-content {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  color: #243044;
  font-size: 17px;
  line-height: 1.72;
}

.home article,
.archive article,
.blog article,
.search article,
.jeg_post,
.jeg_postblock_content {
  border-radius: 18px;
}

.jeg_postblock_content {
  background: #fff;
}

.jeg_thumb,
.jeg_thumb img {
  overflow: hidden;
  border-radius: 14px;
}

.home article:hover .entry-title a,
.archive article:hover .entry-title a,
.blog article:hover .entry-title a,
.search article:hover .entry-title a,
.jeg_post:hover .jeg_post_title a {
  color: var(--mfdr-red);
}

.entry-summary,
.excerpt,
.post-excerpt,
.wp-block-post-excerpt {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.pagination,
.nav-links {
  text-align: center;
}

.page-numbers,
.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 6px 9px;
  margin: 2px;
  color: var(--mfdr-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--mfdr-line);
  border-radius: 999px;
}

.page-numbers.current,
.pagination .current,
.nav-links .current,
.pagination a:hover,
.nav-links a:hover {
  color: #fff;
  background: var(--mfdr-red);
  border-color: var(--mfdr-red);
}

.widget-title,
.widget h2,
.widget h3 {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer,
footer {
  text-align: center;
}

.yarpp-related,
.jp-relatedposts,
.crp_related,
.related-posts:not(.mfdr-related),
.related-post:not(.mfdr-related),
.post-related:not(.mfdr-related),
.single .jeg_post_related,
.single .jeg_related_post,
.single .jeg_relatedpost,
.single .jeg_inline_related_posts,
.single .jnews_inline_related_post,
.single .jnews_related_post,
.single .jnews_related_post_container,
.single .jeg_postblock_related,
.single .jeg_block_related,
.single [class*="related"]:not([class*="mfdr-related"]),
.single [class*="mas-en-san-felipe"],
.single [class*="more-san-felipe"],
.single [class*="mas-en-"],
.single [class*="more-in-"],
.single [id*="mas-en-san-felipe"],
.single [id*="more-san-felipe"],
.single [id*="mas-en-"],
.single [id*="more-in-"],
.single .post-tags,
.single .tags-links,
.single .jeg_post_tags,
.single .jeg_post_tag,
.single .entry-tags,
.single .tagcloud {
  display: none;
}

.single h2:has(+ .jeg_postblock):where(:not(.mfdr-related h2)),
.single h3:has(+ .jeg_postblock):where(:not(.mfdr-related h3)),
.single h2:has(+ ul):where(:not(.mfdr-related h2)),
.single h3:has(+ ul):where(:not(.mfdr-related h3)) {
  display: none;
}

.single .jeg_sidebar,
.single .sidebar,
.single aside.sidebar,
.single .widget-area,
.single .jeg_sidebar_wrapper,
.single .jeg_sticky_sidebar,
.single .jeg_vc_sidebar,
.single .jeg_column_sidebar,
.single .jeg_post_sidebar,
.single .jeg_share_button,
.single .jeg_sharelist,
.single .jeg_share_top_container,
.single .jeg_share_bottom_container {
  display: none !important;
}

.single .jeg_post_category,
.single .cat-links,
.single .entry-category,
.single .post-category,
.single .jeg_meta_author,
.single .jeg_meta_author_name,
.single .jeg_author,
.single .author,
.single .byline,
.single .vcard,
.single .avatar,
.single img.avatar,
.single .jeg_authorbox,
.single .author-box,
.single .post-author,
.single .jeg_post_author {
  display: none !important;
}

.single .mfdr-single-hero {
  width: min(980px, calc(100vw - 44px));
  margin: 26px auto 34px;
  text-align: center;
}

.mfdr-app-rebuild.single .jeg_main,
.mfdr-app-rebuild.single .jeg_main_content,
.mfdr-app-rebuild.single .jeg_content,
.mfdr-app-rebuild.single .content-area,
.mfdr-app-rebuild.single .site-main,
.mfdr-app-rebuild.single main,
.mfdr-app-rebuild.single article {
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.mfdr-app-rebuild.single .jeg_inner_content,
.mfdr-app-rebuild.single .entry-content,
.mfdr-app-rebuild.single .post-content,
.mfdr-app-rebuild.single .article-content {
  width: min(820px, calc(100vw - 32px)) !important;
  max-width: 820px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.mfdr-app-rebuild.single .jeg_featured,
.mfdr-app-rebuild.single .jeg_featured_img,
.mfdr-app-rebuild.single .post-thumbnail,
.mfdr-app-rebuild.single .featured-image {
  position: relative !important;
  left: 50% !important;
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  margin: 28px 0 0 !important;
  transform: translateX(-50%) !important;
}

.mfdr-app-rebuild.single .entry-header,
.mfdr-app-rebuild.single .jeg_post_header {
  position: relative !important;
  left: 50% !important;
  width: min(760px, calc(100vw - 64px)) !important;
  max-width: 760px !important;
  margin: -46px 0 34px !important;
  padding: 20px clamp(18px, 3vw, 34px) 24px !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--mfdr-shadow);
}

.mfdr-app-rebuild.single .jeg_post_title,
.mfdr-app-rebuild.single .jeg_post_title a,
.mfdr-app-rebuild.single .entry-title,
.mfdr-app-rebuild.single h1 {
  color: var(--mfdr-ink) !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  font-weight: 950 !important;
  line-height: 1.04 !important;
  text-align: center !important;
}

.single .mfdr-single-hero .jeg_featured,
.single .mfdr-single-hero .post-thumbnail,
.single .mfdr-single-hero .entry-thumbnail,
.single .mfdr-single-hero .featured-image,
.single .mfdr-single-hero .wp-post-image,
.single .mfdr-single-hero .jeg_featured_img {
  position: static !important;
  left: auto !important;
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  transform: none !important;
}

.single .mfdr-single-hero .entry-header,
.single .mfdr-single-hero .jeg_post_header {
  position: relative !important;
  left: auto !important;
  width: min(760px, calc(100% - 44px)) !important;
  max-width: 760px !important;
  margin: -46px auto 0 !important;
  transform: none !important;
}

.single .mfdr-single-hero .jeg_post_category,
.single .mfdr-single-hero .cat-links,
.single .mfdr-single-hero .entry-category,
.single .mfdr-single-hero .post-category,
.single .mfdr-single-hero .jeg_meta_author,
.single .mfdr-single-hero .jeg_author,
.single .mfdr-single-hero .author,
.single .mfdr-single-hero .byline,
.single .mfdr-single-hero .vcard,
.single .mfdr-single-hero .avatar,
.single .mfdr-single-hero img.avatar {
  display: none !important;
}

.single .jeg_main .row,
.single .jeg_container .row,
.single .jeg_content .row,
.single .site-content .row,
.single .content-area .row {
  display: block !important;
}

.single .jeg_main .row::before,
.single .jeg_main .row::after,
.single .jeg_container .row::before,
.single .jeg_container .row::after,
.single .jeg_content .row::before,
.single .jeg_content .row::after {
  display: none !important;
}

.single .jeg_main_content,
.single .jeg_content,
.single .jeg_inner_content,
.single .jeg_post_content,
.single .jeg_featured_wrap,
.single .jeg_post_header,
.single .entry-header,
.single .entry-content,
.single article,
.single main,
.single .content-area,
.single .site-main,
.single [class*="col-md-"],
.single [class*="col-sm-"],
.single [class*="col-xs-"] {
  float: none !important;
  clear: both !important;
  display: block !important;
  width: 100% !important;
  max-width: none;
  min-height: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.single .jeg_main_content,
.single .jeg_content,
.single .content-area,
.single .site-main,
.single main,
.single article,
.single .jeg_inner_content,
.single .entry-content,
.single .post-content,
.single .article-content {
  float: none !important;
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.single .jeg_main_content,
.single .site-main,
.single main {
  max-width: 1120px !important;
}

.single .jeg_content,
.single .content-area,
.single article {
  max-width: 980px !important;
}

.single .jeg_singlepage,
.single .jeg_single_tpl_1,
.single .jeg_single_tpl_2,
.single .jeg_single_tpl_3,
.single .jeg_single_tpl_4,
.single .jeg_single_tpl_5,
.single .jeg_single_tpl_6,
.single .jeg_featured_wrap,
.single .jeg_post_header,
.single .entry-header {
  max-width: 980px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

.single .jeg_inner_content,
.single .entry-content,
.single .post-content,
.single .article-content {
  max-width: 820px !important;
}

.single article,
.single .jeg_content {
  padding: clamp(18px, 3vw, 34px);
}

.single .jeg_inner_content,
.single .entry-content {
  color: #1f2937;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.78;
}

.single .jeg_featured,
.single .post-thumbnail,
.single .entry-thumbnail,
.single .featured-image,
.single .wp-post-image,
.single .jeg_featured_img {
  position: relative;
  left: 50%;
  width: min(980px, calc(100vw - 44px)) !important;
  max-width: 980px;
  margin: 22px auto 0 !important;
  transform: translateX(-50%);
  overflow: hidden;
  display: block;
  border-radius: 22px !important;
  box-shadow: var(--mfdr-shadow);
}

.single .jeg_featured img,
.single .post-thumbnail img,
.single .entry-thumbnail img,
.single .featured-image img,
.single .wp-post-image,
.single .jeg_featured_img img {
  display: block;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  max-height: 620px;
  object-fit: cover;
}

.single .jeg_post_title,
.single .entry-header,
.single .jeg_post_header {
  position: relative;
  z-index: 3;
}

.single .entry-header,
.single .jeg_post_header {
  position: relative;
  left: 50%;
  width: min(760px, calc(100% - 44px)) !important;
  max-width: 760px !important;
  padding: 18px clamp(18px, 3vw, 34px) 22px !important;
  margin-top: -46px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 14px 34px rgba(9, 11, 18, .08);
}

.single .jeg_post_title,
.single .jeg_post_title a,
.single .entry-title,
.single h1 {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.single .entry-content img,
.single .jeg_inner_content img,
.single .article-content img,
.single figure,
.single .wp-caption,
.single .wp-block-image {
  display: block;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

.single .entry-content figure img,
.single .jeg_inner_content figure img,
.single .article-content figure img,
.single .wp-block-image img,
.single .wp-caption img {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.single .entry-header,
.single .jeg_post_title,
.single .jeg_post_meta,
.single .entry-meta,
.single .post-meta,
.single .jeg_post_category,
.single .cat-links {
  max-width: 920px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

.single .entry-content p,
.single .jeg_inner_content p,
.single .article-content p {
  margin-bottom: 1.25em;
}

.single blockquote {
  max-width: 820px;
  padding: 18px 22px;
  margin: 28px auto;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  background: #fff;
  border-left: 6px solid var(--mfdr-red);
  border-radius: 14px;
  box-shadow: var(--mfdr-shadow-soft);
}

body > ul:first-child,
body > li,
.site-header + ul,
#page > ul:first-child,
.jeg_header + ul {
  list-style: none;
}

.jeg_block_heading,
.jeg_block_title,
.section-heading,
.archive-title,
.page-title {
  text-align: center;
}

.jeg_block_title span,
.section-heading span,
.archive-title,
.page-title {
  font-weight: 950;
}

.jeg_posts,
.jeg_postblock,
.jeg_postblock_3,
.jeg_postblock_4,
.jeg_postblock_5,
.jeg_postblock_6,
.jeg_postblock_7,
.jeg_postblock_8,
.jeg_postblock_9,
.jeg_postblock_10,
.jeg_postblock_11,
.jeg_postblock_12,
.jeg_postblock_13,
.jeg_postblock_14,
.jeg_postblock_15,
.jeg_postblock_16,
.jeg_postblock_17,
.jeg_postblock_18,
.jeg_postblock_19,
.jeg_postblock_20,
.jeg_postblock_21,
.jeg_postblock_22,
.jeg_postblock_23,
.jeg_postblock_24,
.jeg_postblock_25,
.jeg_postblock_26,
.jeg_postblock_27,
.jeg_postblock_28,
.jeg_postblock_29,
.jeg_postblock_30,
.jeg_postblock_31,
.jeg_postblock_32,
.jeg_postblock_33,
.jeg_postblock_34,
.jeg_postblock_35,
.jeg_postblock_36,
.jeg_heroblock,
.jeg_main_content {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.jeg_post,
.home article,
.archive article,
.blog article,
.search article,
.wp-block-post {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, rgba(228, 45, 53, .32), rgba(9, 11, 18, .08)) border-box;
  border: 1px solid transparent;
  border-radius: 18px !important;
  box-shadow: var(--mfdr-shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.jeg_post:hover,
.home article:hover,
.archive article:hover,
.blog article:hover,
.search article:hover,
.wp-block-post:hover {
  box-shadow: var(--mfdr-shadow);
  transform: translateY(-3px);
}

.jeg_post::after,
.home article::after,
.archive article::after,
.blog article::after,
.search article::after,
.wp-block-post::after {
  position: absolute;
  inset: auto 14px 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--mfdr-red), rgba(228, 45, 53, 0));
  border-radius: 999px 999px 0 0;
  opacity: .8;
}

.jeg_thumb,
.post-thumbnail,
.entry-thumbnail,
.featured-image,
.wp-block-post-featured-image {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0 !important;
  background: #d1d5db;
  border-radius: 17px 17px 0 0 !important;
}

.jeg_thumb img,
.post-thumbnail img,
.entry-thumbnail img,
.featured-image img,
.wp-block-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .35s ease, filter .35s ease;
}

.jeg_post:hover .jeg_thumb img,
.home article:hover .post-thumbnail img,
.archive article:hover .post-thumbnail img,
.blog article:hover .post-thumbnail img,
.search article:hover .post-thumbnail img,
.wp-block-post:hover .wp-block-post-featured-image img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.035);
}

.jeg_postblock_content,
.jeg_post .jeg_postblock_content,
.entry-header,
.entry-summary,
.entry-content,
.wp-block-post .wp-block-post-title,
.wp-block-post .wp-block-post-excerpt {
  padding-right: 16px;
  padding-left: 16px;
}

.jeg_postblock_content,
.home article .entry-header,
.archive article .entry-header,
.blog article .entry-header,
.search article .entry-header,
.wp-block-post .wp-block-post-title {
  padding-top: 14px;
}

.jeg_post_title,
.jeg_post_title a,
.home article .entry-title,
.archive article .entry-title,
.blog article .entry-title,
.search article .entry-title,
.wp-block-post-title {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  color: var(--mfdr-ink) !important;
  font-size: clamp(18px, 1.85vw, 28px) !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  text-wrap: balance;
}

.jeg_post_excerpt,
.entry-summary,
.wp-block-post-excerpt {
  padding-bottom: 16px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

.jeg_post_meta,
.entry-meta,
.post-meta,
.wp-block-post-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--mfdr-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.jeg_post_meta a,
.entry-meta a,
.post-meta a {
  color: var(--mfdr-muted) !important;
  text-decoration: none;
}

.jeg_post_category,
.cat-links,
.post-category,
.entry-category {
  position: relative;
  z-index: 2;
}

.jeg_thumb .jeg_post_category,
.post-thumbnail .cat-links,
.featured-image .cat-links {
  position: absolute;
  top: 10px;
  left: 10px;
}

.jeg_post_category a,
.jeg_cat a,
.cat-links a,
.category a,
.post-category a,
.entry-category a,
a[rel="category tag"] {
  min-height: 22px !important;
  padding: 5px 8px !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 950 !important;
  letter-spacing: .03em;
  background: linear-gradient(135deg, var(--mfdr-red), #a90f18) !important;
  box-shadow: 0 8px 18px rgba(228, 45, 53, .24);
}

.jeg_pl_lg_1,
.jeg_pl_md_1,
.jeg_pl_sm,
.jeg_pl_xs,
.jeg_postblock .jeg_post {
  margin-bottom: 18px !important;
}

.jeg_heroblock .jeg_post,
.jeg_heroblock article {
  border-radius: 22px !important;
}

.jeg_heroblock .jeg_thumb,
.jeg_heroblock .jeg_thumb img {
  border-radius: 22px !important;
}

.jeg_heroblock .jeg_post_title,
.jeg_heroblock .jeg_post_title a {
  font-size: clamp(28px, 4vw, 54px) !important;
  letter-spacing: -.01em;
}

.jeg_block_heading,
.jeg_block_title,
.section-heading,
.archive-title,
.page-title {
  margin-top: 26px;
  margin-bottom: 18px;
}

.jeg_block_title,
.section-heading,
.archive-title,
.page-title {
  color: var(--mfdr-ink);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 950;
}

.jeg_block_title::after,
.section-heading::after,
.archive-title::after,
.page-title::after {
  display: block;
  width: 56px;
  height: 5px;
  margin: 10px auto 0;
  content: "";
  background: var(--mfdr-red);
  border-radius: 999px;
}

.mfdr-related {
  max-width: 820px;
  padding: 16px;
  margin: 42px auto 16px;
  background: var(--mfdr-card);
  border: 1px solid var(--mfdr-line);
  border-radius: 20px;
  box-shadow: var(--mfdr-shadow);
}

.mfdr-related__header {
  display: block;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--mfdr-line);
}

.mfdr-related__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  color: var(--mfdr-red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--mfdr-red-soft);
  border-radius: 999px;
}

.mfdr-related h2 {
  margin: 0;
  color: var(--mfdr-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.mfdr-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mfdr-related__card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  min-height: 136px;
  color: var(--mfdr-ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--mfdr-line);
  border-radius: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mfdr-related__card:hover {
  color: var(--mfdr-ink);
  border-color: rgba(228, 45, 53, .24);
  box-shadow: var(--mfdr-shadow);
  transform: translateY(-2px);
}

.mfdr-related__image {
  display: block;
  width: 190px;
  height: 136px;
  padding: 8px;
  background: #f3f4f6;
  border-radius: 18px;
}

.mfdr-related__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f3f4f6;
  border-radius: 14px;
}

.mfdr-related__body {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 14px 20px 14px 12px;
}

.mfdr-related__category {
  justify-self: start;
  padding: 0;
  color: var(--mfdr-red);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  background: transparent;
  border-radius: 0;
}

.mfdr-related__title {
  font-size: clamp(14px, 1.45vw, 16px);
  font-weight: 950;
  line-height: 1.18;
}

.mfdr-related__date {
  color: var(--mfdr-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 781px) {
  .custom-logo,
  .site-logo img,
  .logo img,
  header img[alt*="Sanfelipe"],
  header img[alt*="Mi Sanfelipe"] {
    max-height: 54px;
  }

  .main-navigation ul,
  .primary-navigation ul,
  nav[role="navigation"] ul,
  .menu,
  .jeg_menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    padding: 6px 10px;
    scrollbar-width: none;
  }

  .main-navigation ul::-webkit-scrollbar,
  .primary-navigation ul::-webkit-scrollbar,
  nav[role="navigation"] ul::-webkit-scrollbar,
  .menu::-webkit-scrollbar,
  .jeg_menu::-webkit-scrollbar {
    display: none;
  }

  .main-navigation a,
  .primary-navigation a,
  nav[role="navigation"] a,
  .menu a,
  .jeg_menu a {
    white-space: nowrap;
  }

  .site-content,
  .content-area,
  .container,
  .wrap,
  .main-content,
  #content {
    width: calc(100% - 22px);
  }

  .entry-content,
  .post-content,
  .article-content {
    font-size: 16px;
  }

  .single article,
  .single .jeg_content {
    padding: 12px !important;
  }

  .single .entry-title,
  .single h1,
  .single .jeg_post_title {
    font-size: clamp(28px, 9vw, 38px) !important;
  }

  .single .entry-header,
  .single .jeg_post_header {
    width: calc(100% - 22px) !important;
    padding: 14px 16px 18px !important;
    margin-top: -28px !important;
    border-radius: 0 0 16px 16px;
  }

  .single .jeg_featured,
  .single .post-thumbnail,
  .single .entry-thumbnail,
  .single .featured-image,
  .single .wp-post-image,
  .single .jeg_featured_img {
    width: calc(100vw - 22px) !important;
  }

  .single .jeg_featured,
  .single .post-thumbnail,
  .single .entry-thumbnail,
  .single .featured-image,
  .single .wp-post-image,
  .single .jeg_featured_img {
    margin-top: 16px !important;
    margin-bottom: 20px !important;
    border-radius: 16px !important;
  }

  .single .jeg_inner_content,
  .single .entry-content,
  .single .post-content,
  .single .article-content {
    font-size: 16.5px;
    line-height: 1.72;
  }

  .jeg_post,
  .home article,
  .archive article,
  .blog article,
  .search article,
  .wp-block-post {
    border-radius: 15px !important;
    box-shadow: 0 8px 22px rgba(9, 11, 18, .08);
  }

  .jeg_thumb,
  .post-thumbnail,
  .entry-thumbnail,
  .featured-image,
  .wp-block-post-featured-image {
    border-radius: 14px 14px 0 0 !important;
  }

  .jeg_thumb img,
  .post-thumbnail img,
  .entry-thumbnail img,
  .featured-image img,
  .wp-block-post-featured-image img {
    aspect-ratio: 16 / 9;
  }

  .jeg_postblock_content,
  .jeg_post .jeg_postblock_content,
  .entry-header,
  .entry-summary,
  .entry-content,
  .wp-block-post .wp-block-post-title,
  .wp-block-post .wp-block-post-excerpt {
    padding-right: 12px;
    padding-left: 12px;
  }

  .jeg_post_title,
  .jeg_post_title a,
  .home article .entry-title,
  .archive article .entry-title,
  .blog article .entry-title,
  .search article .entry-title,
  .wp-block-post-title {
    font-size: clamp(18px, 5.6vw, 24px) !important;
  }

  .mfdr-related {
    padding: 14px;
    margin-top: 30px;
    border-radius: 14px;
  }

  .mfdr-related__header {
    display: block;
  }

  .mfdr-related__grid {
    grid-template-columns: 1fr;
  }

  .mfdr-related__card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 104px;
    border-radius: 18px;
  }

  .mfdr-related__image {
    width: 128px;
    height: 104px;
    padding: 6px;
    border-radius: 18px;
  }

  .mfdr-related__image img {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 14px;
  }

  .mfdr-related__body {
    padding: 10px 12px 10px 8px;
  }

  .mfdr-related__category {
    font-size: 8px;
  }

  .mfdr-related__title {
    font-size: 12.5px;
  }
}
