/*
Theme Name: IsraCap Rentals
Description: Rental listings site for IsraCap Property Management: home, rentals list with filters and map, and unit pages.
Version: 1.8.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: isracap
*/

:root {
	--navy: #0b1530;
	--blue: #2f55b5;
	--blue-dark: #1f3f94;
	--gold: #f6d06b;
	--gold-dark: #b8902f;
	--tint: #eef3fd;
	--band: #f5f7fb;
	--line: #d5ddec;
	--line-soft: #e3e8f2;
	--slate: #40507a;
	--ink-soft: #26355c;
	--green: #146b3a;
	--green-soft: #e4f4ea;
	--head: Montserrat, system-ui, sans-serif;
	--body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--navy); background: #fff; font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.ic-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ic-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ic-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.ic-skip:focus { left: 8px; top: 8px; }

/* Header */
.ic-header { border-bottom: 1px solid var(--line-soft); background: #fff; }
.ic-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.ic-wordmark { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; font-family: var(--head); line-height: 1; }
.ic-wordmark__name { font-size: 34px; letter-spacing: .7px; }
.ic-wordmark__name b { font-weight: 800; color: var(--blue); }
.ic-wordmark__name i { font-style: normal; font-weight: 400; color: var(--gold-dark); }
.ic-wordmark__sub { font-size: 14px; font-weight: 500; letter-spacing: 1.7px; color: #14254a; }
.ic-wordmark--dark .ic-wordmark__name b { color: #fff; }
.ic-wordmark--dark .ic-wordmark__name i { color: var(--gold); }
.ic-wordmark--dark .ic-wordmark__sub { color: #b9c4de; }
.custom-logo { max-height: 78px; width: auto; }
.ic-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 15px; font-weight: 500; }
.ic-nav a { color: var(--navy); text-decoration: none; padding: 10px 0; }
.ic-nav a:hover, .ic-nav a[aria-current="page"] { color: var(--blue-dark); }
.ic-nav__sep { width: 1px; height: 22px; background: var(--line); }
.ic-nav a.ic-nav__portal { color: var(--blue-dark); font-weight: 600; }
.ic-menu-toggle { display: none; height: 44px; padding: 0 16px; border: 1px solid #a9b5ce; border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; }

/* Buttons and tags */
.ic-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.ic-btn--primary { background: var(--blue); color: #fff; }
.ic-btn--primary:hover { background: var(--blue-dark); color: #fff; }
.ic-btn--outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.ic-btn--outline:hover { background: var(--tint); }
.ic-btn--block { display: flex; width: 100%; }
.ic-linkbtn { border: 0; background: none; padding: 0; color: var(--blue-dark); text-decoration: underline; cursor: pointer; }
.ic-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 8px; border-radius: 6px; line-height: 1.2; }
.ic-tag--now { background: #fff; color: var(--green); }
.ic-tag--nowsoft { background: var(--green-soft); color: #0e5a2f; }
.ic-tag--soon { background: var(--navy); color: #fff; }
.ic-tag--special { background: var(--gold); color: var(--navy); }

/* Home hero and search */
.ic-hero { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-end; padding-top: 56px; padding-bottom: 36px; }
.ic-hero__text { flex: 3 1 520px; min-width: 0; }
.ic-hero h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 18px; }
.ic-hero p { font-size: 18px; color: var(--slate); max-width: 620px; margin: 0; }
.ic-special-banner { flex: 1 1 280px; min-width: 0; display: flex; align-items: center; gap: 14px; background: #fff6d9; border: 1px solid #ebcb6a; border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--navy); }
.ic-special-banner svg { flex: 0 0 auto; color: #7a5c12; }
.ic-special-banner strong { display: block; font-size: 15px; font-weight: 600; }
.ic-special-banner small { font-size: 14px; color: var(--slate); }
.ic-search { padding-bottom: 56px; }
.ic-searchbar { display: flex; flex-wrap: wrap; border: 1px solid #c3cde0; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(11, 21, 48, .08); background: #fff; }
.ic-searchbar__field { flex: 1 1 140px; display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: -1px; }
.ic-searchbar__field--wide { flex: 3 1 240px; }
.ic-searchbar label { font-size: 12px; font-weight: 600; color: var(--slate); }
.ic-searchbar input, .ic-searchbar select { height: 30px; border: 0; padding: 0; background: transparent; font-size: 16px; width: 100%; }
.ic-searchbar__go { flex: 1 1 150px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: #fff; border: 0; font-weight: 600; font-size: 16px; cursor: pointer; }
.ic-searchbar__go:hover { background: var(--blue-dark); }

/* Sections */
.ic-band { background: var(--band); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 48px 0 56px; }
.ic-section { padding-top: 56px; padding-bottom: 56px; }
.ic-rule { border-top: 1px solid var(--line-soft); }
.ic-section--flush { padding-top: 0; }
.ic-why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ic-why__item { background: var(--tint, #eef3fd); border-radius: 12px; padding: 22px 20px; }
.ic-why__item svg { color: var(--blue); margin-bottom: 12px; }
.ic-why__item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ic-why__item p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.ic-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.ic-contact > div { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.ic-contact h2 { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.ic-contact p { margin: 0; }
.ic-contact a { font-weight: 600; }
.ic-footer__legal { padding-top: 14px; padding-bottom: 28px; font-size: 13px; color: #b9c3dd; }
.ic-footer__legal p { margin: 0 0 6px; max-width: 900px; }
.ic-footer__legal a { margin-right: 16px; }
.ic-panel__special a { font-size: 13px; font-weight: 600; color: var(--navy); }
.ic-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.ic-section-head h2 { font-weight: 700; font-size: 28px; letter-spacing: -.5px; }
.ic-section-head a { font-size: 15px; font-weight: 600; }
.ic-tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.ic-tabs button { height: 44px; padding: 0; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--slate); font-size: 15px; font-weight: 500; cursor: pointer; }
.ic-tabs button[aria-pressed="true"] { border-bottom-color: var(--blue); color: var(--navy); font-weight: 600; }
.ic-more { margin: 28px 0 0; }
.ic-empty { margin: 8px 0 0; color: var(--slate); }

/* Cards */
.ic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ic-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.ic-card[hidden] { display: none; }
.ic-card.is-active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 85, 181, .2); }
.ic-card__photo { position: relative; display: block; aspect-ratio: 10 / 7; background: #d3ddf0; }
.ic-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.ic-nophoto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 30px 16px 12px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); }
.ic-nophoto svg { color: var(--gold); margin-bottom: 4px; }
.ic-nophoto em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.ic-nophoto--wide small { max-width: 520px; line-height: 1.5; }
.ic-nophoto strong { font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 700; }
.ic-nophoto small { font-size: 13px; opacity: .85; }
.ic-nophoto--wide { position: relative; inset: auto; min-height: 260px; border-radius: 16px; padding: 24px; }
.ic-nophoto--wide strong { font-size: 26px; }
.ic-nophoto--wide small { font-size: 15px; }
.ic-card__tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ic-card__count { position: absolute; right: 10px; bottom: 10px; background: rgba(11, 21, 48, .78); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: 6px; }
.ic-card__body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ic-card__rent { font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: -.3px; }
.ic-card__rent span { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--slate); letter-spacing: 0; }
.ic-card__facts { font-size: 15px; }
.ic-card__addr { font-size: 14px; line-height: 1.4; color: var(--slate); text-decoration: none; }
.ic-card__addr:hover { text-decoration: underline; }
.ic-card__actions { display: flex; gap: 20px; margin-top: auto; border-top: 1px solid var(--line-soft); }
.ic-card__actions a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; text-decoration: none; }
.ic-card__actions a:hover { text-decoration: underline; }

/* Neighborhood tiles */
.ic-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ic-area { position: relative; height: 200px; border-radius: 12px; overflow: hidden; background: #c4d1ea; display: flex; align-items: flex-end; text-decoration: none; }
.ic-area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ic-area__label { position: relative; width: 100%; background: var(--navy); color: #fff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ic-area__label strong { font-family: var(--head); font-weight: 600; font-size: 17px; }
.ic-area__label small { font-size: 13px; color: #b9c4de; white-space: nowrap; }

/* Costs table and quote */
.ic-how { display: flex; flex-wrap: wrap; gap: 48px; }
.ic-how__table { flex: 3 1 520px; min-width: 0; }
.ic-how__table h2 { font-weight: 700; font-size: 28px; letter-spacing: -.5px; margin-bottom: 20px; }
.ic-tablewrap { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.ic-tablewrap table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; text-align: left; }
.ic-tablewrap th, .ic-tablewrap td { padding: 14px 18px; vertical-align: top; }
.ic-tablewrap thead tr { background: var(--band); }
.ic-tablewrap tbody tr { border-top: 1px solid var(--line-soft); }
.ic-tablewrap th { font-weight: 600; white-space: nowrap; }
.ic-tablewrap td { color: var(--ink-soft); }
.ic-quote { flex: 2 1 320px; min-width: 0; margin: 0; align-self: center; border-left: 4px solid var(--gold); padding-left: 24px; }
.ic-quote blockquote { margin: 0 0 14px; font-family: var(--head); font-weight: 600; font-size: 21px; line-height: 1.4; }
.ic-quote figcaption { font-size: 15px; color: var(--slate); }

/* Rentals list */
.ic-filterbar { border-bottom: 1px solid var(--line-soft); background: #fff; position: sticky; top: 0; z-index: 20; }
.admin-bar .ic-filterbar { top: 32px; }
.ic-filterbar__in { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.ic-input { height: 44px; border: 1px solid #a9b5ce; border-radius: 8px; padding: 0 14px; font-size: 15px; background: #fff; }
.ic-filterbar .ic-input:first-of-type { flex: 1 1 220px; min-width: 0; }
.ic-range { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: 14px; }
.ic-filterbar .ic-range .ic-input { flex: 0 0 auto; width: 128px; min-width: 0; }
.ic-input--select { padding-right: 8px; }
.ic-seg { display: flex; border: 1px solid #a9b5ce; border-radius: 8px; overflow: hidden; }
.ic-seg button { height: 42px; white-space: nowrap; min-width: 46px; padding: 0 12px; border: 0; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.ic-seg button + button { border-left: 1px solid var(--line-soft); }
.ic-seg button[aria-pressed="true"] { background: var(--navy); color: #fff; font-weight: 600; }
.ic-chip { height: 44px; padding: 0 14px; border: 1px solid #a9b5ce; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.ic-chip[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); color: #0e5a2f; font-weight: 600; }
.ic-chip--special[aria-pressed="true"] { border-color: var(--gold-dark); background: #fff6d9; color: #5b4307; }
.ic-results { display: flex; gap: 24px; align-items: flex-start; padding-top: 24px; padding-bottom: 64px; }
.ic-results__list { flex: 1 1 0; min-width: 0; }
.ic-results__map { flex: 0 0 38%; position: sticky; top: 84px; }
.admin-bar .ic-results__map { top: 116px; }
.ic-results__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.ic-results__head h1 { font-weight: 700; font-size: 26px; letter-spacing: -.4px; margin-bottom: 4px; }
.ic-results__head p { margin: 0; font-size: 14px; color: var(--slate); }
.ic-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.ic-sort select { height: 44px; border: 0; background: transparent; font-weight: 600; color: var(--blue-dark); }
.ic-grid--results { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ic-map { height: calc(100vh - 150px); min-height: 420px; max-height: 760px; border: 1px solid var(--line); border-radius: 12px; background: #e9eef6; z-index: 1; }
.ic-map--single { height: 320px; min-height: 0; }
.ic-map__legend { display: flex; gap: 18px; font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.ic-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--navy); }
.ic-dot--soon { background: #fff; border: 1.5px solid var(--navy); }
.ic-pin { background: var(--navy); color: #fff; font: 600 13px/1 var(--body); padding: 6px 8px; border-radius: 6px; white-space: nowrap; box-shadow: 0 1px 4px rgba(11, 21, 48, .35); transform: translate(-50%, -100%); display: inline-block; }
.ic-pin--soon { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.ic-pin.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.ic-pin-wrap { background: none; border: 0; }

/* Unit page */
.ic-crumbs { padding-top: 14px; padding-bottom: 14px; font-size: 14px; }
.ic-crumbs a { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.ic-mosaic { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 206px 206px; border-radius: 12px; overflow: hidden; }
.ic-mosaic__item { position: relative; display: block; background: #d3ddf0; overflow: hidden; }
.ic-mosaic__item:first-child { grid-row: 1 / span 2; }
.ic-mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.ic-mosaic__item--hidden { display: none; }
.ic-mosaic--1 { grid-template-columns: 1fr; }
.ic-mosaic--2 { grid-template-columns: 2fr 1fr; }
.ic-mosaic--2 .ic-mosaic__item:nth-child(2) { grid-row: 1 / span 2; }
.ic-mosaic--3 { grid-template-columns: 2fr 1fr; }
.ic-mosaic--4 .ic-mosaic__item:nth-child(2) { grid-column: 2 / span 2; }
.ic-mosaic__more { position: absolute; right: 10px; bottom: 10px; background: #fff; color: var(--navy); border: 1px solid var(--navy); font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 8px; }
.ic-unit { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 32px; padding-bottom: 64px; }
.ic-unit__main { flex: 999 1 540px; min-width: 0; }
.ic-unit__side { flex: 1 1 320px; min-width: 0; position: sticky; top: 24px; }
.admin-bar .ic-unit__side { top: 56px; }
.ic-unit__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.ic-unit__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ic-unit__head h1 { font-weight: 700; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; margin-bottom: 6px; }
.ic-unit__where { margin: 0; color: var(--slate); }
.ic-unit__nums { display: flex; gap: 28px; align-items: flex-end; margin: 0; }
.ic-unit__num { display: flex; flex-direction: column; }
.ic-unit__num dd { margin: 0; font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.25; }
.ic-unit__num dt { font-size: 14px; color: var(--slate); }
.ic-unit__num--rent dd { font-weight: 800; font-size: 34px; letter-spacing: -1px; line-height: 1.1; }
.ic-block { padding-top: 32px; }
.ic-block h2 { font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.ic-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ic-features span { background: var(--tint); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.ic-prose { color: var(--ink-soft); max-width: 720px; }
.ic-prose h2, .ic-prose h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 1.2em 0 .5em; }
.ic-prose h2:first-child, .ic-prose h3:first-child { margin-top: 0; }
.ic-prose ul, .ic-prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.ic-prose li { margin-bottom: .3em; }
.ic-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; font-size: 15px; }
.ic-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.ic-facts dt { color: var(--slate); }
.ic-facts dd { margin: 0; font-weight: 600; text-align: right; }
.ic-costs { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.ic-costs div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.ic-costs div + div { border-top: 1px solid var(--line-soft); }
.ic-costs strong { font-weight: 600; text-align: right; }
.ic-note { font-size: 14px; color: var(--slate); margin: 10px 0 0; }
.ic-steps { margin: 0; padding-left: 1.3em; color: var(--ink-soft); }
.ic-steps li { margin-bottom: .45em; }
.ic-panel { border: 1px solid #c3cde0; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 6px 20px rgba(11, 21, 48, .08); background: #fff; }
.ic-panel__rent { margin: 0; font-family: var(--head); font-weight: 800; font-size: 38px; letter-spacing: -1.2px; line-height: 1; }
.ic-panel__rent span { font-family: var(--body); font-weight: 400; font-size: 16px; color: var(--slate); letter-spacing: 0; }
.ic-panel__special { background: var(--gold); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ic-panel__special small { font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.ic-panel__special strong { font-weight: 600; }
.ic-panel__special span { font-size: 13px; }
.ic-panel .ic-note { margin: 0; }
.ic-panel__contact { border-top: 1px solid var(--line-soft); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }

/* Plain pages */
.ic-page { padding-top: 48px; padding-bottom: 72px; max-width: 860px; }
.ic-page h1 { font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.02em; margin-bottom: 24px; }

/* Lightbox */
.ic-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 21, 48, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.ic-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.ic-lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.ic-lightbox__close { top: 12px; right: 12px; }
.ic-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.ic-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.ic-lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }

/* Footer */
.ic-footer { background: var(--navy); color: #b9c4de; font-size: 15px; line-height: 1.7; }
.ic-footer a { color: #fff; }
.ic-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-top: 48px; padding-bottom: 28px; }
.ic-footer__grid > div { display: flex; flex-direction: column; gap: 6px; }
.ic-footer__grid p { margin: 0; }
.ic-footer h2 { font-family: var(--body); font-size: 15px; font-weight: 600; color: #fff; }
.ic-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid #26345a; font-size: 14px; }
.ic-footer__base span { display: flex; gap: 18px; }

/* Smaller screens */
@media (max-width: 960px) {
	.ic-results { flex-direction: column-reverse; }
	.ic-results__map { position: static; flex: none; width: 100%; }
	.ic-map { height: 300px; min-height: 0; }
	.ic-unit__side { position: static; }
	.ic-filterbar { position: static; }
}
@media (max-width: 720px) {
	.ic-wrap { padding-left: 16px; padding-right: 16px; }
	.ic-menu-toggle { display: inline-flex; align-items: center; }
	.ic-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; }
	.ic-nav.is-open { display: flex; }
	.ic-nav a { padding: 12px 0; width: 100%; border-top: 1px solid var(--line-soft); }
	.ic-nav__sep { display: none; }
	.ic-hero { padding-top: 36px; }
	.ic-searchbar__field { flex: 1 1 100%; border-right: 0; }
	.ic-searchbar__go { flex: 1 1 100%; }
	.ic-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px 110px; }
	.ic-mosaic__item:first-child { grid-row: auto; grid-column: 1 / span 2; }
	.ic-mosaic--1 { grid-template-rows: 240px; }
	.ic-mosaic--2 .ic-mosaic__item:nth-child(2), .ic-mosaic--3 .ic-mosaic__item:nth-child(2) { grid-row: auto; }
	.ic-mosaic--4 .ic-mosaic__item:nth-child(2) { grid-column: auto; }
	.ic-unit { gap: 28px; }
	.ic-unit__nums { gap: 20px; flex-wrap: wrap; }
	.ic-seg { width: 100%; }
	.ic-seg button { flex: 1; min-width: 0; padding: 0 6px; }
	.ic-filterbar .ic-input { flex: 1 1 100%; }
	.ic-range { width: 100%; }
	.ic-filterbar .ic-range .ic-input { flex: 1 1 0; width: auto; }
	.ic-chip { flex: 1; }
}

@media (max-width: 720px) {
	.ic-wordmark__name { font-size: 28px; letter-spacing: .6px; }
	.ic-wordmark__sub { font-size: 11.5px; letter-spacing: 1.4px; }
	.custom-logo { max-height: 60px; }
}

/* Qualify box and lead forms */
.ic-qualify { background: var(--tint, #eef3fd); border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.ic-qualify strong { display: block; font-family: var(--head); font-size: 15px; margin-bottom: 6px; }
.ic-qualify ul { margin: 0 0 8px; padding-left: 1.1em; }
.ic-qualify li { margin-bottom: 3px; }
.ic-qualify a { font-weight: 600; }
.ic-lead { border-top: 1px solid var(--line-soft); padding-top: 14px; }
.ic-lead h2 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ic-lead p { font-size: 14px; margin: 0 0 10px; }
.ic-lead form { display: flex; flex-direction: column; gap: 6px; }
.ic-lead label { font-size: 13px; font-weight: 600; }
.ic-lead input[type="text"], .ic-lead textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #b9c4de; border-radius: 8px; width: 100%; margin-bottom: 6px; background: #fff; color: var(--navy); }
.ic-lead input[type="text"]:focus, .ic-lead textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.ic-lead button { margin-top: 4px; cursor: pointer; }
.ic-lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ic-lead__ok { background: var(--green-soft); color: var(--green); font-weight: 600; border-radius: 8px; padding: 12px 14px; }
.ic-lead__err { color: #a12525; font-weight: 600; }
.ic-page .ic-lead { max-width: 520px; margin-top: 28px; padding-top: 24px; }
.ic-page .ic-lead h2 { font-size: 22px; margin-bottom: 12px; }
.ic-applylist { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ic-applylist li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ic-applylist strong { display: block; }
.ic-applylist span { display: block; font-size: 14px; color: var(--slate); }
.ic-applylist .ic-btn { flex: none; }
