/* ==========================================================================
   Costa Listings — design tokens
   Faithfully matches the reference site's design system: Belleza (display,
   uppercase headings/price/logo) + Work Sans (body). Ink-black text, warm
   "blush" off-white for soft surfaces, thin bright-accent rule marks, pill
   buttons and pill tags throughout. Accent color is teal per request
   (reference used a salmon coral - same brightness/saturation, different hue).
   ========================================================================== */

:root {
	--coral:        #14B8A6; /* the site's bright accent - "coral" name kept from reference for minimal diff, now teal */
	--coral-hover:  #0F9488;
	--ink:          #071F1B;
	--body-text:    #393939;
	--blush:        #FAF6F6;
	--green-light:  #EAF5EE; /* very light green - used for the FAQ blocks and the homepage "Browse by area" band, as an alternative to --blush */
	--border:       #E4DEDE;
	--muted:        #8A8582;
	--content-width: 1200px;

	--font-display: 'Belleza', sans-serif;
	--font-body:    'Work Sans', sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--body-text);
	background: #fff;
	overflow-x: hidden;
	font-size: 16px;
	line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 0.5em;
	line-height: 1.2;
	letter-spacing: 0.5px;
}
h1 { font-size: 30px; letter-spacing: 1px; }
h2 { font-size: 22px; }
h3 { font-size: 15px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.cl-container { max-width: var(--content-width); margin: 0 auto; padding: 0 40px; }
.rule { width: 36px; height: 2px; background: var(--coral); margin-bottom: 16px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn, .cl-btn, .cl-btn-primary {
	display: inline-block;
	background: var(--coral);
	color: #fff;
	padding: 12px 26px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 600;
	font-family: var(--font-body);
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s linear;
	white-space: nowrap;
}
.btn:hover, .cl-btn:hover, .cl-btn-primary:hover { background: var(--coral-hover); }
.btn-outline, .cl-btn-outline {
	display: inline-block;
	background: #fff;
	color: var(--ink);
	padding: 10px 20px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--border);
	cursor: pointer;
	white-space: nowrap;
}
.btn-outline:hover, .cl-btn-outline:hover { border-color: var(--ink); }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.cl-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.cl-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; gap: 20px; max-width: var(--content-width); margin: 0 auto; }
.cl-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cl-logo-mark-svg { display: block; flex-shrink: 0; }
.cl-logo-text { font-family: var(--font-display); letter-spacing: 1.5px; font-size: 30px; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.cl-logo img { max-height: 40px; width: auto; }

.cl-primary-nav { margin-left: auto; }
.cl-nav-list { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.cl-nav-list a { color: var(--body-text); text-decoration: none; }
.cl-nav-list a:hover { color: var(--coral); }

.cl-header-cta { flex-shrink: 0; }
.cl-nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; }
.cl-nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ==========================================================================
   Page header (rule + H1 + subtitle) - used on homepage, archive, and as
   the pattern basis for the single-property header block below
   ========================================================================== */

.cl-page-header { padding-top: 44px; padding-bottom: 8px; }
.cl-page-header h1 { margin-bottom: 10px; }
.cl-page-header p { font-size: 14px; margin: 0; color: var(--muted); }
.cl-page-header p strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Filters (the search/filter form - restyles the plugin's pi-search-form)
   ========================================================================== */

.pi-search-form {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr auto;
	gap: 12px;
	align-items: end;
	margin: 24px 0 8px;
}
.pi-field { display: flex; flex-direction: column; gap: 6px; }
.pi-field label {
	font-size: 11px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 400;
}
.pi-field select, .pi-field input {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 11px 12px;
	background: #fff;
}
.pi-field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23393939' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 30px;
}
.pi-field-submit { flex-direction: row; gap: 8px; }
.pi-btn { background: var(--coral); color: #fff; padding: 12px 24px; height: 44px; border-radius: 9999px; font-weight: 600; font-size: 13px; border: none; }
.pi-btn:hover { background: var(--coral-hover); }
.pi-btn-clear { background: #fff; color: var(--ink); border: 1px solid var(--border); height: 44px; }
.pi-btn-clear:hover { border-color: var(--ink); }

/* ==========================================================================
   Results meta + grid (restyles pi-results-count / pi-results-grid / pi-card)
   ========================================================================== */

.pi-results-count {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0 10px;
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}
.pi-results-count strong { color: var(--ink); }

.pi-results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	padding-bottom: 40px;
}
.pi-card {
	display: block;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	text-decoration: none;
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.15s linear, transform 0.15s linear;
}
.pi-card:hover { box-shadow: 0 8px 24px rgba(7,31,23,0.08); transform: translateY(-2px); }
.pi-card-img { width: 100%; height: 180px; overflow: hidden; background-color: var(--blush); }
.pi-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pi-card-body { padding: 16px 18px 18px; }
.pi-card-price { font-family: var(--font-display); font-size: 17px; color: var(--coral); margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.pi-card-title { font-family: var(--font-body); font-size: 15px; margin: 0 0 6px; color: var(--ink); line-height: 1.3; font-weight: 600; text-transform: none; }
.pi-card-meta { font-size: 12px; color: var(--muted); margin: 0; display: block; }
.pi-card-meta span { color: var(--muted); }
.pi-card-meta span:not(:last-child)::after { content: '\00b7'; margin: 0 6px; }

/* ==========================================================================
   Pagination (restyles pi-pagination)
   ========================================================================== */

.pi-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 0 60px; flex-wrap: wrap; }
.pi-pagination .page-numbers {
	min-width: 36px; height: 36px; border-radius: 9999px; border: 1px solid var(--border);
	background: #fff; color: var(--body-text); font-size: 13px;
	display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
}
.pi-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.cl-breadcrumbs { padding: 18px 0 0; }
.cl-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.cl-breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.cl-breadcrumbs li:not(:last-child)::after { content: '\203a'; margin-left: 6px; color: var(--muted); }
.cl-breadcrumbs a { color: var(--muted); }
.cl-breadcrumbs a:hover { color: var(--coral); }
.cl-breadcrumbs [aria-current] { color: var(--ink); }

/* ==========================================================================
   Single property page
   ========================================================================== */

.cl-property { padding: 8px 0 0; }
.cl-property-head { padding: 8px 0 24px; }
.cl-eyebrow { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--coral); margin: 0 0 6px; font-weight: 600; }

.cl-pill-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.cl-pill-dark {
	background: var(--ink); color: #fff; font-family: var(--font-body); font-weight: 600;
	font-size: 13px; padding: 8px 16px; border-radius: 9999px;
}
.cl-pill-light {
	background: var(--blush); color: var(--ink); font-size: 13px; font-weight: 400;
	padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--border);
}
.cl-price-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.cl-gallery { margin: 24px 0 8px; }
.cl-gallery-main {
	display: block; width: 100%; padding: 0; border: none;
	border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--blush);
	position: relative;
}
.cl-gallery-expand-hint {
	position: absolute; right: 16px; bottom: 16px;
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(7, 31, 27, 0.72); color: #fff;
	padding: 8px 14px; border-radius: 999px;
	font-family: var(--font-body); font-size: 13px; font-weight: 500;
	pointer-events: none; /* the whole hero button is already clickable */
}
.cl-gallery-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.cl-gallery-thumb {
	position: relative; padding: 0; border: none; border-radius: 8px; overflow: hidden;
	aspect-ratio: 4 / 3; background: var(--blush); cursor: pointer;
}
.cl-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-gallery-more {
	position: absolute; inset: 0; background: rgba(7,31,23,0.6); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-size: 18px;
}

