@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');

.snap-post-viewer-wrap,
.snap-post-viewer-wrap * {
  box-sizing: border-box;
  min-width: 0;
}

.snap-post-viewer-wrap {
  width: 100% !important;
  overflow: hidden;
  background: #ffffff;
  color: #182022;
  font-family: inherit;
}

.snap-post-viewer-section {
  width: 100% !important;
}

.snap-post-viewer-section-white {
  background: #ffffff;
}

.snap-post-viewer-section-tint {
  background: linear-gradient(180deg, #f5fffb 0%, #eefbf7 100%);
}

.snap-post-viewer-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.snap-post-viewer-wrap h2,
.snap-post-viewer-wrap h3,
.snap-post-viewer-wrap p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.snap-post-viewer-wrap h2 {
  color: #132324;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  margin-top: 0;
}

.snap-post-viewer-wrap p {
  color: #556466;
  line-height: 1.65;
}

.snap-post-viewer-wrap .snap-post-viewer-container > p {
  max-width: 760px;
  margin-top: 0;
}

.snap-post-viewer-grid {
  display: grid;
  align-items: stretch;
  width: 100%;
}

.snap-post-viewer-card {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #cfe9e2;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(16, 76, 72, 0.09);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.snap-post-viewer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 212, 132, 0.13), transparent 46%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.snap-post-viewer-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: #00d484;
  box-shadow: 0 24px 58px rgba(0, 156, 119, 0.18);
  background: #ffffff;
}

.snap-post-viewer-card:hover::before {
  opacity: 1;
}

.spv-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  background: linear-gradient(135deg, #00d484 0%, #13b6ff 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 156, 119, 0.2);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.snap-post-viewer-card:hover .spv-icon {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(19, 182, 255, 0.24);
}

.spv-i {
  display: block;
  color: #ffffff;
  line-height: 1;
  text-align: center;
}

.snap-post-viewer-card h3 {
  position: relative;
  z-index: 1;
  color: #152728;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0;
}

.snap-post-viewer-card p {
  position: relative;
  z-index: 1;
  color: #5b696b;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .snap-post-viewer-section {
    padding: 88px 0;
  }

  .snap-post-viewer-container {
    padding: 0 24px;
  }

  .snap-post-viewer-wrap h2 {
    font-size: 42px;
    margin-bottom: 16px;
    white-space: nowrap;
  }

  .snap-post-viewer-wrap .snap-post-viewer-container > p {
    font-size: 17px;
    margin-bottom: 42px;
  }

  .snap-post-viewer-grid {
    gap: 24px;
  }

  .snap-post-viewer-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .snap-post-viewer-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .snap-post-viewer-card {
    min-height: 300px;
    padding: 34px 26px;
  }

  .spv-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
  }

  .spv-i {
    font-size: 30px;
  }

  .snap-post-viewer-card h3 {
    font-size: 21px;
    margin: 0 0 13px;
  }

  .snap-post-viewer-card p {
    font-size: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .snap-post-viewer-section {
    padding: 70px 0;
  }

  .snap-post-viewer-container {
    padding: 0 22px;
  }

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

  .snap-post-viewer-wrap .snap-post-viewer-container > p {
    font-size: 16px;
    margin-bottom: 34px;
  }

  .snap-post-viewer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .snap-post-viewer-card {
    min-height: 270px;
    padding: 30px 22px;
  }

  .spv-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 21px;
  }

  .spv-i {
    font-size: 27px;
  }

  .snap-post-viewer-card h3 {
    font-size: 20px;
    margin: 0 0 12px;
  }

  .snap-post-viewer-card p {
    font-size: 14.5px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .snap-post-viewer-section {
    padding: 52px 0;
  }

  .snap-post-viewer-container {
    padding: 0 16px;
  }

  .snap-post-viewer-wrap h2 {
    font-size: 27px;
    margin-bottom: 12px;
  }

  .snap-post-viewer-wrap .snap-post-viewer-container > p {
    font-size: 14px;
    margin-bottom: 24px;
  }

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

  .snap-post-viewer-card {
    min-height: 235px;
    padding: 22px 14px;
    border-radius: 18px;
  }

  .spv-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 15px;
  }

  .spv-i {
    font-size: 22px;
  }

  .snap-post-viewer-card h3 {
    font-size: 16px;
    margin: 0 0 9px;
  }

  .snap-post-viewer-card p {
    font-size: 12.8px;
    line-height: 1.55;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .snap-post-viewer-section {
    padding: 46px 0;
  }

  .snap-post-viewer-container {
    padding: 0 12px;
  }

  .snap-post-viewer-wrap h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .snap-post-viewer-wrap .snap-post-viewer-container > p {
    font-size: 13.4px;
    margin-bottom: 20px;
  }

  .snap-post-viewer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .snap-post-viewer-card {
    min-height: 225px;
    padding: 19px 11px;
    border-radius: 16px;
  }

  .spv-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .spv-i {
    font-size: 20px;
  }

  .snap-post-viewer-card h3 {
    font-size: 14.5px;
    margin: 0 0 8px;
  }

  .snap-post-viewer-card p {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .snap-post-viewer-section {
    padding: 40px 0;
  }

  .snap-post-viewer-container {
    padding: 0 10px;
  }

  .snap-post-viewer-wrap h2 {
    font-size: 22px;
    margin-bottom: 9px;
  }

  .snap-post-viewer-wrap .snap-post-viewer-container > p {
    font-size: 12.8px;
    margin-bottom: 18px;
  }

  .snap-post-viewer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .snap-post-viewer-card {
    min-height: 215px;
    padding: 17px 9px;
    border-radius: 14px;
  }

  .spv-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 13px;
  }

  .spv-i {
    font-size: 18px;
  }

  .snap-post-viewer-card h3 {
    font-size: 13.5px;
    margin: 0 0 7px;
  }

  .snap-post-viewer-card p {
    font-size: 11.5px;
    line-height: 1.45;
  }
}

@media (max-width: 319px) {
  .snap-post-viewer-section {
    padding: 36px 0;
  }

  .snap-post-viewer-container {
    padding: 0 10px;
  }

  .snap-post-viewer-wrap h2 {
    font-size: 21px;
    margin-bottom: 9px;
  }

  .snap-post-viewer-wrap .snap-post-viewer-container > p {
    font-size: 12.5px;
    margin-bottom: 18px;
  }

  .snap-post-viewer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .snap-post-viewer-card {
    min-height: 210px;
    padding: 18px 10px;
    border-radius: 14px;
  }

  .spv-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 13px;
  }

  .spv-i {
    font-size: 18px;
  }

  .snap-post-viewer-card h3 {
    font-size: 14px;
    margin: 0 0 7px;
  }

  .snap-post-viewer-card p {
    font-size: 11.8px;
    line-height: 1.45;
  }
}