/* =============================================================
   Poochouse Blocks for Elementor — v1.1.0
   All widget styles
   ============================================================= */

/* ── Shared tokens ────────────────────────────────────────── */
:root {
  --ph-brand:       #4C5A54;
  --ph-brand-dark:  #333d39;
  --ph-brand-light: #6b7d75;
  --ph-accent:      #8a9e95;
  --ph-stone:       #b0bdb8;
  --ph-stone-light: #dde2df;
  --ph-cream:       #f9f8f5;
  --ph-bg:          #f5f6f4;
  --ph-warm:        #eef0ec;
  --ph-text:        #4a5752;
  --ph-ink:         #1e2421;
}

/* ── Shared button base ───────────────────────────────────── */
.ph-btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background-color .3s, color .3s, border-color .3s;
  cursor: pointer;
  border: 1px solid transparent;
}

/* ═══════════════════════════════════════════════════════════
   01  DESTINATION RAIL
═══════════════════════════════════════════════════════════ */
.ph-rail-wrap { background-color: var(--ph-bg); padding: 70px 0 80px; overflow: hidden; }

.ph-rail-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 0 6vw; margin-bottom: 24px; }
.ph-rail-header-text { flex: 1 1 auto; }
.ph-rail-eyebrow { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--ph-brand-light); font-weight: 500; margin: 0 0 10px; }
.ph-rail-heading { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(24px, 3vw, 44px); line-height: 1.1; color: var(--ph-brand-dark); margin: 0; }
.ph-rail-heading em { font-style: italic; }

.ph-rail-cta { display: inline-block; flex-shrink: 0; align-self: center; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 500; padding: 11px 24px; background: transparent; color: var(--ph-brand); border: 1px solid var(--ph-brand); transition: background-color .3s, color .3s; }
.ph-rail-cta:hover { background-color: var(--ph-brand); color: #fff; }

.ph-rail-hint { display: flex; align-items: center; gap: 10px; padding: 0 6vw 18px; }
.ph-rail-hint-line { width: 32px; height: 1px; background: var(--ph-stone-light); }
.ph-rail-hint-text { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ph-stone); font-weight: 300; }

.ph-rail { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; cursor: grab; user-select: none; -webkit-user-select: none; padding-left: 6vw; padding-right: 6vw; padding-bottom: 4px; scrollbar-width: none; -ms-overflow-style: none; }
.ph-rail::-webkit-scrollbar { display: none; }
.ph-rail.ph-dragging a { pointer-events: none; }

.ph-dest-card { position: relative; flex-shrink: 0; width: 340px; height: 460px; overflow: hidden; display: block; text-decoration: none; }
.ph-dest-card.ph-wide { width: 440px; }
.ph-dest-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.25,.46,.45,.94); }
.ph-dest-card:hover img { transform: scale(1.06); }

