/**
 * Supplemental styles for the WordPress listing/archive wrappers.
 *
 * The bulk of the design ships in styles.css (ported from spiro). This file
 * only covers the few new wrappers introduced by the WP rebuild (blog cards,
 * amenity cards, faq accordion, filter buttons) so they inherit the look.
 */

/* ---- Filter buttons (attractions / gallery) ---------------------------- */
.attraction-filter,
.gallery-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 24px auto;
}
.attraction-filter .filter-btn,
.gallery-filter .filter-btn {
	cursor: pointer;
	padding: 6px 18px;
	border: 1px solid #b8975a;
	color: #5b5b5b;
	text-decoration: none;
	border-radius: 2px;
	transition: all .25s ease-out;
}
.attraction-filter .filter-btn.active,
.attraction-filter .filter-btn:hover,
.gallery-filter .filter-btn.active,
.gallery-filter .filter-btn:hover {
	background: #b8975a;
	color: #fff;
}

/* ---- Amenities grid ---------------------------------------------------- */
.amenities_wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding: 40px 0;
}
.amenities_wrapper .amenity-card {
	display: block;
	width: calc( 33.333% - 16px );
	text-decoration: none;
	color: inherit;
}
.amenities_wrapper .amenity-card-img {
	overflow: hidden;
}
.amenities_wrapper .amenity-card img {
	width: 100%;
	display: block;
	transition: transform 4s ease-out;
}
.amenities_wrapper .amenity-card:hover img {
	transform: scale( 1.08 );
}
.amenities_wrapper .amenity-card h2 {
	margin-top: 12px;
	text-align: center;
}

/* ---- Blog cards -------------------------------------------------------- */
.blog_index_wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	padding: 40px 0;
}
.blog_index_wrapper .blog-li {
	display: block;
	width: calc( 50% - 16px );
	text-decoration: none;
	color: inherit;
}
.blog_index_wrapper .blog-li img {
	width: 100%;
	display: block;
}
.blog_thumb_text {
	padding-top: 16px;
}
.blog_thumb_date {
	color: #999;
	font-size: .85em;
	text-align: right;
}

/* ---- FAQ accordion ----------------------------------------------------- */
.faq_wrapper {
	max-width: 900px;
	margin: 40px auto;
}
.faq_wrapper .faq-item {
	border-bottom: 1px solid #e2e2e2;
}
.faq_wrapper .question {
	cursor: pointer;
	position: relative;
	padding: 20px 40px 20px 0;
	margin: 0;
	font-size: 1.15em;
}
.faq_wrapper .question:after {
	content: '+';
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY( -50% );
	color: #b8975a;
	font-size: 1.4em;
}
.faq_wrapper .faq-item.open .question:after {
	content: '\2013';
}
.faq_wrapper .answer {
	display: none;
	padding: 0 0 20px;
}
.faq_wrapper .faq-item.open .answer {
	display: block;
}

/* RTL tweaks for the Hebrew site. */
[dir="rtl"] .faq_wrapper .question {
	padding: 20px 0 20px 40px;
}
[dir="rtl"] .faq_wrapper .question:after {
	right: auto;
	left: 6px;
}
[dir="rtl"] .blog_thumb_date {
	text-align: left;
}
