/* =========================================================
   HELP & GUIDES PAGE
   Structural CSS only.
   Keep colors, padding and block spacing editable in Gutenberg.
   ========================================================= */

.help-guides-section { margin: 0; }

.help-guides-hero-columns { align-items: center; }

.help-guides-hero-image {
	overflow: hidden;
	margin: 0;
	border-radius: 16px;
}

.help-guides-hero-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.help-guides-fact,
.help-guides-issue-card,
.help-guides-card {
	height: 100%;
}

.help-guides-issue-card {
	transition: transform .15s ease, box-shadow .15s ease;
}

.help-guides-issue-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--aupair-soft);
}

.help-guides-two-cards { align-items: stretch; }

.help-guides-two-cards > .wp-block-column { display: flex; }

.help-guides-card { width: 100%; }

/* Tabs */
.help-guides-topics-section .wp-block-tab-list {
	display: flex;
	flex-wrap: wrap;
	border: 0;
}

.help-guides-topics-section .wp-block-tab-list button {
	padding: 10px 18px;
	border: 1px solid var(--wp--preset--color--border-light) !important;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--body-text);
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
}

.help-guides-topics-section .wp-block-tab-list button[aria-selected="true"] {
	background: var(--wp--preset--color--host-mint);
	border: 1px solid var(--wp--preset--color--host-mint) !important;
	border-radius: 999px !important;
	color: var(--wp--preset--color--body-text) !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.help-guides-topics-section .wp-block-tab-list button[aria-selected="true"]::before,
.help-guides-topics-section .wp-block-tab-list button[aria-selected="true"]::after {
	display: none !important;
	content: none !important;
}

.help-guides-topics-section .wp-block-tab-panels { border: 0; }

.help-guides-topics-section .wp-block-tab-panel {
	margin-top: var(--wp--preset--spacing--30);
}

.help-guides-note p { margin: 0; }

.help-guides-authority { max-width: 860px; }

/* FAQ */
.help-guides-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);
}

.help-guides-faq .wp-block-details summary {
	padding: 16px 0;
	font-weight: 600;
	cursor: pointer;
}

.help-guides-faq .wp-block-details p { padding-bottom: 16px; }

.help-guides-final-cta { text-align: center; }

@media (max-width: 1024px) {
	.help-guides-facts,
	.help-guides-issue-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.help-guides-hero-columns,
	.help-guides-two-cards {
		flex-direction: column;
	}

	.help-guides-hero-columns > .wp-block-column,
	.help-guides-two-cards > .wp-block-column {
		flex-basis: 100% !important;
	}

	.help-guides-facts,
	.help-guides-issue-grid {
		grid-template-columns: 1fr;
	}
}
