/* Aggregated plugin css — served at /assets/blocks.css. Do not edit. */


/* === hero === */
/* Hero block — styles scoped under .pb-hero to avoid colliding with
   other plugins. Fonts come from the site-level --font-heading and
   --font-body variables set by both layouts, so the admin canvas and
   the public page render with whatever the operator chose in
   Settings → Fonts. */
.pb-hero { text-align: center; padding: 40px 0; }
.pb-hero-title {
    font-family: var(--font-heading, inherit);
    font-size: 44px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--text);
}
.pb-hero-subtitle {
    font-family: var(--font-body, inherit);
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-muted, var(--muted, var(--text)));
    margin: 0 auto 20px;
    max-width: 640px;
}
.pb-hero-cta { display: inline-flex; font-family: var(--font-body, inherit); }

@media (max-width: 640px) {
    .pb-hero-title { font-size: 32px; }
}



/* === text === */
.pb-text {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body, inherit);
}
.pb-text h2 { font-family: var(--font-heading, inherit); font-size: 28px; margin: 24px 0 12px; color: var(--text); }
.pb-text h3 { font-family: var(--font-heading, inherit); font-size: 22px; margin: 20px 0 10px; color: var(--text); }
.pb-text p  { margin: 0 0 14px; line-height: 1.6; color: var(--text); }
.pb-text a  { color: var(--text); text-decoration: underline; }



/* === columns === */
/* Two-column text. flex-wrap makes the block container-aware without
   media or container queries: as long as the block has room for two
   flex-basis columns side-by-side (≈620px incl. gap), they lay out
   two-up; below that the second column wraps beneath. Works the same
   in the admin canvas and on the public page. */
.pb-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.pb-columns-col {
    flex: 1 1 280px;
    min-width: 0; /* allow shrink below intrinsic content width */
    font-family: var(--font-body, inherit);
    color: var(--text);
}
.pb-columns-col h1,
.pb-columns-col h2,
.pb-columns-col h3,
.pb-columns-col h4 { font-family: var(--font-heading, inherit); }
.pb-columns-col h2 { font-size: 24px; margin: 0 0 12px; }
.pb-columns-col h3 { font-size: 20px; margin: 18px 0 10px; }
.pb-columns-col p  { margin: 0 0 14px; line-height: 1.6; }
.pb-columns-col a  { color: var(--text); text-decoration: underline; }



/* === visual === */
/* Visual block.
   .pb-visual           — full-bleed outer (background colour).
   .pb-visual > .public-container — constrains horizontally.
   .pb-visual-grid      — the actual 2-column grid (two direct
                          children: text + image).
   Layout modifiers (--text-image / --image-text) live on the grid
   because that's where column order is decided. */

.pb-visual {
    padding: 32px;
    border-radius: 12px;
    background: var(--pb-visual-bg, transparent);
    color: var(--text);
}
.pb-visual-grid {
    display: grid;
    gap: 32px;
    align-items: stretch;
}
.pb-visual-grid.pb-visual--text-image,
.pb-visual-grid.pb-visual--image-text { grid-template-columns: 1fr 1fr; }

.pb-visual-text {
    display: flex;
    flex-direction: column;
    justify-content: var(--pb-visual-align-v, flex-start);
    align-items: var(--pb-visual-align-h, flex-start);
    text-align: var(--pb-visual-align-t, left);
    font-family: var(--font-body, inherit);
}
.pb-visual-text > * { max-width: 100%; }
.pb-visual-text h1,
.pb-visual-text h2,
.pb-visual-text h3,
.pb-visual-text h4 { font-family: var(--font-heading, inherit); }

.pb-visual-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--pb-visual-radius, 12px);
}
.pb-visual-image.is-empty {
    background: color-mix(in srgb, currentColor 6%, transparent);
    border-radius: var(--pb-visual-radius, 12px);
    aspect-ratio: 4 / 3;
}

