
/* Optional: Smooth transition for image resizing */
.module img.expandable {
  transition: all 0.4s ease;
  cursor: zoom-in;
  max-width: 100%;
  height: auto;
  display: block;
}

/* When expanded: fill the module container */
.module img.expanded {
  width: 100% !important;
  height: auto;
  object-fit: contain;
  cursor: zoom-out;
}

.module.expanded {
  height: auto !important;
}

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

.cushycms li table {
	list-style-type: none;
	list-style-position:initial;
}
.cushycms {
	list-style-type: none;
	margin-left: 0px;
}

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

#mainbottom {
	color: #333 !important;
	font-size: 15px !important;
	line-height: 19px !important;
	text-align: left !important;
	width: 100% !important;
	margin-top: 15px !important;
	padding-top: 10px;
	font-weight: 400!important;
}

#maintop {
	color: #111 !important;
	font-size: 22px !important;
	line-height: 28px !important;
	text-align: left !important;
	width: 100% !important;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 10px;
	font-weight: bold;
}

.simple-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	overflow: hidden;
	padding: 0;
}

.simple-card img {
	width: 40%;
	object-fit: cover !important;
	display: block;
	height: auto;
}

.simple-card-text {
	width: 60%;
	padding: 30px 25px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #000;
	text-align: left;
	position: relative;
	z-index: 2;
	background: white;
}

.simple-card::before {
	content: none !important;
}

.simple-card-text h1,
.simple-card-text h2 {
	margin: 0;
	padding: 0;
}

.module-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.module {
	flex: 0 0 calc(50% - 30px);
	box-sizing: border-box;
}

/* DROPDOWN DISABLED */
.simple-dropdown {
	display: none !important;
}

.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;
}

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

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

/* Responsive adjustments */
@media (max-width: 792px) {
	.module {
		flex: 0 0 100%;
	}
	.simple-card {
		flex-direction: column;
	}
	.simple-card img {
		width: 100%;
		height: auto;
	}
	.simple-card-text {
		width: 100%;
		padding: 20px;
	}
}

@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;
	}
}


#mainbottom {
  max-width: 1000px;
  max-height: 1000px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

#mainbottom {
  max-width: 1000px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: block;
  position: relative;
}




.simple-card.expanded .simple-card-text {
  width: 100% !important;
  flex: 1 1 100% !important;
  padding: 30px 25px;
}
.simple-card.expanded img {
  display: none;
}

.module-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  z-index: 10;
}
