/**
 * Desktop-layout-only mode — simulates a 1280px layout viewport on all screen widths.
 * Load this file LAST (after all other stylesheets).
 */
html.desktop-layout-only {
	overflow-x: hidden;
}

html.desktop-layout-only body {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	overflow-x: hidden;
}

html.desktop-layout-only.desktop-layout-fit body {
	width: 1280px !important;
	max-width: 1280px !important;
	min-width: 1280px !important;
}

/* Bootstrap container — always use desktop (xl) width */
html.desktop-layout-only .container,
html.desktop-layout-only .container-sm,
html.desktop-layout-only .container-md,
html.desktop-layout-only .container-lg,
html.desktop-layout-only .container-xl,
html.desktop-layout-only .container-xxl {
	max-width: 1140px !important;
	width: 100% !important;
}

/* Bootstrap lg grid (min-width: 992px) — always active */
html.desktop-layout-only .col-lg-auto { flex: 0 0 auto !important; width: auto !important; }
html.desktop-layout-only .col-lg-1 { flex: 0 0 auto !important; width: 8.3333333333% !important; }
html.desktop-layout-only .col-lg-2 { flex: 0 0 auto !important; width: 16.6666666667% !important; }
html.desktop-layout-only .col-lg-3 { flex: 0 0 auto !important; width: 25% !important; }
html.desktop-layout-only .col-lg-4 { flex: 0 0 auto !important; width: 33.3333333333% !important; }
html.desktop-layout-only .col-lg-5 { flex: 0 0 auto !important; width: 41.6666666667% !important; }
html.desktop-layout-only .col-lg-6 { flex: 0 0 auto !important; width: 50% !important; }
html.desktop-layout-only .col-lg-7 { flex: 0 0 auto !important; width: 58.3333333333% !important; }
html.desktop-layout-only .col-lg-8 { flex: 0 0 auto !important; width: 66.6666666667% !important; }
html.desktop-layout-only .col-lg-9 { flex: 0 0 auto !important; width: 75% !important; }
html.desktop-layout-only .col-lg-10 { flex: 0 0 auto !important; width: 83.3333333333% !important; }
html.desktop-layout-only .col-lg-11 { flex: 0 0 auto !important; width: 91.6666666667% !important; }
html.desktop-layout-only .col-lg-12 { flex: 0 0 auto !important; width: 100% !important; }

/* Bootstrap xl grid (min-width: 1200px) — always active */
html.desktop-layout-only .col-xl-auto { flex: 0 0 auto !important; width: auto !important; }
html.desktop-layout-only .col-xl-1 { flex: 0 0 auto !important; width: 8.3333333333% !important; }
html.desktop-layout-only .col-xl-2 { flex: 0 0 auto !important; width: 16.6666666667% !important; }
html.desktop-layout-only .col-xl-3 { flex: 0 0 auto !important; width: 25% !important; }
html.desktop-layout-only .col-xl-4 { flex: 0 0 auto !important; width: 33.3333333333% !important; }
html.desktop-layout-only .col-xl-5 { flex: 0 0 auto !important; width: 41.6666666667% !important; }
html.desktop-layout-only .col-xl-6 { flex: 0 0 auto !important; width: 50% !important; }
html.desktop-layout-only .col-xl-7 { flex: 0 0 auto !important; width: 58.3333333333% !important; }
html.desktop-layout-only .col-xl-8 { flex: 0 0 auto !important; width: 66.6666666667% !important; }
html.desktop-layout-only .col-xl-9 { flex: 0 0 auto !important; width: 75% !important; }
html.desktop-layout-only .col-xl-10 { flex: 0 0 auto !important; width: 83.3333333333% !important; }
html.desktop-layout-only .col-xl-11 { flex: 0 0 auto !important; width: 91.6666666667% !important; }
html.desktop-layout-only .col-xl-12 { flex: 0 0 auto !important; width: 100% !important; }

/* col-md-6 must NOT override col-xl-3 / col-lg-3 on card grids (4-up previews) */
html.desktop-layout-only .col-xl-3.col-lg-3.col-md-6,
html.desktop-layout-only .col-xl-3.col-md-6,
html.desktop-layout-only .col-lg-3.col-md-6 {
	flex: 0 0 auto !important;
	width: 25% !important;
	max-width: 25% !important;
}

/* Header — full desktop nav at every width */
html.desktop-layout-only .mobile-nav__wrapper,
html.desktop-layout-only .mobile-nav__buttons {
	display: none !important;
	visibility: hidden !important;
}

