/* Rental page composition. Prices and contact data come from the rental plugin. */
.site-rental-page { background: var(--wp--preset--color--background); }

.site-rental-hero { padding-block: clamp(3rem, 5vw, 5rem); background: var(--wp--preset--color--primary); color: var(--wp--preset--color--surface); border-bottom: var(--wp--custom--border-width) solid var(--wp--preset--color--primary); }
.site-rental-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.site-rental-hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1rem, 2vw, 1.5rem); min-width: 0; }
.site-rental-hero .site-eyebrow { margin: 0; color: var(--wp--preset--color--accent); }
.site-rental-hero h1 { max-width: 17ch; margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 0.98; }
.site-rental-hero-lead { max-width: 48ch; margin: 0; color: rgba(255, 255, 255, 0.9); font-size: var(--wp--preset--font-size--large); font-weight: 600; line-height: 1.5; }
.site-rental-hero-aside { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; min-width: 0; padding: clamp(1.5rem, 3vw, 2.75rem); border: 2px solid rgba(255, 255, 255, 0.35); border-radius: var(--wp--custom--radius--medium); }
.site-rental-hero-aside-label { margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.2; }
.site-rental-brands { display: flex; flex-wrap: wrap; gap: 0.625rem; padding: 0; margin: 0; list-style: none; }
.site-rental-brands li { padding: 0.375rem 1rem; border: 2px solid var(--wp--preset--color--accent); border-radius: var(--wp--custom--radius--small); color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--heading); font-stretch: 112%; font-weight: 800; text-transform: uppercase; }
.site-rental-hero .site-button-secondary { background: transparent; border-color: var(--wp--preset--color--surface); color: var(--wp--preset--color--surface); }
.site-rental-hero .site-button-secondary:hover { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--primary); }

/* Price list: one bordered card per equipment group. */
.site-rental-prices { background: var(--wp--preset--color--surface); }
.site-rental-group { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); border: var(--wp--custom--border-width) solid var(--wp--preset--color--primary); border-radius: var(--wp--custom--radius--medium); background: var(--wp--preset--color--surface); box-shadow: 0 6px 0 var(--wp--preset--color--primary); overflow: hidden; }
.site-rental-group:last-child { margin-bottom: 0; }
.site-rental-group-title { margin: 0; padding: 1rem 1.5rem; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--primary); font-size: clamp(1.25rem, 2.4vw, 1.75rem); text-transform: uppercase; }
.site-rental-group--adults .site-rental-group-title { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--surface); }

.site-rental-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.site-rental-table thead th { padding: 0.75rem 0.5rem; background: var(--wp--preset--color--secondary); color: var(--wp--preset--color--surface); font-family: var(--wp--preset--font-family--heading); font-stretch: 112%; font-size: 0.9375rem; font-weight: 800; text-align: right; white-space: nowrap; }
.site-rental-table thead th:first-child { padding-left: 1.5rem; text-align: left; }
.site-rental-table thead th:last-child, .site-rental-table td:last-child { padding-right: 1.5rem; }
.site-rental-table tbody tr:nth-child(even) { background: var(--wp--preset--color--background); }
.site-rental-table tbody th { padding: 0.875rem 0.5rem 0.875rem 1.5rem; color: var(--wp--preset--color--primary); font-family: var(--wp--preset--font-family--heading); font-stretch: 112%; font-weight: 800; text-align: left; white-space: nowrap; }
.site-rental-table td { padding: 0.875rem 0.5rem; color: var(--wp--preset--color--secondary); font-weight: 700; text-align: right; white-space: nowrap; }
.site-rental-table tbody tr:first-child th, .site-rental-table tbody tr:first-child td { font-size: 1.0625rem; }
.site-rental-table tbody tr:first-child td { color: var(--wp--preset--color--primary); font-weight: 800; }
.site-rental-unavailable { padding: 1.25rem; border: 2px solid var(--wp--preset--color--primary); border-radius: var(--wp--custom--radius--medium); }

/* Contact block. */
.site-rental-contact { background: var(--wp--preset--color--accent); border-bottom: var(--wp--custom--border-width) solid var(--wp--preset--color--primary); }
.site-rental-contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 4rem; }
.site-rental-contact-copy { flex: 1 1 22rem; max-width: 40rem; }
.site-rental-contact-copy h2 { margin-bottom: var(--wp--preset--spacing--40); }
.site-rental-contact-copy .site-lead { color: var(--wp--preset--color--secondary); }
.site-rental-hours { margin: 0; color: var(--wp--preset--color--secondary); font-size: var(--wp--preset--font-size--large); font-weight: 600; }
.site-rental-contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.site-rental-phone { margin: 0; font-family: var(--wp--preset--font-family--heading); font-stretch: 118%; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1; }
.site-rental-phone a { color: var(--wp--preset--color--primary); text-decoration: none; }
.site-rental-phone a:hover { text-decoration: underline; }

/* Narrow screens: every equipment row becomes a card with labelled prices (text stays at least 1rem). */
@media (max-width: 55.99rem) {
	.site-rental-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.site-rental-hero-aside { padding: 1.5rem; }
	.site-rental-table, .site-rental-table tbody { display: block; }
	.site-rental-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
	.site-rental-table tbody tr { display: block; padding: 1rem 1.25rem 1.25rem; border-top: 2px solid var(--wp--preset--color--accent); }
	.site-rental-table tbody tr:first-child { border-top: 0; }
	.site-rental-table tbody th { display: block; padding: 0 0 0.75rem; font-size: 1.25rem; white-space: normal; }
	.site-rental-table tbody tr:first-child th, .site-rental-table tbody tr:first-child td { font-size: 1rem; }
	.site-rental-table tbody tr:first-child th { font-size: 1.25rem; }
	.site-rental-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem 1rem; }
	.site-rental-table tbody th { grid-column: 1 / -1; }
	.site-rental-table tbody td { display: flex; flex-direction: column; align-items: flex-start; gap: 0.125rem; min-width: 0; padding: 0.5rem 0.75rem; border: 1px solid rgba(22, 79, 134, 0.25); border-radius: var(--wp--custom--radius--small); background: var(--wp--preset--color--surface); text-align: left; font-size: 1.125rem; }
	.site-rental-table td::before { content: attr(data-label); color: var(--wp--preset--color--muted); font-size: 1rem; font-weight: 600; }
	.site-rental-table tbody tr:nth-child(even) { background: var(--wp--preset--color--background); }
	.site-rental-group-title { padding-inline: 1.25rem; }
}
@media (max-width: 39.99rem) {
	.site-rental-table tbody td { align-items: center; text-align: center; }
	.site-rental-hero-content .site-actions { width: 100%; flex-direction: column; align-items: stretch; }
	.site-rental-contact-action, .site-rental-contact-action .site-button { width: 100%; }
}
