/* REIT asset detail — IOI Mall Puchong mockup layout */

.ioipg-asset-detail {
	--ioipg-asset-gutter: clamp(1.75rem, 4vw, 3.5rem);
	--ioipg-asset-blue: #1a3a8a;
	--ioipg-asset-label: #8fa3c4;
}

/* ─── Hero banner ─────────────────────────────────────── */

.ioipg-asset-hero {
	position: relative;
	background: var(--ioipg-asset-blue);
	min-height: 280px;
}

.ioipg-asset-hero--has-image {
	min-height: 0;
}

.ioipg-asset-hero__bg {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.ioipg-asset-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(26, 58, 138, 0.88) 0%, rgba(26, 58, 138, 0.4) 50%, transparent 100%);
	pointer-events: none;
}

.ioipg-asset-hero__inner {
	position: absolute;
	left: 50%;
	bottom: var(--ioipg-hero-title-bottom, clamp(3.5rem, 7vw, 5.5rem));
	transform: translateX(-50%);
	width: min(100%, var(--ioipg-container, 1280px));
	padding: 0 var(--ioipg-asset-gutter);
	box-sizing: border-box;
	z-index: 1;
}

.ioipg-asset-hero:not(.ioipg-asset-hero--has-image) .ioipg-asset-hero__inner {
	bottom: 0;
	padding-bottom: var(--ioipg-hero-title-bottom, clamp(3.5rem, 7vw, 5.5rem));
}

.ioipg-asset-hero__type {
	margin: 0 0 0.4rem;
	font-size: clamp(0.875rem, 2vw, 1rem);
	font-weight: 500;
	line-height: 1.3;
	color: #ffffff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.ioipg-asset-hero__title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* ─── Content band with optional pattern background (like Board page) ─ */

.ioipg-asset-detail__content-band {
	position: relative;
	background-color: transparent;
	overflow: hidden;
}

.ioipg-asset-detail__content-band--has-bg {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: min(500px, 100%) auto;
	background-attachment: scroll;
}

.ioipg-asset-detail__body {
	position: relative;
	z-index: 1;
	max-width: var(--ioipg-container, 1280px);
	margin: 0 auto;
	padding: 2.5rem var(--ioipg-asset-gutter) 4rem;
	box-sizing: border-box;
}

.ioipg-asset-detail__intro {
	position: relative;
}

/* ─── Image slider (full width, above columns) ────────── */

.ioipg-asset-gallery {
	position: relative;
	margin: 0 0 2.5rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 36px rgba(15, 30, 60, 0.14);
	background: #e8eef8;
}

.ioipg-asset-gallery__viewport {
	position: relative;
	line-height: 0;
}

/* Only the active slide is in layout — keeps natural width/height (no stretch) */
.ioipg-asset-gallery__slide {
	display: none;
	margin: 0;
}

.ioipg-asset-gallery__slide.is-active {
	display: block;
}

.ioipg-asset-gallery__img,
.ioipg-asset-gallery__slide img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	vertical-align: top;
}

.ioipg-asset-gallery__controls {
	position: absolute;
	left: 50%;
	bottom: 1.25rem;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	z-index: 2;
}

.ioipg-asset-gallery__arrow {
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: var(--ioipg-asset-blue);
	color: #ffffff;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.ioipg-asset-gallery__arrow:hover {
	background: #25469b;
}

.ioipg-asset-gallery__dots {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.ioipg-asset-gallery__dot {
	width: 28px;
	height: 4px;
	border: none;
	border-radius: 2px;
	padding: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.ioipg-asset-gallery__dot.is-active {
	background: #ffffff;
}

.ioipg-asset-gallery__controls--single .ioipg-asset-gallery__dot {
	width: 36px;
}

/* ─── Summary block: ~34% left | divider | ~66% stats ─ */

.ioipg-asset-detail__summary {
	margin-bottom: 2.5rem;
}

.ioipg-asset-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
}

.ioipg-asset-detail__layout--stacked {
	grid-template-columns: 1fr;
}

.ioipg-asset-detail__layout--stacked .ioipg-asset-detail__left {
	padding-right: 0;
}

.ioipg-asset-detail__layout--stacked .ioipg-asset-detail__figures {
	min-height: auto;
	padding-left: 0;
	border-left: none;
	padding-top: 2rem;
	margin-top: 0.5rem;
	border-top: 1px solid #d1dae6;
}

.ioipg-asset-detail__summary--figures-only .ioipg-asset-detail__layout {
	grid-template-columns: 1fr;
}

.ioipg-asset-detail__summary--left-only .ioipg-asset-detail__figures {
	display: none;
}

.ioipg-asset-detail__left {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	min-width: 0;
	padding-right: 2.5rem;
}

.ioipg-asset-detail__figures {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding-left: 2.5rem;
	border-left: 1px solid #d1dae6;
	overflow: visible;
}

.ioipg-asset-detail__address {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0 0 1.25rem;
	color: #1a1a2e;
	font-size: 0.8125rem;
	line-height: 1.5;
	font-weight: 400;
}

.ioipg-asset-detail__meta-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	background-size: contain;
	background-repeat: no-repeat;
}

