@import url('https://fonts.googleapis.com/css2?family=Bellefair&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* =====================================================================
   PURELY CORNWALL â€” MASTER STYLESHEET (Reorganized)
   Order:
   A) GLOBAL (tokens, base, utilities, shared components)
   B) PAGE-SPECIFIC (hero, properties, cards, blog, property page, blocks, etc.)
   C) RESPONSIVE / MOBILE (grouped by breakpoint: 1130px, 1024px, 900px, 768px, 600px)
   ===================================================================== */

/* =====================================================================
   A) GLOBAL
   ===================================================================== */

/* -----------------------------
   A1) Design Tokens
------------------------------ */
:root {
  /* Palette */
  --pc-ink: #262e50;       /* deep slate/navy */
  --pc-ink-2: #262e50;     /* secondary headings */
  --pc-muted: #6b7280;     /* body muted */
  --pc-line: #e6edf2;      /* soft divider */
  --pc-white: #ffffff;
  --pc-shell: #fafbfd;     /* panel off-white */
  --pc-sand: #f6efe6;      /* warm neutral */
  --pc-teal: #0ea5a5;      /* primary */
  --pc-teal-2: #0891b2;    /* darken */
  --pc-teal-50: #e6fbfb;   /* tint */
  --pc-gold: #d9b26b;      /* luxe accent (sparingly) */
  --swiper-theme-color: #0ea5a5;
  
  /* Type scale */
  --fs-900: clamp(3rem, 6vw, 4.25rem); /* hero */
  --fs-800: clamp(2rem, 4vw, 3rem);    /* h2 */
  --fs-700: clamp(1.4rem, 2.8vw, 2rem);/* h3 */
  --fs-600: 1.125rem;                  /* lead */
  --fs-500: 1rem;                      /* body */
  --fs-400: .9rem;                     /* fine */

  /* Font families */
  --font-sans: "Noto Sans", sans-serif;
  --font-serif: "Bellefair", serif;

  /* Layout & FX */
  --container: 1200px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --shadow-1: 0 10px 30px rgba(10, 30, 60, .10);
  --shadow-2: 0 24px 60px rgba(10, 30, 60, .18);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* -----------------------------
   A2) Base & Typography
------------------------------ */
* {box-sizing: border-box;}
html { scroll-behavior: smooth }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-500);
  color: var(--pc-ink);
  background: var(--pc-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 .75rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--pc-ink-2);
  font-family: var(--font-serif);
  font-weight: 400;
}

h1 { font-size: var(--fs-900); }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-700); }

p { margin: 0 0 1rem; font-size: var(--fs-500); color: var(--pc-ink) }
.lead { font-size: var(--fs-600); color: var(--pc-muted); max-width: 70ch }

/* Links & focus */
a { color: var(--pc-teal); text-decoration: none; transition: color .25s var(--ease); }
a:hover, a:focus-visible { color: var(--pc-teal-2) }
:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--pc-teal) 35%, #fff);
  outline-offset: 3px;
  border-radius: 8px;
}

/* -----------------------------
   A3) Layout Utilities
------------------------------ */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto }

/* -----------------------------
   A4) Shared Components
------------------------------ */

/* Body images inside content */
.body-image { margin: 3rem auto; text-align: center; }
.body-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  max-width: 100%;
  height: auto;
}

/* Reusable button */
.button-38 {
  background-color: #FFFFFF;
  border: 0;
  border-radius: .5rem;
  box-sizing: border-box;
  color: #111827;
  font-size: .875rem;
  line-height: 1.25rem;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none #D1D5DB solid;
  text-decoration-thickness: auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  border-radius: 20px;
  z-index: 99;
  font-weight: 600;
  width: max-content;
}
.button-38:hover {background-color: var(--pc-ink);color: #fff;}
.button-38:focus { outline: 2px solid transparent; outline-offset: 2px; }
.button-38:focus-visible { box-shadow: none; }

/* Generic feature cards */
.feature-cards .grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) }
.feature-card {
  background: var(--pc-shell);
  border:1px solid var(--pc-line);
  border-radius: var(--radius);
  padding:1.4rem;
  box-shadow: var(--shadow-1);
  transition: transform .18s, box-shadow .22s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2) }

