/* Press page only. Loaded by templates/pages/press.html.twig, never site-wide,
   so nothing here can reach another page's blocks. */

/* Press page - press releases list.
   Each row is the whole download link: date, headline, then an underlined label.
   On hover the underline wipes away (the theme's .link_section gesture) while a
   download arrow fades in, so the two read as one movement. */
.list_press_releases {
	display: flex;
	flex-direction: column;
}

.list_press_releases .press_release_item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 22px 0;
	border-bottom: 1px solid #737757;
	color: #737757;
}

.list_press_releases .press_release_main {
	display: block;
}

.list_press_releases .press_release_date {
	display: block;
	font-family: Beausite Fit, sans-serif;
	font-weight: 500;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.list_press_releases .press_release_headline {
	display: block;
	font-size: 16px;
	line-height: 24px;
}

.list_press_releases .press_release_action {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.list_press_releases .press_release_btn {
	display: inline-block;
	font-family: Beausite Fit, sans-serif;
	font-weight: 500;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 4px;
}

.list_press_releases .press_release_btn::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: #737757;
	transform: scaleX(1);
	transform-origin: left;
	transition: transform 0.4s ease-out;
}

.list_press_releases .press_release_item:hover .press_release_btn::after {
	transform: scaleX(0);
	transform-origin: right;
}

/* The arrow keeps its slot in the flow at all times so nothing reflows on hover;
   only its opacity and offset change. */
.list_press_releases .press_release_dl {
	flex: 0 0 auto;
	/* the label carries 4px of padding for its underline; pull the arrow back onto the text */
	margin-bottom: 4px;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.3s ease 0.1s, transform 0.35s ease 0.1s;
}

.list_press_releases .press_release_item:hover .press_release_dl {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1279px) {
	.list_press_releases .press_release_headline {
		font-size: 14px;
		line-height: 20px;
	}
}

/* Standalone copy of the theme's .pagination_exp layout. That class cannot be reused:
   bundle.js's experience filter runs on every page, finds no .card_experience and calls
   $('.pagination_exp').hide() globally, which would hide this control too. */
.press_pagination {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 38px;
	justify-content: flex-start;
}

.press_pagination button {
	background: none;
	border: none;
	cursor: pointer;
	line-height: 0;
	padding: 0;
}

.press_pagination .press_page_info {
	font-weight: 500;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 1px;
}

/* Press page - detail-style section (contact).
   These mirror the theme rules that were keyed on .section_detail_restaurant, which the press
   blocks can no longer use: bundle.js moves that class's children with unscoped selectors and
   two such sections on one page break each other. */
.section_press_detail {
	padding-bottom: 128px;
}

@media (max-width: 1023px) {
	.section_press_detail {
		padding: 64px 16px;
	}
}

@media (max-width: 767px) {
	.section_press_detail {
		padding: 64px 0;
	}

	.press_detail_content p {
		font-size: 14px;
		line-height: 20px;
	}
}

/* Press page - about/gastronomy block.
   Scoped to .section_press_about so it cannot reach the restaurant, offer or wellness
   blocks that share the .section_single_restaurant class. */
.section_press_about .press_about_divider {
	border-top: 1px solid #737757;
}

.blue_page .section_press_about .press_about_divider,
.green_page .section_press_about .press_about_divider,
.dark_page .content_page .section_press_about .press_about_divider {
	border-color: #fffdf3;
}

/* Press gallery - per-image download button.
   Scoped to .section_press_gallery so the other galleries on the site are untouched.
   The theme stretches every child of .img_swiper with
   `.swiper_gallery_2 .swiper-slide .img_swiper * { width:100%; height:100% }`,
   so the button and its icon need their own sizes at a higher specificity. */
.section_press_gallery .swiper-slide .img_swiper {
	position: relative;
}

.section_press_gallery .swiper_gallery_2 .swiper-slide .img_swiper .gallery_download {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #737757;
	background: rgba(255, 253, 243, 0.9);
	border: 1px solid rgba(115, 119, 87, 0.3);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.section_press_gallery .swiper_gallery_2 .swiper-slide .img_swiper .gallery_download svg {
	width: 22px;
	height: 22px;
	-o-object-fit: contain;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.section_press_gallery .swiper-slide .img_swiper .gallery_download:hover {
	background: #737757;
	border-color: #737757;
	color: #fffdf3;
}

.section_press_gallery .swiper-slide .img_swiper .gallery_download:hover svg {
	transform: translateY(2px);
}

@media (max-width: 767px) {
	.section_press_gallery .swiper_gallery_2 .swiper-slide .img_swiper .gallery_download {
		top: 10px;
		right: 10px;
		width: 36px;
		height: 36px;
	}

	.section_press_gallery .swiper_gallery_2 .swiper-slide .img_swiper .gallery_download svg {
		width: 18px;
		height: 18px;
	}
}

/* Press gallery - fixed width, free height.
   The theme locks each image into a fixed box and crops it to fill:
     .swiper_gallery_2 .swiper-slide:nth-child(odd) .img_swiper { height: 680px }
     .swiper_gallery_2 .swiper-slide:nth-child(2n)  .img_swiper { height: 544px }
     .swiper_gallery_2 .swiper-slide .img_swiper *  { width:100%; height:100%; object-fit:cover }
   Here the width stays fixed (the slide width, same for every image) and the height
   is left to follow each image's own ratio, so nothing is cropped. Pairs with the
   `press_gallery` image format, which sets x only. */
.section_press_gallery .swiper_gallery_2 .swiper-slide .img_swiper,
.section_press_gallery .swiper_gallery_2 .swiper-slide:nth-child(odd) .img_swiper,
.section_press_gallery .swiper_gallery_2 .swiper-slide:nth-child(2n) .img_swiper {
	height: auto;
	width: 100%;
}

/* the theme also insets every second slide with `padding: 0 32px`, which would make
   the even images narrower than the odd ones; level it so the width really is fixed */
.section_press_gallery .swiper_gallery_2 .swiper-slide:nth-child(2n) {
	padding: 0;
}

.section_press_gallery .swiper_gallery_2 .swiper-slide .img_swiper img {
	display: block;
	width: 100%;
	height: auto;
	-o-object-fit: fill;
	object-fit: fill;
}
