/*
Theme Name: bizetools-realestate
Text Domain: bizetools-realestate
Requires at least: 6.8.1
Requires PHP: 8.0
Description: High-end minimalist real estate hybrid block theme.
Author: Bizetools
Version: 0.1.0
*/

/* Base reset and typography */
:root {
  --bt-color-bg: #ffffff;
  --bt-color-fg: #111827;
  --bt-color-muted: #6b7280;
  --bt-color-accent: #3ecf8e;
  --bt-color-accent-contrast: #0a0b0c;
  --bt-color-btn: #1f2937; /* dark grey */
  --bt-color-btn-text: #ffffff;
  --bt-color-panel: #ffffff;
  --bt-color-soft: #efefef; /* pastel */
  --bt-max-w: 1220px;
  --bt-dark-grey: #222;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bt-color-fg);
  background: var(--bt-color-bg);
  font: 400 16px/1.6 "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}
a { color: var(--bt-color-fg); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout helpers */
.container { max-width: var(--bt-max-w); margin: 0 auto; padding: 0 20px; }
.flex { display: flex; gap: 24px; }
.center { align-items: center; }
.space { justify-content: space-between; }
.muted { color: var(--bt-color-muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; background: var(--bt-color-btn); color: var(--bt-color-btn-text); font-weight: 600; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(0.92); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn i { font-size: 14px; }
.input, .textarea { width: 100%; padding: 10px 12px; border-radius: 8px; background: #ffffff; border: 1px solid #e5e7eb; color: var(--bt-color-fg); }
.textarea { min-height: 120px; resize: vertical; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.small { font-size: 13px; }

/* Topbar */
.topbar { border-bottom: 1px solid #e5e7eb; background: #ffffff; position: sticky; top: 0; z-index: 100; }
.topbar .container { height: 44px; }
.topbar .branding { font-size: 13px; font-weight: 400; letter-spacing: 0.5px; }
.topbar .contact a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; }
.topbar .contact a:hover { background: #f3f4f6; text-decoration: none; }
.topbar .sep { opacity: .25; margin: 0 8px; }

/* Mobile topbar optimizations */
@media (max-width: 768px) {
  .topbar .contact { gap: 12px; }
  .topbar .contact a span { display: none !important; }
  .topbar .contact a[href^="tel:"] span { display: inline !important; }
  .topbar .sep { display: none !important; }
  
  /* Force horizontal scroll on mobile for tabs */
  .prop-tabs { 
    overflow-x: scroll !important; 
    padding-bottom: 15px;
    margin-bottom: -5px;
  }
  .prop-tabs a {
    min-width: 120px !important;
    justify-content: center;
  }
}

/* Header */
.site-header { padding: 18px 0; border-bottom: 1px solid #e5e7eb; position: relative; z-index: 90; }
.branding { font-weight: 400; letter-spacing: 13.4px; }

/* Hero */
.hero { position: relative; padding: 64px 0; background: #f8fafc; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.hero h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.1; margin: 0 0 12px; color: var(--bt-color-fg); }
.hero p.subtext { font-size: 18px; color: var(--bt-color-muted); margin: 0 0 24px; }
.hero .panel { background: var(--bt-color-panel); border: 1px solid #e5e7eb; padding: 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }

/* Overlay header on showcase: make header translucent over hero */
.overlay-header .topbar { background: rgba(255,255,255,0.1); border-bottom-color: rgba(255,255,255,0.25); position: fixed; top: 0; left: 0; right: 0; backdrop-filter: saturate(120%) blur(6px); }
.overlay-header .site-header { background: rgba(255,255,255,0.1); border-bottom-color: rgba(255,255,255,0.25); position: relative; }
.overlay-header .topbar, .overlay-header .site-header { color: #ffffff; }
.overlay-header .topbar a, .overlay-header .site-header a { color: #ffffff; }

/* Full-width hero slider */
.hero--showcase { padding: 0; background: #000; }
.hero--showcase .hero-slider { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; height: min(70vh, 680px); overflow: hidden; }
.hero--showcase .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; background-size: cover; background-position: center; }
.hero--showcase .hero-slide.is-active { opacity: 1; }
.hero--showcase .hero-slide img { width: 1px; height: 1px; opacity: 0; position: absolute; }
.hero--showcase .hero-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(17,24,39,.6); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 999px; cursor: pointer; }
.hero--showcase .hero-nav.prev { left: 16px; }
.hero--showcase .hero-nav.next { right: 16px; }

/* Sticky toolbar with tabs */
.prop-toolbar { position: sticky; top: 62px; z-index: 80; background: var(--bt-dark-grey); border-bottom: 1px solid #e5e7eb; }
.overlay-header .prop-toolbar { top: 62px; }
.prop-tabs { 
  list-style: none; 
  padding: 10px 0; 
  margin: 0; 
  display: flex; 
  gap: 14px; 
  overflow-x: auto !important; 
  -webkit-overflow-scrolling: touch; 
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}
.prop-tabs::-webkit-scrollbar { display: none; }
.prop-tabs a { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  padding: 10px 16px; 
  border-radius: 2px; 
  background: #fff; 
  color: var(--bt-color-fg); 
  font-weight: 600; 
  position: relative; 
  white-space: nowrap !important; 
  flex-shrink: 0 !important; 
  min-width: max-content;
}
.prop-tabs a.active { background: #000; color: #fff; }
.prop-tabs a.active::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -8px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #000; }

/* Sections */
.prop-sections { padding: 36px 0; }
.prop-section { display: none; }
.prop-section.is-active { display: block; }

/* Headings - max font-weight 400 */
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
.prop-overview h3, .prop-desc h3, .prop-section h3 { margin: 0 0 16px; font-size: 18px; letter-spacing: .5px; font-weight: 400; }

/* Contact Form Top Section */
.prop-enquiry-top { 
  background: var(--bt-color-soft); 
  padding: 40px 0; 
  margin-bottom: 40px; 
}
.enquiry-form-wrapper { 
  max-width: 600px; 
  margin: 0 auto; 
  background: #ffffff; 
  padding: 30px; 
  border-radius: 12px; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
}
.enquiry-form-wrapper h3 { 
  text-align: center; 
  margin-bottom: 24px; 
  font-size: 24px; 
  font-weight: 400; 
}

/* Overview Grid Section */
.overview-section { 
  margin-bottom: 50px; 
}
.overview-section h2 { 
  font-size: 28px; 
  font-weight: 400; 
  margin-bottom: 30px; 
  text-align: center; 
}
.overview-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 24px; 
  margin-bottom: 40px; 
}
.overview-item { 
  background: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 12px; 
  padding: 24px; 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  transition: box-shadow 0.2s ease; 
}
.overview-item:hover { 
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
}
.overview-icon { 
  width: 48px; 
  height: 48px; 
  background: var(--bt-color-accent); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: white; 
  font-size: 20px; 
}
.overview-content h4 { 
  margin: 0 0 4px 0; 
  font-size: 14px; 
  font-weight: 400; 
  color: var(--bt-color-muted); 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
}
.overview-value { 
  font-size: 18px; 
  font-weight: 600; 
  color: var(--bt-color-fg); 
}

/* Property Features Section */
.features-section { 
  margin-bottom: 50px; 
}
.features-section h2 { 
  font-size: 28px; 
  font-weight: 400; 
  margin-bottom: 30px; 
  text-align: center; 
}
.features-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 16px; 
  margin-bottom: 40px; 
}
.feature-item { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  padding: 12px 16px; 
  background: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 8px; 
  transition: box-shadow 0.2s ease; 
}
.feature-item:hover { 
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); 
}
.feature-item i { 
  color: var(--bt-color-accent); 
  font-size: 14px; 
}
.feature-item span { 
  font-size: 14px; 
  color: var(--bt-color-fg); 
}

/* Open Times Section */
.open-times-section { 
  margin-bottom: 50px; 
}
.open-times-section h2 { 
  font-size: 28px; 
  font-weight: 400; 
  margin-bottom: 30px; 
  text-align: center; 
}
.open-times-list { 
  display: grid; 
  gap: 12px; 
  max-width: 400px; 
  margin: 0 auto; 
}
.open-time-item { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  padding: 16px 20px; 
  background: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 8px; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.04); 
}
.open-time-item i { 
  color: var(--bt-color-accent); 
  font-size: 16px; 
}
.open-time-item span { 
  font-size: 16px; 
  font-weight: 500; 
  color: var(--bt-color-fg); 
}
.call-for-appointment { 
  text-align: center; 
  padding: 30px 20px; 
  background: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 12px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
  max-width: 400px; 
  margin: 0 auto; 
}
.call-for-appointment i { 
  color: var(--bt-color-accent); 
  font-size: 24px; 
  margin-bottom: 12px; 
  display: block; 
}
.call-for-appointment span { 
  display: block; 
  font-size: 18px; 
  font-weight: 500; 
  margin-bottom: 16px; 
  color: var(--bt-color-fg); 
}
.call-for-appointment .btn { 
  margin-top: 8px; 
}

/* Description Section */
.description-section { 
  margin-bottom: 50px; 
}
.description-section h2 { 
  font-size: 28px; 
  font-weight: 400; 
  margin-bottom: 24px; 
}
.description-section .entry-content p { 
  margin: 0 0 16px; 
  line-height: 1.7; 
}

/* Agents Section */
.agents-section { 
  margin-bottom: 50px; 
}
.agents-section h2 { 
  font-size: 28px; 
  font-weight: 400; 
  margin-bottom: 30px; 
  text-align: center; 
}
.agents-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px; 
}
.agent-card { 
  background: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 12px; 
  padding: 24px; 
  text-align: center; 
  transition: box-shadow 0.2s ease; 
}
.agent-card:hover { 
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
}
.agent-avatar { 
  width: 80px; 
  height: 80px; 
  margin: 0 auto 16px; 
  border-radius: 50%; 
  overflow: hidden; 
  background: #f3f4f6; 
}
.agent-avatar img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}
.agent-info h4 { 
  margin: 0 0 12px 0; 
  font-size: 20px; 
  font-weight: 400; 
}
.agent-info p { 
  margin: 8px 0; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  color: var(--bt-color-muted); 
}
.agent-info a { 
  color: var(--bt-color-fg); 
  text-decoration: none; 
}
.agent-info a:hover { 
  color: var(--bt-color-accent); 
}
.agent-actions { 
  margin-top: 16px; 
}
.btn-primary { 
  background: var(--bt-color-accent); 
  color: var(--bt-color-accent-contrast); 
}

/* Bottom Enquiry Form */
.prop-enquiry-bottom { 
  background: var(--bt-color-soft); 
  padding: 50px 0; 
  margin-top: 40px; 
}
.prop-enquiry-bottom h2 { 
  text-align: center; 
  font-size: 28px; 
  font-weight: 400; 
  margin-bottom: 30px; 
}
.prop-enquiry-bottom .container { 
  max-width: 600px; 
}

/* Gallery grid */
.prop-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.prop-thumb { display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; }
.prop-thumb img { display: block; width: 100%; height: 200px; object-fit: cover; }

/* Lightbox */
.bt-lightbox { position: fixed; inset: 0; background: rgba(17,24,39,.85); display: none; align-items: center; justify-content: center; z-index: 999; }
.bt-lightbox.open { display: flex; }
.bt-lightbox .lb-img { max-width: 90vw; max-height: 85vh; box-shadow: 0 10px 30px rgba(0,0,0,.4); border-radius: 6px; }
.bt-lightbox .lb-close { position: absolute; top: 18px; right: 18px; background: rgba(0,0,0,.6); color: #fff; border: 0; width: 40px; height: 40px; border-radius: 999px; font-size: 24px; cursor: pointer; }
.bt-lightbox .lb-prev, .bt-lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.6); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 999px; cursor: pointer; }
.bt-lightbox .lb-prev { left: 20px; }
.bt-lightbox .lb-next { right: 20px; }
html.no-scroll { overflow: hidden; }

/* Video */
.responsive-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.responsive-embed iframe, .responsive-embed object, .responsive-embed embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Properties Archive */
.page-header { 
  background: var(--bt-color-soft); 
  padding: 60px 0; 
  text-align: center; 
}
.page-header h1 { 
  font-size: 36px; 
  font-weight: 400; 
  margin-bottom: 12px; 
}
.page-header p { 
  font-size: 18px; 
  color: var(--bt-color-muted); 
  margin: 0; 
}

.properties-archive { 
  padding: 60px 0; 
}
.properties-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
  gap: 30px; 
  margin-bottom: 40px; 
}
.property-card { 
  background: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 12px; 
  overflow: hidden; 
  transition: box-shadow 0.2s ease; 
}
.property-card:hover { 
  box-shadow: 0 8px 30px rgba(0,0,0,0.12); 
}
.property-image { 
  position: relative; 
  overflow: hidden; 
}
.property-image img { 
  width: 100%; 
  height: 250px; 
  object-fit: cover; 
  transition: transform 0.3s ease; 
}
.property-card:hover .property-image img { 
  transform: scale(1.05); 
}
.property-content { 
  padding: 24px; 
}
.property-content h3 { 
  margin: 0 0 12px 0; 
  font-size: 20px; 
  font-weight: 400; 
}
.property-content h3 a { 
  color: var(--bt-color-fg); 
  text-decoration: none; 
}
.property-content h3 a:hover { 
  color: var(--bt-color-accent); 
}
.property-address { 
  color: var(--bt-color-muted); 
  margin: 0 0 16px 0; 
  display: flex; 
  align-items: center; 
  gap: 6px; 
}
.property-meta { 
  display: flex; 
  gap: 16px; 
  margin-bottom: 16px; 
  flex-wrap: wrap; 
}
.property-meta span { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  font-size: 14px; 
  color: var(--bt-color-muted); 
}
.property-price { 
  font-weight: 600; 
  color: var(--bt-color-accent) !important; 
}
.property-excerpt { 
  margin-bottom: 20px; 
  line-height: 1.6; 
}
.no-properties { 
  text-align: center; 
  padding: 60px 20px; 
}
.no-properties h2 { 
  font-size: 24px; 
  font-weight: 400; 
  margin-bottom: 12px; 
}

/* Inspection times styling */
.call-appointment { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  flex-wrap: wrap; 
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  margin-top: 8px;
}
.call-appointment .phone-link { 
  color: var(--bt-color-accent) !important; 
  text-decoration: none !important; 
  font-weight: 600 !important; 
  font-size: 16px;
  margin-left: 8px;
}
.call-appointment .phone-link:hover { 
  text-decoration: underline !important; 
  color: #2563eb !important;
}

/* Enquiry stripe */
.prop-enquiry { background: var(--bt-color-soft); padding: 36px 0; margin-top: 24px; }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid #e5e7eb; background: #f8fafc; }
.site-footer .upper { padding: 40px 0; }
.site-footer .lower { border-top: 1px solid #e5e7eb; padding: 16px 0; color: var(--bt-color-muted); background: #ffffff; }

/* Footer section heading icons */
.site-footer h3 i {
  color: var(--bt-color-accent);
  margin-right: 6px;
  font-size: 12px;
}

/* Description section heading icon */
.description-section h2 i {
  color: var(--bt-color-accent);
  margin-right: 8px;
  font-size: 20px;
}

/* Blog Archive Styles */
.page-header {
  background: var(--bt-color-panel);
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 400;
  color: var(--bt-color-fg);
}

.page-header h1 i {
  color: var(--bt-color-accent);
  margin-right: 12px;
  font-size: 28px;
}

.page-header p {
  margin: 0;
  color: var(--bt-color-muted);
  font-size: 16px;
}

.blog-archive {
  padding: 60px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--bt-color-muted);
}

.blog-meta i {
  color: var(--bt-color-accent);
  margin-right: 4px;
}

.blog-title {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.blog-title a {
  color: var(--bt-color-fg);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--bt-color-accent);
}

.blog-excerpt {
  color: var(--bt-color-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more {
  color: var(--bt-color-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 10px;
}

.blog-pagination {
  text-align: center;
  margin-top: 40px;
}

.no-posts {
  text-align: center;
  padding: 60px 20px;
  color: var(--bt-color-muted);
}

/* Single Blog Post Styles */
.blog-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.blog-hero-image {
  width: 100%;
  height: 100%;
}

.blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-blog {
  padding: 60px 0;
}

.blog-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e7eb;
}

.blog-header .blog-meta {
  justify-content: center;
  margin-bottom: 20px;
}

.blog-header .blog-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: var(--bt-color-fg);
}

.blog-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.blog-main-content {
  max-width: none;
}

.entry-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--bt-color-fg);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 32px 0 16px 0;
  color: var(--bt-color-fg);
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.blog-tags {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.blog-tags h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--bt-color-fg);
}

.blog-tags h3 i {
  color: var(--bt-color-accent);
  margin-right: 8px;
}

.tag-list a {
  display: inline-block;
  background: var(--bt-color-panel);
  color: var(--bt-color-muted);
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  margin: 0 8px 8px 0;
  transition: all 0.3s ease;
}

.tag-list a:hover {
  background: var(--bt-color-accent);
  color: #ffffff;
}

.blog-navigation {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.nav-previous,
.nav-next {
  display: block;
}

.nav-previous a,
.nav-next a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bt-color-panel);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
  background: var(--bt-color-accent);
  color: #ffffff;
}

.nav-next a {
  justify-content: flex-end;
  text-align: right;
}

.nav-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bt-color-muted);
}

.nav-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--bt-color-fg);
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--bt-color-panel);
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.sidebar-widget h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--bt-color-fg);
}

