.pblp {
	--pblp-navy: #16212f;
	--pblp-gold: #b99e5d;
	--pblp-bold: "Gilroy", "Montserrat", Arial, Helvetica, sans-serif;
	--pblp-light: "Gilroy-Light", "Gilroy", "Montserrat", Arial, Helvetica, sans-serif;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #fff;
	color: var(--pblp-navy);
	font-family: var(--pblp-light);
}
body:has(.pblp) { overflow-x: clip; }
.pblp *, .pblp *::before, .pblp *::after { box-sizing: border-box; }
.pblp [hidden] { display: none !important; }
.pblp a { text-decoration: none; }
.pblp h1, .pblp h2, .pblp p { margin: 0; }
.pblp-wrap { width: 100%; max-width: 1258px; margin: 0 auto; padding: 24px 24px 72px; }
.pblp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pblp-highlight { color: var(--pblp-highlight, var(--pblp-gold)); }
.pblp .pblp-ended { margin-bottom: 16px; padding: 10px 16px; border-radius: 6px; background: #fff3cd; color: #664d03; font-size: 15px; }

/* Space between sections, whatever order they are in */
.pblp-section + .pblp-section { margin-top: 40px; }
.pblp-banners + .pblp-tiles, .pblp-tiles + .pblp-banners { margin-top: 20px; }
.pblp-section + .pblp-brands, .pblp-brands + .pblp-section { margin-top: 48px; }
.pblp-finder + .pblp-awards, .pblp-awards + .pblp-finder { margin-top: 33px; }

/* Banners */
.pblp-banners__stage { position: relative; aspect-ratio: 4.82 / 1; overflow: hidden; border-radius: 16px; background: var(--pblp-navy); }
.pblp-banner { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.pblp-banner.is-active { opacity: 1; visibility: visible; }
.pblp-banner picture, .pblp-banner img { display: block; width: 100%; height: 100%; }
.pblp-banner img { object-fit: cover; }
.pblp-banners__dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.pblp .pblp-banners__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #d4d4d4; cursor: pointer; }
.pblp .pblp-banners__dot.is-active { background: var(--pblp-navy); }

/* Tiles */
.pblp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.pblp .pblp-tile { position: relative; display: block; aspect-ratio: 385 / 285; overflow: hidden; border-radius: 16px; background-color: var(--pblp-tile-bg, var(--pblp-navy)); }
.pblp-tile__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pblp-tile:hover .pblp-tile__image { transform: scale(1.03); }
.pblp-tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, var(--pblp-tile-clear, transparent), var(--pblp-tile-fade, transparent)); }
.pblp .pblp-tile__name { position: absolute; top: 16px; left: 18px; right: 18px; z-index: 1; color: var(--pblp-tile-name, #fff); font-size: 17px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.pblp-tile__text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pblp-tile__copy { display: flex; flex-direction: column; min-width: 0; }
.pblp .pblp-tile__small { color: var(--pblp-tile-small, #fff); font-size: 18px; line-height: 1.1; text-transform: uppercase; }
.pblp .pblp-tile__large { color: var(--pblp-tile-large, #fff); font-family: var(--pblp-bold); font-size: 27px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.pblp .pblp-tile__large.has-bg { align-self: flex-start; margin-top: 6px; padding: .1em .55em .14em; border-radius: 8px; background-color: var(--pblp-tile-price); text-shadow: none; }
.pblp-tile__logo { flex: none; width: auto; max-width: 110px; height: auto; max-height: 34px; object-fit: contain; }

/* Section heading */
.pblp-head { margin-bottom: 22px; text-align: center; }
.pblp .pblp-head__title { display: inline-flex; align-items: center; justify-content: center; gap: 14px; color: var(--pblp-head-title, var(--pblp-navy)); font-family: var(--pblp-bold); font-size: 32px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.pblp-head .pblp-highlight { color: var(--pblp-head-icon, var(--pblp-gold)); }
.pblp-head__icon { flex: none; width: 30px; height: 30px; color: var(--pblp-head-icon, var(--pblp-gold)); }
.pblp .pblp-head__text { max-width: 900px; margin: 8px auto 0; color: var(--pblp-head-text, var(--pblp-navy)); font-size: 18px; line-height: 1.35; }

/* Brand slider */
.pblp-carousel { --pblp-per: 6; --pblp-gap: 36px; position: relative; }
.pblp-carousel__track { display: flex; gap: var(--pblp-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pblp-carousel__track::-webkit-scrollbar { display: none; }
.pblp-carousel__track > * { flex: 0 0 calc((100% - (var(--pblp-per) - 1) * var(--pblp-gap)) / var(--pblp-per)); scroll-snap-align: start; }
.pblp .pblp-brand { display: flex; flex-direction: column; align-items: center; color: var(--pblp-navy); }
.pblp-brand__card { display: flex; align-items: center; justify-content: center; width: 100%; height: 104px; padding: 12px 16px; border-radius: 6px; background: var(--pblp-brand-card, #f3f4f4); font-family: var(--pblp-bold); font-weight: 700; text-align: center; }
.pblp-brand__card img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.pblp .pblp-brand__label { position: relative; min-width: 66%; max-width: 100%; margin-top: -11px; padding: 3px 10px; border-radius: 3px; background-color: #c1272d; color: #fff; font-family: var(--pblp-bold); font-size: 15px; font-weight: 700; line-height: 1.15; text-align: center; text-transform: uppercase; }

/* Arrows */
.pblp .pblp-arrow { position: absolute; top: calc(50% - 6px); z-index: 3; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 2px solid var(--pblp-navy); border-radius: 50%; background: #fff; color: var(--pblp-navy); transform: translateY(-50%); cursor: pointer; }
.pblp .pblp-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; }
.pblp .pblp-arrow:disabled { border-color: #d4d4d4; color: #bdbdbd; cursor: default; }
.pblp .pblp-arrow--prev { left: -54px; }
.pblp .pblp-arrow--next { right: -54px; }
.pblp-carousel.is-static .pblp-arrow { display: none; }
.pblp-banners .pblp-arrow { display: none; }

/* Finder */
.pblp-finder { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 81px; padding: 16px 56px 16px 32px; border-radius: 16px; background-color: var(--pblp-gold); }
.pblp .pblp-finder__title { color: var(--pblp-title, #fff); font-family: var(--pblp-bold); font-size: 29px; font-weight: 700; line-height: 1.1; }
.pblp .pblp-finder__text { max-width: 400px; margin: 0 auto; color: var(--pblp-text, #fff); font-size: 15px; line-height: 1.25; text-align: center; }
.pblp .pblp-finder__button { min-width: 280px; padding: 9px 24px; border-radius: 999px; background: var(--pblp-button-bg, var(--pblp-navy)); color: var(--pblp-button-text, #fff); font-size: 18px; text-align: center; text-transform: uppercase; transition: opacity .2s; }
.pblp .pblp-finder__button:hover { opacity: .85; }

/* Awards */
.pblp-awards { display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr); align-items: center; gap: 40px; padding: 28px 40px; border-radius: 16px; background-color: var(--pblp-navy); }
.pblp .pblp-awards__title, .pblp .pblp-awards__title a { color: var(--pblp-title, #fff); font-family: var(--pblp-bold); font-size: 34px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.pblp .pblp-awards__title .pblp-highlight { color: var(--pblp-highlight, var(--pblp-gold)); }
.pblp-awards__image img { display: block; width: 100%; height: auto; }

/* Arrows sit inside the page once there is no room beside the content */
@media (max-width: 1390px) {
	.pblp .pblp-arrow--prev { left: -12px; }
	.pblp .pblp-arrow--next { right: -12px; }
}
@media (max-width: 1024px) {
	.pblp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.pblp-carousel { --pblp-per: 4.2; --pblp-gap: 16px; }
	.pblp-finder { grid-template-columns: 1fr; gap: 12px; padding: 24px; text-align: center; }
	.pblp .pblp-finder__button { justify-self: center; }
	.pblp-awards { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; text-align: center; }
}
@media (max-width: 768px) {
	.pblp-wrap { padding: 16px 16px 48px; }
	.pblp-section + .pblp-brands, .pblp-brands + .pblp-section { margin-top: 40px; }
	.pblp .pblp-head__title { flex-direction: column; gap: 8px; font-size: 24px; }
	.pblp .pblp-head__text { font-size: 16px; }
}
@media (max-width: 640px) {
	.pblp-tiles { grid-template-columns: minmax(0, 1fr); }
	.pblp-carousel { --pblp-per: 2.3; }
	/* Sideways rows: arrows centred together underneath, in place of the banner dots */
	.pblp-carousel, .pblp-banners { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
	.pblp-carousel__track, .pblp-banners__stage { flex: 0 0 100%; order: -1; }
	.pblp .pblp-banners__dots { display: none; }
	.pblp .pblp-arrow, .pblp .pblp-arrow--prev, .pblp .pblp-arrow--next { position: relative; top: auto; right: auto; left: auto; width: 22px; height: 22px; border-width: 1.5px; transform: none; }
	.pblp .pblp-arrow::after { content: ""; position: absolute; inset: -11px -6px; } /* keeps a finger-sized tap area */
	.pblp .pblp-arrow svg { width: 14px; height: 14px; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
	.pblp-banners:not(.is-static) .pblp-arrow { display: flex; }
	.pblp-banners--mobile-art .pblp-banners__stage { aspect-ratio: 4 / 3; }
	.pblp-banners__stage { border-radius: 12px; }
	.pblp .pblp-finder__button { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.pblp-banner, .pblp-tile__image { transition: none; }
}
