/* ========================= */
/* GLOBAL SETTINGS */
/* ========================= */
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
}

/* ========================= */
/* HEADER */
/* ========================= */
.site-title {
  font-weight: 600;
}

/* ========================= */
/* HERO SECTION */
/* ========================= */
.hero-section {
  margin-bottom: 40px;
}

.hero-section.main-wrapper {
  max-width: 1400px;
}

/* ========================= */
/* HERO CARD (CONTROLLED HEIGHT) */
/* ========================= */
.hero-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid #65b215;

  height: 340px; /* desktop / tablet */
}

/* ========================= */
/* HERO IMAGE (EXACT COVER FIX) */
/* ========================= */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 🔥 CRITICAL: anchor image like reference */
  object-position: center top;

  filter: blur(2px);
  transform: scale(1.08);
}

/* ========================= */
/* DARK OVERLAY */
/* ========================= */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.15)
  );
}

/* ========================= */
/* HERO CONTENT */
/* ========================= */
.hero-content {
  position: absolute;
  bottom: 22px; /* matches reference vertical balance */
  left: 24px;
  right: 24px;
  color: #ffffff;
}

/* ========================= */
/* FEATURED BADGE */
/* ========================= */
.featured-badge {
  display: inline-block;
  background: #65b215;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 23px;
  font-size: 13px;
  font-weight: 600;
}

/* ========================= */
/* HERO TITLE (LINE BREAK FIX) */
/* ========================= */
.hero-title {
  font-family: 'The Seasons', serif;
  font-size: 1.6rem;
  line-height: 1.25;
  margin-top: 12px;

  max-width: 88%; /* 🔥 forces same wrapping as reference */
}

/* ========================= */
/* HERO META */
/* ========================= */
.hero-meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 14px;
}

.meta-item {
  color: #65b215;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========================= */
/* MOBILE REFINEMENT (IPHONE MATCH) */
/* ========================= */
@media (max-width: 576px) {
  .hero-card {
    height: 300px; /* iPhone 14 Pro perfect height */
  }

  .hero-title {
    font-size: 1.45rem;
    max-width: 92%;
  }
}


/* ========================= */
/* SITE WIDTH (ADSENSE FIX) */
/* ========================= */
.main-wrapper {
  max-width: 1280px;     /* ✅ Media-site width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;    /* ✅ Reduce side gaps */
  padding-right: 16px;
}

/* Mobile: almost edge-to-edge */
@media (max-width: 576px) {
  .main-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }
}



/* ========================= */
/* SECTION TITLES */
/* ========================= */
.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ========================= */
/* GREEN TAG */
/* ========================= */
.tag-green {
  display: inline-block;
  background: #eaf6e3;
  color: #65b215;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* ========================= */
/* TRENDING STORIES */
/* ========================= */
.trending-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.trending-scroll::-webkit-scrollbar {
  display: none;
}

.trending-card {
  min-width: 240px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.trending-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.trending-card .card-body {
  padding: 12px;
}

.trending-card h6 {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.3;
}

/* ========================= */
/* EDITOR'S PICKS */
/* ========================= */
.editor-card {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 10px;
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.editor-card img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
}

.editor-content h6 {
  font-size: 14px;
  margin: 6px 0;
}

.editor-content small {
  color: #777;
}

/* ========================= */
/* DESKTOP ADJUSTMENT */
/* ========================= */
@media (min-width: 992px) {
  .trending-scroll {
    overflow-x: visible;
  }
}



/* ========================= */
/* FOUNDER STORIES */
/* ========================= */
.founder-stories {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 6px;

  /* ✅ HIDE SCROLLBAR (ALL BROWSERS) */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge */

  /* ✅ SMOOTH MOBILE SCROLL */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Chrome / Safari */
.founder-stories::-webkit-scrollbar {
  display: none;
}

.founder-card {
  min-width: 140px;
  text-align: center;
  flex-shrink: 0;
}

.founder-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #65b215;
  margin-bottom: 10px;
}

.founder-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.founder-company {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}

.founder-role {
  font-size: 12px;
  color: #65b215;
  font-weight: 500;
}

/* ========================= */
/* MOBILE: MAKE IT BIGGER */
/* ========================= */
@media (max-width: 576px) {

  .founder-card {
    min-width: 160px; /* ✅ bigger cards */
  }

  .founder-card img {
    width: 112px;     /* ✅ bigger image */
    height: 112px;
  }

  .founder-name {
    font-size: 15px;
  }

  .founder-company,
  .founder-role {
    font-size: 13px;
  }
}


/* ========================= */
/* PRODUCT INNOVATION */
/* ========================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}

.product-card h6 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 6px 0 0;
}

/* TAG */
.tag-green {
  display: inline-block;
  background: rgba(101,178,21,0.15);
  color: #65b215;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 4px;
}

/* ========================= */
/* MOBILE REFINEMENT */
/* ========================= */
@media (max-width: 576px) {

  .product-card img {
    height: 160px; /* ✅ bigger on small devices */
  }

  .product-card h6 {
    font-size: 15px;
  }
}

/* ========================= */
/* DESKTOP */
/* ========================= */
@media (min-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================= */
/* PAGE SAFE AREA (BOTTOM NAV FIX) */
/* ========================= */
.main-wrapper {
  padding-bottom: 80px; /* ✅ prevents overlap with bottom nav */
}

@media (max-width: 576px) {
  .main-wrapper {
    padding-bottom: 90px; /* ✅ extra breathing space on mobile */
  }
}




/* ========================= */
/* BOTTOM NAV */
/* ========================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  padding: 6px 0;
  z-index: 1000;
}

/* NAV ITEM */
.nav-item {
  background: none;
  border: none;
  text-align: center;
  font-size: 11px;
  color: #65b215;
  text-decoration: none; /* ✅ REMOVE UNDERLINE */
}

/* ICON */
.nav-item i {
  font-size: 18px;
  display: block;
}

/* ACTIVE STATE */
.nav-item.active {
  color: #65b215;
}

/* HOVER / FOCUS / ACTIVE FIX */
.nav-item:hover,
.nav-item:focus,
.nav-item:active {
  text-decoration: none; /* ✅ NO UNDERLINE EVER */
  color: inherit;
}

/* ========================= */
/* TAB CONTENT */
/* ========================= */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ========================= */
/* FILTER CHIPS */
/* ========================= */
.filter-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 13px;
}

.filter-chip.active {
  background: #65b215;
  color: #fff;
  border-color: #65b215;
}

