.archive-header {
  padding: 1rem;
  border-bottom: 2px solid #000;
  margin-bottom: 1.5rem;
}

/* ... your existing .archive-header styles ... */
/* Video Player layout styles specific to archive pages */
@media (min-width: 48em) and (max-width: 50.0625em) {
  .archive-layout .vjs-responsive .vjs-control-bar {
    height: 40px;
  }
  /* ... and all the other rules inside this media query ... */
}
.archive-layout > .video-player {
  margin: 0 -1rem;
  padding: 1rem 1rem 0;
}

@media (min-width: 48em) {
  .archive-layout > .video-player {
    padding: 1rem;
  }
  .archive-layout > .video-player .metro-video-player {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    min-height: 581px;
  }
  .archive-layout > .video-player .metro-video-player__meta,
  .archive-layout > .video-player .vjs-video-container {
    width: calc(100% - 320px);
  }
  .archive-layout > .video-player .metro-related-video-carousel__related-videos {
    padding: 0;
  }
}
/* ... and all the other .archive-layout > .video-player rules ... */
.page-title {
  font-family: "Roboto Flex", sans-serif;
  font-size: 28px;
}

.page-title span {
  font-style: italic;
  color: #555;
}

/* --- Search Results Page --- */
/* --- Author Page Header --- */
.author-header_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid #eaeaea;
  margin-bottom: 1.5rem;
}

@media (min-width: 48em) {
  .author-header_box {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    text-align: left;
  }
}
.author-header_box_image img {
  border-radius: 50%;
  max-width: 150px; /* Control avatar size */
}

.author-header_box_content h1 {
  font-size: 28px;
  margin-bottom: 0.5rem;
}

.author-header_box_content p {
  font-size: 15px;
  line-height: 21px;
  color: #555;
  margin-bottom: 1rem;
}

.author-header_box_contact a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
}

.author-header_box_contact a svg {
  width: 20px;
  height: 20px;
}

.article-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.article-card .icon--gallery,
.article-card .icon--play {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 10px;
  position: absolute;
}

.article-card .article-card__title a:active,
.article-card .article-card__title a:focus,
.article-card .article-card__title a:hover {
  text-decoration: underline;
}

.article-card .article-card__image a:active:before,
.article-card .article-card__image a:focus:before,
.article-card .article-card__image a:hover:before {
  opacity: 0.1;
}

@supports selector(:has(*)) {
  .article-card:has(.article-card__image a:active) .article-card__image:before, .article-card:has(.article-card__image a:focus) .article-card__image:before, .article-card:has(.article-card__image a:hover) .article-card__image:before, .article-card:has(.article-card__title a:active) .article-card__image:before, .article-card:has(.article-card__title a:focus) .article-card__image:before, .article-card:has(.article-card__title a:hover) .article-card__image:before {
    opacity: 0.1;
  }
  .article-card:has(.article-card__image a:active) .article-card__title a,
  .article-card:has(.article-card__image a:focus) .article-card__title a,
  .article-card:has(.article-card__image a:hover) .article-card__title a,
  .article-card:has(.article-card__title a:active) .article-card__title a,
  .article-card:has(.article-card__title a:focus) .article-card__title a,
  .article-card:has(.article-card__title a:hover) .article-card__title a {
    text-decoration: underline;
  }
}
.article-card a:active,
.article-card a:focus,
.article-card a:hover {
  text-decoration: underline;
}

.article-card__image {
  aspect-ratio: auto 16/9;
  background: #eaeaea;
  position: relative;
}

.article-card__image:before {
  background: #000;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  width: 100%;
}

.article-card__image img {
  display: block;
  font-size: 16px;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.article-card__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 1rem;
}

.article-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 23px;
  margin: -1px 0 calc(1rem + 1px);
}

.article-card__title a {
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
}

.article-card__meta > :before {
  content: "|";
  padding: 0 5px;
}

.article-card__meta > :first-child:before {
  content: "";
  padding: 0;
}

.article-card__meta > * a {
  font-weight: 700;
}

.has-author-avatar .article-card__author {
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  padding: 0;
}

.has-author-avatar .article-card__author:before {
  display: none;
}

.article-card__author a {
  text-decoration: none;
}

.article-card__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.has-author-avatar .article-card__footer .channel-glyph {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}

.has-author-avatar .article-card__date {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}

