/* Sitewide component styles. Header/footer/page-section rules land here as
   each piece is built, keyed by the same section ids/classes used in
   LJHRealtyFrontEnd for easy cross-referencing. */

body {
	color: var(--color-text-body);
}

/* ---------- Header / navbar ---------- */

.ljhr-navbar {
	background-color: var(--color-near-black);
	min-height: 90px;
	padding-top: 0;
	padding-bottom: 0;
}

/* Bootstrap's own `.navbar > .container-fluid` rule already sets
   display:flex + justify-content:space-between with specificity (0,0,2,0) —
   a bare `.ljhr-navbar-inner` (0,0,1,0) loses to it regardless of source
   order. Scope every override through the parent `.ljhr-navbar` to match
   (and, on a tie, win via later source order). */
.ljhr-navbar .ljhr-navbar-inner {
	min-height: 90px;
	align-items: center;
	/* Mobile/tablet (<1200px, matches Angular's own 1200px breakpoint):
	   logo pinned left, toggler pinned right. */
	justify-content: space-between;
	padding-left: 2rem;
	padding-right: 2rem;
}

/* Angular's header row is `justify-content:center` at desktop widths — the
   logo+nav content sits as one compact block (nav-items is a flat ~1460px,
   it never stretches to fill the viewport), not spread edge-to-edge. On a
   Full HD/ultrawide screen this leaves visible black bar on both sides
   instead of stretching nav links apart. Replicate that here rather than
   the space-between/full-bleed layout. */
@media (min-width: 1200px) {
	.ljhr-navbar .ljhr-navbar-inner {
		justify-content: center;
		padding-left: 0;
		padding-right: 0;
	}
	/* 1200–1366px: Angular keeps the logo flush (no 8rem margin) here too —
	   at this width the full desktop margin would overflow the viewport. */
	.ljhr-logo {
		margin-left: 0;
		margin-right: 1rem;
	}
}

@media (min-width: 1367px) {
	.ljhr-logo {
		margin-left: 8rem;
		margin-right: 52px;
	}
}