.cl-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7,31,23,0.94); display: flex; align-items: center; justify-content: center; }
.cl-lightbox[hidden] { display: none; }
.cl-lightbox-img { width: min(88vw, 1400px); height: min(84vh, 900px); object-fit: contain; border-radius: 4px; }
.cl-lightbox-close, .cl-lightbox-prev, .cl-lightbox-next {
	position: absolute; background: rgba(255,255,255,0.1); border: none; color: #fff;
	width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem;
	display: flex; align-items: center; justify-content: center;
}
.cl-lightbox-close:hover, .cl-lightbox-prev:hover, .cl-lightbox-next:hover { background: rgba(255,255,255,0.2); }
.cl-lightbox-close { top: 20px; right: 20px; }
.cl-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.cl-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.cl-lightbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #C7D2CD; font-size: 0.85rem; }

.cl-property-body { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 32px 0 48px; align-items: start; }
.cl-property-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.cl-property-section:last-child { border-bottom: none; margin-bottom: 0; }
.cl-property-description p { margin: 0 0 1em; color: var(--body-text); }

.cl-pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-pill {
	background: #fff; color: var(--body-text); font-size: 13px;
	padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--border);
}

/* Sticky enquiry / brochure-request card */
.cl-enquiry-card {
	position: sticky; top: 100px; background: var(--blush); border: 1px solid var(--border);
	border-radius: 14px; padding: 22px;
}
.cl-enquiry-card h3 { margin-bottom: 8px; }
.cl-enquiry-card p:not(.cl-eyebrow) { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.cl-enquiry-card .cl-btn { width: 100%; text-align: center; }
.cl-enquiry-privacy-note { font-size: 11px; color: var(--muted); margin: 10px 0 0; }
.cl-enquiry-privacy-note a { color: var(--muted); text-decoration: underline; }
.cl-enquiry-privacy-note a:hover { color: var(--coral); }

/* Restyle the embedded Fluent Forms form to match the site rather than
   its own default blue rectangular look. Selectors target Fluent Forms'
   standard class names, with generic input/button fallbacks in case a
   version difference renames something. Scoped to both .cl-enquiry-card
   (the sidebar card on property pages) AND .cl-property-description
   (the plain content wrapper on ordinary Pages, e.g. Contact) - without
   the second scope, the same [fluentform] shortcode embedded on a Page
   fell back to Fluent Forms' own default blue button, since that
   wrapper never gets a .cl-enquiry-card class. */
.cl-enquiry-card .fluentform,
.cl-property-description .fluentform,
.cl-enquiry-card .ff-el-group,
.cl-property-description .ff-el-group { margin-bottom: 14px; }
.cl-enquiry-card .fluentform label,
.cl-property-description .fluentform label,
.cl-enquiry-card .ff-el-input--label label,
.cl-property-description .ff-el-input--label label {
	font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ink);
	margin-bottom: 4px; display: block;
}
.cl-enquiry-card .fluentform input[type="text"],
.cl-property-description .fluentform input[type="text"],
.cl-enquiry-card .fluentform input[type="email"],
.cl-property-description .fluentform input[type="email"],
.cl-enquiry-card .fluentform input[type="tel"],
.cl-property-description .fluentform input[type="tel"],
.cl-enquiry-card .fluentform textarea,
.cl-property-description .fluentform textarea,
.cl-enquiry-card .ff-el-form-control,
.cl-property-description .ff-el-form-control {
	width: 100%; font-family: var(--font-body); font-size: 14px; color: var(--ink);
	border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
	background: #fff; box-sizing: border-box;
}
.cl-enquiry-card .fluentform textarea,
.cl-property-description .fluentform textarea { min-height: 90px; resize: vertical; }