@media (max-width: 720px) {
    .pb-visual-grid.pb-visual--text-image,
    .pb-visual-grid.pb-visual--image-text { grid-template-columns: 1fr; }
    .pb-visual-grid.pb-visual--image-text .pb-visual-image { order: -1; }
}



/* === image === */
.pb-image { text-align: center; }
.pb-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: var(--pb-image-radius, 12px);
}
.pb-image.is-empty .pb-image-inner {
    min-height: 160px;
    border: 2px dashed color-mix(in srgb, currentColor 20%, transparent);
    border-radius: var(--pb-image-radius, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pb-image-inner[data-pb-edit-image] { cursor: pointer; }
.pb-image-placeholder {
    color: color-mix(in srgb, currentColor 55%, transparent);
    font-size: 14px;
}



/* === faq === */
/* FAQ block — rendered identically to the property-page FAQ so the
   two surfaces feel like one system. Same selectors, same spacing,
   inherited typography. scripts.js coordinates the [open] attribute
   during the close so the grid-template-rows transition runs both
   directions. */

.pb-faq-heading {
    font-family: var(--font-heading, inherit);
    font-size: 28px;
    margin: 0 0 16px;
    color: var(--text);
}

.pb-faq-list {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--s-5, 32px);
    border-top: 1px solid var(--border, var(--line, rgba(0,0,0,.1)));
}
.pb-faq-item {
    border-bottom: 1px solid var(--border, var(--line, rgba(0,0,0,.1)));
}
.pb-faq-item > summary {
    list-style: none;
    cursor: pointer;
    padding: var(--s-4, 16px) 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3, 12px);
}
.pb-faq-item > summary::-webkit-details-marker { display: none; }
.pb-faq-item > summary::after {
    content: '+';
    color: var(--text-muted, var(--muted));
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
}
.pb-faq-item[open] > summary::after { content: '−'; }

.pb-faq-slide {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s cubic-bezier(.22, .61, .36, 1);
}
.pb-faq-item[open]:not(.is-closing) > .pb-faq-slide {
    grid-template-rows: 1fr;
}
.pb-faq-slide > .pb-faq-answer {
    overflow: hidden;
    padding: 0;
    line-height: 1.6;
    color: var(--text-muted, var(--muted, var(--text)));
}
.pb-faq-slide > .pb-faq-answer::after {
    content: '';
    display: block;
    height: var(--s-4, 16px);
}
.pb-faq-answer p:first-child { margin-top: 0; }
.pb-faq-answer p:last-child  { margin-bottom: 0; }



/* === featured_properties === */
/* Featured properties slider.
   Full-bleed slides with the property photo as background, dark
   tint overlay (admin-configurable 0-80%), content stacked at the
   bottom-left. CSS scroll-snap keeps the slider lightweight — JS
   only controls prev/next/dot wiring, not the scrolling itself. */
.pb-fp { container-type: inline-size; container-name: pbfp; }
.pb-fp-heading {
    font-family: var(--font-heading, inherit);
    font-size: 28px;
    margin: 0 0 18px;
    color: var(--text);
}
.pb-fp-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}
.pb-fp-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.pb-fp-track::-webkit-scrollbar { display: none; }
.pb-fp-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    aspect-ratio: 16 / 9;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
.pb-fp-slide.is-empty,
.pb-fp-slide:not([style]) { background: #222; }
.pb-fp-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, calc(var(--pb-fp-tint, .45) * 0.4)) 0%,
        rgba(0, 0, 0, var(--pb-fp-tint, .45)) 60%,
        rgba(0, 0, 0, calc(var(--pb-fp-tint, .45) * 1.3)) 100%);
}
.pb-fp-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 40px;
    z-index: 1;
    max-width: 640px;
    font-family: var(--font-body, inherit);
}
.pb-fp-location {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 8px;
}
.pb-fp-title {
    font-family: var(--font-heading, inherit);
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 10px;
    color: #fff;
}
.pb-fp-short {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 8px;
    opacity: 0.92;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.pb-fp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.92;
}
.pb-fp-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pb-fp-meta svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.9;
}
.pb-fp-meta span strong { font-weight: 700; }
.pb-fp-price {
    font-size: 15px;
    margin-bottom: 12px;
}
.pb-fp-price-amount { font-weight: 700; font-size: 22px; }
.pb-fp-price-label, .pb-fp-price-unit { opacity: 0.85; }
.pb-fp-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    transition: transform .15s ease, background .15s ease, color .15s ease;
}
/* Pin the palette on hover — the global .btn-primary:hover rule used
   to drive the text to the brand-button text colour, which can match
   the white pill background and make "View property" unreadable. */
