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

.trv-reddit-viewer-8c1,
.trv-reddit-viewer-8c1 * {
  box-sizing: border-box;
  min-width: 0;
}

.trv-reddit-viewer-8c1 {
  width: 100% !important;
  overflow: hidden;
  background: #ffffff;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
}

.trv-reddit-viewer-8c1 .trv-section {
  width: 100% !important;
}

.trv-reddit-viewer-8c1 .trv-section-white {
  background: #ffffff;
}

.trv-reddit-viewer-8c1 .trv-section-tint {
  background: linear-gradient(180deg, #fff7f4 0%, #f8fbfa 100%);
}

.trv-reddit-viewer-8c1 .trv-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.trv-reddit-viewer-8c1 .trv-heading,
.trv-reddit-viewer-8c1 .trv-intro,
.trv-reddit-viewer-8c1 .trv-card,
.trv-reddit-viewer-8c1 .trv-card h3,
.trv-reddit-viewer-8c1 .trv-card p,
.trv-reddit-viewer-8c1 .trv-icon {
  text-align: center !important;
}

.trv-reddit-viewer-8c1 .trv-heading {
  margin: 0 auto;
  color: #211716;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.trv-reddit-viewer-8c1 .trv-intro {
  margin: 14px auto 0;
  max-width: 780px;
  color: #5b504d;
  line-height: 1.65;
  font-weight: 400;
}

.trv-reddit-viewer-8c1 .trv-grid {
  display: grid !important;
  align-items: stretch !important;
}

.trv-reddit-viewer-8c1 .trv-card {
  height: 100% !important;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #ead8d1;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(117, 61, 41, 0.12);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
  position: relative;
  overflow: hidden;
}

.trv-reddit-viewer-8c1 .trv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 69, 0, 0.11), transparent 42%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.trv-reddit-viewer-8c1 .trv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 69, 0, 0.38);
  box-shadow: 0 26px 60px rgba(117, 61, 41, 0.18);
  background: #ffffff;
}

.trv-reddit-viewer-8c1 .trv-card:hover::before {
  opacity: 1;
}

.trv-reddit-viewer-8c1 .trv-icon {
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff4500 0%, #ff8a3d 52%, #10a37f 100%);
  box-shadow: 0 14px 30px rgba(255, 69, 0, 0.24);
  transition: transform 260ms ease, box-shadow 260ms ease;
  position: relative;
  z-index: 1;
}

.trv-reddit-viewer-8c1 .trv-card:hover .trv-icon {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 34px rgba(255, 69, 0, 0.3);
}

.trv-reddit-viewer-8c1 .trv-i {
  color: #ffffff;
  line-height: 1;
}

.trv-reddit-viewer-8c1 .trv-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #211716;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.trv-reddit-viewer-8c1 .trv-card p {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  color: #5b504d;
  line-height: 1.55;
}

.trv-reddit-viewer-8c1 .trv-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.trv-reddit-viewer-8c1 .trv-reveal.trv-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

