/*
Theme Name: JNews Medium
Theme URI: https://www.orthodiet.org/
Description: Thème enfant JNews — lecture épurée inspirée de Medium.
Author: OrthoDiet
Template: jnews
Version: 1.4.3
Text Domain: jnews-medium
*/

:root {
  --md-bg: #ffffff;
  --md-canvas: #ffffff;
  --md-text: #242424;
  --md-text-strong: #191919;
  --md-muted: #757575;
  --md-muted-soft: #6b6b6b;
  --md-border: #e6e6e6;
  --md-serif: "Source Serif 4", Charter, "Bitstream Charter", Georgia, serif;
  --md-sans: "Inter", sohne, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --md-content: 680px;
  --md-feed: 728px;
  --md-accent: #1a8917;
  --md-link: #242424;
}

/* Base */
body.orthodiet-medium,
body.orthodiet-medium .jeg_viewport,
body.orthodiet-medium .jeg_main {
  background: var(--md-canvas) !important;
  color: var(--md-text) !important;
  font-family: var(--md-sans) !important;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.orthodiet-medium.jnews_boxed_container .jeg_viewport,
body.orthodiet-medium.jnews_boxed_container_shadow .jeg_viewport {
  box-shadow: none !important;
  max-width: none !important;
  margin: 0 !important;
}

body.orthodiet-medium a {
  color: var(--md-link);
  text-decoration: none;
}

body.orthodiet-medium a:hover {
  color: var(--md-text-strong);
}

/* Header — une ligne : logo à gauche, nav à droite */
body.orthodiet-medium .jeg_topbar,
body.orthodiet-medium .jeg_ad_top,
body.orthodiet-medium .jeg_header_instagram_wrapper,
body.orthodiet-medium .jnews_header_topbar_weather,
body.orthodiet-medium .jeg_button_1,
body.orthodiet-medium .jeg_top_date,
body.orthodiet-medium .jeg_breakingnews,
body.orthodiet-medium .jeg_header_top_ads,
body.orthodiet-medium .jeg_header .socials_widget {
  display: none !important;
}

body.orthodiet-medium .jeg_header.normal,
body.orthodiet-medium .jeg_header_sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--md-border);
  box-shadow: none !important;
}

body.orthodiet-medium .jeg_header.normal {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  max-width: 1192px;
  margin: 0 auto;
  padding: 8px 24px 0;
}

body.orthodiet-medium .jeg_midbar {
  order: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  width: 100% !important;
  display: block !important;
  float: none !important;
}

body.orthodiet-medium .jeg_bottombar {
  order: 2;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  width: 100% !important;
  margin-top: 0 !important;
  display: block !important;
  float: none !important;
  padding-bottom: 8px;
}

body.orthodiet-medium .jeg_midbar .container,
body.orthodiet-medium .jeg_bottombar .container {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.orthodiet-medium .jeg_midbar .jeg_nav_row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
}

body.orthodiet-medium .jeg_bottombar .jeg_nav_row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
}

body.orthodiet-medium .jeg_midbar .jeg_nav_col.jeg_nav_left,
body.orthodiet-medium .jeg_midbar .jeg_nav_col.jeg_nav_right {
  display: none !important;
}

body.orthodiet-medium .jeg_bottombar .jeg_nav_col.jeg_nav_left,
body.orthodiet-medium .jeg_bottombar .jeg_nav_col.jeg_nav_right {
  display: none !important;
}

body.orthodiet-medium .jeg_midbar .jeg_nav_col.jeg_nav_center,
body.orthodiet-medium .jeg_bottombar .jeg_nav_col.jeg_nav_center {
  width: 100%;
  flex: 1 1 100%;
}

body.orthodiet-medium .jeg_midbar .item_wrap,
body.orthodiet-medium .jeg_bottombar .item_wrap {
  justify-content: center !important;
}

body.orthodiet-medium .jeg_logo h1.site-title {
  margin: 0;
  line-height: 1;
  text-align: center;
}

body.orthodiet-medium .jeg_logo img,
body.orthodiet-medium .jeg_logo_img {
  max-height: 32px !important;
  width: auto !important;
  display: block;
  margin: 0 auto;
}

body.orthodiet-medium .jeg_main_menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin: 0;
}

body.orthodiet-medium .jeg_main_menu > li > a,
body.orthodiet-medium .jeg_menu > li > a {
  font-family: var(--md-sans) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--md-muted) !important;
  letter-spacing: 0;
  text-transform: none !important;
  line-height: 44px !important;
  padding: 0 !important;
}

body.orthodiet-medium .jeg_header .jeg_bottombar.jeg_navbar,
body.orthodiet-medium .jeg_header .jeg_bottombar .jeg_main_menu > li > a {
  line-height: 44px !important;
  height: auto !important;
}

body.orthodiet-medium .jeg_header .jeg_midbar,
body.orthodiet-medium .jeg_header .jeg_bottombar.jeg_navbar {
  height: auto !important;
}

body.orthodiet-medium .jeg_main_menu > li > a:hover,
body.orthodiet-medium .jeg_main_menu > li.current-menu-item > a {
  color: var(--md-text) !important;
}

body.orthodiet-medium .jeg_main_menu > li > a:before {
  display: none !important;
}

