/* Shared enhancements for the public site and personal guest area. */
main button, main a, main summary, main input[type="checkbox"] { transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease; }
.public-content-card { padding: 22px; margin: 22px 0; border: 1px solid var(--line); border-radius: 14px; }
.public-content-card > h2 { margin-top: 0; }
[data-gallery-image] { display: block; border-radius: inherit; overflow: hidden; cursor: zoom-in; }
[data-gallery-image] img { transition: transform 200ms ease; }
@media (hover: hover) {
  [data-gallery-image]:hover img { transform: scale(1.025); }
  .guest-place, .guest-trip-card, .guest-file, .guest-quick-links a { transition: box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease; }
  .guest-file:hover, .guest-quick-links a:hover { box-shadow: 0 3px 12px #342f2410; }
}
.gallery-open { overflow: hidden; }
.image-gallery { width: min(960px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #e5e2dd; border-radius: 18px; background: #fff; color: #222; box-shadow: 0 24px 80px #0004; overscroll-behavior: contain; }
.image-gallery::backdrop { background: #151a19bf; }
.image-gallery[open] { animation: gallery-enter 180ms ease-out; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; }
.gallery-toolbar h2 { margin: 0; font-size: 20px; }
.image-gallery button { min-width: 44px; min-height: 44px; background: #f5f5f1; color: #222; border: 1px solid #dedbd6; border-radius: 10px; font: inherit; padding: 8px 14px; }
.image-gallery button:hover { background: #eaeae3; }
.image-gallery button[aria-disabled="true"] { color: #817b72; cursor: default; }
.gallery-stage { display: grid; place-items: center; min-height: 160px; background: #f7f7f5; border-radius: 10px; overflow: hidden; }
.gallery-stage img { width: auto; height: auto; max-width: 100%; max-height: 55dvh; object-fit: contain; }
.image-gallery [hidden] { display: none; }
.gallery-feedback { padding: 16px; text-align: center; color: #716b63; }
.gallery-feedback:empty { display: none; }
.gallery-caption { padding: 12px 0; overflow-wrap: anywhere; }
.gallery-caption p { margin: 0 0 4px; font-weight: 600; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 20px; }
.gallery-controls span { min-width: 56px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
@keyframes gallery-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .image-gallery { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 16px; border-radius: 14px; }
  .gallery-stage img { max-height: 48dvh; }
}
@media (prefers-reduced-motion: reduce) {
  main *, .image-gallery { transition: none !important; animation: none !important; }
}

/* House information shared by the public and guest pages. */
.house-section { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.house-section-title { font-size: 24px; letter-spacing: -.6px; font-weight: 650; margin: 0 0 20px; }
.amenity-preview, .amenity-groups ul { padding: 0; list-style: none; margin: 0; }
.amenity-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin: 28px 0; }
.amenity-preview li, .amenity-groups li { display: flex; align-items: flex-start; gap: 16px; font-size: 15px; }
.amenity-details > summary { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 20px; border: 1px solid #222; border-radius: 9px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.amenity-details > summary::-webkit-details-marker { display: none; }
.amenity-details > summary:hover { background: #f7f7f5; }
.amenity-hide, .amenity-details[open] .amenity-show { display: none; }
.amenity-details[open] .amenity-hide { display: inline; }
.amenity-details[open] .guest-chevron { transform: rotate(225deg); margin-top: 6px; }
.amenity-groups { margin-top: 28px; }
.amenity-groups section { padding: 24px 0; border-top: 1px solid var(--line); }
.amenity-groups :is(h3, h4) { font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.amenity-groups li { padding: 16px 0; }
.amenity-groups small { display: block; font-size: 13px; color: #716b63; margin-top: 3px; }

/* Arrival cards share the house page's warm colours and rounded borders. */
.arrival-options { display: grid; gap: 24px; }
.arrival-card { padding: 28px; border: 1px solid #e5e2dd; border-radius: 18px; background: #fff; box-shadow: 0 6px 22px #342f2406; min-width: 0; }
.arrival-card-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.arrival-icon { display: inline-flex; padding: 13px; border-radius: 14px; background: #f8eee9; color: #b84d43; }
.arrival-card-heading .guest-eyebrow { font-size: 10px; margin-bottom: 6px; }
.arrival-card :is(h3, h4) { font-size: 22px; font-weight: 650; letter-spacing: -.4px; margin: 0; }
.arrival-card > p { font-size: 14px; line-height: 1.8; color: #635e57; margin: 0 0 20px; }
.arrival-route { list-style: none; margin: 24px 0; padding: 0; }
.arrival-route li { display: flex; align-items: center; gap: 14px; position: relative; padding: 0 0 24px; }
.arrival-route li:last-child { padding-bottom: 0; }
.arrival-route li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; border-left: 1px dashed #cecfc4; }
.arrival-route-dot { display: inline-flex; flex-shrink: 0; padding: 10px; border-radius: 50%; background: #f1f3ec; color: #536348; }
.arrival-route-dot .guest-icon { width: 20px; height: 20px; }
.arrival-route strong { font-size: 14px; overflow-wrap: anywhere; }
.arrival-route small { display: block; color: #716b63; font-size: 12px; margin-top: 4px; }
.arrival-links { display: grid; gap: 10px; }
.arrival-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 10px; background: #f7f6f2; font-size: 13px; font-weight: 600; }
.arrival-links .guest-icon, .arrival-rentals a > .guest-icon { width: 18px; height: 18px; flex-shrink: 0; }
.arrival-card .arrival-note { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: 12px; line-height: 1.7; color: #716b63; }
.arrival-note .guest-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.arrival-rentals { display: grid; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.arrival-rentals a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e8e5df; border-radius: 12px; }
.arrival-rental-pin { color: #8b7454; }
.arrival-rental-pin .guest-icon { width: 20px; height: 20px; }
.arrival-rentals strong { font-size: 14px; }
.arrival-provider { display: inline-block; margin-left: 8px; font-size: 11px; color: #716b63; }
.arrival-rentals small { display: block; margin-top: 4px; color: #716b63; font-size: 12px; line-height: 1.5; }
.arrival-links a:hover, .arrival-rentals a:hover { background: #f1f3ec; text-decoration: none; }
@media (max-width: 600px) { .arrival-card { padding: 20px; } .arrival-card-heading { gap: 12px; } .arrival-card :is(h3, h4) { font-size: 20px; } }

@media (max-width: 760px) {
  .house-section-title { font-size: 22px; }
  .amenity-preview { gap: 20px 14px; }
  .amenity-preview li { gap: 10px; font-size: 14px; }
  .amenity-details > summary { padding: 12px 14px; font-size: 13px; }
}
@media (max-width: 400px) { .amenity-preview { grid-template-columns: 1fr; } }

.arrival-rental-options { border: 1px solid #e8e5df; border-radius: 12px; }
.arrival-rental-options > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; cursor: pointer; list-style: none; }
.arrival-rental-options > summary::-webkit-details-marker { display: none; }
.arrival-rental-options > summary::marker { content: ''; }
.arrival-rental-options > summary > .guest-icon { width: 18px; height: 18px; }
.arrival-rental-options > summary:hover { background: #f1f3ec; }
.arrival-rental-options[open] > summary > .guest-icon { transform: rotate(90deg); }
.arrival-provider-options { display: grid; gap: 8px; list-style: none; padding: 0 14px 14px; margin: 0; }
.arrival-provider-options a { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; border-radius: 8px; }
