/* ==========================================================================
   EXPERIENCE DETAIL (2026-10-28): /experience/<slug>, one template
   (templates/experience_detail.html). A real photo header, an icon facts row,
   white rounded cards with an icon head, the trust strip and the phone bar.
   Uses the shared .eb- blocks (et-blocks.css) and brand tokens only.
   ========================================================================== */

/* --- Photo header -------------------------------------------------------- */
.xp-hero--detail { padding-top: 18px; padding-bottom: 8px; }
.xp-hero--detail .et-crumbs { margin-bottom: 14px; }

.xpd-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
            min-height: 300px; border-radius: var(--eb-r, 18px); background: var(--eb-ink, #0f1a2c); color: #fff;
            box-shadow: var(--eb-sh); }
.xpd-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.xpd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
                    background: linear-gradient(180deg, rgba(15, 26, 44, .08) 0%, rgba(15, 26, 44, .38) 42%, rgba(15, 26, 44, .9) 100%); }
.xpd-hero__in { width: 100%; padding: 22px 18px 20px; }
.xpd-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 11px; border-radius: 999px;
              background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); font-size: .8rem; font-weight: 700; color: #fff; }
.xpd-kicker .et-i { width: 1.05em; height: 1.05em; color: #fff; }
.xpd-title { margin: 0 0 8px; color: #fff; font-size: clamp(1.7rem, 6vw, 2.9rem); line-height: 1.1; overflow-wrap: anywhere; }
.xpd-lead { margin: 0 0 14px; max-width: 62ch; color: rgba(255, 255, 255, .92); font-size: 1rem; line-height: 1.5; }
.xpd-hero .eb-chips li { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); }
.xpd-hero .eb-chips .et-i { color: #fff; }

/* Photos that need a different crop (sport photos are tall). */
.xpd-hero__img[src*="sport%20buddy"], .xpd-hero__img[src*="sport buddy"] { object-position: 50% 32%; }
.xpd-hero__img[src*="aodai-conical-hat"] { object-position: 50% 28%; }
.xpd-hero__img[src*="host-portrait"], .xpd-hero__img[src*="golden-hour-portrait"] { object-position: 50% 25%; }

/* The summary under the photo */
.xpd-sub { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px;
           background: var(--eb-blue-soft, #eef4ff); color: var(--eb-ink); font-size: .96rem; line-height: 1.5; }
.xpd-sub .et-i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--eb-blue, #2563eb); }

/* Facts row */
.xpd-facts { margin: 16px 0 0; }
.xpd-facts li { align-items: flex-start; background: #fff; border: 1px solid var(--eb-line); box-shadow: var(--eb-sh); }
.xpd-facts .eb-ico { width: 36px; height: 36px; border-radius: 50%; }
.xpd-facts .eb-ico .et-i { width: 18px; height: 18px; }
.xpd-facts li > div { min-width: 0; }
.xpd-facts b { line-height: 1.3; }
.xpd-facts b.xpd-soft { font-weight: 500; font-size: .82rem; color: var(--eb-muted); }

/* --- Cards ---------------------------------------------------------------- */
.xp-page--detail .xp-detail-grid { margin-top: 22px; }
.xp-page--detail .xp-panel { background: #fff; border: 1px solid var(--eb-line); border-radius: var(--eb-r, 18px);
                             box-shadow: var(--eb-sh); padding: 20px; margin: 0 0 16px; }
.xpd-head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.xpd-head .eb-ico { width: 40px; height: 40px; border-radius: 50%; }
.xp-page--detail .xpd-head h2 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.xp-page--detail .xp-list li .et-i { color: var(--eb-blue, #2563eb); }
.xp-page--detail .xp-list-x li .et-i { color: var(--eb-muted); }
.xp-page--detail .xp-dl > div:first-child, .xp-page--detail .xp-dl > div { border-top-color: var(--eb-line); }
.xp-page--detail .xp-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--eb-soft); }
.xp-page--detail .xp-note .et-i { flex: none; margin-top: 3px; color: var(--eb-ok, #1f7a4d); }

/* Booking card: the blue edge marks the one action. */
.xp-page--detail .xp-panel--book { border-top: 4px solid var(--eb-blue, #2563eb); }
.xp-page--detail .xp-panel--book h2 { font-size: 1.3rem; }
.xp-page--detail .xp-panel--quiet { background: var(--eb-soft); box-shadow: none; }
.xp-page--detail .xp-panel--quiet .xpd-head .eb-ico { background: #fff; }
.xp-page--detail .xp-panel--quiet .xpd-head h2 { font-size: 1.05rem; }
.xp-page--detail .xp-disclaimer { border-radius: 14px; }

.xp-page--detail .eb-trust { margin: 4px 0 16px; justify-content: flex-start; }

/* Phone bar */
.xpd-bar .et-btn .et-i { width: 16px; height: 16px; }
.xpd-bar b.xpd-bar__note { font-size: .8rem; font-weight: 600; line-height: 1.3; color: var(--eb-muted); }
.xpd-bar > div { flex: 1 1 auto; }

/* --- Sizes ---------------------------------------------------------------- */
@media (min-width: 861px) {
    .xpd-hero { min-height: 420px; }
    .xpd-hero__in { padding: 36px 36px 30px; }
    .xpd-lead { font-size: 1.1rem; }
    .xp-page--detail .xp-panel { padding: 24px 26px; }
}
@media (max-width: 860px) {
    .xp-page--detail .xp-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .xp-page--detail .xp-book-panel { position: static; }
}
@media (max-width: 560px) {
    .xpd-hero { min-height: 340px; }
    .xp-page--detail .xp-incx { grid-template-columns: minmax(0, 1fr); }
    .xp-page--detail .xp-panel { padding: 18px 16px; }
    .xpd-facts li { padding: 10px; gap: 8px; }
    .xpd-facts .eb-ico { width: 32px; height: 32px; }
}