.ph-dest-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,36,30,.9) 0%, rgba(28,36,30,.15) 55%, transparent 100%); pointer-events: none; }
.ph-dest-hover { position: absolute; inset: 0; background: rgba(28,36,30,.2); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ph-dest-card:hover .ph-dest-hover { opacity: 1; }

.ph-dest-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px; }
.ph-dest-name { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 400; color: #fff; margin: 0; transition: transform .35s ease, margin-bottom .35s ease; line-height: 1.15; }
.ph-dest-card:hover .ph-dest-name { transform: translateY(-4px); margin-bottom: 10px; }
.ph-dest-fact { font-family: 'Jost', sans-serif; font-size: 12px; color: var(--ph-stone); line-height: 1.65; font-weight: 300; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .35s ease; }
.ph-dest-card:hover .ph-dest-fact { max-height: 120px; opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   02  COTTAGE RAIL
═══════════════════════════════════════════════════════════ */
.ph-cr-wrap { background-color: var(--ph-warm); padding: 70px 0 80px; overflow: hidden; }
.ph-cr-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 0 6vw; margin-bottom: 24px; }
.ph-cr-eyebrow { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--ph-brand-light); font-weight: 500; margin: 0 0 10px; }
.ph-cr-heading  { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(24px, 3vw, 44px); line-height: 1.1; color: var(--ph-brand-dark); margin: 0; }
.ph-cr-cta { display: inline-block; align-self: center; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 500; padding: 11px 24px; background: transparent; color: var(--ph-brand); border: 1px solid var(--ph-brand); transition: background-color .3s, color .3s; }
.ph-cr-cta:hover { background-color: var(--ph-brand); color: #fff; }

.ph-cr-card { flex-shrink: 0; width: 320px; cursor: pointer; }
.ph-cr-img-wrap { position: relative; overflow: hidden; height: 220px; margin-bottom: 16px; }
.ph-cr-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.25,.46,.45,.94); }
.ph-cr-card:hover .ph-cr-img-wrap img { transform: scale(1.05); }
.ph-cr-info { padding: 0; }
.ph-cr-name  { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 400; color: var(--ph-brand-dark); margin: 0 0 4px; }
.ph-cr-loc   { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ph-brand); font-weight: 500; margin: 0 0 8px; }
.ph-cr-feat  { font-family: 'Jost', sans-serif; font-size: 12px; color: var(--ph-text); font-weight: 300; line-height: 1.6; margin: 0 0 12px; }
.ph-cr-link  { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ph-brand); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ph-brand); padding-bottom: 2px; }

/* ═══════════════════════════════════════════════════════════
   03  PROPERTY FILTER GRID
═══════════════════════════════════════════════════════════ */
.ph-pfg-tabs { background-color: var(--ph-warm); border-bottom: 1px solid var(--ph-stone-light); padding: 0 6vw; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.ph-pfg-tabs::-webkit-scrollbar { display: none; }
.ph-pfg-tab { padding: 18px 20px; border: none; background: none; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; color: var(--ph-text); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.ph-pfg-tab.ph-active { color: var(--ph-brand); border-bottom-color: var(--ph-brand); }
.ph-pfg-tab:hover { color: var(--ph-brand); }

.ph-pfg-grid-wrap { background-color: var(--ph-bg); padding: 60px 6vw; }
.ph-pfg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px; }

.ph-pfg-card { cursor: pointer; }
.ph-pfg-card-img { position: relative; overflow: hidden; height: 260px; margin-bottom: 16px; }
.ph-pfg-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.25,.46,.45,.94); }
.ph-pfg-card:hover .ph-pfg-card-img img { transform: scale(1.05); }
.ph-pfg-tag { position: absolute; top: 14px; left: 14px; background: var(--ph-brand); padding: 5px 12px; font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #fff; font-weight: 500; }
.ph-pfg-name   { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 400; color: var(--ph-brand-dark); margin: 0 0 4px; }
.ph-pfg-region { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ph-brand); font-weight: 500; margin: 0 0 8px; }
.ph-pfg-feat   { font-family: 'Jost', sans-serif; font-size: 12px; color: var(--ph-text); font-weight: 300; line-height: 1.6; margin: 0 0 12px; }
.ph-pfg-link   { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ph-brand); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ph-brand); padding-bottom: 2px; }

/* ═══════════════════════════════════════════════════════════
   04  AT A GLANCE
═══════════════════════════════════════════════════════════ */
.ph-ag-wrap { background-color: #333d39; padding: 80px 6vw; }
.ph-ag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ph-ag-eyebrow { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--ph-accent); font-weight: 500; margin: 0 0 14px; }
.ph-ag-heading  { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(26px, 3.5vw, 46px); line-height: 1.1; color: var(--ph-cream); margin: 0 0 20px; }
.ph-ag-intro    { font-family: 'Jost', sans-serif; font-size: 15px; line-height: 1.85; color: var(--ph-stone); font-weight: 300; margin: 0; }

.ph-ag-list { border-top: 1px solid rgba(176,189,184,.2); }
.ph-ag-item { padding: 20px 0; border-bottom: 1px solid rgba(176,189,184,.2); }
.ph-ag-pt { font-family: 'Jost', sans-serif; font-size: 13px; color: var(--ph-cream); font-weight: 500; margin: 0 0 5px; }
.ph-ag-pd { font-family: 'Jost', sans-serif; font-size: 12px; color: var(--ph-stone); font-weight: 300; line-height: 1.65; margin: 0; }