.sidebar-widget h3 i {
  color: var(--bt-color-accent);
  margin-right: 8px;
}

/* Map Embed Styles */
.map-embed {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.map-placeholder {
  text-align: center;
  padding: 60px 20px;
  background: var(--bt-color-panel);
  border-radius: 12px;
  border: 2px dashed #e5e7eb;
}

.map-placeholder p {
  margin: 8px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .blog-hero {
    height: 250px;
  }
  
  .blog-header .blog-title {
    font-size: 28px;
  }
  
  .blog-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .nav-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-sidebar {
    position: static;
  }
  
  .map-embed {
    height: 300px;
  }
}

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 100; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 16px; display: none; }
.cookie-banner.show { display: block; }
.cookie-banner .actions { display: flex; gap: 12px; justify-content: flex-end; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .prop-gallery { grid-template-columns: repeat(2, 1fr); }
  .hero--showcase .hero-slider { height: 48vh; }
  
  /* Overview grid responsive */
  .overview-grid { 
    grid-template-columns: 1fr; 
    gap: 16px; 
  }
  .overview-item { 
    padding: 20px; 
  }
  .overview-section h2, 
  .description-section h2, 
  .agents-section h2 { 
    font-size: 24px; 
    margin-bottom: 20px; 
  }
  
  /* Agents responsive */
  .agents-grid { 
    grid-template-columns: 1fr; 
  }
  
  /* Features responsive */
  .features-grid { 
    grid-template-columns: 1fr; 
    gap: 12px; 
  }
  
  /* Open times responsive */
  .open-times-list { 
    max-width: 100%; 
  }
  .call-for-appointment { 
    max-width: 100%; 
    margin: 0 16px; 
  }
  
  /* Forms responsive */
  .enquiry-form-wrapper { 
    padding: 20px; 
    margin: 0 16px; 
  }
  .prop-enquiry-top, 
  .prop-enquiry-bottom { 
    padding: 30px 0; 
  }
}

