/* mLog reading layout. Loaded after legacy Code Injection CSS. */
.mlog-selected-posts {
  margin: 0 0 40px;
  color: var(--primary-foreground-color);
}
.mlog-selected-posts__heading { margin: 0 0 20px; }
.mlog-selected-posts__eyebrow {
  margin: 0 0 6px;
  color: var(--link-color);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.mlog-selected-posts h2 {
  margin: 0;
  color: var(--titles-color);
  font-size: 1.5rem;
  line-height: 1.4;
}
.mlog-selected-posts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.mlog-selected-posts__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--primary-border-color);
  border-radius: 12px;
  background: var(--background-color);
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.mlog-selected-posts__card:hover,
.mlog-selected-posts__card:focus-visible { border-color: var(--link-color); }
.mlog-selected-posts__card:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 4px;
}
.mlog-selected-posts__category {
  margin: 0 0 8px;
  color: var(--link-color);
  font-size: .8125rem;
  font-weight: 600;
}
.mlog-selected-posts h3 {
  margin: 0 0 10px;
  color: var(--titles-color);
  font-size: 1.125rem;
  line-height: 1.5;
}
.mlog-selected-posts__card p {
  margin: 0 0 16px;
  font-size: .9375rem;
  line-height: 1.65;
}
.mlog-selected-posts__read {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  color: var(--link-color);
  font-size: .875rem;
  font-weight: 600;
}
@media (min-width: 48rem) {
  .mlog-selected-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mlog-selected-posts__grid > .mlog-selected-posts__card:only-child { grid-column: 1 / -1; }
  .mlog-selected-posts__card { padding: 24px; }
}

/* Only article feature images: keep the complete image, with a bounded height. */
.mlog-ads-theme.post-template .main-wrap > .m-hero.with-picture {
  height: clamp(180px, 27vw, 320px);
  min-height: 0;
  margin-top: 50px;
  padding: 0;
  background-color: var(--background-color);
}
@media (min-width: 48rem) {
  .mlog-ads-theme.post-template .main-wrap > .m-hero.with-picture { margin-top: 68px; }
}
.mlog-ads-theme.post-template .m-hero__picture.in-post {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.mlog-ads-theme.post-template .m-hero__picture.in-post img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
