/* ============================================================
   Place of Interest detail page  -  place.php
   Built on the tokens in mp-site.css. Nothing here is inline.
   ============================================================ */

/* ---- hero ---------------------------------------------------- */
.pd-hero{min-height:420px}
.pd-hero .wrap{padding-bottom:96px}
/* .crumb is inline-flex, so the badge has to break its own line */
.pd-eyebrow{display:block;width:-moz-fit-content;width:fit-content;margin:4px auto 16px;
  font-size:.72rem;font-weight:800;letter-spacing:.18em;
  text-transform:uppercase;color:var(--gold-l);background:rgba(0,0,0,.26);
  border:1px solid rgba(243,210,126,.45);padding:7px 16px;border-radius:50px}

/* ---- quick facts: a card that lifts out of the hero ---------- */
.pd-facts{background:var(--cream);padding:0 22px 8px}
.pd-facts .inn{max-width:var(--maxw);margin:-62px auto 0;position:relative;z-index:5;
  background:#fff;border:1px solid var(--line);border-radius:18px;
  box-shadow:0 18px 44px rgba(86,13,18,.16);overflow:hidden;
  display:grid;grid-template-columns:repeat(4,1fr)}
.pd-fact{display:flex;align-items:center;gap:14px;padding:22px 24px;
  border-right:1px solid var(--line);position:relative}
.pd-fact:last-child{border-right:0}
.pd-fact::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,var(--gold-l),var(--gold-d));opacity:0;transition:opacity .25s}
.pd-fact:hover::before{opacity:1}
.pd-fact .ic{width:44px;height:44px;flex:0 0 44px;border-radius:12px;
  background:linear-gradient(135deg,var(--red-d),var(--red-dd));color:var(--gold-l);
  display:flex;align-items:center;justify-content:center;font-size:1.15rem}
.pd-fact .tx{min-width:0}
.pd-fact b{display:block;font-family:var(--serif);color:var(--red-d);
  font-size:1.08rem;line-height:1.25}
.pd-fact span{display:block;font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--muted);margin-top:4px}

/* ---- body + sidebar ------------------------------------------ */
.pd-wrap{max-width:var(--maxw);margin:0 auto;padding:56px 22px 64px}
.pd-grid{display:grid;grid-template-columns:1.55fr .95fr;gap:52px;align-items:start}
/* sticky only - no max-height/overflow here, or the mouse wheel scrolls the
   sidebar instead of the page whenever the pointer is over it */
.pd-grid>aside{position:sticky;top:100px;align-self:start}

.pd-body h2{font-family:var(--serif);color:var(--red-d);font-size:1.6rem;
  line-height:1.25;margin:34px 0 12px}
.pd-body h2:first-child{margin-top:0}
.pd-body h3{font-family:var(--serif);color:var(--red-d);font-size:1.18rem;margin:22px 0 8px}
.pd-body p{color:var(--muted);font-size:1rem;line-height:1.85;margin-bottom:14px}
.pd-body ul{margin:10px 0 18px 20px}
.pd-body li{color:var(--muted);line-height:1.8;margin:6px 0}
.pd-rule{width:64px;height:3px;border-radius:3px;
  background:linear-gradient(90deg,var(--gold-l),var(--gold-d));margin:0 0 20px}

.pd-lead{margin:0 0 30px;border-radius:18px;overflow:hidden;
  box-shadow:var(--shadow);aspect-ratio:16/9;background:var(--cream-d);cursor:zoom-in}
.pd-lead img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .7s cubic-bezier(.16,1,.3,1)}
.pd-lead:hover img{transform:scale(1.04)}

.pd-gal{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:8px 0 6px}
.pd-gal figure{margin:0;border-radius:14px;overflow:hidden;aspect-ratio:4/3;
  background:var(--cream-d);cursor:zoom-in}
.pd-gal img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.pd-gal figure:hover img{transform:scale(1.06)}
.pd-cap{font-size:.82rem;color:var(--muted);margin-top:8px}

/* ---- sidebar cards ------------------------------------------- */
.pd-card{background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:24px 24px 26px;box-shadow:var(--shadow-sm);margin-bottom:22px}
.pd-card h4{font-family:var(--serif);color:var(--red-d);font-size:1.1rem}
.pd-card h4::after{content:"";display:block;width:40px;height:2px;
  background:var(--gold);margin:9px 0 14px}
.pd-card>p{color:var(--muted);font-size:.94rem;line-height:1.75;margin-bottom:16px}
.pd-card .btn{display:inline-flex}
.pd-cta{background:linear-gradient(180deg,#fffdf6,#fff)}

.pd-kv{display:flex;justify-content:space-between;gap:14px;padding:9px 0;
  border-bottom:1px dashed var(--line);font-size:.93rem}
.pd-kv:last-child{border-bottom:0}
.pd-kv span{color:var(--muted)}
.pd-kv b{color:var(--ink);font-weight:600;text-align:right}

.pd-near a{display:flex;align-items:center;gap:12px;padding:10px 0;
  border-bottom:1px dashed var(--line);text-decoration:none}
.pd-near a:last-child{border-bottom:0}
.pd-near img{width:54px;height:54px;border-radius:10px;object-fit:cover;
  flex:0 0 54px;background:var(--cream-d)}
.pd-near b{display:block;font-family:var(--serif);color:var(--red-d);
  font-size:.97rem;font-weight:700;line-height:1.3}
.pd-near em{display:block;font-style:normal;font-size:.78rem;color:var(--muted);margin-top:2px}
.pd-near a:hover b{color:var(--red)}

/* ---- responsive ---------------------------------------------- */
@media(max-width:980px){
  .pd-grid{grid-template-columns:1fr;gap:34px}
  .pd-grid>aside{position:static}
  .pd-facts .inn{grid-template-columns:1fr 1fr}
  .pd-fact:nth-child(2){border-right:0}
  .pd-fact:nth-child(1),.pd-fact:nth-child(2){border-bottom:1px solid var(--line)}
}
@media(max-width:620px){
  .pd-hero .wrap{padding-bottom:78px}
  .pd-facts .inn{grid-template-columns:1fr;margin-top:-48px}
  .pd-fact{border-right:0;border-bottom:1px solid var(--line);padding:16px 20px}
  .pd-fact:last-child{border-bottom:0}
  .pd-gal{grid-template-columns:1fr 1fr}
  .pd-wrap{padding:40px 18px 48px}
}
