/* MASSIVE HOMEPAGE OVERHAUL */

:root {
  --hr-primary: #ff7a00;
  --hr-primary-glow: rgba(255, 122, 0, 0.4);
  --hr-secondary: #fff;
  --hr-text: #1a1a1a;
  --hr-text-muted: #6b7280;
  --hr-bg: #fafafa;
  --hr-card-bg: #ffffff;
  --hr-border: #eef1f6;
  --hr-radius-sm: 12px;
  --hr-radius-md: 20px;
  --hr-radius-lg: 32px;
  --tc-font: "DM Sans", sans-serif;
  --tc-font-head: "DM sans", serif;
}

body {
  background-color: var(--hr-bg);
  font-family: var(--tc-font);
}

.hr-hero,
.hr-content,
.hr-bottom-banner,
.hr-stats-container {
  font-family: var(--tc-font);
}

.hr-hero-title,
.hr-hero-title span,
h1,
h2,
h3,
h4 {
  font-family: var(--tc-font-head) !important;
}

p,
span,
div,
a {
  font-family: var(--tc-font);
}

/* HERO SECTION */
.hr-hero {
  position: relative;
  width: 100%;
  /* min-height: 90vh; */
  padding: 140px 0 66px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255, 122, 0, 0.04) 0%, transparent 40%);
  overflow: hidden;
  /* display: flex; */
  align-items: flex-end;
}

/* Add custom blobs */
.hr-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.05), transparent 60%);
  z-index: 0;
}

.hr-hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.1), transparent 60%);
  z-index: 0;
}

.hr-hero-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 50px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* gap: 20px; */
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.hr-hero-left {
  max-width: 540px;
}

@media (min-width: 1025px) {
  .hr-hero-left {
    padding-left: 32px;
  }
}

.hr-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--hr-text);
  margin-bottom: 24px;
}

.hr-hero-title span {
  color: var(--hr-primary);
}

.hr-hero-sub {
  font-size: 1.15rem;
  color: var(--hr-text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
}

.hr-hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hr-btn-primary {
  background: var(--hr-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px var(--hr-primary-glow);
  border: none;
  text-decoration: none;
}

.hr-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--hr-primary-glow);
  color: white;
}

.hr-btn-secondary {
  background: white;
  color: var(--hr-text);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--hr-border);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.hr-btn-secondary:hover {
  border-color: #ddd;
  background: #fdfdfd;
  color: var(--hr-text);
}

/* Top online badge */
.hr-hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 8px 16px 8px 8px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--hr-text);
}

.hr-top-badge-avatars {
  display: flex;
}

.hr-top-badge-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
  object-fit: cover;
}

.hr-top-badge-avatars img:first-child {
  margin-left: 0;
}

.hr-top-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

/* HERO RIGHT (Mockup Art) */
.hr-hero-right {
  position: relative;
  height: 600px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.hr-phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: white;
  border-radius: 46px;
  border: 14px solid #ea580c;
  box-shadow:
    4px 4px 0px #f97316,
    8px 8px 0px #ea580c,
    12px 12px 0px #c2410c,
    16px 16px 0px #9a3412,
    18px 18px 0px #7c2d12,
    40px 50px 70px rgba(0, 0, 0, 0.3);
  transform: perspective(1200px) rotateY(-20deg) rotateX(10deg);
  overflow: hidden;
  z-index: 10;
  margin-left: -40px;
}

.hr-phone-screen {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hr-phone-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hr-float-card {
  position: absolute;
  background: white;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hr-float-card.fc-1 {
  top: 10%;
  right: 36%;
  animation-delay: 0s;
}

.hr-float-card.fc-2 {
  bottom: 10%;
  left: -25%;
  animation-delay: 2s;
}

.hr-float-card.fc-3 {
  top: 35%;
  left: -20%;
  animation-delay: 4s;
}

.hr-float-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.hr-float-text h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hr-text);
}

.hr-float-text p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--hr-text-muted);
}

/* STATS ROW */
.hr-hero-custom-img {
  width: 135%;
  max-width: 900px;
  transform: translate(-30px, 40px);
  z-index: 10;
  position: relative;
  pointer-events: none;
}