body.orthodiet-medium .jeg_header .jeg_main_menu > li > a::after {
  content: "+";
  margin-left: 2px;
  font-weight: 400;
  color: inherit;
}

body.orthodiet-medium .jeg_search_wrapper .jeg_search_input {
  border: none;
  border-radius: 99px;
  font-size: 14px;
  background: #f9f9f9;
  color: var(--md-muted);
  padding: 8px 16px 8px 36px;
  min-width: 240px;
}

body.orthodiet-medium .jeg_nav_search {
  width: auto !important;
}

/* Contenu principal */
body.orthodiet-medium .jeg_container,
body.orthodiet-medium .jeg_content {
  max-width: 1192px;
}

body.orthodiet-medium .jeg_content .content-inner {
  padding-top: 32px;
  padding-bottom: 48px;
}

body.orthodiet-medium .jeg_breadcrumbs {
  display: none !important;
}

/* Homepage — masquer blocs redondants */
body.orthodiet-medium.home [data-unique*="jnews_module_16835_3_"],
body.orthodiet-medium.home [data-unique*="jnews_module_16835_4_"],
body.orthodiet-medium.home [data-unique*="jnews_module_16835_5_"] {
  display: none !important;
}

body.orthodiet-medium.home .wpb_column.vc_col-sm-4,
body.orthodiet-medium.home .jeg_sidebar,
body.orthodiet-medium.home .widget-area,
body.orthodiet-medium.home .jeg_sticky_sidebar {
  display: none !important;
}

body.orthodiet-medium.home .wpb_column.vc_col-sm-8,
body.orthodiet-medium.home .vc_row .vc_col-sm-8 {
  width: 100% !important;
  max-width: var(--md-feed);
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

/* Hero Microbiome 360 — accueil */
body.orthodiet-medium.home .md-mb360-hero {
  margin: 0 0 40px;
  padding: 8px 0 0;
  color: var(--md-text);
  font-family: var(--md-sans);
  background: transparent;
}

body.orthodiet-medium.home .md-mb360-hero__eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d65d45;
}

body.orthodiet-medium.home .md-mb360-hero__title {
  margin: 0 0 28px;
  font-family: var(--md-sans) !important;
  font-size: clamp(32px, 5vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em;
  color: var(--md-text-strong) !important;
}

body.orthodiet-medium.home .md-mb360-gradient {
  background-image: linear-gradient(135deg, #ff9f5a 0%, #d65d45 65%, #4facfe 85%, #00f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body.orthodiet-medium.home .md-mb360-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--md-border);
  border-top: 3px solid #d65d45;
  background: #fff;
  overflow: hidden;
  border-radius: 2px;
}

body.orthodiet-medium.home .md-mb360-hero__copy {
  padding: 28px 32px 32px;
}

body.orthodiet-medium.home .md-mb360-hero__subtitle {
  margin: 0 0 16px;
  font-family: var(--md-sans) !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--md-text-strong) !important;
}

body.orthodiet-medium.home .md-mb360-hero__text {
  margin: 0 0 24px;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--md-muted);
}

body.orthodiet-medium.home .md-mb360-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

body.orthodiet-medium.home .md-mb360-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: opacity 0.2s, border-color 0.2s, background-color 0.2s;
}

body.orthodiet-medium.home .md-mb360-btn--primary {
  padding: 12px 18px;
  border: 1px solid #191919;
  border-radius: 2px;
  color: #fff !important;
  background: #191919;
}

body.orthodiet-medium.home .md-mb360-btn--primary:hover {
  background: #000;
  border-color: #000;
}

body.orthodiet-medium.home .md-mb360-btn--ghost {
  color: var(--md-muted) !important;
}

body.orthodiet-medium.home .md-mb360-btn--ghost:hover {
  color: var(--md-text-strong) !important;
}

body.orthodiet-medium.home .md-mb360-hero__media {
  display: flex;
  flex-direction: column;
  width: 280px;
  flex-shrink: 0;
  min-height: 100%;
  border-left: 1px solid var(--md-border);
}

body.orthodiet-medium.home .md-mb360-hero__figure {
  flex: 1 1 auto;
  min-height: 240px;
  overflow: hidden;
}

body.orthodiet-medium.home .md-mb360-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

body.orthodiet-medium.home .md-mb360-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 20px;
  border-top: 1px solid var(--md-border);
  background: #fafafa;
}

body.orthodiet-medium.home .md-mb360-hero__stats div {
  text-align: left;
}

body.orthodiet-medium.home .md-mb360-hero__stats span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d65d45;
}

body.orthodiet-medium.home .md-mb360-hero__stats strong {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--md-text-strong);
}

body.orthodiet-medium.home .jnews_element_ads .md-mb360-hero,
body.orthodiet-medium.home .widget_jnews_module_element_ads .md-mb360-hero {
  box-shadow: none !important;
  border: 0 !important;
}

