@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-wrap,
.ychv-history-viewer-wrap * {
  box-sizing: border-box;
  min-width: 0;
}

.ychv-history-viewer-wrap {
  width: 100% !important;
  overflow: hidden;
  background: #ffffff;
  color: #18202a;
  font-family: inherit;
}

.ychv-history-viewer-wrap .ychv-section {
  width: 100% !important;
}

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

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

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

.ychv-history-viewer-wrap h2,
.ychv-history-viewer-wrap h3,
.ychv-history-viewer-wrap p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.ychv-history-viewer-wrap h2 {
  color: #111820;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  max-width: 980px;
}

.ychv-history-viewer-wrap .ychv-intro {
  color: #53606d;
  line-height: 1.7;
  max-width: 760px;
}

.ychv-history-viewer-wrap .ychv-grid {
  display: grid !important;
  align-items: stretch !important;
}

.ychv-history-viewer-wrap .ychv-card {
  position: relative;
  height: 100% !important;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .94)) padding-box,
    linear-gradient(135deg, rgba(255, 0, 0, .22), rgba(0, 150, 136, .18)) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(33, 43, 54, .08);
  overflow: hidden;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease, background-position .32s ease;
}

.ychv-history-viewer-wrap .ychv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 0, 0, .08), transparent 42%);
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
}

.ychv-history-viewer-wrap .ychv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(186, 24, 27, .14), 0 10px 28px rgba(0, 150, 136, .10);
  border-color: rgba(255, 0, 0, .26);
}

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

.ychv-history-viewer-wrap .ychv-icon {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff0033 0%, #ff7a45 48%, #009688 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(255, 0, 51, .22);
  transition: transform .32s ease, box-shadow .32s ease;
}

.ychv-history-viewer-wrap .ychv-card:hover .ychv-icon {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 36px rgba(255, 0, 51, .28);
}

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

.ychv-history-viewer-wrap h3 {
  color: #17202a;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.ychv-history-viewer-wrap .ychv-card p {
  color: #5b6673;
  line-height: 1.62;
}

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

.ychv-history-viewer-wrap.ychv-js .ychv-reveal.ychv-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease, box-shadow .32s ease, border-color .32s ease;
}

@media (min-width: 1024px) {
  .ychv-history-viewer-wrap .ychv-section {
    padding: 86px 24px;
  }

  .ychv-history-viewer-wrap h2 {
    font-size: 40px;
    margin-bottom: 16px;
    white-space: nowrap;
  }

  .ychv-history-viewer-wrap .ychv-intro {
    font-size: 17px;
    margin-bottom: 38px;
  }

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

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

  .ychv-history-viewer-wrap .ychv-card {
    min-height: 292px;
    padding: 34px 28px 30px;
  }

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

  .ychv-history-viewer-wrap .ychv-i {
    font-size: 27px;
  }

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

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

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

  .ychv-history-viewer-wrap h2 {
    font-size: 34px;
    margin-bottom: 14px;
  }

  .ychv-history-viewer-wrap .ychv-intro {
    font-size: 16px;
    margin-bottom: 32px;
  }

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

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

  .ychv-history-viewer-wrap .ychv-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 21px;
    border-radius: 16px;
  }

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

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

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

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

  .ychv-history-viewer-wrap h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .ychv-history-viewer-wrap .ychv-intro {
    font-size: 14.5px;
    margin-bottom: 24px;
    line-height: 1.6;
  }

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

  .ychv-history-viewer-wrap .ychv-card {
    min-height: 224px;
    padding: 22px 14px 18px;
    border-radius: 17px;
  }

  .ychv-history-viewer-wrap .ychv-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 14px;
  }

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

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

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

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

  .ychv-history-viewer-wrap h2 {
    font-size: 25px;
    margin-bottom: 11px;
  }

  .ychv-history-viewer-wrap .ychv-intro {
    font-size: 13.8px;
    margin-bottom: 22px;
    line-height: 1.56;
  }

  .ychv-history-viewer-wrap .ychv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ychv-history-viewer-wrap .ychv-card {
    min-height: 218px;
    padding: 20px 12px 17px;
    border-radius: 16px;
  }

  .ychv-history-viewer-wrap .ychv-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 13px;
  }

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

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

  .ychv-history-viewer-wrap .ychv-card p {
    font-size: 12.4px;
    line-height: 1.46;
  }
}

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

  .ychv-history-viewer-wrap h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .ychv-history-viewer-wrap .ychv-intro {
    font-size: 12.8px;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .ychv-history-viewer-wrap .ychv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ychv-history-viewer-wrap .ychv-card {
    min-height: 212px;
    padding: 18px 10px 15px;
    border-radius: 14px;
  }

  .ychv-history-viewer-wrap .ychv-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

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

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

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

@media (max-width: 319px) {
  .ychv-history-viewer-wrap .ychv-section {
    padding: 38px 10px;
  }

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

  .ychv-history-viewer-wrap .ychv-card {
    min-height: 210px;
  }
}