/* Warm, machined rims shared by existing cards and plates. */
:root {
	--dsrt-card-edge: rgba(234, 169, 143, .28);
	--dsrt-card-edge-top: rgba(234, 169, 143, .38);
	--dsrt-card-edge-bottom: rgba(31, 17, 35, .72);
}

#home-main .home-hero__copy-col,
#home-main .home-section:not(.home-hero),
#home-main .product-card,
#home-main .thought-card,
#home-main .reel-poster,
#home-main .home-reel-dialog,
#home-main .dsrt-changelog__plate,
#primary .dsrt-post-card,
#primary .dsrt-catalog__plate,
#primary .dsrt-product-card__link,
#primary .dsrt-discovery,
#primary .dsrt-panel,
#dsrt-plp.dsrt-plp--stage .dsrt-plp-plate,
#dsrt-plp .dsrt-plp-tile,
#dsrt-plp .dsrt-plp-feat,
#dsrt-plp .dsrt-plp-story__topic {
	border: 1px solid var(--dsrt-card-edge);
	border-top-color: var(--dsrt-card-edge-top);
	border-bottom-color: var(--dsrt-card-edge-bottom);
	box-shadow: inset 1px 1px 0 rgba(255, 228, 211, .08), 0 2px 0 rgba(10, 6, 14, .38), 0 10px 22px rgba(9, 4, 13, .16);
}

/* Discovery cards have one backing surface: keep the link rim on the link itself. */
#primary .dsrt-product-card { border: 0; }

/* Home product hover clears its border in home.css; retain the same rim while hovered. */
#home-main .product-card:hover {
	border-color: var(--dsrt-card-edge);
	border-top-color: var(--dsrt-card-edge-top);
	border-bottom-color: var(--dsrt-card-edge-bottom);
}

#home-main .reel-poster:hover {
	border-color: var(--dsrt-card-edge);
	border-top-color: var(--dsrt-card-edge-top);
	border-bottom-color: var(--dsrt-card-edge-bottom);
}

/* The parent theme and stage block clear borders on article plates explicitly. */
#primary #dsrt-plp.dsrt-plp--stage article.dsrt-plp-plate {
	border: 1px solid var(--dsrt-card-edge) !important;
	border-top-color: var(--dsrt-card-edge-top) !important;
	border-bottom-color: var(--dsrt-card-edge-bottom) !important;
	box-shadow: inset 1px 1px 0 rgba(255, 228, 211, .08), 0 2px 0 rgba(10, 6, 14, .38), 0 10px 22px rgba(9, 4, 13, .16) !important;
}

