/* =========================================
   WSYB Association List Report
   ========================================= */

.wsyb-association-list-report {
	margin: 0 auto;
	max-width: 1200px;
	padding: 1rem;
}

/* Title */
.wsyb-association-title {
	margin: 0 0 0.5rem 0;
}

/* Subtitle */
.wsyb-association-subtitle {
	margin: 0 0 1.5rem 0;
}

/* =========================================
   Grid Layout
   ========================================= */

.wsyb-association-grid {
	display: grid;
	grid-template-columns: repeat(var(--wsyb-assoc-cols, 4), minmax(0, 1fr));
	gap: 1.75rem;
	align-items: stretch;
}

/* Responsive */
@media (max-width: 1024px) {
	.wsyb-association-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.wsyb-association-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.wsyb-association-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================
   Card Layout (Uniform Height Across Grid)
   ========================================= */

.wsyb-association-card {
    background: #fff;
    overflow: hidden;
    display: flex;

    /* Set consistent height for all cards */
    min-height: 260px;


	/* Subtle Hover Animation */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle Hover Animation */
.wsyb-association-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.wsyb-association-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	padding: 1rem;

	flex: 1;
}

/* =========================================
   Logo Section
   ========================================= */

.wsyb-association-logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;

	/* Logo area fills available vertical space */
	flex: 1;

	margin-bottom: 0.75rem;
}

/* Scale logo proportionally */
.wsyb-association-logo {
	display: block;
	max-width: 100%;
	max-height: 140px;

	width: auto;
	height: auto;

	object-fit: contain;
}

/* Fallback if no logo */
.wsyb-association-logo-missing {
	border: 1px dashed rgba(0, 0, 0, 0.25);
	border-radius: 8px;
	color: rgba(0, 0, 0, 0.6);

	width: 100%;
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: center;
}

/* =========================================
   Association Name
   ========================================= */

.wsyb-association-name {
	text-align: center;
	font-weight: 600;
	line-height: 1.2;

	min-height: 2.4em;
}
