/* Skin-type tiles for [sg_home_skin_types]. The track, bleed and arrows
   come from homepage-strip.css. Selectors are scoped under .sg-home-skin so
   they outrank the theme's .entry-content h2 / img rules. */

/* Type comes from the theme's .h2 utility (custom.css), the same class the
   other homepage section titles use. Only alignment and spacing live here,
   matching the Spectra heading blocks around it. */
.sg-home-skin h2.sg-home-skin__title {
	margin: 0 0 15px;
	padding: 0;
	text-align: center;
}

.sg-home-skin .sg-strip__item {
	width: 150px;
}

.sg-home-skin a.sg-home-skin__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	height: 100%;
	padding: 16px 12px;
	background: #ffffff;
	border: 1px solid #f3f4f6;
	border-radius: 12px;
	color: #111827;
	text-decoration: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sg-home-skin a.sg-home-skin__link:hover,
.sg-home-skin a.sg-home-skin__link:focus-visible {
	border-color: #e5a2c9;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	color: #111827;
	text-decoration: none;
}

.sg-home-skin a.sg-home-skin__link:focus-visible {
	outline: 2px solid #71043d;
	outline-offset: 2px;
}

.sg-home-skin .sg-home-skin__photo {
	display: block;
	width: 96px;
	height: 96px;
	max-width: none;
	border-radius: 50%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.sg-home-skin .sg-home-skin__link:hover .sg-home-skin__photo,
.sg-home-skin .sg-home-skin__link:focus-visible .sg-home-skin__photo {
	transform: scale(1.05);
}

.sg-home-skin .sg-home-skin__label {
	font-weight: 700;
	font-size: 0.8125rem;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-align: center;
}

@media (min-width: 768px) {
	.sg-home-skin .sg-strip__item {
		width: 190px;
	}

	.sg-home-skin a.sg-home-skin__link {
		gap: 14px;
		padding: 24px 16px;
	}

	.sg-home-skin .sg-home-skin__photo {
		width: 120px;
		height: 120px;
	}

	.sg-home-skin .sg-home-skin__label {
		font-size: 0.9375rem;
	}
}

@media (min-width: 977px) {
	.sg-home-skin h2.sg-home-skin__title {
		margin-bottom: 20px;
	}
}

/* All five fit on desktop: plain grid, no slider, no arrows. */
@media (min-width: 1024px) {
	.sg-home-skin ul.sg-strip__list {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 20px;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.sg-home-skin .sg-strip__item {
		width: auto;
	}

	.sg-home-skin .sg-strip__nav {
		display: none;
	}
}