.dioasis-news-v4 {
  padding: 120px 0 120px;
  background: #ffffff;
}

.dioasis-news-v4__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.dioasis-news-v4__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: end;
}


.dioasis-news-v4__title {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #191f28;
  word-break: keep-all;
}

.dioasis-news-v4__desc {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: 20px;
  line-height: 1.75;
  color: #4e5968;
  word-break: keep-all;
}

.dioasis-news-v4__summary-card {
  padding: 28px 30px;
  border-radius: 28px;
  background: #f8fafc;
  border: 1px solid #e8eef5;
}

.dioasis-news-v4__summary-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #6b7684;
}

.dioasis-news-v4__summary-text {
  display: block;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: #191f28;
  font-weight: 800;
  word-break: keep-all;
}

.dioasis-news-v4__summary-date {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #8b95a1;
}

.dioasis-news-v4__chips {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dioasis-news-v4__chip {
  appearance: none;
  border: 1px solid #e5e8eb;
  background: #ffffff;
  color: #4e5968;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dioasis-news-v4__chip:hover {
  transform: translateY(-1px);
}

.dioasis-news-v4__chip.is-active {
  background: #191f28;
  color: #ffffff;
  border-color: #191f28;
}

.dioasis-news-v4__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dioasis-news-v4-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #edf1f5;
  text-decoration: none;
  color: inherit;
  min-height: 520px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.dioasis-news-v4-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #dde6f0;
  color: inherit;
}

.dioasis-news-v4-card:hover .dioasis-news-v4-card__title {
  color: #0f172a;
}

.dioasis-news-v4-card__media {
  position: relative;
  aspect-ratio: 1.35 / 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #eff4f8;
}

.dioasis-news-v4-card__media--fallback {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 26px;
  background:
    radial-gradient(circle at 78% 22%, rgba(59,130,246,0.20), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

/* 모바일 첫 카드 전용 — <img> 태그 사용 시 background-image 카드와 동일한 비율/모양 유지 */
.dioasis-news-v4-card__media--image {
  overflow: hidden;
  background: #eff4f8;
}

.dioasis-news-v4-card__media--image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dioasis-news-v4-card__media-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(37,99,235,0.10);
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.dioasis-news-v4-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 26px;
}

.dioasis-news-v4-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dioasis-news-v4-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.dioasis-news-v4-card__date {
  font-size: 13px;
  font-weight: 700;
  color: #8b95a1;
  white-space: nowrap;
}

.dioasis-news-v4-card__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.34;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #191f28;
  word-break: keep-all;
}

.dioasis-news-v4-card__summary {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: #4e5968;
  word-break: keep-all;
}

.dioasis-news-v4-card__bottom {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dioasis-news-v4-card__source {
  font-size: 14px;
  font-weight: 500;
  color: #98A2B3;
}

.dioasis-news-v4-card__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #191f28;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.dioasis-news-v4-card:hover .dioasis-news-v4-card__arrow {
  transform: translateX(2px);
  background: #eef2f6;
}

.dioasis-news-v4-card:active .dioasis-news-v4-card__arrow {
  transform: scale(0.92);
}

.dioasis-news-v4__footer {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.dioasis-news-v4__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #191f28;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease;
}

.dioasis-news-v4__more:hover {
  transform: translateY(-1px);
  color: #191f28;
}

.is-skeleton {
  pointer-events: none;
}

.is-skeleton .dioasis-news-v4-card__media,
.dioasis-news-v4-card__line {
  background: linear-gradient(90deg, #edf2f7 0%, #f8fafc 50%, #edf2f7 100%);
  background-size: 200% 100%;
  animation: dioasisNewsSkeleton 1.4s linear infinite;
}

.dioasis-news-v4-card__line {
  height: 18px;
  border-radius: 999px;
}

.dioasis-news-v4-card__line--short {
  width: 62%;
  margin-top: 12px;
}

@keyframes dioasisNewsSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 1180px) {
  .dioasis-news-v4__head {
    grid-template-columns: 1fr;
  }

  .dioasis-news-v4__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .dioasis-news-v4 {
    padding: 86px 0 92px;
  }

  .dioasis-news-v4__inner {
    width: min(100% - 32px, 1320px);
  }

  .dioasis-news-v4__title {
    font-size: 38px;
  }

  .dioasis-news-v4__desc {
    font-size: 17px;
  }

  .dioasis-news-v4__summary-card {
    padding: 22px 22px;
    border-radius: 22px;
  }

  .dioasis-news-v4__summary-text {
    font-size: 20px;
  }

  /* 모바일: compact 2열 그리드 (2개씩 — Toss 스타일 뉴스 카드) */
  .dioasis-news-v4__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .dioasis-news-v4-card {
    min-height: auto;
    border-radius: 20px;
  }

  .dioasis-news-v4-card__media {
    aspect-ratio: 1 / 0.86;
  }

  .dioasis-news-v4-card__body {
    padding: 16px 14px 14px;
  }

  .dioasis-news-v4-card__top {
    margin-bottom: 12px;
  }

  .dioasis-news-v4-card__category {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
  }

  .dioasis-news-v4-card__date {
    font-size: 11px;
  }

  .dioasis-news-v4-card__title {
    font-size: 18px;
    line-height: 1.34;
    letter-spacing: -0.04em;
  }

  /* 모바일: summary 숨김 — 이미지 + 제목 + 출처만 노출 */
  .dioasis-news-v4-card__summary {
    display: none;
  }

  .dioasis-news-v4-card__bottom {
    padding-top: 16px;
  }

  .dioasis-news-v4-card__source {
    font-size: 12px;
  }

  .dioasis-news-v4-card__arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}