.ljhr-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.ljhr-logo-img {
	width: 72px;
	height: 72px;
	min-width: 72px;
	background-image: url('../logo-ljhr.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.ljhr-logo.has-company .ljhr-logo-img {
	max-width: 72px;
}

.ljhr-company-name {
	color: #fff;
	font-weight: 700;
	font-size: 1.5rem;
	padding-left: .5rem;
	white-space: nowrap;
}

.ljhr-toggler {
	background: none;
	border: none;
	padding: 0;
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
}
.ljhr-toggler:focus {
	box-shadow: none;
}

.ljhr-nav-items {
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Angular's `.nav-items` isn't a tight gap-packed row — it's a fixed-width
   box (grows from 1000px to 1460px past 1366px) with
   `justify-content:space-around` distributing items evenly across that
   width, `flex-shrink` compressing it automatically on narrower desktop
   viewports. A tight gap makes the nav block much narrower than Angular's,
   which — since the header row is centered — shows up as oversized black
   margins on wide screens instead of matching Angular's proportions. */
@media (min-width: 1200px) {
	.ljhr-nav-items {
		width: 1000px;
		justify-content: space-around;
		padding-right: 0;
		gap: 0;
	}
}

@media (min-width: 1367px) {
	.ljhr-nav-items {
		width: 1460px;
		padding-right: 8rem;
	}
}

.ljhr-nav-link,
.ljhr-lang-pill {
	color: #fff !important;
	font-weight: 400;
	font-size: 15px;
	text-decoration: none;
	padding-bottom: 6px;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}

.ljhr-nav-link.active,
.ljhr-nav-link.show {
	border-bottom-color: var(--color-brand-red);
}

/* Angular's dropdown trigger is a label + separate chevron icon, not
   Bootstrap's default ::after triangle — suppress the pseudo-caret and use
   an explicit <i class="bi bi-chevron-down"> instead (see navbar.php). */
.ljhr-dropdown .dropdown-toggle::after,
.ljhr-lang-pill.dropdown-toggle::after {
	display: none;
}
.ljhr-nav-link .bi-chevron-down,
.ljhr-lang-pill .bi-chevron-down {
	font-size: 11px;
	vertical-align: 1px;
	transition: transform .15s ease;
}
.ljhr-dropdown.show .bi-chevron-down,
.ljhr-lang-pill[aria-expanded="true"] .bi-chevron-down {
	transform: rotate(180deg);
}

/* Angular opens these on hover; Bootstrap dropdowns are click-based by
   default. Layer hover-intent on top for pointer devices only, so touch
   keeps Bootstrap's native tap-to-open behaviour untouched. */
@media (hover: hover) {
	.ljhr-dropdown:hover > .ljhr-dropdown-menu {
		display: block;
		margin-top: 0;
	}
	.ljhr-dropdown:hover > .ljhr-nav-link {
		border-bottom-color: var(--color-brand-red);
	}
}

.ljhr-dropdown-menu {
	border: none;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	padding: .5rem 1.25rem;
	min-width: 220px;
	margin-top: .85rem !important;
}
.ljhr-dropdown-menu-sm {
	min-width: 100px;
}

.ljhr-dropdown-item {
	padding: .65rem 0;
	font-size: 14px;
	color: var(--color-text-body);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.ljhr-dropdown-item:last-child {
	border-bottom: none;
}
.ljhr-dropdown-item:hover,
.ljhr-dropdown-item:focus {
	background: transparent;
	color: var(--color-brand-red);
}

.ljhr-lang-pill {
	border: 1px solid var(--color-border);
	border-radius: 20px;
	padding: .45rem 1rem;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ljhr-contact-pill {
	background-color: var(--color-brand-red);
	color: #fff;
	border-radius: 20px;
	padding: .6rem 1.25rem;
	font-size: 15px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.ljhr-contact-pill .bi-telephone-fill {
	font-size: 13px;
}
.ljhr-contact-pill:hover {
	color: #fff;
	opacity: .9;
}

/* ---------- Mobile off-canvas menu ---------- */

.ljhr-offcanvas {
	width: 320px;
}
.ljhr-offcanvas-logo {
	display: inline-block;
	width: 56px;
	height: 56px;
	background-image: url('../logo-ljhr.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.ljhr-offcanvas-plain > a {
	display: block;
	padding: .85rem 0;
	color: var(--color-text-body);
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.ljhr-offcanvas-accordion .accordion-button {
	font-weight: 500;
	padding: .85rem 0;
	box-shadow: none;
}
.ljhr-offcanvas-accordion .accordion-button:not(.collapsed) {
	background: transparent;
	color: var(--color-brand-red);
}
.ljhr-offcanvas-accordion .accordion-body {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 0 0 .85rem 1rem;
}
.ljhr-offcanvas-accordion .accordion-body a {
	color: var(--color-text-muted);
	text-decoration: none;
}
.ljhr-offcanvas-accordion .accordion-item {
	border: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ljhr-offcanvas-contact {
	margin-top: 1.5rem;
	justify-content: center;
	width: 100%;
}

.ljhr-offcanvas-lang {
	margin-top: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
}
.ljhr-offcanvas-lang a {
	color: var(--color-text-muted);
	text-decoration: none;
	font-weight: 500;
}
.ljhr-offcanvas-lang a.active {
	color: var(--color-brand-red);
}

/* ---------- Footer ---------- */

.ljhr-footer {
	width: 100%;
}

.ljhr-footer-divider {
	width: calc(100% - clamp(32px, 14vw, 261px));
	margin: 0 auto;
	border: none;
	border-top: 1px solid var(--color-border);
	opacity: 0.2;
}

.ljhr-footer-container {
	padding: clamp(32px, 3vw, 32px) clamp(16px, 7vw, 130.5px);
}

.ljhr-footer-property-links-row {
	margin-top: 12px;
	margin-bottom: 32px;
}

/* Angular lays the logo/menu row out as two Ionic grid columns
   (size-lg="2" / size-lg="9" — 16.67% / 75% of the row, packed flush with
   no gap between them; the "missing" 1/12 is just trailing empty space).
   Verified directly against the live app: the SCSS's `.logo` margin-right
   and the `.logo img` clamp-to-200px rule don't actually manifest in the
   rendered page (logo stays a flat 160×160, columns sit flush) — matching
   observed behavior here rather than the on-paper SCSS values. Below
   Ionic's lg breakpoint (992px) both columns stack full-width. */
.ljhr-footer-main-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px 0;
}

.ljhr-footer-logo-col {
	display: flex;
	width: 100%;
}
.ljhr-footer-logo-col img {
	width: 160px;
	height: 160px;
}

.ljhr-footer-menu-col {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 32px;
}

@media (min-width: 992px) {
	.ljhr-footer-logo-col {
		flex: 0 0 16.6667%;
		width: 16.6667%;
	}
	.ljhr-footer-menu-col {
		flex: 0 0 75%;
		width: 75%;
	}
}

.ljhr-footer-menu-col .menu {
	display: flex;
	flex-direction: column;
	width: min(310px, 100%);
	margin-right: clamp(24px, 4vw, 77.5px);
	flex: 1 1 310px;
}
.ljhr-footer-menu-col .menu .header h3,
.ljhr-footer-menu-col .follow-us .header h3 {
	letter-spacing: 2.4px;
	color: var(--color-text-body);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	margin: 0;
}
.ljhr-footer-menu-col .menu .content {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 24px;
	margin-top: 19px;
}
.ljhr-footer-menu-col .menu .content a {
	text-decoration: none;
	color: var(--color-text-muted);
}
.ljhr-footer-menu-col .menu .content a span {
	line-height: 24px;
	font-size: 12px;
	font-weight: 400;
}
.ljhr-footer-menu-col .menu .group-1,
.ljhr-footer-menu-col .menu .group-2 {
	display: flex;
	flex-direction: column;
}

.ljhr-footer-menu-col .follow-us {
	display: flex;
	flex-direction: column;
	width: min(220px, 100%);
	flex: 1 1 220px;
}
.ljhr-footer-menu-col .follow-us .content {
	margin-top: 19px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ljhr-footer-menu-col .follow-us .group {
	display: flex;
	align-items: center;
	width: fit-content;
	text-decoration: none;
	color: var(--color-text-body);
}
.ljhr-footer-menu-col .follow-us .container-img {
	width: 18px;
	margin-right: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--color-text-body);
	font-size: 15px;
}
.ljhr-footer-menu-col .follow-us .group span:last-child {
	line-height: 24px;
	font-size: 12px;
	font-weight: 400;
}

.ljhr-footer-copyright {
	width: 100%;
	min-height: 55px;
	background: var(--color-near-black);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
}
.ljhr-footer-copyright span {
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 24px;
	text-align: center;
}

@media (max-width: 1080px) {
	.ljhr-footer-container {
		padding: 24px 16px 32px;
	}
	.ljhr-footer-menu-col .menu {
		margin-right: 0;
	}
}

@media (max-width: 900px) {
	.ljhr-footer-logo-col {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.ljhr-footer-divider {
		width: calc(100% - 32px);
	}
	.ljhr-footer-menu-col .menu {
		width: 100%;
	}
	.ljhr-footer-menu-col .menu .content {
		flex-direction: column;
		gap: 12px;
	}
	.ljhr-footer-menu-col .follow-us {
		width: 100%;
	}
}

/* ---------- Footer property links (SEO block) ---------- */

.footer-property-links {
	--fpl-link: var(--color-brand-red);
	display: block;
	width: 100%;
}

.footer-property-links .mode-switch {
	display: flex;
	align-items: flex-end;
	gap: 26px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	margin-bottom: 22px;
}

.footer-property-links .mode-button {
	position: relative;
	border: 0;
	background: transparent;
	padding: 0 0 8px;
	color: #8e8e8e;
	font-weight: 500;
	font-size: 14px;
	margin-bottom: -1px;
	cursor: pointer;
}
.footer-property-links .mode-button::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: transparent;
}
.footer-property-links .mode-button.is-active {
	color: var(--fpl-link);
}
.footer-property-links .mode-button.is-active::after {
	background: var(--fpl-link);
}

.footer-property-links .sections-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 20px 24px;
	align-items: start;
}

.footer-property-links .section-header h4 {
	margin: 0 0 10px;
	color: var(--color-text-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.footer-property-links .links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 8px 18px;
}

.footer-property-links .property-link {
	color: var(--fpl-link);
	text-decoration: none;
	font-size: 13px;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.footer-property-links .property-link:hover {
	text-decoration: underline;
}
.footer-property-links .property-link.extra {
	display: none;
}
.footer-property-links .mode-panel.is-expanded .property-link.extra {
	display: inline-block;
}

/* The divider isn't a rule sitting above the button — it runs through the
   button's own vertical midpoint (an absolutely-positioned ::before behind
   it), so the button visually breaks the line rather than sitting below
   it with a gap. */
.footer-property-links .toolbar {
	position: relative;
	display: flex;
	justify-content: flex-start;
	margin-top: 18px;
}
.footer-property-links .toolbar::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 1px solid rgba(16, 16, 16, 0.1);
	transform: translateY(-50%);
}

.footer-property-links .toggle-button {
	/* Without its own stacking position, this static-flow flex item paints
	   *behind* the toolbar's absolutely-positioned divider line (position:
	   absolute elements paint above static ones regardless of DOM order),
	   so the line shows through the button no matter its background. */
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 18px;
	min-height: 38px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	background: #fff;
	color: #1a1a1a;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

@media (max-width: 920px) {
	.footer-property-links .sections-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.footer-property-links .mode-switch {
		justify-content: space-between;
	}
	.footer-property-links .mode-button {
		flex: 1 1 0;
		text-align: center;
	}
	.footer-property-links .sections-grid {
		grid-template-columns: 1fr;
	}
	.footer-property-links .links {
		grid-template-columns: 1fr;
	}
}

/* ---------- Home page ---------- */
/* Ported from LJHRealtyFrontEnd/src/app/home/home.page.scss. ion-card/
   ion-card-header/ion-card-title/ion-card-subtitle/ion-card-content are
   replaced with .card/.card-header/.card-title/.card-subtitle/.card-body;
   ion-label -> .eyebrow, the ion-text partnership blurb -> .partnership-body,
   the repeated ion-label/h2/span heading -> .section-header (see
   partials/section_heading.php). swiper-container/swiper-slide are the real
   vendored Swiper library, kept as-is. */

#grid-home {
	/* Bootstrap's reboot sets body{line-height:1.5} (24px @16px), but
	   Angular/Ionic never overrides the browser/font default ("normal",
	   ~19px for Poppins) — that 5px-per-line difference was the source of
	   several height mismatches ported from LJHRealtyFrontEnd. Scoped to
	   Home content only; header/footer were already tuned against 24px. */
	line-height: normal;
}

#grid-home section {
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

/* Source: ion-row:first-child and #row-hot-key-banner both zero this out
   (:first-child = #row-navigation, always the first section here). Needs
   #grid-home prefixed to outrank the ID+tag specificity of the rule above
   — a bare ID selector alone is *lower* specificity than "#grid-home section". */
#grid-home #row-navigation,
#grid-home #row-hot-key-banner {
	padding-bottom: 0;
	margin-bottom: 0;
}

/* Source: global.scss .swiper-slide — applies to every slide in every
   carousel unless a section overrides it. Most sections already got their
   own centering rule (see the "swiper-slide centering" comments below);
   this is what the testimonial video-thumb <img> actually relies on for
   its centering and its width:auto/height:auto/max-* sizing. */
#grid-home swiper-slide {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-align: center;
	box-sizing: border-box;
}

#grid-home swiper-slide img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
}

.section-header {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.section-header .eyebrow {
	height: 21px;
	font-size: 15px;
	line-height: 18px;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 1.5px;
	color: var(--color-text-muted);
}

.section-header h2 {
	margin-top: 9px;
	text-align: center;
	color: var(--color-text-body);
	line-height: 36px;
	font-size: 30px;
	font-weight: 600;
	margin-bottom: 7px;
}

.section-header .underline {
	display: block;
	width: 60px;
	height: 4px;
	background: var(--color-brand-red);
}

.section-header--divider {
	flex-direction: row;
	height: 21px;
}

.section-header--divider .line {
	width: 100px;
	height: 1px;
	background: var(--color-text-body);
	opacity: 0.3;
	margin: 0 23.5px;
}

.section-header--divider .title {
	font-size: 15px;
	font-weight: 400;
	text-align: center;
	letter-spacing: 1.5px;
	color: var(--color-text-muted);
	text-transform: uppercase;
}

/* 1. Hero + search card */

#row-navigation {
	position: relative;
	width: 100%;
}

#row-navigation .listing-search {
	width: 100%;
}

#row-navigation .find-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	max-height: 650px;
}

#row-navigation .image-container {
	aspect-ratio: 3 / 1;
	padding-top: 91px;
	border-radius: 15px;
	display: flex;
	justify-content: center;
	max-height: 500px;
	overflow: hidden;
}

#row-navigation .image-container img {
	width: 100%;
	aspect-ratio: 3 / 1;
	object-fit: cover;
	border-radius: 15px;
	position: relative;
	z-index: -1;
}