.ioipg-asset-detail__meta-icon--pin {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a1a2e'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 010-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
}

.ioipg-asset-detail__headline {
	margin: 0 0 0.85rem;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ioipg-asset-blue);
	line-height: 1.35;
}

.ioipg-asset-detail__content {
	color: var(--ioipg-asset-blue);
	font-size: 0.9375rem;
	line-height: 1.75;
	font-weight: 400;
}

.ioipg-asset-detail__content p {
	margin: 0 0 1rem;
}

.ioipg-asset-detail__content p:last-child {
	margin-bottom: 0;
}

.ioipg-asset-detail__price-label {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.5rem 0 0;
	padding: 0;
	background: transparent;
	color: var(--ioipg-asset-blue);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: start;
	box-sizing: border-box;
	margin-bottom: 10px;
}

.ioipg-asset-detail__price {
	display: block;
	width: 100%;
	max-width: 215px;
	margin: 0.35rem 0 0;
	padding: 0.85rem 1rem;
	background: var(--ioipg-asset-blue);
	color: #ffffff;
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	font-weight: 700;
	text-align: center;
	border-radius: 4px;
	box-sizing: border-box;
	line-height: 1.2;
}

.ioipg-asset-stats {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 2.5rem;
	column-gap: 2.15rem;
	margin: 0;
	padding: 0;
	align-content: start;
	align-items: start;
}

.ioipg-asset-stats__row {
	margin: 0;
}

.ioipg-asset-stats__row dt {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ioipg-asset-label);
	letter-spacing: 0.01em;
}

.ioipg-asset-stats__row dd {
	margin: 0;
	font-weight: 700;
	color: var(--ioipg-asset-blue);
	line-height: 1.3;
}

.ioipg-asset-stats__value-main {
	display: block;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.3;
}

.ioipg-asset-stats__value-main--rich {
	font-weight: 600;
	line-height: 1.55;
	color: var(--ioipg-asset-blue);
}

.ioipg-asset-stats__value-main--rich > *:first-child {
	margin-top: 0;
}

.ioipg-asset-stats__value-main--rich > *:last-child {
	margin-bottom: 0;
}

.ioipg-asset-stats__value-main--rich a {
	color: var(--ioipg-asset-blue);
	text-decoration: underline;
}

.ioipg-asset-stats__value-main--rich a:hover,
.ioipg-asset-stats__value-main--rich a:focus-visible {
	color: #25469b;
}

.ioipg-asset-stats__value-note {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ioipg-asset-label);
}

.ioipg-asset-stats__value-note--inline {
	display: inline;
	margin-top: 0;
	margin-left: 0.2em;
	font-size: 0.62em;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ioipg-asset-blue);
	vertical-align: baseline;
}

.ioipg-asset-stats__value--equal-lines {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.5;
}

.ioipg-asset-stats__value--equal-lines br {
	display: block;
	margin-top: 0.35em;
}

.ioipg-asset-detail__brochure {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 2rem;
	margin-bottom: 0;
	align-self: flex-start;
}

/* WYSIWYG-rendered key statistics — matches the old <dl> look. */
.ioipg-asset-stats.entry-content {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 2.5rem;
	column-gap: 2.15rem;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	color: var(--ioipg-asset-blue);
}

.ioipg-asset-stats.entry-content > * {
	margin: 0;
}

/* Definition list (most common). */
.ioipg-asset-stats.entry-content dl,
.ioipg-asset-stats.entry-content > dl {
	display: contents;
}

.ioipg-asset-stats.entry-content dt {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ioipg-asset-label);
	letter-spacing: 0.01em;
}

.ioipg-asset-stats.entry-content dd {
	margin: 0;
	font-weight: 700;
	color: var(--ioipg-asset-blue);
	line-height: 1.3;
	font-size: 1.3rem;
}

.ioipg-asset-stats.entry-content dd br + * {
	display: block;
	margin-top: 0.35em;
	font-size: 1.05rem;
}

/* Tables (e.g. for grouped key figures). */
.ioipg-asset-stats.entry-content table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 0.875rem;
	grid-column: 1 / -1;
}

.ioipg-asset-stats.entry-content th,
.ioipg-asset-stats.entry-content td {
	padding: 0.5rem 0.65rem;
	border: 1px solid rgba(26, 35, 50, 0.12);
	text-align: left;
	vertical-align: top;
}

