.samba-schools-container {
	font-family: var(--e-global-typography-primary-font-family), sans-serif;
	background-color: transparent;
	padding: 20px 0;
	position: relative;
}

.samba-title-wrapper {
	text-align: left;
	margin-bottom: 30px;
}

.samba-main-title {
	color: #301560;
	font-weight: 700;
	font-size: 1.8rem; /* Reduced font size for minimalism */
	margin: 0;
}

.samba-group {
	margin-bottom: 50px;
}

.samba-group-title {
	color: #301560;
	font-weight: 600;
	font-size: 1.3rem;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(48, 21, 96, 0.1);
}

.samba-schools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* slightly smaller minmax for a cleaner grid */
	gap: 20px;
}

.samba-school-item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #f0f0f0; /* Subtler border */
	border-radius: 4px; /* More modern, smaller radius */
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.samba-school-item:hover {
	border-color: rgba(48, 21, 96, 0.2);
	box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Subtle shadow on hover */
}

.samba-school-photo {
	width: 100%;
	position: relative;
	overflow: hidden;
	background-color: #fcfcfc;
	cursor: zoom-in;
}

.samba-school-photo::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.02);
	pointer-events: none;
}

.samba-school-img {
	width: 100%;
	height: 250px; /* Reduced default image height for a minimal look */
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.samba-school-item:hover .samba-school-img {
	transform: scale(1.02);
}

.samba-school-info {
	padding: 16px 20px; /* Reduced padding */
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.samba-school-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
}

.samba-school-name {
	font-weight: 600;
	font-size: 1.2rem;
	color: #222;
	line-height: 1.3;
}

.samba-school-league {
	font-size: 0.8rem;
	font-weight: 500;
	color: #777;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding-left: 10px;
	position: relative;
}

.samba-school-league::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: currentColor;
}

.samba-school-btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0 0 0;
	font-weight: 500;
	font-size: 0.95rem;
	color: #301560;
	text-decoration: none;
	border-top: 1px solid #f0f0f0;
	transition: color 0.2s ease;
}

.samba-school-btn svg {
	transition: transform 0.2s ease;
}

.samba-school-btn:hover {
	color: #1a0b33;
}

.samba-school-btn:hover svg {
	transform: translateX(4px);
}

/* Modal Styles */
.samba-image-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.samba-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
}

.samba-modal-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	z-index: 1;
	animation: modalFadeIn 0.2s ease-out forwards;
}

.samba-modal-img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	display: block;
}

.samba-modal-close {
	position: absolute;
	top: -35px;
	right: 0;
	background: none;
	border: none;
	color: #222;
	font-size: 2rem;
	font-weight: 300;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	transition: opacity 0.2s ease;
}

.samba-modal-close:hover {
	opacity: 0.6;
}

@keyframes modalFadeIn {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
