@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.ychv-history-viewer,
.ychv-history-viewer * {
  box-sizing: border-box;
}

.ychv-history-viewer {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #192126;
  background: #ffffff;
}

.ychv-history-viewer .ychv-history-section {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.ychv-history-viewer .ychv-history-section-one,
.ychv-history-viewer .ychv-history-section-three {
  background: #ffffff;
}

.ychv-history-viewer .ychv-history-section-two {
  background: linear-gradient(180deg, #fff7f5 0%, #f8fbfc 100%);
}

.ychv-history-viewer .ychv-history-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  min-width: 0;
}

.ychv-history-viewer h2 {
  margin: 0 auto;
  text-align: center;
  color: #141a1f;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.ychv-history-viewer .ychv-history-intro {
  margin: 0 auto;
  text-align: center;
  color: #5a666d;
  line-height: 1.7;
  max-width: 760px;
  font-weight: 450;
}

.ychv-history-viewer .ychv-history-grid {
  display: grid !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0;
}

.ychv-history-viewer .ychv-history-card {
  position: relative;
  height: 100% !important;
  min-width: 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.07), transparent 34%),
    #ffffff;
  border: 1px solid #ecd8d5;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(142, 41, 30, 0.11);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, background 280ms ease;
}

.ychv-history-viewer .ychv-history-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.12), rgba(0, 156, 167, 0.08));
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.ychv-history-viewer .ychv-history-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 0, 0, 0.32);
  box-shadow: 0 24px 60px rgba(142, 41, 30, 0.18);
}

.ychv-history-viewer .ychv-history-card:hover::before {
  opacity: 1;
}

.ychv-history-viewer .ychvHistory-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff0000 0%, #b31217 58%, #009ca7 100%);
  box-shadow: 0 12px 28px rgba(255, 0, 0, 0.22);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.ychv-history-viewer .ychv-history-card:hover .ychvHistory-icon {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 36px rgba(0, 156, 167, 0.25);
}

.ychv-history-viewer .ychvHistory-i {
  color: #ffffff;
  line-height: 1;
  text-align: center;
}

.ychv-history-viewer .ychv-history-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  color: #162026;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.ychv-history-viewer .ychv-history-card p {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
  color: #5d6870;
  line-height: 1.62;
  font-weight: 450;
}

.ychv-history-viewer .ychv-history-card.ychv-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.ychv-history-viewer .ychv-history-card.ychv-reveal.ychv-visible {
  opacity: 1;
  transform: translateY(0);
}

.ychv-history-viewer .ychv-history-card.ychv-reveal.ychv-visible:hover {
  transform: translateY(-8px);
}

