:root {
  --chl-gap: 16px;
}

.chl-home {
  width: 100%;
}

/* The theme controls main/sidebar columns; only manage spacing inside our blocks */
.chl-grid2 {
  margin-top: var(--chl-gap);
}

/* Slider */
.chl-slider {
  position: relative;
  overflow: hidden;
  background: #111;
}

.chl-slider__viewport {
  position: relative;
  min-height: 380px;
}

@media (max-width: 640px) {
  .chl-slider__viewport {
    min-height: 260px;
  }
}

.chl-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.chl-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.chl-slide__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.chl-slide__media,
.chl-thumb--hero {
  height: 100%;
}

.chl-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chl-thumb--empty {
  background: #222;
}

.chl-slide__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  text-align: center;
}

.chl-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 0;
  background: rgba(255, 0, 80, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chl-slide__title {
  margin: 10px 0 6px;
  color: #fff;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 700;
  font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
}

@media (max-width: 640px) {
  .chl-slide__title {
    font-size: 26px;
  }
}

.chl-slide__excerpt {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.4;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* Screenshot style: no visible slider controls */
.chl-slider__nav,
.chl-slider__dots {
  display: none;
}

.chl-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 26px;
  line-height: 38px;
  cursor: pointer;
}

.chl-slider__nav--prev {
  left: 10px;
}

.chl-slider__nav--next {
  right: 10px;
}

.chl-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.chl-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  cursor: pointer;
}

.chl-dot.is-active {
  background: #fff;
}

/* Bottom grid */
.chl-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--chl-gap);
}

@media (max-width: 640px) {
  .chl-grid2 {
    grid-template-columns: 1fr;
  }
}

.chl-card {
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.chl-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.chl-card__media {
  line-height: 0;
}

.chl-thumb--card {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .chl-thumb--card {
    height: 160px;
  }
}

.chl-card__body {
  padding: 12px 14px;
}

.chl-kicker {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.chl-card__title {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
}

.chl-card__excerpt {
  margin: 8px 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.62);
}

.chl-card__byline {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 0, 80, 0.9);
}

/* Right list */
.chl-right {
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.chl-right__tabs {
  display: flex;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.03);
  color: rgba(0, 0, 0, 0.55);
  font-weight: 400;
  font-size: 12px;
}

.chl-right__tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chl-right__icon {
  font-size: 12px;
  line-height: 1;
}

.chl-right__tab.is-active {
  color: rgba(0, 0, 0, 0.9);
}

.chl-right__panel {
  display: none;
}

.chl-right__panel.is-active {
  display: block;
}

.chl-right__list {
  display: flex;
  flex-direction: column;
}

.chl-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chl-row:last-child {
  border-bottom: 0;
}

.chl-row__link {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
}

.chl-row__thumb {
  position: relative;
  width: 92px;
  height: 66px;
  overflow: hidden;
  background: #222;
}

/* Screenshot: small red play badge on thumbs */
.chl-row__thumb::after {
  content: '';
  position: absolute;
  left: 6px;
  bottom: 6px;
  width: 16px;
  height: 16px;
  background: rgba(255, 0, 80, 0.95);
}

.chl-row__thumb::before {
  content: '';
  position: absolute;
  left: 11px;
  bottom: 10px;
  width: 0;
  height: 0;
  border-left: 7px solid #fff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  z-index: 1;
}

.chl-thumb--row {
  width: 92px;
  height: 66px;
}

.chl-row__title {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
}

.chl-empty {
  padding: 14px;
  color: rgba(0, 0, 0, 0.6);
}

/* Row section (4 posts) - screenshot style */
.chl-row4 {
  padding-top: 10px;
}

.chl-row4__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.chl-row4__title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 10px;
}

.chl-row4__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 70px;
  height: 2px;
  background: rgba(255, 0, 80, 0.95);
}

.chl-row4__more {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 0, 80, 0.95);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.chl-row4__more:hover {
  text-decoration: underline;
}

.chl-row4__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 22px 0 6px;
}

@media (max-width: 980px) {
  .chl-row4__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .chl-row4__grid {
    grid-template-columns: 1fr;
  }
}

.chl-row4__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.chl-row4__media {
  position: relative;
  line-height: 0;
}

.chl-thumb--row4 {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .chl-thumb--row4 {
    height: 210px;
  }
}

.chl-row4__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 0, 80, 0.95);
  color: #fff;
}

.chl-row4__body {
  padding-top: 12px;
}

.chl-row4__meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.55);
}

.chl-row4__cat {
  font-weight: 400;
}

.chl-row4__sep {
  margin: 0 8px;
  color: rgba(0, 0, 0, 0.35);
}

.chl-row4__headline {
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
}

.chl-row4__excerpt {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chl-row4__byline {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
}

.chl-row4__author {
  color: rgba(255, 0, 80, 0.95);
  font-weight: 400;
}

/* Grid section (6 posts, 3x2) - screenshot style */
.chl-grid6 {
  padding-top: 10px;
}

.chl-grid6__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.chl-grid6__title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 10px;
}

.chl-grid6__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 70px;
  height: 2px;
  background: rgba(255, 0, 80, 0.95);
}

.chl-grid6__more {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 0, 80, 0.95);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.chl-grid6__more:hover {
  text-decoration: underline;
}

.chl-grid6__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 22px 0 6px;
}

