#overtext {
	color: #FFF!important;
	font-size: 12px!important;
	text-align:center!important;
	width: 90%!importantl;
	margin-top: -15px!important;
}

#overtext2 {
	color: #FFF!important;
	font-size: 14px!important;
	text-align:center!important;
	width: 90%!importantl;
}

#mainbottom {
	color: #FFF!important;
	font-size: 14px!important;
	line-height: 17px!important;
	text-align:left!important;
	width: 100%!importantl;
	margin-top: -15px!important;
	padding-top: 10px!important;
}

#maintop {
	color: #FFF!important;
	font-size: 20px!important;
	line-height: 24px!important;
	text-align:left!important;
	width: 100%!importantl;
	
}

.simple-card {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	cursor: pointer;
}

.simple-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
	z-index: 1;
}

.simple-card img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	z-index: 0 !important;
}

.simple-card-text {
	position: absolute;
	bottom: 25px;
	left: 25px;
	right: 10px;
	color: white;
	z-index: 2;
}

.simple-card-text h1 {
	font-size: 1.8em;
	font-weight: bold;

	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	white-space: normal;
	max-width: 1000px;
	max-height: 70px;
}

.simple-card-text p {
	font-size: 1em;
	margin-top: 0.5em;
	max-width: 90%;

	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	white-space: normal;
	max-width: 1000px;
	max-height: 120px;
}

/* .simple-dropdown {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	z-index: 3;
	opacity: 0;
	transform: translateY(-100%);
	transition: transform 0.5s ease, opacity 0.5s ease;
} */

.simple-card:hover .simple-dropdown {
	opacity: 1;
	transform: translateY(0);
}

.simple-dropdown-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	width: 90%;
}

.simple-dropdown-content img.simple-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
	margin-top: -25px;
}

.simple-dropdown-content h2 {
	font-size: 1.6em;
	margin-bottom: 0.5em;
}

.simple-dropdown-content p {
	font-size: 1em;
	max-width: 80%;
	margin: 0 auto;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, sans-serif;
	overflow-x: auto;
	padding: 20px;
	background: #f5f5f5;
}

.module-container {
	display: flex;
	gap: 15px;
	width: max-content;
}

.module {
	width: 250px;
	min-width: 450px;
	background: #fff;
	/*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	padding: 0px;
}

.module img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

.module p {
	margin-top: 10px;
	font-size: 16px;
	color: #333;
}

@media (max-width: 768px) {
	/*.module {
		width: 200px;
		min-width: 200px;
	}*/
}

@media (max-width: 480px) {
	.simple-card-text h1 {
		font-size: 1.3em;
	}

	.simple-card-text p {
		font-size: 0.9em;
	}

	.simple-dropdown-content h2 {
		font-size: 1.2em;
	}

	.simple-dropdown-content p {
		font-size: 0.9em;
	}

	.simple-dropdown-content img.simple-icon {
		width: 40px;
		height: 40px;
		margin-bottom: 10px;
	}
}



/* Force modules to stay in a horizontal row, not wrap */
.cushycms.module-wrapper {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  width: max-content;
  white-space: nowrap;
}

.cushycms.module-wrapper .module-item {
  display: inline-block;
  vertical-align: top;
  width: 250px;
  min-width: 250px;
  box-sizing: border-box;
}



/* Force modules to stay in a single horizontal row without wrapping */
.cushycms.module-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  white-space: nowrap;
}

.cushycms.module-wrapper .module-item {
  flex: 0 0 auto !important;
  display: block;
  width: auto;
}
