/* =========================================================
   Liane Jamason Blog Template Styles
   Loads only on single blog posts
========================================================= */

/* Full-width layout for individual blog posts only */
.single-post .site-inner,
.single-post .site-inner > .wrap,
.single-post .content-sidebar-wrap,
.single-post .content,
.single-post .entry {
    width: 100%;
    max-width: none;
}

/* Hide unwanted top search on individual blog posts */
.single-post .top-search {
    display: none !important;
}

/* Remove Genesis boxed spacing on individual blog posts */
.single-post .site-inner {
    padding-left: 0;
    padding-right: 0;
}

.single-post .content {
    float: none;
}

.single-post .entry {
    margin: 0;
    padding: 0;
}

/* Keep the post content flexible */
.single-post .entry-content {
    width: 100%;
}

/* Styled hero title to avoid duplicate H1 */
.single-post .hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 0;
}
.single-post .site-inner{
padding-top:0;
}
.entry-title{
margin-top:10px;
}
  :root {
    --bg: #0d0e10;
    --bg-soft: #15171a;
    --panel: #f5f0e8;
    --panel-strong: #fbf8f3;
    --paper: #efe8de;
    --ink: #171513;
    --ink-soft: #635b54;
    --muted: #8b8177;
    --line: rgba(31, 25, 21, 0.12);
    --line-strong: rgba(255, 255, 255, 0.14);
    --champagne: #b79a6a;
    --champagne-soft: #dbc6a4;
    --champagne-deep: #8c724a;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(13, 14, 16, 0.18);
    --shadow-soft: 0 18px 44px rgba(13, 14, 16, 0.10);
    --radius: 28px;
    --radius-sm: 18px;
    --content: 1240px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; font-size: 100% !important; }
  body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: #f5f0e8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }

  .page-shell { overflow: clip; }
  .main-content { overflow: hidden; }

  .container {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
  }

  .page-shell .serif,
  .page-shell h1,
  .page-shell h2,
  .page-shell h3,
  .page-shell h4 {
    font-family: "Cormorant Garamond", serif;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
  .page-shell p { text-wrap: pretty; }

  .page-shell .section-panel a:not(.button):not(.button-ghost) {
    color: #8c724a;
    text-decoration: underline;
    text-decoration-color: rgba(140, 114, 74, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
  }
  .page-shell .section-panel a:not(.button):not(.button-ghost):hover { color: #b79a6a; }

  /* HERO */
  .page-shell .hero {
    position: relative;
    min-height: 700px;
    color: var(--white);
    background: var(--bg);
    isolation: isolate;
    overflow: hidden;
  }
  .page-shell .hero-media { position: absolute; inset: 0; z-index: -3; }
  .page-shell .hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.04);
    transform: scale(1.04);
  }
  .page-shell .hero-overlay {
    position: absolute; inset: 0; z-index: -2;
    background: linear-gradient(170deg, rgba(10,10,12,0.65) 0%, rgba(10,10,12,0.3) 50%, rgba(10,10,12,0.75) 100%);
  }
  .page-shell .hero-inner {
    width: 95%; margin: 0 auto;
    padding: 110px 0 100px;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 500px; gap: 0;
  }
  .page-shell .hero-meta {
    display: flex; align-items: center; gap: 18px; margin-bottom: 22px; flex-wrap: wrap;
  }
  .page-shell .hero-tag {
    display: inline-block; padding: 5px 14px;
    font-size: 9px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
    background: rgba(183, 154, 106, 0.18); border: 1px solid rgba(183, 154, 106, 0.42);
    color: var(--champagne-soft);
  }
  .page-shell .hero-date {
    font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.52);
  }
  .page-shell .hero-copy { max-width: 900px; }
  .page-shell .hero h1 {
    color: var(--white); margin: 0 0 14px;
    font-size: clamp(2.4rem, 4.2vw, 4.6rem);
    line-height: 1.06; font-weight: 600;
  }
  .page-shell .hero-sub {
    margin: 0 0 32px; max-width: 700px;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8; color: rgba(255,255,255,0.82);
  }
  .page-shell .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

  /* BUTTONS */
  .page-shell .button,
  .page-shell .button-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 54px; padding: 0 24px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    text-decoration: none;
  }
  .page-shell .button { color: #fff; background: #000; box-shadow: 0 16px 28px rgba(117,91,53,0.26); }
  .page-shell .button:hover { transform: translateY(-2px); }
  .page-shell .button-ghost {
    color: var(--white); border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .page-shell .button-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.34); background: rgba(255,255,255,0.1);
  }

  /* CONTENT */
  .page-shell .content-flow { position: relative; padding: 60px 0 30px; }
  .page-shell .section-shell { position: relative; padding: 32px 0; }
  .page-shell .section-panel {
    position: relative;
    padding: 48px clamp(24px, 4vw, 56px);
    background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.48));
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
  }
  .page-shell .section-panel::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(120deg, rgba(255,255,255,0.24), transparent 26%),
      radial-gradient(circle at top right, rgba(183,154,106,0.12), transparent 22%);
  }
  .page-shell .section-panel h2 {
    position: relative; margin: 0 0 20px;
    font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.15; font-weight: 600;
  }
  .page-shell .section-panel p {
    position: relative; margin: 0 0 18px;
    font-size: 1rem; line-height: 1.88; color: var(--ink-soft);
  }
  .page-shell .section-panel p:last-child { margin-bottom: 0; }
  .page-shell .section-panel.full-width { width: 100%; max-width: none; }

  /* PULL QUOTE */
  .page-shell .pull-quote {
    position: relative; margin: 28px 0;
    padding: 22px 28px;
    border-left: 3px solid var(--champagne);
    background: rgba(183,154,106,0.07);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.15rem, 1.8vw, 1.38rem);
    font-weight: 600; line-height: 1.6; color: var(--ink); letter-spacing: -0.01em;
  }

  /* INTRO CALLOUT STRIP */
  .page-shell .intro-callout {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px; margin: 28px 0;
  }
  .page-shell .callout-item {
    padding: 22px 20px; border: 1px solid var(--line);
    background: rgba(255,255,255,0.6); text-align: center;
  }
  .page-shell .callout-item .callout-icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }
  .page-shell .callout-item strong {
    display: block; font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; color: var(--ink);
  }
  .page-shell .callout-item span {
    display: block; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55;
  }

  /* QUESTION CHIPS */
  .page-shell .question-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
  .page-shell .q-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
    border: 1px solid var(--line); background: rgba(255,255,255,0.6);
    font-size: 0.88rem; color: var(--ink-soft); line-height: 1.4;
  }
  .page-shell .q-chip::before {
    content: "?"; display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; font-size: 10px; font-weight: 800;
    background: rgba(183,154,106,0.14); border: 1px solid rgba(183,154,106,0.3);
    color: var(--champagne-deep); flex-shrink: 0;
  }

  /* DISCLAIMER */
  .page-shell .disclaimer-box {
    margin: 24px 0; padding: 20px 24px;
    border: 1px solid rgba(183,154,106,0.32);
    background: rgba(183,154,106,0.06);
    display: grid; grid-template-columns: auto 1fr;
    gap: 14px; align-items: start;
  }
  .page-shell .disclaimer-box .disc-icon { font-size: 1.2rem; line-height: 1.6; color: var(--champagne-deep); }
  .page-shell .disclaimer-box p { margin: 0; font-size: 0.92rem; line-height: 1.78; color: var(--ink-soft); }

  /* NEIGHBORHOOD CARDS */
  .page-shell .neighborhood-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 28px; margin-top: 28px;
  }
  .page-shell .nbhd-card {
    padding: 32px 28px; border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.62));
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  }
  .page-shell .nbhd-card:hover {
    transform: translateY(-5px);
    border-color: rgba(183,154,106,0.38);
    box-shadow: 0 24px 52px rgba(13,14,16,0.13);
  }
  .page-shell .nbhd-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-weight: 700;
    background: rgba(183,154,106,0.14); border: 1px solid rgba(183,154,106,0.3);
    color: var(--champagne-deep); margin-bottom: 14px;
  }
  .page-shell .nbhd-label {
    display: inline-block; margin-left: 10px; padding: 3px 10px;
    font-size: 9px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
    background: rgba(183,154,106,0.1); border: 1px solid rgba(183,154,106,0.25);
    color: var(--champagne-deep); vertical-align: middle;
  }
  .page-shell .nbhd-card h3 {
    margin: 0 0 12px; font-size: clamp(1.45rem, 2vw, 1.85rem);
    line-height: 1.1; font-weight: 600;
  }
  .page-shell .nbhd-card p {
    margin: 0 0 14px; font-size: 0.96rem; line-height: 1.84; color: var(--ink-soft);
  }
  .page-shell .nbhd-card p:last-child { margin-bottom: 0; }

  /* ZONE EXPLAINER */
  .page-shell .zone-explainer {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px; margin-top: 24px;
  }
  .page-shell .zone-box {
    padding: 26px 22px; border: 1px solid var(--line); background: rgba(255,255,255,0.6);
  }
  .page-shell .zone-box h4 { margin: 0 0 12px; font-size: 1.2rem; font-weight: 600; }
  .page-shell .zone-box p { margin: 0; font-size: 0.92rem; line-height: 1.78; color: var(--ink-soft); }

  /* CHECKLIST */
  .page-shell .check-list {
    display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none;
  }
  .page-shell .check-list li {
    padding-left: 26px; position: relative;
    font-size: 0.96rem; line-height: 1.72; color: var(--ink-soft);
  }
  .page-shell .check-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    font-size: 0.8rem; font-weight: 800; color: var(--champagne-deep);
  }

  /* INFO LIST */
  .page-shell .info-list {
    display: grid; gap: 12px; margin: 0; padding: 0; list-style: none;
  }
  .page-shell .info-list li {
    padding-left: 18px; position: relative;
    color: var(--ink-soft); line-height: 1.72; font-size: 0.96rem;
  }
  .page-shell .info-list li::before {
    content: ""; position: absolute; left: 0; top: 0.76em;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--champagne-deep); transform: translateY(-50%);
  }

  /* FAQ */
  .page-shell .faq-section { padding-top: 26px; }
  .page-shell .faq-wrap {
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.5));
    border: 1px solid rgba(255,255,255,0.86);
    box-shadow: var(--shadow-soft);
    padding: 40px 44px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .page-shell .faq-head { margin-bottom: 28px; }
  .page-shell .faq-head h2 { margin: 0; font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 0.92; }
  .page-shell .faq-list { display: grid; gap: 14px; }
  .page-shell .faq-item {
    border: 1px solid var(--line); background: rgba(255,255,255,0.72);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .page-shell .faq-item:hover,
  .page-shell .faq-item.open {
    transform: translateY(-2px);
    border-color: rgba(183,154,106,0.36);
    box-shadow: 0 18px 36px rgba(13,14,16,0.08);
  }
  .page-shell .faq-question {
    width: 100%; padding: 22px 24px; border: 0; background: transparent;
    color: var(--ink); cursor: pointer;
    display: grid; grid-template-columns: minmax(0,1fr) auto;
    gap: 18px; align-items: center; text-align: left; font: inherit;
  }
  .page-shell .faq-question-text { font-size: clamp(1rem, 1.6vw, 1.12rem); font-weight: 700; line-height: 1.5; }
  .page-shell .faq-icon {
    width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid rgba(183,154,106,0.28); color: var(--champagne-deep);
    font-size: 1.4rem; line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease;
    background: rgba(183,154,106,0.08);
  }
  .page-shell .faq-answer {
    display: none; padding: 0 24px 24px;
    color: var(--ink-soft); line-height: 1.82; max-width: 92ch; font-size: 0.97rem;
  }
  .page-shell .faq-item.open .faq-answer { display: block; }
  .page-shell .faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(183,154,106,0.14); }

  /* CTA */
  .page-shell .cta-section { position: relative; padding: 28px 0 40px; }
  .page-shell .cta-card {
    position: relative; padding: 56px clamp(24px, 5vw, 64px);
    background: linear-gradient(135deg, rgba(17,18,21,0.78), rgba(17,18,21,0.54));
    color: var(--white); border: 1px solid rgba(255,255,255,0.16);
    box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
  }
  .page-shell .cta-card-bg {
    position: absolute; inset: 0; z-index: -2;
    height: 100%; width: 100%; object-position: center; object-fit: cover; margin: 0 !important;
  }
  .page-shell .cta-card::before {
    content: ""; position: absolute; inset: 0;
    background: rgba(0, 0, 0, .25);
    z-index: -1;
  }
  .page-shell .cta-card::after {
    content: ""; position: absolute; inset: 18px;
    border: 1px solid rgba(255,255,255,0.12); z-index: -1; pointer-events: none;
  }
  .page-shell .cta-card-inner { max-width: 720px; margin: 0 0 0 auto; text-align: center; }
  .page-shell .cta-card h2 {
    margin: 0 0 16px; font-size: clamp(2.6rem, 4.8vw, 4.4rem); line-height: 0.96; color: var(--white);
  }
  .page-shell .cta-card p {
    margin: 0 auto 26px; max-width: 620px;
    font-size: 1rem; line-height: 1.9; color: rgba(255,255,255,0.82);
  }

  /* RELATED */
  .page-shell .lifestyle-section { padding-top: 18px; }
  .page-shell .lifestyle-wrap {
    padding: 36px 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.52));
    border: 1px solid rgba(255,255,255,0.84); box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .page-shell .lifestyle-wrap h3 { margin: 0 0 20px; font-size: clamp(2rem, 3vw, 3rem); line-height: 0.96; }
  .page-shell .related-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px;
  }
  .page-shell .related-link {
    position: relative; min-height: 178px; padding: 22px 20px;
    display: flex; align-items: end; color: var(--white);
    overflow: hidden; box-shadow: var(--shadow-soft);
    transition: transform 0.26s ease, box-shadow 0.26s ease; text-decoration: none;
  }
  .page-shell .related-img {
    position: absolute; inset: 0; z-index: -1; object-fit: cover;
    margin: 0 !important; height: 100%; width: 100%; object-position: center;
  }
  .page-shell .related-link::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.58), transparent);
  }
  .page-shell .related-link:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .page-shell .related-link span {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1rem; line-height: 1.4; font-weight: 700;
  }
  .page-shell .related-link span::after { content: "+"; font-size: 1.1rem; color: #fff; }

  /* RESPONSIVE */
  @media (max-width: 1100px) {
    .page-shell .neighborhood-grid { grid-template-columns: 1fr; }
    .page-shell .related-grid,
    .page-shell .intro-callout,
    .page-shell .zone-explainer { grid-template-columns: repeat(2, minmax(0,1fr)); }
  }
  @media (max-width: 760px) {
    .container { width: min(calc(100% - 24px), var(--content)); }
    .page-shell .hero-inner { padding: 86px 10px 60px; width: 100%; }
    .page-shell .neighborhood-grid,
    .page-shell .related-grid,
    .page-shell .intro-callout,
    .page-shell .zone-explainer { grid-template-columns: 1fr; }
    .page-shell .section-panel,
    .page-shell .faq-wrap,
    .page-shell .lifestyle-wrap,
    .page-shell .cta-card { padding-left: 22px; padding-right: 22px; }
    .page-shell .faq-question { padding: 18px; }
    .page-shell .faq-answer { padding: 0 18px 18px; }
  }











/* =========================================================
   Shortcode Compatibility Patch
   Allows shortcode-based blog layout to use the same design
========================================================= */

/* Hide the default Genesis post header because the shortcode hero handles the visual title */
.single-post .entry-header {
    display: none;
}

/* Make shortcode output behave like the original page-shell layout */
.single-post .hero,
.single-post .section-shell,
.single-post .faq-section,
.single-post .cta-section,
.single-post .lifestyle-section {
    font-family: "Manrope", sans-serif;
}

/* Hero shortcode styling */
.single-post .hero {
    position: relative;
    min-height: 700px;
    color: var(--white);
    background: var(--bg);
    isolation: isolate;
    overflow: hidden;
}

.single-post .hero-media {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.single-post .hero-media picture,
.single-post .hero-media img {
    width: 100%;
    height: 100%;
    display: block;
}

.single-post .hero-media img {
    object-fit: cover;
    filter: saturate(0.88) contrast(1.04);
    transform: scale(1.04);
}

.single-post .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        170deg,
        rgba(10,10,12,0.65) 0%,
        rgba(10,10,12,0.3) 50%,
        rgba(10,10,12,0.75) 100%
    );
}