/* Widened selector net (button OR input[type=submit], several possible
   Fluent Forms class names) plus !important on the visual properties -
   Fluent Forms ships its own default blue button styling, and depending
   on load order / selector specificity that can otherwise win over a
   plain override. This guarantees ours wins regardless. */
.cl-enquiry-card .fluentform button[type="submit"],
.cl-property-description .fluentform button[type="submit"],
.cl-enquiry-card .fluentform input[type="submit"],
.cl-property-description .fluentform input[type="submit"],
.cl-enquiry-card .fluentform .ff-btn,
.cl-property-description .fluentform .ff-btn,
.cl-enquiry-card .fluentform .ff-btn-submit,
.cl-property-description .fluentform .ff-btn-submit,
.cl-enquiry-card .fluentform .ff_submit_btn,
.cl-property-description .fluentform .ff_submit_btn,
.cl-enquiry-card .ff-btn-submit,
.cl-property-description .ff-btn-submit,
.cl-enquiry-card .ff_submit_btn,
.cl-property-description .ff_submit_btn {
	display: block !important; width: 100% !important; text-align: center !important;
	background: var(--coral) !important; color: #fff !important;
	font-family: var(--font-body) !important; font-weight: 600 !important;
	font-size: 13px !important; padding: 12px 20px !important;
	border-radius: 9999px !important; border: none !important; cursor: pointer !important;
	box-shadow: none !important;
}
.cl-enquiry-card .fluentform button[type="submit"]:hover,
.cl-property-description .fluentform button[type="submit"]:hover,
.cl-enquiry-card .fluentform input[type="submit"]:hover,
.cl-property-description .fluentform input[type="submit"]:hover,
.cl-enquiry-card .fluentform .ff-btn:hover,
.cl-property-description .fluentform .ff-btn:hover,
.cl-enquiry-card .fluentform .ff-btn-submit:hover,
.cl-property-description .fluentform .ff-btn-submit:hover,
.cl-enquiry-card .fluentform .ff_submit_btn:hover,
.cl-property-description .fluentform .ff_submit_btn:hover,
.cl-enquiry-card .ff-btn-submit:hover,
.cl-property-description .ff-btn-submit:hover,
.cl-enquiry-card .ff_submit_btn:hover,
.cl-property-description .ff_submit_btn:hover { background: var(--coral-hover) !important; }
.cl-enquiry-card .fluentform .ff-el-is-error input,
.cl-property-description .fluentform .ff-el-is-error input,
.cl-enquiry-card .fluentform .ff-el-is-error textarea,
.cl-property-description .fluentform .ff-el-is-error textarea { border-color: #b32d2e; }
.cl-enquiry-card .fluentform .error,
.cl-property-description .fluentform .error,
.cl-enquiry-card .ff-errror-message,
.cl-property-description .ff-errror-message { color: #b32d2e; font-size: 12px; margin-top: 4px; }

/* "Why buy" style highlight grid (optional, reused for feature highlights) */
.cl-highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cl-highlight-card { background: var(--blush); border-radius: 12px; padding: 20px; }
.cl-highlight-card h4 { font-size: 13px; letter-spacing: 0.5px; margin-bottom: 8px; }
.cl-highlight-card p { font-size: 14px; color: var(--body-text); margin: 0; }

.cl-disclaimer { font-size: 12px; color: var(--muted); padding: 20px 0 40px; border-top: 1px solid var(--border); margin-top: 20px; }

/* ==========================================================================
   Related listings ("You may also like")
   ========================================================================== */

.cl-related-card {
	display: block; text-decoration: none; border: 1px solid var(--border); border-radius: 14px;
	overflow: hidden; background: #fff;
}
.cl-related-card-img { height: 160px; overflow: hidden; background-color: var(--blush); }
.cl-related-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-related-card-body { padding: 14px 16px 16px; }
.cl-related-card-title { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.cl-related-card-area { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.cl-related-card-price { font-size: 13px; color: var(--ink); font-weight: 600; margin: 0; }

/* ==========================================================================
   Areas grid (homepage)
   ========================================================================== */

.cl-area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cl-area-card {
	display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--border);
	border-radius: 14px; padding: 20px; transition: border-color 0.15s, transform 0.15s;
}
.cl-area-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.cl-area-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.cl-area-count { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   Homepage sections
   ========================================================================== */

.cl-section { padding: 48px 0; }
.cl-section-alt { background: var(--blush); }
.cl-section-green { background: var(--green-light); }
.cl-section-head { margin-bottom: 28px; }
.cl-section-cta { text-align: center; margin-top: 32px; }

.cl-hero-photo { margin: 24px 0 8px; border-radius: 14px; overflow: hidden; aspect-ratio: 21/9; background: var(--blush); }
.cl-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.cl-cta-banner { background: var(--ink); color: #fff; padding: 56px 0; text-align: center; }
.cl-cta-banner h2 { color: #fff; }
.cl-cta-banner p { color: #C7D2CD; max-width: 480px; margin: 0 auto 20px; }

/* ==========================================================================
   Homepage "Buying property in Estepona" intro + FAQ - sits below the
   listings/areas/CTA sections. Intro copy is narrowed to a readable
   measure rather than stretching full-width like the rest of the site's
   wider grid sections, since this is prose meant to be read, not scanned.
   ========================================================================== */

.cl-intro-copy { max-width: 760px; }
.cl-intro-copy > p { font-size: 15px; color: var(--body-text); }

/* Term/area description content (rendered via wpautop() from the
   taxonomy Description field, archive-property.php) needs spacing
   restored here specifically:
   - on an archive page this markup sits inside .cl-page-header, whose
     "p { margin: 0; }" rule (meant only for that section's one-line
     subtitle) otherwise collapses every paragraph in a full area
     write-up flush against the next one, with no gap at all.
   - the site-wide "ul { margin:0; padding:0; list-style:none; }" reset
     (needed for nav menus etc.) also strips real bullet markers and
     spacing from a genuine prose list inside this kind of content. */
.cl-page-header .cl-intro-copy p { margin: 0 0 1em; }
.cl-intro-copy h3 { margin-top: 1.5em; }
.cl-intro-copy ul { list-style: disc; margin: 0 0 1.2em; padding-left: 1.3em; }
.cl-intro-copy ul li { margin-bottom: 0.4em; }

.cl-faq { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.cl-faq-item {
	background: var(--green-light);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 20px 22px;
}
.cl-faq-item h3 {
	font-family: var(--font-body);
	text-transform: none;
	letter-spacing: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 8px;
}
.cl-faq-item p { font-size: 14px; color: var(--body-text); margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.cl-footer { background: var(--ink); color: #C7D2CD; padding: 56px 0 0; }
.cl-footer .cl-logo-text { color: #fff; font-size: 18px; }
.cl-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cl-footer-tagline { margin-top: 12px; font-size: 13px; max-width: 260px; color: #C7D2CD; }
.cl-footer h3.cl-eyebrow { color: #7FD8C8; font-size: 12px; margin-bottom: 12px; }
.cl-footer-col ul li { margin-bottom: 8px; }
.cl-footer-col ul.cl-footer-areas {
	columns: 2;
	column-gap: 16px;
}
.cl-footer-col ul.cl-footer-areas li { break-inside: avoid; }
.cl-footer-col a { font-size: 13px; color: #C7D2CD; }
.cl-footer-col a:hover { color: #fff; }
.cl-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 20px 0; font-size: 12px; color: #6B7A76; }
.cl-company-notice { font-size: 11px; color: #6B7A76; padding-top: 16px; margin: 0; }

/* ==========================================================================
   Basic pages / posts
   ========================================================================== */

.cl-basic-article { max-width: 760px; margin: 0 auto; padding: 20px 0; }
.cl-post-thumb { margin: 20px 0; border-radius: 14px; overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.cl-header-inner { padding: 16px 24px; }
	.cl-container { padding: 0 24px; }
	.pi-results-grid { grid-template-columns: repeat(2, 1fr); }
	.cl-property-body { grid-template-columns: 1fr; }
	.cl-enquiry-card { position: static; }
	.cl-footer-grid { grid-template-columns: 1fr 1fr; }
	.cl-highlight-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.cl-nav-toggle { display: flex; }
	.cl-primary-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		border-bottom: 1px solid var(--border); display: none; padding: 16px 24px;
	}
	.cl-primary-nav.is-open { display: block; }
	.cl-nav-list { flex-direction: column; align-items: flex-start; gap: 16px; }
	.cl-header-cta { display: none; }
	.pi-search-form { grid-template-columns: 1fr; }
	.pi-results-grid { grid-template-columns: 1fr; }
	.cl-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
	.cl-gallery-expand-hint { font-size: 12px; padding: 6px 10px; right: 10px; bottom: 10px; }
	.cl-footer-grid { grid-template-columns: 1fr; }

	/* Logo text/icon shrink at the 720px breakpoint (was overflowing into
	   the hamburger menu) - shrink it, and add an ellipsis safety net in
	   case an even longer site name is set later. */
	.cl-header-inner { padding: 14px 16px; gap: 10px; }
	.cl-logo-text { font-size: 18px; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
	.cl-logo-mark-svg { flex-shrink: 0; width: 26px; height: 26px; }
}