@media (max-width: 600px) {
  .overview-item { 
    flex-direction: column; 
    text-align: center; 
    padding: 16px; 
  }
  .overview-icon { 
    margin-bottom: 8px; 
  }
  .prop-gallery { 
    grid-template-columns: 1fr; 
  }
  .enquiry-form-wrapper h3 { 
    font-size: 20px; 
  }
  .overview-section h2, 
  .description-section h2, 
  .agents-section h2 { 
    font-size: 20px; 
  }
}

/* Two-Column Layout for Property Content */
.prop-content-wrapper {
  padding: 40px 0;
  background: #ffffff;
}

.prop-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

/* Left Column: Enquiry Form Sidebar */
.prop-enquiry-sidebar {
  position: sticky;
  top: 120px; /* Account for header height */
}

.prop-enquiry-sidebar .enquiry-form-wrapper {
  background: var(--bt-color-panel);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.prop-enquiry-sidebar .enquiry-form-wrapper h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--bt-color-fg);
}

.prop-enquiry-sidebar .enquiry-form-wrapper h3 i {
  color: var(--bt-color-accent);
  margin-right: 8px;
  font-size: 18px;
}

/* Minimalist Inspection Times in Sidebar */
.inspection-times-mini {
  background: var(--bt-color-panel);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.inspection-times-mini h4 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--bt-color-fg);
}