.single-post .hero-inner {
    width: 95%;
    margin: 0 auto;
    padding: 110px 0 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
    gap: 0;
    position: relative;
    z-index: 1;
}

.single-post .hero-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.single-post .hero-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: rgba(183, 154, 106, 0.18);
    border: 1px solid rgba(183, 154, 106, 0.42);
    color: var(--champagne-soft);
}

.single-post .hero-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.52);
}

.single-post .hero-copy {
    max-width: 900px;
}

.single-post .hero-title {
    display: block;
    color: var(--white);
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.4rem, 4.2vw, 4.6rem);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.single-post .hero-sub {
    margin: 0 0 32px;
    max-width: 700px;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
}

.single-post .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Button compatibility outside .page-shell */
.single-post .button,
.single-post .button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
}

.single-post .button {
    color: #fff;
    background: #000;
    box-shadow: 0 16px 28px rgba(117,91,53,0.26);
}

.single-post .button-ghost {
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.06);
}

/* Hide extra plugin output on custom blog posts */
.single-post #jp-relatedposts,
.single-post .wp-block-jetpack-subscriptions,
.single-post .comment-respond,
.single-post .akismet_comment_form_privacy_notice {
    display: none !important;
}

@media (max-width: 760px) {
    .single-post .hero-inner {
        padding: 86px 10px 60px;
        width: 100%;
    }
}
/* Hide default WordPress/Genesis/Jetpack post extras on custom blog posts */
.single-post .wp-block-jetpack-subscriptions,
.single-post .entry-footer,
.single-post .author-box,
.single-post .comment-respond,
.single-post .akismet_comment_form_privacy_notice {
    display: none !important;
}
/* =========================================================
   Jetpack Related Posts Styling for LJ Blog Template
========================================================= */

