/**
 * OfficePlace design system.
 * Brand: grey #323E48, green #93D500, Helvetica Neue headings, Roboto body.
 */

/* Roboto, self-hosted (variable font) — no third-party Google Fonts request,
   no render-blocking round trip. font-display:swap shows text immediately. */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../vendor/fonts/roboto-latin-var.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../vendor/fonts/roboto-latinext-var.woff2') format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Roboto Mono (self-hosted) — the numeric / data face used across the Desk
   redesign for sizes, rates, prices, refs and counts. */
@font-face {
	font-family: 'Roboto Mono';
	font-style: normal;
	font-weight: 100 700;
	font-display: swap;
	src: url('../vendor/fonts/roboto-mono-latin-var.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--op-grey: #323E48;
	--op-grey-dark: #26303a;
	--op-grey-mid: #5b6a77;
	--op-green: #93D500;
	--op-green-dark: #7ab300;
	--op-bg: #f5f7f9;
	--op-line: #e2e7ec;
	--op-white: #ffffff;
	--op-radius: 10px;
	--op-shadow: 0 2px 6px rgba(38, 48, 58, .06), 0 12px 30px rgba(38, 48, 58, .08);
	--op-font-head: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--op-font-body: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--op-font-mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- Branded header & footer (replaces the theme's) ---------- */

.site-header, .site-footer { display: none; } /* Hello Elementor defaults */

.op-skip-link { position: absolute; left: -9999px; top: 0; background: var(--op-green); color: var(--op-grey-dark);
	padding: 10px 18px; font-family: var(--op-font-head); font-weight: 700; z-index: 10001; border-radius: 0 0 7px 0; }
.op-skip-link:focus { left: 0; }

.op-site-head { position: sticky; top: 0; z-index: 9000; background: var(--op-grey);
	border-bottom: 4px solid var(--op-green); box-shadow: 0 2px 14px rgba(20, 28, 36, .25); }
body.admin-bar .op-site-head { top: 32px; }
.op-site-head-in { max-width: 1180px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 22px; }
.op-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
.op-logo-word { font-family: var(--op-font-head); font-size: 20px; letter-spacing: .14em; color: #fff; font-weight: 300; }
.op-logo-word b { font-weight: 700; }
.op-foot-logo .op-logo-word { font-size: 17px; }
.op-site-nav { margin-left: auto; }
.op-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.op-nav-list a { color: #d7dee4; text-decoration: none; font-family: var(--op-font-head); font-weight: 700;
	font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
.op-nav-list a:hover { color: var(--op-green); }
.op-nav-list .current-menu-item > a, .op-nav-list .current_page_item > a { color: var(--op-green); border-bottom-color: var(--op-green); }
.op-head-saved { position: relative; color: #d7dee4; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.op-head-saved:hover { color: var(--op-green); }
.op-fav-count { position: absolute; top: -7px; right: -10px; background: var(--op-green); color: var(--op-grey-dark);
	font-family: var(--op-font-head); font-weight: 700; font-size: 10.5px; min-width: 17px; height: 17px;
	border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.op-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; margin-left: 4px; }
.op-nav-toggle span { display: block; width: 22px; height: 2.5px; background: #fff; margin: 4.5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.op-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.op-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.op-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.op-nav-toggle { display: block; margin-left: auto; }
	.op-site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
		background: var(--op-grey-dark); border-bottom: 4px solid var(--op-green); }
	.op-site-nav.is-open { display: block; }
	.op-nav-list { flex-direction: column; gap: 0; padding: 10px 0; }
	.op-nav-list a { display: block; padding: 13px 22px; font-size: 14px; border-bottom: none; }
	.op-head-saved { margin-left: auto; }
	.op-nav-toggle { margin-left: 4px; }
	body.admin-bar .op-site-head { top: 46px; }
}

.op-site-foot { background: var(--op-grey); border-top: 4px solid var(--op-green); color: #aab6bf; margin-top: 0; }
.op-foot-cols { max-width: 1180px; margin: 0 auto; padding: 46px 20px 30px; display: grid;
	grid-template-columns: 2fr 1fr 1.2fr 1.5fr; gap: 36px; }
.op-foot-col h5 { font-family: var(--op-font-head); color: #fff; font-size: 12.5px; letter-spacing: .1em;
	text-transform: uppercase; margin: 0 0 14px; }
.op-foot-col p { font-size: 13px; line-height: 1.8; margin: 12px 0 0; }
.op-foot-col a { display: block; color: #aab6bf; text-decoration: none; font-size: 13px; line-height: 2.1; }
.op-foot-col a:hover { color: var(--op-green); }
.op-foot-fine { margin: 0 0 10px !important; }
.op-foot-alerts input[type="email"] { width: 100%; padding: 10px 12px; border: 1.5px solid #46525c; background: #2a353f;
	border-radius: 7px; color: #fff; font-size: 13px; margin-bottom: 10px; }
.op-foot-alerts input[type="email"]:focus { outline: none; border-color: var(--op-green); }
.op-foot-alerts .op-btn { padding: 9px 18px; font-size: 13px; }
.op-foot-base { max-width: 1180px; margin: 0 auto; border-top: 1px solid #46525c; padding: 18px 20px 26px;
	font-size: 12px; color: #a5b1bc; text-align: center; }
.op-foot-base a { color: #aab6bf; }
.op-foot-base a:hover { color: var(--op-green); }
.op-foot-social { max-width: 1180px; margin: 0 auto; padding: 4px 20px 0; display: flex; gap: 12px; justify-content: center; }
.op-social-link { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.08); color: #c7d0d8; transition: background .15s, color .15s, transform .15s; }
.op-social-link:hover { background: var(--op-green); color: var(--op-grey-dark); transform: translateY(-2px); }

@media (max-width: 900px) { .op-foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .op-foot-cols { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.op-testimonials { margin-top: 6px; }
.op-testimonial { background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	padding: 24px 24px 20px; box-shadow: var(--op-shadow); margin: 0; display: flex; flex-direction: column; }
.op-testimonial blockquote { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--op-grey); position: relative; }
.op-testimonial blockquote::before { content: '\201C'; font-family: Georgia, serif; font-size: 46px; line-height: 0;
	color: var(--op-green); display: block; margin-bottom: 6px; }
.op-testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.op-t-photo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.op-t-who { display: flex; flex-direction: column; font-size: 14px; }
.op-t-role { font-size: 12.5px; color: var(--op-grey-mid); }

/* ---------- Website map ---------- */
.op-sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.op-sitemap-col h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--op-grey-mid);
	border-bottom: 2px solid var(--op-green); padding-bottom: 8px; margin: 0 0 12px; }
.op-sitemap-col ul { list-style: none; margin: 0; padding: 0; }
.op-sitemap-col li { margin-bottom: 8px; }
.op-sitemap-col a { color: var(--op-grey); text-decoration: none; font-size: 14px; }
.op-sitemap-col a:hover { color: var(--op-green-dark); text-decoration: underline; }
.op-sitemap-xml { margin-top: 24px; font-size: 13px; color: var(--op-grey-mid); }

/* ---------- Contrast corrections (WCAG AA) ----------
 * Every text/background pair on the site now clears 4.5:1 for body text.
 */

html { scroll-padding-top: 96px; } /* anchors land below the sticky header */

/* ---------- Hero looping video (desktop, motion-tolerant visitors only) ---------- */

.op-hero-bg { position: relative; overflow: hidden; }
/* When the video is live, a lighter overlay lets the Johannesburg footage
   breathe; the photo fallback keeps its heavier gradient (below) for text. */
.op-hero-bg::after { content: ''; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(rgba(35, 44, 53, .80), rgba(35, 44, 53, .74)); pointer-events: none; }
.op-hero-bg > .elementor-container, .op-hero-bg > .e-con-inner { position: relative; z-index: 2; }
.op-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
	opacity: 0; transition: opacity 1.2s ease; }
.op-hero-video.is-live { opacity: 1; }

/* ---------- Brand safety net: no theme default colours bleed through ---------- */

.op-page a:not(.op-btn):not(.op-card):not(.op-fav):not(.elementor-button), .site-main a:not(.op-btn):not(.op-card):not(.op-fav):not(.elementor-button) { color: #4c7000; }
.op-page a:not(.op-btn):not(.op-card):not(.op-fav):not(.elementor-button):hover, .site-main a:not(.op-btn):not(.op-card):not(.op-fav):not(.elementor-button):hover { color: var(--op-grey-dark); }
::selection { background: var(--op-green); color: var(--op-grey-dark); }

/* Visible keyboard focus everywhere, brand coloured */
.op-btn:focus-visible, .op-fav:focus-visible, .op-nav-list a:focus-visible, .op-card:focus-visible,
.op-search-field select:focus-visible, .op-search-field input:focus-visible, .op-nav-toggle:focus-visible {
	outline: 3px solid var(--op-green); outline-offset: 2px; }

/* ---------- Home hero photo (client's own imagery, shipped with the plugin) ---------- */

.op-hero-bg { background-image: url(../img/hero-capetown.jpg) !important;
	background-size: cover !important; background-position: center 38% !important; }

/* ---------- Article page (branded single-post template) ---------- */

.op-article-page .op-wrap { padding-top: 26px; }
.op-article { background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	box-shadow: var(--op-shadow); padding: 40px clamp(20px, 6vw, 72px) 34px; max-width: 900px; margin: 0 auto 44px; }
.op-article-head h1 { font-family: var(--op-font-head); font-weight: 700; font-size: clamp(26px, 4vw, 36px);
	line-height: 1.2; color: var(--op-grey); margin: 0 0 10px; }
.op-article-meta { font-size: 13.5px; color: #64727f; margin: 0 0 22px; }
.op-article-meta a { color: #4c7000; }
.op-article-hero { margin: 0 0 26px; }
.op-article-hero img { width: 100%; height: auto; border-radius: 10px; }
.op-article-body { font-size: 16.5px; line-height: 1.75; color: #333d47; }
.op-article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.op-article-body h2, .op-article-body h3 { font-family: var(--op-font-head); color: var(--op-grey); margin-top: 1.6em; }
.op-article-body a { color: #4c7000; }
.op-article-body blockquote { border-left: 4px solid var(--op-green); margin: 1.4em 0; padding: 4px 0 4px 18px;
	color: var(--op-grey-mid); font-style: italic; }
.op-article-foot { border-top: 1px solid var(--op-line); margin-top: 30px; padding-top: 20px; }
.op-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.op-share-label { font-family: var(--op-font-head); font-weight: 700; font-size: 13px; color: var(--op-grey-mid); margin-right: 4px; }
.op-share .op-btn { padding: 8px 16px; font-size: 13px; }
.op-related-title { font-family: var(--op-font-head); font-weight: 700; font-size: 24px; text-align: center; margin: 0 0 24px; }

/* ---------- News article readability ---------- */

body.single-post .site-main, body.blog .site-main, body.archive .site-main { max-width: 1180px; margin: 0 auto; padding: 20px 20px 60px; }
body.single-post .site-main h1, body.single-post article .entry-title { font-family: var(--op-font-head); font-weight: 700; font-size: 34px; line-height: 1.2; color: var(--op-grey); }
body.single-post .site-main .page-content, body.single-post article .entry-content { max-width: 760px; font-size: 16.5px; line-height: 1.75; color: #333d47; }
body.single-post .site-main .page-content img, body.single-post article .entry-content img { border-radius: 10px; height: auto; max-width: 100%; }
body.single-post .site-main .page-content h2, body.single-post .site-main .page-content h3,
body.single-post article .entry-content h2, body.single-post article .entry-content h3 { font-family: var(--op-font-head); color: var(--op-grey); }
body.single-post article .post-thumbnail img { border-radius: 12px; }
body.blog .site-main article, body.archive .site-main article { margin-bottom: 34px; }
body.blog .site-main article h2 a, body.archive .site-main article h2 a { font-family: var(--op-font-head); color: var(--op-grey); text-decoration: none; }
body.blog .site-main article h2 a:hover, body.archive .site-main article h2 a:hover { color: #4c7000; }

/* ---------- Shared layout for plugin pages ---------- */

.op-page { font-family: var(--op-font-body); color: var(--op-grey); background: var(--op-bg); }
.op-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 20px 64px; }
.op-page-hero { background: var(--op-grey); color: #fff; padding: 44px 0 36px; border-bottom: 5px solid var(--op-green); }
.op-page-hero .op-wrap { padding-top: 0; padding-bottom: 0; }
.op-page-hero h1 { font-family: var(--op-font-head); font-weight: 700; font-size: 34px; margin: 0 0 6px; letter-spacing: .01em; }
.op-page-hero p { margin: 0; color: #c7d0d8; font-size: 15px; }

.op-page h2 { font-family: var(--op-font-head); font-weight: 700; }

/* ---------- Buttons and badges ---------- */

/* Doubled class + !important: theme resets (e.g. Hello Elementor's
   [type=submit] { background: transparent }) and Elementor kit styles
   must never strip the brand colours off these buttons. */
.op-btn.op-btn { display: inline-block; font-family: var(--op-font-head); font-weight: 700; font-size: 14px;
	padding: 11px 22px; border-radius: 7px; border: 2px solid var(--op-grey);
	background-color: var(--op-grey) !important; border-color: var(--op-grey) !important; color: #fff !important;
	text-decoration: none; cursor: pointer; line-height: 1.2; transition: background-color .15s, border-color .15s; }
.op-btn.op-btn:hover { background-color: var(--op-grey-dark) !important; border-color: var(--op-grey-dark) !important; color: #fff !important; }
.op-btn.op-btn-green { background-color: var(--op-green) !important; border-color: var(--op-green) !important; color: var(--op-grey-dark) !important; }
.op-btn.op-btn-green:hover { background-color: var(--op-green-dark) !important; border-color: var(--op-green-dark) !important; color: var(--op-grey-dark) !important; }
.op-btn.op-btn-ghost { background-color: transparent !important; border-color: var(--op-grey-mid) !important; color: var(--op-grey-dark) !important; }
.op-btn.op-btn-ghost:hover { background-color: #eef1f4 !important; border-color: var(--op-grey) !important; color: var(--op-grey-dark) !important; }

.op-badge { display: inline-block; font-family: var(--op-font-head); font-weight: 700; font-size: 11.5px;
	letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.op-badge-status { background: var(--op-green); color: var(--op-grey-dark); }
.op-badge-grade { background: var(--op-grey); color: #fff; }

/* ---------- Search bar & filters ---------- */

.op-search, .op-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
	background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	padding: 16px; box-shadow: var(--op-shadow); margin: 0 0 28px; }
.op-search-field { flex: 1 1 160px; min-width: 150px; }
.op-search-field label { display: block; font-family: var(--op-font-head); font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .06em; color: var(--op-grey-mid); margin-bottom: 6px; }
.op-search-field select, .op-search-field input { width: 100%; padding: 10px 12px; border: 1.5px solid #cdd6dd;
	border-radius: 7px; font-family: var(--op-font-body); font-size: 14px; color: var(--op-grey); background: #fff; }
.op-search-field select:focus, .op-search-field input:focus { outline: none; border-color: var(--op-green); }
.op-search .op-btn, .op-filters .op-btn { flex: 0 0 auto; }

/* ---------- Cards grid ---------- */

.op-grid { display: grid; gap: 22px; margin: 0 0 28px; }
.op-grid-2 { grid-template-columns: repeat(2, 1fr); }
.op-grid-3 { grid-template-columns: repeat(3, 1fr); }
.op-grid-4 { grid-template-columns: repeat(4, 1fr); }

.op-card { display: block; background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	overflow: hidden; text-decoration: none; color: var(--op-grey); box-shadow: var(--op-shadow);
	transition: transform .15s, box-shadow .15s; }
.op-card:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(38,48,58,.10), 0 18px 40px rgba(38,48,58,.14); }
.op-card-img { position: relative; aspect-ratio: 16 / 10; background: #dde4ea; }
.op-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-card-noimg { display: block; width: 100%; height: 100%;
	background: repeating-linear-gradient(45deg, #dde4ea, #dde4ea 14px, #d2dae1 14px, #d2dae1 28px); }
.op-card-img .op-badge-status { position: absolute; top: 12px; left: 12px; }
.op-card-img .op-badge-grade { position: absolute; top: 12px; right: 12px; }
.op-card-body { padding: 16px 18px 18px; }
.op-card-title { font-family: var(--op-font-head); font-size: 17px; font-weight: 700; margin: 0 0 6px; line-height: 1.3;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.op-card-meta { font-size: 13px; color: var(--op-grey-mid); margin: 0 0 10px; }
.op-card-price { font-family: var(--op-font-head); font-weight: 700; font-size: 16px; margin: 0; color: var(--op-grey-dark); }

.op-empty { background: #fff; border: 1.5px dashed #c3cdd5; border-radius: var(--op-radius);
	padding: 28px; text-align: center; color: var(--op-grey-mid); }

/* ---------- Breadcrumbs & filter clearing ---------- */

.op-crumbs { font-size: 13px; color: var(--op-grey-mid); margin: 0 0 16px; }
.op-crumbs a { color: #4c7000; text-decoration: none; }
.op-crumbs a:hover { text-decoration: underline; }
.op-crumbs span { margin: 0 4px; }
.op-clear-filters { font-size: 13px; color: #4c7000; align-self: center; margin-left: 4px; }
.op-filters-toggle { display: none; }
@media (max-width: 900px) {
	.op-filters-toggle { display: inline-block; margin-bottom: 14px; }
	.op-filters { display: none; }
	.op-filters.is-open { display: flex; }
}

/* ---------- Pagination ---------- */

.op-pagination { text-align: center; margin-top: 8px; }
.op-pagination .page-numbers { display: inline-block; padding: 9px 15px; margin: 0 3px; border-radius: 7px;
	border: 1.5px solid #cdd6dd; color: var(--op-grey); text-decoration: none; font-family: var(--op-font-head);
	font-weight: 700; font-size: 14px; background: #fff; }
.op-pagination .page-numbers.current { background: var(--op-grey); border-color: var(--op-grey); color: #fff; }
.op-pagination .page-numbers:hover { border-color: var(--op-green); }

/* ---------- Single property ---------- */

.op-single .op-wrap { padding-top: 28px; }
.op-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 26px; }
.op-gallery-main { border-radius: var(--op-radius); overflow: hidden; aspect-ratio: 16 / 9; background: #dde4ea; }
.op-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-gallery-thumbs { display: grid; grid-template-columns: 1fr; gap: 12px; align-content: start; }
.op-gallery-thumbs img { width: 100%; border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

.op-single-head h1 { font-family: var(--op-font-head); font-weight: 700; font-size: 30px; margin: 0 0 10px; }
.op-single-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--op-grey-mid);
	font-size: 14px; margin: 0 0 8px; }
.op-ref { margin-left: auto; font-size: 12.5px; color: #64727f; }
.op-single-price { font-family: var(--op-font-head); font-size: 22px; font-weight: 700; margin: 0 0 20px; }
.op-avail { font-size: 14px; font-weight: 400; color: var(--op-grey-mid); }

.op-facts { margin-bottom: 30px; }

.op-single-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.op-single-desc { background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	padding: 26px 28px; box-shadow: var(--op-shadow); }
.op-single-desc h2 { margin-top: 0; font-size: 20px; }
.op-single-side .op-side-title { font-family: var(--op-font-head); font-size: 16px; margin: 22px 0 10px; }

/* ---------- Brokers ---------- */

.op-broker-filter { margin: 0 0 22px; }
.op-broker-filter label { font-family: var(--op-font-head); font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .05em; color: var(--op-grey-mid); margin-right: 10px; }
.op-broker-filter select { padding: 9px 12px; border: 1.5px solid #cdd6dd; border-radius: 7px; font-size: 14px; }

.op-broker-card { background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	padding: 22px; text-align: center; box-shadow: var(--op-shadow); }
.op-broker-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; background: #dde4ea; }
.op-broker-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-broker-noimg { border-radius: 50%; }
.op-broker-card h3 { font-family: var(--op-font-head); font-size: 17px; margin: 0 0 4px; }
.op-broker-role { font-size: 13px; color: var(--op-grey-mid); margin: 0 0 14px; }
.op-broker-contact { display: flex; gap: 8px; justify-content: center; margin: 0; }
.op-broker-contact .op-btn { padding: 8px 16px; font-size: 13px; }

/* ---------- Forms & notices ---------- */

.op-enquiry form { background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	padding: 20px; box-shadow: var(--op-shadow); }
.op-enquiry label { display: block; font-family: var(--op-font-head); font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .05em; color: var(--op-grey-mid); margin-bottom: 12px; }
.op-enquiry input, .op-enquiry textarea { width: 100%; margin-top: 5px; padding: 10px 12px;
	border: 1.5px solid #cdd6dd; border-radius: 7px; font-family: var(--op-font-body); font-size: 14px; }
.op-enquiry input:focus, .op-enquiry textarea:focus { outline: none; border-color: var(--op-green); }
.op-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.op-form-row-3 { grid-template-columns: repeat(3, 1fr); }
.op-hp { position: absolute !important; left: -9999px !important; }
.op-notice { border-radius: 8px; padding: 13px 16px; margin-bottom: 14px; font-size: 14px; }
.op-notice-ok { background: #eef8d8; border: 1px solid #c8e590; color: #4c7000; }
.op-notice-ok strong { display: block; margin-bottom: 3px; font-size: 15px; }
.op-notice-err { background: #fbeeec; border: 1px solid #e6c0b8; color: #93402e; }
/* Explicit label + input fields (a11y: real for/id association) */
.op-field { margin-bottom: 14px; }
.op-form-row .op-field { margin-bottom: 0; }
.op-enquiry .op-field label { margin-bottom: 6px; }
.op-enquiry .op-field input, .op-enquiry .op-field textarea { margin-top: 0; }
.op-req { color: var(--op-green-text); }
.op-opt { text-transform: none; font-weight: 400; color: var(--op-grey-mid); letter-spacing: 0; }
.op-form-trust { font-size: 12.5px; line-height: 1.5; color: var(--op-grey-mid); margin: 10px 0 0;
	text-transform: none; letter-spacing: 0; font-weight: 400; font-family: var(--op-font-body); }

/* ---------- Calculators ---------- */

.op-calc { background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	box-shadow: var(--op-shadow); overflow: hidden; }
.op-calc-tabs { display: flex; border-bottom: 1px solid var(--op-line); background: #f0f3f6; }
.op-calc-tab { flex: 1; padding: 14px 10px; border: none; background: transparent; cursor: pointer;
	font-family: var(--op-font-head); font-weight: 700; font-size: 14px; color: #46545f;
	border-bottom: 3px solid transparent; }
.op-calc-tab.is-active { color: var(--op-grey); border-bottom-color: var(--op-green); background: #fff; }
.op-calc-panel { display: none; padding: 24px; }
.op-calc-panel.is-active { display: block; }
.op-calc-panel label { display: block; font-family: var(--op-font-head); font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .05em; color: var(--op-grey-mid); }
.op-calc-panel input { width: 100%; margin-top: 5px; padding: 10px 12px; border: 1.5px solid #cdd6dd;
	border-radius: 7px; font-size: 15px; font-family: var(--op-font-body); }
.op-calc-panel input:focus { outline: none; border-color: var(--op-green); }
.op-calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 20px; }
.op-stat { border: 1.5px solid var(--op-line); border-radius: 9px; padding: 16px; background: #fff; text-align: center; }
.op-stat-big { display: block; font-family: var(--op-font-head); font-weight: 700; font-size: 24px; color: var(--op-grey-dark); }
.op-stat-cap { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
	color: var(--op-grey-mid); font-weight: 700; margin-top: 6px; }
.op-calc-note { font-size: 12.5px; color: var(--op-grey-mid); margin: 16px 0 0; }

/* ---------- News cards ---------- */

.op-news .op-card-excerpt { font-size: 13px; color: var(--op-grey-mid); margin: 0; line-height: 1.55; }

/* ---------- Property alerts signup ---------- */

.op-alerts form { background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	padding: 18px 18px 12px; box-shadow: var(--op-shadow); }
.op-alerts-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.op-alerts-row .op-search-field { flex: 1 1 150px; }
.op-alerts-fine { font-size: 11.5px; color: #64727f; margin: 10px 0 4px; }

/* ---------- Floating WhatsApp button ----------
   Dark WhatsApp teal, not the pale brand green: white logo on #25D366 is
   ~2:1 contrast and washes out. #128C7E keeps it unmistakably WhatsApp at
   ~4.7:1, with a white ring so it reads on any page background. */

.op-wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 9999; width: 56px; height: 56px;
	border-radius: 50%; background: #128C7E; color: #fff; display: flex; align-items: center; justify-content: center;
	border: 3px solid #fff;
	box-shadow: 0 6px 18px rgba(20, 60, 30, .35); transition: transform .15s, background-color .15s; }
.op-wa-float:hover { transform: scale(1.08); color: #fff; background: #0E7265; }

/* WhatsApp action buttons (broker cards etc.) — same accessible teal */
.op-btn.op-btn-wa { background-color: #128C7E !important; border-color: #128C7E !important; color: #fff !important; }
.op-btn.op-btn-wa:hover { background-color: #0E7265 !important; border-color: #0E7265 !important; color: #fff !important; }

/* ---------- Areas directory (search + cards) ---------- */

.op-areas-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; }
.op-areas-search { flex: 1 1 320px; max-width: 480px; display: block; }
.op-areas-search input { width: 100%; padding: 13px 18px; font-size: 15.5px; font-family: var(--op-font-body);
	border: 2px solid #cdd6dd; border-radius: 999px; background: #fff;
	box-shadow: 0 1px 3px rgba(38, 48, 58, .06); transition: border-color .15s, box-shadow .15s; }
.op-areas-search input:focus { outline: none; border-color: var(--op-green);
	box-shadow: 0 0 0 3px rgba(147, 213, 0, .25); }
.op-areas-count { margin: 0; font-family: var(--op-font-head); font-weight: 700; font-size: 13px;
	color: var(--op-grey-mid); text-transform: uppercase; letter-spacing: .05em; }
.op-area-card .op-card-title { text-transform: capitalize; }
.op-area-foot { margin: 10px 0 0; }
.op-area-card.has-stock { border-left: 4px solid var(--op-green); }
.op-area-guide { font-family: var(--op-font-head); font-weight: 700; font-size: 12.5px;
	text-transform: uppercase; letter-spacing: .05em; color: var(--op-grey-mid); }
.op-area-card:hover .op-area-guide { color: var(--op-grey-dark); }
.op-areas-none { margin-top: 18px; }
.op-linklike { background: none; border: none; padding: 0; cursor: pointer; font: inherit;
	color: #4c7000; text-decoration: underline; }

/* ---------- Area profile intro ---------- */

.op-area-desc { background: #fff; border: 1px solid var(--op-line); border-left: 4px solid var(--op-green);
	border-radius: 8px; padding: 16px 20px; margin: 0 0 24px; color: #3c4854; font-size: 14.5px; line-height: 1.65; }
.op-area-desc p { margin: 0; }

/* ---------- Map view ---------- */

.op-view-toggle { display: flex; gap: 8px; margin: 0 0 18px; }
.op-view-toggle .op-btn { padding: 8px 18px; font-size: 13px; }
.op-view-toggle .op-btn.is-active { background-color: var(--op-grey) !important; border-color: var(--op-grey) !important; color: #fff !important; }
.op-map { height: 520px; border-radius: var(--op-radius); border: 1px solid var(--op-line);
	box-shadow: var(--op-shadow); margin-bottom: 28px; z-index: 1; }
.op-map-single { height: 320px; margin-bottom: 0; }
.op-pin-pop { text-decoration: none; color: var(--op-grey); font-family: var(--op-font-body); font-size: 13px; }
.op-pin { background: none; border: none; }

/* ---------- Favourites hearts ---------- */

.op-fav { position: absolute; bottom: 12px; right: 12px; z-index: 3; width: 36px; height: 36px;
	border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .92); color: var(--op-grey-mid); box-shadow: 0 2px 8px rgba(38, 48, 58, .18);
	transition: transform .15s, color .15s; }
.op-fav:hover { transform: scale(1.12); color: var(--op-green); }
.op-fav.is-saved { color: var(--op-green); }
.op-fav.is-saved svg path { fill: var(--op-green); stroke: var(--op-green); }
@keyframes op-pop { 0% { transform: scale(1); } 45% { transform: scale(1.45); } 100% { transform: scale(1); } }
.op-fav.is-pop { animation: op-pop .4s ease; }

/* ---------- Glossary ---------- */

.op-glossary-search { max-width: 380px; margin-bottom: 22px; }
.op-glossary-search input { width: 100%; padding: 11px 13px; border: 1.5px solid #cdd6dd; border-radius: 7px; font-size: 14px; }
.op-glossary-search input:focus { outline: none; border-color: var(--op-green); }
.op-glossary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.op-glossary-item { background: #fff; border: 1px solid var(--op-line); border-left: 4px solid var(--op-green);
	border-radius: 8px; padding: 16px 18px; }
.op-glossary-item dt { font-family: var(--op-font-head); font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.op-glossary-item dd { margin: 0; font-size: 13.5px; color: var(--op-grey-mid); line-height: 1.6; }

/* ---------- Careers ---------- */

.op-job { background: #fff; border: 1px solid var(--op-line); border-radius: var(--op-radius);
	box-shadow: var(--op-shadow); margin-bottom: 14px; overflow: hidden; }
.op-job summary { cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 14px;
	list-style: none; font-family: var(--op-font-head); }
.op-job summary::-webkit-details-marker { display: none; }
.op-job summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--op-green-dark);
	font-weight: 700; transition: transform .2s; }
.op-job[open] summary::after { transform: rotate(45deg); }
.op-job-title { font-weight: 700; font-size: 16px; }
.op-job-meta { color: var(--op-grey-mid); font-size: 13px; font-family: var(--op-font-body); }
.op-job-body { padding: 0 20px 18px; color: #3c4854; line-height: 1.65; font-size: 14px; }

/* ---------- Animations (respects reduced motion) ---------- */

.op-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.op-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.op-reveal { opacity: 1; transform: none; transition: none; }
}
.op-card-img img { transition: transform .45s ease; }
.op-card:hover .op-card-img img { transform: scale(1.05); }
.op-btn.op-btn:hover { transform: translateY(-1px); }
.op-btn.op-btn { transition: background-color .15s, border-color .15s, transform .15s; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.op-grid-3, .op-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.op-single-cols { grid-template-columns: 1fr; }
	.op-gallery { grid-template-columns: 1fr; }
	.op-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) and (min-width: 601px) {
	.op-glossary-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.op-grid-2, .op-grid-3, .op-grid-4, .op-glossary-list { grid-template-columns: 1fr; }
	.op-map { height: 380px; }
	/* 16px inputs stop iOS Safari zooming the page on focus */
	.op-search-field select, .op-search-field input, .op-enquiry input, .op-enquiry textarea,
	.op-calc-panel input, .op-glossary-search input { font-size: 16px; }
	.op-form-row, .op-form-row-3 { grid-template-columns: 1fr; }
	.op-search, .op-filters { flex-direction: column; align-items: stretch; }
	.op-page-hero h1 { font-size: 26px; }
	.op-calc-tabs { flex-direction: column; }
	.op-calc-tab.is-active { border-bottom-color: var(--op-line); border-left: 3px solid var(--op-green); }
}
