/*
Theme Name: 3Jays Property Group
Description: Kadence child theme for 3Jays Property Group LLC.
Author: Yoan Philippe
Template: kadence
Version: 0.3.1
Text Domain: threejays
*/

/* Native Details blocks: accessible accordion marker. */
.wp-block-details > summary {
	display: flex; gap: 1rem; justify-content: space-between;
	list-style: none; cursor: pointer;
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::after {
	content: "+"; font-size: 1.5em; line-height: 1;
	transition: transform 160ms ease;
}
.wp-block-details[open] > summary::after { transform: rotate(45deg); }
.threejays-footer-links {
	list-style: none; margin: 0; padding: 0;
}
.threejays-footer-links li + li { margin-top: .55rem; }
.threejays-mobile-cta { display: none; }
.frm-fluent-form :is(.ff-el-form-control, .ff-el-form-check-input, .ff-btn-submit):focus-visible,
.threejays-choice-cards .ff-el-form-check-label:has(input:focus-visible) {
	outline: 3px solid var(--global-palette1); outline-offset: 3px;
}

@media (max-width: 781px) {
	body { padding-bottom: 64px; }
	.threejays-mobile-cta {
		position: fixed; z-index: 9999; bottom: 0; left: 0;
		display: grid; grid-template-columns: 1fr 1.15fr; width: 100%;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, .16);
	}
	.threejays-mobile-cta a {
		display: grid; min-height: 64px; place-items: center;
		padding: .65rem .5rem; font-weight: 700;
		text-align: center; text-decoration: none;
	}
	.threejays-mobile-cta__call { background: var(--global-palette9); color: var(--global-palette3); }
	.threejays-mobile-cta__offer { background: var(--global-palette1); color: var(--global-palette9); }
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-details > summary::after { transition: none; }
}