#row-navigation .search-container {
	position: relative;
	top: -90px;
	width: calc(100% - 650px);
	height: 201px;
	background: var(--color-dark-panel-alt);
	border-radius: 15px;
}

#row-navigation .find-listing {
	padding: 0 31px;
}

#row-navigation .transact-type {
	padding-top: .75rem;
	width: 100%;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(105, 105, 105, .8);
}

#row-navigation .sell,
#row-navigation .rent {
	background: none;
	border: 0;
	color: #ffffff;
	text-decoration: none;
	font-weight: 400;
	font-size: 14px;
	margin-right: 1.5rem;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 8px;
	opacity: 0.5;
}

#row-navigation .sell.active,
#row-navigation .rent.active {
	opacity: 1;
	border-bottom: 3px solid var(--color-cta-yellow);
}

#row-navigation .sell:hover,
#row-navigation .rent:hover {
	cursor: pointer;
}

#row-navigation .input-box {
	display: flex;
	position: relative;
	margin-top: 21px;
}

#row-navigation .search-box {
	width: 100%;
	display: flex;
}

#row-navigation .search-box input {
	width: calc(100% - 171px);
	height: 49px;
	border-radius: 15px;
	border: 0;
	background: #ffffff;
	color: var(--color-text-muted);
	padding-left: 28px;
	font-size: 14px;
}

#row-navigation .search-box input.mobile {
	display: none;
}

#row-navigation .search-box button {
	width: 171px;
	height: 49px;
	border: 0;
	border-radius: 15px;
	background-color: var(--color-brand-red);
	color: white;
	z-index: 3;
	position: absolute;
	right: 30px;
}

#row-navigation .filter {
	position: relative;
	margin-top: .5rem;
}

#row-navigation .filter .button {
	position: relative;
	z-index: 3;
	width: 110px;
	height: 40px;
	border: 1px solid #696969;
	border-radius: 10px;
	margin-right: 23px;
	margin-top: 14px;
	margin-bottom: 14px;
	background: transparent;
	font-size: 14px;
	color: #ffffff;
}

#row-navigation .filter .button.highlight {
	border: 1px solid var(--color-brand-red);
}

@media (max-width: 1600px) {
	#row-navigation .search-container {
		width: calc(100% - 350px);
		top: -64px;
	}
}

@media (max-width: 1440px) {
	#row-navigation .find-container {
		padding: 0;
	}
	#row-navigation .image-container {
		max-width: calc(100% - 100px);
	}
}

@media (max-width: 1280px) {
	#row-navigation .search-container {
		width: calc(100% - 250px);
		height: 201px;
		padding-bottom: 0;
	}
}

@media (max-width: 1200px) {
	#row-navigation .search-container {
		width: calc(100% - 250px);
		top: -64px;
	}
}

@media (max-width: 1120px) {
	#row-navigation .search-box input {
		width: calc(100% - 150px);
		padding-left: 14px;
	}
	#row-navigation .search-box input.desktop {
		display: none;
	}
	#row-navigation .search-box input.mobile {
		display: inherit;
	}
	#row-navigation .search-box button {
		right: 0;
	}
}