/* Back-to-top utility (footer) */
.back-to-top { background: none; border: none; color: var(--pc-muted); cursor: pointer; font: inherit; transition: color .2s; }
.back-to-top:hover { color: #fff; }

/* =====================================================================
   B) PAGE-SPECIFIC
   ===================================================================== */

/* -----------------------------
   B1) Header / Navigation
------------------------------ */
.pc-site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* background: transparent; */
  /* border-bottom: none; */
  /* box-shadow: none; */
  /* transition: background .3s var(--ease), box-shadow .3s var(--ease); */
  color: #fff;
}
.pc-site-header .pc-brand,
.pc-site-header .pc-logo,
.pc-site-header .pc-tagline,
.pc-site-header .pc-nav-list a { color: #fff; }

.pc-site-header .pc-logo {
  font-family: var(--font-serif);
  line-height: 3.5rem;
}
.pc-site-header .pc-brand {
  background: url('/media/web/shell-white.png') no-repeat;
  background-size: 16%;
  background-position: left;
  padding: 0 0 0 3.5rem;
}
.pc-site-header .pc-nav-burger span { background: #fff; }

/* Header state: scrolled */
.scrolled-header.pc-site-header:hover,
.scrolled-header.pc-site-header:focus-within {
  background: color-mix(in srgb, #ffffff 94%, transparent);
  box-shadow: 0 10px 28px rgba(14,165,165,.18);
}
.scrolled-header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  color: #262e50;
}
.scrolled-header .pc-brand {
  background: url('/media/web/shell-blue.png') no-repeat;
  background-size: 16%;
  background-position: left;
  padding: 0 0 0 3.5rem;
}
.scrolled-header .pc-brand,
.scrolled-header .pc-logo,
.scrolled-header .pc-tagline,
.scrolled-header .pc-nav-list a { color: var(--pc-ink); }
.scrolled-header .pc-nav-burger span { background: var(--pc-ink); }

/* Header layout */
.pc-header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.pc-brand { text-decoration: none; color: var(--pc-ink); display: flex; flex-direction: column; background:url('/media/web/shell-white.png') center/cover; }
.pc-logo { font-size: 38px; }
.pc-tagline { color:#6aa; font-size: 1rem; margin-top: -0.55rem; }

/* Primary nav */
.pc-nav {
  display: flex;
  align-items: center; 
  gap: 1.2rem; 
  margin-left: auto;
}
.pc-nav-list {
  list-style:none;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: 0;
}
.pc-nav-list a {
  position: relative;
  padding: .3rem .9rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-block;
}

.scrolled-header .pc-nav-list a::after {background: #262e50;}

.pc-nav-list a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  bottom: -1px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease-out;
}

.pc-nav-list a:hover::after {
  transform: scaleX(1);
}

.pc-nav-list a.is-active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  bottom: -1px;
  left: 0;
  transform:none;

}
.scrolled-header .pc-nav-list a::after {background: #262e50;}
.scrolled-header .pc-nav-list a.is-active::after {background: #262e50;}

/* Mobile nav (base chrome behavior in responsive section) */
.pc-nav-toggle { display: none }
.pc-nav-burger { margin-left: auto; display: none; width: 38px; height: 32px; position: relative; cursor: pointer }
.pc-nav-burger span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--pc-ink); border-radius: 2px;
  transition: all .3s var(--ease);
  transform-origin: center;
}
.pc-nav-burger span:nth-child(1){ top:7px }
.pc-nav-burger span:nth-child(2){ top:15px }
.pc-nav-burger span:nth-child(3){ top:23px }

.pc-site-header:has(#pc-nav-toggle:checked) .pc-nav-burger span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}

.pc-site-header:has(#pc-nav-toggle:checked) .pc-nav-burger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.pc-site-header:has(#pc-nav-toggle:checked) .pc-nav-burger span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

/* -----------------------------
   B2) Hero (slider/static)
------------------------------ */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(1200px 600px at -10% -10%, var(--pc-teal-50) 0%, transparent 65%),
    linear-gradient(180deg, rgba(14,165,165,.12), rgba(14,165,165,0));
  border-bottom: 1px solid var(--pc-line);
  text-align: center;
}
.hero h1 { font-family: var(--font-serif); font-size: var(--fs-900); color: #fff; }
.hero .lead { max-width: 62ch; margin-inline: auto; color: #fff; }

.hero-slider { position: relative; width: 100%; height: 100vh; }
.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: relative;
}
.hero-slider .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero-slider .hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 80%;
  margin: 0 auto;
}
.hero-slider .hero-text h1 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.hero-slider .hero-text .lead { color: #ddd; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

.hero.static {
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reusable button */
.hero-slider a, .intro-text a, .section-text a {
  background-color: #0ea5a5;
  border: 0;
  box-sizing: border-box;
  color: #fff;
  font-size: 1rem;
  line-height: 1.25rem;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none #D1D5DB solid;
  text-decoration-thickness: auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  border-radius: 25px;
  z-index: 99;
  width: auto;
  font-weight:600;
}
.hero-slider a:hover, .intro-text a:hover, .section-text a:hover {background-color: var(--pc-ink);color: #fff;}
.hero-slider a:focus, .intro-text a:focus, .section-text a:focus { outline: 2px solid transparent; outline-offset: 2px; }
.hero-slider a:focus-visible, .intro-text a:focus-visible, .section-text a:focus-visible { box-shadow: none; }

.intro-text a, .section-text a {display:inline-block}
/* -----------------------------
   B3) Properties (overview page)
------------------------------ */
.properties .property-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.properties .property-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}

/* -----------------------------
   B4) Cards (property/blog cards)
------------------------------ */
.property-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.property-cards h2 {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
}
.property-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.property-card img { height: 300px; width: 100%; object-fit: cover; display: block; }

/* Overlay (title + CTA) */
.property-card .overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 55%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
  z-index: 2;
}
.property-card .overlay h3 {
  margin: 0;
  font-size: var(--fs-800);
  color: var(--pc-ink);
}
.property-card .overlay .check-btn {
  padding: .5rem 1rem;
  background: var(--pc-teal);
  color: #fff;
  border-radius: var(--radius-pill);
  text-align: center;
}
.property-card:hover .overlay .check-btn {
  background: var(--pc-ink);
}

/* Info under image */
.property-info { position: relative; padding: 1rem; background: #fff; z-index: 2; }

/* Meta pills on image */
.property-card .property-meta {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  padding: .35rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  color: var(--pc-ink);
  z-index: 3;
  display: flex;
  gap: .5rem;
}
.property-card .check-btn {
  display: inline-block;
  padding: .5rem 1rem;
  background: var(--pc-teal);
  color: #fff;
  border-radius: var(--radius-pill);
  text-align: center;
}

/* Diagonal overlay on card bottom */
.property-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 55%;
  background: rgba(255,255,255,0.7);
  clip-path: polygon(0 34%, 100% 87%, 100% 100%, 0 100%);
  z-index: 1;
}

/* Blog cards (generic) */
.blog-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem }
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-2); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.blog-card .category { align-self: flex-start; color: black; font-size: .75rem; padding: .25rem 0; margin-bottom: .5rem; }
.blog-card .img-fallback {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--pc-sand), #fff);
  border-bottom: 1px solid var(--pc-line);
}
.blog-card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-content h3 { font-size: var(--fs-700); margin: 0 0 .75rem; color: var(--pc-ink-2); }
.blog-card-content p { flex-grow: 1; font-size: var(--fs-500); color: var(--pc-muted); margin: 0; }

.blog-card .read-more {
  display: inline-block;
  margin-top: .5rem;
  color: var(--pc-link);
  font-weight: 500;
  cursor: pointer;
}
.blog-card:hover .read-more {
  color: var(--pc-ink);
}

/* -----------------------------
   B5) Feature Sections (alternating)
------------------------------ */
.feature-section { padding: 5rem 1.5rem; }
.feature-grid { display: flex; flex-wrap: wrap; align-items: center; flex-direction: row-reverse; /* image right by default */ }
.feature-image, .feature-content { flex: 1 1 50%; }
.feature-image { display: flex; justify-content: flex-end; }

/* Image + animation */
.feature-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s var(--ease);
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature-content {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s var(--ease);
  max-width: 520px;
  padding: 30px 30px 0 0;
}
.feature-section.visible .feature-image img,
.feature-section.visible .feature-content {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------
   B6) Benefits
------------------------------ */
.benefits {
  background: linear-gradient(180deg, #fff, var(--pc-sand));
  border:1px solid var(--pc-line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-1);
}
.benefits-list { list-style:none; margin:0; padding:0; display:grid; gap:.9rem }

/* -----------------------------
   B7) Testimonials / Reviews
------------------------------ */
.reviews {
  margin: 0;
  width: 100vw;          
  max-width: 100vw;      
  margin-left: calc(50% - 50vw); 
  background: var(--pc-ink-2);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}
.reviews h2 { color: #fff; margin:0; font-size: var(--fs-800); }
.reviews .swiper { width: 100%; max-width: 900px; margin: 0 auto; }
.reviews .swiper-slide { background: transparent; box-shadow: none; padding: 0; }
.reviews blockquote { font-size: 5rem; font-style: italic; margin:0 auto; max-width: 700px; line-height: 1.5; }
.reviews p { margin: 0; font-weight: 600; font-size: 1rem; color: var(--pc-teal-50);margin:0;padding:0; }
/* Swiper pagination */
.reviews .swiper-pagination { margin-top: 1.5rem; position: static; }
.reviews .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
  border-radius: 999px;
  transition: all 0.3s ease;
  width: 8px;
  height: 8px;
}
.reviews .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--pc-teal);
  width: 24px; /* elongated pill */
}

