﻿/* ═══════════════════════════════════════════════════════
   BP_NEW_SUBJECT.CSS — Burgerplatform
   Alleen structuur en layout.
   Kleuren en fonts → bp_new.css
   Dark mode → bp_darkmode.css
═══════════════════════════════════════════════════════ */

/* ── Sticky footer structuur ────────────────────────── */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Header (sticky) ────────────────────────────────── */
header {
    border-bottom: .0625rem solid var(--border-color);
    box-shadow: 0 .1875rem .625rem #0000001f;
    left: 0;
    margin-bottom: 0;
    position: fixed;
    top: 0;
    transition-duration: .2s;
    transition-property: transform, opacity;
    transition-timing-function: ease-in-out;
    width: 100%;
    z-index: 1999999998;
    background-color: var(--surface);
}

/* ── Logo ───────────────────────────────────────────── */
svg#BP {
    width: 100px;
    height: 100px;
    vertical-align: middle;
    fill: currentColor;
}

.header-logo {
    margin-left: 10px;
    margin-right: auto;
    margin-bottom: 5px;
    margin-top: 5px;
    text-align: center;
}

img.header-logo {
    cursor: pointer;
    max-width: 100%;
    max-height: 80px;
}

/* ── Links ──────────────────────────────────────────── */
a {
    transition: color 0.2s;
    text-decoration: none;
    color: var(--accent);
}

a[target="_blank"]::after {
    content: " " url(/icons/box-arrow-up-right.svg);
}

a.btn-primary {
    color: #fff;
}

/* ── Typografie ─────────────────────────────────────── */
h1, h2 {
    color: var(--ink);
    margin-top: 10px;
    margin-bottom: 20px;
}

h1#pagetitle {
    padding-top: 28px;
    margin-bottom: 16px;
}

h3, h4, h5 {
    color: var(--accent);
    font-size: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, .h1 {
    font-size: 2rem;
}

h3 > a {
    text-decoration: none;
}

/* ── Navigatie ──────────────────────────────────────── */
.navbar {
    padding: 0;
}

.navbar-nav a.nav-link,
.navbar-nav a.dropdown-item {
    background-color: var(--surface);
    color: var(--ink-mid);
    display: block;
    letter-spacing: 1px;
    line-height: 1;
    padding: 10px 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.navbar-toggler {
    color: white;
    border: 0 none !important;
    float: right;
}

.bi-list { color: #fff; fill: #fff; }

.navbar-toggler-icon > svg path {
    fill: white;
}

/* Dropdown pijltje */
.nav-link::after,
.nav-item.activelink > a::after {
    display: none;
}

li.nav-item.dropdown > a::after {
    content: '';
    display: inline;
    position: absolute;
    top: 42%;
    right: 6px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--accent);
    clear: both;
}

li.nav-item.dropdown:hover > a::after {
    border-top-color: var(--accent);
}

.navbar-expand-lg .navbar-nav li.dropdown a.nav-link {
    padding-right: 24px;
}

.nav-link:hover, .nav-item.activelink > a {
    text-decoration: none;
}

.navbar-nav .nav-item.activelink > a::after {
    content: "";
    display: block;
    margin: auto;
    height: 3px;
    width: 100%;
    background: var(--accent);
    transition: all 0.3s;
}

.navbar-nav li.dropdown > a::after,
.navbar-nav li.open > a::after {
    background-image: unset;
    background-size: unset;
    height: unset;
    width: unset;
}

/* ── Desktop dropdown ───────────────────────────────── */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu { display: none; }
    .navbar .nav-item:hover .dropdown-menu { display: block; }
    .navbar .nav-item .dropdown-menu { margin-top: 0; }
}

/* ── List group ─────────────────────────────────────── */
li.list-group-item.activelink {
    color: #fff;
    background-color: var(--accent);
}

li.list-group-item.activelink a {
    color: #fff;
}

/* ── Kaarten ────────────────────────────────────────── */
.card {
    box-shadow: none !important;
    margin-bottom: 20px;
}

div.cardsubscriber {
    border-top: 3px solid #84BD86 !important;
    border-left: 1px solid #84BD86 !important;
    border-bottom: 1px solid #84BD86 !important;
    border-right: 1px solid #84BD86 !important;
}

/* ── Sidebar ────────────────────────────────────────── */
#rightcol {
    padding-left: 20px;
}

.linklist li {
    border-bottom: 2px solid var(--border-color);
    padding: 10px 0 0 0;
}

/* ── Formulieren ────────────────────────────────────── */
.textcounter {
    visibility: hidden;
    display: none;
}

::-webkit-input-placeholder { color: var(--ink-soft); }
::-moz-placeholder { color: var(--ink-soft); }
:-ms-input-placeholder { color: var(--ink-soft); }

/* ── Afbeeldingen ───────────────────────────────────── */
.header-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

figure.wp-block-image img {
    width: 100% !important;
    height: auto;
}

/* ── Overige klassen ────────────────────────────────── */
.maincontent-wrapped {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-name {
    font-size: 1.0em;
}

.payoff {
    text-align: center;
    font-size: 40px;
    height: 1px;
}

.payoff p { margin: 0; }

.like_footer {
    margin-top: 20px;
    margin-bottom: 20px;
}

.a2a_kit {
    margin-bottom: 50px;
}

.googlelogin {
    width: 45%;
    float: left;
}

/* ── Doelgroep labels ───────────────────────────────── */
.targetgroup_person {
    background-color: #e9c4b1;
    color: #595959;
}

.targetgroup_organization {
    background-color: #c6db88;
    color: #595959;
}

.targetgroup_government {
    background-color: #eed988;
    color: #595959;
}

/* ── Label lijsten ──────────────────────────────────── */
ul.labellist,
ul.labelsublist {
    list-style-type: none !important;
    padding-left: 0;
}

.labelsublist li {
    position: relative;
    padding-left: 25px;
}

/* ── Mobiel ─────────────────────────────────────────── */
@media (max-width: 768px) {
    body { background-size: auto; }

    #div-maincontainer { padding: 1em; }

    .thema_block { display: none !important; }

    p, .jumbotron p, #jumbotronlist > ol > li, ul li {
        font-size: 16px;
        font-weight: 500;
    }

    .col-lg-15 {
        width: 100%;
        float: left;
        text-align: center;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 30px;
    }

    .judgement_partyname { margin-left: 15px; }

    .judgement_name {
        margin-left: 15px;
        border-left: none !important;
        padding-top: 0;
    }

    #petitie .form-group { margin-bottom: 4px; }
    #petitie .form-group label { margin-bottom: 0; }
}

@media screen and (min-width: 768px) {
    .thema_select_small { display: none !important; }
}

@media (max-width: 768px) and (orientation: portrait) {
    .rotate-hint { display: block; }
}

/* ── Stemwijzer ─────────────────────────────────────── */
.judgement_name { padding: 10px 0; }
.judgement_partyname { padding-top: 12px; font-size: 17px; }

#judgement {
    border-collapse: collapse;
    border: 0 solid #ccc !important;
}

.theme-select {
    display: flex;
    align-items: center;
    padding: 0.3em 1em;
    background: #e5f5e5;
}

.theme-select h3 { font-size: 16px; }
.rotate-hint { display: none; }