/* ------------------------------------------------------------------
   GeoJoy — place and event detail pages
   Brand: navy #0C2A50, teal #1EBCA3, coral #F76C4F
   ------------------------------------------------------------------ */

.dt-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background: #0C2A50;
  overflow: hidden;
  isolation: isolate;
}
.dt-hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.dt-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,42,80,.15) 0%, rgba(12,42,80,.55) 55%, rgba(12,42,80,.92) 100%);
}
.dt-hero .wrap { width: 100%; padding-top: 120px; padding-bottom: 44px; color: #fff; }

.dt-crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; margin-bottom: 1rem; }
.dt-crumbs a { color: #8ff0e4; text-decoration: none; }
.dt-crumbs a:hover { text-decoration: underline; }
.dt-crumbs span { color: rgba(255,255,255,.55); }

.dt-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #0C2A50; background: #8ff0e4;
  padding: .35rem .75rem; border-radius: 999px; margin-bottom: .9rem;
}
.dt-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; margin: 0 0 .9rem; color: #fff; }

.dt-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .98rem; color: rgba(255,255,255,.88); }
.dt-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.dt-meta svg { width: 18px; height: 18px; flex: 0 0 auto; }
.dt-meta .dt-star { color: #FFC857; }

.dt-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; align-items: center; }
.dt-save {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08);
  color: #fff; font: inherit; font-weight: 600;
}
.dt-save svg { width: 18px; height: 18px; }
.dt-save.on { background: #fff; color: #F76C4F; border-color: #fff; }
.dt-save.on svg { fill: #F76C4F; }
/* The shared save handler only toggles .on, so the label follows it here. */
.dt-save .t-on { display: none; }
.dt-save.on .t-on { display: inline; }
.dt-save.on .t-off { display: none; }

/* ---------------------------------------------------------- body */

.dt-body { padding: 56px 0 80px; background: #F6FAFE; }
.dt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .dt-grid { grid-template-columns: 1fr; } }

.dt-card {
  background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: 0 12px 34px -18px rgba(12,42,80,.28);
  margin-bottom: 24px;
}
.dt-card h2 { font-size: 1.3rem; margin: 0 0 1rem; color: #0C2A50; }
.dt-card p { color: #3E4C66; line-height: 1.75; margin: 0 0 .9rem; }
.dt-card p:last-child { margin-bottom: 0; }

.dt-side { position: sticky; top: 110px; }

.dt-info { list-style: none; padding: 0; margin: 0; }
.dt-info li { display: flex; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid #E8EEF6; color: #3E4C66; font-size: .95rem; line-height: 1.5; }
.dt-info li:last-child { border-bottom: 0; }
.dt-info svg { width: 20px; height: 20px; flex: 0 0 auto; color: #1EBCA3; margin-top: 1px; }
.dt-info a { color: #406BB8; text-decoration: none; word-break: break-word; }
.dt-info a:hover { text-decoration: underline; }

.dt-side .btn { width: 100%; justify-content: center; margin-top: 1.1rem; }
.dt-btn-outline {
  display: flex; justify-content: center; align-items: center; gap: .5rem;
  width: 100%; margin-top: .7rem; padding: .85rem 1rem; border-radius: 999px;
  border: 1.5px solid #D5DFEC; color: #0C2A50; font-weight: 600; text-decoration: none;
}
.dt-btn-outline:hover { border-color: #0C2A50; }

.dt-hours { list-style: none; padding: 0; margin: 0; }
.dt-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .93rem; color: #3E4C66; border-bottom: 1px dashed #E8EEF6; }
.dt-hours li:last-child { border-bottom: 0; }
.dt-hours li.today { font-weight: 700; color: #0C2A50; }

.dt-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.dt-chips span { font-size: .82rem; padding: .4rem .8rem; border-radius: 999px; background: #EFF5FC; color: #0C2A50; }

.dt-map { height: 300px; border-radius: 16px; overflow: hidden; margin-top: .4rem; }
.dt-map .leaflet-container { z-index: 1 !important; }

/* related cards */
.dt-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.dt-mini { display: block; background: #F6FAFE; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s; }
.dt-mini:hover { transform: translateY(-2px); }
.dt-mini img { width: 100%; height: 130px; object-fit: cover; display: block; }
.dt-mini div { padding: 12px 14px; }
.dt-mini b { display: block; color: #0C2A50; font-size: .95rem; line-height: 1.35; margin-bottom: .3rem; }
.dt-mini small { color: #5A6880; font-size: .82rem; }

/* ------------------------------------------------------ paywall */

.dt-locked { position: relative; }
.dt-locked .dt-blur { filter: blur(6px); pointer-events: none; user-select: none; }
.dt-gate {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 5;
}
.dt-gate-card {
  background: #fff; border-radius: 22px; max-width: 460px; width: 100%;
  padding: 2.4rem; text-align: center;
  box-shadow: 0 30px 60px -20px rgba(12,42,80,.45);
}
.dt-gate-card .dt-tag { background: #FFE2DB; color: #F76C4F; }
.dt-gate-card h3 { font-size: 1.5rem; color: #0C2A50; margin: 0 0 .6rem; }
.dt-gate-card p { color: #5A6880; line-height: 1.6; margin: 0 0 1.4rem; }
.dt-gate-card .btn { display: flex; justify-content: center; width: 100%; }
.dt-gate-card .dt-plans { font-size: .85rem; color: #406BB8; margin-top: .9rem; }
.dt-gate-card .dt-signin { display: inline-block; margin-top: .9rem; font-size: .9rem; color: #406BB8; }
