/* --- 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-hottest .post-grid__posts, .page-template-page-trending .post-grid__posts {counter-reset: trending;}

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

/* This rule now only displays the counter on the Trending page */
.page-template-page-hottest .post-grid__posts .post-grid__item:before, .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;
}

.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;
  }
}