/* =====================================================================
   Travel Guides / Blog — Travel All Season
   Uses the site palette defined in home.css:
     --forest #1A3C34  --amber #D4883A  --teal #2A7D6F
     --cream #FAF7F2   --sand #C8BFB0   --text #1C1C1C
     --display (Cormorant)  --body (Inter)  --ui (DM Sans)
   Mobile-first; breakpoints add columns as the viewport grows.
   ===================================================================== */

.guides-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.1rem 4rem;
}

/* ---------- Search ---------- */
.guides-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  max-width: 640px;
  margin: 0 auto 1.6rem;
}
.guides-search input[type="text"] {
  flex: 1 1 220px;
  min-width: 0;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(26,60,52,0.18);
  border-radius: 40px;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.guides-search input[type="text"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,125,111,0.12);
}
.guides-search button {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: var(--forest);
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: 40px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.guides-search button:hover { background: var(--teal); transform: translateY(-1px); }
.guides-search__clear {
  font-family: var(--ui);
  font-size: 0.85rem;
  color: var(--forest);
  opacity: 0.65;
  text-decoration: none;
  white-space: nowrap;
}
.guides-search__clear:hover { opacity: 1; color: var(--amber); }

.guides-result {
  text-align: center;
  font-family: var(--body);
  font-size: 0.9rem;
  color: rgba(28,28,28,0.6);
  margin: 0 0 1.8rem;
}
.guides-result strong { color: var(--forest); }

/* ---------- Card grid ---------- */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 560px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .guides-grid { grid-template-columns: repeat(3, 1fr); }
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(26,60,52,0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(26,60,52,0.14);
  border-color: rgba(42,125,111,0.25);
}
.guide-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}
.guide-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.guide-card:hover .guide-card__img img { transform: scale(1.06); }
.guide-card__cat {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--forest);
  background: rgba(255,255,255,0.92);
  padding: 0.32rem 0.7rem;
  border-radius: 30px;
  backdrop-filter: blur(2px);
}
.guide-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.2rem 1.3rem;
}
.guide-card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--forest);
  margin: 0 0 0.5rem;
}
.guide-card__excerpt {
  font-family: var(--body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(28,28,28,0.68);
  margin: 0 0 1rem;
}
.guide-card__more {
  margin-top: auto;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--amber);
  transition: gap .2s;
}
.guide-card:hover .guide-card__more { color: var(--teal); }

/* ---------- Empty state ---------- */
.guides-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 460px;
  margin: 0 auto;
}
.guides-empty__icon { font-size: 2.6rem; margin-bottom: 0.6rem; }
.guides-empty h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--forest);
  margin: 0 0 0.5rem;
}
.guides-empty p {
  font-family: var(--body);
  color: rgba(28,28,28,0.65);
}
.guides-empty a { color: var(--teal); }

/* ---------- Pagination ---------- */
.guides-pagination { margin-top: 2.6rem; }
.guides-pagination .pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0; margin: 0;
}
.guides-pagination .pagination li a,
.guides-pagination .pagination li span {
  display: inline-block;
  font-family: var(--ui);
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(26,60,52,0.15);
  border-radius: 8px;
  color: var(--forest);
  text-decoration: none;
  background: #fff;
}
.guides-pagination .pagination li a:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.guides-pagination .pagination li.active span {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

/* =====================================================================
   Single article
   ===================================================================== */
.guide-hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4.5rem 1.1rem 3rem;
}
.guide-hero__inner { max-width: 820px; margin: 0 auto; }
.guide-hero__crumb {
  font-family: var(--ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
}
.guide-hero__crumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.guide-hero__crumb a:hover { color: #fff; text-decoration: underline; }
.guide-hero__crumb span:last-child { color: rgba(255,255,255,0.65); }
.guide-hero__cat {
  display: inline-block;
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--amber);
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}
.guide-hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 0.9rem;
}
.guide-hero__meta {
  font-family: var(--ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.guide-body-wrap { background: var(--cream); padding: 0 1.1rem; }
.guide-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.6rem 0 3rem;
}
.guide-lead {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--forest);
  margin: 0 0 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(26,60,52,0.12);
}
.guide-body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--forest);
  margin: 2.2rem 0 0.8rem;
}
.guide-body p {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(28,28,28,0.86);
  margin: 0 0 1.25rem;
}
.guide-body a { color: var(--teal); text-decoration: underline; }

/* CTA */
.guide-cta {
  margin-top: 2.8rem;
  padding: 1.8rem 1.6rem;
  background: var(--forest);
  border-radius: 18px;
  color: #fff;
  text-align: center;
}
.guide-cta h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
}
.guide-cta p {
  font-family: var(--body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  margin: 0 0 1.3rem;
}
.guide-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.guide-cta__btn {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 40px;
  background: #fff;
  color: var(--forest);
  transition: transform .15s, background .2s, color .2s;
}
.guide-cta__btn:hover { transform: translateY(-2px); }
.guide-cta__btn--wa { background: var(--amber); color: var(--forest); }
.guide-cta__btn--wa:hover { background: #e59a4d; }

/* Related */
.guide-related {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.1rem 4rem;
}
.guide-related__head { text-align: center; margin-bottom: 2rem; }
.guide-related .section-eyebrow {
  font-family: var(--ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.guide-related .section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--forest);
  margin: 0;
}
.guide-related .section-title em { font-style: italic; color: var(--amber); }