@media (max-width: 1024px) {
	#row-navigation .image-container {
		padding-top: 0;
		max-width: 100%;
	}
	#row-navigation .image-container img {
		border-radius: 0;
	}
}

@media (max-width: 991px) {
	#row-navigation .find-container {
		padding-inline: 0;
	}
	#row-navigation .search-container {
		width: calc(100% - 32px);
		top: -36px;
		border-radius: 20px;
	}
	#row-navigation .find-listing {
		padding: 0 20px;
	}
	#row-navigation .input-box {
		margin-top: 16px;
	}
	#row-navigation .filter .button {
		flex: 1 1 140px;
	}
}

@media (max-width: 900px) {
	#row-navigation .image-container {
		padding-top: 0;
	}
	#row-navigation .image-container img {
		width: 100%;
		border-radius: 0;
	}
	#row-navigation .search-container {
		width: calc(100% - 64px);
		top: -48px;
	}
}

@media (max-width: 767px) {
	#row-navigation .image-container {
		width: 100%;
	}
	#row-navigation .image-container img {
		aspect-ratio: 16 / 11;
	}
	#row-navigation .search-container {
		top: -20px;
		width: calc(100% - 16px);
		padding-bottom: 16px;
	}
	#row-navigation .find-listing {
		padding: 0 16px;
	}
	#row-navigation .transact-type {
		padding-top: 1rem;
	}
	#row-navigation .search-box {
		flex-direction: row;
		gap: 0;
		position: relative;
	}
	#row-navigation .search-box input {
		width: 100%;
	}
	#row-navigation .search-box input.desktop {
		display: none;
	}
	#row-navigation .search-box input.mobile {
		display: inherit;
	}
	#row-navigation .filter {
		gap: 10px;
	}
	#row-navigation .filter .button {
		width: auto;
		flex: 1 1 calc(50% - 10px);
	}
}

@media (max-width: 500px) {
	#row-navigation .search-container {
		width: calc(100% - 16px);
		top: -16px;
	}
}

@media (max-width: 479px) {
	#row-navigation .filter .button {
		flex-basis: calc(50% - 10px);
	}
}

@media (max-width: 450px) {
	#row-navigation .search-box input {
		width: calc(100% - 32px);
	}
	#row-navigation .search-box button {
		width: 139px;
		right: 0;
	}
	#row-navigation .filter {
		display: flex;
		justify-content: start;
	}
	#row-navigation .filter .button {
		width: 90px;
		margin-right: 0.5rem;
	}
	#row-navigation .filter .button:last-child {
		margin-right: 0;
	}
}

/* 2. Hot Property carousel */

#row-property {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* LJHRealtyFrontEnd's home.page.scss has this same override as an
   unconditional rule (not inside its own @media block, despite sitting
   right after one) — verified live, it applies at every viewport, not
   just mobile. */
#row-property .section-header {
	padding-inline: 16px;
}

#row-property .section-header h2 {
	height: auto;
	font-size: 24px;
	line-height: 1.25;
}

#row-property .container-slider-property {
	width: 100%;
	height: 500px;
	margin-top: 32px;
	position: relative;
}

#row-property .container-slider-property swiper-container {
	width: 100%;
	height: 100%;
}

/* Same swiper-slide centering note as #row-finansial above. */
#row-property swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

#row-property .card {
	background: #ffffff;
	box-shadow: 0px 5px 5px #0000000d;
	border: 0;
	border-radius: 10px;
	width: min(100%, 289px);
	min-width: 289px;
	min-height: 510px;
	max-width: 289px;
	max-height: 510px;
	margin-inline: auto;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-align: center;
}

#row-property .card img {
	object-fit: cover;
	width: 100%;
	height: 190px;
	flex-shrink: 0;
	border-radius: 10px;
}

#row-property .card-header {
	padding: 6px;
	display: flex;
	justify-content: center;
	flex-direction: column;
	flex-shrink: 0;
	background: transparent;
	border: 0;
}

#row-property .card-title {
	font-weight: 600;
	font-size: 18px;
	color: #262626;
	height: 54px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

#row-property .card-subtitle {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 400;
	color: var(--color-text-muted);
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#row-property .card-subtitle::before {
	content: url(../icon/home/navigation.svg);
	padding-right: 12.5px;
	width: 16px;
	height: 18px;
}

#row-property .card-body {
	padding: 10px 6px;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

#row-property .card-body span {
	font-size: 14px;
	font-weight: 400;
	color: var(--color-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex-shrink: 0;
}

#row-property .card-body .price {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	text-align: start;
	flex-shrink: 0;
}

#row-property .card-body .start {
	font-size: 12px;
	font-weight: 400;
	color: var(--color-text-body);
}

#row-property .card-body .value {
	font-size: 22px;
	font-weight: 300;
	color: var(--color-text-body);
}

#row-property .card-body hr {
	margin-top: auto;
	margin-bottom: 12px;
	width: 100%;
	max-width: 247px;
	flex-shrink: 0;
	align-self: center;
	height: 1px;
	background: #000000;
	opacity: 0.1;
}

#row-property .card-body .btn-detail {
	display: inline-block;
	margin-top: 8px;
	width: 117px;
	height: 33px;
	line-height: 33px;
	flex-shrink: 0;
	align-self: center;
	border-radius: 17px;
	font-size: 12px;
	font-weight: 400;
	background: var(--color-cta-yellow);
	color: var(--color-text-body);
	text-align: center;
	text-decoration: none;
}

#row-property .container-slider-nav-property,
#row-project .container-slider-nav {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	/* Same unconditional-override quirk as container-slider(-property)
	   above — LJHRealtyFrontEnd's real value is 20px at every viewport,
	   not the 38px its base rule alone would suggest. */
	margin-top: 20px;
}

#row-property .arrow-left-property,
#row-property .arrow-right-property,
#row-project .arrow-left-projects,
#row-project .arrow-right-projects {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

#row-property .arrow-left-property::before,
#row-project .arrow-left-projects::before {
	content: url(../icon/home/arrow-left-black.svg);
}

#row-property .arrow-right-property::before,
#row-project .arrow-right-projects::before {
	content: url(../icon/home/arrow-right-black.svg);
}

#row-property .number-slide,
#row-project .number-slide {
	display: flex;
	align-items: center;
	margin: 0 18px;
}

#row-property .number-slide p,
#row-project .number-slide p {
	font-weight: 700;
	font-size: 14px;
	margin: 0;
}

#row-property .active-slide,
#row-project .active-slide {
	height: 20px;
	line-height: 20px;
	color: var(--color-text-body);
}

#row-property .total-slide,
#row-project .total-slide {
	height: 20px;
	line-height: 20px;
	color: #b0b0b0;
}

