/*
Theme Name: Casual Entertainment Hub
Theme URI: https://casualentertainmenthub.com
Version: 1.0
Description: Our Casual Entertainment Hub Theme.
Author: Casual Entertainment Hub
Author URI: https://casualentertainmenthub.com
template: bb-theme
*/

/* Fix header overlap issue */
#fl-main-content {
	padding-top: 150px !important;
}

/* Header styles */
header.fl-builder-content[data-type="header"] {
	position: relative;
	z-index: 1000;
}

/* Responsive styles for header */
@media (max-width: 992px) {
	#fl-main-content {
		padding-top: 200px !important;
	}
}

@media (max-width: 768px) {
	#fl-main-content {
		padding-top: 180px !important;
	}
	
	header.fl-builder-content[data-type="header"] .fl-row {
		padding: 10px 0;
	}
	
	header.fl-builder-content[data-type="header"] h2 {
		font-size: 0.9em !important;
		padding: 5px 10px !important;
	}
}

@media (max-width: 500px) {
	#fl-main-content {
		padding-top: 160px !important;
	}
	
	header.fl-builder-content[data-type="header"] h2 {
		font-size: 0.75em !important;
		padding: 5px !important;
		line-height: 1.2 !important;
	}
}

/* Responsive styles for game cards */
.fl-module-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.fl-module-box > div {
	max-width: 300px;
	width: 100%;
}

/* Override inline styles for game cards on mobile */
@media (max-width: 768px) {
	.fl-module-box {
		gap: 20px;
	}
	
	.fl-module-box > div,
	.fl-module-box > div[style*="max-width: 300px"] {
		max-width: 100% !important;
		width: 100% !important;
	}
	
	.fl-module-box > div img[style*="max-width: 250px"] {
		max-width: 100% !important;
	}
}

@media (max-width: 500px) {
	.fl-module-box {
		gap: 15px;
	}
	
	.fl-module-box > div {
		padding: 15px !important;
	}
}

/* Responsive styles for buttons */
.fl-button {
	white-space: nowrap;
}

@media (max-width: 500px) {
	.fl-button {
		padding: 10px 20px !important;
		font-size: 0.9em !important;
	}
}

/* Responsive styles for headings */
h1 {
	font-size: 2.5em !important;
}

h2 {
	font-size: 2em !important;
}

@media (max-width: 768px) {
	h1 {
		font-size: 2em !important;
	}
	
	h2 {
		font-size: 1.5em !important;
	}
	
	h3 {
		font-size: 1.3em !important;
	}
}

@media (max-width: 500px) {
	h1 {
		font-size: 1.5em !important;
	}
	
	h2 {
		font-size: 1.3em !important;
	}
	
	h3 {
		font-size: 1.1em !important;
	}
}

/* Responsive styles for text */
p {
	font-size: 1.1em;
	line-height: 1.8;
}

@media (max-width: 768px) {
	p {
		font-size: 1em;
		line-height: 1.6;
	}
}

@media (max-width: 500px) {
	p {
		font-size: 0.9em;
		line-height: 1.5;
	}
}

/* Responsive styles for images */
.fl-photo-img,
img {
	max-width: 100%;
	height: auto;
}

/* Responsive styles for iframes */
iframe {
	max-width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	iframe {
		height: 400px !important;
	}
}

@media (max-width: 500px) {
	iframe {
		height: 300px !important;
	}
}

/* Responsive styles for cookie consent */
#cookie-consent {
	padding: 15px !important;
}

#cookie-consent > div {
	flex-direction: column;
	text-align: center;
}

#cookie-consent button {
	width: 100%;
	margin-top: 10px;
}

/* Responsive styles for menu */
.fl-menu-horizontal {
	display: flex;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.fl-menu-horizontal {
		flex-direction: column;
	}
}

/* Responsive padding for content sections */
.fl-row {
	padding: 40px 20px;
}

/* Override inline padding styles */
.fl-row[style*="padding: 60px 20px"] {
	padding: 60px 20px !important;
}

@media (max-width: 992px) {
	.fl-row[style*="padding: 60px 20px"] {
		padding: 40px 20px !important;
	}
}

@media (max-width: 768px) {
	.fl-row {
		padding: 30px 15px;
	}
	
	.fl-row[style*="padding: 60px 20px"] {
		padding: 30px 15px !important;
	}
}

@media (max-width: 500px) {
	.fl-row {
		padding: 20px 10px;
	}
	
	.fl-row[style*="padding: 60px 20px"] {
		padding: 20px 10px !important;
	}
}

/* Responsive styles for info boxes */
.uabb-infobox {
	margin-bottom: 30px;
}

@media (max-width: 768px) {
	.uabb-infobox {
		margin-bottom: 20px;
	}
}

/* Responsive styles for accordion */
.uabb-adv-accordion {
	margin-bottom: 20px;
}

@media (max-width: 500px) {
	.uabb-adv-accordion-button-label {
		font-size: 0.9em !important;
	}
} 