.hr-stats-container {
  max-width: 1560px;
  margin: -60px auto 80px;
  position: relative;
  z-index: 30;
  padding: 0 50px;
}

.hr-stats-box {
  background: white;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
  gap: 20px;
}

.hr-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hr-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.s-1 {
  background: #eff6ff;
  color: #3b82f6;
}

.s-2 {
  background: #ecfdf5;
  color: #10b981;
}

.s-3 {
  background: #f5f3ff;
  color: #8b5cf6;
}

.s-4 {
  background: #fffbeb;
  color: #f59e0b;
}

.s-5 {
  background: #fdf2f8;
  color: #ec4899;
}

.hr-stat-text h4 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hr-text);
}

.hr-stat-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--hr-text-muted);
  font-weight: 500;
}

/* SECTION HEADER */
.hr-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.hr-section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--hr-text);
  margin: 0;
}

.hr-view-all {
  color: var(--hr-text-muted);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hr-view-all:hover {
  color: var(--hr-primary);
}

/* CONTENT CONTAINER */
.hr-content {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 50px 80px;
}

/* STORIES & HASHTAGS ROW */
.hr-split-row {
  display: grid;
  grid-template-columns: 3.5fr 1fr;
  gap: 30px;
  margin-bottom: 80px;
}

/* STORIES GRID */
.hr-stories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hr-story {
  position: relative;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.hr-story img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hr-story:hover img.bg {
  transform: scale(1.05);
}

.hr-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
}

.hr-story-author {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hr-story-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.hr-story-author span {
  font-size: 0.8rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hr-story-meta h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hr-story-meta p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* TRENDING HASHTAGS */
.hr-hashtags {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.hr-hashtags-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
}

.hr-hash-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--hr-border);
  text-decoration: none;
  color: var(--hr-text);
}

.hr-hash-item:last-child {
  border-bottom: none;
}

.hr-hash-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.hr-hash-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hr-text-muted);
  font-size: 0.9rem;
}

.hr-hash-stats i {
  color: #10b981;
}

.hr-hash-item:hover .hr-hash-name {
  color: var(--hr-primary);
}

/* POSTS (Replaces Explore Communities) */
.hr-posts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.hr-post-card {
  position: relative;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
}

.hr-post-card img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.hr-post-card:hover img.bg {
  transform: scale(1.05);
}

.hr-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 60%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.hr-post-overlay h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hr-post-overlay-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hr-post-overlay-meta {
  font-size: 0.8rem;
  opacity: 0.9;
}

.hr-post-avatars {
  display: flex;
}

.hr-post-avatars img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #222;
  margin-left: -8px;
}

.hr-post-avatars img:first-child {
  margin-left: 0;
}

/* MAP EXPLORE SECTION */
.hr-map-section {
  background: #fffcf8;
  border-radius: 32px;
  padding: 60px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hr-map-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hr-map-left {
  position: relative;
}

.hr-map-left h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hr-map-left p {
  color: var(--hr-text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.hr-map-graphic {
  position: relative;
  width: 100%;
  height: 350px;
  background-image: url("/assets/images/map.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff8f2;
  border-radius: 20px;
}

.hr-map-pin {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgb(243, 128, 6);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hr-map-pin.p-1 {
  top: 30%;
  left: 20%;
  animation: pinBlink 2s infinite;
}

.hr-map-pin.p-2 {
  top: 65%;
  left: 35%;
  width: 44px;
  height: 44px;
  animation: pinBlink 2.5s infinite;
}

.hr-map-pin.p-3 {
  top: 40%;
  left: 60%;
  animation: pinBlink 2.2s infinite;
}

.hr-map-pin.p-4 {
  top: 75%;
  left: 70%;
  width: 65px !important;
  height: 65px !important;
  animation: pinBlink 1.8s infinite;
}

.hr-map-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--hr-primary);
  border: 3px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.4);
}

.hr-map-dot.d-1 {
  top: 50%;
  left: 45%;
}

.hr-map-dot.d-2 {
  top: 25%;
  left: 80%;
}

@keyframes pinBlink {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 128, 6, 0.8), 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(243, 128, 6, 0), 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 128, 6, 0), 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
  }
}

.hr-btn-map {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--hr-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.4);
}