body.orthodiet-medium.home .vc_row[data-vc-full-width],
body.orthodiet-medium.home .vc_row {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.orthodiet-medium .jeg_slider_wrapper,
body.orthodiet-medium .jeg_heroblock,
body.orthodiet-medium .jeg_hero_style_7,
body.orthodiet-medium .jeg_slide_caption {
  display: none !important;
}

/* Bannière congrès */
body.orthodiet-medium .wpb_single_image {
  margin-bottom: 32px !important;
}

body.orthodiet-medium .wpb_single_image .vc_single_image-wrapper {
  border-radius: 4px;
  overflow: hidden;
}

body.orthodiet-medium .wpb_heading.wpb_singleimage_heading {
  font-family: var(--md-sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--md-muted) !important;
  text-align: left;
  margin-bottom: 8px !important;
}

body.orthodiet-medium .vc_separator {
  display: none !important;
}

body.orthodiet-medium .jnews_element_ads > div,
body.orthodiet-medium .widget_jnews_module_element_ads .ads-wrapper > div > div {
  box-shadow: none !important;
  border: 1px solid var(--md-border) !important;
  border-radius: 8px !important;
}

/* Feed — liste Medium (texte à gauche, vignette à droite) */
body.orthodiet-medium .jeg_block_heading,
body.orthodiet-medium .jeg_block_title {
  font-family: var(--md-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--md-muted) !important;
  border: 0 !important;
  margin-bottom: 8px !important;
}

body.orthodiet-medium .jeg_block_heading .jeg_block_title span {
  background: none !important;
  padding: 0 !important;
}

/* Feed — liste Medium (texte à gauche, vignette à droite) */
body.orthodiet-medium.home .jeg_posts .jeg_post,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_post {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 112px;
  grid-template-areas:
    "title thumb"
    "excerpt thumb";
  column-gap: 24px;
  row-gap: 2px;
  align-items: stretch;
  border-bottom: 1px solid var(--md-border) !important;
  padding: 32px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_postblock_heading,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_postblock_heading {
  grid-area: title;
}

body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_thumb,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_thumb {
  grid-area: thumb;
  width: 112px !important;
  max-width: 112px;
  min-width: 112px;
  margin: 0 !important;
  align-self: stretch;
  display: flex;
  border-radius: 2px;
  overflow: hidden;
}

body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_postblock_content,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_postblock_content {
  grid-area: excerpt;
}

body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_thumb > a,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_thumb > a {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-height: 112px;
}

body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_thumb .thumbnail-container,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_thumb .thumbnail-container {
  flex: 1 1 auto;
  width: 112px !important;
  height: 100% !important;
  min-height: 112px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_thumb .thumbnail-container > div,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_thumb .thumbnail-container > div {
  width: 100% !important;
  height: 100% !important;
  min-height: inherit;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_thumb img,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_thumb img {
  width: 112px !important;
  height: 100% !important;
  min-height: 112px;
  object-fit: cover;
  object-position: center center;
}

body.orthodiet-medium .jeg_postblock article,
body.orthodiet-medium .jeg_postblock .jeg_post {
  border-bottom: 1px solid var(--md-border) !important;
  padding: 28px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.orthodiet-medium.home .jeg_postblock_heading,
body.orthodiet-medium.home .jeg_postblock .jeg_post_title {
  margin: 0 !important;
  padding: 0 !important;
}

body.orthodiet-medium.home .jeg_postblock .jeg_post_title a,
body.orthodiet-medium.home .jeg_post_title a {
  font-size: 28px !important;
  line-height: 1.15 !important;
}

body.orthodiet-medium .jeg_postblock .jeg_post_title a,
body.orthodiet-medium .jeg_post_title a {
  font-family: var(--md-sans) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--md-text-strong) !important;
  letter-spacing: -0.02em;
}

body.orthodiet-medium .jeg_postblock .jeg_post_title a:hover {
  text-decoration: none;
  color: var(--md-text) !important;
}

body.orthodiet-medium.home .jeg_post_excerpt,
body.orthodiet-medium.home .jeg_post_excerpt p {
  margin-top: 0 !important;
}

body.orthodiet-medium .jeg_post_excerpt,
body.orthodiet-medium .jeg_post_excerpt p {
  font-family: var(--md-sans) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--md-muted) !important;
  margin-top: 8px !important;
}

body.orthodiet-medium .jeg_post_meta,
body.orthodiet-medium .jeg_meta_author,
body.orthodiet-medium .jeg_meta_date {
  font-size: 13px !important;
  color: var(--md-muted) !important;
  font-family: var(--md-sans) !important;
}

body.orthodiet-medium .jeg_post_category a,
body.orthodiet-medium .jeg_post_category {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--md-muted) !important;
  text-transform: none !important;
  background: none !important;
}

body.orthodiet-medium .jeg_readmore {
  display: none !important;
}

body.orthodiet-medium .jeg_pl_xs_2:before,
body.orthodiet-medium .jeg_pl_xs_4 .jeg_postblock_content:before {
  display: none !important;
}

/* Article single — layout Medium */
body.orthodiet-medium.single .md-article-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

body.orthodiet-medium.single .md-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid var(--md-border);
  border-radius: 50%;
  background: var(--md-bg);
  color: var(--md-text-strong);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
}

body.orthodiet-medium.single .md-back-btn:hover {
  background: #f9f9f9;
  border-color: var(--md-text);
}

body.orthodiet-medium.single .md-back-btn:active {
  transform: scale(0.96);
}

body.orthodiet-medium.single .jeg_sidebar,
body.orthodiet-medium.single .widget-area,
body.orthodiet-medium.single .jeg_sticky_sidebar {
  display: none !important;
}

body.orthodiet-medium.single .jeg_main_content {
  width: 100% !important;
  max-width: var(--md-content);
  margin-left: auto !important;
  margin-right: auto !important;
  flex: 0 0 100% !important;
  float: none !important;
}

body.orthodiet-medium.single .jeg_content > .row {
  display: block !important;
}

body.orthodiet-medium.single .entry-header,
body.orthodiet-medium.single .jeg_main_content,
body.orthodiet-medium.single .entry-content {
  max-width: var(--md-content);
  margin-left: auto;
  margin-right: auto;
}

/* Tags pills au-dessus du titre */
body.orthodiet-medium.single .md-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

body.orthodiet-medium.single .md-topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--md-border);
  border-radius: 99px;
  font-family: var(--md-sans) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--md-muted) !important;
  background: var(--md-bg);
  line-height: 1.4;
}

