
/* WordPress-specific polish and component styling */

.screen-reader-text,
.sr-only {
	border: 0;
	clip: rect(1px,1px,1px,1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.bto-custom-logo img {
	max-height: 52px;
	width: auto;
}

.bto-desktop-menu,
.bto-mobile-menu,
.bto-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bto-desktop-menu li a {
	color: var(--color-gray-500);
	font-size: .875rem;
	font-weight: 500;
	transition: color .15s ease;
}
.bto-desktop-menu li.current-menu-item > a,
.bto-desktop-menu li.current_page_item > a,
.bto-desktop-menu li.current-menu-ancestor > a,
.bto-desktop-menu li a:hover {
	color: var(--color-orange-600);
}

.bto-mobile-menu li a {
	display: block;
	padding: .5rem .75rem;
	border-radius: .375rem;
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-gray-700);
}
.bto-mobile-menu li.current-menu-item > a,
.bto-mobile-menu li.current_page_item > a,
.bto-mobile-menu li a:hover {
	background: var(--color-orange-50);
	color: var(--color-orange-600);
}

.bto-footer-links li a {
	color: inherit;
	transition: color .15s ease;
}
.bto-footer-links li a:hover {
	color: var(--color-orange-500);
}

.bto-placeholder-image {
	background: linear-gradient(135deg, #fff7ed 0%, #f3f4f6 100%);
	min-height: 240px;
}

.bto-ad-slot > * {
	max-width: 100%;
}

.bto-ad-slot iframe,
.bto-ad-slot img {
	max-width: 100%;
}

.bto-share-buttons button {
	border: 0;
	cursor: pointer;
}

.bto-search-form {
	position: relative;
}

.bto-search-form .search-field {
	width: 100%;
	background: var(--color-gray-50);
	border: 1px solid var(--color-gray-200);
	border-radius: 9999px;
	padding: .5rem 2.5rem .5rem 1rem;
	font-size: .875rem;
}
.bto-search-form .search-field:focus {
	outline: none;
	border-color: transparent;
	box-shadow: 0 0 0 2px var(--color-orange-500);
}
.bto-search-form .search-submit {
	position: absolute;
	right: .75rem;
	top: .6rem;
	color: var(--color-gray-400);
	font-size: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.bto-search-form .search-submit::before {
	content: "";
	display: block;
	width: 1rem;
	height: 1rem;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat center / contain;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.wp-block-image img,
.post-thumbnail img {
	border-radius: 1.5rem;
}

.wp-block-button__link,
button,
input[type="submit"],
input[type="button"] {
	transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}

.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin-top: 4rem;
}
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	padding: .75rem 1rem;
	border: 1px solid var(--color-gray-200);
	border-radius: .75rem;
	background: #fff;
	color: var(--color-gray-600);
	font-weight: 700;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
	border-color: var(--color-orange-600);
	color: #fff;
	background: var(--color-orange-600);
}

.prose form {
	max-width: 100%;
}

.bto-toast {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	background: var(--color-gray-900);
	color: #fff;
	padding: .75rem 1rem;
	border-radius: .75rem;
	box-shadow: 0 12px 32px rgba(0,0,0,.18);
	font-size: .875rem;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}
.bto-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1023px) {
	.bto-desktop-menu {
		display: none;
	}
}
