/* ============================================================
   DFLV Explore — /explore/ hub, /explore/<category>/, and single place pages
   Tokens: ink #141414, amber #fbbf00 (brand), terracotta #c1652f (this
   plugin's own accent — distinct from observances' teal and gift guides'
   plum, so Explore reads as its own section while matching the site).
   Self-contained — no dependency on any other plugin's CSS.
   ============================================================ */

.dxp-wrap, .dxp-single { font-family: 'Inter', system-ui, sans-serif; color: #141414; -webkit-font-smoothing: antialiased; }
.dxp-wrap a, .dxp-single a { color: inherit; }

/* ── Full-bleed hero (hub pages) — same escape-viewport technique used
   sitewide for consistency. ── */
.dxp-hero {
  position: relative; width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%);
  box-sizing: border-box; background: #141414; color: #fff; padding: 44px 20px 40px; margin-top: 0;
}
@media (min-width: 900px) { .dxp-hero { padding-left: 48px; padding-right: 48px; } }
.dxp-crumb { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.dxp-crumb a { text-decoration: none; color: rgba(255,255,255,.72); }
.dxp-crumb a:hover { color: #fff; }
.dxp-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fbbf00; margin-bottom: 14px; }
.dxp-h1 { font-family: 'Poppins', sans-serif; font-size: clamp(24px,3.6vw,34px); font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.15; }
.dxp-rule { width: 40px; height: 3px; background: #fbbf00; border-radius: 2px; margin: 16px 0; }
.dxp-intro { font-size: 14.5px; color: rgba(255,255,255,.68); max-width: 600px; line-height: 1.6; margin: 0 0 24px; }
.dxp-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.dxp-stat b { display: block; font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
.dxp-stat span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); }

.dxp-landing-body { max-width: 1120px; margin: 0 auto; padding: 32px 20px 60px; }
@media (min-width: 900px) { .dxp-landing-body { padding-left: 48px; padding-right: 48px; } }
.dxp-empty { color: #8A8A87; font-size: 14px; }

/* ── Category cards on /explore/ ── */
.dxp-cat-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 40px; }
@media (max-width: 560px) { .dxp-cat-grid { grid-template-columns: minmax(0,1fr); } }
.dxp-cat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: #fff; border: 1px solid #EAEAE7; border-top: 3px solid #c1652f; border-radius: 12px; padding: 20px; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.dxp-cat-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.dxp-cat-icon { font-size: 24px; }
.dxp-cat-name { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 800; color: #141414; }
.dxp-cat-count { font-size: 11.5px; font-weight: 700; color: #8f4620; text-transform: uppercase; letter-spacing: .04em; }

.dxp-section-head { font-family: 'Poppins', sans-serif; font-size: 19px; font-weight: 800; margin: 0 0 18px; }

/* ── Place card grid ── */
.dxp-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
@media (max-width: 820px) { .dxp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } }

.dxp-card { border: 1px solid #EAEAE7; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; text-decoration: none; min-width: 0; transition: box-shadow .15s, transform .15s; }
.dxp-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.09); transform: translateY(-2px); }
.dxp-card-img { height: 150px; position: relative; background: #F5F3EE; background-size: cover; background-position: center; }
.dxp-card-badge { position: absolute; top: 10px; left: 10px; background: rgba(20,20,20,.72); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 100px; }
.dxp-card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 4px; }
.dxp-card-name { font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 700; color: #141414; line-height: 1.3; overflow-wrap: break-word; }
.dxp-card-teaser { font-size: 11px; font-weight: 700; color: #c1652f; text-transform: uppercase; letter-spacing: .03em; }
.dxp-card-address { font-size: 11px; color: #8A8A87; }

/* ── Single place page — spine hero, same construction as /event/ ── */
.dxp-place-hero {
  position: relative; width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: 52px 1fr; align-items: start; margin: 0; background: #fff;
}
.dxp-place-tab { background: #c1652f; height: 320px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (min-width: 1024px) { .dxp-place-tab { height: 374px; } }
.dxp-place-tab-text { writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); white-space: nowrap; }
.dxp-place-photo { height: 320px; background: linear-gradient(155deg,#3a2313,#1a0f08); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
@media (min-width: 1024px) { .dxp-place-photo { height: 374px; } }
.dxp-place-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.dxp-place-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.38) 0%, transparent 60%); }

.dxp-place-body { max-width: 720px; margin: 0 auto; padding: 28px 24px 60px; box-sizing: border-box; }
.dxp-back-link { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: #585856; text-decoration: none; margin-bottom: 18px; }
.dxp-back-link:before { content: '←'; font-weight: 600; }
.dxp-back-link:hover { color: #141414; }
.dxp-place-h1 { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem,2.8vw,2rem); font-weight: 700; color: #141414; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 22px; }

.dxp-fact-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #EAEAE7; border-radius: 16px; overflow: hidden; margin: 0 0 28px; }
@media (max-width: 480px) { .dxp-fact-grid { grid-template-columns: 1fr; } }
.dxp-fact { padding: 16px 20px; border-right: 1px solid #EAEAE7; border-bottom: 1px solid #EAEAE7; }
.dxp-fact:nth-child(2n) { border-right: 0; }
.dxp-fact-l { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A8A87; margin-bottom: 6px; }
.dxp-fact-v { font-size: .9rem; font-weight: 600; color: #141414; line-height: 1.35; }

.dxp-section { margin: 28px 0 0; padding-top: 28px; border-top: 1px solid #EAEAE7; }
.dxp-section-label { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8A8A87; margin-bottom: 12px; }
.dxp-content-text { font-size: 1rem; line-height: 1.75; color: #2f2f31; }
.dxp-content-text p { margin: 0 0 16px; }

.dxp-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dxp-pill { display: inline-block; background: #FBEEE4; color: #8f4620; font-size: 11.5px; font-weight: 700; padding: 6px 13px; border-radius: 100px; }

.dxp-gallery-grid-front { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
@media (max-width: 480px) { .dxp-gallery-grid-front { grid-template-columns: repeat(2,1fr); } }
.dxp-gallery-grid-front img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; display: block; }

.dxp-map-embed { border-radius: 12px; overflow: hidden; height: 260px; }
.dxp-map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.dxp-hours-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dxp-hours-table tr { border-bottom: 1px solid #EAEAE7; }
.dxp-hours-table tr:last-child { border-bottom: none; }
.dxp-hours-table td { padding: 8px 4px; }
.dxp-hours-table td:first-child { font-weight: 700; color: #141414; width: 120px; }
.dxp-hours-table td:last-child { color: #585856; }

/* ── Front-end submission form ── */
.dxp-submit-form { max-width: 560px; font-family: 'Inter', system-ui, sans-serif; color: #141414; }
.dxp-submit-notice { background: #FBEEE4; color: #8f4620; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; font-weight: 600; margin-bottom: 20px; }
.dxp-field { margin: 0 0 16px; }
.dxp-field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.dxp-field-optional { font-weight: 400; color: #8A8A87; }
.dxp-field input[type=text], .dxp-field input[type=file], .dxp-field select, .dxp-field textarea {
  width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #EAEAE7; border-radius: 8px; font-size: 13.5px; font-family: inherit;
}
.dxp-field-row { display: flex; gap: 12px; }
.dxp-field-row .dxp-field { flex: 1; }
.dxp-radio-row { display: flex; gap: 18px; }
.dxp-radio-row label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dxp-submit-block { border-top: 1px solid #EAEAE7; padding-top: 16px; margin-bottom: 16px; }
.dxp-submit-btn { background: #141414; color: #fff; border: none; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; padding: 12px 28px; border-radius: 9px; cursor: pointer; }
.dxp-submit-fineprint { font-size: 11.5px; color: #8A8A87; margin-top: 8px; }
