:root {
  --brand: #13152B;        /* Dark Blue — Elementor kit */
  --accent: #EBB841;       /* Primary gold — Elementor kit */
  --accent-dark: #d4a639;
  --bg: #f7f8fa;
  --text: #222;
  --muted: #667;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
@import url('https://fonts.googleapis.com/css2?family=Outfit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+Thai:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body { font-family: 'Outfit', 'Noto Sans Thai', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
.btn { transition: all .3s ease; }
.btn:hover { background: var(--accent); color: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(235,184,65,.4); }

/* ===== scroll-reveal animations ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }
.reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity .8s ease, transform .8s ease; }
.reveal-r { opacity: 0; transform: translateX(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }
.reveal-zoom { opacity: 0; transform: scale(.92); transition: opacity .7s ease, transform .7s ease; }
.reveal-zoom.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-l, .reveal-r, .reveal-zoom { opacity: 1; transform: none; transition: none; } }
.doc-404-banner .reveal-l, .doc-404-banner .reveal-r { transition-delay: .15s; }
/* horizontal slide-in must never widen the page on touch widths */
@media (max-width: 700px) {
  .reveal-l, .reveal-r { transform: none; opacity: 1; }
}

.site-header { background: #fff; border-bottom: 1px solid #e5e8ec; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-size: 1.3rem; font-weight: 800; color: var(--brand); letter-spacing: .5px; }
.brand span { color: var(--accent); font-weight: 500; }
.main-nav { display: flex; gap: 18px; flex: 1; }
.main-nav a { color: var(--text); font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--brand-light); }
.lang-switch a { font-size: .8rem; font-weight: 700; color: var(--muted); padding: 2px 4px; }
.lang-switch a.active { color: var(--accent); border-bottom: 2px solid var(--accent); }

/* hero + search */
.hero { background: linear-gradient(rgba(10,30,50,.65), rgba(10,30,50,.65)), url('/media/uploads/2024/12/8F17EE03-F7C8-406B-B57F-14969A321EF7-2.jpg') center/cover; color: #fff; padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: 2.4rem; margin-bottom: 8px; }
.hero p { opacity: .9; margin-bottom: 28px; }
.search-bar { background: #fff; border-radius: 10px; padding: 14px; display: flex; gap: 10px; flex-wrap: wrap; box-shadow: 0 8px 30px rgba(0,0,0,.25); max-width: 1000px; margin: 0 auto; }
.search-bar input, .search-bar select { padding: 10px 12px; border: 1px solid #d5dae0; border-radius: 6px; font-size: .95rem; flex: 1; min-width: 130px; }
.search-bar button { background: var(--accent); border: 0; color: #fff; font-weight: 700; padding: 10px 26px; border-radius: 6px; cursor: pointer; }
/* More Filters (homepage search cards) */
.hf-toggle { background: transparent; border: 1.5px solid #d5dae0; color: var(--brand); border-radius: 6px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .25s ease; }
.hf-toggle:hover { border-color: var(--accent); color: var(--accent-dark); }
.hf-toggle-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.hf-panel { flex: 1 1 100%; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.hf-panel[hidden] { display: none; }
.hf-panel input, .hf-panel select { flex: 1 1 130px; min-width: 120px; }
/* feature chips inside homepage More-Filters panels: chips wrap, not stretch */
.hf-panel #id_feature { flex: 1 1 100%; }
/* type-aware size pair (living ↔ land) in the homepage search cards */
.hf-size { flex: 1 1 100%; display: flex; gap: 10px; flex-wrap: wrap; }
.hf-size[hidden] { display: none; }
.hf-land[hidden] { display: none; }
.hf-land { display: flex; gap: 10px; flex: 1 1 260px; }

/* cards */
section.listing-section { padding: 40px 0; }
.section-title { font-size: 1.5rem; margin-bottom: 18px; color: var(--brand); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.07); transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card .img-wrap { position: relative; aspect-ratio: 4/3; background: #e8eaee; overflow: hidden; }
.card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; }
.badge.rent { background: var(--brand-light); }
.price-tag { position: absolute; bottom: 10px; left: 10px; background: rgba(14,58,95,.92); color: #fff; font-weight: 700; padding: 4px 10px; border-radius: 4px; font-size: .9rem; }
.card .body { padding: 14px 16px; }
.card .body h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 6px; min-height: 2.7em; }
.card .body h3 a { color: var(--text); }
.card .meta { color: var(--muted); font-size: .85rem; display: flex; gap: 12px; flex-wrap: wrap; }

/* pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 34px 0; }
.pagination a, .pagination span { padding: 7px 13px; border: 1px solid #d5dae0; border-radius: 6px; background: #fff; font-weight: 600; font-size: .9rem; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* detail */
.detail-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; padding: 30px 0; }
.gallery-main { border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; background: #e8eaee; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; cursor: pointer; }
.detail-side { background: #fff; border-radius: 10px; padding: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.07); height: fit-content; }
.detail-side .price { font-size: 1.6rem; font-weight: 800; color: var(--brand); }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.spec { background: #fff; border-radius: 8px; padding: 10px; text-align: center; font-size: .85rem; }
.spec b { display: block; font-size: 1.05rem; color: var(--brand); }
.description { background: #fff; border-radius: 10px; padding: 24px; white-space: pre-wrap; }

/* footer */
.site-footer { background: var(--brand); color: #cfe0ef; margin-top: 50px; padding: 34px 0 20px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; margin-bottom: 20px; }
.site-footer a { color: #cfe0ef; display: block; padding: 2px 0; }
.site-footer strong { color: #fff; font-size: 1.05rem; }
.copy { font-size: .8rem; opacity: .7; }

@media (max-width: 800px) {
  .detail-top { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero h1 { font-size: 1.6rem; }
}

/* ===== WP homepage — branded design system (Outfit / gold / dark) ===== */
.wp-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.wp-hero-slides { position: absolute; inset: 0; }
.wp-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease; animation: wpHeroZoom 32s infinite; }
.wp-hero-slide:nth-child(2) { animation-delay: 10.6s; }
.wp-hero-slide:nth-child(3) { animation-delay: 21.3s; }
@keyframes wpHeroZoom { 0% {opacity:0; transform:scale(1.14)} 6% {opacity:1} 33% {opacity:1} 42% {opacity:0; transform:scale(1.02)} 100% {opacity:0} }
.wp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,21,43,.30) 0%, rgba(19,21,43,.05) 45%, rgba(19,21,43,.72) 100%); }
.wp-hero-content { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 20px 110px; }
.wp-hero-title { font-size: 38px; line-height: 1.15; margin: 0 0 30px; font-weight: 300; }
.wp-hero-title .fs-60 { font-size: 62px; display: block; font-weight: 700; letter-spacing: 1px; }
.wp-hero-title .fs-38 { font-size: 38px; font-weight: 500; display: block; }
.wp-hero-btn { display: inline-block; background: var(--accent); color: var(--brand); padding: 14px 34px; border-radius: 4px; text-decoration: none; letter-spacing: 1.5px; font-weight: 600; transition: all .35s ease; }
.wp-hero-btn:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.wp-search-section { background: #fff; padding: 0; margin-top: -54px; position: relative; z-index: 10; }
.wp-search-section .search-bar { box-shadow: 0 18px 50px rgba(19,21,43,.16); border: 1px solid #eceef2; border-radius: 10px; }
.wp-search-section .search-bar button { background: var(--accent); color: var(--brand); font-weight: 600; border: none; }
.wp-section { padding: 90px 0; }
.wp-section-dark { background: var(--brand); color: #e7ecf3; }
.wp-prose { max-width: 900px; margin: 0 auto; color: #4a5568; line-height: 1.75; font-size: 16.5px; }
.wp-section-dark .wp-prose { color: #b8c4d4; }
.section-title { font-size: 34px; font-weight: 700; margin-bottom: 18px; letter-spacing: .5px; }
.wp-section-dark .section-title { color: #fff; }
.wp-section .section-title::after { content: ''; display: block; width: 64px; height: 3px; background: var(--accent); margin-top: 14px; border-radius: 2px; }
.wp-section-dark .section-title::after { margin-left: auto; margin-right: auto; }
.wp-section .section-title { text-align: left; }
.wp-iconboxes { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 52px; }
.wp-iconbox { text-align: center; min-width: 160px; padding: 26px 18px; border-radius: 12px; background: #fff; box-shadow: 0 6px 24px rgba(19,21,43,.06); transition: all .35s ease; }
.wp-iconbox:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(19,21,43,.13); }
.wp-iconbox img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto; transition: transform .4s ease; }
.wp-iconbox:hover img { transform: scale(1.12); }
.wp-iconbox h3 { margin: 14px 0 0; font-size: 17px; font-weight: 600; color: var(--brand); }
.wp-cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.wp-cta-grid-five { grid-template-columns: repeat(3, 1fr); }
.wp-cta { border-radius: 10px; padding: 24px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
/* image layer — slow close-up on hover (inherits the card's background-image) */
.wp-cta::after { content: ''; position: absolute; inset: 0; z-index: 0; background-image: inherit; background-size: cover; background-position: center; transform: scale(1); transition: transform 1.2s cubic-bezier(.25,.46,.45,.94); }
.wp-cta:hover::after { transform: scale(1.12); }
/* gradient overlay above image */
.wp-cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(19,21,43,.1) 30%, rgba(19,21,43,.85) 100%); border-radius: 10px; transition: background .5s ease; }
.wp-cta:hover::before { background: linear-gradient(180deg, rgba(19,21,43,.25) 0%, rgba(19,21,43,.94) 100%); }
/* title only by default; hover = title slides up, description unfolds beneath */
.wp-cta h3, .wp-cta p { position: relative; z-index: 2; color: #fff; margin: 0; }
.wp-cta h3 { font-size: 20px; font-weight: 500; margin: 0; transform: translateY(14px); transition: transform .45s ease; }
.wp-cta p { font-size: 14px; font-weight: 300; line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(22px); transition: max-height .55s ease .06s, opacity .45s ease .1s, transform .5s ease .06s; }
.wp-cta:hover h3, .wp-cta:focus-within h3 { transform: translateY(0); }
.wp-cta:hover p, .wp-cta:focus-within p { max-height: 340px; opacity: 1; transform: translateY(0); }
.wp-about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; margin-top: 30px; }
.wp-about-img { width: 100%; border-radius: 12px; box-shadow: 0 24px 60px rgba(19,21,43,.16); transition: transform .5s ease; }
.wp-about-img:hover { transform: scale(1.015); }
.wp-plan { background: #fff; }
.wp-plan-inner { display: grid; grid-template-columns: 1.2fr auto auto; gap: 48px; align-items: center; background: linear-gradient(135deg, var(--brand) 0%, #1d2140 100%); border-radius: 16px; padding: 54px 56px; color: #fff; position: relative; overflow: hidden; }
.wp-plan-inner::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(235,184,65,.14); }
.wp-plan-inner .btn { background: var(--accent); color: var(--brand); }
.wp-plan-qr { display: flex; gap: 30px; position: relative; }
.wp-plan-qr img { width: 110px; height: 110px; object-fit: contain; }
.wp-plan-qr .wp-iconbox { background: #fff; }
.wp-projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.wp-project { position: relative; overflow: hidden; border-radius: 8px; }
.wp-project img { width: 100%; height: 340px; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.wp-project:hover img { transform: scale(1.07); }
.wp-project h3 { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 78px 18px 16px; color: #fff; font-size: 25px; font-weight: 700; line-height: 1.25; letter-spacing: .2px; text-shadow: 0 1px 10px rgba(5,7,18,.65); background: linear-gradient(180deg, rgba(10,12,28,0) 0%, rgba(10,12,28,.45) 32%, rgba(10,12,28,.92) 100%); }
.wp-dev { display: flex; flex-direction: column; gap: 64px; margin-top: 44px; }
.wp-dev-item { display: grid; grid-template-columns: 380px 1fr; gap: 44px; align-items: start; }
.wp-dev-item:nth-child(even) { grid-template-columns: 1fr 380px; }
.wp-dev-item:nth-child(even) img { order: 2; }
.wp-dev-item img { width: 100%; border-radius: 10px; box-shadow: 0 16px 44px rgba(19,21,43,.14); transition: transform .45s ease; }
.wp-dev-item img:hover { transform: scale(1.02); }
.wp-dev-item h3 { margin: 0 0 12px; font-size: 21px; font-weight: 600; color: var(--brand); }
.wp-dev-item p { color: #4a5568; line-height: 1.75; }
@media (max-width: 1024px) {
  .wp-cta-grid, .wp-cta-grid-five, .wp-projects { grid-template-columns: 1fr 1fr; }
  .wp-about, .wp-plan-inner, .wp-dev-item, .wp-dev-item:nth-child(even) { grid-template-columns: 1fr; }
  .wp-dev-item:nth-child(even) img { order: 0; }
  .wp-section { padding: 60px 0; }
}

/* ===== branded header/footer polish ===== */
.wp-header { background: #fff; border-bottom: 1px solid #e8ecf1; position: relative; z-index: 50; box-shadow: 0 2px 18px rgba(19,21,43,.04); }
.wp-header-inner { display: flex; align-items: center; gap: 28px; padding: 12px 20px; }
.wp-logo img { height: 52px; width: auto; }
.wp-nav { display: flex; gap: 24px; align-items: center; flex: 1; }
.wp-nav > a, .wp-nav-item > a { color: var(--brand); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; }
.wp-nav > a::after, .wp-nav-item > a::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--accent); transition: width .3s ease; }
.wp-nav > a:hover::after, .wp-nav-item:hover > a::after { width: 100%; }
.wp-nav-item { position: relative; }
.wp-nav-item.has-sub > a::after { content: ' ▾'; font-size: 11px; }
.wp-subnav { display: block; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: 0 14px 40px rgba(19,21,43,.14); padding: 12px 0; border-radius: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .28s ease; z-index: 60; }
.wp-nav-item:hover .wp-subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.wp-subnav a { display: block; padding: 8px 20px; color: var(--brand); text-decoration: none; font-size: 14px; transition: background .2s ease, padding-left .2s ease; }
.wp-subnav a:hover { background: #faf6ea; padding-left: 26px; }
.wp-subnav-nested a { padding-left: 36px; color: #5a6a7d; font-size: 13.5px; }
.wp-header-right { display: flex; align-items: center; gap: 16px; }
.wp-socials { display: flex; gap: 8px; }
.wp-socials a { width: 30px; height: 30px; border-radius: 50%; background: #eef2f6; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; text-decoration: none; transition: all .3s ease; }
.wp-socials a:hover { background: var(--accent); color: var(--brand); transform: translateY(-3px); }
.wp-header-btn { background: var(--brand); color: #fff; padding: 11px 20px; border-radius: 4px; text-decoration: none; font-size: 14px; white-space: nowrap; transition: all .3s ease; }
.wp-header-btn:hover { background: var(--accent); color: var(--brand); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(235,184,65,.35); }

.wp-footer { background: var(--brand); color: #b8c4d4; }
.wp-footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr 1fr; gap: 44px; padding: 60px 20px 44px; }
.wp-footer h3 { color: #fff; font-size: 16px; margin: 0 0 16px; font-weight: 600; }
.wp-footer .wp-logo img { height: 52px; background: #fff; padding: 6px 10px; border-radius: 4px; }
.wp-contact-list { list-style: none; margin: 0 0 18px; padding: 0; }
.wp-contact-list li { margin-bottom: 7px; }
.wp-contact-list a, .wp-footer-nav a, .wp-footer p a { color: #b8c4d4; transition: color .25s ease; }
.wp-contact-list a:hover, .wp-footer-nav a:hover { color: var(--accent); }
.wp-footer-nav { display: flex; flex-direction: column; gap: 9px; }
.wp-footer-nav a { text-decoration: none; }
.wp-footer-qr { display: flex; gap: 20px; }
.wp-footer-qr a { text-align: center; text-decoration: none; color: #b8c4d4; font-size: 13px; transition: color .25s; }
.wp-footer-qr a:hover { color: #fff; }
.wp-footer-qr img { width: 92px; height: 92px; object-fit: contain; background: #fff; padding: 6px; border-radius: 6px; display: block; margin-bottom: 6px; transition: transform .3s ease; }
.wp-footer-qr a:hover img { transform: translateY(-3px); }
.wp-footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 20px; text-align: center; font-size: 14px; }
.wp-footer-bottom p { margin: 0; }
@media (max-width: 1000px) {
  .wp-header-inner { flex-wrap: wrap; }
  .wp-nav { display: none; }
  .wp-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== mobile hamburger menu (matches WP Elementor burger) ===== */
.wp-burger { display: none; width: 42px; height: 42px; border: none; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; z-index: 120; }
.wp-burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--brand); transition: transform .3s ease, opacity .3s ease, background .3s ease; }
.wp-header:not(.on-white) .wp-burger span, .wp-header.scrolled .wp-burger span { background: #fff; }
.wp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.wp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.wp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.wp-mobile-menu { display: none; }

@media (max-width: 1000px) {
  .wp-burger { display: flex; }
  .wp-header-right { gap: 10px; margin-left: auto; }
  .wp-socials { display: none; }
  .wp-header-btn { display: none; }
  .wp-mobile-menu { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); background: #13152B; padding: 76px 24px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .32s ease; z-index: 110; box-shadow: -18px 0 60px rgba(0,0,0,.4); }
  .wp-mobile-menu.open { transform: translateX(0); }
  .wp-menu-overlay { position: fixed; inset: 0; background: rgba(3,8,20,.6); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 105; }
  .wp-menu-overlay.show { opacity: 1; visibility: visible; }
  .wp-mobile-menu > a, .wp-mobile-menu summary { display: block; padding: 13px 0; color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.09); cursor: pointer; list-style: none; }
  .wp-mobile-menu summary::-webkit-details-marker { display: none; }
  .wp-mobile-menu summary::after { content: '+'; float: right; font-size: 20px; color: var(--accent); transition: transform .25s ease; }
  .wp-mobile-menu details[open] summary::after { content: '−'; }
  .wp-mobile-menu details > a { display: block; padding: 9px 0 9px 14px; color: #c8d2e0; text-decoration: none; font-size: 14.5px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .wp-mobile-menu details > a.mm-sub { padding-left: 30px; font-size: 13.5px; color: #9aa7b8; }
  .wp-mobile-menu .mm-cta { margin-top: 18px; background: var(--accent); color: var(--brand) !important; text-align: center; border-radius: 4px; font-weight: 700; border-bottom: none; }
  .mm-socials { display: flex; gap: 12px; margin-top: 22px; }
  .mm-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-decoration: none; }
  body.menu-open { overflow: hidden; }
}

/* ===== ERE-faithful property cards (portrait, content below, gold hover) ===== */
.ere-card { background: #fff; border: 1px solid #eceef2; border-radius: 8px; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.ere-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(19,21,43,.14); }
.ere-card-image { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.ere-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.ere-card:hover .ere-card-image img { transform: scale(1.06); }
.ere-card-link { position: absolute; inset: 0; z-index: 2; }
.ere-badge { position: absolute; top: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .5px; padding: 4px 10px; border-radius: 3px; color: #fff; z-index: 3; }
.ere-status-sale { left: 12px; background: #dd3333; }
.ere-status-rent { left: 12px; background: #1d7a4f; }
.ere-featured { right: 12px; background: var(--accent); color: var(--brand); }
.ere-card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 3; }
.ere-card-badges .ere-badge { position: static; }
.ere-card-content { padding: 16px 18px 18px; }
.ere-card-title { font-size: 16px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; }
.ere-card-title a { color: #1a1f2b; transition: color .25s ease; }
.ere-card:hover .ere-card-title a { color: var(--accent-dark); }
.ere-card-excerpt { font-size: 13px; color: #686f7a; line-height: 1.55; margin: 0 0 12px; }
.ere-card-info { display: flex; gap: 16px; flex-wrap: wrap; border-top: 1px solid #f0f1f4; border-bottom: 1px solid #f0f1f4; padding: 10px 0; margin-bottom: 12px; background: #fff; transition: background .3s ease; }
.ere-card:hover .ere-card-info { background: #13152B; }
.ere-card-info span { font-size: 12.5px; font-weight: 600; color: #22262e; display: flex; align-items: center; gap: 6px; transition: color .3s ease; }
.ere-card:hover .ere-card-info span { color: #fff; }
.ere-card-info i { font-style: normal; color: var(--accent-dark); display: inline-flex; align-items: center; }
.ere-card-info i svg { display: block; }
.ere-card-info em { font-style: normal; font-weight: 400; color: #8a93a3; font-size: 11.5px; transition: color .3s ease; }
.ere-card:hover .ere-card-info em { color: #b8c4d4; }
.ere-card-meta { display: flex; justify-content: space-between; align-items: center; }
.ere-card-type { font-size: 12px; color: #8a93a3; }
.ere-card-price { font-size: 16px; font-weight: 700; color: #1a1f2b; }
.ere-card:hover .ere-card-price { color: var(--accent-dark); }
.ere-card-rent { margin-left: 10px; font-size: .95em; color: #2c7a4b; }
.ere-card-rent em { color: #7d8598; font-size: .8em; font-style: normal; margin-left: 2px; }
.ere-card-meta-dual { flex-direction: column; align-items: flex-start; gap: 3px; }
.ere-card-meta-dual .ere-card-type { flex-basis: auto; }
.ere-card-meta-dual .ere-card-rent { margin-left: 0; }
.ere-card-rented { margin-left: auto; padding: 3px 8px; background: #fdf6e3; border: 1px solid #f0dfa8; border-radius: 5px; color: #7a5b00; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pd-price-rent { display: block; font-size: .75em; color: #2c7a4b; margin-top: 2px; }
.pd-price-rent em { font-style: normal; color: #7d8598; }
.pd-rented-note { display: block; margin-top: 8px; padding: 8px 12px; background: #fdf6e3; border: 1px solid #f0dfa8; border-radius: 6px; color: #7a5b00; font-size: 14px; font-weight: 600; }

/* ===== homepage featured: 3-col scroll-snap carousel with inline arrows ===== */
.featured-strip { position: relative; }
.featured-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px)/3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; }
.featured-track::-webkit-scrollbar { display: none; }
.featured-track .ere-card { scroll-snap-align: start; }
.featured-arrows { position: absolute; top: 34%; left: 0; width: 100%; pointer-events: none; }
.featured-arrows button { pointer-events: auto; position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e3e6ec; background: #fff; color: var(--brand); font-size: 18px; cursor: pointer; box-shadow: 0 8px 22px rgba(19,21,43,.12); transition: all .3s ease; }
.featured-arrows button:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.featured-arrows .fa-prev { left: 0; }
.featured-arrows .fa-next { right: 0; }
@media (max-width: 1024px) { .featured-track { grid-auto-columns: calc((100% - 20px)/2); } }
@media (max-width: 640px) { .featured-track { grid-auto-columns: 100%; } .featured-arrows { display: none; } }

/* ===== floating contact button — one button, 4 sub-buttons expand upward ===== */
.wp-contact-fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; } /* column-reverse: main button at bottom, subs expand upward */
.wp-contact-fab .fab-main { position: relative; width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer; background: var(--brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(19,21,43,.38); transition: transform .3s ease, box-shadow .3s ease; }
.wp-contact-fab .fab-main:hover { transform: scale(1.08); }
.wp-contact-fab .fab-plus { position: absolute; right: 1px; bottom: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--brand); font-size: 15px; font-weight: 800; line-height: 20px; text-align: center; transition: transform .35s ease; }
.wp-contact-fab.open .fab-plus { transform: rotate(45deg); }
.wp-contact-fab .fab-subs { display: flex; flex-direction: column-reverse; gap: 10px; }
.wp-contact-fab .fab-subs a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #fff; text-decoration: none; box-shadow: 0 10px 26px rgba(19,21,43,.28); transform: scale(0); opacity: 0; transform-origin: bottom center; transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease; }
.wp-contact-fab.open .fab-subs a { transform: scale(1); opacity: 1; }
.wp-contact-fab.open .fab-subs a:nth-last-child(1) { transition-delay: .03s; }
.wp-contact-fab.open .fab-subs a:nth-last-child(2) { transition-delay: .07s; }
.wp-contact-fab.open .fab-subs a:nth-last-child(3) { transition-delay: .11s; }
.wp-contact-fab.open .fab-subs a:nth-last-child(4) { transition-delay: .15s; }
.wp-contact-fab .fab-wa { background: #25d366; }
.wp-contact-fab .fab-line { background: #06c755; }
.wp-contact-fab .fab-phone { background: var(--brand); }
.wp-contact-fab .fab-mail { background: var(--accent-dark); }
@media (max-width: 700px) {
  .wp-contact-fab { right: 14px; bottom: 14px; gap: 8px; }
  .wp-contact-fab .fab-main { width: 50px; height: 50px; }
  .wp-contact-fab .fab-plus { width: 18px; height: 18px; line-height: 18px; font-size: 14px; }
  .wp-contact-fab .fab-subs { gap: 8px; }
  .wp-contact-fab .fab-subs a { width: 46px; height: 46px; }
  /* footer: 1 column on phones; grid tracks get min-width:0 so long German
     words (Immobilien…) can never force a track wider than the viewport
     (DE pages overflowed to 425px at 390px before this) */
  .wp-footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 46px 20px 36px; }
  .wp-footer-grid > div { min-width: 0; overflow-wrap: break-word; }
}

/* ===== project cards as links ===== */
a.wp-project { text-decoration: none; color: inherit; display: block; }
a.wp-project h3 { transition: color .3s ease; }
a.wp-project:hover h3 { color: var(--accent); }
.wp-prose h1 { font-size: 34px; margin: 18px 0 14px; color: var(--brand); }
.wp-prose h2 { font-size: 24px; margin: 26px 0 10px; color: var(--brand); }
.wp-prose h3 { font-size: 19px; margin: 20px 0 8px; color: var(--brand); }
.wp-prose p { line-height: 1.75; margin: 0 0 14px; color: #39404d; }
.wp-prose ul, .wp-prose ol { margin: 0 0 16px 22px; line-height: 1.7; color: #39404d; }
.wp-prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }

/* ===== real-site header: fixed, transparent over hero, navy on scroll ===== */
.wp-header { background: transparent; border-bottom: none; position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s ease-out, box-shadow .3s ease-out; }
.wp-header-inner { display: flex; align-items: center; gap: 28px; }
.wp-logo img { height: 74px; width: auto; transition: height .3s ease-out, max-width .3s ease-out; }
/* scrolled state — matches theme's .head-sticky-active: navy bg + deep shadow + compact logo */
.wp-header.scrolled { background: rgb(3,16,45); box-shadow: 0 32px 80px -32px rgba(0,0,0,.66); }
.wp-header.scrolled .wp-logo img { height: 48px; }
.wp-header.scrolled .wp-nav > a, .wp-header.scrolled .wp-nav .wp-nav-item > a { color: #fff; }
.wp-header.scrolled .wp-header-btn { color: #fff; border-color: #fff; }
.wp-header.scrolled .wp-socials a { color: #fff; border-color: rgba(255,255,255,.35); }

/* header text: white over hero; navy on white-bg pages */
.wp-nav > a, .wp-nav .wp-nav-item > a { color: #fff; }
.wp-header.on-white .wp-nav > a, .wp-header.on-white .wp-nav .wp-nav-item > a { color: var(--brand); }
.wp-header-right .lang-opt { color: #fff; }
.wp-header.on-white .lang-opt { color: var(--brand); }
/* button keeps its solid navy fill on inner pages too — text stays white
   (the on-white navy-text overrides were for an old outline style and made
   the label invisible: navy text on the navy fill) */
.wp-header-btn { color: #fff !important; border-color: #fff !important; }
.wp-socials a { color: #fff !important; border-color: rgba(255,255,255,.4) !important; }
.wp-header.on-white .wp-socials a { color: var(--brand); border-color: rgba(19,21,43,.25); }

/* body needs top padding on non-hero pages */
body.has-white-top { padding-top: 96px; }

/* ===== real-site footer: black + gold swirl pattern + gold bottom bar ===== */
.wp-footer { background: #05060a url("/media/uploads/2024/12/footer.jpg") center top / 100% auto no-repeat; position: relative; }
.wp-footer .container { position: relative; z-index: 1; }
.wp-footer h3 { color: var(--accent); font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; }
.wp-footer-bottom { background: var(--accent); color: #13152B; margin: 0; padding: 14px 0; text-align: center; font-size: 13.5px; font-weight: 500; }
.wp-footer-bottom a { color: #13152B; text-decoration: underline; }

/* ===== /property/ archive (original ERE layout) ===== */
.ere-archive-banner { background-size: cover; background-position: center; min-height: 450px; display: flex; align-items: center; text-align: center; color: #fff; position: relative; }
.ere-archive-banner::before { content: ''; position: absolute; inset: 0; background: rgba(19,21,43,.55); }
.ere-archive-banner .container { position: relative; z-index: 1; }
.ere-archive-banner h1 { font-size: 44px; font-weight: 700; letter-spacing: 2px; margin: 0 0 6px; }
.ere-archive-banner p { font-size: 17px; font-weight: 300; margin: 0; }
.ere-filterbar-wrap { background: var(--brand); margin-top: -38px; position: relative; z-index: 5; }
.ere-filterbar { padding: 0; }
.ere-filterbar-tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ere-ftab { padding: 13px 26px; color: rgba(255,255,255,.75); text-decoration: none; font-size: 13.5px; font-weight: 600; letter-spacing: .5px; border-bottom: 3px solid transparent; transition: all .25s ease; }
.ere-ftab:hover { color: #fff; }
.ere-ftab.active { color: #fff; border-bottom-color: var(--accent); }
.ere-filterbar-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr .9fr .9fr .9fr .9fr 1fr 1fr auto auto; gap: 10px; padding: 16px 0 18px; align-items: center; }
.ere-filterbar-row input, .ere-filterbar-row select { width: 100%; padding: 11px 12px; border: none; border-radius: 4px; font-size: 13.5px; background: #fff; color: #333; font-family: inherit; }
.ere-filterbar-row input:focus, .ere-filterbar-row select:focus { outline: 2px solid var(--accent); }
.ere-search-btn { padding: 12px 28px; background: var(--accent); color: var(--brand); border: none; border-radius: 4px; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: all .3s ease; }
.ere-search-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(235,184,65,.35); }
/* More Filters (Group B advanced search) */
.ere-more-btn { padding: 12px 18px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); border-radius: 4px; font-weight: 600; font-size: 13.5px; letter-spacing: .4px; cursor: pointer; transition: all .25s ease; font-family: inherit; }
.ere-more-btn:hover { border-color: var(--accent); color: var(--accent); }
.ere-more-btn.open { border-color: var(--accent); color: var(--accent); }
.ere-more-btn.open .ere-more-caret { transform: rotate(180deg); }
.ere-more-caret { display: inline-block; margin-left: 4px; font-size: 10px; transition: transform .25s ease; }
.ere-more-panel { border-top: 1px dashed rgba(255,255,255,.18); }
.ere-more-panel[hidden] { display: none; }
.ere-more-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; padding: 14px 0 18px; align-items: center; }
.ere-more-row select, .ere-more-row input { width: 100%; padding: 11px 12px; border: none; border-radius: 4px; font-size: 13.5px; background: #fff; color: #333; font-family: inherit; }
#ere-land-fields[hidden], #ere-living-fields[hidden] { display: none; }
#ere-living-fields, #ere-land-fields { display: flex; gap: 10px; grid-column: span 2; }
#ere-living-fields input, #ere-land-fields input { flex: 1; min-width: 0; }
.ere-reset-link { color: rgba(255,255,255,.75); font-size: 13.5px; text-decoration: underline; white-space: nowrap; }
.ere-reset-link:hover { color: #fff; }
/* Feature multi-select chips (Joe round-4) — Django renders CheckboxSelectMultiple
   as <div id="id_feature"><div><label><input…; style the wrapper by id.
   Hand-rendered chips on advanced-search use .feat-chip/.feat-chip-row below. */
#id_feature { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
#id_feature > div { display: contents; }
#id_feature label { display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #39404d; border: 1px solid #d7dbe4; border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s ease; white-space: nowrap; }
#id_feature label:hover { border-color: var(--accent); }
#id_feature input, .feat-chip input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; cursor: pointer; }
/* placement: full row inside the archive More-Filters grid and the homepage flex panel */
.ere-more-row #id_feature { grid-column: 1 / -1; }
.ere-more-row #id_feature input { width: 15px; height: 15px; padding: 0; }
.hf-panel #id_feature { flex: 1 1 100%; }
/* homepage panel stretches ALL inputs — un-stretch the checkboxes */
.hf-panel #id_feature input { flex: none; min-width: 0; width: 15px; height: 15px; padding: 0; }
.feat-chip { display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #39404d; border: 1px solid #d7dbe4; border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s ease; white-space: nowrap; }
.feat-chip:hover { border-color: var(--accent); }
.feat-chip-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feat-chip-label { font-size: 13.5px; font-weight: 600; color: #39404d; }
@media (max-width: 600px) { #id_feature { gap: 6px; } #id_feature label, .feat-chip { font-size: 12px; padding: 6px 11px; } }
.ere-archive-grid-section { padding: 44px 0 70px; background: var(--bg); }
.ere-result-count { color: #667; font-size: 14px; margin: 0 0 22px; }
.ere-archive-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1200px) { .ere-archive-grid { grid-template-columns: repeat(3, 1fr); } .ere-filterbar-row { grid-template-columns: repeat(3, 1fr); } .ere-more-row { grid-template-columns: repeat(3, 1fr); } #ere-land-fields { grid-column: span 2; } }
@media (max-width: 900px) { .ere-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ere-archive-grid { grid-template-columns: 1fr; } .ere-more-row { grid-template-columns: 1fr; } #ere-living-fields, #ere-land-fields { grid-column: 1 / -1; } }
.paging-navigation { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { padding: 9px 15px; background: #fff; border: 1px solid #e3e6ec; border-radius: 4px; color: #39404d; text-decoration: none; font-size: 14px; font-weight: 600; transition: all .25s ease; }
.page-numbers:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.page-numbers.current { background: var(--accent); color: var(--brand); border-color: var(--accent); }
.page-numbers.dots { border: none; background: none; }

/* ===== property detail ===== */
.pd-wrap { padding: 26px 0 70px; background: var(--bg); }
.pd-gallery-main { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #13152B; }
.pd-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.pd-slide.active { opacity: 1; }
.pd-slide img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb { flex: 0 0 96px; height: 64px; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; padding: 0; background: none; transition: border-color .25s ease; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--accent); }
/* Property gallery: prev/next arrows on the main image (desktop; mobile swipes) */
.pd-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(3, 16, 45, .55); transition: background .25s ease, opacity .25s ease; opacity: 0; z-index: 3; padding: 0; }
.pd-gallery-main:hover .pd-arrow, .pd-arrow:focus-visible { opacity: 1; }
.pd-arrow:hover { background: rgba(3, 16, 45, .8); }
.pd-prev { left: 14px; }
.pd-next { right: 14px; }
@media (max-width: 700px) { .pd-arrow { display: none; } }

.pd-titlebar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin: 26px 0 8px; flex-wrap: wrap; }
.pd-titlebar h1 { font-size: 26px; color: var(--brand); margin: 0 0 6px; }
.pd-meta { display: flex; gap: 16px; color: #78808e; font-size: 13.5px; flex-wrap: wrap; }
.pd-pricebox { text-align: right; }
.pd-price { display: block; font-size: 26px; font-weight: 700; color: var(--brand); }
.pd-main { display: grid; grid-template-columns: 1fr 340px; gap: 32px; margin-top: 22px; align-items: start; }
@media (max-width: 1024px) { .pd-main { grid-template-columns: 1fr; } .pd-content, .pd-sidebar { min-width: 0; } .pd-table { display: block; overflow-x: auto; } }
.pd-h2 { font-size: 19px; color: var(--brand); margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); text-transform: uppercase; letter-spacing: .5px; }
.pd-table { width: 100%; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #edf0f4; }
.pd-table th { text-align: left; padding: 10px 14px; width: 40%; color: #5a6270; font-weight: 600; font-size: 13.5px; background: #fafbfd; }
.pd-table td { padding: 10px 14px; font-size: 14px; color: #22262e; }
.pd-prose { background: #fff; padding: 18px 20px; border-radius: 8px; border: 1px solid #edf0f4; line-height: 1.75; color: #39404d; }
.pd-prose p { margin: 0 0 12px; }
.pd-terms { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fff; padding: 16px; border-radius: 8px; border: 1px solid #edf0f4; }
.pd-terms li { font-size: 13.5px; color: #39404d; padding: 6px 0 6px 22px; position: relative; min-width: 0; overflow-wrap: break-word; }
.pd-terms li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.pd-sidebar { position: sticky; top: 20px; }
.pd-agent-card { display: flex; gap: 14px; align-items: center; background: #fff; padding: 16px; border-radius: 8px; border: 1px solid #edf0f4; text-decoration: none; color: var(--brand); transition: box-shadow .3s ease; }
.pd-agent-card:hover { box-shadow: 0 12px 30px rgba(19,21,43,.12); }
.pd-agent-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.pd-agent-card span { display: block; font-size: 12.5px; color: #78808e; }
.pd-inquiry { margin-top: 18px; background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #edf0f4; }
.pd-inquiry h3 { font-size: 16px; color: var(--brand); margin: 0 0 14px; letter-spacing: 1px; }
.pd-inquiry input, .pd-inquiry textarea { width: 100%; padding: 11px 12px; margin-bottom: 10px; border: 1px solid #e3e6ec; border-radius: 4px; font-size: 13.5px; font-family: inherit; }
.pd-inquiry input:focus, .pd-inquiry textarea:focus { outline: 2px solid var(--accent); }
.pd-similar { margin-top: 46px; }

/* ===== agent detail ===== */
.agent-detail-wrap { padding: 26px 0 70px; background: #f6f4f0; min-height: 60vh; }
.agent-detail-top { display: flex; gap: 28px; align-items: center; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 8px 30px rgba(19,21,43,.08); flex-wrap: wrap; }
.agent-photo { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; border: 3px solid #EBB841; }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-detail-info { flex: 1 1 320px; }
.agent-detail-name { font-family: 'Outfit', sans-serif; font-size: 30px; color: #13152B; margin: 0 0 4px; }
.agent-detail-position { color: #EBB841; font-weight: 600; letter-spacing: .4px; }
.agent-detail-count { color: #6b7280; margin-top: 6px; font-size: 14px; }
.agent-detail-contact { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
.agent-detail-contact a { color: #13152B; text-decoration: none; font-size: 14px; border-bottom: 1px solid #EBB841; padding-bottom: 2px; }
.agent-detail-contact a:hover { color: #EBB841; }
.agent-detail-cta { flex: 0 0 auto; }
.agent-detail-desc { background: #fff; border-radius: 14px; padding: 26px 30px; margin-top: 22px; box-shadow: 0 8px 30px rgba(19,21,43,.06); color: #374151; line-height: 1.75; }
.agent-detail-desc img { max-width: 100%; height: auto; border-radius: 8px; }
.agent-other-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.agent-other-card { background: #fff; border-radius: 12px; padding: 18px 12px; text-align: center; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.agent-other-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(19,21,43,.12); }
.agent-other-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.agent-other-card .name { display: block; color: #13152B; font-weight: 600; }
.agent-other-card .pos { display: block; color: #EBB841; font-size: 12px; margin-top: 2px; }


/* ===== simple pages / news / forms ===== */
.simple-page-wrap { padding: 40px 0 70px; background: #f6f4f0; min-height: 55vh; }
.sp-title { font-family: 'Outfit', sans-serif; font-size: 34px; color: #13152B; margin: 0 0 22px; }
.news-empty { color: #6b7280; font-size: 16px; }
.rtm-services h2 { font-family: 'Outfit', sans-serif; color: #13152B; font-size: 24px; margin: 30px 0 16px; }
.rtm-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.rtm-item { background: #fff; border-radius: 12px; padding: 24px 16px; text-align: center; box-shadow: 0 6px 18px rgba(19,21,43,.07); transition: transform .25s ease; }
.rtm-item:hover { transform: translateY(-4px); }
.rtm-item img { height: 64px; object-fit: contain; margin-bottom: 10px; }
.rtm-item h3 { font-size: 15px; color: #13152B; margin: 0; }
.lmp-form, .asearch-form { background: #fff; border-radius: 14px; padding: 26px 30px; box-shadow: 0 8px 30px rgba(19,21,43,.07); max-width: 900px; }
.lmp-form .form_title { color: #13152B; letter-spacing: .5px; margin: 18px 0 10px; }
.lmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 14px; }
/* type-aware size pair on the advanced-search form */
.asearch-size { display: contents; }
.asearch-size[hidden] { display: none; }
.lmp-form input, .lmp-form select, .lmp-form textarea, .asearch-form input, .asearch-form select {
  width: 100%; padding: 11px 14px; border: 1px solid #d7d3cb; border-radius: 8px; font-size: 14px; background: #fbfaf8; }
.lmp-form textarea { margin-bottom: 14px; }
.lmp-features { border: 1px solid #d7d3cb; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.lmp-features legend { font-size: 13px; color: #6b7280; padding: 0 6px; }
.lmp-features label { margin-right: 18px; font-size: 14px; color: #374151; }
.form-success { color: #15803d; font-weight: 600; margin-top: 12px; }

/* ===== about page ===== */
.about-wrap { padding: 40px 0 70px; background: #f6f4f0; }
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 10px 34px rgba(19,21,43,.08); }
.about-hero h1 { font-family: 'Outfit', sans-serif; font-size: 30px; color: #13152B; margin: 0 0 10px; line-height: 1.25; }
.about-lead { color: #EBB841; font-weight: 700; letter-spacing: .3px; margin-bottom: 10px; }
.about-hero p { color: #374151; line-height: 1.75; }
.about-hero-img img { width: 100%; border-radius: 12px; display: block; }
.about-why { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; margin-top: 34px; }
.about-why-acc h2 { font-family: 'Outfit', sans-serif; color: #13152B; font-size: 24px; margin: 0 0 14px; }
.about-acc { background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(19,21,43,.06); }
.about-acc summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: #13152B; display: flex; justify-content: space-between; align-items: center; }
.about-acc summary::-webkit-details-marker { display: none; }
.about-acc .acc-ic { color: #EBB841; font-size: 22px; transition: transform .3s ease; }
.about-acc[open] .acc-ic { transform: rotate(45deg); }
.about-acc .acc-body { padding: 0 20px 18px; color: #4b5563; line-height: 1.7; }
.about-acc .acc-body ul { margin: 0; padding-left: 18px; }
.about-why-imgs { display: flex; flex-direction: column; gap: 14px; }
.about-why-imgs img { width: 100%; border-radius: 12px; object-fit: cover; flex: 1; min-height: 0; }
.about-cta { margin-top: 40px; background: linear-gradient(120deg, #13152B 0%, #232855 100%); border-radius: 16px; padding: 44px 40px; text-align: center; color: #fff; }
.about-cta h3 { font-family: 'Outfit', sans-serif; font-size: 26px; margin: 0 0 12px; color: #EBB841; }
.about-cta p { max-width: 720px; margin: 0 auto 18px; color: #d7dbf0; line-height: 1.7; }
.about-cta-tag { margin-top: 14px !important; font-style: italic; color: #EBB841 !important; }

/* ===== contact page ===== */
.page-banner { background-size: cover; background-position: center; padding: 90px 0; }
.page-banner h1 { color: #fff; font-family: 'Outfit', sans-serif; font-size: 40px; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.contact-wrap { padding: 44px 0 70px; background: #f6f4f0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.contact-form { max-width: none; }
.lmp-grid.one { grid-template-columns: 1fr; }
.contact-col-title { font-family: 'Outfit', sans-serif; color: #13152B; font-size: 20px; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid #EBB841; display: inline-block; }
.contact-phone-list { list-style: none; margin: 0 0 18px; padding: 0; }
.contact-phone-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: #13152B; font-size: 15px; border-bottom: 1px dashed #d7d3cb; }
.contact-phone-list .ph-lang { color: #6b7280; font-size: 13px; min-width: 86px; }
.contact-phone-list a { color: #13152B; text-decoration: none; font-weight: 600; }
.contact-phone-list a:hover { color: #EBB841; }
.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.contact-socials a { background: #13152B; color: #fff; text-decoration: none; font-size: 12.5px; padding: 7px 13px; border-radius: 20px; transition: background .25s ease; }
.contact-socials a:hover { background: #EBB841; color: #13152B; }
.contact-qr-row { display: flex; gap: 22px; }
.contact-qr { background: #fff; border-radius: 12px; padding: 16px; text-align: center; box-shadow: 0 6px 18px rgba(19,21,43,.06); }
.contact-qr img { width: 110px; height: 110px; object-fit: contain; }
.contact-qr p { margin: 8px 0 0; color: #13152B; font-weight: 600; font-size: 13px; }
.contact-address { margin-top: 34px; }
.addr-line { color: #13152B; font-weight: 600; margin: 0 0 16px; }
.contact-map { width: 100%; height: 380px; border: 0; border-radius: 14px; }
.pd-map { height: 320px; }
.pd-map-link { margin: 8px 0 0; font-size: 14px; }
.pd-map-link a { color: #0d2a4d; text-decoration: underline; }
@media (max-width: 900px) {
  .about-hero, .about-why, .contact-grid { grid-template-columns: 1fr; }
  .about-why-imgs { flex-direction: row; }
}

/* ===== project detail content ===== */
.project-content img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 18px auto; }
.project-content h2 { font-family: 'Outfit', sans-serif; color: #13152B; font-size: 24px; margin: 28px 0 10px; }
.project-content h3, .project-content h4 { color: #13152B; margin: 18px 0 8px; font-size: 17px; }
.project-content .pj-text p { color: #4b5563; line-height: 1.75; margin: 0 0 12px; }
.project-content .pj-list { margin: 8px 0 16px; padding-left: 20px; }
.project-content .pj-list li { color: #4b5563; line-height: 1.8; }
.project-content .pj-hr { border: 0; border-top: 1px solid #e5e1d8; margin: 26px 0; }
.project-content .btn-gold { display: inline-block; margin-top: 12px; }

/* ===== 404 ===== */
.nf-wrap { text-align: center; padding: 60px 0; }
.nf-code { font-family: 'Outfit', sans-serif; font-size: 96px; font-weight: 800; color: #EBB841; line-height: 1; }
.nf-wrap h2 { color: #13152B; font-family: 'Outfit', sans-serif; }
.nf-wrap p { color: #6b7280; margin-bottom: 22px; }

/* ===== FIX: live-measured header nav + font parity (2026-09-17 vision audit) ===== */
/* nav = white 15px UPPERCASE everywhere (live measured), incl. scrolled + inner pages */
.wp-nav > a, .wp-nav .wp-nav-item > a {
  color: #fff !important; font-size: 15px; font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
}
.wp-header-right .lang-opt { color: #fff !important; }
.wp-header-btn { color: #fff !important; border-color: #fff !important; }
.wp-socials a { color: #fff !important; border-color: rgba(255,255,255,.4) !important; }
/* inner pages: header sits on its own dark translucent strip over the page (like live's banner strip) */
.wp-header.on-white { background: rgba(3,16,45,.92); box-shadow: 0 2px 24px rgba(0,0,0,.25); }
.wp-header.on-white.scrolled, .wp-header.scrolled { background: rgb(3,16,45); }
/* heading parity with live */
h1 { font-weight: 400; font-size: 35px; line-height: 1.25; }
.ere-card h3, .card-grid h3 { font-size: 18px; font-weight: 600; color: #212529; line-height: 1.2; }
.ere-card .price, .card-price { font-size: 16px; font-weight: 400; color: #212529; }
/* footer heading parity */
footer h3, .wp-footer h3 { font-size: 24px; font-weight: 600; color: #fff; }
.wp-footer p, .wp-footer li { font-size: 16px; font-weight: 400; color: #fff; }

/* ===== FIX: footer logo — transparent like live (no white box), 162px wide ===== */
.wp-footer .wp-logo img { height: auto; width: 162px; background: none !important; padding: 0 !important; border-radius: 0; }

/* ===== FIX: footer socials = real white icons (live measured) ===== */
.wp-footer .wp-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: #fff; text-decoration: none; font-size: 0;
  border: 1px solid rgba(255,255,255,.45); margin-right: 8px; transition: all .25s ease;
}
.wp-footer .wp-socials a:hover { background: #EBB841; border-color: #EBB841; color: #13152B; }

/* footer socials: SVG icon layout */
.wp-footer .wp-socials a { font-size: 0; }
.wp-footer .wp-socials a svg { display: block; }

/* ===== FIX (2026-09-17 vision check): social icons invisible white-on-light ===== */
/* white glyph was sitting on the light #eef2f6 circle fill -> invisible except on hover. */
/* Correct model (matches live): transparent circle + subtle white ring + white glyph; */
/* hover = gold circle + dark navy glyph. Applied to header AND footer. */
.wp-socials a {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45) !important;
}
.wp-socials a:hover {
  background: #EBB841 !important;
  border-color: #EBB841 !important;
  color: #13152B !important;
}

/* live-measured extras: footer links, search inputs, why-invest cards */
footer ul a, .wp-contact-list a { font-size: 16px; font-weight: 400; color: #fff; }
footer ul a:hover { color: #EBB841; }
.home-search input, .home-search select, .asearch-form input, .asearch-form select, .property-filters input, .property-filters select { font-size: 14px; font-weight: 300; color: #939393; }
.hover-card h3, .why-invest h3 { font-size: 25px; font-weight: 600; color: #000; }

/* ===== Currency switcher (client-side conversion, header) ===== */
.cur-switch { position: relative; }
.cur-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 2px 0;
  font-size: .8rem; font-weight: 700; color: var(--muted);
}
.wp-header-right .cur-btn { color: #fff; }
.cur-btn .cur-sym { font-size: .9rem; }
.cur-btn .cur-caret { font-size: .6rem; opacity: .7; margin-left: 1px; }
.cur-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: 8px; box-shadow: 0 8px 28px rgba(19,21,43,.16);
  min-width: 128px; padding: 6px; z-index: 1200;
}
.cur-menu.open { display: block; }
.cur-opt {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 7px 10px; border-radius: 6px; font-size: .82rem; font-weight: 600; color: var(--text);
}
.cur-opt:hover { background: var(--bg); }
.cur-opt.active { color: var(--accent); }
.cur-opt .cur-sym { width: 14px; }
.pd-currency-hint {
  display: block; font-size: .72rem; color: var(--muted); margin-top: 2px;
}
@media (max-width: 760px) {
  .cur-menu { right: auto; left: 50%; transform: translateX(-50%); }
}

/* ===== blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px; }
.blog-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(19,21,43,.07); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(19,21,43,.13); }
.blog-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #ece9e2; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-media-empty { width: 100%; height: 100%; background: linear-gradient(135deg, var(--brand), #2b2f55); }
.blog-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.blog-card-date { font-size: 12.5px; color: #8a8f9e; text-transform: uppercase; letter-spacing: .6px; }
.blog-card-title { font-family: 'Outfit', sans-serif; font-size: 19px; line-height: 1.35; margin: 0; }
.blog-card-title a { color: var(--brand); }
.blog-card-title a:hover { color: var(--accent-dark); }
.blog-card-excerpt { color: #5c6270; font-size: 14.5px; line-height: 1.6; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-more { color: var(--accent-dark); font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.blog-card-more:hover { color: var(--brand); }

.blog-pagination { display: flex; gap: 10px; justify-content: center; margin-top: 34px; align-items: center; }
.page-numbers { padding: 8px 16px; border-radius: 6px; background: #fff; color: var(--brand); font-size: 14px; border: 1px solid #e3ded4; }
.page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.page-numbers:hover:not(.current) { border-color: var(--accent); }

/* blog single */
.blog-single { padding: 46px 0 80px; background: #f6f4f0; }
.blog-single-inner { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 44px 52px; box-shadow: 0 3px 16px rgba(19,21,43,.08); }
.blog-single-date { color: #8a8f9e; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.blog-single-title { font-family: 'Outfit', sans-serif; font-size: 33px; line-height: 1.25; color: var(--brand); margin: 0 0 14px; }
.blog-single-excerpt { font-size: 17px; color: #5c6270; line-height: 1.65; border-left: 3px solid var(--accent); padding-left: 16px; margin: 0 0 22px; }
.blog-single-cover { border-radius: 10px; overflow: hidden; margin: 0 0 26px; }
.blog-single-cover img { width: 100%; display: block; }
.blog-single-content { max-width: none; margin: 0; }
.blog-single-content img { border-radius: 8px; max-width: 100%; height: auto; }
.blog-single-content h2 { font-family: 'Outfit', sans-serif; font-size: 24px; color: var(--brand); margin: 28px 0 12px; }
.blog-single-content h3 { font-size: 19px; color: var(--brand); margin: 22px 0 10px; }
.blog-single-content p { margin: 0 0 14px; }
.blog-single-content ul { margin: 0 0 16px 20px; }
.blog-single-content li { margin-bottom: 6px; }

.blog-single-author { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid #eee7da; }
.blog-single-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.blog-single-author-name { font-weight: 700; color: var(--brand); }
.blog-single-author-pos { font-size: 13.5px; color: #8a8f9e; }

.blog-single-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 26px; }
.blog-nav-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid #e3ded4; border-radius: 8px; background: #faf8f4; max-width: 46%; }
.blog-nav-link span { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--accent-dark); font-weight: 700; }
.blog-nav-link { font-size: 14px; color: var(--brand); line-height: 1.4; }
.blog-nav-link.next { text-align: right; margin-left: auto; }
.blog-nav-link:hover { border-color: var(--accent); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-single-inner { padding: 30px 24px; }
}
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-single-title { font-size: 26px; }
}

/* ===== blog single: full-width redesign (bp-*) ===== */
.bp-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; padding: 130px 0 54px; background: var(--brand); overflow: hidden; }
.bp-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: none; }
.bp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,21,43,.72) 0%, rgba(19,21,43,.55) 40%, rgba(19,21,43,.82) 100%); }
.bp-hero-inner { position: relative; z-index: 2; max-width: 1200px; }
.bp-hero-date { color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 14px; }
.bp-hero-title { font-family: 'Outfit', sans-serif; font-size: clamp(30px, 4.8vw, 54px); line-height: 1.14; color: #fff; margin: 0 0 16px; max-width: 1120px; }
.bp-hero-excerpt { color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.6; max-width: 920px; margin: 0; border-left: 3px solid var(--accent); padding-left: 16px; }

.bp-body { background: #fff; padding: 58px 0 84px; }
.bp-article { max-width: 1120px; margin: 0 auto; }
.bp-content { font-size: 18px; line-height: 1.85; color: #39404e; }
.bp-content p { margin: 0 0 18px; }
.bp-content h2 { font-family: 'Outfit', sans-serif; font-size: 27px; line-height: 1.3; color: var(--brand); margin: 38px 0 14px; }
.bp-content h3 { font-size: 21px; color: var(--brand); margin: 28px 0 10px; }
.bp-content ul { margin: 0 0 18px 22px; }
.bp-content li { margin-bottom: 8px; }
.bp-content img { border-radius: 10px; max-width: 100%; height: auto; }
.bp-content > p:first-child > em { display: block; background: #fdf6e3; border: 1px dashed #e0c98a; border-radius: 8px; padding: 12px 16px; font-size: 14.5px; color: #8a7434; }

/* author profile card */
.bp-author-card { display: flex; gap: 22px; align-items: flex-start; margin-top: 46px; padding: 28px 30px; background: #f8f6f1; border: 1px solid #ece5d6; border-left: 4px solid var(--accent); border-radius: 12px; }
.bp-author-avatar { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.bp-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bp-author-initial { color: #fff; font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 700; }
.bp-author-info { flex: 1; }
.bp-author-label { font-size: 11.5px; letter-spacing: 1.6px; color: #a4987a; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.bp-author-name { font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 700; color: var(--brand); }
.bp-author-pos { font-size: 14px; color: var(--accent-dark); font-weight: 600; margin: 2px 0 10px; }
.bp-author-bio { font-size: 15px; line-height: 1.65; color: #5c6270; margin: 0 0 12px; }
.bp-author-cta { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand); border: 1.5px solid var(--accent); padding: 8px 18px; border-radius: 24px; transition: all .2s; }
.bp-author-cta:hover { background: var(--accent); }

/* prev / all / next nav */
.bp-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 38px; }
.bp-nav-link { display: flex; flex-direction: column; gap: 5px; padding: 16px 20px; border: 1px solid #e7e2d6; border-radius: 10px; background: #fafaf7; max-width: 40%; transition: border-color .2s, background .2s; }
.bp-nav-link:hover { border-color: var(--accent); background: #fffdf8; }
.bp-nav-label { font-size: 11.5px; letter-spacing: 1.2px; color: var(--accent-dark); font-weight: 700; text-transform: uppercase; }
.bp-nav-title { font-size: 14.5px; font-weight: 600; color: var(--brand); line-height: 1.45; }
.bp-nav-link.next { text-align: right; margin-left: auto; }
.bp-nav-all { font-size: 13.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #857c68; white-space: nowrap; }
.bp-nav-all:hover { color: var(--brand); }

@media (max-width: 640px) {
  .bp-hero { min-height: 340px; padding: 110px 0 38px; }
  .bp-body { padding: 40px 0 60px; }
  .bp-author-card { flex-direction: column; gap: 14px; padding: 22px; }
  .bp-nav { flex-wrap: wrap; }
  .bp-nav-link { max-width: 100%; width: 100%; }
  .bp-nav-all { order: -1; width: 100%; text-align: center; }
}

/* ===== FOOTER v2 "f2" (home-2 showcase) — site color scheme only =====
   Flat header navy #03102d (measured from .wp-header scrolled state) as the
   single footer background. No images. One design language: gold headings,
   outlined action rows. Map band FIRST (Visit our office), columns below. */
.f2-footer { background: #03102d; position: relative; }
/* --- band 1: Visit our office + map --- */
.f2-mapband { display: grid; grid-template-columns: 380px 1fr; gap: 26px;
  padding: 56px 20px 44px; align-items: stretch; }
/* office card — outlined box like the first footer version, refined */
.f2-ocard { display: flex; flex-direction: column; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 26px 28px; }
.f2-ohead { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: -4px 0 14px; }
.f2-footer .f2-label { color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; margin: 0; }
.f2-orate { display: inline-flex; align-items: center; gap: 6px; color: var(--accent);
  font-size: 12.5px; font-weight: 700; border: 1px solid rgba(235,184,65,.45);
  border-radius: 999px; padding: 4px 12px; white-space: nowrap;
  background: rgba(235,184,65,.08); }
.f2-ocard address { font-style: normal; color: #c3cddd; font-size: 15px;
  line-height: 1.75; margin: 0 0 10px; }
.f2-ocard address strong { color: #fff; letter-spacing: .3px; font-size: 16px; }
.f2-footer .f2-reg { margin: 0 0 20px; }
.f2-regtag { display: inline-block; color: #aab6c8; font-size: 12.5px;
  letter-spacing: .4px; border: 1px solid rgba(255,255,255,.22);
  border-radius: 7px; padding: 5px 12px; background: rgba(255,255,255,.03); }
.f2-mlinks { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
/* outlined action rows — site-style bordered rows, gold accent */
.f2-row { display: flex; align-items: center; gap: 10px; padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 8px;
  color: #e6ebf3; text-decoration: none; font-size: 14px; font-weight: 600;
  transition: border-color .2s, background .2s, color .2s; }
.f2-row:hover { border-color: var(--accent); background: rgba(235,184,65,.08); }
.f2-row svg { flex: none; color: var(--accent); }
.f2-row:hover { color: #fff; }
/* map */
.f2-map { border: 0; width: 100%; min-height: 100%; border-radius: 12px;
  filter: grayscale(.15) saturate(1.05); }
/* --- band 2: columns --- */
.f2-top { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.25fr 1.1fr;
  gap: 40px; padding: 20px 20px 52px; align-items: start;
  border-top: 1px solid rgba(235,184,65,.18); }
.f2-brand .wp-logo { display: inline-block; margin-bottom: 16px; }
.f2-footer .f2-tagline { color: #aab6c8; font-size: 14.5px; line-height: 1.65; margin: 0 0 20px; max-width: 300px; }
.f2-links { display: flex; flex-direction: column; gap: 11px; }
.f2-links a { color: #c3cddd; text-decoration: none; font-size: 14.5px; transition: color .2s ease; }
.f2-links a:hover { color: var(--accent); }
.f2-footer .f2-contact { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.f2-footer .f2-contact li { display: flex; flex-direction: column; gap: 1px; font-size: 14.5px; }
.f2-contact li span { color: #8d99ad; font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; }
.f2-contact li a { color: #e6ebf3; text-decoration: none; }
.f2-contact li a:hover { color: var(--accent); }
.f2-qr { display: flex; gap: 16px; }
.f2-qr a { text-align: center; text-decoration: none; color: #9aa6ba; font-size: 12.5px; transition: color .2s; }
.f2-qr a:hover { color: #fff; }
.f2-qr img { width: 74px; height: 74px; object-fit: contain; background: #fff;
  padding: 5px; border-radius: 8px; display: block; margin-bottom: 6px; transition: transform .3s ease; }
.f2-qr a:hover img { transform: translateY(-3px); }
/* hours + today highlight */
.f2-footer .f2-hours { list-style: none; margin: 0 0 14px; padding: 0; }
.f2-footer .f2-hrow { display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 4px 10px; margin: 0 -10px; border-radius: 7px;
  font-size: 14px; color: #c3cddd; }
.f2-hrow span { overflow-wrap: anywhere; }
.f2-hrow b { color: #fff; font-weight: 600; white-space: nowrap; }
.f2-hrow .f2-dim { color: #8d99ad; font-weight: 500; }
.f2-today { background: rgba(235,184,65,.14); box-shadow: inset 2.5px 0 0 var(--accent); }
.f2-today span, .f2-today b { color: var(--accent); }
.f2-today .f2-dim { color: rgba(235,184,65,.78); }
.f2-dir { display: inline-flex; align-items: center; gap: 8px; color: var(--accent);
  text-decoration: none; font-size: 13.5px; font-weight: 600; }
.f2-dir:hover { text-decoration: underline; }
/* copyright — flat, same background, no bar */
.f2-footer .f2-bottom { background: transparent; border-top: none; color: #8d99ad; padding: 20px; }
.f2-footer .f2-bottom p { color: #8d99ad; font-size: 13.5px; }
.f2-footer .f2-bottom a { color: #aab6c8; text-decoration: none; }
.f2-footer .f2-bottom a:hover { color: var(--accent); }
/* footer v2 responsive */
@media (max-width: 1140px) { .f2-top { grid-template-columns: 1fr 1fr 1fr; gap: 34px; } .f2-brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .f2-top { grid-template-columns: 1fr 1fr; } .f2-mapband { grid-template-columns: 1fr; } .f2-map { min-height: 280px; } }
@media (max-width: 580px) { .f2-top { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; } .f2-qr img { width: 66px; height: 66px; } }
