.cs-card__content:empty {
  display: none;
}
.cs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  content-visibility: auto;
  contain-intrinsic-size: 1px 85vh;
}

.cs-card *,
.cs-card *::before,
.cs-card *::after {
  box-sizing: inherit;
}

.cs-card__container {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  width: 100%;
  
  height: 83vh;
  
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.cs-card__logo-wrapper {
  flex-shrink: 0;
  width: 100%;
  max-width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.cs-card__logo {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.cs-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 698px;
  text-align: center;
  z-index: 2;
}

.cs-card__heading {
  color: #012169;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
}

.cs-card__description {
  color: #012169;
  font-size: clamp(0.95rem, 1.3vw, 1.125rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin: 0;
  
  display: inline-block;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.cs-card__text {
  color: #012169;
}

.cs-card__link {
  color: #8B0000;
  text-decoration: underline;
  text-underline-offset: 3px;
  
  display: inline-block;
  word-break: break-all;
  
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cs-card__link:hover,
.cs-card__link:focus-visible {
  color: #600000;
  outline: 2px solid #012169;
  outline-offset: 2px;
  border-radius: 2px;
}

.cs-card__ornament-frame {
  width: 344px;
  height: 116px;
  position: absolute;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.cs-card__ornament {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.cs-card__ornament--top {
  left: 0;
  top: 0;
  max-width: 763px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cs-card__ornament--bottom {
  opacity: 0.76;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media screen and (max-width: 768px) {
  .cs-card__container {
    padding: 24px 16px;
    height: 87vh;
    border-radius: 16px;
    gap: 16px;
  }

  .cs-card__description {
    padding: 0 10px;
  }

  .cs-card__ornament-frame {
    width: 180px;
    height: 60px;
  }

  .cs-card__ornament--top {
    opacity: 0.4;
  }
}