html.desktop-layout-only .main-menu .mobile-nav__toggler,
html.desktop-layout-only .showformobile {
	display: none !important;
}

html.desktop-layout-only .main-menu__top {
	display: block !important;
}

html.desktop-layout-only .main-menu__right {
	display: flex !important;
}

html.desktop-layout-only .main-menu__left {
	display: flex !important;
	align-items: center !important;
	gap: 50px !important;
	flex: unset !important;
	justify-content: unset !important;
}

html.desktop-layout-only .main-menu__main-menu-box {
	display: flex !important;
}

/* Nav links hidden below 1200px in theme CSS — always show in desktop-layout-only */
html.desktop-layout-only .main-menu .main-menu__list,
html.desktop-layout-only .main-menu .main-menu__list > li > ul,
html.desktop-layout-only .main-menu .main-menu__list > li > ul > li > ul,
html.desktop-layout-only .stricky-header .main-menu__list,
html.desktop-layout-only .stricky-header .main-menu__list > li > ul,
html.desktop-layout-only .stricky-header .main-menu__list > li > ul > li > ul {
	display: flex !important;
}

html.desktop-layout-only .main-menu__logo img {
	width: 60px !important;
	height: 60px !important;
	max-height: none !important;
}

html.desktop-layout-only .stricky-header {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Homepage About — keep desktop layout (override home-layout-shell.css breakpoints) */
html.desktop-layout-only .page-home .about-One {
	padding: 40px 0 40px !important;
}

html.desktop-layout-only .page-home .about-One__left {
	max-width: none !important;
	margin: 0 !important;
	margin-right: 254px !important;
}

html.desktop-layout-only .page-home .about-One__img-box {
	min-height: 554px !important;
}

html.desktop-layout-only .page-home .about-One__img-2 {
	position: absolute !important;
	top: 184px !important;
	right: -224px !important;
	bottom: auto !important;
	left: auto !important;
	margin-top: 0 !important;
	max-width: calc(100% - 20px) !important;
	width: 370px !important;
	height: 370px !important;
}

html.desktop-layout-only .page-home .about-One__right {
	max-width: none !important;
	margin: 89px 0 0 !important;
}

/* Page banners — aspect-ratio only (no vw min-height; avoids crop on wide screens) */
html.desktop-layout-only.desktop-layout-fit .customHeightSetup.page-header {
	min-height: 0 !important;
}

html.desktop-layout-only.desktop-layout-fit #page-banner-persist-fixed,
html.desktop-layout-only.desktop-layout-fit #page-banner-same-splash {
	top: 132px !important;
	left: max(0px, calc((100vw - 1280px) / 2)) !important;
	width: 1280px !important;
	height: auto !important;
	aspect-ratio: 1832 / 858 !important;
	background-size: contain !important;
	border-radius: 12px !important;
	overflow: hidden !important;
}

/* Listing pages — WOW card entrance (reinforce after deferred CSS) */
body.page-listing .blog-list .wow:not(.animated),
body.page-listing .donation-page .wow:not(.animated),
body.page-listing .product .row .wow:not(.animated),
body.page-listing .volunteer-page .wow:not(.animated) {
	visibility: hidden !important;
}

body.page-listing .blog-list .wow.animated,
body.page-listing .donation-page .wow.animated,
body.page-listing .product .row .wow.animated,
body.page-listing .volunteer-page .wow.animated {
	visibility: visible !important;
}

/* Homepage — WOW cards stay visible at every width (match phone portrait) */
body.page-home .found-one .wow,
body.page-home .blog-one .wow,
body.page-home .wow:not(.animated),
body.page-home .wow.animated {
	visibility: visible !important;
}

@media (max-width: 1199px) {
	html.desktop-layout-only .stricky-header {
		display: none !important;
	}

	html.desktop-layout-only .mobile-nav__buttons {
		display: none !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	html.desktop-layout-only .main-menu__top {
		display: block !important;
	}

	html.desktop-layout-only .main-menu__call {
		display: revert !important;
	}
}

@media (max-width: 767px) {
	html.desktop-layout-only .main-menu__top {
		display: block !important;
	}

	html.desktop-layout-only .main-menu__right {
		display: flex !important;
	}

	html.desktop-layout-only .main-menu__left {
		display: flex !important;
		align-items: center !important;
		gap: 50px !important;
		flex: unset !important;
		justify-content: unset !important;
	}

	html.desktop-layout-only #page-banner-persist-fixed,
	html.desktop-layout-only #page-banner-same-splash {
		top: 132px !important;
	}
}
