/* Only site content: keep native Divi controls independent. */
.lv-site .demo-switcher{display:none}
.lv-site .lv-form-hp{position:absolute;left:-10000px;inline-size:1px;block-size:1px;overflow:hidden}
.lv-site .form-result:empty{display:none}
.lv-site .form-result.is-error{color:#a12323}
.lv-site .form-result:not(:empty){padding:1rem;border:1px solid currentColor;border-radius:6px}
.lv-site [aria-invalid=true]{border-color:#a12323}
.lv-site .et_pb_section,.lv-site .et_pb_module{padding:0;margin:0;background:transparent}
.lv-site .et_pb_module_inner{width:100%}
.lv-site .lv-page__render{font:400 1rem/1.75 var(--sans)}

/* Divi supplies element defaults inside its editor; the design inherits its own palette. */
.lv-site h1,.lv-site h2,.lv-site h3,.lv-site h4,.lv-site h5,.lv-site h6{color:inherit;padding:0}
/* Keep article prose beside the theme's left navigation in both editor and site. */
.lv-site .news-article-body{inline-size:100%;min-inline-size:0}
.lv-site .news-article-body .et_pb_row{inline-size:100%;max-inline-size:100%}
.lv-site .news-article-body .source-row{display:block}
.lv-site .news-article-body .et-fb-post-content{font:inherit}
.lv-site .news-article-body .et_pb_text{font:inherit;color:inherit}
.lv-site .news-article-body .et_pb_text.et_pb_bg_layout_light{color:inherit}
.lv-site .news-article-body p{padding-block:0}
.lv-site .news-article-body .scroll-reveal{animation:none;opacity:1;transform:none;translate:none;transition:none}

/* News cards crop from the centre, as the original Divi blog module did. */
.lv-site .photo-frame>img.news-card-photo,.lv-site .home-news-card>a>img.news-card-photo{object-position:center}
.lv-site .news-card-grid .photo-frame>img{object-position:center}

/* Editor auto-paragraphs (<p></p>, <br>) inside icon list items must not take the text column. */
.lv-site .article-content .icon-list>li>p:empty,.lv-site .article-content .icon-list>li>.list-icon>br{display:none}
.lv-site .article-content .icon-list>li>.list-icon{grid-column:1;grid-row:1}
.lv-site .article-content .icon-list>li>.list-item-copy{grid-column:2;grid-row:1}

/* Nieuws: same contact photo as the original media page (view over Castricum). */
.page-id-282 .lv-site .page-contact{background:linear-gradient(#16384412,#16384412),url('images/contact-media.jpg') center 70%/cover}

/* News posts: white header in the article column (title, byline, photo), as on the original site. */
.lv-site .news-post-content,.lv-site.theme-lokaal .news-post-content{padding-block-start:clamp(24px,3vw,40px)}
.lv-site .news-post-main{min-inline-size:0}
.lv-site .news-post-header h1{font-size:clamp(2rem,1.5rem + 1.6vw,3rem);line-height:1.16;letter-spacing:-.035em;margin:0 0 14px;text-wrap:balance}
.lv-site .news-post-meta{margin:0;color:var(--muted);font-size:.92rem}
.lv-site .news-post-figure{margin:28px 0 40px}
.lv-site .news-post-photo{display:block;inline-size:100%;block-size:auto;aspect-ratio:1080/675;object-fit:cover;object-position:center}
/* Recent posts sidebar on the right. */
.lv-site .news-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(40px,5vw,80px);align-items:start}
.lv-site .news-recent{border-inline-start:1px solid var(--line);padding-inline-start:clamp(24px,3vw,40px)}
.lv-site .news-recent h2{font-size:1.3rem;line-height:1.3;letter-spacing:-.01em;margin:0 0 6px;padding-block-end:12px;border-block-end:2px solid var(--green,#9bb31a)}
.lv-site .news-recent ul{list-style:none;margin:0;padding:0}
.lv-site .news-recent li{border-block-end:1px solid var(--line)}
.lv-site .news-recent a{display:block;padding-block:14px;font-size:.95rem;font-weight:650;line-height:1.45;color:var(--blue);text-decoration:none}
.lv-site .news-recent a:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:4px}
.lv-site .news-recent a[aria-current]{color:var(--ink)}
@media(max-width:960px){.lv-site .news-post-layout{grid-template-columns:minmax(0,1fr)}.lv-site .news-recent{border-inline-start:0;padding-inline-start:0}}

/* Programma: "Hart voor jou" campaign logo above the hero eyebrow. */
.lv-site .programme-campaign-logo{display:block;inline-size:clamp(190px,18vw,280px);block-size:auto;margin-block-end:clamp(20px,2.5vw,32px)}

/* Campaign gradient from the "Hart voor jou" posters (blue to lime).
   Only on the programme hero and as a thin line above the footer. The left
   side stays dark so white text and the lime highlight keep their contrast. */
.lv-site{--campaign-gradient:linear-gradient(100deg,#163844 0%,#163844 22%,#1d5f7e 44%,#1f6f96 56%,#4b8d69 78%,#a2b12a 100%)}
.lv-site.theme-lokaal .programme-hero{background:var(--campaign-gradient)}
.lv-site .site-footer{background-image:linear-gradient(90deg,#1f6f96,#4b8d69 55%,#a2b12a);background-size:100% 6px;background-repeat:no-repeat;background-position:top}
@media(max-width:960px){.lv-site.theme-lokaal .programme-hero{background:linear-gradient(180deg,#a2b12a 0%,#4b8d69 20%,#1f6f96 38%,#1d5f7e 52%,#163844 72%)}}
.lv-site .news-recent a{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center}
.lv-site .news-recent-thumb{display:block;inline-size:64px;block-size:64px;object-fit:cover;object-position:center;border-radius:4px;background:var(--soft)}
.lv-site .news-recent a:is(:hover,:focus-visible){text-decoration:none}
.lv-site .news-recent a:is(:hover,:focus-visible)>span{text-decoration:underline;text-underline-offset:4px}

/* Campaign look everywhere (Vidal, 30 nov 2026): gradient behind every hero and
   rounded corners on all photos. The text side of each hero stays dark. */
.lv-site.theme-lokaal .page-hero{background:var(--campaign-gradient)}
.lv-site .civic-hero{background:linear-gradient(100deg,#163844 0%,#163844 40%,#1d5f7e 58%,#4b8d69 80%,#a2b12a 100%);border-radius:16px;overflow:hidden}
.lv-site .civic-hero>.village-slideshow{inline-size:auto;min-inline-size:0;margin:clamp(16px,2vw,28px);border-radius:12px}
@media(max-width:960px){
  .lv-site.theme-lokaal .page-hero{background:linear-gradient(180deg,#163844 0%,#163844 40%,#1d5f7e 65%,#4b8d69 85%,#a2b12a 100%)}
  .lv-site.theme-lokaal .page-hero.programme-hero{background:linear-gradient(180deg,#a2b12a 0%,#4b8d69 20%,#1f6f96 38%,#1d5f7e 52%,#163844 72%)}
  .lv-site .civic-hero{background:linear-gradient(180deg,#163844 0%,#163844 55%,#1d5f7e 80%,#2f7a75 93%,#4b8d69 100%)}
}
#inhoud img:not([src$=".svg"]):not(.programme-campaign-logo):not(.civic-clover):not(.content-emblem):not(.card-clover){border-radius:12px}
#inhoud :is(.photo-frame,.village-slideshow,.hero-photo-shell,.team-group-photo,.programme-visual-card,.chapter-photo){border-radius:12px;overflow:hidden}
#inhoud :is(.news-recent-thumb,.chapter-nav img){border-radius:6px}
#inhoud .person-photo{border-radius:12px 12px 0 0}
/* Let hero photos keep their own proportions, so the rounded corners sit on the photo itself. */
#inhoud .source-page-hero.source-page.has-hero-image .source-hero-photo:not(.content-emblem){inline-size:auto;max-inline-size:100%;block-size:auto;max-block-size:560px;aspect-ratio:auto;object-fit:cover;margin-inline:auto}
#inhoud .hero-photo-shell{justify-self:center;align-self:center;inline-size:fit-content;max-inline-size:100%}
/* Person pages keep their light hero (dark text); the campaign colours return as the bottom line. */
.lv-site.theme-lokaal .page-hero.profile-detail-hero,.lv-site.theme-lokaal .page-hero.profile-detail-hero:is(*){background:#edf2ef;border-block-end:0;box-shadow:inset 0 -5px 0 0 transparent;background-image:linear-gradient(90deg,#1f6f96,#4b8d69 55%,#a2b12a);background-size:100% 5px;background-repeat:no-repeat;background-position:bottom;background-color:#edf2ef}

/* Mobile: hero photo and text stack. The campaign gradient runs top to bottom:
   lime and green behind the photo, blue where the text starts, dark blue behind
   the rest, so lime words never sit on lime. A slim campaign line closes each hero.
   --hero-fade-end is roughly where the text starts in each hero type. */
@media(max-width:960px){
  .lv-site.theme-lokaal .page-hero,.lv-site.theme-lokaal .page-hero.programme-hero,.lv-site .civic-hero{
    --hero-fade-end:14%;
    background:linear-gradient(90deg,#1f6f96,#4b8d69 55%,#a2b12a) bottom/100% 6px no-repeat,
      linear-gradient(180deg,#a2b12a 0%,#4b8d69 calc(var(--hero-fade-end)*.4),#1f6f96 calc(var(--hero-fade-end)*.75),#1d5f7e var(--hero-fade-end),#163844 calc(var(--hero-fade-end) + 16%),#163844 100%)}
  .lv-site .civic-hero{--hero-fade-end:42%}
  .lv-site.theme-lokaal .page-hero.programme-hero{--hero-fade-end:38%}
  .lv-site.theme-lokaal .page-hero.team-hero{--hero-fade-end:52%}
  .lv-site.theme-lokaal .page-hero.source-page-hero.has-hero-image{--hero-fade-end:44%}
  .page-id-282 .lv-site.theme-lokaal .page-hero.source-page-hero{--hero-fade-end:8%}
  /* News overview: the posts come straight after the hero. */
  .page-id-282 .page-hero .hero-photo-shell{display:none}
  .lv-site .news-archive-layout>.article-sidebar{order:2}
}

/* Home news on mobile: each post as a card with a rounded campaign-gradient border. */
@media(max-width:960px){
  .lv-site .home-news-card{display:flex;flex-direction:column;padding:14px 14px 20px;border:2px solid transparent;border-radius:16px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#1f6f96,#4b8d69 55%,#a2b12a) border-box}
  .lv-site.theme-lokaal .home-news-card>a:first-child{border-radius:10px;background:#edf2ef}
  .lv-site .home-news-card>a:first-child>img{display:block;inline-size:100%;aspect-ratio:1.8;object-fit:cover;object-position:center top;border-radius:10px}
  .lv-site .home-news-card :is(h3,time,.text-link){margin-inline:6px}
  .lv-site .home-news-card h3{margin-block:18px 10px}
  .lv-site .home-news-card time{margin-block-end:12px}
}

/* The group photo has a black strip on its left edge; the image is 1.5% wider and shifted left so the frame hides it. */
/* Homepage hero (Vidal, 30 nov 2026): the group photo from the original homepage
   across the full width, the text centred below it on dark blue. The campaign
   gradient runs top to bottom: colour around the photo, dark behind the text. */
.lv-site .civic-hero.has-group-photo{display:flex;flex-direction:column;min-block-size:0;--hero-fade-end:56%;background:linear-gradient(90deg,#1f6f96,#4b8d69 55%,#a2b12a) bottom/100% 6px no-repeat,linear-gradient(180deg,#a2b12a 0%,#4b8d69 calc(var(--hero-fade-end)*.4),#1f6f96 calc(var(--hero-fade-end)*.75),#1d5f7e var(--hero-fade-end),#163844 calc(var(--hero-fade-end) + 16%),#163844 100%)}
.lv-site .civic-group-photo{margin:clamp(14px,2vw,24px) clamp(14px,2vw,24px) 0;border-radius:12px;overflow:hidden}
#inhoud .civic-group-photo>img{display:block;inline-size:101.5%;max-inline-size:none;margin-inline-start:-1.5%;block-size:auto;aspect-ratio:2.5;object-fit:cover;object-position:center 30%;border-radius:12px}
.lv-site .civic-hero.has-group-photo>.hero-copy{text-align:center;max-inline-size:860px;margin-inline:auto;padding:clamp(28px,4vw,48px) clamp(20px,4vw,48px) clamp(34px,4vw,54px)}
.lv-site .civic-hero.has-group-photo .hero-copy>p{margin-inline:auto;max-inline-size:640px}
.lv-site .civic-hero.has-group-photo .actions{justify-content:center}
@media(max-width:960px){
  .lv-site .civic-hero.has-group-photo{--hero-fade-end:40%}
  #inhoud .civic-group-photo>img{aspect-ratio:16/10;object-position:center 20%}
  .lv-site .civic-hero.has-group-photo>.hero-copy{text-align:start}
  .lv-site .civic-hero.has-group-photo .hero-copy>p{margin-inline:0}
  .lv-site .civic-hero.has-group-photo .actions{justify-content:flex-start}
}
