/* =========================================================
   CAPNATU TV
   ========================================================= */

.cap-tv-page {
  width: min(1120px, calc(100% - 20px));
  margin: 0 auto;
  padding: 14px 0 120px;
  color: #fff;
}

.cap-tv-heading {
  padding: 22px 18px;
  text-align: center;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(11,47,69,.94), rgba(18,140,131,.84));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

.cap-tv-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cap-tv-heading h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 54px);
  line-height: 1;
  letter-spacing: -.04em;
}

.cap-tv-heading p {
  max-width: 720px;
  margin: 10px auto 0;
  color: rgba(255,255,255,.88);
  line-height: 1.5;
}

.cap-tv-featured {
  position: relative;
  display: block;
  min-height: 280px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 22px;
  background: #071b28;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.cap-tv-featured img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.cap-tv-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(3,17,26,.92));
}

.cap-tv-featured-content {
  position: relative;
  z-index: 1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 22px;
}

.cap-tv-badge,
.cap-tv-new {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.cap-tv-badge {
  padding: 7px 11px;
  background: #fff;
  color: #0b2f45;
  font-size: 11px;
}

.cap-tv-featured h2 {
  max-width: 760px;
  margin: 10px 0 6px;
  color: #fff;
  font-size: clamp(24px, 5vw, 43px);
  line-height: 1.06;
}

.cap-tv-featured time {
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

.cap-tv-play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 15px;
  border-radius: 13px;
  color: #fff;
  background: #128c83;
  font-weight: 900;
}

.cap-tv-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 18px 0 12px;
  padding: 2px 0 8px;
  scrollbar-width: none;
}

.cap-tv-filters::-webkit-scrollbar {
  display: none;
}

.cap-tv-filter {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(11,47,69,.72);
  font-weight: 800;
  cursor: pointer;
}

.cap-tv-filter.active {
  background: #fff;
  color: #0b2f45;
}

.cap-tv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.cap-tv-card {
  overflow: hidden;
  border-radius: 19px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.cap-tv-card-link {
  display: block;
  color: #0f2230;
}

.cap-tv-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #06131b;
}

.cap-tv-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.cap-tv-card:hover .cap-tv-card-media img {
  transform: scale(1.025);
}

.cap-tv-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 50%;
  color: #fff;
  background: rgba(18,140,131,.94);
  box-shadow: 0 10px 24px rgba(0,0,0,.30);
}

.cap-tv-new {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  background: #fff;
  color: #0b2f45;
  font-size: 10px;
}

.cap-tv-card-body {
  padding: 15px;
}

.cap-tv-category {
  display: inline-flex;
  margin-bottom: 7px;
  color: #128c83;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cap-tv-card h2,
.cap-tv-card h3 {
  margin: 0;
  color: #0f2230;
  line-height: 1.2;
}

.cap-tv-card h2 {
  font-size: 19px;
}

.cap-tv-card h3 {
  font-size: 16px;
}

.cap-tv-meta {
  margin-top: 7px;
  color: #6b7c8f;
  font-size: 12px;
}

.cap-tv-card p {
  margin: 10px 0 0;
  color: #526273;
  font-size: 13px;
  line-height: 1.5;
}

.cap-tv-card-cta {
  display: inline-block;
  margin-top: 13px;
  color: #0b2f45;
  font-weight: 900;
}

.cap-tv-empty {
  margin-top: 18px;
  padding: 28px 18px;
  text-align: center;
  border-radius: 20px;
  color: #0f2230;
  background: rgba(255,255,255,.94);
}

.cap-tv-empty h1,
.cap-tv-empty h2 {
  margin-top: 0;
}

.cap-tv-back-button,
.cap-tv-youtube-button,
.cap-tv-share-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cap-tv-back-button,
.cap-tv-youtube-button {
  color: #fff;
  background: #128c83;
}

.cap-tv-detail {
  max-width: 980px;
}

.cap-tv-back {
  display: inline-flex;
  margin: 5px 0 14px;
  color: #fff;
  font-weight: 900;
}

.cap-tv-detail-header {
  margin-bottom: 14px;
}

.cap-tv-detail-header h1 {
  margin: 2px 0 7px;
  color: #fff;
  font-size: clamp(27px, 6vw, 46px);
  line-height: 1.08;
}

.cap-tv-detail-header time {
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

.cap-tv-player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}

.cap-tv-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cap-tv-description {
  margin-top: 15px;
  padding: 18px;
  border-radius: 18px;
  color: #0f2230;
  background: rgba(255,255,255,.95);
  line-height: 1.65;
}

.cap-tv-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 13px;
}

.cap-tv-share-button {
  color: #0b2f45;
  background: #fff;
}

.cap-tv-related {
  margin-top: 28px;
}

.cap-tv-related > h2 {
  color: #fff;
}

.cap-tv-home-banner {
  position: relative;
  display: block;
  min-height: 165px;
  margin: 10px 0 14px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11,47,69,.98), rgba(18,140,131,.82));
  box-shadow: 0 15px 34px rgba(0,0,0,.22);
}

.cap-tv-home-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cap-tv-home-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,17,26,.96), rgba(3,17,26,.30));
}

.cap-tv-home-banner-content {
  position: relative;
  z-index: 1;
  width: min(76%, 410px);
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.cap-tv-home-eyebrow {
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cap-tv-home-banner h2 {
  margin: 5px 0 7px;
  color: #fff;
  font-size: 23px;
  line-height: 1.12;
}

.cap-tv-home-banner p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 12px;
}

.cap-tv-home-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 11px;
  color: #0b2f45;
  background: #fff;
  font-weight: 900;
  font-size: 12px;
}

@media (min-width: 700px) {
  .cap-tv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cap-tv-featured,
  .cap-tv-featured-content,
  .cap-tv-featured img {
    min-height: 430px;
  }
}

@media (min-width: 1050px) {
  .cap-tv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