body.orthodiet-medium.single .md-topic-pill:hover {
  border-color: var(--md-text);
  color: var(--md-text) !important;
}

/* Titre article — sans-serif bold comme Medium */
body.orthodiet-medium.single h1.jeg_post_title,
body.orthodiet-medium.single .entry-header h1.jeg_post_title,
body.orthodiet-medium.single .entry-header .jeg_post_title {
  font-family: var(--md-sans) !important;
  font-size: clamp(32px, 5vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  color: var(--md-text-strong) !important;
  margin: 0 0 24px !important;
}

body.orthodiet-medium.single .entry-header .jeg_post_subtitle {
  font-family: var(--md-sans) !important;
  font-size: 22px !important;
  line-height: 1.4 !important;
  color: var(--md-muted) !important;
  font-weight: 400 !important;
  margin-bottom: 24px;
}

/* Byline Medium */
body.orthodiet-medium.single .jeg_post_meta,
body.orthodiet-medium.single .jeg_post_meta_2 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
  background: transparent !important;
}

body.orthodiet-medium.single .jeg_post_meta .meta_left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

body.orthodiet-medium.single .jeg_meta_author {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  margin-right: 0 !important;
}

body.orthodiet-medium.single .jeg_meta_author img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  margin: 0 !important;
}

body.orthodiet-medium.single .jeg_meta_author .meta_text,
body.orthodiet-medium.single .jeg_meta_category {
  display: none !important;
}

body.orthodiet-medium.single .jeg_meta_author a {
  font-family: var(--md-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--md-text-strong) !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.orthodiet-medium .jeg_meta_author a::after,
body.orthodiet-medium .jeg_authorname a::after,
body.orthodiet-medium .jeg_author_box .author-name a::after,
body.orthodiet-medium .author.vcard a.url.fn::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='11' fill='%231D9BF0'/%3E%3Cpath fill='%23fff' d='M9.5 14.2 6.3 11l1.1-1.1 2.1 2.1 5.2-5.2 1.1 1.1z'/%3E%3C/svg%3E");
}

body.orthodiet-medium .md-verified-badge {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: -2px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='11' fill='%231D9BF0'/%3E%3Cpath fill='%23fff' d='M9.5 14.2 6.3 11l1.1-1.1 2.1 2.1 5.2-5.2 1.1 1.1z'/%3E%3C/svg%3E");
}

body.orthodiet-medium.single .jeg_meta_date,
body.orthodiet-medium.single .md-read-time {
  font-family: var(--md-sans) !important;
  font-size: 13px !important;
  color: var(--md-muted) !important;
}

body.orthodiet-medium.single .jeg_meta_date a {
  color: var(--md-muted) !important;
  pointer-events: none;
}

body.orthodiet-medium.single .jeg_meta_date::before {
  content: " · ";
}

body.orthodiet-medium.single .jeg_meta_reading_time {
  display: none !important;
}

body.orthodiet-medium.single .jeg_post_meta .meta_right {
  display: none !important;
}

/* Barre d'actions sous le byline */
body.orthodiet-medium.single .jeg_share_top_container,
body.orthodiet-medium.single .jeg_share_button.share-top {
  max-width: var(--md-content);
  margin: 0 auto 32px;
  border-top: 1px solid var(--md-border);
  border-bottom: 1px solid var(--md-border);
  padding: 12px 0;
}

body.orthodiet-medium.single .jeg_share_button.share-float {
  display: none !important;
}

/* Image hero */
body.orthodiet-medium.single .jeg_featured,
body.orthodiet-medium.single .jeg_featured_img {
  max-width: var(--md-content);
  margin: 0 auto 40px;
}

