/* Lighthouse / a11y: mobile nav controls as buttons */
button#mobile_btn,
button#menu_close.menu-close {
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
	line-height: inherit;
}

@media (max-width: 991.98px) {
	#mobile_btn,
	#mobile_btn.dd-mobile-nav-toggle {
		display: inline-flex !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}

button#mobile_btn:focus-visible,
button#menu_close.menu-close:focus-visible {
	outline: 2px solid #15558d;
	outline-offset: 2px;
}

button.fav-btn {
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

/* Font Awesome webfonts: avoid invisible text during load */
@font-face {
	font-family: "Font Awesome 5 Brands";
	font-display: swap;
	src: url("../plugins/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"),
		url("../plugins/fontawesome/webfonts/fa-brands-400.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Font Awesome 5 Free";
	font-display: swap;
	src: url("../plugins/fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
		url("../plugins/fontawesome/webfonts/fa-regular-400.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Font Awesome 5 Free";
	font-display: swap;
	src: url("../plugins/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
		url("../plugins/fontawesome/webfonts/fa-solid-900.woff") format("woff");
	font-weight: 900;
	font-style: normal;
}

/* Hero CLS: stable layout (keep Poppins from style.css — do not override font-family) */
.dd-home-hero.section-search--with-showcase {
	min-height: 520px;
}

.dd-hero-header {
	min-height: 200px;
}

.dd-hero-title {
	min-height: 2.6em;
	font-weight: 700;
}

.dd-home-hero .dd-pill-label {
	font-weight: 700;
}

.dd-home-block__title,
.dd-home-block__title .dd-home-block__accent {
	font-weight: 700;
}

@media (max-width: 991px) {
	.dd-home-hero--live .dd-listing-hero__beam,
	.dd-home-hero--live .dd-listing-hero__aurora,
	.dd-home-hero--live .dd-listing-hero__widget,
	.dd-home-hero--live .dd-listing-hero__ring,
	.dd-home-hero--live .dd-listing-hero__ecg-line,
	.dd-home-hero--live .dd-listing-hero__float-card,
	.dd-home-hero--live .dd-listing-hero__orbit-dot,
	.dd-home-hero--live .dd-listing-hero__dot,
	.dd-home-hero--live .dd-listing-hero__icon,
	.dd-home-hero--live::before,
	.hero-insights::before {
		animation: none !important;
	}
}

.dd-listing-hero__bg {
	contain: layout style paint;
	overflow: hidden;
}

.hero-insights__chart-wrap {
	min-height: 160px;
}

@media (max-width: 991px) {
	.dd-listing-hero__aurora,
	.dd-listing-hero__beam {
		animation: none !important;
		opacity: 0.28;
	}

	.dd-home-hero.section-search--with-showcase {
		min-height: 480px;
	}

	.dd-animate {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