.hr-btn-map:hover {
  color: white;
  transform: translateY(-2px);
}

/* Map right sidebar replacing communities list with destinations */
.hr-dest-list {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.hr-dest-list-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
}

.hr-dest-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hr-border);
}

.hr-dest-item:last-child {
  border-bottom: none;
}

.hr-dest-item img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

.hr-dest-info h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hr-text);
}

.hr-dest-info p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--hr-text-muted);
}

.hr-btn-outline {
  margin-left: auto;
  border: 1px solid var(--hr-primary);
  background: rgba(255, 122, 0, 0.05);
  color: var(--hr-primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.2s;
}

.hr-btn-outline:hover {
  background: var(--hr-primary);
  color: white;
}

/* CREATORS SECTION */
.hr-creators-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.hr-creator-card {
  background: white;
  border-radius: 24px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--hr-border);
  text-decoration: none;
  transition: transform 0.3s;
}

.hr-creator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.hr-creator-ava {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hr-creator-card h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hr-text);
}

.hr-creator-card p {
  margin: 4px 0 16px;
  font-size: 0.85rem;
  color: var(--hr-text-muted);
}

.hr-creator-btn {
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  color: var(--hr-primary);
  transition: 0.2s;
}

.hr-creator-card:hover .hr-creator-btn {
  background: var(--hr-primary);
  color: white;
  border-color: var(--hr-primary);
}

/* WHY JOIN SECTION */
.hr-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.hr-why-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--hr-border);
}

.hr-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.hr-why-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hr-text);
}

.hr-why-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--hr-text-muted);
  line-height: 1.5;
}

/* BOTTOM BANNER */
.hr-bottom-banner {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.5), rgba(250, 143, 66, 0.4)),
    url('/assets/images/about.png');
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.hr-banner-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1517521021465-94f7943d0dc5?w=800&q=80');
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.hr-bottom-banner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 12px;
  position: relative;
  z-index: 2;
}

.hr-bottom-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .hr-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hr-hero-left {
    margin: 0 auto;
  }

  .hr-hero-buttons {
    justify-content: center;
  }

  .hr-hero-right {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    height: 400px;
    overflow: hidden;
  }

  .hr-hero-custom-img {
    width: 100%;
    max-width: 450px;
    transform: none;
  }

  .hr-float-card {
    display: none !important;
  }

  .hr-split-row,
  .hr-map-split {
    grid-template-columns: 1fr;
  }

  .hr-stories-grid,
  .hr-posts-grid,
  .hr-creators-grid,
  .hr-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hr-bottom-banner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 768px) {

  /* Prevent content sections from blowing out to screen edges on mobile */
  .hr-content {
    padding: 0 20px 40px !important;
  }

  /* Eliminate the giant gap in hero section */
  .hr-hero {
    padding: 100px 0 20px !important;
  }

  .hr-hero-title {
    font-size: 2.2rem !important;
  }

  .hr-hero-sub {
    font-size: 1rem !important;
    margin-bottom: 24px !important;
  }

  .hr-hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hr-btn-primary,
  .hr-btn-secondary {
    padding: 12px 24px !important;
    font-size: 0.95rem !important;
  }

  /* Prevent section headers from squashing small buttons */
  .hr-section-header {
    align-items: center;
  }

  .hr-section-header h2 {
    font-size: 1.4rem !important;
  }

  /* Convert grids to singular horizontal scrolling */
  .hr-stories-grid,
  .hr-posts-grid,
  .hr-creators-grid,
  .hr-why-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .hr-story,
  .hr-post-card,
  .hr-creator-card,
  .hr-why-card {
    /* Show exactly one card */
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin-bottom: 0px;
  }

  /* Fix overflowing map bounds due to padding */
  .hr-map-section {
    padding: 30px 20px !important;
  }

  /* Prevent stats container from overlapping the phone graphic on mobile */
  .hr-stats-container {
    margin: 10px auto 40px !important;
    padding: 0 15px !important;
  }

  .hr-hero-right {
    height: auto !important;
    margin-bottom: 20px !important;
  }

  /* Optional tweaking for stats box */
  .hr-stats-box {
    flex-direction: column;
    align-items: flex-start;
  }
}