/*
 Theme Name: Avada Child
 Theme URI: https://maritimtforum.se/
 Description: Child theme för Avada
 Author: 2Creative
 Template: Avada
 Version: 1.0.0
 Text Domain: avada-child
*/

.members-grid {
	margin-top: 4rem;
	margin-bottom: 80px;
}

.members-grid__heading {
	text-align: center;
	margin-bottom: 2rem;
}

.members-grid__items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 2rem;
	align-items: stretch; /* alla cards lika höga i sin rad */
}

.members-grid__item {
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Bildplatta – samma höjd på alla, även utan logga */
.members-grid__media {
	height: 120px;            /* justera efter era loggor */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.members-grid__logo {
	max-width: 160px;
	max-height: 80px;
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

/* Blå remsa – samma höjd på alla */
.members-grid__name-wrap {
	background: #daedfa;
	min-height: 56px;         /* styr höjden på remsan */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.75rem;
}

.members-grid__name {
	font-size: 0.9rem;
	margin: 0;
	text-align: center;
}


.blue-card{
	background: #daedfa;
	padding: 30px;
}

.members-grid__item a.members-grid__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.members-grid__item:hover {
	box-shadow: 0 0 16px rgba(0,0,0,0.1);
	transition: 0.2s ease;
}