/* ── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background: #f5f5f5; color: #2d2d2d; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: 'Montserrat', sans-serif; }

/* ── Variables ───────────────────────────────────────────────────────── */
:root {
  --dark:    #000119;
  --dark2:   #161922;
  --gold:    #e4a162;
  --gold-dk: #c4803a;
  --white:   #ffffff;
  --offwhite:#fcfcfc;
  --text:    #2d2d2d;
  --muted:   #a8a8a8;
  --muted2:  #626262;
  --radius:  10px;
  --shadow:  0 2px 18px rgba(0,0,0,0.12);
}

/* ── Header / Nav ────────────────────────────────────────────────────── */
.site-header { background: #000000; position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 10px rgba(0,0,0,.6); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 62px; }

.logo { display: flex; align-items: center; }
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: invert(1) brightness(1);
  opacity: .92;
  transition: opacity .2s;
}
.logo:hover .logo-img { opacity: 1; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: .4rem; color: #bababa; }

.main-nav { display: flex; gap: .15rem; align-items: center; }
.main-nav a { color: #bababa; font-size: .92rem; font-weight: 500; padding: .45rem .75rem; border-radius: 6px; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; padding: .25rem; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav   { display: none; position: absolute; top: 62px; left: 0; right: 0; background: #000; flex-direction: column; padding: 1rem 1.5rem; gap: .2rem; border-top: 1px solid #222; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem 1rem; font-size: 1rem; }
}

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(320px, 55vw, 560px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  overflow: hidden;
  padding-top: clamp(1.5rem, 7%, 4rem);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/static/hero.jpg') center center / cover no-repeat;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,10,.25) 0%, rgba(0,0,10,.10) 50%, rgba(0,0,10,.35) 100%);
}
/* Wavy lake effect */
.hero-bg::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200'%3E%3Cpath fill='rgba(0,0,25,0.35)' d='M0,100 C240,160 480,40 720,100 C960,160 1200,40 1440,100 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom/cover no-repeat;
}
.hero-overlay {
  position: relative; z-index: 1;
  width: 100%;
  text-align: center; padding: 0 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .85rem;
}
.hero-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.5));
}
.hl-create { color: #111111; }
.hl-dot    { color: #111111; }
.hl-buzz   { color: #111111; }
.hero-tagline {
  margin-top: -.5rem;
  color: #ffffff;
  font-size: clamp(.85rem, 2.5vw, 1.1rem);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── Weather Badge (bottom of hero) ─────────────────────────────────── */
.weather-badge {
  margin-top: 1.25rem;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 50px;
  padding: .6rem 1.5rem;
  display: inline-flex; align-items: center; gap: 1rem;
  color: #111111;
  font-size: .88rem;
  flex-wrap: wrap; justify-content: center;
}
.wb-wind { display: flex; align-items: center; gap: .4rem; }
.wb-wind .wb-val { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.05rem; color: #111111; }
.wb-item { display: flex; flex-direction: column; align-items: center; gap: .05rem; }
.wb-item span:first-child { font-weight: 600; }
.wb-lbl  { font-size: .72rem; opacity: .65; text-transform: uppercase; letter-spacing: .06em; }
.wb-icon { font-size: 1.2rem; }
.wb-divider { width: 1px; height: 28px; background: rgba(0,0,0,.15); }

/* ── Photo Strip ─────────────────────────────────────────────────────── */
.strip-section { background: var(--dark2); padding: 1.5rem 0; }
.strip-header  { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem .75rem; display: flex; align-items: center; justify-content: space-between; }
.strip-header h2 { color: var(--white); font-size: 1.1rem; }
.strip-more    { color: var(--gold); font-size: .88rem; font-weight: 600; }
.strip-more:hover { color: var(--gold-dk); }

.photo-strip {
  display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 1.5rem 1rem;
  scrollbar-width: thin; scrollbar-color: var(--gold) var(--dark2);
  -webkit-overflow-scrolling: touch;
}
.photo-strip::-webkit-scrollbar { height: 5px; }
.photo-strip::-webkit-scrollbar-track { background: var(--dark2); }
.photo-strip::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

.strip-thumb {
  flex: 0 0 auto;
  width: 180px; height: 180px;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
  background: #111;
}
.strip-thumb:hover { transform: scale(1.04); opacity: .9; }
.strip-thumb img   { width: 100%; height: 100%; object-fit: contain; background: #111; }
.strip-more-tile   {
  display: flex; align-items: center; justify-content: center;
  background: rgba(228,161,98,.15);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem; text-align: center;
  cursor: pointer;
}
.strip-more-tile:hover { background: rgba(228,161,98,.28); }

@media (max-width: 600px) {
  .strip-thumb { width: 140px; height: 140px; }
}

/* ── Home Sections ───────────────────────────────────────────────────── */
.home-section { padding: 3rem 0; }
.dark-section  { background: var(--dark); }
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section p { color: rgba(255,255,255,.75); }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-inner > h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 1.75rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gold); display: inline-block; }

/* ── Event Tiles ─────────────────────────────────────────────────────── */
.event-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-bottom: 1.75rem; }
.event-tile {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(228,161,98,.25);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.event-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.et-date {
  background: var(--gold); color: var(--dark);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .82rem; padding: .4rem .9rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.et-body  { padding: .9rem 1rem; }
.et-body h3 { font-size: 1rem; margin-bottom: .3rem; color: var(--white); }
.et-venue, .et-time { font-size: .83rem; color: var(--muted); margin-bottom: .15rem; }
.et-desc  { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .4rem; }
.muted-light { color: rgba(255,255,255,.45); font-style: italic; }

/* ── Adventure Strip ─────────────────────────────────────────────────── */
.adv-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-bottom: 1.75rem; }
.adv-tile  { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s; }
.adv-tile:hover { transform: translateY(-3px); }
.adv-img   { height: 180px; overflow: hidden; }
.adv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.adv-tile:hover .adv-img img { transform: scale(1.05); }
.adv-img-placeholder { height: 180px; background: #e8f0f5; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.adv-body  { padding: 1rem 1.1rem; }
.adv-body h3 { font-size: 1rem; margin-bottom: .25rem; color: var(--dark); }
.adv-body p  { font-size: .87rem; color: var(--muted2); }
.adv-empty { text-align: center; padding: 2.5rem; color: var(--muted2); }

/* ── Visitor CTA ─────────────────────────────────────────────────────── */
.visitor-cta { background: var(--gold); color: var(--dark); text-align: center; padding: 2.5rem 1rem; }
.visitor-cta h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.visitor-cta p  { margin-bottom: 1.25rem; opacity: .85; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-block; padding: .65rem 1.4rem; background: #1a6fa0; color: var(--white); border-radius: 8px; font-weight: 600; font-size: .9rem; border: none; cursor: pointer; transition: background .2s, transform .1s; font-family: 'Montserrat', sans-serif; }
.btn:hover { background: #0d4d73; transform: translateY(-1px); }
.btn-gold  { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-dk); color: var(--white); }
.btn-sm    { padding: .4rem .9rem; font-size: .8rem; }
.btn-full  { width: 100%; text-align: center; }
.btn-green  { background: #27ae60; color: var(--white); }
.btn-red    { background: #c0392b; color: var(--white); }
.btn-accent { background: var(--gold); color: var(--dark); }
.btn-accent:hover { background: var(--gold-dk); color: var(--white); }
.center-btn { text-align: center; }

/* ── Flash Messages ──────────────────────────────────────────────────── */
.flash-container { max-width: 1200px; margin: .75rem auto 0; padding: 0 1.5rem; }
.flash { padding: .75rem 1rem; border-radius: 8px; margin-bottom: .5rem; font-weight: 600; }
.flash-success { background: #d5f5e3; color: #1e8449; }
.flash-error   { background: #fde8e8; color: #a93226; }

/* ── Page Header ─────────────────────────────────────────────────────── */
.page-header { background: var(--dark); border-bottom: 3px solid var(--gold); color: var(--white); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.page-header h1 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
.page-header p  { color: rgba(255,255,255,.7); font-size: .95rem; }
.page-header .btn { margin-top: .5rem; }

/* ── Container ───────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.container.narrow { max-width: 620px; }

/* ── Photo Grid (Instagram style) ───────────────────────────────────── */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px; }
@media (min-width: 600px) { .photo-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.photo-thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; cursor: pointer; background: #dde8f0; transition: transform .2s, opacity .2s; }
.photo-thumb:hover { transform: scale(1.03); opacity: .9; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Lightbox ────────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.lightbox.hidden { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.92); }
.lb-content  { position: relative; z-index: 1; max-width: 92vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.lb-content img { max-width: 90vw; max-height: 75vh; border-radius: 8px; object-fit: contain; }
#lb-caption  { color: rgba(255,255,255,.8); font-size: .9rem; text-align: center; }
.lb-close    { position: absolute; top: -2.5rem; right: 0; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; line-height: 1; }

/* ── Event Cards (music page) ───────────────────────────────────────── */
.event-cards { display: flex; flex-direction: column; gap: 1rem; }
.event-card  { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; overflow: hidden; }
.event-card-date { background: var(--dark); color: var(--gold); padding: 1rem; min-width: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem; }
.event-card-body { padding: 1rem 1.25rem; }
.event-card-body h3 { margin-bottom: .25rem; color: var(--dark); }
.event-venue { color: var(--muted2); font-size: .85rem; }

/* ── Fish Report Bar ─────────────────────────────────────────────────── */
.fish-report-bar { background: #fff8ee; border-left: 4px solid var(--gold); padding: .75rem 1rem; border-radius: 0 8px 8px 0; margin-bottom: 1.25rem; font-size: .9rem; }

/* ── Forms ───────────────────────────────────────────────────────────── */
.upload-form { display: flex; flex-direction: column; gap: 1.25rem; background: var(--white); padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group  { display: flex; flex-direction: column; gap: .4rem; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .88rem; color: var(--dark); }
input[type=text], input[type=date], input[type=password], select, textarea {
  padding: .65rem .9rem; border: 1.5px solid #ddd; border-radius: 8px;
  font-size: .95rem; font-family: inherit; background: #fafafa; transition: border .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }

/* ── Drop Zone ───────────────────────────────────────────────────────── */
.drop-zone { border: 2px dashed #ccc; border-radius: var(--radius); padding: 2rem 1rem; text-align: center; cursor: pointer; position: relative; transition: border .2s, background .2s; background: #fafafa; }
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--gold); background: #fff8ee; }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop-label span { font-size: 2.5rem; }
.drop-label p { margin-top: .5rem; font-weight: 600; }
#previewWrap img { max-width: 100%; border-radius: 8px; margin-top: 1rem; }
.preview-multi { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 1rem; }
.preview-multi img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; }

/* ── Admin Grid ──────────────────────────────────────────────────────── */
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.admin-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem 1.25rem; text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s; border: 2px solid transparent; display: block; }
.admin-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.13); border-color: var(--gold); }
.admin-card-alert { border-color: #e05c2a; }
.admin-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.admin-card h3 { color: var(--dark); margin-bottom: .25rem; }

/* ── Moderate Grid ───────────────────────────────────────────────────── */
.moderate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.moderate-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.moderate-card img { width: 100%; height: 200px; object-fit: cover; }
.moderate-info { padding: 1rem; }
.moderate-actions { display: flex; gap: .5rem; margin-top: .75rem; }

/* ── Admin Table ─────────────────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 1rem; }
.admin-table th { background: var(--dark); color: var(--gold); padding: .65rem .85rem; text-align: left; }
.admin-table td { padding: .65rem .85rem; border-bottom: 1px solid #e8e8e8; }
.admin-table tr:hover td { background: #fff8ee; }

/* ── Misc ────────────────────────────────────────────────────────────── */
.muted { color: var(--muted2); font-size: .88rem; }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); font-size: 1.05rem; }
.visitor-info { background: #fff8ee; border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; font-size: .95rem; }
.center-page  { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; }
.center-page h2 { margin-bottom: 1.5rem; }
.report-date { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.adventure-list { display: flex; flex-direction: column; gap: 1.5rem; }
.adventure-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 200px 1fr; }
.adventure-img img { width: 100%; height: 100%; object-fit: cover; }
.adventure-body { padding: 1.25rem; }
@media (max-width: 600px) { .adventure-card { grid-template-columns: 1fr; } }


/* ── Weather Bar Strip (below hero) ─────────────────────────────────── */
.weather-bar-strip {
  background: var(--dark);
  border-bottom: 2px solid var(--gold);
  padding: .4rem 1rem;
  display: flex; align-items: center; justify-content: center;
  gap: .6rem; flex-wrap: wrap;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  line-height: 1.4;
}
.weather-bar-strip .wi { white-space: nowrap; }
.weather-bar-strip .wi strong { color: var(--gold); }
.weather-bar-strip .wi em { opacity: .7; font-style: normal; }
.weather-bar-strip .wd { color: rgba(255,255,255,.25); font-size: .7rem; }

@media (max-width: 768px) {
  .hero-tagline { margin-top: -.3rem; }
}


/* ── Live Radar Section ──────────────────────────────────────────────── */
.radar-link { color: var(--gold); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.radar-link:hover { color: var(--gold-dk); }

/* ── Radar page — mobile-first full-screen ───────────────────────────── */
.radar-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 62px);   /* full viewport minus sticky nav */
}
.radar-strip {
  background: var(--dark);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  flex-shrink: 0;
}
.radar-frame {
  flex: 1;
  overflow: hidden;
}
.radar-frame iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Crew CTA Bar ────────────────────────────────────────────────────── */
.crew-cta-bar {
  background: var(--dark2);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: .55rem 1.25rem;
}
.crew-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.crew-cta-text {
  display: flex; flex-direction: column; gap: .1rem;
  flex: 1;
}
.crew-cta-top {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.crew-cta-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: .95rem;
  color: var(--white); letter-spacing: -.01em;
}
.crew-cta-sub {
  font-size: .78rem; color: rgba(255,255,255,.55);
}
.crew-cta-logo {
  height: 32px; width: auto;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .85;
  flex-shrink: 0;
}
@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0);   opacity: 1; }
  50%       { transform: translateY(-7px); opacity: .5; }
}
.crew-arrow {
  font-size: 1.8rem; line-height: 1;
  color: var(--gold);
  animation: arrow-bounce .8s ease-in-out infinite;
  display: inline-block;
}
@keyframes crew-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228,161,98,.6); }
  50%       { box-shadow: 0 0 0 10px rgba(228,161,98,0); }
}
.crew-cta-btn {
  display: inline-block;
  background: var(--gold); color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .8rem;
  padding: .35rem 1rem; border-radius: 20px;
  white-space: nowrap; transition: background .2s;
  flex-shrink: 0;
  animation: crew-pulse 2s ease-in-out infinite;
}
.crew-cta-btn:hover {
  background: var(--gold-dk); color: var(--white);
  animation: none;
}
@media(max-width: 640px) {
  .crew-cta-bar { padding: .5rem .75rem; }
  .crew-cta-logo { display: none; }
  .crew-cta-headline { font-size: .88rem; }
}

/* ── Photo Album Section ─────────────────────────────────────────────── */
.album-section { background: #f5f5f5; padding-bottom: 1.5rem; }

.album-header {
  max-width: 1200px; margin: 0 auto;
  padding: 1.25rem 1rem .75rem;
  display: flex; align-items: center; justify-content: space-between;
}
.album-header h2 { font-size: 1.1rem; color: var(--dark); }

.upload-btn {
  background: var(--gold); color: var(--dark);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .82rem; padding: .4rem .9rem;
  border-radius: 20px; white-space: nowrap;
  transition: background .2s;
}
.upload-btn:hover { background: var(--gold-dk); color: var(--white); }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
@media (min-width: 600px) {
  .insta-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
}
@media (min-width: 900px) {
  .insta-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; }
}

.insta-thumb {
  display: block; aspect-ratio: 1;
  overflow: hidden; position: relative;
  background: #111; cursor: pointer;
}
.insta-thumb img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .3s;
}
.insta-thumb:hover img { transform: scale(1.04); }

.insta-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-size: .7rem; padding: .5rem .4rem .3rem;
  opacity: 0; transition: opacity .2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.insta-thumb:hover .insta-caption { opacity: 1; }

.album-empty {
  text-align: center; padding: 3rem 1rem;
  color: var(--muted2);
}


.ticket-btn {
  display: inline-block; margin-top: .5rem;
  background: var(--gold); color: var(--dark);
  font-size: .75rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: 20px;
  transition: background .2s;
}
.ticket-btn:hover { background: var(--gold-dk); color: var(--white); }

/* ── Events Page ─────────────────────────────────────────────────────── */
.ev-filters {
  max-width: 1200px; margin: 1.25rem auto .5rem;
  padding: 0 1rem;
  display: flex; gap: .75rem; flex-wrap: wrap; align-items: center;
}
.ev-search {
  flex: 1; min-width: 180px; max-width: 320px;
  padding: .5rem .9rem; border: 1.5px solid #ddd;
  border-radius: 20px; font-size: .9rem; font-family: inherit;
}
.ev-search:focus { outline: none; border-color: var(--gold); }
.ev-filter-btns { display: flex; gap: .4rem; flex-wrap: wrap; }
.ev-filter {
  padding: .35rem .85rem; border-radius: 20px;
  border: 1.5px solid #ddd; background: #fff;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.ev-filter.active, .ev-filter:hover {
  background: var(--dark); color: var(--gold); border-color: var(--dark);
}

/* ── Event list (single row per show) ───────────────────────────────── */
.ev-list {
  max-width: 900px; margin: 0 auto 2rem; padding: 0 1rem;
}
.ev-line {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  align-items: center;
  gap: .35rem .75rem;
  padding: .4rem .5rem;
  border-bottom: 1px solid #eee;
  font-size: .86rem;
  transition: background .15s;
}
.ev-line:first-child { border-top: 1px solid #eee; }
.ev-line:hover { background: #fff8ee; }
.evl-date  { color: var(--muted2); font-size: .78rem; white-space: nowrap; }
.evl-title { font-weight: 700; color: var(--dark); }
.evl-venue { color: var(--muted2); font-size: .8rem; white-space: nowrap; }
.state-badge {
  display: inline-block; background: var(--dark); color: var(--gold);
  font-size: .68rem; font-weight: 700; padding: .1rem .4rem;
  border-radius: 4px; letter-spacing: .04em; vertical-align: middle;
}
.evl-buy {
  display: inline-block; background: var(--gold); color: var(--dark);
  font-weight: 700; font-size: .75rem; padding: .25rem .7rem;
  border-radius: 20px; white-space: nowrap; transition: background .2s;
}
.evl-buy:hover { background: var(--gold-dk); color: var(--white); }
.evl-buy-empty { display: inline-block; width: 58px; }
@media (max-width: 600px) {
  .ev-line {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .evl-date  { grid-column: 1; grid-row: 2; font-size: .75rem; }
  .evl-title { grid-column: 1; grid-row: 1; }
  .evl-venue { display: none; }
  .evl-buy   { grid-column: 2; grid-row: 1 / span 2; }
  .evl-buy-empty { display: none; }
}


/* ── Venue Management ────────────────────────────────────────────────── */
.venue-list { display: flex; flex-direction: column; gap: .6rem; margin-top: .75rem; }
.venue-row {
  background: #fff; border-radius: 8px; box-shadow: 0 1px 6px rgba(0,0,0,.07);
  padding: .85rem 1rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.venue-info { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.venue-url  { font-size: .75rem; color: var(--muted2); word-break: break-all; }
.venue-url:hover { color: var(--gold-dk); }
.ev-cat-tag {
  display: inline-block; background: #e8f0f5; color: var(--muted2);
  font-size: .72rem; font-weight: 600; padding: .1rem .45rem;
  border-radius: 4px; letter-spacing: .03em;
}


/* ── Instagram bar above radar ───────────────────────────────────────── */
.radar-ig-bar {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: .6rem 1.5rem;
}
.radar-ig-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
}
.radar-ig-logo {
  height: 28px; width: auto;
  filter: invert(1) brightness(1);
  opacity: .85; flex-shrink: 0;
}
.radar-ig-link {
  font-size: .85rem; color: rgba(255,255,255,.65);
  transition: color .2s;
}
.radar-ig-link strong { color: var(--gold); }
.radar-ig-link:hover  { color: var(--white); }
@media(max-width:480px) {
  .radar-ig-logo { height: 22px; }
  .radar-ig-link { font-size: .78rem; }
}

/* ── IG Preview Photo Strip ──────────────────────────────────────────── */
.ig-preview-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  background: #000;
  max-width: 1200px;
  margin: 0 auto;
}
.ig-preview-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}
.ig-preview-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s, opacity .3s;
}
.ig-preview-thumb:hover img {
  transform: scale(1.06);
  opacity: .85;
}
@media(max-width: 480px) {
  .ig-preview-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ── Homepage Radar Embed ────────────────────────────────────────────── */
.home-radar-wrap {
  background: var(--dark);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 1.5rem;
}
.home-radar-inner {
  max-width: 1200px; margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.home-radar-strip {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem 1rem;
  font-size: .8rem; color: rgba(255,255,255,.75);
  background: var(--dark2);
}
.home-radar-frame {
  height: clamp(280px, 45vw, 500px);
  position: relative;
}
.home-radar-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.radar-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
  cursor: pointer;
  transition: opacity .3s;
}
.radar-overlay span {
  background: rgba(0,0,0,.65);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .9rem;
  padding: .6rem 1.4rem; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
}
.radar-overlay.hidden { display: none; }

/* ── Fishing Reports ─────────────────────────────────────────────────── */
.fish-reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.fish-report-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.frc-header {
  background: var(--dark); color: var(--white);
  padding: 1rem 1.25rem;
  border-bottom: 3px solid var(--gold);
}
.frc-header h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.frc-meta { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.frc-date { font-size: .75rem; opacity: .65; }
.frc-badge {
  background: rgba(228,161,98,.2); color: var(--gold);
  font-size: .75rem; font-weight: 600;
  padding: .15rem .55rem; border-radius: 10px;
}
.frc-body { padding: 1rem 1.25rem; flex: 1; font-size: .88rem; line-height: 1.65; color: var(--muted2); }
.frc-footer {
  padding: .75rem 1.25rem;
  border-top: 1px solid #eee;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem;
}
.frc-source { color: var(--muted); }
.frc-link   { color: var(--gold); font-weight: 600; }
.frc-link:hover { color: var(--gold-dk); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); text-align: center; padding: 2.5rem 1rem; margin-top: 0; }
.site-footer p { margin-bottom: .3rem; font-size: .88rem; }
.footer-about { font-size: .82rem; color: rgba(255,255,255,.5); max-width: 540px; margin: .75rem auto 0; line-height: 1.65; }
.footer-small { font-size: .78rem; opacity: .55; margin-top: .75rem; }
.site-footer a { color: var(--gold); }

/* ── Moon Phases Bar ─────────────────────────────────────────────────── */
.moon-phases-bar {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}
.moon-title {
  color: var(--gold);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.moon-phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.moon-phase-card {
  text-align: center;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  padding: .85rem .5rem;
}
.moon-icon  { font-size: 2rem; line-height: 1; margin-bottom: .4rem; }
.moon-name  { color: var(--white); font-size: .8rem; font-weight: 700; margin-bottom: .2rem; }
.moon-date  { color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: .15rem; }
.moon-range { color: rgba(255,255,255,.5); font-size: .72rem; }
@media(max-width:600px){
  .moon-phases-grid { grid-template-columns: repeat(2,1fr); }
  .moon-icon { font-size: 1.6rem; }
}

/* ── AI Fishing Summary ───────────────────────────────────────────────── */
.ai-fish-summary {
  background: linear-gradient(135deg, #0a1628 0%, #001830 100%);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}
.ai-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.ai-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ai-updated {
  color: rgba(255,255,255,.4);
  font-size: .75rem;
}
.ai-summary-body p {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
}
.ai-top3 { margin-top: 1.25rem; border-top: 1px solid rgba(228,161,98,.25); padding-top: 1rem; }
.ai-top3 h4 { color: var(--gold); font-size: .9rem; margin-bottom: .65rem; }
.top3-list {
  color: rgba(255,255,255,.8);
  font-family: inherit;
  font-size: .88rem;
  line-height: 1.9;
  white-space: pre-wrap;
  margin: 0;
  background: transparent;
}

/* ── Fishing Teaser (homepage) ───────────────────────────────────────── */
.fish-teaser-section { background: #f0f4f8; }
.fish-teaser-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.fish-teaser-body { flex: 1; min-width: 220px; }
.fish-teaser-body p { font-size: .92rem; line-height: 1.75; color: var(--muted2); margin: 0 0 .5rem; }
.fish-teaser-date   { font-size: .75rem !important; }
.fish-teaser-cta    { display: flex; align-items: center; }
@media(max-width:600px){ .fish-teaser-card { flex-direction: column; } }

/* ── Manage Photos ───────────────────────────────────────────────────── */
.pm-tabs { display: flex; gap: .6rem; margin-bottom: .25rem; }
.pm-tab {
  padding: .45rem 1.1rem; border-radius: 20px; font-size: .85rem; font-weight: 600;
  border: 2px solid #ddd; color: var(--muted2); transition: all .2s;
}
.pm-tab.active, .pm-tab:hover {
  background: var(--dark); color: var(--gold); border-color: var(--dark);
}
.pm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .6rem;
}
.pm-item {
  position: relative; cursor: grab; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
  aspect-ratio: 1;
}
.pm-item:active { cursor: grabbing; }
.pm-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: .65rem; padding: .2rem .35rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pm-del-form { position: absolute; top: 4px; right: 4px; margin: 0; }
.pm-del {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(200,0,0,.82); color: #fff; border: none;
  font-size: 1rem; line-height: 1; cursor: pointer; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pm-del:hover { background: #c00; }
.pm-ghost { opacity: .4; }
@media(max-width:480px) {
  .pm-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

/* ── Instagram CTA ───────────────────────────────────────────────────── */
.ig-cta-section {
  background: var(--dark2);
  border-top: 2px solid rgba(255,255,255,.07);
  padding: 1.75rem 1.5rem;
}
.ig-cta-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.ig-logo {
  width: 110px; height: auto;
  filter: invert(1) brightness(1);
  flex-shrink: 0;
}
.ig-cta-body {
  flex: 1; min-width: 180px;
  display: flex; flex-direction: column; gap: .35rem;
}
.ig-handle {
  display: flex; align-items: center; gap: .5rem;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.1rem;
}
.ig-icon {
  width: 22px; height: 22px; color: var(--white); flex-shrink: 0;
}
.ig-cta-text {
  color: rgba(255,255,255,.55); font-size: .85rem; margin: 0;
}
.ig-follow-btn {
  display: inline-block; flex-shrink: 0;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .88rem;
  padding: .6rem 1.4rem; border-radius: 8px;
  white-space: nowrap;
  transition: opacity .2s, transform .1s;
  box-shadow: 0 2px 12px rgba(220,39,67,.35);
}
.ig-follow-btn:hover { opacity: .88; transform: translateY(-1px); }
@media(max-width: 560px) {
  .ig-cta-inner { gap: 1rem; }
  .ig-logo { width: 80px; }
  .ig-handle { font-size: .95rem; }
  .ig-follow-btn { width: 100%; text-align: center; }
}

/* ── Small-phone tweaks (≤ 400px) ───────────────────────────────────── */
@media(max-width:400px) {
  /* Hide pipe dividers in weather bar when items wrap */
  .weather-bar-strip .wd { display: none; }
  /* Fishing report cards: ensure they don't overflow */
  .fish-reports-grid { grid-template-columns: 1fr; }
  /* Events filters: make search full-width */
  .ev-search { max-width: 100%; width: 100%; }
  /* Page header font */
  .page-header h1 { font-size: 1.3rem; }
}

/* ── Solunar Feeding Table ───────────────────────────────────────────── */
.solunar-card {
  background: linear-gradient(135deg, #0d1f0a 0%, #0a1a08 100%);
  border-radius: var(--radius);
  border-left: 4px solid #4caf50;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}
.solunar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}
.solunar-header-left {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.solunar-label {
  color: #4caf50;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.solunar-date {
  color: rgba(255,255,255,.5);
  font-size: .78rem;
}
.solunar-phase-block {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  padding: .4rem .9rem;
}
.solunar-phase-icon { font-size: 1.5rem; line-height: 1; }
.solunar-phase-name { color: var(--white); font-size: .88rem; font-weight: 600; }

.solunar-rating-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.solunar-rating-label {
  color: rgba(255,255,255,.65);
  font-size: .82rem;
}
.solunar-rating-badge {
  font-size: .78rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.solunar-rating-excellent { background: #4caf50; color: #fff; }
.solunar-rating-good      { background: #8bc34a; color: #111; }
.solunar-rating-average   { background: #ffa726; color: #111; }
.solunar-rating-slow      { background: #607d8b; color: #fff; }
.solunar-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .05em;
}

.solunar-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}
.solunar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.solunar-table thead tr {
  background: rgba(255,255,255,.08);
}
.solunar-table th {
  text-align: left;
  padding: .6rem .9rem;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.solunar-table tbody tr {
  border-top: 1px solid rgba(255,255,255,.06);
  transition: background .15s;
}
.solunar-table tbody tr:hover { background: rgba(255,255,255,.04); }
.sol-now { background: rgba(76,175,80,.12) !important; }
.sol-past { opacity: .5; }
.solunar-table td {
  padding: .65rem .9rem;
  color: rgba(255,255,255,.85);
  vertical-align: middle;
  white-space: nowrap;
}
.sol-type-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sol-major { background: #4caf50; color: #fff; }
.sol-minor { background: rgba(76,175,80,.25); color: #4caf50; }
.sol-period-name { font-weight: 600; }
.sol-time { color: var(--gold); font-weight: 700; }
.sol-dur  { color: rgba(255,255,255,.45); font-size: .8rem; }
.sol-status { font-size: .78rem; font-weight: 700; }
.sol-status-now  { color: #4caf50; }
.sol-status-past { color: rgba(255,255,255,.35); font-weight: 400; }
.sol-status-up   { color: rgba(255,255,255,.65); }

.solunar-legend {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  line-height: 1.5;
  border-top: 1px solid rgba(76,175,80,.2);
  padding-top: .85rem;
  margin-top: .25rem;
}
@media(max-width:600px) {
  .solunar-header { flex-direction: column; align-items: flex-start; }
  .solunar-table th:nth-child(4),
  .solunar-table td:nth-child(4) { display: none; }
}

/* ── Trails & Hiking Page ────────────────────────────────────────────── */
.trail-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  background: var(--dark);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.trail-filter-group {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.trail-filter-label {
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-right: .15rem;
}
.trail-filter-btn {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  transition: all .15s;
}
.trail-filter-btn:hover { background: rgba(255,255,255,.08); color: var(--white); }
.trail-filter-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 700; }

.trail-count {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  margin-bottom: 1.25rem;
}
.trail-clear { color: var(--gold); text-decoration: none; }
.trail-clear:hover { text-decoration: underline; }

.trail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.trail-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  border-top: 3px solid transparent;
  transition: border-color .2s, transform .15s;
}
.trail-card:hover { border-top-color: var(--gold); transform: translateY(-2px); }

.trail-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
}
.trail-card-title-wrap { flex: 1; }
.trail-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 .2rem;
  line-height: 1.3;
}
.trail-area {
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.trail-state-flag {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 4px;
  letter-spacing: .05em;
  flex-shrink: 0;
}

.trail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.trail-diff {
  font-size: .72rem;
  font-weight: 700;
  padding: .22rem .6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.trail-diff-easy     { background: #4caf50; color: #fff; }
.trail-diff-moderate { background: #ffa726; color: #111; }
.trail-diff-hard     { background: #ef5350; color: #fff; }
.trail-stat {
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  font-weight: 600;
}

.trail-desc {
  color: rgba(255,255,255,.75);
  font-size: .86rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.trail-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.trail-tag {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  padding: .18rem .55rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
}

.trail-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: .25rem;
}
.btn-trail-at {
  background: #2d6a2d;
  color: #fff;
  font-size: .78rem;
  padding: .4rem .85rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background .15s;
}
.btn-trail-at:hover { background: #3a8a3a; }
.btn-trail-park {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  padding: .4rem .85rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .15s;
}
.btn-trail-park:hover { background: rgba(255,255,255,.12); color: var(--white); }

.trail-footer-note {
  text-align: center;
  padding: 1.5rem;
  color: rgba(255,255,255,.3);
  font-size: .78rem;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 1rem;
}

/* Admin trails table tweaks */
.row-inactive { opacity: .45; }
.btn-active   { background: rgba(76,175,80,.2); color: #4caf50; border: 1px solid #4caf50; }
.btn-inactive { background: rgba(255,255,255,.06); color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.15); }

@media(max-width:600px) {
  .trail-grid { grid-template-columns: 1fr; }
  .trail-filter-bar { gap: .75rem; }
}
