/*======================================
Theme Name: Webo child
Theme URI: http://webographics.be
Description: Webo Divi child
Version: 1.0
Author: Webographics
Author URI: http://webographics.be
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

/* === Coming Soon page - full viewport center === */
body.page-id-21473 #page-container {
    padding-top: 0 !important;
}

body.page-id-21473 #main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-id-21473 .et_pb_section_0 {
    width: 100%;
    padding: 0 !important;
}

body.page-id-21473 .et_pb_row_0 {
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 1080px !important;
    text-align: center !important;
}

body.page-id-21473 .et_pb_heading_0,
body.page-id-21473 .et_pb_heading_0 .et_pb_module_heading {
    text-align: center !important;
}

/* Hide header/footer for clean splash */
body.page-id-21473 #main-header,
body.page-id-21473 #top-header,
body.page-id-21473 #main-footer {
    display: none !important;
}

/* === CF7 Inschrijvingsformulier styling === */

.wpcf7 {
    max-width: 640px;
    margin: 0 auto;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}

/* Labels */
.wpcf7 label {
    display: block;
    margin-bottom: 18px;
    font-weight: 600;
    color: #2b2b2b;
    font-size: 15px;
}

/* Text / email / tel / date inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"] {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #c9c0a8;
    border-radius: 4px;
    background: #fffdf7;
    font-size: 15px;
    font-weight: 400;
    box-sizing: border-box;
    transition: border-color .15s ease;
}

.wpcf7 input:focus {
    outline: none;
    border-color: #8a7a4f;
}

/* Adres fieldset */
.wpcf7 fieldset {
    border: 1px solid #c9c0a8;
    border-radius: 4px;
    padding: 16px 20px 2px;
    margin-bottom: 18px;
}

.wpcf7 legend {
    font-weight: 700;
    padding: 0 8px;
    font-size: 15px;
    color: #2b2b2b;
}

/* Interests intro line */
.wpcf7 p {
    font-weight: 700;
    margin: 22px 0 10px;
    color: #2b2b2b;
}

/* Checkbox list */
.wpcf7 .wpcf7-checkbox {
    display: block;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin: 0 0 8px 0;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.wpcf7 .wpcf7-checkbox input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.15);
    vertical-align: middle;
}

/* Submit button */
.wpcf7 input[type="submit"] {
    background: #2b2b2b;
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    margin-top: 12px;
    transition: background .15s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: #000;
}

/* Validation / response messages */
.wpcf7 .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 13px;
    font-weight: 400;
}

.wpcf7 .wpcf7-response-output {
    border-radius: 4px;
    font-size: 14px;
    margin: 18px 0 0;
    padding: 12px 16px;
}

/* Mobile */
@media (max-width: 600px) {
    .wpcf7 { max-width: 100%; }
}

/* === Bestuur page - equalise DiviFlash Advanced Person photos === */

/* Fixed-size photo wrapper for every person card */
.difl_advanced_person .df_person_photo_wrapper,
.difl_advanced_person .df_person_photo_wrapper .c4-izmir {
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* The photo itself: fill the square, crop instead of stretch */
.difl_advanced_person .df_person_photo {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center center;
}

/* If the photo is rendered as an <img> inside the wrapper */
.difl_advanced_person .df_person_photo img {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center center;
}

/* Equal-height cards across the row */
.difl_advanced_person,
.difl_advanced_person .df_ap_person_container,
.difl_advanced_person .df_ap_person_wrapper {
    height: 100%;
}

.df_ap_person_desc_wrapper {
	padding-top: 10px !important;
}


/* ============================================
   SINGLE POST (Nieuws) - editorial restyle
   ============================================ */

/* --- Title block --- */
body.single-post .et_pb_text_0_tb_body {
    max-width: 820px;
    margin: 0 auto;
}
body.single-post .et_pb_text_0_tb_body h2 {
    font-size: 2.5rem;
    line-height: 1.25;
    color: #3a2b5f;
    text-align: center;
    margin-bottom: 0.6em;
}

/* --- Featured image: width only (shadow & corners are Divi native) --- */
body.single-post .et_pb_image_0_tb_body {
    max-width: 960px;
    margin: 1.5em auto 2.5em;
}

/* --- Body content: constrain width for readability --- */
body.single-post .et_pb_post_content_0_tb_body {
    max-width: 720px;
    margin: 0 auto;
}
body.single-post .et_pb_post_content_0_tb_body p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #2e2e2e;
    margin-bottom: 1.5em;
}

/* --- Lede: first paragraph stands out --- */
body.single-post .et_pb_post_content_0_tb_body > p:first-of-type {
    font-size: 1.22rem;
    line-height: 1.7;
    color: #463a5f;
}

/* --- Headings inside article --- */
body.single-post .et_pb_post_content_0_tb_body h2 {
    font-size: 1.7rem;
    color: #3a2b5f;
    margin: 1.8em 0 0.5em;
}
body.single-post .et_pb_post_content_0_tb_body h3 {
    font-size: 1.35rem;
    color: #5a4a8a;
    margin: 1.5em 0 0.4em;
}

/* --- Links --- */
body.single-post .et_pb_post_content_0_tb_body a {
    color: #6a4caf;
    text-decoration: underline;
    text-underline-offset: 2px;
}
body.single-post .et_pb_post_content_0_tb_body a:hover {
    color: #3a2b5f;
}

/* --- Blockquote --- */
body.single-post .et_pb_post_content_0_tb_body blockquote {
    border-left: 4px solid #6a4caf;
    background: #f5f1e8;
    padding: 1em 1.4em;
    margin: 1.6em 0;
    font-style: italic;
    color: #3a2b5f;
    border-radius: 0 8px 8px 0;
}

/* --- Post navigation: spaced, clear --- */
body.single-post .et_pb_post_nav.nav-single {
    max-width: 720px;
    margin: 3.5em auto 1.5em;
    padding-top: 1.6em;
    border-top: 1px solid #ddd3c0;
    font-size: 0.95rem;
}
body.single-post .et_pb_post_nav.nav-single a {
    color: #6a4caf;
    font-weight: 700;
}
body.single-post .et_pb_post_nav.nav-single a:hover {
    color: #3a2b5f;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    body.single-post .et_pb_text_0_tb_body h2 { font-size: 22px !important; }
    body.single-post .et_pb_post_content_0_tb_body p { font-size: 1rem; }
    body.single-post .et_pb_post_content_0_tb_body > p:first-of-type { font-size: 1.1rem; }
}


/* --- SINGLE POST: align text + image to same width --- */
/* --- Featured image: width only (shadow & corners are Divi native) --- */
body.single-post .et_pb_image_0_tb_body {
    max-width: 820px;
}
body.single-post .et_pb_post_content_0_tb_body {
    max-width: 820px;
}
body.single-post .et_pb_post_nav.nav-single {
    max-width: 820px;
}