.article-card__meta {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.article-card__bullets {
  font-size: 16px;
  line-height: 22px;
  list-style: disc;
  margin: 0 0 6px 14px;
}

.article-card__bullets li {
  font-weight: 500;
  margin-bottom: 5px;
}

.article-card__bullets li::marker {
  color: #f04;
}

.article-card__bullets li a {
  text-decoration: none;
}

.article-card__author,
.article-card__date,
.article-card__duration {
  display: none;
}

@media screen and (min-width: 48em) {
  .article-card__author,
  .article-card__date,
  .article-card__duration {
    display: inline;
  }
}
/* --- Hottest Songs Slider --- */
.hottest-songs-section {
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  background-color: #f9f9f9;
}

.hottest-songs-section .section-title {
  font-family: "Roboto Flex", sans-serif;
  font-size: 28px;
  margin: 0 1rem 1.5rem;
  text-transform: uppercase;
}

.hottest-songs-slider {
  padding: 0 1rem 2.5rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
}

/* This is the key part: it creates the grid INSIDE each slide */
.hottest-songs-slider .post-grid__posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
  gap: 1rem;
}

/* --- Hottest Songs Archive Slider --- */
.hottest-songs-archive-slider {
  padding: 0 1rem 2.5rem; /* Space for nav buttons and pagination */
  position: relative;
}

/* This is the key part: it creates the grid INSIDE each slide */
.hottest-songs-archive-slider .post-grid__posts {
  display: grid;
  gap: 1rem;
  /* Mobile: 2 columns, 3 rows */
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  width: 100% !important; /* Force all slides to use full width */
  min-width: 100% !important; /* Ensure minimum width */
}

@media (min-width: 48em) {
  /* Desktop: 3 columns, 2 rows */
  .hottest-songs-archive-slider .post-grid__posts {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
  }
}
@media (min-width: 48em) {
  .hottest-songs-slider .post-grid__posts {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  }
}

/* Ensure all grid columns are equal width for archive hottest songs */
.hottest-songs-archive-slider .post-grid__item {
  width: 100% !important;
  min-width: 0 !important; /* Prevent grid items from growing beyond their column */
}

/* Force consistent image sizing within grid for archive hottest songs */
.hottest-songs-archive-slider .article-card__image {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
}

.hottest-songs-archive-slider .article-card__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.hottest-songs-section {
  padding-top: 10px;
}

/* --- Featured Artist Slider (Swiper Version) --- */
.artist-slider {
  margin: 1.5rem 0;
  position: relative; /* Needed for positioning the nav buttons */
}

.artist-slider .section-title {
  font-family: "Roboto Flex", sans-serif;
  font-size: 28px;
  margin: 0 1rem 1rem;
  text-transform: uppercase;
}

.artist-swiper-container {
  padding: 0 1rem;
}

.artist-slider__item {
  text-align: center;
}

.artist-slider__item a {
  text-decoration: none;
  color: #000;
  display: block;
}

.artist-slider__image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  margin: 0 auto;
  border: 3px solid #fff;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: -webkit-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.artist-slider__item a:hover .artist-slider__image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.artist-slider__title {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
}

/* Styling for the new Navigation Buttons */
.artist-swiper-button-prev,
.artist-swiper-button-next {
  color: #000; /* Black arrows */
  top: 55%; /* Position them vertically centered on the circles */
}

/* Hide arrows on mobile by default, show on desktop */
.artist-swiper-button-prev,
.artist-swiper-button-next {
  display: none;
}

