/* Island Pass itineraries and hike guides. Cards reuse the property catalog styles. */
.guide-heading {margin-top:28px}
.guide-card .property-card-bottom svg {width:18px;height:18px}
.guide-summary {margin:0;font-size:16px;line-height:1.55;color:var(--muted,#63776e)}
/* Hero: a large photo with the title beneath it. */
.guide-hero {margin:4px 0 0}
.guide-hero .guide-photo {margin:0 0 16px}
.guide-hero .property-photo {aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:#e8efe9}
.guide-hero .property-photo img {width:100%;height:100%;object-fit:cover;display:block}
.guide-hero h1 {margin:6px 0 8px;font-size:clamp(24px,5vw,32px);line-height:1.15}
.guide-photo {margin:12px 0}
.guide-photo .property-photo {border-radius:14px;overflow:hidden;aspect-ratio:3/2;background:#e8efe9}
.guide-photo .property-photo img {width:100%;height:100%;object-fit:cover;display:block}
.guide-photo figcaption {margin-top:4px;font-size:11px;color:var(--muted,#63776e);overflow-wrap:anywhere}
.guide-photo figcaption a {color:inherit}
/* At a glance */
.guide-glance {list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}
.guide-glance li {padding:10px 12px;border-radius:14px;background:#f1f6f2;border:1px solid var(--line,#e1e7df);min-width:0}
.guide-glance strong {display:block;font-size:16px;color:var(--ink,#193f3d);overflow-wrap:anywhere}
.guide-glance span {display:block;font-size:12px;color:var(--muted,#63776e)}
.guide-source-note {margin:6px 0 0;font-size:12px}
.guide-source-note a {color:var(--muted,#63776e)}
.guide-intro {margin:18px 0 0;font-size:16px;line-height:1.65;color:var(--ink,#193f3d)}
/* Day plan controls */
.guide-day {margin-top:26px}
.guide-day h2,.guide-section h2 {margin:0 0 12px;font-size:20px}
.guide-controls {display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.guide-controls label:first-child {grid-column:1 / -1}
.guide-controls label {display:grid;gap:4px;font-size:12px;font-weight:600;color:var(--muted,#63776e);min-width:0}
.guide-controls select,.guide-controls input {width:100%;min-height:44px;padding:8px 10px;border:1px solid var(--line,#d5ded6);border-radius:12px;background:#fff;color:var(--ink,#193f3d);font:inherit;font-size:15px;box-sizing:border-box}
.guide-day-status:not(:empty) {margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff6e0;color:#6b4b00;font-size:14px}
/* Stops */
.guide-stops {list-style:none;margin:22px 0 0;padding:0;display:grid;gap:12px}
.guide-stop {display:flex;gap:14px;padding:16px;border:1px solid var(--line,#e1e7df);border-radius:18px;background:#fff}
.guide-stop-number {display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--accent,#167c78);color:#fff;font-weight:700;font-size:14px}
.guide-stop-number svg {width:16px;height:16px}
.guide-stop-body {min-width:0;flex:1}
.guide-stop-body>p {margin:6px 0 12px;font-size:14px;line-height:1.55;color:var(--ink,#193f3d)}
.guide-stop-body>p.guide-stop-time {margin:0 0 4px;font-size:13px;color:var(--muted,#63776e)}
.guide-stop-time strong {color:var(--accent,#167c78);font-size:15px}
.guide-stop-time:empty {display:none}
.guide-stop-name {padding:0;border:0;background:none;color:var(--ink,#193f3d);font:inherit;font-size:18px;font-weight:700;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:#b9cfc3;text-underline-offset:4px}
strong.guide-stop-name {text-decoration:none;cursor:auto;display:block}
.guide-stops-locked .guide-stop {background:#f6faf7}
.guide-stops-locked .guide-photo {margin-bottom:0}
.guide-facts {margin:0 0 12px;padding:12px 14px;border-radius:14px;background:#eef6f4}
.guide-facts h3 {margin:0 0 6px;font-size:14px;color:var(--accent,#167c78)}
.guide-facts ul {margin:0;padding-left:18px;display:grid;gap:4px;font-size:14px;line-height:1.5}
.guide-more summary {cursor:pointer;font-size:14px;font-weight:600;color:var(--accent,#167c78);padding:4px 0}
.guide-stop .poi-nearest {margin-top:8px}
/* Timeline: a line runs through endpoints, legs and stops. */
.guide-timeline {position:relative;gap:10px}
.guide-timeline::before {content:"";position:absolute;left:31px;top:14px;bottom:14px;width:2px;background:repeating-linear-gradient(#b9cfc3 0 6px,transparent 6px 10px)}
.guide-timeline>li {position:relative}
.guide-endpoint {display:flex;align-items:center;gap:14px;padding:4px 16px}
.guide-endpoint-dot {width:14px;height:14px;margin:0 9px;flex-shrink:0;border-radius:50%;background:#fff;border:3px solid var(--ink,#193f3d)}
.guide-endpoint p {margin:0;min-width:0}
.guide-endpoint strong {display:block;font-size:15px}
.guide-endpoint small {display:block;font-size:12px;color:var(--muted,#63776e)}
.guide-leg {margin-left:52px;padding:12px 14px;border-radius:14px;background:#f4f7fb;border:1px solid #dfe6ef;min-width:0}
.guide-leg.is-walk {background:#f7f9f6;border-style:dashed}
.guide-leg p {margin:6px 0 0;font-size:14px;line-height:1.5}
.guide-leg-head {display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.guide-leg-head strong {font-size:15px}
.guide-leg-head small {font-size:13px;color:var(--muted,#63776e)}
.guide-leg-chips {display:inline-flex;align-items:center;gap:4px}
.guide-leg-icon {display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#243b53;color:#fff}
.guide-leg-icon svg {width:15px;height:15px}
.guide-leg-icon.guide-leg-walk {background:#5d7a6c}
.guide-leg-rides {list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.guide-leg-rides li {display:flex;gap:8px;align-items:flex-start;min-width:0}
.guide-leg-rides span {min-width:0}
.guide-leg-rides strong {display:block;font-size:14px;overflow-wrap:anywhere}
.guide-leg-rides small {display:block;font-size:12px;color:var(--muted,#63776e);overflow-wrap:anywhere}
p.guide-leg-meta {font-size:12px;color:var(--muted,#63776e)}
.guide-leg-open {display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:0;border:0;background:none;color:var(--accent,#167c78);font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none}
.guide-leg-open svg {width:14px;height:14px}
/* Hike sections */
.guide-section {margin-top:26px}
.guide-stages {list-style:none;margin:0;padding:0;display:grid;gap:14px;counter-reset:stage}
.guide-stages li {position:relative;padding-left:40px;counter-increment:stage}
.guide-stages li::before {content:counter(stage);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e2efe9;color:var(--accent,#167c78);font-weight:700;font-size:13px}
.guide-stages h3 {margin:2px 0 4px;font-size:16px}
.guide-stages p {margin:0;font-size:14px;line-height:1.6}
.guide-wildlife {list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.guide-wildlife li {padding:12px 14px;border-radius:14px;background:#eef6f4;min-width:0}
.guide-wildlife strong {font-size:15px}
.guide-wildlife p {margin:4px 0 0;font-size:13px;line-height:1.5}
.guide-gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.guide-gallery .guide-photo {margin:0}
.guide-ticket {display:inline-block;margin-top:10px;font-weight:600;color:var(--accent,#167c78)}
.guide-warning {margin:16px 0 0;font-weight:600}
.guide-departures {margin:16px 0 0}
.guide-departures h3 {margin:0 0 8px;font-size:15px}
.guide-departures ul {list-style:none;margin:0;padding:0;display:grid;gap:8px}
.guide-departures li {display:flex;gap:10px;align-items:center}
.guide-departures strong {display:block;font-size:13px}
.guide-departures small {display:block;font-size:12px;color:var(--muted,#63776e)}
.guide-detail .text-button {margin-top:14px}
/* Numbered stop markers on the map */
.guide-marker span {display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent,#167c78);color:#fff;font:700 13px/1 system-ui,sans-serif;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.home-actions button:nth-child(5) {grid-column:1 / -1;min-height:64px}
.home-actions button:nth-child(5) .home-action-icon {color:#8a5a9a;background:#f5eef7}
@media (max-width:420px){
 .guide-timeline::before {left:27px}
 .guide-stop {padding:14px 12px;gap:10px}
 .guide-leg {margin-left:40px}
 .guide-endpoint {padding:4px 12px}
}
.guide-leg p.guide-leg-wait {margin:0 0 8px;font-size:13px;color:#6b4b00}