/* ═══════════════════════════════════════════════════════════
   05  DOG FRIENDLY
═══════════════════════════════════════════════════════════ */
.ph-df-wrap { background-color: var(--ph-brand); padding: 72px 6vw; }
.ph-df-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: start; }
.ph-df-eyebrow { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 400; margin: 0 0 16px; }
.ph-df-heading  { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(26px, 3.5vw, 46px); line-height: 1.1; color: #fff; margin: 0 0 18px; }
.ph-df-body     { font-family: 'Jost', sans-serif; font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.85); font-weight: 300; max-width: 420px; margin: 0; }
.ph-df-list { border-top: 1px solid rgba(255,255,255,.25); min-width: 220px; }
.ph-df-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-family: 'Jost', sans-serif; font-size: 13px; color: #fff; font-weight: 300; }
.ph-df-dash { width: 20px; height: 1px; background: rgba(255,255,255,.45); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   06  FULL-BLEED OVERLAY
═══════════════════════════════════════════════════════════ */
.ph-fbo-wrap { position: relative; overflow: hidden; }
.ph-fbo-img  { width: 100%; height: 420px; object-fit: cover; display: block; filter: brightness(50%); }
.ph-fbo-grad { position: absolute; inset: 0; pointer-events: none; }
.ph-fbo-content { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 6vw; }
.ph-fbo-inner { max-width: 520px; }
.ph-fbo-eyebrow { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--ph-accent); font-weight: 400; margin: 0 0 16px; }
.ph-fbo-heading { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(24px, 3.5vw, 46px); line-height: 1.1; color: #fff; margin: 0 0 18px; }
.ph-fbo-body    { font-family: 'Jost', sans-serif; font-size: 15px; line-height: 1.9; color: var(--ph-stone); font-weight: 300; margin: 0 0 24px; }
.ph-fbo-btn { display: inline-block; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 500; padding: 12px 28px; background: var(--ph-brand); color: #fff; border: 1px solid var(--ph-brand); transition: background-color .3s, color .3s; }
.ph-fbo-btn:hover { background: transparent; color: var(--ph-brand); }

/* ═══════════════════════════════════════════════════════════
   07  CTA PANEL
═══════════════════════════════════════════════════════════ */
.ph-cta-wrap { background-color: var(--ph-warm); padding: 100px 6vw; text-align: center; position: relative; overflow: hidden; }
.ph-cta-wm { position: absolute; font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(70px,14vw,180px); font-weight: 400; color: rgba(76,90,84,.06); top: 50%; left: 50%; transform: translate(-50%,-50%); white-space: nowrap; pointer-events: none; line-height: 1; }
.ph-cta-inner { position: relative; z-index: 1; }
.ph-cta-eyebrow { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--ph-brand-light); font-weight: 500; margin: 0 0 16px; }
.ph-cta-heading { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(26px,4vw,52px); line-height: 1.1; color: var(--ph-brand-dark); margin: 0 auto 18px; max-width: 580px; }
.ph-cta-body    { font-family: 'Jost', sans-serif; font-size: 15px; line-height: 1.85; color: var(--ph-text); font-weight: 300; max-width: 460px; margin: 0 auto 40px; }
.ph-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ph-cta-btn1 { display: inline-block; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 500; padding: 13px 36px; background: var(--ph-brand); color: #fff; border: 1px solid var(--ph-brand); transition: background-color .3s, color .3s; }
.ph-cta-btn1:hover { background: transparent; color: var(--ph-brand); }
.ph-cta-btn2 { display: inline-block; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 500; padding: 13px 36px; background: transparent; color: var(--ph-brand); border: 1px solid var(--ph-brand); transition: background-color .3s, color .3s; }
.ph-cta-btn2:hover { background: var(--ph-brand); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   08  HERO — PROPERTY LISTING
═══════════════════════════════════════════════════════════ */
.ph-hl-wrap { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ph-brand-dark); }
.ph-hl-bg   { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; filter: brightness(68%); animation: ph-hero-zoom 16s ease-out forwards; }
.ph-hl-grad { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,36,30,.05) 0%, rgba(28,36,30,.52) 70%, rgba(28,36,30,.86) 100%); }

