.home-rental {
	display: grid;
	margin-block: 2rem;
	border-radius: 8px;
	overflow: hidden;
}

.home-rental__content {
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
	min-width: 0;
	background: #1e1f1f;
	color: #fff;
	padding: clamp(2.4rem, 4vw, 3.2rem);
}

.home-rental__content .section-title {
	margin: 0;
	font-size: 3.2rem;
	font-weight: 800;
	line-height: 1.05;
	text-align: left;
	text-transform: uppercase;
}

.home-rental__eyebrow,
.home-rental__content .section-title span {
	color: #009ee1;
}

.home-rental__eyebrow {
	display: block;
	margin-bottom: 1rem;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-rental__photo {
	display: grid;
	position: relative;
	align-items: end;
	min-height: clamp(24rem, 45vw, 36rem);
	overflow: hidden;
	background: #1e1f1f;
	padding: 1.5rem;
	color: #fff;
}

.home-rental__photo:hover {
	color: #fff;
}

.home-rental__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-rental__photo-label {
	display: grid;
	position: relative;
	justify-self: start;
	border-radius: 8px;
	background: #009ee1;
	padding: 0.8em 1.1em;
	color: #fff;
}

.home-rental__photo-label span {
	opacity: 0.85;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-rental__photo-label strong {
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1.1;
}

.home-rental__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-rental__list a {
	display: flex;
	gap: 1rem;
	align-items: last baseline;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	padding-block: 1.1rem;
}

.home-rental__list a:hover {
	color: #009ee1;
}

.home-rental__leader {
	flex: 1;
	min-width: 1rem;
	border-bottom: 2px dotted rgba(255, 255, 255, 0.25);
}

.home-rental__item-name {
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: 1.4rem;
	font-weight: 600;
	text-transform: uppercase;
}

.home-rental__list strong {
	flex-shrink: 0;
	font-size: 1.6rem;
	font-weight: 700;
	white-space: nowrap;
}

.home-rental__list small {
	color: rgba(255, 255, 255, 0.5);
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
}

.home-rental__actions {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1.6rem 3.2rem;
}

.home-rental__button {
	display: inline-flex;
	align-items: center;
	min-height: 4.4rem;
	border-radius: 8px;
	gap: 0.6em;
	transition: background-color 0.25s;
	background: #009ee1;
	padding: 0.8em 1.4em;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
}

.home-rental__button:hover {
	background: #057db1;
	color: #fff;
}

/* Prototype (yard-hero__phone): small grey caps label, large white number on the right. */
.home-rental__phone {
	display: flex;
	flex-direction: column;
	color: rgba(255, 255, 255, 0.55);
}

.home-rental__phone span {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-rental__phone strong {
	transition: color 0.25s;
	color: #fff;
	font-size: 2.2rem;
	font-weight: 700;
}

.home-rental__phone:hover strong {
	color: #009ee1;
}

.home-rental a:focus-visible {
	outline: 2px solid #009ee1;
	outline-offset: -2px;
}

/* Cyan on the blue button is 1.5:1; white keeps the focus ring visible (WCAG 2.2 non-text contrast). */
.home-rental .home-rental__button:focus-visible {
	outline-color: #fff;
	outline-offset: -4px;
}

@media (min-width: 1023px) {
	.home-rental--with-photo {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	}
}