body.orthodiet-medium.single .jeg_featured img,
body.orthodiet-medium.single .featured_image img {
  border-radius: 0;
  width: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

body.orthodiet-medium.single .featured_image .thumbnail-container {
  padding-bottom: 52% !important;
  overflow: visible;
}

/* Corps de l'article — serif Medium */
body.orthodiet-medium.single .entry-content,
body.orthodiet-medium.single .entry-content p,
body.orthodiet-medium.single .entry-content li {
  font-family: var(--md-serif) !important;
}

body.orthodiet-medium.single .entry-content {
  font-size: 21px;
  line-height: 1.58;
  color: var(--md-text);
}

body.orthodiet-medium.single .entry-content p {
  margin-bottom: 1.58em;
}

body.orthodiet-medium.single .entry-content h2,
body.orthodiet-medium.single .entry-content h3,
body.orthodiet-medium.single .entry-content .wp-block-heading {
  font-family: var(--md-serif) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--md-text-strong);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

body.orthodiet-medium.single .entry-content h2 {
  font-size: 28px;
  line-height: 1.25;
}

body.orthodiet-medium.single .entry-content h3 {
  font-size: 24px;
  line-height: 1.3;
}

body.orthodiet-medium.single .entry-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

body.orthodiet-medium.single .entry-content blockquote {
  border-left: 3px solid var(--md-border);
  margin: 1.6em 0;
  padding-left: 20px;
  font-style: italic;
  color: var(--md-muted-soft);
}

body.orthodiet-medium.single .entry-content pre,
body.orthodiet-medium.single .entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
}

body.orthodiet-medium.single .entry-content pre {
  background: #f9f9f9;
  border: 1px solid var(--md-border);
  border-radius: 4px;
  padding: 16px;
  overflow-x: auto;
  line-height: 1.45;
}

body.orthodiet-medium.single .entry-content img {
  max-width: 100%;
  height: auto;
  margin: 2em auto;
}

body.orthodiet-medium.single #comments,
body.orthodiet-medium.single .comment-respond,
body.orthodiet-medium.single .jeg_comment_wrapper {
  display: none !important;
}

body.orthodiet-medium.single .jeg_post_tags {
  max-width: var(--md-content);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--md-border);
}

body.orthodiet-medium.single .jeg_post_tags a {
  display: inline-flex;
  padding: 4px 12px;
  margin: 0 8px 8px 0;
  border: 1px solid var(--md-border);
  border-radius: 99px;
  font-family: var(--md-sans) !important;
  font-size: 13px !important;
  color: var(--md-muted) !important;
  background: var(--md-bg);
}

/* Archives, listes & pages secondaires */
body.orthodiet-medium.archive .jeg_sidebar,
body.orthodiet-medium.category .jeg_sidebar,
body.orthodiet-medium.tag .jeg_sidebar,
body.orthodiet-medium.author .jeg_sidebar,
body.orthodiet-medium.search .jeg_sidebar,
body.orthodiet-medium.error404 .jeg_sidebar,
body.orthodiet-medium.blog .jeg_sidebar,
body.orthodiet-medium.archive .widget-area,
body.orthodiet-medium.category .widget-area,
body.orthodiet-medium.tag .widget-area,
body.orthodiet-medium.author .widget-area,
body.orthodiet-medium.search .widget-area,
body.orthodiet-medium.error404 .widget-area,
body.orthodiet-medium.blog .widget-area {
  display: none !important;
}

body.orthodiet-medium.archive .jeg_main_content,
body.orthodiet-medium.category .jeg_main_content,
body.orthodiet-medium.tag .jeg_main_content,
body.orthodiet-medium.author .jeg_main_content,
body.orthodiet-medium.search .jeg_main_content,
body.orthodiet-medium.error404 .jeg_main_content,
body.orthodiet-medium.blog .jeg_main_content {
  width: 100% !important;
  max-width: var(--md-feed);
  margin-left: auto !important;
  margin-right: auto !important;
  flex: 0 0 100% !important;
  float: none !important;
}

body.orthodiet-medium.archive .jeg_content > .row,
body.orthodiet-medium.category .jeg_content > .row,
body.orthodiet-medium.tag .jeg_content > .row,
body.orthodiet-medium.author .jeg_content > .row,
body.orthodiet-medium.search .jeg_content > .row,
body.orthodiet-medium.error404 .jeg_content > .row,
body.orthodiet-medium.blog .jeg_content > .row {
  display: block !important;
}

body.orthodiet-medium.error404 .jeg_404_content .jeg_main_content {
  width: 100% !important;
  max-width: var(--md-feed);
}

body.orthodiet-medium .jeg_archive_header {
  border-bottom: 1px solid var(--md-border);
  padding-bottom: 28px;
  margin-bottom: 8px;
}

body.orthodiet-medium.error404 .jeg_archive_header {
  text-align: center;
  border-bottom: 0;
  padding: 48px 0 24px;
  margin-bottom: 0;
}

body.orthodiet-medium.error404 .jeg_archive_header p {
  max-width: 42ch;
  margin: 12px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--md-muted);
}

body.orthodiet-medium .jeg_archive_header h1,
body.orthodiet-medium .jeg_archive_title {
  margin: 0;
  font-family: var(--md-sans) !important;
  font-size: clamp(28px, 4vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  color: var(--md-text-strong) !important;
}

body.orthodiet-medium.error404 .jeg_archive_title {
  font-size: clamp(36px, 6vw, 52px) !important;
}

body.orthodiet-medium .jeg_archive_search {
  margin-top: 20px;
}

body.orthodiet-medium.error404 .jeg_archive_search {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

body.orthodiet-medium .jeg_archive_search .jeg_search_form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

body.orthodiet-medium .jeg_archive_search .jeg_search_input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--md-border) !important;
  border-radius: 99px !important;
  padding: 12px 18px !important;
  background: #fff !important;
  color: var(--md-text) !important;
  font-size: 15px !important;
}

