.cg-urgency {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 32px 0 24px;
}

.cg-urgency-group:nth-child(3) {
  display: none;
}

.cg-urgency-group {
  padding: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  background: #fff;
}

.cg-urgency-group header {
  margin-bottom: 16px;
}

.cg-urgency-group h2 {
  margin: 8px 0 2px;
  color: #222020;
  font-size: 18px;
  line-height: 1.2;
}

.cg-urgency-group header p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.cg-urgency-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ed1c24;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.cg-urgency-group--trending .cg-urgency-pill {
  background: #ff6a00;
}

.cg-urgency-group--national .cg-urgency-pill {
  background: #cf1322;
}

.cg-urgency-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  min-height: 62px;
  padding: 10px 0;
  border-top: 1px solid #efefef;
  color: inherit;
  text-decoration: none;
}

.cg-urgency-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.cg-urgency-card__image {
  width: 100px;
  height: 62px;
  min-height: 62px;
  display: block;
  border-radius: 4px !important;
}

img.cg-urgency-card__image {
  object-fit: cover;
}

.cg-urgency-card__image--placeholder {
  background: #f5f5f5;
}

.cg-urgency-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.cg-urgency-card strong {
  color: #222020;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.cg-urgency-card small {
  display: block;
  margin-top: 5px;
  color: #777;
  font-size: 11px;
}

/* Trending Today shortcode: preserve the original Penci carousel design. */
.cg-trending-today .penci-smalllist {
  --pcsl-hgap: 32px;
  --pcsl-between: 20px;
}

.cg-trending-today .pcsl-inner .pcsl-thumb {
  width: 100%;
}

.cg-trending-today .pcsl-content {
  display: flex;
  flex-wrap: wrap;
}

.cg-trending-today .pcsl-cat {
  order: 2;
  margin-top: 14px;
}

.cg-trending-today .pcsl-meta {
  order: 3;
  margin-top: 17px;
  color: #222020b3;
  font: 500 14px/20px Figtree, sans-serif;
}

.cg-trending-today .pcsl-cat > a,
.cg-trending-today .cat > a.penci-cat-name {
  margin-right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #a8eb40;
  color: #222020;
  font: 800 12px/20px Figtree, sans-serif;
  text-transform: uppercase;
}

.cg-trending-today .pcsl-thumb > a {
  border-radius: 8px;
}

.cg-trending-today .pcsl-title {
  width: 100%;
  font: 500 16px/24px Figtree, sans-serif;
}

.cg-trending-today .pcsl-title > a {
  width: 100%;
  color: #222020;
}

.cg-trending-today .penci-owl-nav .owl-prev,
.cg-trending-today .penci-owl-nav .owl-next {
  top: 30%;
}

.cg-trending-today .swiper-wrapper .swiper-slide {
  position: relative;
}

.cg-trending-today .swiper-wrapper .swiper-slide .pcsl-thumb::before,
.cg-trending-today .swiper-wrapper .swiper-slide .pcsl-thumb::after {
  position: absolute;
  bottom: 0;
  background: #fff;
  font: 800 40px/48px Figtree, sans-serif;
  letter-spacing: -0.8px;
}

.cg-trending-today .swiper-wrapper .swiper-slide .pcsl-thumb::before {
  content: "#";
  left: -1px;
  z-index: 99;
  padding: 18px 6px 0 0;
}

.cg-trending-today .swiper-wrapper .swiper-slide .pcsl-thumb::after {
  left: 29px;
  z-index: 98;
  padding: 18px 25px 0 0;
  border-top-right-radius: 4px;
  color: #7ecf01;
}

.cg-trending-today .swiper-slide[data-swiper-slide-index="0"] .pcsl-thumb::after { content: "1"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="1"] .pcsl-thumb::after { content: "2"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="2"] .pcsl-thumb::after { content: "3"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="3"] .pcsl-thumb::after { content: "4"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="4"] .pcsl-thumb::after { content: "5"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="5"] .pcsl-thumb::after { content: "6"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="6"] .pcsl-thumb::after { content: "7"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="7"] .pcsl-thumb::after { content: "8"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="8"] .pcsl-thumb::after { content: "9"; }
.cg-trending-today .swiper-slide[data-swiper-slide-index="9"] .pcsl-thumb::after { content: "10"; }


@media (max-width: 1024px) {
  .cg-urgency {
    grid-template-columns: 1fr;
  }

  .cg-urgency-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .cg-urgency-card {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 0;
    border-top: 0;
  }

  .cg-urgency-card__image {
    width: 76px;
    height: 62px;
    min-height: 62px;
  }
}

@media (max-width: 767px) {
  .cg-urgency {
    gap: 14px;
    margin: 32px 0 24px;
  }

  .cg-urgency-group {
    padding: 16px;
    border-radius: 13px;
  }

  .cg-urgency-group h2 {
    font-size: 18px;
  }

  .cg-urgency-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cg-urgency-card {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 10px 0;
    border-top: 1px solid #efefef;
  }

  .cg-urgency-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .cg-urgency-card__image {
    width: 82px;
    height: 62px;
    min-height: 62px;
  }
}