.inspection-times-mini h4 i {
  color: var(--bt-color-accent);
  margin-right: 8px;
  font-size: 14px;
}

.times-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.time-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--bt-color-fg);
}

.time-item i {
  color: var(--bt-color-accent);
  font-size: 12px;
  width: 12px;
}

.call-appointment {
  text-align: center;
  padding: 12px;
  background: #f8fafc;
  border-radius: 6px;
}

.call-appointment i {
  color: var(--bt-color-accent);
  font-size: 14px;
  margin-bottom: 4px;
  display: block;
}

.call-appointment span {
  display: block;
  font-size: 13px;
  color: var(--bt-color-muted);
  margin-bottom: 8px;
}

.phone-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--bt-color-accent);
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

/* Right Column: Tabbed Content */
.prop-sections {
  background: #ffffff;
}

.prop-section {
  display: none;
  padding: 0;
}

.prop-section.is-active {
  display: block;
}

.prop-section h3 {
  margin: 0 0 24px 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--bt-color-fg);
  border-bottom: 2px solid var(--bt-color-accent);
  padding-bottom: 8px;
}

/* Property Details Inline */
.property-details-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.detail-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--bt-color-fg);
}

.detail-item i {
  color: var(--bt-color-accent);
  font-size: 16px;
  width: 16px;
  text-align: center;
}