@keyframes ph-hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }

.ph-hl-content { position: relative; z-index: 2; padding: 60px 6vw 70px; max-width: 900px; animation: ph-fade-up 1.2s 0.5s ease both; }
@keyframes ph-fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.ph-hl-bc { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; flex-wrap: wrap; }
.ph-hl-bc-link { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); text-decoration: none; font-weight: 400; }
.ph-hl-bc-link:hover { color: rgba(255,255,255,.9); }
.ph-hl-bc-cur  { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); font-weight: 400; }
.ph-hl-bc-sep  { color: rgba(255,255,255,.35); font-size: 10px; }

.ph-hl-eyebrow { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #b8c8b0; font-weight: 400; margin: 0 0 16px; }
.ph-hl-title   { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(36px,6vw,80px); line-height: 1.02; color: #fff; margin: 0 0 8px; }
.ph-hl-italic  { font-style: italic; color: #d8e4da; }
.ph-hl-tagline { font-family: 'Jost', sans-serif; font-size: clamp(12px,1.1vw,14px); letter-spacing: .1em; color: var(--ph-stone); margin: 20px 0 0; font-weight: 300; }
.ph-hl-btn { display: inline-block; margin-top: 34px; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 500; padding: 14px 36px; background: var(--ph-brand); color: #fff; border: 1px solid var(--ph-brand); transition: background-color .3s, color .3s; }
.ph-hl-btn:hover { background: transparent; color: var(--ph-brand); }

.ph-hl-scroll { position: absolute; bottom: 32px; right: 6vw; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.ph-hl-scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--ph-stone), transparent); }
.ph-hl-scroll-text { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ph-stone); writing-mode: vertical-rl; font-weight: 300; }

/* ═══════════════════════════════════════════════════════════
   09  HERO — PAGE (SHORTER)
═══════════════════════════════════════════════════════════ */
.ph-hp-wrap { position: relative; min-height: 55vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ph-brand-dark); }
.ph-hp-bg   { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; filter: brightness(62%); animation: ph-hero-zoom 16s ease-out forwards; }
.ph-hp-grad { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,36,30,.05) 0%, rgba(28,36,30,.55) 70%, rgba(28,36,30,.88) 100%); }

.ph-hp-content { position: relative; z-index: 2; padding: 0 6vw 60px; max-width: 820px; animation: ph-fade-up 1.2s 0.5s ease both; }
.ph-hp-eyebrow  { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #b8c8b0; font-weight: 400; margin: 0 0 16px; }
.ph-hp-title    { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(34px,5.5vw,72px); line-height: 1.05; color: #fff; margin: 0 0 16px; }
.ph-hp-title em { font-style: italic; }
.ph-hp-subtitle { font-family: 'Jost', sans-serif; font-size: clamp(13px,1.1vw,15px); color: var(--ph-stone); font-weight: 300; line-height: 1.8; max-width: 580px; margin: 0; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE (all widgets)
═══════════════════════════════════════════════════════════ */
@media (max-width: 800px) {
  .ph-ag-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .ph-df-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .ph-rail-header { flex-direction: column; align-items: flex-start; }
  .ph-cr-header   { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .ph-dest-card               { width: 80vw !important; }
  .ph-dest-card.ph-wide       { width: 88vw !important; }
  .ph-cr-card                 { width: 80vw !important; }
  .ph-hl-wrap, .ph-hp-wrap    { min-height: 70vh; }
  .ph-fbo-img                 { height: 320px; }
  .ph-cta-btns                { flex-direction: column; align-items: center; }
}

/* Editor: prevent pointer interference */
.elementor-editor-active .ph-rail { cursor: default; overflow-x: scroll; }
