/* Responsive Images and Content */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

main img,
.content img,
article img {
	max-width: 100%;
	height: auto;
}

main, .content, article {
	max-width: 100%;
	overflow-x: hidden;
}

/* Allow header to show dropdowns */
header, header > div, header nav,
.simple-header, .simple-header-inner, .simple-header nav {
	overflow: visible !important;
}

/* Force consistent header styling across all pages */
header,
.simple-header {
	direction: ltr !important;
	padding: 15px 20px !important;
}

header > div,
.simple-header-inner {
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
	direction: ltr !important;
	box-sizing: border-box !important;
}

/* Force all menu elements to be LTR */
header nav,
header nav ul,
header nav ul ul,
header nav li,
header nav a,
.simple-header nav,
.simple-nav,
.simple-nav li,
.simple-nav a,
.simple-nav ul,
.simple-nav .submenu,
.simple-nav .submenu li,
.simple-nav .submenu a {
	direction: ltr !important;
	text-align: left !important;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
	body {
		overflow-x: hidden;
	}
	
	img {
		max-width: 100% !important;
		height: auto !important;
		width: auto !important;
	}
	
	main {
		max-width: 100vw;
		overflow-x: hidden;
		padding: 10px;
	}
	
	main > div {
		max-width: 100%;
		overflow-x: hidden;
	}
	
	.chicken-road-iframe-container,
	iframe {
		max-width: 100% !important;
		width: 100% !important;
	}
	
	table {
		max-width: 100%;
		overflow-x: auto;
		display: block;
	}
}


/* Simple Footer Styles */
.simple-footer {
	background: #2c3e50;
	color: #fff;
	padding: 40px 20px 20px;
	margin-top: 60px;
}
.simple-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.simple-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}
.simple-footer-section h3 {
	color: #8dc63f;
	margin-bottom: 15px;
	font-size: 18px;
}
.simple-footer-section p,
.simple-footer-section a {
	color: #ecf0f1;
	text-decoration: none;
	line-height: 1.8;
}
.simple-footer-section a:hover {
	color: #8dc63f;
}
.simple-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}
.simple-footer-links li {
	margin-bottom: 10px;
}
.simple-footer-links a {
	color: #ecf0f1;
	text-decoration: none;
}
.simple-footer-links a:hover {
	color: #8dc63f;
}
.simple-footer-social {
	display: flex;
	gap: 15px;
	margin-top: 15px;
}
.simple-footer-social a {
	color: #ecf0f1;
	font-size: 20px;
	text-decoration: none;
}
.simple-footer-social a:hover {
	color: #8dc63f;
}
.simple-footer-bottom {
	border-top: 1px solid #34495e;
	padding-top: 20px;
	text-align: center;
	font-size: 13px;
	color: #95a5a6;
}
.simple-footer-bottom a {
	color: #95a5a6;
	text-decoration: none;
}
.simple-footer-bottom a:hover {
	color: #8dc63f;
}
@media (max-width: 768px) {
	.simple-footer-grid {
		grid-template-columns: 1fr;
	}
}

/* Hide any WordPress menu or duplicate menu content that appears as plain text */
.mkdf-page-header,
.mkdf-header,
.mkdf-menu-area,
.mkdf-main-menu,
.wp-menu,
.main-navigation,
.mkdf-header-holder {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
}

/* Hide WordPress menu classes that are NOT in header */
body > nav,
main nav,
.mkdf-side-menu-button-opener {
	display: none !important;
}

/* Hide WordPress menu items outside header */
body > ul.menu,
main ul.menu,
#menu-menu-1:not([class*="header"]),
.menu-menu-1:not([class*="header"]) {
	display: none !important;
}

/* Ensure our header nav is always visible */
header nav {
	display: block !important;
	visibility: visible !important;
}

