/* One York House — Guest Hub card styling */
.oyh-guest-hub {
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px 0 50px;
}

.oyh-guest-hub .oyh-intro {
	max-width: 760px;
	margin: 0 auto 42px;
	text-align: center;
}

.oyh-guest-hub .oyh-intro h1,
.oyh-guest-hub .oyh-intro h2,
.oyh-guest-hub .oyh-card-title {
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: .02em;
}

.oyh-guest-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}

.oyh-guest-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 230px;
	padding: 30px 28px 26px;
	background: #fffdf9;
	border: 1px solid rgba(181, 154, 104, .38);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(70, 55, 35, .07);
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.oyh-guest-card::before {
	content: "";
	position: absolute;
	left: 28px;
	right: 28px;
	top: 0;
	height: 3px;
	background: #b59a68;
	opacity: .75;
}

.oyh-guest-card::after {
	content: "⌁";
	position: absolute;
	top: 8px;
	right: 22px;
	color: #b59a68;
	font-size: 22px;
	line-height: 1;
	opacity: .65;
}

.oyh-guest-card:hover {
	transform: translateY(-4px);
	border-color: rgba(181, 154, 104, .65);
	box-shadow: 0 14px 32px rgba(70, 55, 35, .12);
}

.oyh-guest-card .oyh-card-number {
	margin: 0 0 10px;
	color: #b59a68;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.oyh-guest-card .oyh-card-title {
	margin: 0 0 12px;
	color: #3f382f;
	font-size: 25px;
	line-height: 1.15;
}

.oyh-guest-card p {
	color: #625b52;
	line-height: 1.65;
}

.oyh-guest-card .wp-block-buttons {
	margin-top: auto;
	padding-top: 18px;
}

