/* Carrossel de fotos dos imóveis */
.imob-slider { position: relative; overflow: hidden; background: #e9e9e9; --imob-h: 260px; }
.imob-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; height: var(--imob-h);
}
.imob-track::-webkit-scrollbar { display: none; }
.imob-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; height: 100%; }
.imob-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imob-prev, .imob-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 22px; line-height: 34px;
  text-align: center; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.imob-prev { left: 10px; }
.imob-next { right: 10px; }
.imob-slider:hover .imob-prev, .imob-slider:hover .imob-next, .imob-slider:focus-within .imob-prev, .imob-slider:focus-within .imob-next { opacity: 1; }
@media (hover: none) { .imob-prev, .imob-next { opacity: .85; } }
.imob-prev[disabled], .imob-next[disabled] { display: none; }
.imob-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; padding: 2px 9px; border-radius: 12px;
  background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; line-height: 20px; pointer-events: none;
}
.imob-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 0; scrollbar-width: thin; }
.imob-thumbs button { flex: 0 0 auto; border: 2px solid transparent; padding: 0; background: none; cursor: pointer; opacity: .65; }
.imob-thumbs button.active { border-color: #f7c04f; opacity: 1; }
.imob-thumbs img { width: 84px; height: 60px; object-fit: cover; display: block; }

/* Vídeo dentro do site */
.imob-video-modal {
  position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .85); display: flex;
  align-items: center; justify-content: center; padding: 20px;
}
.imob-video-box { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; }
.imob-video-box iframe, .imob-video-box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.imob-video-close {
  position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #fff; color: #000; font-size: 22px; line-height: 34px; cursor: pointer;
}

/* Blog SEO & CTA Styles */
.blog-cta-box {
  background: linear-gradient(135deg, #1b263b 0%, #0d1b2a 100%);
  color: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  margin: 40px 0 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-left: 6px solid #f7c04f;
}
.blog-cta-box h4 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-family: inherit;
}
.blog-cta-box p {
  color: #cbd5e1 !important;
  font-size: 1rem;
  line-height: 1.6;
}
.blog-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #64748b;
  margin-left: 15px;
}
.blog-list, .blog-list-ordered {
  color: #475569;
  font-size: 1.02rem;
}
.blog-list li, .blog-list-ordered li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.blog-list li strong, .blog-list-ordered li strong {
  color: #1e293b;
}
.blog-badge-cat {
  background: #f7c04f;
  color: #111;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-right: 8px;
}
.blog-single .blog-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
}
.recent-post .media-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

/* Blog Article Details Enhancements */
.blog-single .blog-title {
  text-transform: none;
  font-size: 2.1rem;
  line-height: 1.35;
  color: #1a202c;
  margin-top: 15px;
  margin-bottom: 20px;
}
.blog-single .blog-img .blog-date {
  letter-spacing: 0.5px;
  font-size: 13px;
  padding: 8px 18px;
  white-space: nowrap;
}
.blog-body-text p {
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 22px;
}
.blog-body-text h3.blog-section-title {
  text-transform: none;
  color: #0f172a !important;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 1.45rem;
  border-left: 4px solid #f7c04f;
  padding-left: 12px;
}
.blog-body-text h4.blog-subtitle {
  text-transform: none;
  color: #1e293b;
  font-weight: 600;
  margin-top: 26px;
  margin-bottom: 12px;
}
.widget_meta .tagcloud a,
.share-links .tagcloud a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.2;
  padding: 8px 14px;
  margin: 0 4px 8px 0;
  border-radius: 4px;
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
  text-transform: none;
  font-weight: 500;
}
.widget_meta .tagcloud a:hover,
.share-links .tagcloud a:hover {
  background-color: #f7c04f;
  color: #0f172a;
  border-color: #f7c04f;
}
.blog-author {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.blog-author .media-img {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.blog-author .media-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Breadcrumb da página de detalhes do imóvel: usa a foto real do imóvel como fundo
   (em vez da imagem genérica do template) com um degradê escuro por cima para o
   título branco continuar legível em qualquer foto. */
.breadcumb-wrapper.breadcumb-has-photo {
  position: relative;
}
.breadcumb-wrapper.breadcumb-has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.45) 0%, rgba(10, 14, 20, 0.8) 100%);
  z-index: 1;
}

