/**
 * Pontiac Ouest — Waste management / transfer station pages.
 * Rides on the .po-meetings tokens/wrapper (accent per municipality, headings);
 * this file only adds the info cards, notices, fee lists and link tiles.
 */

.po-meetings.po-waste {
	padding: 24px 0 0;
}

body.tb-core-page .tb-core-page__main:has(> .tb-core-page__block--html .po-waste) {
	max-width: 1280px;
	margin: 0 auto;
	padding: 56px 20px 0;
}

body.tb-core-page .tb-core-page__block--html .tb-core-page__block-inner:has(.po-waste) {
	padding: 0;
}

.po-waste__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	align-items: start;
}

.po-waste__grid + .po-waste__grid,
.po-waste__grid + .po-waste__notice,
.po-waste__notice + .po-waste__grid,
.po-waste__notice + .po-waste__notice {
	margin-top: 20px;
}

.po-waste__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 26px;
	background: var(--po-surface);
	border: 1px solid var(--po-line);
	border-top: 4px solid var(--po-accent);
	border-radius: var(--po-radius);
	box-shadow: var(--po-shadow);
}

.po-waste__card--free { border-top-color: #2e8b57; }
.po-waste__card--no { border-top-color: #b3261e; }

.po-meetings .po-waste__title {
	margin: 0;
	font-family: var(--po-heading-font);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--po-ink);
}

.po-waste__card p,
.po-waste__notice p {
	margin: 0;
}

.po-waste__card p + p,
.po-waste__notice p + p {
	margin-top: 10px;
}

.po-waste__facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 18px;
	margin: 0;
}

.po-waste__facts dt {
	font-weight: 700;
	color: var(--po-muted);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding-top: 4px;
}

.po-waste__facts dd {
	margin: 0;
}

.po-meetings .po-waste__hours {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: none;
	font-size: inherit;
}

.po-meetings .po-waste__hours tr,
.po-meetings .po-waste__hours tr:nth-child(odd),
.po-meetings .po-waste__hours tr:nth-child(even) {
	background: none;
}

.po-meetings .po-waste__hours th,
.po-meetings .po-waste__hours td {
	padding: 7px 0;
	border: 0;
	border-bottom: 1px solid var(--po-line);
	background: none;
	text-align: left;
	font-weight: 400;
	vertical-align: top;
}

.po-meetings .po-waste__hours tr:last-child th,
.po-meetings .po-waste__hours tr:last-child td {
	border-bottom: 0;
}

.po-meetings .po-waste__hours th {
	padding-right: 16px;
	font-weight: 600;
}

.po-meetings .po-waste__hours td {
	text-align: right;
	white-space: nowrap;
}

.po-waste__season {
	margin: 14px 0 2px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--po-accent-ink);
}

.po-waste__season:first-of-type {
	margin-top: 0;
}

.po-waste__list {
	margin: 0;
	padding-left: 1.1em;
}

.po-waste__list li {
	margin: 0;
	padding: 2px 0;
}

.po-waste__notice {
	padding: 22px 26px;
	background: var(--po-accent-soft);
	border-left: 5px solid var(--po-accent);
	border-radius: var(--po-radius);
}

.po-waste__notice--alert {
	background: #fdf0ef;
	border-left-color: #b3261e;
}

.po-meetings .po-waste__notice-title {
	margin: 0 0 8px;
	font-family: var(--po-heading-font);
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--po-ink);
}

.po-waste__figure {
	margin: 0;
}

.po-waste__figure img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 460px;
	object-fit: cover;
	border-radius: var(--po-radius);
	box-shadow: var(--po-shadow);
}

/* Link tiles */

.po-waste__links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.po-meetings .po-waste__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	height: 100%;
	padding: 16px 20px;
	background: var(--po-surface);
	border: 1px solid var(--po-line);
	border-left: 4px solid var(--po-accent);
	border-radius: var(--po-radius);
	box-shadow: var(--po-shadow);
	color: var(--po-ink);
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.po-meetings .po-waste__links a::after {
	content: "\2192";
	flex: none;
	color: var(--po-accent-ink);
	font-size: 1.2rem;
}

.po-meetings .po-waste__links a:hover,
.po-meetings .po-waste__links a:focus-visible {
	box-shadow: var(--po-shadow-hover);
	transform: translateY(-1px);
}

/* Screenshots + video */

.po-waste__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	align-items: start;
}

.po-waste__gallery a {
	display: block;
}

.po-waste__gallery img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--po-line);
	border-radius: var(--po-radius);
	box-shadow: var(--po-shadow);
}

.po-waste__video {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--po-radius);
	box-shadow: var(--po-shadow);
	background: #000;
}

.po-waste__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 640px) {
	.po-waste__card,
	.po-waste__notice {
		padding: 20px;
	}

	.po-waste__hours td {
		white-space: normal;
	}
}