.pb-fp-cta:hover,
.pb-fp-cta:focus-visible {
    background: #fff;
    color: #111;
    transform: translateY(-1px);
    filter: none;
}

/* Navigation — arrows float on the slides, dots below. Arrows hide
   when there's only one slide (controlled by the markup). */
.pb-fp-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    /* flex-center so the ‹/› glyph sits in the optical centre of
       the circle regardless of font metrics. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    transition: background .15s ease, transform .15s ease;
}
/* Beat the global light-mode button:hover that inverts to black —
   here we want the circle to stay white and just lift. */
html[data-theme="light"] .pb-fp-nav:hover,
.pb-fp-nav:hover {
    background: #fff;
    color: #111;
    border-color: transparent;
    transform: translateY(-50%) scale(1.06);
    filter: none;
}
.pb-fp-nav:disabled { opacity: 0.4; cursor: not-allowed; }
.pb-fp-nav-prev { left: 16px; }
.pb-fp-nav-next { right: 16px; }
.pb-fp-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.pb-fp-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
    transition: background .15s ease, width .15s ease;
}
.pb-fp-dots button.is-active {
    background: #fff;
    width: 22px;
    border-radius: 999px;
}

/* Empty state shown when no properties are picked. */
.pb-fp-empty {
    padding: 40px;
    text-align: center;
    border: 2px dashed var(--border, rgba(0, 0, 0, .1));
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
}

/* Mobile: shorter slide height, tighter padding, smaller title. */
@container pbfp (max-width: 700px) {
    .pb-fp-slide  { aspect-ratio: 4 / 5; }
    .pb-fp-body   { padding: 22px 20px; }
    .pb-fp-title  { font-size: 26px; }
    .pb-fp-short  { -webkit-line-clamp: 3; }
    .pb-fp-nav    { width: 34px; height: 34px; }
    .pb-fp-nav-prev { left: 10px; }
    .pb-fp-nav-next { right: 10px; }
}



/* === property_carousel === */
/* Property carousel plugin — ships all the CSS it needs to render
   identically in the admin canvas and on the public page. Loaded via
   /assets/blocks.css on both surfaces. These rules used to live in
   public.css but moved here so the plugin is self-contained. */

/* Every carousel instance now renders its outer as <section class="pb-block">
   (matching all other block plugins) so vertical spacing is driven
   entirely by the shared `.pb-block { margin: 40px 0 }` rule in
   shared.css and gaps between sections are consistent. */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4, 16px);
    margin-bottom: var(--s-4, 16px);
}
.section-head-left { display: flex; align-items: baseline; gap: 10px; }
/* Same size / weight as .pb-faq-heading so the page rhythm is
   consistent between carousel sections and FAQ sections. */
.section-head h2 {
    margin: 0;
    font-family: var(--font-heading, inherit);
    font-size: 28px;
    letter-spacing: -0.01em;
}
.section-head a.section-link { color: var(--text-muted, var(--muted, var(--text))); font-weight: 500; font-size: 13px; text-decoration: none; }
.section-head a.section-link:hover { color: var(--text); text-decoration: underline; }

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
.section-link:hover { color: var(--brand-accent, var(--text)); }
.section-link svg { stroke: currentColor; }

