html { scroll-behavior: smooth;}
#homemainbg {
    display: block;
    background-position: 25% 50%;
    background-image: url("../img/fdo-prd-crb-hero - Cr.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.catcard {
    background-color: #fff;
    box-shadow: 0 0 8px rdga(0,0,0,.16);
    color:#212121;
    text-decoration: none;
    position: relative;
    border-radius: 16px;
    display: grid;
    align-items:stretch;
    --img-scale: 1.001;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}
.catcard a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
}
.catcard img {
  max-width: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}
.catcard h3 {transition: color 0.3s ease-out;}
figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.cardheader {
}
.cardtitle {
    text-align: center;
    margin: 1rem auto;
}
.cardthmb {
    margin: 0;
}
.cardthmb img {border-radius: 16px 16px 0 0;}
.cardbody {
    padding: 0 1.5rem;
}
.cardfooter {
    padding: 1rem;
    align-self: flex-end;
}
.catcard:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: #28666e;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
ol {
    list-style: none;
    padding: 0;
}
li + li {
	margin-top: 1rem;
}
.splist li {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: aliceblue;
	padding: 1.5rem;
	border-radius: 1rem;
	width: calc(100% - 2rem);
	box-shadow: 0.25rem 0.25rem 0.75rem rgb(0 0 0 / 0.1);
    font-size: clamp(1rem, 0.75rem + 0.833vi, 1.375rem);
}
.splist li::before {
	counter-increment: list-item;
	content: counter(list-item);
	font-size: 3rem;
	font-weight: 700;
	width: 2em;
	height: 2em;
	background: black;
	flex: 0 0 auto;
	border-radius: 50%;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
}
.splist li:nth-child(even) {
	flex-direction: row-reverse;
	background: lavender;
	margin-right: -2rem;
	margin-left: 2rem;
}
.bgcrb {
    background-color: #A22041;
}
