:root {
  --h360-red: #e73239;
  --h360-black: #050505;
  --h360-muted: #687080;
  --h360-line: #afb5c0;
  --h360-container: 1300px;
}

.h360-home,
.h360-home * {
  box-sizing: border-box;
}

.h360-home {
  color: var(--h360-black);
  background: #fff;
  font-family: inherit;
  padding: 48px 0 88px;
}

.h360-home a {
  color: inherit;
  text-decoration: none;
}

.h360-home a:hover,
.h360-home a:focus-visible {
  color: var(--h360-red);
}

.h360-home__container {
  width: min(var(--h360-container), calc(100% - 48px));
  margin-inline: auto;
}

.h360-home__image,
.h360-home__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ececee;
}

.h360-home h1,
.h360-home h2,
.h360-home h3,
.h360-home p {
  margin: 0;
}

.h360-home h1,
.h360-home h2,
.h360-home h3 {
  overflow-wrap: anywhere;
  white-space: normal;
}

.h360-home__lead {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr) 327px;
  gap: 32px;
  align-items: start;
}

.h360-home__lead-side {
  display: grid;
  gap: 40px;
}

.h360-home__side-image {
  display: block;
  height: 129px;
  margin-bottom: 9px;
  overflow: hidden;
}

.h360-home__eyebrow {
  display: inline-block;
  color: var(--h360-red);
  font-size: 12px;
  line-height: 1.25;
  text-transform: uppercase;
}

.h360-home__side-story h2 {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.h360-home__top-story {
  min-width: 0;
  padding-bottom: 16px;
}

.h360-home__top-image {
  display: block;
  height: 385px;
  overflow: hidden;
}

.h360-home__top-title {
  position: relative;
  z-index: 1;
  width: 80%;
  margin: -40px auto 0;
  padding: 31px 42px 30px;
  background: #f2f2f2;
  text-align: center;
  border-bottom: 16px solid transparent;
  border-image: repeating-linear-gradient(135deg, #a9a9a9 0 1px, transparent 1px 4px) 16;
}

.h360-home__top-title > span {
  position: absolute;
  top: -16px;
  left: 50%;
  translate: -50% 0;
  padding: 8px 14px;
  color: #fff;
  background: var(--h360-red);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.h360-home__top-title h1 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  font-weight: 800;
}

.h360-home__trending > h2,
.h360-home__latest > h2 {
  margin: 0;
  padding: 12px 16px;
  color: #fff;
  background: var(--h360-red);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  border-bottom: 16px solid transparent;
  border-image: repeating-linear-gradient(135deg, #ef7c80 0 1px, transparent 1px 4px) 16;
}

.h360-home__trending ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: trending;
}

.h360-home__trending li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 156px;
  gap: 8px;
  align-items: center;
  min-height: 92px;
  counter-increment: trending;
}

.h360-home__rank::before {
  content: counter(trending);
  color: #ccc;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.h360-home__trending h3 {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 800;
}

.h360-home__trend-views {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-top: 5px;
  color: #777;
  font-size: 11px;
  line-height: 1.2;
}

.h360-home__trend-views svg {
  flex: 0 0 auto;
  fill: currentColor;
}

.h360-home__trend-image {
  display: block;
  height: 87px;
  overflow: hidden;
}

.h360-home__rated {
  margin-top: 62px;
}

.h360-home__section-intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.h360-home__section-intro h2 {
  font-size: 25px;
  line-height: 1.2;
}

.h360-home__section-intro p {
  margin-top: 3px;
  font-size: 16px;
}

.h360-home__tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 9px;
  background: #ccc;
}

.h360-home__tabs button {
  appearance: none;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  color: #292929;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.h360-home__tabs button[aria-selected="true"] {
  color: #fff;
  background: #2d2d2d;
  font-weight: 700;
}

.h360-home__music-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.h360-home__music-grid[hidden] {
  display: none;
}

.h360-home__music-card {
  min-width: 0;
  padding: 11px 11px 12px;
  border: 1px solid var(--h360-red);
  border-radius: 17px;
}

