/* Stay In Tramore website: styles for the work 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 page's photo header: the home page's header, shorter, with the photo's window and sea kept in view
   (kingnail/guidebook#20) */
.hero.hero--page { min-height: min(68vh, 620px); }
.hero.hero--page > img.bg { object-position: 60% 45%; }
.hero.hero--page > .wrap { padding-bottom: clamp(84px, 10vw, 128px); }

/* the title sits on the right of the photo, as on the old site; its lines stay left-aligned within it (Dara, 24 Nov) */
.hero.hero--page > .wrap { grid-template-columns: max-content; justify-content: end; }
/* "Work from Tramore." on one line at every width (Dara): the title sets the block's width, the line under it wraps
   inside that width */
.hero.hero--page > .wrap > h1 { white-space: nowrap; font-size: min(var(--t-display), 9.2vw); }
.hero.hero--page > .wrap > .lead { max-width: 100%; }
.hero.hero--page > .wrap > h1, .hero.hero--page > .wrap > .lead { text-shadow: 0 2px 22px rgba(0, 0, 0, .35); }
/* a lighter shade over this photo than the home page's (Dara: "a bit dark and grey"): just enough at the top for the
   menu and at the foot for the title, with the shadow on the words doing the rest */
.hero.hero--page::after { background: linear-gradient(180deg, rgba(0, 0, 0, .26) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .64) 100%); }   /* clear photo, darker foot, as the home page's (Dara) */
.hero.hero--page { background: #d9cfc4; }
.hero.hero--page > img.bg { filter: brightness(1.08) saturate(1.04); }

/* kingnail/guidebook#16: the "Why stay midweek?" points, and each week or month line as a button to those dates */
.whyweek-wrap { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.whyweek-wrap h2 { margin-bottom: 14px; }
.whyweek { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 28px; }
.whyweek li { padding: 10px 0 10px 18px; border-left: 3px solid var(--wave-mid); line-height: 1.5; }
.whyweek li b { display: block; font: 500 1.08rem var(--font-display); }
.rate a.r { color: var(--ink); text-decoration: none; align-items: center; min-height: 48px; padding: 10px 12px; margin: 0 -12px; border-radius: 12px; }
.rate a.r b { color: var(--accent-text); white-space: nowrap; }
.rate a.r b::after { content: " \203A"; }
.rate a.r:hover, .rate a.r:focus-visible { background: var(--band); }
.rate .r.none { margin: 0; color: var(--ink-2); }
.rate .off { margin: 0; color: var(--ink-2); }