.single-post #jp-relatedposts {
    display: block !important;
    width: min(calc(100% - 40px), var(--content));
    margin: 32px auto 70px !important;
    padding: 36px 40px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.52));
    border: 1px solid rgba(255,255,255,0.84);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.single-post #jp-relatedposts .jp-relatedposts-headline {
    float: none !important;
    margin: 0 0 20px !important;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 3rem) !important;
    line-height: 0.96;
    letter-spacing: -0.02em;
}

.single-post #jp-relatedposts .jp-relatedposts-headline em {
    font-style: normal !important;
}

.single-post #jp-relatedposts .jp-relatedposts-items {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 !important;
}

.single-post #jp-relatedposts .jp-relatedposts-post {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.single-post #jp-relatedposts .jp-relatedposts-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.single-post #jp-relatedposts .jp-relatedposts-post-a {
    display: block;
    text-decoration: none !important;
}

.single-post #jp-relatedposts .jp-relatedposts-post-img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover;
    margin: 0 !important;
    max-width: none !important;
}

.single-post #jp-relatedposts .jp-relatedposts-post-title {
    margin: 18px 18px 8px !important;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem !important;
    line-height: 1.12;
}

.single-post #jp-relatedposts .jp-relatedposts-post-title a {
    color: var(--ink) !important;
    text-decoration: none !important;
}

.single-post #jp-relatedposts .jp-relatedposts-post-excerpt {
    margin: 0 18px 14px !important;
    color: var(--ink-soft) !important;
    font-size: 0.92rem !important;
    line-height: 1.65;
}

.single-post #jp-relatedposts .jp-relatedposts-post-date,
.single-post #jp-relatedposts .jp-relatedposts-post-context {
    margin: 0 18px 18px !important;
    color: var(--muted) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 900px) {
    .single-post #jp-relatedposts .jp-relatedposts-items {
        grid-template-columns: 1fr;
    }

    .single-post #jp-relatedposts {
        width: min(calc(100% - 24px), var(--content));
        padding: 28px 22px !important;
    }
}
.page-shell .section-panel img {
    width: 100%;
    height: auto;
    margin: 28px 0;
    object-fit: cover;
}

.page-shell .section-panel .wp-caption {
    max-width: 100%;
    margin: 28px 0;
}

.page-shell .section-panel .wp-caption img {
    margin-bottom: 8px;
}

.page-shell .section-panel .wp-caption-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}
/* Remove empty WordPress paragraph tags inside shortcode grids */
.page-shell .neighborhood-grid > p,
.page-shell .faq-list > p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}