/* ============================================================
   PHUKET360 — guides.css
   Page /guides/ : liste de toutes les catégories.
   Mobile-first.
   ============================================================ */

.guides-intro {
  background: var(--sable);
  padding: 40px 16px 32px;
  text-align: center;
}

.guides-intro h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ocean-deep);
  margin: 0 0 10px;
  line-height: 1.15;
}

.guides-intro p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

.guides-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.guides-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--ocean-deep);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  position: relative;
  transition: transform 0.2s ease;
}

.guides-card:hover {
  text-decoration: none;
}

.guides-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guides-card-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(transparent, rgba(0,0,0,0.68));
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.guides-card-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guides-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cat-color, #fff);
}

.guides-card {
  border-bottom: 4px solid var(--cat-color, var(--ocean-deep));
}

.guides-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.guides-card-badge {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

@media (min-width: 768px) {

  .guides-intro h1 {
    font-size: 2.6rem;
  }

  .guides-intro {
    padding: 56px 24px 40px;
  }

  .guides-main {
    padding: 40px 24px 80px;
  }

  .guides-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .guides-card {
    height: 220px;
  }

  .guides-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .guides-card-name {
    font-size: 1.15rem;
  }

}

@media (min-width: 1024px) {
  .guides-main {
    padding: 48px 32px 96px;
  }

  .guides-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .guides-card {
    min-height: 280px;
    height: 280px !important;
  }

  .guides-card-name {
    font-size: 1.25rem;
  }
}