/* -----------------------------
   B8) Promo CTA / Promo Block
------------------------------ */
.promo-cta {
  background: linear-gradient(135deg, var(--pc-teal), #3fd5d5);
  color:#fff; padding:3rem 1.5rem; border-radius: var(--radius-lg);
  text-align: center; box-shadow: 0 12px 36px rgba(14,165,165,0.4);
}
.promo-cta h2 { font-size: var(--fs-800); margin-bottom: 1rem }
.promo-cta p { font-size: var(--fs-600); max-width: 600px; margin-inline: auto; margin-bottom: 1.5rem }

.promo-block {
  background: var(--pc-teal);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  margin: 3rem auto;
  border-radius: var(--radius-lg);
  max-width: var(--container);
}

.promo-block h2 { font-size: var(--fs-800); margin-bottom: 1rem; }
.promo-block .promo-text {
  max-width: 750px;
  margin: 0 auto 1.5rem;
  font-size: var(--fs-600);
}
.promo-block .btn {
  background: #fff;
  color: var(--pc-teal);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: bold;
  transition: background .3s, color .3s;
}
.promo-block .btn:hover { background: var(--pc-ink); color: #fff; }

/* -----------------------------
   B9) Footer
------------------------------ */
.pc-footer {
  color: #fff;
  padding: 4rem 1.5rem;
  margin-top: 4rem;
  background:var(--pc-ink-2);
}

.pc-footer .footer-brand a {
  font-weight:600;
}
.pc-footer .footer-brand a:hover {
  color:#fff;
}
.pc-footer .footer-grid {
  display: grid;
  grid-template-columns: 40% 20% 20% 20%;
  gap: 2rem;
  margin-bottom: 2rem;
}
.pc-footer h3.footer-logo {
  font-size: 2rem;
  font-family: var(--font-serif);
  margin-bottom: .5rem;
  color: #fff;
}
.pc-footer .footer-tagline {
  color: #fff;
  font-size: .9rem;
  max-width: 300px;
}
.pc-footer .footer-heading {
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 1rem;
  letter-spacing: .05em;
}
.pc-footer ul { list-style: none; padding: 0; margin: 0; }
.pc-footer ul li { margin-bottom: .5rem; }
.pc-footer ul li a {
  color: #fff;;
  text-decoration: none;
  transition: color .2s;
}
.pc-footer ul li a:hover { color: #3fd5d5; }
.pc-footer .footer-socials { display: flex; gap: 1rem; }
.pc-footer .footer-socials a { color: #3fd5d5; transition: color .2s; }
.pc-footer .footer-socials a:hover { color: #fff; }
.pc-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: .85rem;
  color: #fff;
}
.pc-footer .footer-bottom p {
  color: #fff;
  font-size: .85rem;
}
/* minor footer flex upgrade at >=768px is in responsive section below */

/* -----------------------------
   B10) Property Page (detail)
------------------------------ */
.property-hero {
  width: 100%;
  height: 60vh;
  justify-content: center;
}
.property-hero .hero-grid {
  display: grid;
  grid-template-columns: 80% 20%;
  height: 60vh;
  gap: 0;
}
.property-hero .hero-main {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
}
.property-hero .hero-main a { display: block; width: 100%; height: 100%; pointer-events: auto; }
.property-hero .hero-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property-hero .overlay {
  position: absolute;
  top:0; left:0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  pointer-events: none;
  z-index: 9;
  width: 100%;
  height: 100%;
}
.property-hero .property-meta {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  padding: .5rem 1rem;
  border-radius: 20px;
  font-size: .9rem;
  z-index: 99;
}
.property-hero .hero-thumbs {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0;
  height: 60vh;
  position: relative;
}
.property-hero .hero-thumbs a { overflow: hidden; }
.property-hero .hero-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property-hero .hero-thumbs .overlay {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.45);
  height: 60vh;
}
.property-hero .property-title {
  position: relative;
  z-index: 9;
  text-align: center;
  margin: -20rem 0 0 0;
}
.property-hero .property-title h1 { color: #fff; pointer-events: none; }
.property-hero .property-title a {
  background: linear-gradient(135deg, var(--pc-teal), #3fd5d5);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14,165,165,.35);
  pointer-events: auto;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
}
.property-hero .pswp-gallery__button {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255,255,55,0.9);
  padding: .5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  z-index: 99;
  width: auto;
}



/* -----------------------------
   Property Page Content Layout
   ----------------------------- */

.property-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 4rem auto;
  max-width: var(--container);
}

.property-content h2,
.property-content h3 {
  font-family: var(--font-serif);
  color: var(--pc-ink-2);
  margin-bottom: 0rem;
}

/* Left column */
.property-content .left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Right column */
.property-content .right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.property-content .availability {
  background: var(--pc-teal);
  color: #fff;
  text-align: center;
  padding:1.5rem;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  max-width: var(--container);
}

.property-content .availability button {
  background-color: #FFFFFF;
  border: 0;
  border-radius: .5rem;
  box-sizing: border-box;
  color: var(--pc-ink);
  font-size: .875rem;
  line-height: 1.25rem;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none #D1D5DB solid;
  text-decoration-thickness: auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  border-radius: 20px;
  z-index: 99;
  width: auto;
  font-weight:600;
}

.property-content .availability button:hover {background-color: var(--pc-ink);color: #fff;}
.property-content .availability button:focus { outline: 2px solid transparent; outline-offset: 2px; }
.property-content .availability button:focus-visible { box-shadow: none; }

.property-content .availability h2 {
  padding:0;
  margin:0;
}

.property-content .availability p {
  text-align: left;
  font-size:0.8rem;
  padding:0;
  margin:0;
}


/* Availability calendar block */
.property-content #calendar {
  border: 1px solid var(--pc-line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-1);
  background: #fff;
  display: none;
}

#avcal {scroll-margin-top: 100px;}

/* Property map */
.property-map {
  background: var(--pc-ink);
  color: #fff;
  padding:2rem;
  margin: 0rem auto;
  width: 100%;
  height: 450px
}
.property-map h2 {
  margin: 0 auto 1rem;
  color:#fff;
  max-width:1200px;
  
}
.property-map #map {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  width:100%;
  height:20rem;
}



.property-amenities {
  margin: 3rem 0;
}

.property-amenities h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}


.property-amenities {
  margin: 0;
}

.property-amenities h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

/* Property info + amenities */
.property-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  margin: 4rem auto;
  max-width: var(--container);
}
.property-info .left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.property-info .right {
  display: flex;
  flex-direction: column;
}