.ioipg-asset-stats.entry-content th {
	background: rgba(26, 35, 50, 0.04);
	font-weight: 700;
	color: var(--ioipg-asset-label);
	font-size: 0.6875rem;
	letter-spacing: 0.01em;
}

.ioipg-asset-stats.entry-content td {
	font-weight: 700;
	color: var(--ioipg-asset-blue);
}

/* Headings inside stats. */
.ioipg-asset-stats.entry-content h1,
.ioipg-asset-stats.entry-content h2,
.ioipg-asset-stats.entry-content h3,
.ioipg-asset-stats.entry-content h4 {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ioipg-asset-blue);
	grid-column: 1 / -1;
}

.ioipg-asset-stats.entry-content h2 { font-size: 1.15rem; }
.ioipg-asset-stats.entry-content h3 { font-size: 1rem; }

/* Lists. */
.ioipg-asset-stats.entry-content ul,
.ioipg-asset-stats.entry-content ol {
	margin: 0;
	padding-left: 1.2rem;
}

.ioipg-asset-stats.entry-content li {
	margin-bottom: 0.35rem;
	line-height: 1.5;
}

/* Links. */
.ioipg-asset-stats.entry-content a {
	color: var(--ioipg-asset-blue);
	text-decoration: underline;
	transition: color 0.15s ease;
}

.ioipg-asset-stats.entry-content a:hover,
.ioipg-asset-stats.entry-content a:focus-visible {
	color: #25469b;
}

/* Paragraph (rare in this section, but allow). */
.ioipg-asset-stats.entry-content p {
	margin: 0;
	line-height: 1.55;
}

.ioipg-asset-club {
	margin: 0;
	padding: 0;
}

.ioipg-asset-club__brand {
	margin: 0 0 0.65rem;
	font-size: 1.65rem;
	font-weight: 800;
	color: #c41e3a;
	letter-spacing: 0.02em;
	line-height: 1.1;
}

.ioipg-asset-club__text {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--ioipg-asset-blue);
	font-weight: 400;
}

.ioipg-asset-club__link {
	align-self: flex-start;
}

.ioipg-btn--outline {
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1.25rem;
	background: transparent;
	color: #ffffff;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #ffffff;
	border-radius: 4px;
	transition: background 0.2s ease, color 0.2s ease;
}

.ioipg-btn--outline:hover,
.ioipg-btn--outline:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	text-decoration: none;
}

/* ─── Nearby amenities ──────────────────────────────── */

.ioipg-asset-amenities {
	position: relative;
	z-index: 1;
	margin-top: 3.5rem;
	padding-top: 0;
	border-top: none;
}

.ioipg-asset-amenities__title {
	margin: 0 0 2rem;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ioipg-asset-blue);
}

.ioipg-asset-amenities__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

.ioipg-asset-amenities__map img {
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.ioipg-asset-accordion__item {
	border-bottom: 1px solid #e2e8f0;
}

.ioipg-asset-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	font-weight: 600;
	color: var(--ioipg-asset-blue);
	cursor: pointer;
	list-style: none;
}

.ioipg-asset-accordion__summary::-webkit-details-marker {
	display: none;
}

.ioipg-asset-accordion__toggle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #cbd5e1;
	flex-shrink: 0;
	position: relative;
}

.ioipg-asset-accordion__toggle::before,
.ioipg-asset-accordion__toggle::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	background: var(--ioipg-asset-blue);
	transform: translate(-50%, -50%);
}

.ioipg-asset-accordion__toggle::before {
	width: 10px;
	height: 2px;
}

.ioipg-asset-accordion__toggle::after {
	width: 2px;
	height: 10px;
}

.ioipg-asset-accordion__item[open] .ioipg-asset-accordion__toggle::after {
	display: none;
}

.ioipg-asset-accordion__item[open] .ioipg-asset-accordion__summary {
	background: #f0f4fa;
	margin: 0 -0.75rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.ioipg-asset-accordion__list {
	margin: 0 0 1rem;
	padding: 0 0 0 1.25rem;
	color: var(--ioipg-asset-blue);
	font-size: 0.9rem;
}

.ioipg-asset-accordion__list li {
	margin-bottom: 0.35rem;
}

/* ─── Contact + related ───────────────────────────────── */

.ioipg-asset-contact {
	position: relative;
	overflow: hidden;
	background: #0a0f1f;
	color: #ffffff;
	padding: 3.5rem var(--ioipg-asset-gutter);
}

.ioipg-asset-contact__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.ioipg-asset-contact__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.ioipg-asset-contact__inner {
	position: relative;
	z-index: 1;
	max-width: var(--ioipg-container, 1280px);
	margin: 0 auto;
}

.ioipg-asset-contact__title {
	margin: 0 0 1rem;
	font-size: 1.75rem;
	font-weight: 700;
}

.ioipg-asset-contact__intro {
	margin: 0 0 2rem;
	color: #cbd5e1;
	line-height: 1.6;
}

.ioipg-asset-contact__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
}