@media (min-width: 1024px) {
  .ychv-history-viewer .ychv-history-section {
    padding: 92px 0;
  }

  .ychv-history-viewer .ychv-history-container {
    padding: 0 28px;
  }

  .ychv-history-viewer h2 {
    font-size: 42px;
    max-width: 1080px;
    white-space: nowrap;
  }

  .ychv-history-viewer .ychv-history-intro {
    margin-top: 18px;
    font-size: 17px;
  }

  .ychv-history-viewer .ychv-history-grid {
    gap: 28px;
    margin-top: 48px;
  }

  .ychv-history-viewer .ychv-history-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ychv-history-viewer .ychv-history-grid-eight {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ychv-history-viewer .ychv-history-card {
    min-height: 302px;
    padding: 34px 26px 30px;
  }

  .ychv-history-viewer .ychvHistory-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
  }

  .ychv-history-viewer .ychvHistory-i {
    font-size: 28px;
  }

  .ychv-history-viewer .ychv-history-card h3 {
    font-size: 20px;
    margin-bottom: 13px;
  }

  .ychv-history-viewer .ychv-history-card p {
    font-size: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ychv-history-viewer .ychv-history-section {
    padding: 76px 0;
  }

  .ychv-history-viewer .ychv-history-container {
    padding: 0 24px;
  }

  .ychv-history-viewer h2 {
    font-size: 35px;
    max-width: 820px;
  }

  .ychv-history-viewer .ychv-history-intro {
    margin-top: 16px;
    font-size: 16px;
  }

  .ychv-history-viewer .ychv-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
  }

  .ychv-history-viewer .ychv-history-card {
    min-height: 270px;
    padding: 30px 24px 26px;
    border-radius: 20px;
  }

  .ychv-history-viewer .ychvHistory-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 21px;
  }

  .ychv-history-viewer .ychvHistory-i {
    font-size: 25px;
  }

  .ychv-history-viewer .ychv-history-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .ychv-history-viewer .ychv-history-card p {
    font-size: 14.5px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .ychv-history-viewer .ychv-history-section {
    padding: 58px 0;
  }

  .ychv-history-viewer .ychv-history-container {
    padding: 0 16px;
  }

  .ychv-history-viewer h2 {
    font-size: 28px;
    max-width: 560px;
  }

  .ychv-history-viewer .ychv-history-intro {
    margin-top: 13px;
    font-size: 14.5px;
    line-height: 1.62;
  }

  .ychv-history-viewer .ychv-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
  }

  .ychv-history-viewer .ychv-history-card {
    min-height: 236px;
    padding: 22px 14px 20px;
    border-radius: 17px;
  }

  .ychv-history-viewer .ychvHistory-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
  }

  .ychv-history-viewer .ychvHistory-i {
    font-size: 21px;
  }

  .ychv-history-viewer .ychv-history-card h3 {
    font-size: 16px;
    margin-bottom: 9px;
  }

  .ychv-history-viewer .ychv-history-card p {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .ychv-history-viewer .ychv-history-section {
    padding: 50px 0;
  }

  .ychv-history-viewer .ychv-history-container {
    padding: 0 12px;
  }

  .ychv-history-viewer h2 {
    font-size: 25px;
    max-width: 360px;
  }

  .ychv-history-viewer .ychv-history-intro {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .ychv-history-viewer .ychv-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-top: 26px;
  }

  .ychv-history-viewer .ychv-history-card {
    min-height: 226px;
    padding: 18px 10px 17px;
    border-radius: 15px;
  }

  .ychv-history-viewer .ychvHistory-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .ychv-history-viewer .ychvHistory-i {
    font-size: 19px;
  }

  .ychv-history-viewer .ychv-history-card h3 {
    font-size: 14.5px;
    margin-bottom: 8px;
  }

  .ychv-history-viewer .ychv-history-card p {
    font-size: 12.25px;
    line-height: 1.45;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .ychv-history-viewer .ychv-history-section {
    padding: 44px 0;
  }

  .ychv-history-viewer .ychv-history-container {
    padding: 0 10px;
  }

  .ychv-history-viewer h2 {
    font-size: 22px;
    max-width: 310px;
  }

  .ychv-history-viewer .ychv-history-intro {
    margin-top: 10px;
    font-size: 12.75px;
    line-height: 1.5;
  }

  .ychv-history-viewer .ychv-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
  }

  .ychv-history-viewer .ychv-history-card {
    min-height: 218px;
    padding: 16px 8px 15px;
    border-radius: 14px;
  }

  .ychv-history-viewer .ychvHistory-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }

  .ychv-history-viewer .ychvHistory-i {
    font-size: 17px;
  }

  .ychv-history-viewer .ychv-history-card h3 {
    font-size: 13.5px;
    margin-bottom: 7px;
  }

  .ychv-history-viewer .ychv-history-card p {
    font-size: 11.65px;
    line-height: 1.42;
  }
}

@media (max-width: 319px) {
  .ychv-history-viewer .ychv-history-section {
    padding: 40px 0;
  }

  .ychv-history-viewer .ychv-history-container {
    padding: 0 10px;
  }

  .ychv-history-viewer h2 {
    font-size: 21px;
  }

  .ychv-history-viewer .ychv-history-intro {
    margin-top: 10px;
    font-size: 12.5px;
  }

  .ychv-history-viewer .ychv-history-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .ychv-history-viewer .ychv-history-card {
    min-height: 210px;
    padding: 18px 12px;
  }

  .ychv-history-viewer .ychvHistory-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }

  .ychv-history-viewer .ychvHistory-i {
    font-size: 17px;
  }

  .ychv-history-viewer .ychv-history-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .ychv-history-viewer .ychv-history-card p {
    font-size: 12px;
  }
}