/* ==========================================================================
   Summer programs grid
   The [summer_programs] shortcode, moved from the theme's css/summer-programs.css.
   The base card rules (.result-card, .result-content, .result-info, etc.) come
   from the plugin's university-search.css; only what differs is restated here:
   the wrapper spacing, the meta label column, the pair of buttons on each card
   and the Load More button under the grid.
   ========================================================================== */

.filterpagebody.summer-programs {
	padding: 0;
}

.summer-programs .result-info-item p:first-child {
	flex: 0 0 95px;
}
.summer-programs .result-card .result-info-item {
    display: flex;
    gap: 16px;
}
/* ==========================================================================
   Card buttons
   ========================================================================== */

.summer-programs .result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
}

.summer-programs .result-content .result-actions a.filterpagebody-btn {
	flex: 1 1 120px;
	width: auto;
	margin-top: 0;
}

.summer-programs .result-content a.filterpagebody-btn-primary {
	background: var(--e-global-color-accent, #eea63f);
	border-color: var(--e-global-color-accent, #eea63f);
	box-shadow: inset 0 -10px 20px rgba(255, 255, 255, 0.4);
}

.summer-programs .result-content a.filterpagebody-btn-primary:hover {
	box-shadow: none;
}

/* ==========================================================================
   Load more
   ========================================================================== */

.summer-programs-footer {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.summer-programs-more {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	border: 1px solid #000000;
	border-radius: 4px;
	background: transparent;
	box-shadow: none !important;
	color: #000 !important;
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	cursor: pointer;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease,
		opacity 0.25s ease;
}

.summer-programs-more:hover,
.summer-programs-more:focus-visible {
	background: var(--e-global-color-accent, #eea63f);
	border-color: var(--e-global-color-accent, #eea63f);
}

.summer-programs-more[disabled] {
	opacity: 0.5;
	cursor: wait;
}

.summer-programs-footer[hidden] {
	display: none;
}

.summer-programs-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.summer-programs-error {
	margin: 8px 0 0;
	color: #b42318;
	font-size: 14px;
	text-align: center;
}

.summer-programs-error[hidden] {
	display: none;
}

.summer-programs-empty {
	margin: 0;
	padding: 32px 0;
	color: var(--e-global-color-08ec0f6);
	font-size: 16px;
	text-align: center;
}
.result-card.summer-program-card .result-content > p {
    font-size: 14px;
    line-height: 1.35;
}

.filterpagebody .summer-programs-grid{
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
	.summer-programs .result-actions {
		gap: 8px;
	}

	.summer-programs-footer {
		margin-top: 24px;
	}

	.summer-programs-more {
		padding: 10px 16px;
		font-size: 16px;
		line-height: 20px;
	}
	.result-card.summer-program-card .result-content h3 {
		font-size: 20px !important;
		line-height: 1.35;
	}
}
