/**
 * Single Room (single-room.php) — built against the "Riverton" mockup.
 * Colors below (header bar gray, gold accent) were sampled from that
 * mockup; everything else reuses the --room-* tokens already defined in
 * style.css's ROOM GALLERY section, since this template lives right next
 * to that one conceptually (same CPT, same "room" look and feel).
 */

/* ---- Page header bar ---- */

.room-header-bar {
	background: #f0f0f0;
	padding: 2.5rem 1.5rem;
	text-align: center;
}

@media (min-width: 900px) {
	.room-header-bar {
		padding: 3.5rem 1.5rem;
	}
}

.room-header-title {
	margin: 0;
	font-family: var(--font-primary);
	font-weight: var(--font-weight-regular);
	font-style: normal;
	font-size: 1.4rem;
	letter-spacing: 0.2375rem;
	text-transform: uppercase;
	color: #000000;
}

@media (min-width: 900px) {
	.room-header-title {
		font-size: 2.375rem;
	}
}

/* ---- Carousel placeholder ----
   Standing in for the real image gallery/carousel until that component is
   built (see chat — it's being copied from an existing Medallion Cabinetry
   page and needs its markup/behavior confirmed first). */

.room-gallery-wrap {
	max-width: 100%;
	margin: 0 auto;
	padding: 2.5rem 0;
}

.room-carousel-placeholder {
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed var(--room-line);
	border-radius: 2px;
	background: #f7f7f7;
	color: var(--room-muted);
}

@media (min-width: 900px) {
	.room-carousel-placeholder {
		aspect-ratio: 21 / 9;
	}
}

.room-carousel-placeholder span {
	font-family: var(--font-primary);
	font-weight: var(--font-weight-bold);
	font-style: normal;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---- Room detail (title + intro + specs) ---- */

.room-detail {
	max-width: 1320px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	color: var(--room-ink);
}

@media (min-width: 900px) {
	.room-detail {
		flex-direction: row;
		gap: 3rem;
		padding: 3.5rem 3rem;
	}

	.room-detail-heading {
		flex: 0 0 370px;
	}

	.room-detail-body {
		flex: 1;
		min-width: 0;
	}
}

.room-name {
	margin: 0;
	font-family: var(--font-primary);
	font-weight: var(--font-weight-regular);
	font-style: normal;
	font-size: 1.625rem;
	letter-spacing: 2.6px;
	text-transform: uppercase;
}

.room-subtitle {
	margin: 0.6rem 0 0;
	font-size: 0.9rem;
	color: var(--room-muted);
}

.room-intro {
	max-width: 640px;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.room-intro p {
	margin: 0 0 1em;
}

.room-intro p:last-child {
	margin-bottom: 0;
}

/* .room-specs / .room-spec-label moved to assets/css/spec-list.css
   (.spec-list / .spec-list-label) — single-storage-solution.php and
   single-finishing-touch.php now need the exact same "linked terms list"
   thing, see inc/spec-list.php. */

/* ---- "Get This Look" ---- */

.get-this-look {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 1.5rem 4rem;
}

@media (min-width: 900px) {
	.get-this-look {
		padding: 0 3rem 5rem;
	}
}

.get-this-look-heading {
	margin: 0 0 2.5rem;
	font-family: var(--font-primary);
	font-weight: var(--font-weight-regular);
	font-style: normal;
	font-size: 2.375rem;
	letter-spacing: 3.8px;
	text-transform: uppercase;
	color: var(--room-ink);
}

.get-this-look-accent {
	width: 70px;
	height: 3px;
	background: var(--goldHex);
	margin-bottom: 3.125rem;
}

.get-this-look-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem 1rem;
  display: flex;
}

@media (min-width: 600px) {
	.get-this-look-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.look-item {
	margin: 0;
  flex-basis: 180px;
  align-self: flex-end;
	display: block;
	color: inherit;
	text-decoration: none;
}

.look-item-media {
	/*aspect-ratio: 3 / 4;*/
	overflow: hidden;
	background: var(--room-line);
	border-radius: 2px;
}

.look-item-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.look-item-label {
	display: block;
	margin: 1rem 0 0;
	font-family: var(--font-primary);
	font-weight: var(--font-weight-regular);
	font-style: normal;
	font-size: 1rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--room-ink);
  text-align: left;
}