@media (min-width: 60em) {
  .artist-swiper-button-prev,
  .artist-swiper-button-next {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
/* --- Top Songs Slider --- */
.top-songs-grid {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eaeaea;
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid #eaeaea;
}

.top-songs-grid .section-title {
  font-family: "Roboto Flex", sans-serif;
  font-size: 24px;
  margin: 0 1rem 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

/* Swiper container styles */
.top-songs-slider {
  width: 100%;
  height: auto;
  padding: 0 1rem 2.5rem; /* Add padding for nav buttons and bottom space for pagination */
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
}

.swiper-slide.song-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns per slide */
  gap: 20px;
  -ms-flex-line-pack: start;
      align-content: start;
}

.song-card {
  text-align: center;
}

.song-card__link {
  text-decoration: none;
  color: #000;
}

.song-card__image {
  width: 100%;
  aspect-ratio: 1/1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.song-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.song-card__link:hover .song-card__image img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.song-card__title {
  font-size: 14px;
  font-weight: 700;
  margin-top: 1rem;
  line-height: 1.3;
}

/* Styling for Swiper Navigation Arrows and Pagination */
.top-songs-slider .swiper-button-next,
.top-songs-slider .swiper-button-prev {
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
  top: 50%;
  -webkit-transform: translateY(-150%);
          transform: translateY(-150%);
}

.top-songs-slider .swiper-pagination-bullet {
  background: #aaa;
}

.top-songs-slider .swiper-pagination-bullet-active {
  background: #f04;
}

.show_more_top_songs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  width: 100%;
  z-index: 1;
  margin-top: 1.5rem;
}

/* --- Trending Post Number Counter (Scoped to Trending Page) --- */
/* This targets the body class of your "Trending Page" template to initialize the counter */
.page-template-page-trending .post-grid__posts {
  counter-reset: trending; /* This creates and resets our counter */
}

/* This rule only increments the counter on the Trending page */
.page-template-page-trending .post-grid__item {
  counter-increment: trending; /* This adds 1 for each post-grid__item */
  position: relative;
}

/* This rule now only displays the counter on the Trending page */
.page-template-page-trending .post-grid__posts .post-grid__item:before {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #f04;
  color: #fff;
  content: counter(trending);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 30px;
  font-weight: 900;
  height: 50px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 50px;
  z-index: 10;
}

.trending-now {
  background: var(--metro--widget--background-color--light-grey);
  counter-reset: trending;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  position: relative;
}

.trending-now:not(.trending-post-strip) {
  margin-left: -1rem;
  margin-right: -1rem;
}

.trending-now-has-button {
  margin-bottom: 20px;
  padding-bottom: 30px;
}

@media (min-width: 48em) {
  .trending-now {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .trending-now:not(.trending-post-strip) {
    margin: 0;
  }
}
.trending-now__button {
  bottom: -20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 0;
  position: absolute;
  width: 100%;
}

@media (min-width: 48em) {
  .trending-now__button {
    bottom: unset;
    left: unset;
    position: relative;
    width: auto;
  }
}
.trending-now__button a:active,
.trending-now__button a:focus,
.trending-now__button a:hover {
  text-decoration: none !important;
}

.trending-now .trending-now__label {
  color: #000;
  font-family: var(--wp--preset--font-family--headline);
  font-size: 28px;
  line-height: 34px;
  padding: 0;
  text-transform: uppercase;
}

@media (min-width: 48em) {
  .trending-now .trending-now__label {
    font-size: 34px;
    line-height: 40px;
  }
}
.trending-now .article-card__image {
  aspect-ratio: 16/9;
}

.trending-now__list {
  list-style: none;
  width: 100%;
}

@media (min-width: 48em) {
  .trending-now__list {
    -webkit-column-count: 2;
    -moz-column-count: 2;
         column-count: 2;
  }
}
.trending-now__list-item {
  border-bottom: 1px solid #d0d0d0;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
       break-inside: avoid-column;
  counter-increment: trending;
  min-height: 30px;
  position: relative;
}

.trending-now__list-item:first-of-type .article-card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.trending-now__list-item:first-of-type .article-card__inner {
  padding: 1rem 0;
}

@media (min-width: 48em) {
  .trending-now__list-item:first-of-type .article-card__inner {
    padding: 10px 0 0;
  }
}
.trending-now__list-item:first-of-type .article-card__author,
.trending-now__list-item:first-of-type .article-card__duration {
  display: block;
}

.trending-now__list-item:first-of-type .article-card__date {
  display: none;
}

@media (min-width: 26em) {
  .trending-now__list-item:first-of-type .article-card__date {
    display: block;
  }
}
.trending-now__list-item:not(:first-of-type) {
  padding: 1rem 0 1rem 36px;
}

@media (min-width: 48em) {
  .trending-now__list-item:not(:first-of-type) {
    padding: 20px 0 20px 42px;
  }
}
.trending-now__list-item:not(:first-of-type) a {
  font-size: 17px;
  font-weight: 700;
  line-height: 23px;
  text-decoration: none;
}

.trending-now__list-item:last-of-type {
  padding-bottom: 0;
}

@media (min-width: 48em) {
  .trending-now__list-item:nth-of-type(2) {
    padding-top: 0;
  }
  .trending-now__list-item:nth-of-type(2):before {
    top: 0;
  }
}
.trending-now__list-item:last-of-type {
  border-bottom: none;
}

@media (min-width: 48em) {
  .trending-now__list-item:first-of-type {
    border: none;
  }
}
.trending-now__list-item:first-of-type:before {
  font-size: 30px;
  height: 40px;
  top: 0;
  width: 40px;
}

.trending-now__list-item:before {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #f04;
  color: #fff;
  content: counter(trending);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 18px;
  font-weight: 900;
  height: 25px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 0;
  position: absolute;
  top: 1rem;
  width: 25px;
  z-index: 10;
}

@media (min-width: 48em) {
  .trending-now__list-item:before {
    font-size: 22px;
    height: 30px;
    top: 20px;
    width: 30px;
  }
}
.trending-now a {
  text-decoration: none;
}

.trending-now a:hover {
  text-decoration: underline;
}

.latest {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
}

.latest .latest_title {
  border-bottom: 1px solid #eaeaea;
  color: #000;
  font-family: var(--wp--preset--font-family--headline);
  font-size: 28px;
  line-height: 34px;
  margin-bottom: -6px;
  text-transform: uppercase;
  width: 100%;
}

@media (min-width: 48em) {
  .latest .latest_title {
    font-size: 34px;
    line-height: 40px;
  }
}
@media (min-width: 60em) {
  .latest__dmpu {
    grid-row: span 2;
  }
}
.latest .post-grid__posts {
  display: block;
}

@media (min-width: 48em) {
  .latest .post-grid__posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Semicolon added */
  }
}
@media (min-width: 60em) {
  .latest .post-grid__posts {
    grid-template-columns: repeat(12, minmax(0, 1fr)); /* Semicolon added */
  }
  .latest .post-grid__posts > * {
    grid-column: span 4; /* Semicolon added */
  }
}
.latest .post-grid .article-card__image img {
  aspect-ratio: 16/9;
}

.latest .post-grid .ad-placeholder {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.latest .post-grid .ad-placeholder div {
  background: var(--metro--widget--background-color--light-grey);
  height: 250px;
  margin: 1rem 0;
  width: 300px;
}

@media (min-width: 48em) {
  .latest .post-grid .ad-placeholder div {
    margin: 0;
  }
}
@media (min-width: 60em) {
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+14),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+15),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+16),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+17),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+21),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+22),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+23),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+24) {
    grid-column: span 3;
  }
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+18),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+19),
  .latest .has-dmpu .post-grid__posts > :nth-of-type(23n+20) {
    grid-column: span 4;
  }
}
.latest_footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  width: 100%;
  z-index: 1;
}