body.orthodiet-medium .jeg_archive_search .jeg_search_button {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border: 1px solid var(--md-text-strong) !important;
  border-radius: 50% !important;
  background: var(--md-text-strong) !important;
  color: #fff !important;
}

body.orthodiet-medium .jeg_archive_search .jeg_search_result {
  display: none !important;
}

body.orthodiet-medium .jeg_block_heading {
  border: 0 !important;
  margin: 0 0 8px !important;
  padding: 24px 0 0 !important;
  background: none !important;
}

body.orthodiet-medium .jeg_block_heading .jeg_block_title {
  font-family: var(--md-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--md-muted) !important;
}

body.orthodiet-medium .jeg_block_heading .jeg_block_title span {
  background: none !important;
  padding: 0 !important;
}

body.orthodiet-medium .jeg_block_heading::before,
body.orthodiet-medium .jeg_block_heading::after,
body.orthodiet-medium .jeg_block_heading_6::after {
  display: none !important;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_postblock.jeg_col_2o3,
body.orthodiet-medium:not(.home):not(.single) .jeg_postblock.jeg_col_3o3 {
  width: 100% !important;
  max-width: 100% !important;
}

/* Feed liste — vignette à gauche (archives, recherche, 404, blog) */
body.orthodiet-medium:not(.home):not(.single) .jeg_posts .jeg_post.jeg_pl_md_2,
body.orthodiet-medium:not(.home):not(.single) .jeg_postblock_3 .jeg_post.jeg_pl_md_2 {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-areas: "thumb content";
  column-gap: 24px;
  align-items: stretch;
  border-bottom: 1px solid var(--md-border) !important;
  padding: 32px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb {
  grid-area: thumb;
  width: 112px !important;
  max-width: 112px;
  min-width: 112px;
  margin: 0 !important;
  align-self: stretch;
  display: flex;
  border-radius: 2px;
  overflow: hidden;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb > a {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-height: 112px;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb .thumbnail-container,
body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb .thumbnail-container > div {
  flex: 1 1 auto;
  width: 112px !important;
  height: 100% !important;
  min-height: 112px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb img {
  width: 112px !important;
  height: 100% !important;
  min-height: 112px;
  object-fit: cover;
  object-position: center center;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_postblock_content {
  grid-area: content;
  min-width: 0;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_post_title {
  margin: 0 !important;
  padding: 0 !important;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_post_title a {
  font-size: 24px !important;
  line-height: 1.2 !important;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_post_excerpt,
body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_post_excerpt p {
  margin-top: 6px !important;
}

/* Posts sans vignette — pleine largeur, partout */
body.orthodiet-medium .jeg_post:has(.thumbnail-container.no_thumbnail) .jeg_thumb,
body.orthodiet-medium .jeg_post.md-no-thumb .jeg_thumb {
  display: none !important;
}

body.orthodiet-medium.home .jeg_posts .jeg_post:has(.thumbnail-container.no_thumbnail),
body.orthodiet-medium.home .jeg_postblock_25 .jeg_post:has(.thumbnail-container.no_thumbnail),
body.orthodiet-medium.home .jeg_posts .jeg_post.md-no-thumb,
body.orthodiet-medium.home .jeg_postblock_25 .jeg_post.md-no-thumb {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "title"
    "excerpt" !important;
}

body.orthodiet-medium:not(.home):not(.single) .jeg_posts .jeg_post:has(.thumbnail-container.no_thumbnail),
body.orthodiet-medium:not(.home):not(.single) .jeg_postblock_3 .jeg_post:has(.thumbnail-container.no_thumbnail),
body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2:has(.thumbnail-container.no_thumbnail),
body.orthodiet-medium:not(.home):not(.single) .jeg_posts .jeg_post.md-no-thumb,
body.orthodiet-medium:not(.home):not(.single) .jeg_postblock_3 .jeg_post.md-no-thumb {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "content" !important;
}

body.orthodiet-medium .jeg_post:has(.thumbnail-container.no_thumbnail) .jeg_post_title a,
body.orthodiet-medium .jeg_post.md-no-thumb .jeg_post_title a {
  font-size: clamp(22px, 3vw, 28px) !important;
  line-height: 1.2 !important;
}

/* En-tête catégorie JNews — style Medium (sans bannière bleue) */
body.orthodiet-medium .jnews_category_header_top,
body.orthodiet-medium .jeg_cat_header {
  background: transparent !important;
  margin-bottom: 0 !important;
}

body.orthodiet-medium .jeg_cat_header .jeg_cat_overlay,
body.orthodiet-medium .jeg_cat_header .jeg_cat_bg {
  display: none !important;
}

body.orthodiet-medium .jeg_cat_header .container {
  max-width: var(--md-feed);
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

body.orthodiet-medium .jeg_cat_header .jeg_title_wrap {
  border-bottom: 1px solid var(--md-border);
  padding: 32px 0 28px;
  margin-bottom: 8px;
}

body.orthodiet-medium .jeg_cat_header .jeg_cat_title {
  margin: 0 !important;
  font-family: var(--md-sans) !important;
  font-size: clamp(28px, 4vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  color: var(--md-text-strong) !important;
}

body.orthodiet-medium .jeg_cat_header .jeg_cat_desc {
  margin-top: 12px !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: var(--md-muted) !important;
  max-width: 42ch;
}

/* Blocs JNews encadrés — fond plat sur listes */
body.orthodiet-medium:not(.home):not(.single) .jeg_postblock.jeg_pb_boxed,
body.orthodiet-medium:not(.home):not(.single) .jeg_postblock.jeg_pb_boxed_shadow {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Pages statiques */
body.orthodiet-medium.page:not(.home) .jeg_sidebar,
body.orthodiet-medium.page:not(.home) .widget-area {
  display: none !important;
}

body.orthodiet-medium.page:not(.home) .jeg_main_content {
  width: 100% !important;
  max-width: var(--md-content);
  margin-left: auto !important;
  margin-right: auto !important;
  flex: 0 0 100% !important;
}

body.orthodiet-medium.page:not(.home) .jeg_content > .row {
  display: block !important;
}

body.orthodiet-medium.page:not(.home) h1.jeg_post_title,
body.orthodiet-medium.page:not(.home) .entry-header .jeg_post_title {
  font-family: var(--md-sans) !important;
  font-size: clamp(32px, 5vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  color: var(--md-text-strong) !important;
  margin-bottom: 24px;
}

body.orthodiet-medium.page:not(.home) .entry-content,
body.orthodiet-medium.page:not(.home) .entry-content p,
body.orthodiet-medium.page:not(.home) .entry-content li {
  font-family: var(--md-serif) !important;
  font-size: 21px;
  line-height: 1.58;
  color: var(--md-text);
}

body.orthodiet-medium.page:not(.home) .entry-content a {
  color: var(--md-text-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.orthodiet-medium.page:not(.home) .entry-content h2,
body.orthodiet-medium.page:not(.home) .entry-content h3 {
  font-family: var(--md-sans) !important;
  color: var(--md-text-strong) !important;
}

body.orthodiet-medium .jeg_ad.jnews_mobile_sticky_ads {
  display: none !important;
}

/* Archives — rétrocompat */
body.orthodiet-medium.archive .jeg_main_content,
body.orthodiet-medium.category .jeg_main_content,
body.orthodiet-medium.search .jeg_main_content {
  max-width: var(--md-feed);
  margin-left: auto;
  margin-right: auto;
}

body.orthodiet-medium.archive .jeg_archive_header,
body.orthodiet-medium.category .jeg_archive_header {
  border-bottom: 1px solid var(--md-border);
  padding-bottom: 24px;
  margin-bottom: 8px;
}

body.orthodiet-medium.archive .jeg_archive_header h1,
body.orthodiet-medium.category .jeg_archive_header h1 {
  font-family: var(--md-sans) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* Footer minimal */
body.orthodiet-medium .jeg_footer {
  background: var(--md-bg) !important;
  border-top: 1px solid var(--md-border);
  margin-top: 48px;
}

body.orthodiet-medium .jeg_footer_content {
  background: transparent !important;
  padding: 32px 0 !important;
}

body.orthodiet-medium .jeg_footer_primary,
body.orthodiet-medium .jeg_footer_secondary .jeg_menu,
body.orthodiet-medium .jeg_footer_heading,
body.orthodiet-medium .jeg_footer .socials_widget,
body.orthodiet-medium .jeg_footer .widget {
  display: none !important;
}

body.orthodiet-medium .jeg_footer .copyright,
body.orthodiet-medium .jeg_aside_copyright p {
  color: var(--md-muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

body.orthodiet-medium .jeg_footer_secondary {
  border: 0 !important;
  padding: 0 !important;
}

/* Mobile drawer */
body.orthodiet-medium #jeg_off_canvas .jeg_mobile_wrapper {
  background: #fff !important;
}

body.orthodiet-medium .jeg_mobile_menu li a {
  font-family: var(--md-sans) !important;
  font-size: 16px !important;
  color: var(--md-text) !important;
}

/* Pagination — bouton charger plus (icône seule) */
body.orthodiet-medium .jeg_pagination_loadmore .jeg_block_loadmore {
  text-align: center;
  padding: 8px 0 40px;
}

body.orthodiet-medium .jeg_pagination_loadmore .jeg_block_loadmore a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  border-radius: 50% !important;
  overflow: hidden;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23242424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
  transition: border-color 0.2s, background-color 0.2s;
}

body.orthodiet-medium .jeg_pagination_loadmore .jeg_block_loadmore a::before,
body.orthodiet-medium .jeg_pagination_loadmore .jeg_block_loadmore a::after {
  content: none !important;
  display: none !important;
}

body.orthodiet-medium .jeg_pagination_loadmore .jeg_block_loadmore a:hover {
  background-color: #f9f9f9 !important;
  border-color: var(--md-text) !important;
}

body.orthodiet-medium .jeg_pagination_loadmore .jeg_block_loadmore a.active {
  background-image: none !important;
  position: relative;
}

body.orthodiet-medium .jeg_pagination_loadmore .jeg_block_loadmore a.active::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border: 2px solid var(--md-border);
  border-top-color: var(--md-text);
  border-radius: 50%;
  animation: md-loadmore-spin 0.7s linear infinite;
}

@keyframes md-loadmore-spin {
  to {
    transform: rotate(360deg);
  }
}

body.orthodiet-medium .jeg_pagenav_1 .page_number,
body.orthodiet-medium .jeg_block_loadmore a {
  border: 1px solid var(--md-border) !important;
  border-radius: 99px !important;
  font-size: 14px !important;
  color: var(--md-text) !important;
  background: #fff !important;
  font-family: var(--md-sans) !important;
}

body.orthodiet-medium .jeg_pagenav_1 .page_number.active {
  background: var(--md-text-strong) !important;
  color: #fff !important;
  border-color: var(--md-text-strong) !important;
}

body.orthodiet-medium .jnews_element_ads a[style*="background"],
body.orthodiet-medium .widget_jnews_module_element_ads a[style*="background"] {
  border-radius: 99px !important;
}

@media (max-width: 768px) {
  body.orthodiet-medium .jeg_content .content-inner {
    padding-top: 20px;
  }

  body.orthodiet-medium.home .wpb_column.vc_col-sm-8 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.orthodiet-medium:not(.home):not(.single) .jeg_posts .jeg_post:has(.thumbnail-container.no_thumbnail),
  body.orthodiet-medium:not(.home):not(.single) .jeg_postblock_3 .jeg_post:has(.thumbnail-container.no_thumbnail) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "content" !important;
  }

  body.orthodiet-medium.home .jeg_posts .jeg_post:has(.thumbnail-container.no_thumbnail),
  body.orthodiet-medium.home .jeg_postblock_25 .jeg_post:has(.thumbnail-container.no_thumbnail) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "title"
      "excerpt" !important;
  }

  body.orthodiet-medium .jeg_cat_header .jeg_title_wrap {
    padding: 24px 0 20px;
  }

  body.orthodiet-medium:not(.home):not(.single) .jeg_posts .jeg_post.jeg_pl_md_2,
  body.orthodiet-medium:not(.home):not(.single) .jeg_postblock_3 .jeg_post.jeg_pl_md_2 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "thumb";
    row-gap: 12px;
    padding: 24px 0 !important;
  }

  body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb {
    width: 100% !important;
    max-width: none;
    min-width: 0;
    min-height: 180px;
  }

  body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb .thumbnail-container,
  body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb .thumbnail-container > div {
    width: 100% !important;
    min-height: 180px;
    max-height: 220px;
  }

  body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_thumb img {
    width: 100% !important;
    min-height: 180px;
    max-height: 220px;
  }

  body.orthodiet-medium:not(.home):not(.single) .jeg_post.jeg_pl_md_2 .jeg_post_title a {
    font-size: 20px !important;
  }

  body.orthodiet-medium.error404 .jeg_archive_header {
    padding: 32px 0 16px;
  }

  body.orthodiet-medium.page:not(.home) .entry-content,
  body.orthodiet-medium.page:not(.home) .entry-content p {
    font-size: 19px;
  }

  body.orthodiet-medium.home .jeg_posts .jeg_post,
  body.orthodiet-medium.home .jeg_postblock_25 .jeg_post {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "thumb"
      "excerpt";
  }

  body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_thumb,
  body.orthodiet-medium.home .jeg_postblock_25 .jeg_thumb {
    width: 100% !important;
    max-width: none;
    min-width: 0;
    min-height: 180px;
  }

  body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_thumb .thumbnail-container,
  body.orthodiet-medium.home .jeg_postblock_25 .jeg_thumb .thumbnail-container {
    width: 100% !important;
    min-height: 180px;
    max-height: 220px;
  }

  body.orthodiet-medium.home .jeg_posts .jeg_post .jeg_thumb img,
  body.orthodiet-medium.home .jeg_postblock_25 .jeg_thumb img {
    width: 100% !important;
    height: 100% !important;
    min-height: 180px;
    max-height: 220px;
    aspect-ratio: auto;
  }

  body.orthodiet-medium.home .jeg_postblock .jeg_post_title a,
  body.orthodiet-medium.home .jeg_post_title a {
    font-size: 24px !important;
  }

  body.orthodiet-medium.home .md-mb360-hero__panel {
    grid-template-columns: 1fr;
  }

  body.orthodiet-medium.home .md-mb360-hero__media {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--md-border);
  }

  body.orthodiet-medium.home .md-mb360-hero__figure {
    min-height: 220px;
    max-height: 280px;
  }

  body.orthodiet-medium.home .md-mb360-hero__copy {
    padding: 24px 20px;
  }

  body.orthodiet-medium.home .md-mb360-hero__stats strong {
    font-size: 22px;
  }

  body.orthodiet-medium .jeg_postblock .jeg_post_title a {
    font-size: 20px !important;
  }

  body.orthodiet-medium .jeg_header.normal {
    padding: 0 16px;
  }

  body.orthodiet-medium .jeg_midbar .jeg_nav_row {
    min-height: 48px;
  }

  body.orthodiet-medium .jeg_bottombar .jeg_nav_row {
    min-height: 40px;
  }

  body.orthodiet-medium .jeg_main_menu > li > a {
    line-height: 40px !important;
  }

  body.orthodiet-medium.single .entry-content {
    font-size: 20px;
  }
}