.oyh-guest-card .wp-block-button__link {
	background: transparent;
	color: #9a7d4b;
	border: 1px solid rgba(181, 154, 104, .55);
	border-radius: 999px;
	padding: 9px 17px;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.oyh-guest-card .wp-block-button__link:hover {
	background: #b59a68;
	color: #fff;
}

.oyh-deco-rule {
	width: 90px;
	height: 1px;
	margin: 18px auto 0;
	background: #b59a68;
	opacity: .65;
}

@media (max-width: 900px) {
	.oyh-guest-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.oyh-guest-hub {
		padding-left: 14px;
		padding-right: 14px;
	}
	
	.oyh-guest-card-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	
	.oyh-guest-card {
		min-height: 0;
		padding: 27px 23px 24px;
	}
	
	.oyh-guest-card .oyh-card-title {
		font-size: 23px;
	}
}

/* =========================================================
   ONE YORK HOUSE — GUEST HUB
   CLEAN CARD GRID
   ========================================================= */
.oyh-guest-card-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	max-width: 1100px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

/*
   WordPress creates an extra inner container inside
   Group blocks. "display: contents" makes the six
   cards behave as direct grid items.
*/
.oyh-guest-card-grid > .wp-block-group__inner-container {
	display: contents !important;
}

/* Individual cards */
.oyh-guest-card {
	display: flex !important;
	flex-direction: column !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

/* Prevent WordPress inner containers constraining card content */
.oyh-guest-card > .wp-block-group__inner-container {
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
}

/* Make headings behave normally */
.oyh-guest-card .oyh-card-title {
	width: auto !important;
	max-width: none !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

/* Make paragraph text behave normally */
.oyh-guest-card p {
	width: auto !important;
	max-width: none !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
}

/* TABLET */
@media (max-width: 900px) {
	.oyh-guest-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* MOBILE */
@media (max-width: 600px) {
	.oyh-guest-card-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Remove WordPress/theme decorative button elements */
.oyh-guest-card .wp-block-button__link::before,
.oyh-guest-card .wp-block-button__link::after,
.oyh-guest-card .wp-block-button::before,
.oyh-guest-card .wp-block-button::after {
	display: none !important;
	content: none !important;
}

/* Clean Guest Hub buttons */
.oyh-guest-card .wp-block-button__link {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #9a7d4b !important;
	padding: 8px 0 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
}

/* Simple gold underline */
.oyh-guest-card .wp-block-button__link {
	border-bottom: 1px solid rgba(181, 154, 104, .55) !important;
}

/* Subtle hover */
.oyh-guest-card .wp-block-button__link:hover {
	color: #6f5731 !important;
	background: transparent !important;
	border-bottom-color: #b59a68 !important;
}

/* =========================================
   ONE YORK HOUSE — FULL CARD LINKS
   ========================================= */
.oyh-guest-card {
	position: relative !important;
	cursor: pointer !important;
}

/* Stretch the existing link over the whole card */
.oyh-guest-card .wp-block-button {
	position: static !important;
}

.oyh-guest-card .wp-block-button__link {
	position: absolute !important;
	z-index: 10 !important;
	display: flex !important;
	align-items: flex-end !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	box-sizing: border-box !important;
	padding: 0 20px 28px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	color: #9a7d4b !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
}

/* Remove the theme's decorative button graphics */
.oyh-guest-card .wp-block-button__link::before,
.oyh-guest-card .wp-block-button__link::after,
.oyh-guest-card .wp-block-button::before,
.oyh-guest-card .wp-block-button::after {
	display: none !important;
	content: none !important;
}

/* Subtle card hover */
.oyh-guest-card:hover {
	transform: translateY(-4px) !important;
}

/* =========================================
   FIX FULL CARD CLICKABLE LINKS
   ========================================= */
.oyh-guest-card {
	position: relative !important;
}

/* Make the actual WordPress link receive clicks */
.oyh-guest-card .wp-block-button__link {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: auto !important;
	height: auto !important;
	z-index: 999 !important;
	pointer-events: auto !important;
	display: flex !important;
	align-items: flex-end !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	padding: 0 20px 28px !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* Remove theme decoration */
.oyh-guest-card .wp-block-button__link::before,
.oyh-guest-card .wp-block-button__link::after,
.oyh-guest-card .wp-block-button::before,
.oyh-guest-card .wp-block-button::after {
	content: none !important;
	display: none !important;
}

/* Keep the card above/below elements behaving normally */
.oyh-guest-card .wp-block-buttons {
	position: static !important;
	margin: 0 !important;
}

/* Make it obvious the whole card is interactive */
.oyh-guest-card:hover {
	cursor: pointer !important;
}

/* Hide WordPress / Jetpack sharing and Like sections */
.sharedaddy,
.sd-sharing-enabled,
.sd-like,
#jp-post-flair,
.post-likes-widget {
	display: none !important;
}

/* Hide the Edit link when viewing the site while logged in */
.post-edit-link {
	display: none !important;
}

/* =========================================================
   ONE YORK HOUSE – CLEAN GUEST INFO PAGES
   Remove WordPress / Jetpack clutter
   ========================================================= */
/* Share buttons */
.sharedaddy,
.sd-sharing-enabled,
.sd-social,
.sd-sharing,
.jp-sharing,
.wp-block-jetpack-sharing-buttons {
	display: none !important;
}

/* Like button */
.sd-like,
.post-likes-widget,
#jp-post-flair,
.jp-post-flair {
	display: none !important;
}

/* WordPress post/page navigation */
.wp-block-post-navigation-link,
.wp-block-query-pagination,
.post-navigation,
.navigation.post-navigation {
	display: none !important;
}

/* Comments and comment controls */
#comments,
.comments-area,
.wp-block-comments,
.wp-block-comment-template,
.wp-block-post-comments,
.comment-respond {
	display: none !important;
}

/* Author / date / metadata */
.wp-block-post-author,
.wp-block-post-date,
.wp-block-post-terms,
.entry-meta,
.post-meta,
.byline,
.author,
.entry-footer {
	display: none !important;
}

/* "Edit" link shown when you are logged into WordPress */
.post-edit-link,
.edit-link {
	display: none !important;
}

/* WordPress follow / subscribe elements */
.wp-block-jetpack-subscriptions,
.jetpack_subscription_widget,
#subscribe-email,
#subscribe-submit {
	display: none !important;
}

/* WordPress.com promotional / footer clutter */
.wp-block-jetpack-contact-info,
.wpcom-block {
/* Leave this here for now – don't hide globally */
}

/* Remove unnecessary space left after hidden elements */
.sharedaddy + *,
.sd-like + * {
	margin-top: 0 !important;
}