/* JB Pastor : fiche chantier (single). Nécessite jbp.css. */

.jbp-sheet-head .jbp-panel {
	position: relative;
}

.jbp-sheet__more {
	position: absolute;
	top: 28px;
	right: 28px;
	display: flex;
	gap: 4px;
	padding: 8px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.jbp-sheet__more span {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--jbp-grey);
}

.jbp-sheet {
	align-items: flex-start;
	margin-top: 28px;
}

.jbp-sheet__media .jbp-history__slider,
.jbp-sheet__gallery > img {
	display: block;
	width: 100%;
	aspect-ratio: 1272 / 1142;
	overflow: hidden;
	background: #e8eef5;
}

.jbp-sheet__media .jbp-history__slider .slick-list,
.jbp-sheet__media .jbp-history__slider .slick-track,
.jbp-sheet__media .jbp-history__slider .slick-slide,
.jbp-sheet__media .jbp-history__slider .slick-slide > div {
	height: 100%;
}

.jbp-sheet__media .jbp-history__slider .slick-list {
	height: 100% !important;
}

.jbp-sheet__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jbp-sheet__gallery[hidden] {
	display: none !important;
}

.jbp-sheet__media .jbp-history__slider:not(.slick-initialized) > div + div {
	display: none;
}

.jbp-sheet__media .jbp-dots {
	margin-top: 20px;
}

.jbp-sheet__media .jbp-dots button {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 0;
	color: transparent;
	cursor: pointer;
}

.jbp-sheet__title {
	font: 500 48px/56px var(--jbp-font);
	letter-spacing: -.03em;
	color: #000;
}

.jbp-sheet__address {
	margin-top: 12px;
	font: 400 16px/22px var(--jbp-font);
	color: var(--jbp-grey);
}

.jbp-sheet__rule {
	height: 1px;
	margin: 24px 0;
	background: #e4e4e4;
}

.jbp-sheet__label {
	font: 400 14px/21px var(--jbp-font);
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--jbp-grey);
}

.jbp-sheet__icon::before {
	content: attr(data-icon);
	display: inline-block;
	width: 28px;
	font: 300 16px/1 var(--jbp-fa);
}

.jbp-sheet__value {
	margin-top: 8px;
	font: 500 22px/28px var(--jbp-font);
	color: #000;
}

.jbp-sheet__copy {
	margin-top: 24px;
	font: 400 16px/22px var(--jbp-font);
	color: var(--jbp-grey);
}

.jbp-sheet__copy p + p {
	margin-top: 16px;
}

.jbp-sheet__copy strong {
	font-weight: 700;
	color: #000;
}

.jbp-sheet__copy a,
.jbp-sheet__copy a:hover,
.jbp-sheet__copy a:focus-visible {
	color: inherit;
}

.jbp-sheet__dates {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
	padding: 0;
	list-style: none;
}

.jbp-sheet__dates a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 8px 4px;
	background: #d4e3ef;
	color: #5d6e7e;
	font: 700 16px/20px var(--jbp-font);
	text-align: center;
	text-decoration: none;
}

.jbp-sheet__dates a:hover,
.jbp-sheet__dates a:focus-visible {
	background: color-mix(in srgb, var(--jbp-blue) 72%, #fff);
	color: #fff;
}

.jbp-sheet__dates a[aria-current="date"] {
	background: var(--jbp-blue);
	color: #fff;
}

@media (max-width: 991px) {
	.jbp-sheet__body {
		margin-top: 32px;
	}

	.jbp-sheet__title {
		font-size: 32px;
		line-height: 36px;
	}
}
