
/* Base Layout */
.blockname-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

/* Column Setup */
.blockname-wrap.columns-2 > .card {
	flex: 0 1 calc(50% - 15px);
	max-width: calc(50% - 15px);
}

.blockname-wrap.columns-3 > .card {
	flex: 0 1 calc(33.333% - 20px);
	max-width: calc(33.333% - 20px);
}

.blockname-wrap.columns-4 > .card {
	flex: 0 1 calc(25% - 22.5px);
	max-width: calc(25% - 22.5px);
}

/* Common Card Styles */
.card img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.card.shade {
	box-shadow: 2px 2px 14px 2px rgba(104, 104, 104, .18);
}

/* Style 1 */
.style1-style .card {
	background: white;
	position: relative;
	padding-bottom: 50px;
}

.style1-style.option .card-content {
	padding: 20px;
}

.style1-style.option .card-content h3 {
	margin: 0;
}

.style1-style .card-content a {
	display: flex;
	justify-content: flex-end;
	color: var(--primary);
	font-weight: 700;
	align-items: flex-end;
	text-decoration: none;
	position: absolute;
	bottom: 20px;
	right: 20px;
	height: 50px;
	transition: all .3s ease-in-out;
}

/* Style 2 */
.style2-style .blockname-wrap {
	gap: 100px 50px;
}

.style2-style .card {
	width: 300px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	max-width: 100%;
	margin: auto;
	position: relative;
}

.style2-style h3 {
	font-weight: 700;
	color: var(--primary);
}

.style2-style .card a {
	text-decoration: none;
	background: var(--primary);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	font-size: 14px;
	border-radius: 30px;
	font-weight: 600;
	width: calc(100% - 60px);
	margin: auto;
	transition: all .3s ease-in-out;
}

.style2-style .card a:hover {
	background: var(--secondary);
	color: white;
}

.style2-style .card a i {
	display: none;
}

.fawesome i {
	color: var(--secondary);
	font-size: 50px;
}

/* Style 3 */
.style3-style .blockname-wrap {
	gap: 80px 30px;
}

.style3-style .card {
	display: flex;
	justify-content: center;
}

.style3-style .card .card-content {
	width: 260px;
	max-width: 100%;
	position: relative;
}

.style3-style .card .copywrap h3 {
	margin: 0;
	color: var(--primary);
}

.style3-style .card .copywrap p {
	margin: 10px 0 10px;
	font-weight: 400;
}

.style3-style .card span {
	width: 40px;
	border: 1px solid var(--primary);
	height: 40px;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	font-family: var(--font1);
	font-weight: 600;
	color: var(--primary);
}

.style3-style .card-content a {
	display: flex;
	justify-content: flex-end;
	color: var(--primary);
	font-weight: 700;
	align-items: center;
	text-decoration: none;
	transition: all .3s ease-in-out;
}

/* Common Button/Link Styles */
.btnanchor {
	padding-left: 10px;
	font-weight: 500;
	transition: all .3s ease-in-out;
}

.style1-style .card-content a:hover, .style3-style .card-content a:hover {
	text-decoration: none;
}

.style1-style .card-content a:hover i, .style3-style .card-content a:hover i {
	transform: translateX(5px);
}

/* Number Display */
span.shownumbers {
	display: flex !important;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
	.blockname-wrap > .card {
		flex: 0 1 calc(33.333% - 20px) !important;
		max-width: calc(33.333% - 20px) !important;
	}
}

@media (max-width: 991px) {
	.blockname-wrap > .card {
		flex: 0 1 calc(50% - 15px) !important;
		max-width: calc(50% - 15px) !important;
	}
	
	.style3-style .blockname-wrap {
		gap: 50px;
	}
	
	.style3-style .card {
		justify-content: flex-start;
	}
	
	.style3-style .card .card-content {
		width: calc(100% - 65px) !important;
	}
}

@media (max-width: 767px) {
	.blockname-wrap > .card {
		flex: 0 1 100% !important;
		max-width: 100% !important;
	}
}
