/* assets/css/blocks/channels-grid.css */
.channels-grid {
  display: none;
  background: #fff;
  color: #111;
  box-sizing: border-box;
  font-family: "MontserratCustom", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.channels-grid__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px;
  box-sizing: border-box;
}

.channels-grid__title {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.08;
}

.channels-grid__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.channels-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.06);
  box-sizing: border-box;
}

.channels-item::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: #ff6d3d;
}

.channels-item__img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 14px;
  border: 1px solid rgba(255, 109, 61, 0.18);
  border-radius: 8px;
  background: rgba(255, 109, 61, 0.07);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
  box-sizing: border-box;
}

.channels-item__txt h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.18;
}

.channels-item__txt p {
  margin: 0;
  color: #4b4b4b;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 920px) {
  .channels-grid {
    display: block;
  }

  .channels-grid__wrap {
    padding: 54px 16px;
  }

  .channels-grid__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .channels-item {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .channels-grid__wrap {
    padding: 46px 14px;
  }

  .channels-grid__title {
    margin-bottom: 24px;
  }

  .channels-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .channels-item::before {
    left: 20px;
    right: 20px;
  }

  .channels-item__img {
    width: 72px;
    height: 72px;
    padding: 10px;
  }

  .channels-item__txt h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .channels-item__txt p {
    font-size: 14px;
    line-height: 1.55;
  }
}