#row-property .no-project-container,
#row-project .no-project-container {
	width: 100%;
	text-align: center;
}

#row-property .no-projects,
#row-project .no-projects {
	font-size: 18px;
	font-weight: 700;
}

@media (max-width: 991px) {
	#row-property .container-slider-property {
		height: auto;
		padding-inline: 16px;
	}
	#row-property .card {
		min-width: min(269px, calc(100vw - 48px));
		max-width: min(269px, calc(100vw - 48px));
	}
}

@media (max-width: 767px) {
	#row-property .section-header {
		padding-inline: 16px;
	}
	#row-property .section-header h2 {
		height: auto;
		font-size: 24px;
		line-height: 1.25;
	}
	#row-property .container-slider-property {
		margin-top: 32px;
	}
	#row-property .container-slider-nav-property {
		margin-top: 20px;
	}
}

@media (max-width: 600px) {
	#row-property .section-header {
		margin-top: 0;
	}
}

@media (max-width: 320px) {
	#row-property .container-slider-property {
		padding-inline: 12px;
	}
	#row-property .card {
		width: min(100%, 269px);
	}
}

/* 3. Secondary promo banner + hot-key icon links */

#row-hot-key-banner {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
}

#row-hot-key-banner .hot-key-container {
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: space-evenly;
	padding: 0 clamp(100px, 290px, 300px);
	margin: 1rem 0;
}

#row-hot-key-banner .hot-key {
	width: calc(126px * 1.75);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	margin: 0 2rem;
}

#row-hot-key-banner .hot-key img {
	width: calc(111px * 1.75);
	height: calc(111px * 1.75);
}

#row-hot-key-banner .hot-key p {
	color: var(--color-text-body);
	text-align: center;
	font-weight: 600;
	font-size: 15pt;
	height: 60px;
	margin: 1em 0;
}

#row-hot-key-banner .banner-container {
	margin: 1rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 450px);
}

#row-hot-key-banner .prev,
#row-hot-key-banner .next {
	display: flex;
	align-items: center;
	margin: 0 12px;
	cursor: pointer;
}

#row-hot-key-banner .arrow-left-home-banner::before {
	content: "";
	display: inline-block;
	background-image: url(../icon/home/chevron-left-1.svg);
	background-size: contain;
	width: 34px;
	height: 34px;
}

#row-hot-key-banner .arrow-right-home-banner::before {
	content: "";
	display: inline-block;
	background-image: url(../icon/home/chevron-right-1.svg);
	background-size: contain;
	width: 34px;
	height: 34px;
}

#row-hot-key-banner .banner-container swiper-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	width: 100%;
}

#row-hot-key-banner .container-banner .image-thumb {
	aspect-ratio: 3 / 1;
	overflow: hidden;
}

#row-hot-key-banner .container-banner .image-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1600px) {
	#row-hot-key-banner .hot-key-container {
		padding: 0 clamp(100px, 150px, 200px);
	}
	#row-hot-key-banner .hot-key {
		width: calc(126px * 1.5);
		margin: 0 1rem;
	}
	#row-hot-key-banner .hot-key img {
		width: calc(111px * 1.5);
		height: calc(111px * 1.5);
	}
	#row-hot-key-banner .hot-key p {
		font-size: 12pt;
	}
}

@media (max-width: 1440px) {
	#row-hot-key-banner .banner-container {
		width: calc(100% - 4rem);
		margin-top: 0;
	}
}

@media (max-width: 1280px) {
	#row-hot-key-banner .hot-key-container {
		padding-inline: clamp(24px, 6vw, 140px);
		gap: 16px;
		flex-wrap: wrap;
	}
	#row-hot-key-banner .hot-key {
		width: min(180px, calc(50% - 16px));
		margin: 0;
	}
	#row-hot-key-banner .hot-key p {
		height: auto;
		min-height: 48px;
	}
	#row-hot-key-banner .banner-container {
		width: min(100%, calc(100% - clamp(24px, 4vw, 64px)));
	}
}

@media (max-width: 1200px) {
	#row-hot-key-banner .banner-container {
		width: calc(100% - 1rem);
		margin-top: 0;
	}
}

@media (max-width: 1100px) {
	#row-hot-key-banner .hot-key-container {
		padding: 0 clamp(100px, 150px, 200px);
	}
	#row-hot-key-banner .hot-key {
		width: calc(126px * 1.5);
		margin: 0 1rem;
	}
	#row-hot-key-banner .hot-key img {
		width: calc(111px * 1.5);
		height: calc(111px * 1.5);
	}
	#row-hot-key-banner .hot-key p {
		font-size: 15pt;
	}
}

@media (max-width: 991px) {
	#row-hot-key-banner {
		top: -1rem;
	}
	#row-hot-key-banner .hot-key-container {
		padding-inline: 20px;
	}
	#row-hot-key-banner .hot-key {
		width: min(160px, calc(50% - 12px));
	}
	#row-hot-key-banner .hot-key img {
		width: 111px;
		height: 111px;
	}
	#row-hot-key-banner .hot-key p {
		font-size: 14pt;
	}
	#row-hot-key-banner .banner-container {
		width: calc(100% - 32px);
		margin-top: 0.5rem;
	}
}

@media (max-width: 960px) {
	#row-hot-key-banner .hot-key-container {
		padding: 0 1rem;
	}
	#row-hot-key-banner .hot-key {
		width: 126px;
	}
	#row-hot-key-banner .hot-key p {
		font-size: 10pt;
	}
}

@media (max-width: 700px) {
	#row-hot-key-banner .hot-key-container {
		flex-wrap: wrap;
		margin-bottom: 0;
		margin-top: 2rem;
		padding-top: 1rem;
		padding-right: 0;
		padding-left: .25rem;
	}
	#row-hot-key-banner .hot-key {
		margin: 0 .5rem;
	}
	#row-hot-key-banner .hot-key img {
		width: 100px;
		height: 100px;
	}
	#row-hot-key-banner .hot-key p {
		font-size: 11px;
	}
}

@media (max-width: 600px) {
	#row-hot-key-banner {
		margin-bottom: 1rem;
	}
	#row-hot-key-banner .banner-container {
		width: 100%;
	}
	#row-hot-key-banner .prev,
	#row-hot-key-banner .next {
		margin: 0;
	}
	#row-hot-key-banner .prev {
		margin-right: 6px;
	}
	#row-hot-key-banner .arrow-left-home-banner::before {
		width: 16px;
		height: 16px;
	}
	#row-hot-key-banner .next {
		margin-left: 6px;
	}
	#row-hot-key-banner .arrow-right-home-banner::before {
		width: 16px;
		height: 16px;
	}
}

@media (max-width: 500px) {
	#row-hot-key-banner .hot-key img {
		width: 100px;
		height: 100px;
	}
}

