.home-ad-slot { padding: 24px 0; }
/* Match the anchor section's flex order so DOM placement stays visible on screen. */
.home-redesign > .home-ad-slot { order: 2; }
.home-redesign > .home-ad-slot[data-home-ad-anchor="hero"] { order: 1; }
.home-ad-card { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; border: 1px solid #e7e4dd; border-radius: 26px; background: #faf9f6; box-shadow: 0 16px 48px rgba(55, 50, 40, .06); isolation: isolate; }
.home-ad-card [hidden] { display: none !important; }
.home-ad-media { min-width: 0; background: #f4f4f2; display: grid; place-items: center; }
.home-ad-media img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.home-ad-empty { padding: 3rem 1.5rem; color: #786874; text-align: center; }
.home-ad-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(24px, 4vw, 56px); background: #faf9f6; }
.home-ad-label { display: inline-flex; padding: 7px 12px; border: 1px solid #e9cddc; border-radius: 999px; color: #96516f; font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-ad-copy h2 { margin: 0; color: #332530; font-size: clamp(24px, 3vw, 40px); line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.home-ad-copy p { margin: 0; color: #766672; font-size: 16px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.home-ad-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; max-width: 100%; box-sizing: border-box; padding: 14px 22px; border-radius: 12px; background: #a73168; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; transition: background .2s; }
.home-ad-button:hover { background: #862352; color: #fff; }
.home-ad-button:focus-visible { outline: 3px solid #e9a8c6; outline-offset: 4px; }
.home-ad-card--banner { display: grid; grid-template-columns: minmax(0, 1fr); }
.home-ad-card--banner .home-ad-media, .home-ad-card--banner .home-ad-copy { grid-area: 1 / 1; }
.home-ad-card--banner .home-ad-media img { height: 100%; max-height: none; object-fit: cover; }
.home-ad-card--banner .home-ad-copy { z-index: 1; min-height: 280px; box-sizing: border-box; background: linear-gradient(90deg, rgba(22,15,25,.88), rgba(22,15,25,.6) 55%, rgba(22,15,25,.12)); }
.home-ad-card--banner .home-ad-copy h2, .home-ad-card--banner .home-ad-copy p { max-width: 650px; color: #fff; }
.home-ad-card--banner .home-ad-label { color: #fff; border-color: #ffffff55; background: #ffffff15; }
@media (max-width: 640px) {
    .home-redesign > .home-ad-slot[data-home-ad-anchor="hero"] { order: 0; }
    .home-ad-slot { padding: 16px 0; }
    .home-ad-card { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
    .home-ad-media img { max-height: 460px; }
    .home-ad-copy { padding: 24px; gap: 14px; }
    .home-ad-copy h2 { font-size: 26px; }
    .home-ad-copy p { font-size: 14px; }
    .home-ad-card--banner .home-ad-copy { min-height: 300px; background: linear-gradient(90deg, rgba(22,15,25,.85), rgba(22,15,25,.5)); }
}