@media (max-width: 980px) {
  .chl-grid6__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .chl-grid6__grid {
    grid-template-columns: 1fr;
  }
}

.chl-grid6__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.chl-grid6__media {
  position: relative;
  line-height: 0;
}

.chl-thumb--grid6 {
  width: 100%;
  height: 175px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .chl-thumb--grid6 {
    height: 200px;
  }
}

.chl-grid6__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 0, 80, 0.95);
  color: #fff;
}

.chl-grid6__body {
  padding-top: 12px;
}

.chl-grid6__meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.55);
}

.chl-grid6__cat {
  font-weight: 400;
}

.chl-grid6__sep {
  margin: 0 8px;
  color: rgba(0, 0, 0, 0.35);
}

.chl-grid6__headline {
  margin: 10px 0 10px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
}

.chl-grid6__excerpt {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chl-grid6__byline {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
}

.chl-grid6__author {
  color: rgba(255, 0, 80, 0.95);
  font-weight: 400;
}

/* More news (10 posts) - screenshot style */
.chl-more10 {
  padding-top: 10px;
}

.chl-more10__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.chl-more10__title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.chl-more10__more {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.chl-more10__more:hover {
  text-decoration: underline;
}

.chl-more10__footer {
  padding: 10px 0 20px;
}

.chl-more10__more--button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: inherit;
  text-decoration: none;
}

.chl-more10__more--button:hover {
  text-decoration: none;
}

.chl-more10__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 0 6px;
}

.chl-more10__row {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.chl-more10__link {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 980px) {
  .chl-more10__link {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 640px) {
  .chl-more10__link {
    grid-template-columns: 1fr;
  }
}

.chl-more10__thumb {
  position: relative;
  line-height: 0;
}

.chl-thumb--more10 {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .chl-thumb--more10 {
    height: 180px;
  }
}

.chl-more10__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 0, 80, 0.95);
  color: #fff;
}

/* Hide SportsPress footer sponsors on the homepage only. */
.sp-footer-sponsors {
  display: none !important;
}

.chl-more10__body {
  padding: 14px 16px 14px 0;
}

@media (max-width: 640px) {
  .chl-more10__body {
    padding: 12px;
  }
}

.chl-more10__meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.55);
}

.chl-more10__cat {
  font-weight: 400;
}

.chl-more10__sep {
  margin: 0 8px;
  color: rgba(0, 0, 0, 0.35);
}

.chl-more10__headline {
  margin: 10px 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.chl-more10__excerpt {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chl-more10__byline {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
}

.chl-more10__author {
  color: rgba(255, 0, 80, 0.95);
  font-weight: 400;
}

/* No rounded corners in plugin sections */
.chl-row4 .chl-thumb,
.chl-row4 .chl-row4__badge,
.chl-grid6 .chl-thumb,
.chl-grid6 .chl-grid6__badge,
.chl-more10 .chl-thumb,
.chl-more10 .chl-more10__badge,
.chl-row4 [class*="__"],
.chl-grid6 [class*="__"],
.chl-more10 [class*="__"] {
  border-radius: 0 !important;
}

/* Additional sections */
.chl-section {
  width: 100%;
}

.chl-section__grid {
  display: grid;
  gap: 18px;
}

.chl-section__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.chl-section__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
  .chl-section__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .chl-section__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .chl-section__grid--4,
  .chl-section__grid--3 {
    grid-template-columns: 1fr;
  }
}

.chl-tile {
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.chl-tile__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.chl-tile__media {
  line-height: 0;
  overflow: hidden;
}

.chl-thumb--tile {
  width: 100%;
  height: 115px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .chl-thumb--tile {
    height: 140px;
  }
}

.chl-tile__body {
  padding: 12px;
}

.chl-tile__title {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.25;
}

.chl-more {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chl-more__row {
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #fff;
}

.chl-more__link {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 980px) {
  .chl-more__link {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 640px) {
  .chl-more__link {
    grid-template-columns: 1fr;
  }
}

.chl-more__thumb {
  line-height: 0;
  overflow: hidden;
}

/* Keep all homepage media/cards/tiles square-cornered (no rounding). */
.chl-home .chl-slider,
.chl-home .chl-card,
.chl-home .chl-right,
.chl-home .chl-row__thumb,
.chl-home .chl-tile,
.chl-home .chl-tile__media,
.chl-home .chl-more__row,
.chl-home .chl-more__thumb,
.chl-home .chl-thumb,
.chl-home .chl-thumb--hero,
.chl-home .chl-thumb--card,
.chl-home .chl-thumb--row,
.chl-home .chl-thumb--tile,
.chl-home .chl-thumb--more {
  border-radius: 0 !important;
}

.chl-thumb--more {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .chl-thumb--more {
    height: 180px;
  }
}

.chl-more__body {
  padding: 14px 16px 14px 0;
}

@media (max-width: 640px) {
  .chl-more__body {
    padding: 12px;
  }
}

.chl-more__title {
  margin: 6px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.chl-more__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
}

/* Force requested title sizes (final override) */
.chl-card__title {
  font-size: 20px !important;
}

/* Desktop only: reduce row title to 16px */
.chl-row__title {
  font-size: 20px !important;
}

@media (min-width: 641px) {
  .chl-row__title {
    font-size: 16px !important;

  /* Desktop: clamp long titles to two lines with ellipsis */
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  }
}