@media (max-width: 479px) {
	#row-hot-key-banner .hot-key-container {
		gap: 12px 8px;
	}
	#row-hot-key-banner .hot-key {
		width: calc(50% - 8px);
	}
}

/* 4. New Project carousel */

#row-project {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Same unconditional-override quirk noted on #row-property above. */
#row-project .section-header {
	padding-inline: 16px;
}

#row-project .section-header h2 {
	height: auto;
	font-size: 24px;
	line-height: 1.25;
}

#row-project .container-slider {
	margin-top: 32px;
	position: relative;
}

#row-project .container-slider swiper-container {
	height: auto;
	padding-bottom: 12px;
}

#row-project .project-page {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	height: auto;
}

#row-project .project-page-grid {
	width: min(100%, 1120px);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 548px));
	gap: 24px;
	justify-content: center;
	align-items: stretch;
	margin-inline: auto;
}

#row-project .project-page-grid > :last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
	width: min(548px, 100%);
}

#row-project .project-page-grid.project-page-grid-single .card {
	height: auto !important;
	min-height: 490px;
	align-self: start;
}

#row-project .card {
	background: #ffffff;
	box-shadow: 0px 5px 5px #0000000d;
	border: 0;
	border-radius: 20px;
	width: 100%;
	min-height: 490px;
	max-width: 548px;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#row-project .card img {
	object-fit: cover;
	width: 100%;
	border-radius: 20px;
	aspect-ratio: 24/9;
}

#row-project .card-header {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding-inline: 1rem;
	background: transparent;
	border: 0;
}

#row-project .card-title {
	font-weight: 600;
	font-size: 18px;
	display: flex;
	/* Unconditional override in the source (see #row-project note above):
	   project-name stacks above city-name at every viewport, not just mobile. */
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	color: #262626;
}

#row-project .project-name {
	text-align: start;
	font-size: 18px;
	font-weight: 600;
	color: #262626;
	height: 46px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

#row-project .city-name {
	font-size: 12px;
	font-weight: 400;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	white-space: nowrap;
}

#row-project .city-name::before {
	content: url(../icon/home/navigation.svg);
	padding-right: 12px;
	width: 16px;
	height: 18px;
}

#row-project .card-body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	justify-content: space-between;
}

#row-project .card-body p {
	/* Unconditional override in the source: 96px at every viewport. */
	min-height: 96px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: var(--color-text-muted);
	text-align: start;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

#row-project .price-detail {
	display: flex;
	/* Unconditional override in the source: price stacks above the
	   button at every viewport, not just mobile. */
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	text-align: start;
}

#row-project .price-detail .start {
	font-size: 12px;
	font-weight: 400;
	color: var(--color-text-body);
}

#row-project .price-detail .value {
	font-size: 22px;
	font-weight: 300;
	color: var(--color-text-body);
}

#row-project .price-detail .btn-detail {
	display: inline-block;
	margin-top: 8px;
	width: 117px;
	height: 33px;
	line-height: 33px;
	border-radius: 17px;
	font-size: 12px;
	font-weight: 400;
	background: var(--color-cta-yellow);
	color: var(--color-text-body);
	text-align: center;
	text-decoration: none;
}

@media (max-width: 1099px) {
	#row-project .project-page-grid,
	#row-project .project-page-grid.project-page-grid-single {
		grid-template-columns: minmax(0, 1fr);
		width: min(100%, 548px);
		max-width: 548px;
		gap: 16px;
		justify-content: center;
		justify-items: center;
	}
	#row-project .project-page-grid > :last-child:nth-child(odd) {
		grid-column: auto;
		width: 100%;
	}
	#row-project .card {
		height: auto !important;
		min-height: 0;
		max-width: 548px;
		align-self: start;
	}
}

@media (max-width: 991px) {
	#row-project .container-slider {
		padding-inline: 16px;
	}
	#row-project .project-page {
		justify-content: center;
		padding-inline: 4px;
	}
	#row-project .project-page-grid,
	#row-project .project-page-grid.project-page-grid-single {
		width: 100%;
		justify-items: center;
	}
	#row-project .project-page-grid > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
	#row-project .card {
		min-width: min(520px, calc(100vw - 64px));
		width: min(520px, calc(100vw - 64px));
		max-width: min(520px, calc(100vw - 64px));
	}
}

@media (max-width: 767px) {
	#row-project .section-header {
		padding-inline: 16px;
	}
	#row-project .section-header h2 {
		height: auto;
		font-size: 24px;
		line-height: 1.25;
	}
	#row-project .container-slider {
		margin-top: 32px;
	}
	#row-project .card-title {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	#row-project .card-body p {
		height: auto;
		min-height: 96px;
	}
	#row-project .price-detail {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	#row-project .container-slider-nav {
		margin-top: 20px;
	}
}

@media (max-width: 600px) {
	#row-project .project-page-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		max-width: 100%;
	}
	#row-project .project-page-grid > :last-child:nth-child(odd) {
		grid-column: auto;
		width: 100%;
	}
	#row-project .project-page-grid.project-page-grid-single {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
	}
	#row-project .project-page-grid.project-page-grid-single > :last-child:nth-child(odd) {
		justify-self: center;
	}
	#row-project .card {
		min-width: 100%;
		width: 100%;
		height: auto;
	}
	#row-project .card img {
		aspect-ratio: 24/12;
	}
	#row-project .card-body p {
		height: 126px;
		-webkit-line-clamp: 6;
	}
}

@media (max-width: 400px) {
	#row-project .card {
		min-width: 100%;
		width: 100%;
		height: auto;
	}
	#row-project .card img {
		aspect-ratio: 24/12;
	}
	#row-project .card-title {
		font-size: 14px;
	}
}

/* 5. KPR/bank strip carousel (divider heading) */

#row-finansial {
	margin: 0 clamp(88px, 99px, 111px);
}

#row-finansial .slide-container {
	margin-top: 18.51px;
	height: 200px;
	display: flex;
	align-items: center;
}

#row-finansial .prev,
#row-finansial .next {
	height: 200px;
	display: flex;
	align-items: center;
	margin: 0 12px;
	cursor: pointer;
}

#row-finansial .arrow-left-finansial::before {
	content: url(../icon/home/chevron-left.svg);
}

#row-finansial .arrow-right-finansial::before {
	content: url(../icon/home/chevron-right.svg);
}

#row-finansial .slide-container swiper-container {
	width: 100%;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* align-items on the swiper-container HOST above doesn't reach into
   Swiper's own internal slide layout (each swiper-slide defaults to
   height:100% of the wrapper, top-aligning its content by default) —
   centering has to be applied on the slide itself. */
#row-finansial swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

#row-finansial .kpr-container {
	width: 172px;
	max-width: 100%;
	height: 122px;
	background: #ffffff;
	box-shadow: 2px 4px 28px #97b3c140;
	border: 1px solid #cbcbcb;
	border-radius: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-decoration: none;
}

