/*
 * RateMV Elements 2.7 — comments followed by the author profile.
 * The reading grid is owned by one Elementor widget, so it no longer depends
 * on Elementor columns, legacy percentages, DOM reordering, or JavaScript.
 */

body.single-post #primary.rmv-elementor-single-template,
body.single-post #primary.rmv-elementor-single-template > .elementor,
body.single-post #primary.rmv-elementor-single-template .elementor-section-wrap{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.single-post #primary.rmv-elementor-single-template{overflow-x:clip!important}

/* Full-width hero with a wide but controlled inner canvas. */
body.single-post .rmv-single-hero-v22,
body.single-post .rmv-single-hero-v22.elementor-section,
body.single-post .rmv-single-hero-v22.e-con,
body.single-post .rmv-single-hero-v22.elementor-element{
  position:relative!important;
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-inline:0!important;
  overflow:hidden!important;
}
body.single-post .rmv-single-hero-v22 > .elementor-container,
body.single-post .rmv-single-hero-v22 > .e-con-inner{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.single-post .rmv-single-hero-v22 .rme-post-hero-shell{
  padding:70px 0 66px!important;
}
body.single-post .rmv-single-hero-v22 .rme-post-hero-container{
  width:min(calc(100% - 64px),1480px)!important;
  max-width:1480px!important;
  margin-inline:auto!important;
}
body.single-post .rmv-single-hero-v22 .rme-post-hero{
  grid-template-columns:minmax(0,1.05fr) minmax(470px,.95fr)!important;
  align-items:center!important;
  gap:78px!important;
}
body.single-post .rmv-single-hero-v22 .rme-post-hero h1{
  max-width:820px!important;
  font-size:clamp(52px,5.25vw,84px)!important;
  line-height:.99!important;
  letter-spacing:-.012em!important;
  text-wrap:balance!important;
}
body.single-post .rmv-single-hero-v22 .rme-post-hero-excerpt{
  max-width:730px!important;
  font-size:clamp(17px,1.45vw,21px)!important;
  line-height:1.72!important;
}
body.single-post .rmv-single-hero-v22 .rme-post-hero-visual{min-height:560px!important}
body.single-post .rmv-single-hero-v22 .rme-post-hero-image{
  inset:0 0 28px 0!important;
  border-radius:34px!important;
  box-shadow:0 34px 90px rgba(0,0,0,.20)!important;
}

/* Reading section — full width background, stable self-contained grid. */
body.single-post .rmv-single-reading-v26,
body.single-post .rmv-single-reading-v26.elementor-section,
body.single-post .rmv-single-reading-v26.e-con{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:0!important;
  background:#f3f8fc!important;
}
body.single-post .rmv-single-reading-v26 > .elementor-container,
body.single-post .rmv-single-reading-v26 > .e-con-inner{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.single-post .rmv-single-reading-v26 .elementor-column,
body.single-post .rmv-single-reading-v26 .elementor-widget-wrap,
body.single-post .rmv-single-reading-v26 .elementor-widget,
body.single-post .rmv-single-reading-v26 .elementor-widget-container{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
}

.rme-single-reading{
  --rme-reading-width:1360px;
  --rme-article-width:900px;
  --rme-sidebar-width:340px;
  --rme-reading-gap:48px;
  width:100%;
  padding:24px 32px 70px;
  background:#f3f8fc;
}
.rme-single-reading,
.rme-single-reading *{box-sizing:border-box}
.rme-single-reading__inner{
  display:grid;
  grid-template-columns:minmax(0,var(--rme-article-width)) minmax(280px,var(--rme-sidebar-width));
  justify-content:space-between;
  align-items:start;
  gap:var(--rme-reading-gap);
  width:min(100%,var(--rme-reading-width));
  margin-inline:auto;
}
.rme-single-reading__article{
  min-width:0;
  padding:48px 52px;
  background:#fff;
  border:1px solid rgba(6,72,83,.12);
  border-radius:28px;
  box-shadow:0 20px 55px rgba(3,45,55,.06);
}
.rme-single-reading__content{
  width:100%;
  max-width:100%;
  margin:0;
  color:#405e64;
  font-size:18px;
  line-height:1.9;
}
.rme-single-reading__content > :first-child{margin-top:0!important}
.rme-single-reading__content > :last-child{margin-bottom:0!important}
.rme-single-reading__content p,
.rme-single-reading__content ul,
.rme-single-reading__content ol{margin:0 0 25px}
.rme-single-reading__content > p:first-child{
  color:#183d45;
  font-size:21px;
  line-height:1.7;
  font-weight:600;
}
.rme-single-reading__content h1,
.rme-single-reading__content h2,
.rme-single-reading__content h3,
.rme-single-reading__content h4,
.rme-single-reading__content h5,
.rme-single-reading__content h6{
  color:#0b1f33;
  letter-spacing:-.012em;
  text-wrap:balance;
}
.rme-single-reading__content h2{
  margin:56px 0 20px;
  font-size:clamp(32px,3vw,44px);
  line-height:1.08;
}
.rme-single-reading__content h3{
  margin:40px 0 15px;
  font-size:clamp(25px,2.2vw,32px);
  line-height:1.14;
}
.rme-single-reading__content h4{
  margin:32px 0 13px;
  font-size:22px;
  line-height:1.2;
}
.rme-single-reading__content a{color:#0066cc;text-decoration-thickness:1px;text-underline-offset:3px}
.rme-single-reading__content img,
.rme-single-reading__content figure,
.rme-single-reading__content iframe,
.rme-single-reading__content video{
  display:block;
  max-width:100%!important;
  height:auto;
  margin-inline:auto;
  border-radius:20px;
}
.rme-single-reading__content figure{margin-top:32px;margin-bottom:32px}
.rme-single-reading__content figcaption{
  margin-top:10px;
  color:#6b858a;
  font-size:13px;
  line-height:1.55;
  text-align:center;
}
.rme-single-reading__content blockquote{
  margin:34px 0;
  padding:24px 28px;
  color:#324b5e;
  background:#f3faf8;
  border-left:4px solid #64c7e8;
  border-radius:0 18px 18px 0;
  font-size:20px;
  line-height:1.65;
}
.rme-single-reading__content table{
  width:100%!important;
  max-width:100%!important;
  table-layout:auto!important;
  margin:28px 0!important;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid rgba(6,72,83,.12);
  border-radius:18px;
}
.rme-single-reading__content th,
.rme-single-reading__content td{
  width:auto!important;
  min-width:0!important;
  padding:14px 16px!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  border-bottom:1px solid rgba(6,72,83,.10)!important;
}
.rme-single-reading__content tr:last-child th,
.rme-single-reading__content tr:last-child td{border-bottom:0!important}

/* Taxonomy/classification blocks embedded in an individual post stay inside the article. */
.rme-single-reading__content .rme-taxonomy-table,
.rme-single-reading__content .scientific-classification,
.rme-single-reading__content .taxonomy-card,
.rme-single-reading__content [class*="classification"]{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:34px 0!important;
  float:none!important;
  clear:both!important;
}
.rme-single-reading__content .rme-taxonomy-table > div{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.rme-single-reading__content .rme-taxonomy-row{
  display:grid!important;
  grid-template-columns:minmax(100px,.42fr) minmax(0,1fr)!important;
  gap:12px!important;
  min-width:0!important;
  padding:14px 16px!important;
  background:#f8fbfa!important;
  border:1px solid rgba(6,72,83,.10)!important;
  border-radius:14px!important;
}
.rme-single-reading__content .rme-taxonomy-row span,
.rme-single-reading__content .rme-taxonomy-row strong{
  min-width:0!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}

/* Sidebar. */
.rme-single-reading__sidebar{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:18px;
}
.rme-single-reading__sidebar.is-sticky{
  position:sticky;
  top:96px;
}
.rme-single-reading__side-card{
  min-width:0;
  padding:22px;
  background:#fff;
  border:1px solid rgba(6,72,83,.11);
  border-radius:20px;
  box-shadow:0 12px 34px rgba(3,45,55,.045);
}
.rme-single-reading__side-card h3{
  margin:0 0 15px;
  color:#0b1f33;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.01em;
}
.rme-reading-share-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.rme-reading-share-links a,
.rme-reading-share-links button{
  display:inline-flex;
  min-height:36px;
  align-items:center;
  justify-content:center;
  width:auto;
  padding:0 12px;
  color:#0a4d53;
  cursor:pointer;
  background:#edf8f5;
  border:0;
  border-radius:10px;
  font:inherit;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}
.rme-reading-topic-list{display:flex;flex-wrap:wrap;gap:8px}
.rme-reading-topic-list a{
  display:inline-flex;
  padding:8px 11px;
  color:#0a4d53;
  background:#edf8f5;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}
.rme-reading-recent-list{display:grid;gap:12px}
.rme-reading-recent-item{
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  align-items:center;
  gap:13px;
  min-width:0;
}
.rme-reading-recent-item + .rme-reading-recent-item{
  padding-top:12px;
  border-top:1px solid rgba(6,72,83,.09);
}
.rme-reading-recent-thumb{
  display:block;
  width:84px;
  aspect-ratio:1;
  background-position:center;
  background-size:cover;
  border-radius:14px;
}
.rme-reading-recent-thumb.is-fallback{
  background:linear-gradient(135deg,#bde8dc,#0d747c);
}
.rme-reading-recent-item div{min-width:0}
.rme-reading-recent-item span{
  display:block;
  margin-bottom:5px;
  color:#789095;
  font-size:10px;
  font-weight:750;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.rme-reading-recent-item h4{
  margin:0;
  font-size:15px;
  line-height:1.3;
  letter-spacing:-.015em;
}
.rme-reading-recent-item h4 a{color:#0b1f33;text-decoration:none}
.rme-reading-notice{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:start;
  gap:13px;
}
.rme-reading-notice-icon{
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  color:#0fa893;
  background:#eaf8f5;
  border-radius:13px;
  font-size:13px;
}
.rme-reading-notice h3{margin-bottom:8px;font-size:17px}
.rme-reading-notice p{
  margin:0;
  color:#5f7182;
  font-size:12px;
  line-height:1.65;
}
.rme-reading-notice a{
  display:inline-flex;
  margin-top:10px;
  color:#0b9b89;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}

/* Author below the article/sidebar grid. */
body.single-post .rmv-single-author-bottom-v24{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:0 32px 72px!important;
  background:#f3f8fc!important;
}
body.single-post .rmv-single-author-bottom-v24 > .elementor-container,
body.single-post .rmv-single-author-bottom-v24 > .e-con-inner{
  width:min(calc(100% - 64px),900px)!important;
  max-width:900px!important;
  margin-inline:auto!important;
}
body.single-post .rmv-single-author-bottom-v24 .rme-author-box{
  display:grid!important;
  grid-template-columns:120px minmax(0,1fr)!important;
  align-items:center!important;
  gap:28px!important;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto!important;
  padding:30px 34px!important;
  text-align:left!important;
  background:linear-gradient(135deg,#fff 0%,#f7fbfa 100%)!important;
  border:1px solid rgba(6,72,83,.11)!important;
  border-radius:26px!important;
  box-shadow:0 16px 44px rgba(3,45,55,.055)!important;
}
body.single-post .rmv-single-author-bottom-v24 .rme-author-box > img{
  width:120px!important;
  height:120px!important;
  margin:0!important;
  object-fit:cover!important;
  border-radius:50%!important;
  box-shadow:0 0 0 8px rgba(100,199,232,.08)!important;
}
body.single-post .rmv-single-author-bottom-v24 .rme-author-box h3{
  margin:0 0 8px!important;
  font-size:30px!important;
  letter-spacing:-.01em!important;
}
body.single-post .rmv-single-author-bottom-v24 .rme-author-box p{
  max-width:650px!important;
  margin:0 0 12px!important;
  font-size:15px!important;
  line-height:1.72!important;
}
body.single-post .rmv-single-author-bottom-v24 .rme-author-box .rme-text-link{
  display:inline-flex!important;
  width:max-content!important;
}

/* Related posts. */
body.single-post .rmv-single-related-v22 > .elementor-container,
body.single-post .rmv-single-related-v22 > .e-con-inner{
  width:min(calc(100% - 64px),1320px)!important;
  max-width:1320px!important;
  margin-inline:auto!important;
}
body.single-post .rmv-single-related-v22 .rme-related-wrap{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.single-post .rmv-single-related-v22 .rme-related-wrap > h2{
  max-width:760px!important;
  margin:0 0 34px!important;
  letter-spacing:-.012em!important;
}
body.single-post .rmv-single-related-v22 .rme-related-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
}
body.single-post .rmv-single-related-v22 .rme-related-card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid rgba(6,72,83,.10)!important;
  border-radius:22px!important;
  box-shadow:0 14px 38px rgba(3,45,55,.06)!important;
}
body.single-post .rmv-single-related-v22 .rme-related-image{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/10!important;
  background-position:center!important;
  background-size:cover!important;
}
body.single-post .rmv-single-related-v22 .rme-related-card > div{
  position:static!important;
  display:flex!important;
  flex:1!important;
  flex-direction:column!important;
  padding:22px!important;
  color:#324b5e!important;
  background:#fff!important;
}
body.single-post .rmv-single-related-v22 .rme-related-card h3{
  font-size:22px!important;
  line-height:1.25!important;
  letter-spacing:-.01em!important;
}
body.single-post .rmv-single-related-v22 .rme-related-card h3 a{color:#0b1f33!important}

/* Comments. */
body.single-post .rmv-single-comments-v22{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  background:#f3f8fc!important;
}
body.single-post .rmv-single-comments-v22 > .elementor-container,
body.single-post .rmv-single-comments-v22 > .e-con-inner{
  width:min(calc(100% - 64px),900px)!important;
  max-width:900px!important;
  margin-inline:auto!important;
}
body.single-post .rmv-single-comments-v22 .rme-comments-widget{
  width:100%!important;
  max-width:900px!important;
  margin:0 auto!important;
  border-radius:28px!important;
  box-shadow:0 16px 44px rgba(3,45,55,.045)!important;
}

/* Consistent letter spacing for major display text. */
body.single-post .rme-post-hero h1,
body.single-post .rme-single-reading h1,
body.single-post .rme-single-reading h2,
body.single-post .rme-single-reading h3,
body.single-post .rme-related-wrap h2,
body.single-post .rme-comments-widget h2,
body.single-post .rme-author-box h3{
  letter-spacing:-.012em;
}

@media(max-width:1180px){
  body.single-post .rmv-single-hero-v22 .rme-post-hero{
    grid-template-columns:minmax(0,1fr) minmax(400px,.88fr)!important;
    gap:46px!important;
  }
  .rme-single-reading__inner{
    grid-template-columns:minmax(0,1fr) 300px;
    gap:32px;
  }
  .rme-single-reading__article{padding:40px 42px}
}

@media(max-width:920px){
  body.single-post .rmv-single-hero-v22 .rme-post-hero{grid-template-columns:1fr!important}
  body.single-post .rmv-single-hero-v22 .rme-post-hero-visual{min-height:470px!important}
  .rme-single-reading{padding-inline:20px}
  .rme-single-reading__inner{grid-template-columns:1fr;max-width:900px}
  .rme-single-reading__sidebar.is-sticky{position:static}
  .rme-single-reading__sidebar{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
  }
  .rme-reading-recent{grid-column:1/-1}
  body.single-post .rmv-single-related-v22 .rme-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:640px){
  body.single-post .rmv-single-hero-v22 .rme-post-hero-shell{padding:54px 0 48px!important}
  body.single-post .rmv-single-hero-v22 .rme-post-hero-container{width:min(calc(100% - 28px),1480px)!important}
  body.single-post .rmv-single-hero-v22 .rme-post-hero h1{
    font-size:clamp(40px,12.5vw,58px)!important;
    letter-spacing:-.012em!important;
  }
  body.single-post .rmv-single-hero-v22 .rme-post-hero-visual{min-height:350px!important}
  .rme-single-reading{padding:20px 14px 52px}
  .rme-single-reading__article{
    padding:25px 21px;
    border-radius:22px;
  }
  .rme-single-reading__content{font-size:17px;line-height:1.82}
  .rme-single-reading__content > p:first-child{font-size:19px}
  .rme-single-reading__content h2{font-size:clamp(29px,9vw,38px)}
  .rme-single-reading__content .rme-taxonomy-table > div{grid-template-columns:1fr!important}
  .rme-single-reading__sidebar{grid-template-columns:1fr}
  .rme-reading-recent{grid-column:auto}
  body.single-post .rmv-single-author-bottom-v24{padding:0 14px 52px!important}
  body.single-post .rmv-single-author-bottom-v24 .rme-author-box{
    display:block!important;
    padding:24px 22px!important;
    text-align:center!important;
  }
  body.single-post .rmv-single-author-bottom-v24 .rme-author-box > img{
    width:96px!important;
    height:96px!important;
    margin:0 auto 20px!important;
  }
  body.single-post .rmv-single-author-bottom-v24 .rme-author-box .rme-text-link{margin-inline:auto!important}
  body.single-post .rmv-single-related-v22 > .elementor-container,
  body.single-post .rmv-single-related-v22 > .e-con-inner,
  body.single-post .rmv-single-comments-v22 > .elementor-container,
  body.single-post .rmv-single-comments-v22 > .e-con-inner{
    width:min(calc(100% - 28px),1320px)!important;
  }
  body.single-post .rmv-single-related-v22 .rme-related-grid{grid-template-columns:1fr!important}
}


/* Version 3.5.0 — dark-mode compatibility for single-post reading surfaces. */
[data-theme="dark"] .rme-single-reading,
[data-theme="dark"] .rmv-single-author-bottom-v24,
[data-theme="dark"] .rmv-single-related-section,
[data-theme="dark"] .rmv-single-comments-section{
  background:var(--rmv-soft)!important;
}
[data-theme="dark"] .rme-single-reading__article,
[data-theme="dark"] .rme-reading-card,
[data-theme="dark"] .rme-reading-sidebar-card,
[data-theme="dark"] .rmv-single-author-bottom-v24 .rme-author-box,
[data-theme="dark"] .rme-comments-widget,
[data-theme="dark"] .rme-related-card{
  background:var(--rmv-surface)!important;
  color:var(--rmv-text)!important;
  border-color:var(--rmv-border)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.2)!important;
}
[data-theme="dark"] .rme-single-reading__content,
[data-theme="dark"] .rme-single-reading__content p,
[data-theme="dark"] .rme-single-reading__content li,
[data-theme="dark"] .rme-single-reading__content h2,
[data-theme="dark"] .rme-single-reading__content h3,
[data-theme="dark"] .rme-single-reading__content h4{
  color:var(--rmv-text)!important;
}


/* Version 4.3.0 — mobile single-post readability repair.
   The previous mobile layout left too much side padding and made old taxonomy /
   scientific-classification blocks too narrow. This patch widens the article,
   reduces mobile type size, and prevents taxonomy values from breaking one
   letter at a time. */
@media (max-width: 767px) {
  body.single-post,
  body.single-post #page,
  body.single-post .site,
  body.single-post .rmv-site-wrap,
  body.single-post #content,
  body.single-post #primary,
  body.single-post main,
  body.single-post article {
    overflow-x: hidden !important;
  }

  body.single-post #primary,
  body.single-post #primary.rmv-elementor-single-template,
  body.single-post .content-area,
  body.single-post .site-main,
  body.single-post .entry-content,
  body.single-post .post-content,
  body.single-post .wp-block-post-content,
  body.single-post .elementor-widget-theme-post-content,
  body.single-post .elementor-widget-theme-post-content .elementor-widget-container,
  body.single-post .rme-post-content-output,
  body.single-post .rme-single-reading,
  body.single-post .rme-single-reading__inner,
  body.single-post .rme-single-reading__article,
  body.single-post .rme-single-reading__content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.single-post .rme-single-reading {
    padding: 16px 10px 46px !important;
  }

  body.single-post .rme-single-reading__inner {
    display: block !important;
    width: min(100%, calc(100vw - 20px)) !important;
    margin-inline: auto !important;
  }

  body.single-post .rme-single-reading__article {
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }

  body.single-post .rme-single-reading__sidebar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 18px !important;
  }

  body.single-post .rme-single-reading__content,
  body.single-post .rme-post-content-output,
  body.single-post .entry-content,
  body.single-post .post-content,
  body.single-post .wp-block-post-content {
    color: #405e64 !important;
    font-size: 18px !important;
    line-height: 1.72 !important;
    letter-spacing: 0 !important;
  }

  body.single-post .rme-single-reading__content p,
  body.single-post .rme-post-content-output p,
  body.single-post .entry-content p,
  body.single-post .post-content p,
  body.single-post .wp-block-post-content p {
    margin-bottom: 20px !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  body.single-post .rme-single-reading__content > p:first-child,
  body.single-post .rme-post-content-output > p:first-child,
  body.single-post .entry-content > p:first-child {
    font-size: 19px !important;
    line-height: 1.7 !important;
    font-weight: 600 !important;
  }

  body.single-post .rme-single-reading__content h1,
  body.single-post .rme-single-reading__content h2,
  body.single-post .rme-single-reading__content h3,
  body.single-post .rme-post-content-output h1,
  body.single-post .rme-post-content-output h2,
  body.single-post .rme-post-content-output h3,
  body.single-post .entry-content h1,
  body.single-post .entry-content h2,
  body.single-post .entry-content h3 {
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.single-post .rme-single-reading__content h2,
  body.single-post .rme-post-content-output h2,
  body.single-post .entry-content h2 {
    margin: 36px 0 14px !important;
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.12 !important;
  }

  body.single-post .rme-single-reading__content h3,
  body.single-post .rme-post-content-output h3,
  body.single-post .entry-content h3 {
    margin: 28px 0 12px !important;
    font-size: clamp(23px, 6.4vw, 29px) !important;
    line-height: 1.16 !important;
  }

  body.single-post .rme-single-reading__content img,
  body.single-post .rme-post-content-output img,
  body.single-post .entry-content img,
  body.single-post figure,
  body.single-post .wp-block-image {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Old scientific/taxonomy boxes inside posts: full mobile width and readable cells. */
  body.single-post .rme-single-reading__content .rme-taxonomy-table,
  body.single-post .rme-single-reading__content .scientific-classification,
  body.single-post .rme-single-reading__content .taxonomy-card,
  body.single-post .rme-single-reading__content [class*="classification"],
  body.single-post .rme-post-content-output .rme-taxonomy-table,
  body.single-post .rme-post-content-output .scientific-classification,
  body.single-post .rme-post-content-output .taxonomy-card,
  body.single-post .rme-post-content-output [class*="classification"],
  body.single-post .entry-content .rme-taxonomy-table,
  body.single-post .entry-content .scientific-classification,
  body.single-post .entry-content .taxonomy-card,
  body.single-post .entry-content [class*="classification"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 24px 0 !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  body.single-post .rme-single-reading__content .rme-taxonomy-table > div,
  body.single-post .rme-post-content-output .rme-taxonomy-table > div,
  body.single-post .entry-content .rme-taxonomy-table > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.single-post .rme-single-reading__content .rme-taxonomy-row,
  body.single-post .rme-post-content-output .rme-taxonomy-row,
  body.single-post .entry-content .rme-taxonomy-row,
  body.single-post [class*="classification"] .rme-taxonomy-row,
  body.single-post [class*="classification"] .taxonomy-row,
  body.single-post [class*="classification"] .classification-row {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    width: 100% !important;
    padding: 13px 14px !important;
  }

  body.single-post .rme-single-reading__content .rme-taxonomy-row *,
  body.single-post .rme-post-content-output .rme-taxonomy-row *,
  body.single-post .entry-content .rme-taxonomy-row *,
  body.single-post [class*="classification"] *,
  body.single-post [class*="taxonomy"] * {
    max-width: 100% !important;
    min-width: 0 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }

  body.single-post .rme-single-reading__content .rme-taxonomy-row strong,
  body.single-post .rme-post-content-output .rme-taxonomy-row strong,
  body.single-post .entry-content .rme-taxonomy-row strong,
  body.single-post [class*="classification"] strong,
  body.single-post [class*="taxonomy"] strong {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  body.single-post .rme-single-reading__content .rme-taxonomy-row span,
  body.single-post .rme-post-content-output .rme-taxonomy-row span,
  body.single-post .entry-content .rme-taxonomy-row span,
  body.single-post [class*="classification"] span,
  body.single-post [class*="taxonomy"] span {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  body.single-post .rmv-single-comments-v22 > .elementor-container,
  body.single-post .rmv-single-comments-v22 > .e-con-inner,
  body.single-post .rmv-single-author-bottom-v24 > .elementor-container,
  body.single-post .rmv-single-author-bottom-v24 > .e-con-inner,
  body.single-post .rmv-single-related-v22 > .elementor-container,
  body.single-post .rmv-single-related-v22 > .e-con-inner {
    width: min(calc(100% - 20px), 100%) !important;
  }
}

@media (max-width: 420px) {
  body.single-post .rme-single-reading {
    padding-inline: 8px !important;
  }
  body.single-post .rme-single-reading__inner {
    width: calc(100vw - 16px) !important;
  }
  body.single-post .rme-single-reading__article {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }
  body.single-post .rme-single-reading__content,
  body.single-post .rme-post-content-output,
  body.single-post .entry-content,
  body.single-post .post-content,
  body.single-post .wp-block-post-content {
    font-size: 17px !important;
    line-height: 1.72 !important;
  }
  body.single-post .rme-single-reading__content > p:first-child,
  body.single-post .rme-post-content-output > p:first-child,
  body.single-post .entry-content > p:first-child {
    font-size: 18px !important;
  }
}


/* Version 4.4.0 — equal mobile side spacing for single posts.
   Keeps the article/card centered, prevents images/figures from pushing to one
   side, and gives the same left/right breathing room on mobile screens. */
@media (max-width: 767px) {
  body.single-post {
    --rme-mobile-page-gap: 14px;
    --rme-mobile-card-pad: 18px;
  }

  body.single-post .rmv-single-reading-v26,
  body.single-post .rmv-single-comments-v22,
  body.single-post .rmv-single-author-bottom-v24,
  body.single-post .rmv-single-related-v22 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--rme-mobile-page-gap) !important;
    padding-right: var(--rme-mobile-page-gap) !important;
    overflow-x: hidden !important;
  }

  body.single-post .rme-single-reading {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-post .rme-single-reading__inner,
  body.single-post .rme-single-reading__article,
  body.single-post .rme-single-reading__sidebar,
  body.single-post .rmv-single-comments-v22 > .elementor-container,
  body.single-post .rmv-single-comments-v22 > .e-con-inner,
  body.single-post .rmv-single-author-bottom-v24 > .elementor-container,
  body.single-post .rmv-single-author-bottom-v24 > .e-con-inner,
  body.single-post .rmv-single-related-v22 > .elementor-container,
  body.single-post .rmv-single-related-v22 > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  body.single-post .rme-single-reading__article {
    padding-left: var(--rme-mobile-card-pad) !important;
    padding-right: var(--rme-mobile-card-pad) !important;
  }

  body.single-post .rme-single-reading__content,
  body.single-post .rme-post-content-output,
  body.single-post .entry-content,
  body.single-post .post-content,
  body.single-post .wp-block-post-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-post .rme-single-reading__content > *,
  body.single-post .rme-post-content-output > *,
  body.single-post .entry-content > *,
  body.single-post .post-content > *,
  body.single-post .wp-block-post-content > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.single-post .rme-single-reading__content figure,
  body.single-post .rme-single-reading__content .wp-block-image,
  body.single-post .rme-post-content-output figure,
  body.single-post .rme-post-content-output .wp-block-image,
  body.single-post .entry-content figure,
  body.single-post .entry-content .wp-block-image {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-post .rme-single-reading__content img,
  body.single-post .rme-post-content-output img,
  body.single-post .entry-content img,
  body.single-post .post-content img,
  body.single-post .wp-block-post-content img,
  body.single-post .wp-block-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-post .rme-single-reading__content .alignwide,
  body.single-post .rme-single-reading__content .alignfull,
  body.single-post .rme-post-content-output .alignwide,
  body.single-post .rme-post-content-output .alignfull,
  body.single-post .entry-content .alignwide,
  body.single-post .entry-content .alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-post .rme-reading-recent-item {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.single-post .rme-reading-recent-item h4 {
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.single-post .rme-reading-notice,
  body.single-post .rme-single-reading__side-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  body.single-post {
    --rme-mobile-page-gap: 12px;
    --rme-mobile-card-pad: 16px;
  }

  body.single-post .rme-single-reading__article {
    border-radius: 18px !important;
  }

  body.single-post .rme-reading-recent-item {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.single-post .rme-reading-recent-thumb {
    width: 76px !important;
  }
}
