/**
 * Program Related Studies — the list wrapper and heading fallback only.
 *
 * The divider, item spacing and heading appearance are Elementor controls;
 * they emit more specific selectors and so override the fallbacks below. No
 * default border is set here — "Divider style" defaults to solid in the
 * panel, so the line an editor sees comes from that control, not this file.
 */

.irpp-related-studies__heading {
	margin: 0 0 1.25rem;
	padding-top: 0.75rem;
	border-top: 3px solid #231F20;
	font-size: 1.25rem;
}

.irpp-related-studies__item {
	min-width: 0;
}

/*
 * --- "See all" button ---
 *
 * Shared class names rather than this widget's BEM prefix: the same button is
 * built by Controls::add_button_field() in several widgets, and one set of
 * names keeps its markup helper free of per-widget arguments. Elementor scopes
 * every selector to the widget instance anyway, so two widgets on a page cannot
 * style each other.
 */

.irpp-button-wrap {
	margin-top: 2rem;
}

.irpp-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #940027;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.irpp-button-icon {
	display: inline-flex;
	flex: 0 0 auto;
}

.irpp-button svg {
	width: 1em;
	height: 1em;
	fill: #940027;
}

.irpp-button--pill {
	padding: 0.85rem 2rem;
	border: 2px solid #940027;
	border-radius: 999px;
	background: transparent;
	transition: background 0.2s ease, color 0.2s ease;
}

.irpp-button--pill:hover,
.irpp-button--pill:focus-visible {
	background: #940027;
	color: #FFFFFF;
}

.irpp-button--pill:hover svg,
.irpp-button--pill:focus-visible svg {
	fill: #FFFFFF;
}

.irpp-button--arrow svg {
	transition: transform 0.2s ease;
}

.irpp-button--arrow:hover svg {
	transform: translateX( 0.25rem );
}

@media ( prefers-reduced-motion: reduce ) {

	.irpp-button,
	.irpp-button--arrow svg {
		transition: none;
	}
}
