/* Stay In Tramore website: styles for the stay pages. One file per area (kingnail/guidebook#11) so jobs that work side by side never edit the same lines of site.css. Loaded after site.css on every page; keep every rule scoped to this area. */

/* The grouped amenity list (kingnail/guidebook#15) */
details.more.amen .amen-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px 28px; padding: 6px 0 4px; }
details.more.amen h3 { font: 500 1rem/1.3 var(--font-body, inherit); margin: 0 0 6px; color: var(--ink); }
details.more.amen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--ink-2); }

/* The price panel (kingnail/guidebook#15): the calendar parts sit in .calblock, which folds away once dates are
   picked (.panel.picked) and opens again on "Change dates". #pickbar holds the dates, group, total, refund sentence and
   Book; with dates picked it sticks to the foot of the window while the panel is on screen. The panel itself is
   sticky (site.css) and has no overflow, so the nested sticky works. */
.calblock { display: grid; gap: 12px; }
.panel.picked .calblock { display: none; }
.calnone { font-size: .92rem; color: var(--ink-2); margin: 0; }
.pickbar { display: grid; gap: 10px; }
.pickbar[hidden] { display: none; }
.pb-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; font-size: .95rem; }
.pb-line[hidden], .pb-total[hidden], .refund[hidden] { display: none; }
.pb-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.pb-total b { font: 500 1.35rem var(--font-display, inherit); }
.panel .refund { font-size: .88rem; color: var(--ink-2); margin: 0; }
.panel.picked .pickbar { position: sticky; bottom: 0; z-index: 2; background: var(--paper); margin: 0 -22px -22px; padding: 14px 22px 18px; border-top: 1.5px solid var(--line); border-radius: 0 0 22px 22px; }
@media (max-width: 960px) { .panel.picked .pickbar { position: static; margin: 0; padding: 0; border-top: 0; } }
.fits { display: grid; gap: 8px; }
.fits[hidden] { display: none; }
.fits p { margin: 0; font-size: .95rem; color: #8a4a00; }
.fits .btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); white-space: normal; text-align: center; }

/* Calendar days: a day gone by is greyed and never struck through; a booked night is struck through (site.css .off). */
.cal button.past { color: #b8b8c0; cursor: default; }
.cal button.past .d { font-weight: 400; text-decoration: none; }

/* The price tab on a listing's own page names that listing (kingnail/guidebook#15); its place stays as #11 set it. */
.ptab .when .hn { font-size: .66rem; line-height: 1.2; opacity: .9; overflow-wrap: anywhere; }

/* a written listing page's awards: the old site's own badge pictures on the dark band colour (kingnail/guidebook#20) */
.awards.badgeband { gap: 10px; }
.awards.badgeband li { padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); display: grid; place-items: center; text-transform: none; letter-spacing: 0; }
.awards.badgeband img { height: 40px; width: auto; display: block; }


/* Book now moves focus to the calendar heading for screen readers; no ring around a heading nobody tabbed to */
#dates h2[tabindex="-1"]:focus { outline: none; }
/* the phone bar keeps to one short block: the home's name shows in the panel it opens, not in the bar (gb#20) */
@media (max-width: 760px) { .ptab .when .hn { display: none; } }

