/* Vecbebri: an editorial setting for the original manor photography and text. */
.vecbebri-heritage {
  --vb-ink: #17344b;
  --vb-ink-soft: #426070;
  --vb-paper: #fffcf6;
  --vb-cream: #f5f0e7;
  --vb-stone: #e7dece;
  --vb-copper: #a64f2e;
  --vb-copper-dark: #873d25;
  background: var(--vb-cream);
  color: var(--vb-ink);
  font-family: Poppins, sans-serif;
  overflow-x: clip;
}

.vecbebri-heritage ::selection { background: #dbc1aa; color: var(--vb-ink); }
.vecbebri-heritage :focus-visible { outline: 3px solid var(--vb-copper); outline-offset: 4px; }
.vecbebri-heritage a { text-underline-offset: .2em; }
.vecbebri-heritage a, .vecbebri-heritage button { transition: color .22s ease, background-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.vecbebri-heritage a:active, .vecbebri-heritage button:active { transform: translateY(1px); }
html:has(.vecbebri-heritage) { scroll-behavior: smooth; }

/* Keep the association's contact details and logo, with a quieter frame. */
.vecbebri-heritage .elementor-element-1a6a1757 {
  background: var(--vb-ink) !important;
  min-height: 40px !important;
}
.vecbebri-heritage .elementor-element-1a6a1757 .elementor-icon-list-text,
.vecbebri-heritage .elementor-element-1a6a1757 a,
.vecbebri-heritage .elementor-element-1a6a1757 i { color: var(--vb-paper) !important; }
.vecbebri-heritage .elementor-element-4ec0f494 {
  background: var(--vb-paper) !important;
  box-shadow: 0 12px 35px rgba(23, 52, 75, .09);
  position: relative;
  z-index: 10;
}
.vecbebri-heritage .elementor-element-7a9177fd .elementor-item {
  color: var(--vb-ink) !important;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .005em;
}
.vecbebri-heritage .elementor-element-7a9177fd .elementor-item:hover,
.vecbebri-heritage .elementor-element-7a9177fd .elementor-item-active { color: var(--vb-copper) !important; }
.vecbebri-heritage .elementor-menu-toggle { color: var(--vb-ink) !important; background: transparent !important; }

/* First viewport: the manor remains the central visual artifact. */
.vecbebri-heritage.home .elementor-element-3a67130e {
  min-height: min(760px, calc(100svh - 128px)) !important;
  background-position: center 47% !important;
  isolation: isolate;
}
.vecbebri-heritage.home .elementor-element-3a67130e > .elementor-background-overlay {
  background: linear-gradient(90deg, rgba(16, 38, 55, .70), rgba(16, 38, 55, .18) 68%, rgba(16, 38, 55, .08)) !important;
  opacity: 1 !important;
}
.vecbebri-heritage.home .elementor-element-3a67130e > .elementor-container { min-height: inherit; }
.vecbebri-heritage.home .elementor-element-1b44e2de { max-width: 740px; }
.vecbebri-heritage.home .elementor-element-1b44e2de .elementskit-section-subtitle {
  color: #fff8eb !important;
  font-family: Poppins, sans-serif;
  font-size: .95rem !important;
  font-weight: 500 !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.vecbebri-heritage.home .elementor-element-1b44e2de .elementskit-section-title {
  color: #fffaf1 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(4.5rem, 9vw, 8.75rem) !important;
  font-weight: 600 !important;
  letter-spacing: -.035em;
  line-height: 1.03 !important;
  text-shadow: 0 3px 22px rgba(9, 27, 42, .18);
}
.vecbebri-heritage.home .elementor-element-1b44e2de .ekit-heading__description,
.vecbebri-heritage.home .elementor-element-1b44e2de .ekit-heading__description p {
  color: #fffaf1 !important;
  font-size: 1rem !important;
  letter-spacing: .025em;
}
.vb-hero-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.vb-hero-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.35rem;
  background: var(--vb-paper);
  color: var(--vb-ink) !important;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}
.vb-hero-links a:hover { background: #e9dfcf; transform: translateY(-2px); }
.vb-hero-links a + a { background: transparent; box-shadow: inset 0 0 0 1px #fffaf1; color: #fffaf1 !important; }
.vb-hero-links a + a:hover { background: rgba(255, 250, 241, .16); }

/* The full name-origin story now remains available on every device. */
.vecbebri-heritage.home .elementor-element-28f1f1d8 {
  background: var(--vb-cream) !important;
  min-height: 0 !important;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4rem) !important;
}
.vecbebri-heritage.home .elementor-element-28f1f1d8 > .elementor-background-overlay { display: none; }
.vecbebri-heritage.home .elementor-element-51bbbf96 > .elementor-container {
  align-items: flex-start;
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: 1260px;
}
.vecbebri-heritage.home .elementor-element-51bbbf96 { margin: 0 !important; padding: 0 !important; }
.vecbebri-heritage.home .elementor-element-15bc3423 { flex: 0 0 42%; width: 42%; }
.vecbebri-heritage.home .elementor-element-3583d1c3 { flex: 1 1 0; width: auto; }
.vecbebri-heritage.home .elementor-element-70d138cf img { width: 100%; height: clamp(360px, 40vw, 570px); object-fit: cover; object-position: center 35%; }
.vecbebri-heritage.home .elementor-element-101b6d4 img { width: 78%; height: auto; margin: -2.5rem 0 0 22%; box-shadow: 0 22px 45px rgba(23, 52, 75, .17); }
.vecbebri-heritage.home .elementor-element-475a9524 .elementskit-section-title,
.vecbebri-heritage.home .elementor-element-455e656 .elementskit-section-title {
  color: var(--vb-ink) !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2.7rem, 4vw, 4.8rem) !important;
  letter-spacing: -.025em;
  line-height: 1.12 !important;
  text-wrap: balance;
}
.vecbebri-heritage.home .elementor-element-475a9524 .elementskit-section-subtitle,
.vecbebri-heritage.home .elementor-element-455e656 .elementskit-section-subtitle {
  color: var(--vb-copper) !important;
  font-family: Poppins, sans-serif !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  letter-spacing: .08em;
}
.vecbebri-heritage.home .elementor-element-3469ba97,
.vecbebri-heritage.home .elementor-element-402c50d9,
.vecbebri-heritage.home .elementor-element-c11b3f7 {
  color: var(--vb-ink-soft) !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
}
.vecbebri-heritage.home .elementor-element-3469ba97 p,
.vecbebri-heritage.home .elementor-element-402c50d9 p,
.vecbebri-heritage.home .elementor-element-c11b3f7 p { margin-bottom: 1.15em; }
.vecbebri-heritage.home .elementor-element-2caed767 {
  background: var(--vb-stone) !important;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4rem) !important;
}
.vecbebri-heritage.home .elementor-element-2caed767 > .elementor-container { max-width: 1260px; }
.vecbebri-heritage.home .elementor-element-bcd360e { padding: 0 !important; }
.vecbebri-heritage.home .elementor-element-2caed767 .elementor-inner-section > .elementor-container { align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
.vecbebri-heritage.home .elementor-element-5b56cca0 { flex: 0 0 44%; width: 44%; }
.vecbebri-heritage.home .elementor-element-21361f9d { flex: 1 1 0; width: auto; }
.vecbebri-heritage.home .elementor-element-1e1dba6f img { width: 100%; height: min(640px, 55vw); object-fit: cover; }

/* News is a second clear route for regular visitors. */
.vecbebri-heritage.home .elementor-element-e9c9bd5 { min-height: 390px !important; background-position: center 46% !important; }
.vecbebri-heritage.home .elementor-element-e9c9bd5 > .elementor-background-overlay { background: rgba(18, 43, 59, .54) !important; opacity: 1 !important; }
.vecbebri-heritage.home .elementor-element-360d5db7 .elementskit-section-title {
  color: #fffaf1 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(3.5rem, 6vw, 6rem) !important;
  letter-spacing: -.025em;
}
.vecbebri-heritage.home .elementor-element-4477a209 { background: var(--vb-cream) !important; }
.vecbebri-heritage.home .elementor-element-5147dc36 .post-items {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.4rem;
  margin: 0;
}
.vecbebri-heritage.home .elementor-element-5147dc36 .post-items::before,
.vecbebri-heritage.home .elementor-element-5147dc36 .post-items::after { content: none !important; display: none !important; }
.vecbebri-heritage.home .elementor-element-5147dc36 .post-items > div { width: auto; max-width: none; padding: 0; }
.vecbebri-heritage.home .elementor-element-5147dc36 .elementskit-post-image-card {
  height: 100%;
  background: var(--vb-paper);
  box-shadow: 0 17px 38px rgba(23, 52, 75, .12);
  display: flex;
  flex-direction: column;
}
.vecbebri-heritage.home .elementor-element-5147dc36 .elementskit-entry-header img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vecbebri-heritage.home .elementor-element-5147dc36 .elementskit-post-body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem !important; }
.vecbebri-heritage.home .elementor-element-5147dc36 .entry-title a { color: var(--vb-ink) !important; font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; line-height: 1.22; }
.vecbebri-heritage.home .elementor-element-5147dc36 .entry-title a:hover { color: var(--vb-copper) !important; }
.vecbebri-heritage.home .elementor-element-5147dc36 .elementskit-post-body p { color: var(--vb-ink-soft); font-size: .88rem; line-height: 1.6; }
.vecbebri-heritage.home .elementor-element-5147dc36 .btn-wraper { margin-top: auto; padding-top: 1rem; }
.vecbebri-heritage.home .elementor-element-5147dc36 .elementskit-btn { background: var(--vb-copper) !important; color: #fff !important; font-weight: 600; }
.vecbebri-heritage.home .elementor-element-5147dc36 .elementskit-btn:hover { background: var(--vb-copper-dark) !important; }
.vecbebri-heritage.home .elementor-element-5147dc36 .elementskit-meta-wraper { background: var(--vb-copper) !important; color: #fff !important; }
.vecbebri-heritage.home .elementor-element-5147dc36 .post-items > div:nth-child(3) .elementskit-post-image-card { background: var(--vb-stone); box-shadow: none; }

/* Existing manor archive, park photo, association text and footer. */
.vecbebri-heritage.home .elementor-element-8e29ad6 .elementor-heading-title,
.vecbebri-heritage.home .elementor-element-e2545c0 .elementor-heading-title,
.vecbebri-heritage.home .elementor-element-21563e2 .elementor-heading-title {
  color: var(--vb-ink) !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2.5rem, 3.4vw, 4rem) !important;
  letter-spacing: -.025em;
  line-height: 1.15 !important;
  text-wrap: balance;
}
.vecbebri-heritage.home .elementor-element-ec54251,
.vecbebri-heritage.home .elementor-element-aefeee6 { color: var(--vb-ink-soft); font-size: 1rem; line-height: 1.8; }
.vecbebri-heritage.home .elementor-element-4495fe1 { text-align: center; }
.vecbebri-heritage.home .elementor-element-4495fe1 img { width: auto; max-width: 100%; max-height: 780px; object-fit: contain; }
.vecbebri-heritage.home .elementor-element-ca35a5a { width: calc(100% - 32px) !important; max-width: 1200px; margin: 4.5rem auto 1rem !important; }
.vecbebri-heritage.home .elementor-element-e993eb6 .elementor-heading-title { color: var(--vb-ink) !important; font-size: 1.05rem; line-height: 1.6; }
.vecbebri-heritage footer { background: var(--vb-ink); color: var(--vb-paper); }

/* Articles use a reading column and show all supplied photos in a gallery. */
.vecbebri-heritage.single-post main.site-main { max-width: 1160px; padding: clamp(3rem, 6vw, 6rem) 1.5rem 5rem; }
.vecbebri-heritage.single-post .page-header { max-width: 790px; margin: 0 auto 2.75rem; }
.vecbebri-heritage.single-post .entry-title {
  color: var(--vb-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.11;
  text-wrap: balance;
}
.vb-back-link { display: inline-block; color: var(--vb-copper) !important; font-size: .82rem; font-weight: 600; margin-bottom: 1.2rem; text-decoration: none; }
.vb-back-link::before { content: '←'; display: inline-block; margin-right: .6em; }
.vb-back-link:hover { color: var(--vb-copper-dark) !important; text-decoration: underline; }
.vecbebri-heritage.single-post .page-content { color: var(--vb-ink); }
.vecbebri-heritage.single-post .page-content > p,
.vecbebri-heritage.single-post .page-content > ul,
.vecbebri-heritage.single-post .page-content > ol {
  max-width: 70ch;
  margin: 0 auto 1.4em;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.82;
}
.vecbebri-heritage.single-post .page-content > p:first-child { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.7; }
.vecbebri-heritage.single-post .page-content > figure:not(.partner-logo):not(.funding-logo) { max-width: 980px; margin: 2.6rem auto; }
.vecbebri-heritage.single-post .page-content > figure img { display: block; max-width: 100%; height: auto; }
.vecbebri-heritage.single-post .page-content > figure.partner-logo,
.vecbebri-heritage.single-post .page-content > figure.funding-logo { display: inline-flex; align-items: center; width: auto; margin: .5rem 1.75rem 1.8rem 0; vertical-align: middle; }
.vecbebri-heritage.single-post .partner-logo img { max-width: 260px; }
.vecbebri-heritage.single-post .funding-logo img { max-width: 225px; }
.vecbebri-heritage.single-post .wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1050px;
  margin: 3rem auto 0;
  align-items: start;
}
.vecbebri-heritage.single-post .wp-block-gallery.has-nested-images figure { width: 100% !important; margin: 0 !important; }
.vecbebri-heritage.single-post .wp-block-gallery.has-nested-images img { display: block; width: 100%; height: auto; }
.vecbebri-heritage.single-post .comments-area { max-width: 790px; margin: 4rem auto 0; }
.vecbebri-heritage.single-post .comments-area input:not([type='checkbox']),
.vecbebri-heritage.single-post .comments-area textarea { background: var(--vb-paper); border: 1px solid #c8c0b3; border-radius: 0; padding: .75rem; }
.vecbebri-heritage.single-post .comments-area input[type='submit'] { background: var(--vb-copper); border: 0; color: #fff; padding: .9rem 1.5rem; }

/* Elementor's delayed entrance can otherwise leave an entire story blank. */
.vecbebri-heritage.home .elementor-invisible { visibility: visible !important; opacity: 1 !important; animation: none !important; }

@media (max-width: 1024px) {
  .vecbebri-heritage.home .elementor-element-28f1f1d8.elementor-hidden-tablet,
  .vecbebri-heritage.home .elementor-element-28f1f1d8.elementor-hidden-mobile { display: block !important; }
  .vecbebri-heritage.home .elementor-element-51bbbf96 > .elementor-container,
  .vecbebri-heritage.home .elementor-element-2caed767 .elementor-inner-section > .elementor-container { display: flex; flex-direction: column; }
  .vecbebri-heritage.home .elementor-element-15bc3423,
  .vecbebri-heritage.home .elementor-element-3583d1c3,
  .vecbebri-heritage.home .elementor-element-5b56cca0,
  .vecbebri-heritage.home .elementor-element-21361f9d { width: 100%; flex: 0 0 auto; }
  .vecbebri-heritage.home .elementor-element-3583d1c3 { order: 1; }
  .vecbebri-heritage.home .elementor-element-15bc3423 { order: 2; }
  .vecbebri-heritage.home .elementor-element-70d138cf img { height: min(55vw, 520px); }
  .vecbebri-heritage.home .elementor-element-1e1dba6f img { height: min(62vw, 560px); }
  .vecbebri-heritage.home .elementor-element-5147dc36 .post-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vecbebri-heritage.home .elementor-element-5147dc36 .post-items > div:first-child { grid-column: span 2; }
}

@media (max-width: 767px) {
  .vecbebri-heritage.home .elementor-element-3a67130e { min-height: 570px !important; background-position: center center !important; }
  .vecbebri-heritage.home .elementor-element-3a67130e > .elementor-background-overlay { background: linear-gradient(0deg, rgba(16, 38, 55, .80), rgba(16, 38, 55, .10) 82%) !important; }
  .vecbebri-heritage.home .elementor-element-1b44e2de { padding: 0 1.25rem; }
  .vecbebri-heritage.home .elementor-element-1b44e2de .elementskit-section-title { font-size: clamp(3.8rem, 18vw, 5.5rem) !important; }
  .vb-hero-links { margin-top: 1.4rem; gap: .55rem; }
  .vb-hero-links a { min-height: 46px; width: 100%; }
  .vecbebri-heritage.home .elementor-element-28f1f1d8,
  .vecbebri-heritage.home .elementor-element-2caed767 { padding: 4.5rem 1.25rem !important; }
  .vecbebri-heritage.home .elementor-element-70d138cf img { height: 420px; }
  .vecbebri-heritage.home .elementor-element-101b6d4 img { width: 82%; margin-left: 18%; }
  .vecbebri-heritage.home .elementor-element-1e1dba6f img { height: 470px; }
  .vecbebri-heritage.home .elementor-element-e9c9bd5 { min-height: 285px !important; }
  .vecbebri-heritage.home .elementor-element-5147dc36 .post-items { grid-template-columns: 1fr; }
  .vecbebri-heritage.home .elementor-element-5147dc36 .post-items > div:first-child { grid-column: auto; }
  .vecbebri-heritage.single-post main.site-main { padding: 3rem 1.2rem 4rem; }
  .vecbebri-heritage.single-post .page-content > p { font-size: 1rem; }
  .vecbebri-heritage.single-post .wp-block-gallery.has-nested-images { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.vecbebri-heritage) { scroll-behavior: auto; }
  .vecbebri-heritage a, .vecbebri-heritage button { transition: none; }
}