/* House rules (full width) */
.house-rules {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  background: var(--pc-shell);
  overflow: hidden;
}

.house-rules-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.house-rules-toggle h2 {
  margin: 0;
}

.house-rules-toggle .material-symbols-outlined {
  transition: transform 0.3s ease;
}

.house-rules-toggle[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}

.house-rules-content {
  padding: 0 2rem 2rem;
  display: none;
}

.house-rules.open .house-rules-content {
  display: block;
}


/* Group card wrapper */
.amenity-group {
  margin-bottom: 1rem;  
  transition: box-shadow 0.3s ease;
}



/* Toggle button */
.amenity-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.amenity-toggle:hover {
  background: #f1f5f9;
}

.amenity-toggle:active {
  background: #e0f4ff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}

.amenity-toggle .material-symbols-outlined {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1.5rem;
  color: #888;
}

.amenity-toggle[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
  color: #0077b6; /* Cornwall blue accent */
}

/* Amenity list */
.amenity-list {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  padding: 0 ;
}

.amenity-list.expanded {
  opacity: 1;
  max-height: 1000px;
  padding: 0.5rem 1rem 1rem;
}

/* Individual amenities */
.amenity-item {
  display: inline-flex;
  align-items: center;
  background: #fafafa;
  border: 1px solid #eee;
  padding: 0.6rem 0.8rem;
  border-radius: 27px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  margin: 5px 3px;
}

.amenity-item:hover {
  background: #f0f9ff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.amenity-item .material-symbols-outlined {
  font-size: 1.6rem;
  color: #000;
  margin: 0px 0.5rem 0 0;
}

.amenity-name {
  /* font-size: 1rem; */
  color: #333;
  line-height: normal;
  padding: 0;
  margin: 0px 0 0 0;
}

/* Desktop: always expanded */
@media (min-width: 768px) {
  .amenity-group {
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .amenity-toggle {
    background: none;
    cursor: default;
    border-bottom: none;
    padding: 0.4rem 0;
  }

  .amenity-toggle .material-symbols-outlined {
    display: none;
  }

  .amenity-list {
    display: inline-block;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem 1rem;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0;
  }
}

/* -----------------------------
   B11) Blog Listing Page
------------------------------ */
.blog-header {
  background: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  margin-bottom: 2rem;
}
.blog-title {
  font-family: var(--font-serif);
  font-size: var(--fs-900);
  font-weight: 400;
  color: var(--pc-ink-2);
  margin-bottom: 1rem;
}
.blog-subtitle {
  font-family: var(--font-sans);
  color: var(--pc-muted);
  font-size: 1.125rem;
}

/* Filters */
.blog-filters { text-align: center; margin: 2rem; }
.blog-filters .filter-btn {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--pc-ink-2);
  background: #fff;
  color: var(--pc-ink-2);
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-filters .filter-btn:hover { background: #f0f0f0; }
.blog-filters .filter-btn.active { background: var(--pc-ink-2); color: #fff; }

/* Grid + cards (listing view) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
  justify-items: center;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  width: 100%;
  max-width: 400px;
  opacity: 1;
  transform: scale(1);
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  display: block;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-content { padding: 1.25rem; flex-grow: 1; }
.blog-card-category {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--pc-muted);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: var(--font-serif);
  font-size: var(--fs-700);
  margin-bottom: 0.75rem;
  color: var(--pc-ink-2);
}
.blog-card-excerpt { font-size: 1rem; color: var(--pc-ink); margin-bottom: 1rem; }
.blog-card-link {
  font-weight: 600;
  color: var(--pc-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}
.blog-card-link .arrow { display: inline-block; transition: transform 0.3s ease; }
.blog-card-link:hover .arrow { transform: translateX(4px); }
.blog-card.hiding { opacity: 0; transform: scale(0.95); }
.blog-card.hidden { display: none; }

/* Shared page hero (various pages) */
.page-hero {
  position: relative;
  height: 75vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.page-hero .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.50); }
.page-hero .hero-content { position: relative; z-index: 1; text-align: center; }
.page-hero .page-title {
  font-family: var(--font-serif);
  font-size: var(--fs-900);
  margin: 7rem 0 0.5rem;
  color: white;
}
.page-description { padding: 1rem 1.5rem; max-width: 800px; margin: 0 auto; }

/* -----------------------------
   B12) Blog Detail Page
------------------------------ */
.blog-detail .hero-header { position: relative; width: 100%; overflow: hidden; }
.blog-detail .hero-header-image { width: 100%; height: auto; display: block; object-fit: cover; }
.blog-detail .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.52); z-index: 1; }
.blog-detail .hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 3rem;
  width: 90%;
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.02em;
  z-index: 2;
  font-weight: 400;
  box-sizing: border-box;
}
.blog-detail .hero-content h1 {
  font-size: inherit;
  font-family: inherit;
  font-weight: 400;
  margin: 0;
  color: #fff;
}
.blog-detail .meta-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 1.5rem auto 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}
.blog-detail .author-info { flex: 0 0 auto; display: flex; flex-direction: column; gap: .2rem; }
.blog-detail .author-info img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
  object-fit: cover;
  background: #eee;
  display: block;
}
.blog-detail .post-details {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}
.blog-detail .post-details .date,
.blog-detail .post-details .read-time {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.blog-detail h2, .blog-detail h3 { font-weight: 400 !important; font-family: var(--font-serif) !important; }
.blog-detail .content-body { max-width: 900px; margin: 2rem auto; padding: 0 1rem; font-family: var(--font-sans); line-height: 1.85; font-size: 1.05rem; }
.blog-detail .content-separator { max-width: 900px; margin: 2rem auto; border: none; border-top: 1px solid #ddd; }
.blog-detail .back-link-container { max-width: 900px; margin: 0 auto 3rem; padding: 0 1rem; text-align: left; }
.blog-detail .back-link {
  text-decoration: none;
  color: #007acc;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color 0.22s var(--ease);
}

/* -----------------------------
   B13) Content Blocks (1â€“5)
------------------------------ */
section.content-block { padding: 5rem 1.5rem; position: relative; }
.text-image { max-width: 1100px; margin: 0 auto; }

/* Block 1: image right; floating cards */
.content-block.block-1 {
  position: relative;
  margin-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.content-block.block-1 .text-image { display: flex; flex-direction: column; justify-content: center; }
.content-block.block-1 .text-image h2 { margin-bottom: 0.75rem; }
.content-block.block-1 .text-image .section-text { max-width: 600px; margin: 0; }
.content-block.block-1 .section-image { grid-column: 2; }
.content-block.block-1 .section-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  max-height: 420px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-1);
}
.content-block.block-1 .section-cards {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
  width: 80%;
  z-index: 3;
}
.content-block .feature-card {
  background: var(--pc-ink);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform .18s, box-shadow .22s;
  color: #fff;
}
.content-block .feature-card h3, .content-block .feature-card p {color:#fff;}
.content-block .feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

/* Block 2: image backdrop tint + cards */
.content-block.block-2 { background: var(--pc-sand); position: relative; }
.content-block.block-2 .section-image img { display:none; }
.content-block.block-2::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: url('/media/images/a-photograph-capturing-a-close-up-lifest_TQrdTI.original.jpg') center/cover;
  opacity:.4;
}
.content-block.block-2 .section-text,
.content-block.block-2 .section-title { position:relative; z-index:1; }
.content-block.block-2 .section-cards {
  margin-top:5rem;
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  position:relative;
  z-index:1;
  max-width: 80%;
  margin: 53px auto;
}

/* Block 3: image left, benefits right */
.content-block.block-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2.5rem;
  align-items: start;
}
.content-block.block-3 .text-image {
  grid-column: 1 / -1;  /* Span both columns */
  grid-row: 1;
  margin-bottom: 1rem;
}
.content-block.block-3 .section-image { grid-column: 1; grid-row: 2; min-width: 0; overflow: hidden; }
.content-block.block-3 .section-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  display: block;
}
.content-block.block-3 .benefits-list {
  grid-column: 2;
  grid-row: 2;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.content-block.block-3 .benefits-list li {
  background: #fff;
  border: 1px solid var(--pc-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 1.25rem;
  transition: transform .18s, box-shadow .22s;
}
.content-block.block-3 .benefits-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

/* Block 4: dark bg + glass cards */
.content-block.block-4 {background: url('/media/images/a_cosy_holiday_cottage_interior_with_light_coas.original.png') center/cover;position:relative;color:#fff;}
.content-block.block-4::before { content:""; position:absolute; inset:0; background:rgba(0,0,0,0.7); }
.content-block.block-4 .section-image img { display:none; }
.content-block.block-4 .section-title,
.content-block.block-4 .section-text,
.content-block.block-4 .section-cards { position:relative; z-index:1; text-align:center; }
.content-block.block-4 .section-cards {
  margin-top:2rem;
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  color:#fff;
}
.content-block.block-4 h2,
.content-block.block-4 .section-text p { color:#fff; }
.content-block.block-4 .feature-card {
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(10px);
  color:var(--pc-ink);
}

/* Block 5: steps + tall image */
.content-block.block-5 {
  background: #f9fafc;
  position: relative;
  padding: 3rem 1.5rem;
}
.content-block.block-5 .text-image {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-template-rows: auto 1fr;
  gap: 2rem;
  align-items: start;
}
.content-block.block-5 .section-title { grid-column: 1; grid-row: 1; margin-bottom: 1rem; }
.content-block.block-5 .steps-list {
  grid-column: 1;
  grid-row: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.content-block.block-5 .section-image {
  grid-column: 2;
  grid-row: 1 / -1;  /* Span from row 1 to end */
  min-width: 0;
  overflow: hidden;
}
.content-block.block-5 .section-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  opacity: 0.4;
}
.content-block.block-5 .steps-list li {
  margin-bottom: 2rem;
  padding-left: 2.5rem;
  position: relative;
}
.content-block.block-5 .steps-list li h4 { font-size:28px; margin:0; padding:0; }
.content-block.block-5 .steps-list li p { margin:0; padding:0; }
.content-block.block-5 .steps-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--pc-teal);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* -----------------------------
   B14) Generic Content Body
------------------------------ */
.content-body {max-width: 1200px;margin: auto;padding: 3rem;}
.content-body ul { padding:0; }
.content-body li { list-style: none; }


.image-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 3rem 0 5rem;
}

.image-text-block .image {
  height: 100%;
}

.image-text-block .image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  vertical-align: top;
  height: 100%;
  object-fit: cover;
}