.h360-home__music-card--1 { background: #e45d61; }
.h360-home__music-card--2 { background: #ed9da0; }
.h360-home__music-card--3 { background: #f4cdcf; }
.h360-home__music-card:nth-child(n+4) { background: #fff; }

.h360-home__music-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
}

.h360-home__music-card h3 {
  overflow: hidden;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h360-home__artist {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h360-home__rating {
  margin-top: 5px !important;
  font-size: 12px;
}

.h360-home__rating span {
  color: #ffc400;
}

.h360-home__middle {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr .76fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 32px;
}

.h360-home__daily {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: #050505;
}

.h360-home__daily > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 16px;
  padding: 14px 0 13px;
  border-bottom: 16px solid transparent;
  border-image: repeating-linear-gradient(135deg, #555 0 1px, transparent 1px 4px) 16;
}

.h360-home__daily > header h2 {
  color: #fff;
  font-size: 24px;
}

.h360-home__daily > header a {
  color: #fff;
  font-size: 12px;
}

.h360-home__daily-list {
  flex: 1 1 auto;
  padding: 0 16px;
}

.h360-home__daily-list article {
  display: grid;
  grid-template-columns: 41% minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 0 0 16px;
}

.h360-home__daily-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.h360-home__daily-list h3 {
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.h360-home__daily-list p {
  margin-top: 3px;
  color: #aab0bf;
  font-size: 16px;
  font-weight: 700;
}

.h360-home__daily-list div > span {
  display: block;
  margin-top: 28px;
  color: #aaa;
  font-size: 11px;
  font-style: italic;
  text-align: right;
}

.h360-home__angled-link {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 70px;
  padding: 25px 16px 13px;
  color: #fff !important;
  background: linear-gradient(171deg, transparent 0 49%, var(--h360-red) 50%);
  font-size: 16px;
  font-weight: 800;
}

.h360-home__angled-link span {
  margin-left: 10px;
  font-size: 28px;
  line-height: .7;
}

.h360-home__latest {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.h360-home__latest-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 8px 16px 0;
}

.h360-home__latest-list article {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  flex: 1 1 0;
  padding: 9px 0;
}

.h360-home__latest-image {
  display: block;
  height: 107px;
  overflow: hidden;
}

.h360-home__latest-list h3 {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.h360-home__latest-list time {
  display: block;
  margin-top: 15px;
  color: #555;
  font-size: 10px;
  font-style: italic;
  text-align: right;
}

.h360-home__gospel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #fff;
}

.h360-home__gospel > h2 {
  padding: 12px 16px;
  color: #fff;
  background: var(--h360-red);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  border-bottom: 16px solid transparent;
  border-image: repeating-linear-gradient(135deg, #ef7c80 0 1px, transparent 1px 4px) 16;
}

.h360-home__gospel-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 8px 14px 0;
}

.h360-home__gospel-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  flex: 1 1 0;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.h360-home__gospel-image {
  display: block;
  height: 72px;
  overflow: hidden;
}

.h360-home__gospel-list h3 {
  font-size: 14px;
  line-height: 1.3;
}

.h360-home__gospel-list time {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 10px;
  font-style: italic;
}

.h360-home__categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 64px;
  margin-top: 50px;
}

.h360-home__category > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.h360-home__category > header h2 {
  font-size: 20px;
}

.h360-home__category > header > a {
  font-size: 28px;
  line-height: 1;
}

.h360-home__category-feature {
  margin-top: 12px;
}

.h360-home__category-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.h360-home__category-feature h3 {
  margin-top: 9px;
  font-size: 18px;
  line-height: 1.35;
}

.h360-home__category ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.h360-home__category li {
  position: relative;
  padding: 9px 10px 9px 16px;
  border-top: 1px solid var(--h360-line);
  font-size: 16px;
  line-height: 1.45;
}

.h360-home__category li::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--h360-red);
}

.h360-home__more {
  display: grid;
  place-items: center;
  width: min(455px, 100%);
  min-height: 76px;
  margin: 60px auto 0;
  border: 1px solid #111;
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .h360-home__lead {
    grid-template-columns: 190px minmax(0, 1fr) 280px;
    gap: 22px;
  }

  .h360-home__trending li {
    grid-template-columns: 20px minmax(0, 1fr) 104px;
  }

  .h360-home__music-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .h360-home__middle {
    grid-template-columns: 1fr 1fr;
  }

  .h360-home__gospel {
    grid-column: 1 / -1;
  }

  .h360-home__categories {
    gap: 48px 32px;
  }
}

@media (max-width: 820px) {
  .h360-home {
    padding-top: 24px;
  }

  .h360-home__container {
    width: min(100% - 30px, var(--h360-container));
  }

  .h360-home__lead {
    grid-template-columns: 1fr 1fr;
  }

  .h360-home__top-story {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .h360-home__lead-side {
    grid-template-columns: 1fr 1fr;
  }

  .h360-home__trending {
    min-width: 0;
  }

  .h360-home__middle,
  .h360-home__categories {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .h360-home__lead,
  .h360-home__lead-side,
  .h360-home__middle,
  .h360-home__categories {
    grid-template-columns: 1fr;
  }

  .h360-home__top-image {
    height: 56vw;
    min-height: 230px;
  }

  .h360-home__top-title {
    width: calc(100% - 24px);
    margin-top: -24px;
    padding: 28px 18px 22px;
  }

  .h360-home__top-title h1 {
    font-size: 25px;
  }

  .h360-home__lead-side {
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .h360-home__side-image {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 9px;
  }

  .h360-home__side-story h2 {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .h360-home__side-story .h360-home__eyebrow {
    font-size: 12px;
  }

  .h360-home__trending {
    grid-row: 3;
  }

  .h360-home__trending li {
    grid-template-columns: 22px minmax(0, 1fr) 120px;
  }

  .h360-home__section-intro {
    align-items: center;
  }

  .h360-home__music-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .h360-home__music-card {
    flex: 0 0 43%;
    scroll-snap-align: start;
  }

  .h360-home__latest-list,
  .h360-home__daily-list {
    padding-inline: 12px;
  }

  .h360-home__gospel {
    grid-column: auto;
  }

  .h360-home__categories {
    gap: 40px;
  }

  .h360-home__more {
    margin-top: 44px;
  }
}

