/* Shared attraction cards (home + listing + detail) */
.attr-card {
  background: #fff;
  border: 1px solid #e6efe9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 71, 49, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.attr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(26, 71, 49, 0.12);
}
.attr-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.attr-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.attr-card:hover .attr-card-media img { transform: scale(1.05); }
.attr-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f5ee, #d4ebe0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d6a4f;
  font-size: 2rem;
}
.attr-card-cat {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(255,255,255,.92);
  color: #1a4731;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.attr-card-body { padding: 1rem 1.05rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
.attr-card-dist {
  font-size: 0.75rem;
  color: #c9a227;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}
.attr-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}
.attr-card-title a { color: #1a4731; text-decoration: none; }
.attr-card-title a:hover { color: #2d9a4e; }
.attr-card-desc {
  font-size: 0.84rem;
  color: #5a6e5c;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  flex: 1;
}
.attr-card-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e7a3c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.attr-card-cta:hover { color: #c9a227; }

.attr-listing { padding-top: 1.5rem; padding-bottom: 3rem; }
.attr-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.attr-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 16rem;
  max-width: 28rem;
  background: #fff;
  border: 1px solid #e4efe8;
  border-radius: 12px;
  padding: 0.35rem 0.5rem 0.35rem 0.75rem;
}
.attr-search i { color: #7a9180; }
.attr-search input {
  border: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  outline: none;
}
.attr-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.attr-cat {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #dceee4;
  color: #3d5246;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.attr-cat:hover,
.attr-cat.is-on {
  background: #1a4731;
  border-color: #1a4731;
  color: #fff;
}
.attr-count { margin-bottom: 1rem; }
.attr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.attr-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991.98px) {
  .attr-grid, .attr-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .attr-grid, .attr-grid--compact { grid-template-columns: 1fr; }
}
.attr-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #5a6e5c;
}
.attr-empty i { font-size: 2rem; color: #2d9a4e; display: block; margin-bottom: 0.5rem; }
.attr-more-wrap { text-align: center; margin-top: 2rem; }

.attr-detail-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  background: #163c2a;
  overflow: hidden;
}
.attr-detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: attrHeroKen 18s ease-out forwards;
  transform: scale(1.06);
}
@keyframes attrHeroKen {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.12) translate(-0.8%, -0.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .attr-detail-hero-img { animation: none; transform: scale(1.02); }
}
.attr-detail-hero--plain { min-height: 200px; }
.attr-detail-hero-overlay {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, rgba(12,36,26,.15) 0%, rgba(12,36,26,.82) 100%);
  color: #fff;
}
.attr-detail-hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0.35rem 0 0;
}
.attr-back {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.attr-back:hover { color: #fff; }
.attr-detail-cat {
  display: inline-block;
  margin-top: 0.75rem;
  background: rgba(255,255,255,.15);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.attr-detail-dist { margin: 0.5rem 0 0; opacity: 0.9; font-size: 0.9rem; }
.attr-detail-body { padding: 2.5rem 0 3.5rem; }
.attr-prose h2,
.attr-highlights h2,
.attr-gallery h2,
.attr-related h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #1a4731;
  margin-bottom: 0.75rem;
}
.attr-prose p { line-height: 1.7; color: #3d5246; }
.attr-prose ul, .attr-prose ol { margin: 0 0 1rem 1.1rem; color: #3d5246; }
.attr-prose li { margin-bottom: 0.3rem; }
.attr-prose a { color: #1a4731; }
.attr-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.attr-highlights li {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: #3d5246;
}
.attr-highlights i { color: #2d9a4e; flex-shrink: 0; margin-top: 0.15rem; }
.attr-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.attr-gallery-item {
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.attr-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) {
  .attr-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.attr-side-card {
  background: #f4faf6;
  border: 1px solid #e4efe8;
  border-radius: 16px;
  padding: 1.25rem;
}
.attr-side-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #1a4731;
  margin-bottom: 0.75rem;
}
.attr-map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4efe8;
  aspect-ratio: 4/3;
}
.attr-map-frame iframe { width: 100%; height: 100%; border: 0; }
.attr-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e8f2ec; }

.attr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(10, 28, 20, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.attr-lightbox:not([hidden]) { display: flex; }
.attr-lightbox img { max-width: min(960px, 100%); max-height: 85vh; border-radius: 12px; }
.attr-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

[data-reveal-card] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal-card].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .attr-card,
  [data-reveal-card] { transition: none; }
  .attr-card:hover { transform: none; }
}