@media (min-width: 1024px) {
  .trv-reddit-viewer-8c1 .trv-section {
    padding: 88px 0;
  }

  .trv-reddit-viewer-8c1 .trv-container {
    padding: 0 28px;
  }

  .trv-reddit-viewer-8c1 .trv-heading {
    font-size: 42px;
    max-width: 980px;
    white-space: nowrap;
  }

  .trv-reddit-viewer-8c1 .trv-intro {
    font-size: 17px;
  }

  .trv-reddit-viewer-8c1 .trv-grid {
    gap: 28px;
    margin-top: 42px;
  }

  .trv-reddit-viewer-8c1 .trv-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trv-reddit-viewer-8c1 .trv-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trv-reddit-viewer-8c1 .trv-card {
    min-height: 292px;
    padding: 34px 26px 30px;
  }

  .trv-reddit-viewer-8c1 .trv-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
  }

  .trv-reddit-viewer-8c1 .trv-i {
    font-size: 29px;
  }

  .trv-reddit-viewer-8c1 .trv-card h3 {
    font-size: 20px;
    margin-bottom: 13px;
  }

  .trv-reddit-viewer-8c1 .trv-card p {
    font-size: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .trv-reddit-viewer-8c1 .trv-section {
    padding: 72px 0;
  }

  .trv-reddit-viewer-8c1 .trv-container {
    padding: 0 24px;
  }

  .trv-reddit-viewer-8c1 .trv-heading {
    font-size: 34px;
    max-width: 760px;
  }

  .trv-reddit-viewer-8c1 .trv-intro {
    font-size: 16px;
  }

  .trv-reddit-viewer-8c1 .trv-grid,
  .trv-reddit-viewer-8c1 .trv-grid-3,
  .trv-reddit-viewer-8c1 .trv-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 36px;
  }

  .trv-reddit-viewer-8c1 .trv-card {
    min-height: 270px;
    padding: 30px 24px 26px;
  }

  .trv-reddit-viewer-8c1 .trv-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 21px;
  }

  .trv-reddit-viewer-8c1 .trv-i {
    font-size: 26px;
  }

  .trv-reddit-viewer-8c1 .trv-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .trv-reddit-viewer-8c1 .trv-card p {
    font-size: 14.5px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .trv-reddit-viewer-8c1 .trv-section {
    padding: 54px 0;
  }

  .trv-reddit-viewer-8c1 .trv-container {
    padding: 0 16px;
  }

  .trv-reddit-viewer-8c1 .trv-heading {
    font-size: 28px;
    max-width: 410px;
  }

  .trv-reddit-viewer-8c1 .trv-intro {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .trv-reddit-viewer-8c1 .trv-grid,
  .trv-reddit-viewer-8c1 .trv-grid-3,
  .trv-reddit-viewer-8c1 .trv-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
  }

  .trv-reddit-viewer-8c1 .trv-card {
    min-height: 232px;
    padding: 22px 14px 20px;
    border-radius: 18px;
  }

  .trv-reddit-viewer-8c1 .trv-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .trv-reddit-viewer-8c1 .trv-i {
    font-size: 22px;
  }

  .trv-reddit-viewer-8c1 .trv-card h3 {
    font-size: 16px;
    margin-bottom: 9px;
  }

  .trv-reddit-viewer-8c1 .trv-card p {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .trv-reddit-viewer-8c1 .trv-section {
    padding: 48px 0;
  }

  .trv-reddit-viewer-8c1 .trv-container {
    padding: 0 13px;
  }

  .trv-reddit-viewer-8c1 .trv-heading {
    font-size: 25px;
    max-width: 350px;
  }

  .trv-reddit-viewer-8c1 .trv-intro {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .trv-reddit-viewer-8c1 .trv-grid,
  .trv-reddit-viewer-8c1 .trv-grid-3,
  .trv-reddit-viewer-8c1 .trv-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .trv-reddit-viewer-8c1 .trv-card {
    min-height: 224px;
    padding: 20px 12px 18px;
    border-radius: 16px;
  }

  .trv-reddit-viewer-8c1 .trv-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 15px;
  }

  .trv-reddit-viewer-8c1 .trv-i {
    font-size: 20px;
  }

  .trv-reddit-viewer-8c1 .trv-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .trv-reddit-viewer-8c1 .trv-card p {
    font-size: 12.5px;
    line-height: 1.42;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .trv-reddit-viewer-8c1 .trv-section {
    padding: 42px 0;
  }

  .trv-reddit-viewer-8c1 .trv-container {
    padding: 0 10px;
  }

  .trv-reddit-viewer-8c1 .trv-heading {
    font-size: 22px;
    max-width: 300px;
  }

  .trv-reddit-viewer-8c1 .trv-intro {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .trv-reddit-viewer-8c1 .trv-grid,
  .trv-reddit-viewer-8c1 .trv-grid-3,
  .trv-reddit-viewer-8c1 .trv-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .trv-reddit-viewer-8c1 .trv-card {
    min-height: 214px;
    padding: 18px 9px 16px;
    border-radius: 15px;
  }

  .trv-reddit-viewer-8c1 .trv-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .trv-reddit-viewer-8c1 .trv-i {
    font-size: 18px;
  }

  .trv-reddit-viewer-8c1 .trv-card h3 {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .trv-reddit-viewer-8c1 .trv-card p {
    font-size: 12px;
    line-height: 1.38;
  }
}