.image-text-block.image_right {
  direction: initial; /* flips order */
}

.image-text-block.image_right .text {
  direction: ltr; /* reset text direction */
}

/* Mobile responsive */
@media (max-width: 768px) {
  .image-text-block {
    grid-template-columns: 1fr;
  }
  .image-text-block.image_right {
    direction: ltr; /* don’t flip on mobile */
  }
}




/* -----------------------------
   B15) Contact Form
------------------------------ */
.contact-form {
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 700px;
}
.contact-form .content-body {padding:0;}
.contact-form form p { margin-bottom: 1.5rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: #333; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  margin:0 0 1rem 
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0077b6;
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .helptext { display: block; margin-top: 0.25rem; font-size: 0.875rem; color: #666; }
.contact-form button.btn {
  background: #0077b6;
  color: #fff;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button.btn:hover { background: #005f87; }

/* -----------------------------
   B16) Reduced Motion (non-viewport)
------------------------------ */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important }
}

/* =====================================================================
   C) RESPONSIVE / MOBILE GROUPED BY BREAKPOINT
   ===================================================================== */

@media (max-width: 1220px) {
    .promo-block {
        margin: 3rem 1rem;
    }
}


/* -----------------------------
   C1)  1130px mobile nav reveal
------------------------------ */
@media (max-width: 1130px){
  .pc-nav-burger { display:block;}
  .pc-nav {
    position: fixed;
    inset: 102px 0 auto 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    display: block;
    transform: translateY(-150%);
    pointer-events: none;
    transition: transform .3s, opacity .3s;
  }
  
  .pc-site-header:has(#pc-nav-toggle:checked) .pc-nav {
    transform: translateY(0);
    opacity:1;
    pointer-events:auto;
    text-align: right;
  }
  
  .pc-nav-list {
    display: grid;
    gap:.5rem;
    padding:1rem;
  }

  .pc-site-header:has(#pc-nav-toggle:checked) {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #262e50;
}
  
  .pc-site-header:has(#pc-nav-toggle:checked) .pc-brand {
    background: url('/media/web/shell-blue.png') no-repeat;
    background-size: 16%;
    background-position: left;
    padding: 0 0 0 3.5rem;
  }
  .pc-site-header:has(#pc-nav-toggle:checked) .pc-brand,
  .pc-site-header:has(#pc-nav-toggle:checked) .pc-logo,
  .pc-site-header:has(#pc-nav-toggle:checked) .pc-tagline,
  .pc-site-header:has(#pc-nav-toggle:checked) .pc-nav-list a {
    color: #262e50;
  }
  .pc-site-header:has(#pc-nav-toggle:checked) .pc-nav-burger span {
    background: var(--pc-ink);
}

.pc-nav-list a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: #262e50;
  bottom: -1px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease-out;
}

.pc-nav-list a:hover::after {
  transform: scaleX(1);
}

.pc-nav-list a.is-active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: #262e50;
  bottom: -1px;
  left: 0;
  transform:none;

}
  
}

/* -----------------------------
   C2) 1024px properties grid stack
------------------------------ */
@media (max-width: 1024px){
  .page-hero { height: 75vh; }
  .properties .property-cards { grid-template-columns: 1fr; }
  .pc-footer .footer-grid {
  display: grid;
  grid-template-columns: 40% 20% 20% 20%;
  gap: .5rem;
  margin-bottom: 2rem;
}
  .promo-block {
        margin: 3rem 1rem;
  }
}

/* -----------------------------
   C3) 900px feature sections & blocks stack
------------------------------ */
@media (max-width: 900px){
  /* Feature sections collapse to single column */
  .feature-image,
  .feature-content { flex: 1 1 100%; }
  .feature-section .feature-grid { flex-direction: column; }

  section.content-block {padding:1.5rem;}

  /* Block 1: single column + cards inline */
  .content-block.block-1 { grid-template-columns: 1fr;gap: 1rem; margin-bottom: 0rem;}
  .content-block.block-1 .section-image { grid-column: 1; }
  .content-block.block-1 .section-cards { position: static; transform: none; width: 100%; margin-top: 1.5rem; }

  /* Block 5: stack image/steps */
  .content-block.block-5 {padding:1.5rem;}
  .content-block.block-5 .text-image { grid-template-columns: 1fr; grid-template-rows: auto auto auto;gap:0; }
  .content-block.block-5 .section-title { grid-column: 1; grid-row: 1; }
  .content-block.block-5 .section-image { grid-column: 1; grid-row: 2; }
  .content-block.block-5 .steps-list { grid-column: 1; grid-row: 3; }
  .content-block.block-5 .section-image img {display: none;}
 

  /* Block 3: linearize */
  .content-block.block-3 { grid-template-columns: 1fr; gap: 1rem; }
  .content-block.block-3 .text-image { grid-column: 1; }
  .content-block.block-3 .section-image { grid-column: 1; grid-row: 2; }
  .content-block.block-3 .benefits-list { grid-column: 1; grid-row: 3; }

  .property-cards {grid-template-columns: none;max-width:520px;}
  
}

/* -----------------------------
   C4) 768px  footer bottom layout (helper)
------------------------------ */
@media(min-width: 768px) {
  .pc-footer .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  
}

/* -----------------------------
   C5) 600px blog detail fine-tuning
------------------------------ */
@media (max-width: 600px){
  .blog-detail .hero-content {
    font-size: 2rem;
    width: 98vw;
    padding: 1.2rem 1rem;
  }
  .blog-detail .meta-info {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-bottom:.5rem;
  }
  
}


/* -----------------------------
   Responsive Adjustments
   ----------------------------- */
@media (max-width: 1024px) {
  .property-content,
  .property-info {
    grid-template-columns: 1fr;
  }
  .property-info {
    gap: 2rem;
  }
  .property-hero .property-meta span {
    display: block;
  }
}

@media (max-width: 768px) {
  .property-content {
    margin: 2rem auto;
    gap: 1.5rem;
  }
  .property-info {
    margin: 2rem auto;
  }
  .house-rules {
    padding: 1.5rem;
  }
  .pc-nav {
    inset: 79px 0 auto 0; 
  }
  .pc-header-inner {
    margin-inline: 0;
    width: 100%;
  }

  .pc-site-header .pc-logo {
  line-height: 2rem;
  font-size: 30px;
  }
  .pc-site-header .pc-brand {
  background-size: 13%;
  padding: 0 0 0 2.5rem;
  }
  .pc-site-header .pc-tagline { 
  font-size: .9rem;
  margin-top: -0.35rem; }

 .image_left .image {display: none;}

  .pc-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "col1 col1"   /* col1 full width */
      "col2 col3"   /* col2 + col3 side by side */
      "col4 col4";  /* col4 full width */
  }

  .pc-footer .footer-grid > *:nth-child(1) { grid-area: col1; }
  .pc-footer .footer-grid > *:nth-child(2) { grid-area: col2; }
  .pc-footer .footer-grid > *:nth-child(3) { grid-area: col3; }
  .pc-footer .footer-grid > *:nth-child(4) { grid-area: col4; }

  .content-block.block-1 .section-cards {
    grid-template-columns: inherit;
  }
  .content-block.block-2 .section-cards {
    grid-template-columns: inherit;
    max-width: 100%;
  }

}