.ioipg-asset-contact__col h3 {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	color: #b0bdd4;
}

.ioipg-asset-contact__col p {
	margin: 0 0 0.35rem;
	color: #ffffff;
}

.ioipg-asset-contact__col a {
	color: #ffffff;
}

.ioipg-asset-contact__actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* ─── Admin: key statistics editor ───────────────────── */

.ioipg-asset-stats-admin__list {
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
	max-width: 640px;
}

.ioipg-asset-stats-admin__item {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
	padding: 0.75rem;
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.ioipg-asset-stats-admin__handle {
	cursor: grab;
	color: #787c82;
	margin-top: 0.35rem;
}

.ioipg-asset-stats-admin__fields {
	flex: 1;
	min-width: 0;
}

.ioipg-asset-stats-admin__fields p {
	margin: 0 0 0.5rem;
}

.ioipg-asset-stats-admin__fields p:last-child {
	margin-bottom: 0;
}

.ioipg-asset-stats-admin__placeholder {
	height: 72px;
	margin-bottom: 0.65rem;
	border: 1px dashed #c3c4c7;
	background: #fff;
}

/* Per-row rich-text action row + modal */
.ioipg-asset-stats-admin__value-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.6rem;
}

.ioipg-asset-stats-admin__value-actions .button .dashicons {
	font-size: 16px;
	line-height: 1;
	width: 16px;
	height: 16px;
	margin-right: 2px;
	vertical-align: -3px;
}

.ioipg-asset-stats-admin__rich-status {
	font-size: 12px;
	color: #1a7f37;
	font-weight: 600;
}

.ioipg-asset-stats-rich-modal[hidden] {
	display: none;
}

.ioipg-asset-stats-rich-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ioipg-asset-stats-rich-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 31, 0.55);
}

.ioipg-asset-stats-rich-modal__panel {
	position: relative;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	width: min(720px, calc(100vw - 32px));
	max-height: calc(100vh - 64px);
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.ioipg-asset-stats-rich-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #e5e7eb;
}

.ioipg-asset-stats-rich-modal__title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
}

.ioipg-asset-stats-rich-modal__label {
	color: #1a3a8a;
	font-weight: 700;
	margin-left: 4px;
}

.ioipg-asset-stats-rich-modal__close {
	font-size: 22px;
	line-height: 1;
	color: #6b7280;
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0 4px;
}

.ioipg-asset-stats-rich-modal__close:hover {
	color: #1a1a2e;
}

.ioipg-asset-stats-rich-modal__body {
	padding: 16px 18px;
	overflow: auto;
	flex: 1 1 auto;
	min-height: 200px;
}

.ioipg-asset-stats-rich-modal__body .wp-editor-wrap {
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.ioipg-asset-stats-rich-modal__footer {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 18px;
	border-top: 1px solid #e5e7eb;
}

body.ioipg-rich-modal-open {
	overflow: hidden;
}

.ioipg-asset-related {
	padding: 3.5rem var(--ioipg-asset-gutter);
	background: #ffffff;
}

.ioipg-asset-related__inner {
	max-width: var(--ioipg-container, 1280px);
	margin: 0 auto;
}

.ioipg-asset-related__title {
	margin: 0 0 2.25rem;
	text-align: center;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.3;
}

.ioipg-asset-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}

.ioipg-asset-related .ioipg-asset-card__badge--type {
	background: var(--ioipg-asset-blue, #1a3a8a);
	font-size: 0.6875rem;
	letter-spacing: 0.02em;
	text-transform: capitalize;
}

@media (max-width: 1100px) {
	.ioipg-asset-detail__layout {
		grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
	}

	.ioipg-asset-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.ioipg-asset-detail__layout {
		grid-template-columns: 1fr;
	}

	.ioipg-asset-detail__left {
		padding-right: 0;
	}

	.ioipg-asset-detail__figures {
		border-left: none;
		padding-left: 0;
		padding-top: 2rem;
		margin-top: 0.5rem;
		border-top: 1px solid #d1dae6;
	}

	.ioipg-asset-stats,
	.ioipg-asset-stats.entry-content {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ioipg-asset-amenities__layout {
		grid-template-columns: 1fr;
	}

	.ioipg-asset-contact__grid {
		grid-template-columns: 1fr;
	}

	.ioipg-asset-related__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1100px) and (min-width: 601px) {
	.ioipg-asset-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Admin — asset gallery picker */

.ioipg-asset-gallery-admin {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.ioipg-asset-gallery-admin__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
}

.ioipg-asset-gallery-admin__handle {
	cursor: move;
	color: #787c82;
}

.ioipg-asset-gallery-admin__item img {
	display: block;
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 3px;
}

.ioipg-asset-gallery-admin__placeholder {
	height: 68px;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
}
