/* Eurorennen Home Designer — "Accent details" style (front page only)
   Keeps the page light and adds small red touches so it pops. */

body.eurhm-details{--eurhm-red:var(--amp-accent,#c8102e)}

/* Each homepage row sits in a wrapper; flow-root keeps the divider and the section margins apart */
body.eurhm-details .eurhm-band{position:relative;display:flow-root}
body.eurhm-details .eurhm-band ~ .eurhm-band{margin-top:64px}

/* Less empty space under the last row before the footer */
body.eurhm-details .eurhm-band:last-child .amp-section{margin-bottom:12px!important}

/* ---------- Small red label above each title: // JUST LISTED ---------- */
body.eurhm-details .eurhm-eyebrow{
	display:flex;align-items:center;gap:12px;margin:0 0 14px;
	font-size:12px;line-height:1;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--eurhm-red);
}
/* two slanted racing stripes */
body.eurhm-details .eurhm-eyebrow::before{
	content:"";flex:0 0 15px;width:15px;height:13px;
	background:
		linear-gradient(currentColor,currentColor) 0 0/4px 100% no-repeat,
		linear-gradient(currentColor,currentColor) 9px 0/4px 100% no-repeat;
	transform:skewX(-22deg);
}

/* ---------- Titles ---------- */
body.eurhm-details .eurhm-band .amp-section-title{font-size:clamp(28px,2.9vw,40px);line-height:1.06;letter-spacing:-.03em}
body.eurhm-details.eurhm-d-period .eurhm-band .amp-section-title::after{content:".";color:var(--eurhm-red)}

/* ---------- "View all" link: red outline, fills red on hover ---------- */
body.eurhm-details .eurhm-band .eurht-teaser-link{
	color:var(--eurhm-red);border-color:rgba(200,16,46,.32);background:#fff;
	border-color:color-mix(in srgb,var(--eurhm-red) 32%,transparent);
}
body.eurhm-details .eurhm-band .eurht-teaser-link:hover,
body.eurhm-details .eurhm-band .eurht-teaser-link:focus-visible{background:var(--eurhm-red);border-color:var(--eurhm-red);color:#fff}

/* ---------- Divider between sections: hairline with a gap and racing stripes in the middle ---------- */
body.eurhm-details.eurhm-d-divider .eurhm-band ~ .eurhm-band::before{
	content:"";position:absolute;top:0;left:0;right:0;height:1px;pointer-events:none;
	background:linear-gradient(90deg,
		rgba(20,22,26,0),rgba(20,22,26,.14) 16%,rgba(20,22,26,.14) calc(50% - 30px),
		rgba(20,22,26,0) calc(50% - 30px),rgba(20,22,26,0) calc(50% + 30px),
		rgba(20,22,26,.14) calc(50% + 30px),rgba(20,22,26,.14) 84%,rgba(20,22,26,0));
}
body.eurhm-details.eurhm-d-divider .eurhm-band ~ .eurhm-band::after{
	content:"";position:absolute;top:-6px;left:50%;width:15px;height:13px;margin-left:-7px;pointer-events:none;
	background:
		linear-gradient(var(--eurhm-red),var(--eurhm-red)) 0 0/4px 100% no-repeat,
		linear-gradient(var(--eurhm-red),var(--eurhm-red)) 9px 0/4px 100% no-repeat;
	transform:skewX(-22deg);
}

/* ---------- Brand badge: little red dot ---------- */
body.eurhm-details.eurhm-d-dot .eurhm-band .amp-card .amp-badge::before{
	content:"";display:inline-block;width:6px;height:6px;margin:0 6px 1px 0;border-radius:50%;background:var(--eurhm-red);vertical-align:middle;
}

/* ---------- Cards: red line sweeps under the photo + red-tinted lift on hover ---------- */
body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card .amp-card-img::before,
body.eurhm-details.eurhm-d-hover .eurhm-band .eursd-card .eursd-photo::before{
	content:"";position:absolute;left:0;right:0;bottom:0;height:4px;z-index:2;pointer-events:none;
	background:var(--eurhm-red);transform:scaleX(0);transform-origin:left center;transition:transform .35s cubic-bezier(.2,.7,.2,1);
}
body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card:hover .amp-card-img::before,
body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card:focus-visible .amp-card-img::before,
body.eurhm-details.eurhm-d-hover .eurhm-band .eursd-card:hover .eursd-photo::before,
body.eurhm-details.eurhm-d-hover .eurhm-band .eursd-card:focus-visible .eursd-photo::before{transform:scaleX(1)}
body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card:hover .amp-card-img,
body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card:focus-visible .amp-card-img,
body.eurhm-details.eurhm-d-hover .eurhm-band .eursd-card:hover .eursd-photo,
body.eurhm-details.eurhm-d-hover .eurhm-band .eursd-card:focus-visible .eursd-photo{
	box-shadow:0 20px 38px rgba(200,16,46,.22),0 6px 14px rgba(20,22,26,.12);
}
body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card .amp-card-price{transition:color .15s ease}
body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card:hover .amp-card-price{color:var(--eurhm-red)}

/* ---------- Phones ---------- */
@media (max-width:700px){
	body.eurhm-details .eurhm-band ~ .eurhm-band{margin-top:44px}
	body.eurhm-details .eurhm-eyebrow{font-size:11px;letter-spacing:.18em;margin-bottom:12px}
	body.eurhm-details .eurhm-band .amp-section-title{font-size:clamp(26px,8vw,32px)}
	/* no hover on touch, keep the lift off */
	body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card:hover .amp-card-img,
	body.eurhm-details.eurhm-d-hover .eurhm-band .eursd-card:hover .eursd-photo{box-shadow:none}
}
@media (prefers-reduced-motion:reduce){
	body.eurhm-details.eurhm-d-hover .eurhm-band .amp-card .amp-card-img::before,
	body.eurhm-details.eurhm-d-hover .eurhm-band .eursd-card .eursd-photo::before{transition:none}
}