#row-finansial .kpr-container .pointer {
	width: 86px;
	height: 27px;
}

#row-finansial .kpr-container .text {
	margin-top: 13.59px;
	font-size: 12px;
	font-weight: 400;
	color: var(--color-text-body);
}

#row-finansial .kpr-container .interest {
	margin-top: 3.59px;
	font-size: 16px;
	text-align: center;
	color: var(--color-text-body);
	font-weight: 700;
}

#row-finansial .kpr-container:hover {
	width: 199px;
	height: 142px;
	cursor: pointer;
}

#row-finansial .kpr-container:hover .pointer {
	width: 105px;
	height: 31px;
}

#row-finansial .kpr-container:hover .text {
	font-size: 13.89px;
}

#row-finansial .kpr-container:hover .interest {
	font-size: 18.52px;
}

@media (max-width: 1080px) {
	#row-finansial {
		margin: 0;
	}
	#row-finansial .prev,
	#row-finansial .next {
		display: none;
	}
}

@media (max-width: 320px) {
	#row-finansial .section-header {
		padding-inline: 12px;
	}
	#row-finansial .section-header--divider .line {
		margin: 0 12px;
	}
	#row-finansial .section-header--divider .title {
		font-size: 12px;
		letter-spacing: 1px;
	}
	#row-finansial .slide-container {
		margin-top: 14px;
		height: auto;
		padding-inline: 12px;
	}
	#row-finansial .slide-container swiper-container {
		height: auto;
	}
	#row-finansial .kpr-container,
	#row-finansial .kpr-container:hover {
		width: min(100%, 172px);
		height: 122px;
	}
	#row-finansial .kpr-container:hover .pointer {
		width: 86px;
		height: 27px;
	}
	#row-finansial .kpr-container:hover .text {
		font-size: 12px;
	}
	#row-finansial .kpr-container:hover .interest {
		font-size: 16px;
	}
}

/* 6. Testimonial carousel + video modal */

#row-testimonies .container-slide {
	width: 100%;
	margin-top: 52px;
	position: relative;
}

#row-testimonies .container-slide swiper-container {
	width: 100%;
}

#row-testimonies .container-testimonies {
	width: 1139px;
	height: 488px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	margin: 0 clamp(8px, 32px, 129px);
}

#row-testimonies .video-thumb {
	width: 561px;
	height: 404px;
	border-radius: 10px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	background-color: #f7f7f8;
}

/* Source only sets height:100% here — width:auto/max-width:100% come from
   the global swiper-slide img rule above, so portrait/landscape testimony
   photos keep their aspect ratio instead of being cropped to fill the box. */
#row-testimonies .video-thumb img {
	height: 100%;
}

#row-testimonies .description {
	width: 751px;
	height: 437px;
	background: var(--color-dark-panel);
	border-radius: 5px;
	padding-left: 243px;
	padding-right: 53px;
	padding-top: 55px;
	padding-bottom: 35px;
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
}

/* .quotes itself stays position:static (source never sets it) so its
   ::before icon positions relative to .description (the nearest
   positioned ancestor), not relative to this empty span. */
#row-testimonies .quotes::before {
	z-index: 6;
	position: absolute;
	top: -27px;
	left: 243px;
	content: url(../icon/home/quote.svg);
	width: 88px;
	height: 58px;
}

#row-testimonies .description p {
	text-align: left;
	font-size: 13px;
	color: #f7f7f8;
	font-weight: 400;
	font-style: italic;
	margin: 1em 0;
}

#row-testimonies .name {
	text-align: left;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	display: block;
}

#row-testimonies .office {
	text-align: left;
	font-size: 12px;
	font-weight: 400;
	color: #d8d8d8;
	display: block;
}

#row-testimonies .btn-video {
	margin-top: 28px;
	width: 228px;
	height: 53px;
	border: 0;
	background: var(--color-brand-red);
	border-radius: 26px;
	font-size: 15px;
	text-align: center;
	color: #ffffff;
}

#row-testimonies .navigation {
	position: absolute;
	bottom: 8%;
	right: 51.5%;
	z-index: 5;
	display: flex;
	flex-direction: row;
}

#row-testimonies .arrow-left-testimony::before {
	content: "";
	background: transparent url(../icon/home/arrow-left-white.svg) 0% 0% no-repeat padding-box;
	width: 39px;
	height: 10px;
	display: flex;
}

#row-testimonies .arrow-right-testimony::before {
	content: "";
	background: transparent url(../icon/home/arrow-right-white.svg) 0% 0% no-repeat padding-box;
	width: 39px;
	height: 10px;
	display: flex;
}

#row-testimonies .arrow-left-testimony {
	margin-right: 46px;
}

#row-testimonies .arrow-left-testimony,
#row-testimonies .arrow-right-testimony {
	cursor: pointer;
}

#row-testimonies .no-testimonies {
	width: 100%;
	text-align: center;
}

@media (max-width: 1080px) {
	#row-testimonies .section-header h2 {
		font-size: 24px;
	}
	#row-testimonies .container-testimonies {
		width: 100%;
		height: 840px;
		margin: 0 auto;
		flex-direction: column;
	}
	#row-testimonies .video-thumb {
		width: 583px;
		height: 420px;
		position: relative;
	}
	#row-testimonies .description {
		width: 583px;
		height: 440px;
		padding: 85px clamp(1rem, 50%, 2rem) 53px;
		position: relative;
		bottom: 3%;
	}
	#row-testimonies .quotes::before {
		top: 10%;
		left: 26px;
		width: 66px;
		height: 36px;
	}
	#row-testimonies .btn-video {
		position: absolute;
		bottom: 6%;
	}
	#row-testimonies .navigation {
		bottom: 9%;
		right: calc(50% - 259.5px);
	}
}

@media (max-width: 600px) {
	#row-testimonies .container-testimonies {
		width: 100%;
		height: calc(261px + 582px);
		margin: 0 auto;
	}
	#row-testimonies .video-thumb {
		width: calc(100% - 4rem);
		height: 261px;
	}
	#row-testimonies .description {
		width: 100%;
		height: 582px;
		padding: 100px 1rem 53px;
		position: relative;
		bottom: 6%;
		border-radius: 0;
		align-items: center;
	}
	#row-testimonies .quotes::before {
		top: 60px;
		width: 55px;
		height: 26px;
		left: calc((100% - 55px) / 2);
	}
	#row-testimonies .description p {
		font-size: 13px;
		margin-bottom: 18px;
		text-align: center;
	}
	#row-testimonies .name {
		font-size: 15px;
		text-align: center;
	}
	#row-testimonies .office {
		font-size: 13px;
		text-align: center;
	}
	#row-testimonies .btn-video {
		position: relative;
		bottom: 2%;
	}
	#row-testimonies .navigation {
		bottom: 13%;
		right: calc((100% - 124px) / 2);
	}
}

