/* ========================= */
/* GLOBAL */
/* ========================= */
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  padding-bottom: 90px; /* space for bottom nav */
}

.page-title {
  font-family: 'The Seasons', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ========================= */
/* CATEGORY TABS (SINGLE LINE + CENTERED) */
/* ========================= */
.category-tabs {
  display: flex;
  justify-content: center;     /* ✅ CENTER */
  align-items: center;
  gap: 12px;

  overflow-x: auto;            /* ✅ still scrolls if needed */
  padding-bottom: 6px;
  padding-left: 16px;          /* ✅ balance edges on mobile */
  padding-right: 16px;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #555;
  flex-shrink: 0;              /* ✅ prevent shrinking */
}

.category-tab.active {
  background: #8fbf5b;
  color: #fff;
  border-color: #8fbf5b;
}

/* ========================= */
/* LIST STYLE (SAME FORMAT + IMAGE) */
/* ========================= */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;

  max-width: 920px;        /* ✅ FIX: prevent full-width stretch */
  margin: 0 auto;          /* ✅ center content */
  padding: 0 16px;         /* ✅ safe spacing */
}

.category-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 160px;           /* ✅ FIX: better list balance */
  object-fit: cover;
}

.category-card-content {
  padding: 14px;
}

.category-tag {
  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: 8px;
}

.category-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 15px;
  color: #666;
  margin-bottom: 10px;
}

.category-meta {
  font-size: 13px;
  color: #999;
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width: 768px) {
  .category-card img {
    height: 200px;        /* ✅ unchanged mobile look */
  }
}

/* ========================= */
/* 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;
}


/* ========================= */
/* cos of article */
/* ========================= */
.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.category-card:hover {
  text-decoration: none;
}