/* Eco Tourism page — woodland theme */
.tourism-page {
  --pine: #0f2e1d;
  --pine-mid: #1a4730;
  --fern: #3d7a55;
  --mist: #e8f0ea;
  --cream: #f7f4ec;
  --parchment: #efe9dc;
  --amber: #b8924a;
  --amber-soft: #d4b57a;
  --bark: #6e5338;
  background: var(--cream);
}

.tourism-page .page-hero-gov {
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
  padding: 5.5rem 0 3rem;
  background-size: cover;
  background-position: center;
}
.tourism-page .page-hero-gov::before {
  background: linear-gradient(105deg, rgba(15,46,29,.9) 0%, rgba(15,46,29,.5) 55%, rgba(15,46,29,.28) 100%);
}
.tourism-page .page-hero-gov .hero-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-soft);
  background: rgba(184,146,74,.18);
  border: 1px solid rgba(212,181,122,.4);
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}
.tourism-page .page-hero-gov h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: .65rem;
}
.tourism-page .page-hero-gov p {
  max-width: 34rem;
  opacity: .9;
  font-size: 1.05rem;
}

.tm-section { padding: 4.5rem 0; }
.tm-section.bg-white { background: #fff; }
.tm-section.bg-mist { background: var(--mist); }
.tm-section.bg-parchment { background: var(--parchment); }
.tm-section.bg-pine {
  background:
    linear-gradient(135deg, rgba(15,46,29,.92), rgba(26,71,48,.86)),
    url('https://images.unsplash.com/photo-1502082553048-f009c37129b9?auto=format&fit=crop&w=1600&q=70') center/cover;
  color: #fff;
}
.tm-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .5rem;
}
.tm-section.bg-pine .tm-label { color: var(--amber-soft); }
.tm-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--pine);
  margin: 0 0 1rem;
}
.tm-section.bg-pine .tm-heading { color: #fff; }
.tm-intro {
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}
.tm-section.bg-pine .tm-intro { color: rgba(255,255,255,.78); }
.tm-leaf {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--fern);
  margin-bottom: 1.5rem;
  opacity: .75;
}
.tm-leaf::before,
.tm-leaf::after {
  content: '';
  height: 1px;
  width: 40px;
  background: var(--fern);
  opacity: .5;
}

/* Featured magazine */
.tm-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
  min-height: 520px;
}
.tm-feat {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  min-height: 240px;
  box-shadow: 0 14px 40px rgba(15,46,29,.12);
  text-decoration: none;
  color: #fff;
  display: block;
}
.tm-feat.large {
  grid-row: span 2;
  min-height: 100%;
}
.tm-feat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tm-feat:hover img { transform: scale(1.06); }
.tm-feat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(15,46,29,.9));
}
.tm-feat .copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.6rem;
}
.tm-feat .copy .tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pine);
  background: var(--amber-soft);
  padding: .28rem .6rem;
  border-radius: 4px;
  margin-bottom: .55rem;
}
.tm-feat .copy h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  color: #fff;
  margin: 0 0 .4rem;
}
.tm-feat .copy p {
  margin: 0;
  font-size: .9rem;
  opacity: .88;
  max-width: 34ch;
}

/* Destination cards */
.tm-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.tm-dest {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15,46,29,.09);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tm-dest:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(15,46,29,.14);
}
.tm-dest .pic {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.tm-dest .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}
.tm-dest:hover .pic img { transform: scale(1.06); }
.tm-dest .loc {
  position: absolute;
  top: .85rem;
  left: .85rem;
  background: rgba(15,46,29,.85);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 6px;
}
.tm-dest .body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tm-dest h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--pine);
  margin: 0 0 .55rem;
}
.tm-dest p {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.65;
  flex: 1;
}
.tm-dest .tip {
  font-size: .8rem;
  background: var(--mist);
  border-left: 3px solid var(--amber);
  padding: .65rem .85rem;
  border-radius: 0 8px 8px 0;
  color: var(--pine-mid);
  margin: 0;
}

/* Activities */
.tm-acts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.tm-act {
  background: #fff;
  border-radius: 14px;
  padding: 1.35rem 1rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15,46,29,.07);
  transition: transform .25s, box-shadow .25s;
}
.tm-act:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15,46,29,.12);
}
.tm-act .ico {
  width: 52px;
  height: 52px;
  margin: 0 auto .85rem;
  border-radius: 14px;
  background: var(--mist);
  color: var(--fern);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  border: 1px solid rgba(61,122,85,.12);
}
.tm-act strong {
  display: block;
  font-size: .88rem;
  color: var(--pine);
  font-weight: 600;
}

/* Tips */
.tm-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tm-tip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  backdrop-filter: blur(6px);
  transition: background .25s;
}
.tm-tip:hover { background: rgba(255,255,255,.16); }
.tm-tip .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(184,146,74,.2);
  color: var(--amber-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tm-tip p {
  margin: 0;
  font-size: .92rem;
  color: rgba(255,255,255,.9);
  line-height: 1.55;
}

/* Mini gallery */
.tm-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tm-gallery a {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  box-shadow: 0 10px 28px rgba(15,46,29,.1);
}
.tm-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}
.tm-gallery a:hover img { transform: scale(1.06); }

/* CTA */
.tm-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .tm-featured { grid-template-columns: 1fr; min-height: 0; }
  .tm-feat.large { grid-row: auto; min-height: 320px; }
  .tm-dest-grid { grid-template-columns: 1fr; }
  .tm-acts { grid-template-columns: repeat(3, 1fr); }
  .tm-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .tm-acts { grid-template-columns: 1fr 1fr; }
  .tm-tips { grid-template-columns: 1fr; }
  .tm-gallery { grid-template-columns: 1fr; }
  .tourism-page .page-hero-gov { min-height: 44vh; }
}