@media (max-width: 320px) {
	#row-testimonies .container-testimonies {
		height: calc(261px + 680px);
	}
	#row-testimonies .description {
		height: auto;
		min-height: 680px;
		padding-bottom: 120px;
	}
	#row-testimonies .navigation {
		bottom: 72px;
		right: calc((100% - 124px) / 2);
	}
}

/* Video modal (ported from shared/video-modal) */

.video-modal .modal-content {
	background: transparent;
	border: 0;
}

.video-modal .btn-close {
	position: absolute;
	top: -40px;
	right: 0;
	filter: invert(1);
	z-index: 1;
}

.video-modal .video-container {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.video-modal .video-container iframe {
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

/* 7. Article/News carousel */

#row-news {
	margin-top: 28px;
	height: fit-content;
}

#row-news .slide-container {
	margin-top: 79px;
	padding: 0 clamp(88px, 99px, 111px);
	display: flex;
	justify-content: center;
	align-items: center;
}

#row-news .nav {
	height: 100%;
}

#row-news .nav .arrow-left-news,
#row-news .nav .arrow-right-news {
	margin: 0 12px;
	cursor: pointer;
}

#row-news .arrow-left-news::before {
	content: url(../icon/home/chevron-left.svg);
}

#row-news .arrow-right-news::before {
	content: url(../icon/home/chevron-right.svg);
}

#row-news .nav-mobile {
	display: none;
}

#row-news .nav-mobile .arrow-left-news::before {
	content: url(../icon/home/arrow-left-black.svg);
}

#row-news .nav-mobile .arrow-right-news::before {
	content: url(../icon/home/arrow-right-black.svg);
}

#row-news .slide-container swiper-container {
	width: 100%;
}

#row-news .card {
	display: block;
	width: min(100%, 365px);
	min-width: 0;
	max-width: 365px;
	height: 334px;
	min-height: 334px;
	text-align: left;
	margin-inline: auto;
	position: relative;
	cursor: pointer;
	text-decoration: none;
	border: 0;
	border-radius: 4px;
	overflow: hidden;
}

#row-news .category-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	background: var(--color-cta-yellow);
	color: var(--color-text-body);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	padding: 6px 12px;
	border-radius: 6px;
}

#row-news .card img {
	object-fit: cover;
	width: 100%;
	height: 198px;
	border-radius: 10px;
}

#row-news .card-header {
	margin-top: 9px;
	padding: 0 3px;
	background: transparent;
	border: 0;
}

#row-news .card-subtitle {
	color: var(--color-text-muted);
	font-size: 14px;
	font-weight: 400;
	margin: 0;
}

#row-news .card-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-text-body);
	height: 70px;
	margin: 8px 0 0;
}

#row-news .card-body {
	padding: 0 3px;
}

#row-news .read-more {
	text-decoration: none;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 2.4px;
	color: var(--color-text-muted);
	text-transform: uppercase;
}

#row-news .read-more::after {
	content: url(../icon/home/read-more-icon.svg);
	margin-left: 14px;
}

#row-news .no-news {
	width: 100%;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
}

@media (max-width: 1080px) {
	#row-news .section-header h2 {
		font-size: 24px;
	}
	#row-news .slide-container {
		padding: 0;
		flex-direction: column;
	}
	#row-news .nav {
		display: none;
	}
	#row-news .nav-mobile {
		display: flex;
		justify-content: center;
		width: 100%;
		margin: 0 12px;
	}
	#row-news .nav-mobile .arrow-left-news {
		padding-right: 2rem;
	}
	#row-news .nav-mobile .arrow-right-news {
		padding-left: 2rem;
	}
	#row-news .slide-container swiper-container {
		width: 100%;
	}
}

@media (max-width: 768px) {
	#row-news {
		margin-top: 0;
	}
}

@media (max-width: 320px) {
	#row-news .section-header {
		padding-inline: 12px;
	}
	#row-news .slide-container {
		margin-top: 32px;
		padding-inline: 12px;
	}
	#row-news .nav-mobile {
		margin: 0;
	}
	#row-news .card {
		width: min(100%, calc(100vw - 24px));
		max-width: 365px;
		min-width: 0;
		height: auto;
		min-height: 0;
	}
	#row-news .card img {
		height: auto;
		aspect-ratio: 365 / 198;
	}
	#row-news .card-title {
		height: auto;
		min-height: 0;
		font-size: 16px;
		line-height: 1.35;
	}
}

/* 8. Partner/bank logo carousel (same data as §5, different presentation) */

#row-partnership {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* Source: <ion-col size="10"> — 10/12 of the row, minus Ionic's default
   5px-per-side column padding. This is what makes the row's justify-
   content:center actually center a narrower block instead of stretching
   full width, and what forces .partnership-body to wrap at ~596px instead
   of running nearly edge-to-edge. */
#row-partnership .partnership-col {
	width: calc(83.3333% - 10px);
}

#row-partnership .partnership-body {
	margin-top: 2rem;
	font-family: var(--font-family-brand);
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	color: var(--color-text-alt);
}

#row-partnership .slide-container {
	width: 100%;
	margin-top: 18.51px;
	display: flex;
	align-items: center;
}

#row-partnership .slide-container swiper-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Source: global.scss reaches into the Swiper custom element's shadow DOM
   for this one section (#row-partnership, #row-partnership-office) — without
   it, Swiper's grid+centeredSlides math left-aligns an incomplete last row
   (e.g. 3 leftover logos out of a 7-column grid) instead of centering it. */
#row-partnership swiper-container::part(wrapper) {
	justify-content: center;
	align-items: center;
}

#row-partnership .kpr-container {
	width: 172px;
	max-width: 100%;
	height: 122px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-decoration: none;
}

#row-partnership .kpr-container .pointer {
	width: 116px;
}

#row-partnership .kpr-container:hover {
	width: 199px;
	height: 142px;
	cursor: pointer;
}

#row-partnership .kpr-container:hover .pointer {
	width: 156px;
}

@media (max-width: 600px) {
	#row-partnership .slide-container {
		width: 100%;
		height: auto;
	}
}

@media (max-width: 320px) {
	#row-partnership .partnership-body {
		margin-top: 1.25rem;
		font-size: 12px;
		line-height: 1.6;
	}
	#row-partnership .slide-container {
		margin-top: 14px;
		padding-inline: 12px;
	}
	#row-partnership .kpr-container,
	#row-partnership .kpr-container:hover {
		width: min(100%, 140px);
		height: 96px;
	}
	#row-partnership .kpr-container .pointer,
	#row-partnership .kpr-container:hover .pointer {
		width: 96px;
	}
}