/* Property Features Inline */
.features-section {
  margin-bottom: 30px;
}

.features-section h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--bt-color-fg);
}

.features-section h3 i {
  color: var(--bt-color-accent);
  margin-right: 8px;
  font-size: 18px;
}

.features-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--bt-color-fg);
}

.feature-item i {
  color: var(--bt-color-accent);
  font-size: 14px;
}

/* Responsive adjustments for two-column layout */
@media (max-width: 1024px) {
  .prop-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .prop-enquiry-sidebar {
    position: static;
    order: 2; /* Move enquiry form below content on mobile */
  }
  
  .prop-sections {
    order: 1;
  }
}

@media (max-width: 768px) {
  .prop-content-wrapper {
    padding: 20px 0;
  }
  
  .prop-layout {
    gap: 20px;
  }
  
  .prop-enquiry-sidebar .enquiry-form-wrapper {
    padding: 20px;
    margin: 0 16px;
  }
  
  .prop-section h3 {
    font-size: 20px;
  }
  
  /* Responsive inline details and features */
  .property-details-inline {
    gap: 16px;
    margin-bottom: 20px;
  }
  
  .detail-item {
    font-size: 14px;
  }
  
  .features-inline {
    gap: 16px;
  }
  
  .feature-item {
    font-size: 14px;
  }
}
