/* =========================================================
   FIND A HOST FAMILY PAGE
   Structural CSS only.
   Colors, padding and Gutenberg block spacing remain editable.
   ========================================================= */

.find-host-section {
	margin: 0;
}

/* HERO */
.find-host-hero-columns {
	align-items: center;
}

.find-host-hero-image {
	overflow: hidden;
	margin: 0;
	border-radius: 16px;
}

.find-host-hero-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* QUICK FACTS — Gutenberg Grid controls spacing */
.find-host-facts {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.find-host-fact {
	height: 100%;
}

/* TWO-CARD SECTIONS */
.find-host-two-cards {
	align-items: stretch;
}

.find-host-two-cards > .wp-block-column {
	display: flex;
}

.find-host-card {
	width: 100%;
	height: 100%;
}

/* TABLES */
.find-host-table {
	width: 100%;
	overflow-x: auto;
}

.find-host-table table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
}

.find-host-table th,
.find-host-table td {
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
	border: 1px solid var(--wp--preset--color--border-light);
}

.find-host-table thead th {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.find-host-table tbody th {
	font-weight: 600;
}

/* STEPS — Gutenberg Grid controls spacing */
.find-host-steps-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.find-host-step {
	height: 100%;
	border: 1px solid var(--wp--preset--color--border-light);
}

/* NOTES */
.find-host-note p {
	margin: 0;
}

/* FAQ */
.find-host-faq .wp-block-details {
	padding: 0 20px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
}

.find-host-faq .wp-block-details summary {
	padding: 16px 0;
	font-weight: 600;
	cursor: pointer;
}

.find-host-faq .wp-block-details p {
	padding-bottom: 16px;
}

/* FINAL CTA */
.find-host-final-cta {
	text-align: center;
}

/* TABLET */
@media (max-width: 1024px) {
	.find-host-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.find-host-steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* MOBILE */
@media (max-width: 782px) {
	.find-host-hero-columns,
	.find-host-two-cards {
		flex-direction: column;
	}

	.find-host-hero-columns > .wp-block-column,
	.find-host-two-cards > .wp-block-column {
		flex-basis: 100% !important;
	}

	.find-host-facts,
	.find-host-steps-grid {
		grid-template-columns: 1fr;
	}

	.find-host-table table {
		min-width: 620px;
	}
}