.latest_footer:before {
  background: #eaeaea;
  bottom: 50%;
  content: "";
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.latest .loader {
  --loading-size: 15px;
  --loading-color: #fff;
  display: none;
  margin-left: 0.5em;
}

.latest.loading .metro-button__more svg {
  display: none;
}

.latest.loading .loader {
  display: block;
}

.latest.finished .latest_footer {
  visibility: hidden;
}

@media (min-width: 48em) and (max-width: 59.99em) {
  .latest .has-dmpu:not(.has-mpu) .post-grid__posts .post-grid__item:last-child:not(:nth-of-type(odd)),
  .latest .post-grid__posts .post-grid__item:last-child:not(:nth-of-type(2n)),
  .latest__dmpu,
  .latest__mpu {
    display: none;
  }
}
@media (min-width: 60em) {
  .latest__dmpu:has(.ad-slot-container[style*="display: none"]),
  .latest__mpu:has(.ad-slot-container[style*="display: none"]) {
    background-color: #eaeaea;
  }
}
.latest_pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}

.latest_pagination .pages {
  display: none;
}

.latest_pagination .current {
  font-weight: 700;
}

.latest_pagination a,
.latest_pagination span {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
}

@media (min-width: 26em) {
  .latest_pagination a,
  .latest_pagination span {
    font-size: 16px;
    line-height: 22px;
    padding: 0 4px;
  }
}
.latest_pagination a:active,
.latest_pagination a:focus,
.latest_pagination a:hover {
  font-weight: bolder;
  text-decoration: underline;
}

.latest_pagination a:active svg,
.latest_pagination a:focus svg,
.latest_pagination a:hover svg {
  opacity: 0.6;
}

.latest_pagination svg {
  height: 14px;
  margin-top: -2px;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  width: 14px;
}

.latest .last {
  -webkit-box-ordinal-group: 999;
      -ms-flex-order: 998;
          order: 998;
}

.latest .nextpostslink {
  -webkit-box-ordinal-group: 1000;
      -ms-flex-order: 999;
          order: 999;
}

.latest .previouspostslink {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
}

.latest .previouspostslink svg {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.latest .extend + a.smaller,
.latest .larger + a.larger {
  display: none;
}

@media (min-width: 48em) {
  .latest .extend + a.smaller,
  .latest .larger + a.larger {
    display: inline;
  }
}