/* Horizontal scroll carousel. Left edge aligns with the container,
   right edge bleeds to viewport so extra cards peek off-canvas. */
.prop-carousel { position: relative; }
.carousel-track {
    display: flex;
    gap: var(--s-4, 16px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    padding: 4px 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: calc(50% - 50vw);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: min(220px, 60vw);
}
.carousel-item > * { height: 100%; }

.carousel-arrows { display: flex; gap: 6px; }
.carousel-arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border, var(--line));
    background: var(--surface, var(--panel));
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    color: var(--text);
    transition: background .1s, border-color .1s;
}
.carousel-arrow:hover { background: var(--surface-2, color-mix(in srgb, var(--text) 6%, transparent)); border-color: var(--text); }
.carousel-arrow[disabled] { opacity: .3; cursor: not-allowed; }
@media (max-width: 640px) { .carousel-arrows { display: none; } }

/* Property card — the unit the featured/popular carousels render. */
.property-card-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .15s;
}
.property-card-wrap[hidden] { display: none; }
.property-card-wrap:hover { transform: translateY(-2px); }

.property-card-heart {
    position: absolute;
    top: 6px; right: 6px;
    z-index: 2;
    width: 30px; height: 30px;
    border-radius: 8px;
    border: 0;
    background: color-mix(in srgb, #000 35%, transparent);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .1s ease, transform .1s ease;
}
.property-card-heart:hover { background: color-mix(in srgb, #000 55%, transparent); transform: scale(1.06); }
.property-card-heart svg { fill: none; stroke: currentColor; stroke-width: 2; }
.property-card-heart.is-on { color: #fff; }
.property-card-heart.is-on svg { fill: #ef4444; stroke: #ef4444; }

.property-card {
    display: flex;
    flex-direction: column;
    color: var(--text);
    text-decoration: none;
    height: 100%;
}
.property-card:hover { color: var(--text); }
.property-card-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-md, 10px);
    overflow: hidden;
    background: var(--surface-2, color-mix(in srgb, var(--text) 6%, transparent));
}
.property-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.property-card-photo-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft, var(--muted));
    font-size: 40px;
}
.property-card-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--brand-accent, var(--text));
    color: #fff;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.08));
}
.property-card-badge svg { color: currentColor; }
.property-card.is-featured .property-card-photo {
    box-shadow: 0 0 0 2px var(--brand-accent, var(--text)), var(--shadow-sm, 0 1px 3px rgba(0,0,0,.08));
}
.property-card.is-featured .property-card-name { color: var(--text); }
.property-card-body { padding: 8px 2px 0; }
.property-card-loc  { font-size: 11px; color: var(--text-muted, var(--muted)); margin-bottom: 1px; }
.property-card-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-heading, inherit);
}
.property-card-meta  { color: var(--text-muted, var(--muted)); font-size: 12px; margin-bottom: 0; }
.property-card-price .amount { font-weight: 600; color: var(--text); font-size: 13px; }
.property-card-price .unit   { color: var(--text-muted, var(--muted)); font-size: 12px; }
.property-card-rating { font-size: 12px; font-weight: 500; margin-top: 2px; }

/* Location card — the unit the "Browse by location" carousel renders. */
.location-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition: transform .12s ease;
    height: 100%;
}
.location-card:hover { transform: translateY(-2px); color: inherit; }
.location-card[hidden] { display: none; }
.location-card-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-md, 10px);
    overflow: hidden;
    background: var(--surface-2, color-mix(in srgb, var(--text) 6%, transparent));
}
.location-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.location-card-photo-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-muted, var(--muted)); }
.location-card-body { padding: 8px 2px 0; }
.location-card-name { font-weight: 600; font-size: 16px; font-family: var(--font-heading, inherit); }
.location-card-parent { font-size: 12px; color: var(--text-muted, var(--muted)); margin-top: 2px; }

/* Admin canvas hint shown under an empty carousel. */
.pb-pc-hint {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted, var(--muted, currentColor));
}

