.case-read {
  padding: 140px 0 80px;
  background: linear-gradient(90deg, #EAFBF6 0%, #FFFFFF 22%, #FFFFFF 78%, #eafbf6 100%);
  overflow: visible;
}

.case-read__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: visible;
}

.case-read__title {
  font-weight: 650;
  font-size: 32px;
  line-height: 42px;
  color: #1f1f1f;
  letter-spacing: -0.2px;
  max-width: 900px;
  margin: 0 0 40px 80px;
}

.case-read__media {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.12);
}

.case-read__thumb {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-read__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.case-read__play:hover {
  filter: brightness(1.05);
}

.case-read__play-icon {
  display: block;
  width: 64px;
  height: 64px;
}

.case-read-body {
  padding: 0px 0 96px;
}

.case-read__wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
}

.case-read-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 28px;
}

.case-read-meta__author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.case-read-meta__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
}

.case-read-meta__name {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #333333;
  margin: 0 0 0px;
}

.case-read-meta__date {
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  color: #999999;
  margin: 0;
}

.case-read-share {
  height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid #00b894;
  color: #00b894;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}

.case-read-share:hover {
  filter: brightness(1.05);
}

.case-read-content {
  position: relative;
}

.case-read-p {
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  color: #666666;
  margin: 0 0 18px;
  text-align: justify;
}

.case-read-quote {
  display: grid;
  grid-template-columns: 5px 1fr;
  gap: 24px;
  align-items: start;
  margin: 50px 90px 50px 90px;
}

.case-read-quote__bar {
  background: #00b894;
  width: 5px;
  height: 104px;
  border-radius: 2px;
}

.case-read-quote__text {
  font-weight: 300;
  font-size: 24px;
  line-height: 40px;
  color: #666666;
  margin: 0 0 8px;
}

.case-read-quote__author {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin: 0;
}

.case-read-image {
  margin: 24px auto 32px;
  width: 816px;
}

.case-read-image__inner {
  position: relative;
  height: 312px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.case-read-image__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #cce9ff;
}

.case-read-image__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-read-head {
  font-weight: 700;
  font-size: 32px;
  line-height: 28px;
  color: #333333;
  margin: 60px 0 20px;
}

.case-read-list {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  padding: 24px;
}

.case-read-list__item {
  margin-bottom: 24px;
}

.case-read-list__item:last-child {
  margin-bottom: 0;
}

.case-read-list__pill {
  background: rgba(0, 173, 139, 0.1);
  border-radius: 12px;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
}

.case-read-list__pill span {
  font-weight: 600;
  font-size: 16px;
  line-height: 46px;
  color: #333333;
}

.case-read-list__desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  color: #666666;
  margin: 0 20px;
}

.case-related {
  padding: 48px 0 120px;
}

.case-related__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.case-related__title {
  font-weight: 700;
  font-size: 32px;
  line-height: 28px;
  color: #333333;
  margin: 0 0 34px;
}

.case-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-related__media {
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
}

.case-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-related__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-related__caption {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: #333333;
  margin: 12px 0 0;
  text-decoration: none;
  transition: color 0.4s ease;
}

.case-related__link:hover .case-related__caption {
  color: #00b894;
}

@media (max-width: 1024px) {
  .case-read {
    padding: 72px 0 96px;
    background: linear-gradient(90deg, #EAFBF6 0%, #FFFFFF 18%, #FFFFFF 82%, #EAFBF6 100%);
  }

  .case-read__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
  }

  .case-read__media {
    max-width: 100%;
  }

  .case-related {
    margin-top: 0px;
    padding-top: 0px;
  }

  .case-related__wrap {
    padding: 0 16px;
  }

  .case-related__title {
    font-size: 24px;
  }

  .case-related__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .case-related__grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    padding: 8px 0;
    align-items: stretch;
  }
  .case-related__grid::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }
  .case-related__card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .case-read {
    padding: 80px 0 72px;
    background: #FFFFFF;
    /* simplify on small screens */
  }

  .case-read__wrap {
    padding: 0 16px;
  }

  .case-read__title {
    margin: 16px 0 20px 0;
    text-align: center;
    max-width: 100%;
  }

  .case-read-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .case-read-meta__author {
    flex: 1 1 auto;
    min-width: 0;
  }

  .case-read-share {
    margin-left: auto;
  }

  .case-read-image {
    width: 100%;
  }

  .case-read-image__inner {
    height: auto;
    aspect-ratio: 816 / 312;
  }

  .case-read-quote {
    margin-left: 0;
  }

  .case-read-head {
    font-size: 24px;
  }

  .case-read-list__desc {
    font-size: 18px;
    line-height: 28px;
  }

  .case-read-meta__name {
    font-size: 16px;
  }

  .case-read-meta__date {
    font-size: 12px;

  }
}