/* Wijkraad Venlo Centrum — aansluiting van het ontwerp op WordPress.
   Laadt na assets/wvc/wijkraad.css. Alleen wat het ontwerp niet kent:
   adminbalk, Fluent Forms, editor-inhoud in nieuwsberichten, lege toestanden.
   ───────────────────────────────────────────────────────────────────── */

/* ── Adminbalk: sticky header eronder ── */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ── Knoppen van de oorspronkelijke site (pri-cta) ──
   Magneet Pure zet a.pri-cta:visited (0,2,1) en een hover-sprong; het
   ontwerp heeft een vlakke knop zonder sprong. */
.wvc a.pri-cta,
.wvc a.pri-cta:visited { background: var(--primary); color: #fff; box-shadow: none; line-height: 1.5; font-size: 1rem; }
.wvc a.pri-cta:hover { background: #3d258a; color: #fff; transform: none; box-shadow: var(--elevation-1, none); }

/* ── Fluent Forms in de vorm van het ontwerpformulier (.email-form) ── */
.contact-form-panel .wvc-ff { margin-top: 26px; }
.join-form .contact-form-panel .wvc-ff { margin-top: 24px; }
.wvc-ff .fluentform .ff-el-group { margin-bottom: 18px; }
.wvc-ff .fluentform .ff-t-container { gap: 16px; }
.wvc-ff .fluentform .ff-t-container .ff-t-cell { padding: 0 !important; }
.wvc-ff .fluentform .ff-el-input--label { margin-bottom: 6px; }
.wvc-ff .fluentform .ff-el-input--label label { font-size: .95rem; font-weight: 400; color: var(--ink); line-height: 1.4; }
.join-form .wvc-ff .fluentform .ff-el-input--label label { font-size: 1rem; }
.wvc-ff .fluentform .ff-el-input--label.asterisk-right label::after { color: var(--accent); }
.wvc-ff .fluentform .ff-el-form-control {
    width: 100%; min-height: 48px; padding: 12px; font: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1px solid var(--md-sys-color-outline, #a99cba); border-radius: 12px; box-shadow: none;
}
.wvc-ff .fluentform textarea.ff-el-form-control { min-height: 130px; resize: vertical; }
.wvc-ff .fluentform .ff-el-form-control:hover { border-color: var(--primary); }
.wvc-ff .fluentform .ff-el-form-control:focus { border-color: var(--primary); outline: 3px solid var(--focus); outline-offset: 1px; }
.join-form .wvc-ff .fluentform .ff-el-form-control { background: var(--md-sys-color-surface, #fff); }
.wvc-ff .fluentform .ff-el-tc label,
.wvc-ff .fluentform .ff_tc_checkbox + div,
.wvc-ff .fluentform .ff-el-tc .ff_t_c { font-size: .875rem; line-height: 1.6; color: var(--ink); }
.wvc-ff .fluentform .ff-el-form-check.ff-el-tc label.ff-el-form-check-label { display: flex; gap: 10px; align-items: flex-start; }
.wvc-ff .fluentform .ff-el-form-check.ff-el-tc .ff_tc_checkbox { display: block; flex: none; }
.wvc-ff .fluentform .ff-el-form-check.ff-el-tc .ff_t_c { display: block; padding: 0; }
.wvc-ff .fluentform input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); }
.wvc-ff .fluentform .ff_submit_btn_wrapper { margin-bottom: 0; }
.wvc-ff .fluentform .ff-btn-submit,
.wvc-ff .fluentform button.ff-btn-submit:not(.ff_btn_no_style) {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px;
    background: var(--primary); color: #fff; border: 1px solid transparent; border-radius: var(--shape, 20px);
    font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.4; cursor: pointer; opacity: 1;
}
.wvc-ff .fluentform .ff-btn-submit:hover { background: #3d258a; opacity: 1; }
.wvc-ff .fluentform .ff-el-is-error .ff-el-form-control { border-color: #b3261e; }
.wvc-ff .fluentform .error,
.wvc-ff .fluentform .text-danger { color: #b3261e; font-size: .875rem; margin-top: 6px; }
.wvc-ff .ff-message-success {
    margin-top: 8px; padding: 18px 20px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: none;
}
@media (max-width: 600px) {
    .wvc-ff .fluentform .ff-t-container { display: grid; grid-template-columns: 1fr; }
}

/* Nieuwsbrief: formulierpaneel in de smalle kolom van de pagina */
.wvc-formulier-blok .contact-form-panel { max-width: 640px; }
.wvc-formulier-blok .form-intro { margin-top: 10px; color: var(--muted); }

/* ── Tekst uit de editor in nieuwsberichten ── */
.news-body > p,
.news-body > ul,
.news-body > ol,
.news-body > h2,
.news-body > h3 { margin-block: 0 1.1em; }
.news-body img.aligncenter { margin-inline: auto; }
.news-body img.alignright { float: right; margin: 0 0 1em 1.5em; max-width: 50%; }
.news-body img.alignleft { float: left; margin: 0 1.5em 1em 0; max-width: 50%; }
.news-body .wp-caption { max-width: 100%; }
.news-body::after { content: ""; display: table; clear: both; }

/* Linkenlijst (Wijkraad: tekst, opmaak Linkenlijst): de editor (wpautop) zet
   een <p> om de losse knoplinks; die alinea doet niet mee in de opmaak. */
.legacy-links p:has(> a.h-l-button:only-child) { display: contents; }

/* Wijkraad: tekst, opmaak Gecentreerd */
.bm-t-container.wvc-midden { text-align: center; }
