/*
Theme Name: K6 Tegen Kanker Custom
Theme URI:
Author: K6 Tegen Kanker
Description: Custom WordPress theme for K6 Tegen Kanker.
Version: 0.4.0
*/

/* =========================================================
   RESET / BASIC
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.k6-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-top: 2px solid #111827;
    border-bottom: 1px solid #e5e7eb;
}

.site-header .k6-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding a {
    color: #111827;
    text-decoration: none;
}

.site-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.site-description {
    display: none;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    position: relative;
    display: block;
    padding: 28px 0;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 2px;
    background: #168bd1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #168bd1;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    transform: scaleX(1);
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 28px;
    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.k6-hero {
    padding: 100px 20px;
    background: #1769aa;
    color: #ffffff;
    text-align: center;
}

.k6-hero h1 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 52px;
    line-height: 1.15;
}

.k6-hero p {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
}


/* =========================================================
   EVENTS SECTION
   ========================================================= */

.k6-events-section {
    padding: 90px 20px;
    background: #f5f7f9;
}

.k6-section-heading {
    margin-bottom: 45px;
    text-align: center;
}

.k6-section-label {
    display: block;
    margin-bottom: 10px;
    color: #1769aa;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.k6-section-heading h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 38px;
    line-height: 1.2;
}

.k6-section-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 17px;
}


/* =========================================================
   EVENT GRID
   ========================================================= */

.k6-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   EVENT CARD
   ========================================================= */

.k6-event-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.k6-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   EVENT IMAGE
   ========================================================= */

.k6-event-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #dfe6ec;
}

/* Event photo - complete image without cropping */
.k6-event-image-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1769aa;
}

.k6-event-image-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Placeholder when no photo is selected */
.k6-event-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #1769aa;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}
}


/* =========================================================
   EVENT CONTENT
   ========================================================= */

.k6-event-content {
    padding: 25px;
}

.k6-event-content h3 {
    margin: 0 0 20px;
    color: #111827;
    font-size: 23px;
    line-height: 1.3;
}

.k6-event-content h3 a {
    color: #111827;
    text-decoration: none;
}

.k6-event-content h3 a:hover {
    color: #1769aa;
}


/* =========================================================
   EVENT META
   ========================================================= */

.k6-event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.k6-event-meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #5f6b76;
    font-size: 15px;
}

.k6-event-icon {
    width: 20px;
    flex-shrink: 0;
}


/* =========================================================
   EVENT LINK
   ========================================================= */

.k6-event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1769aa;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.k6-event-link:hover {
    color: #0d4f80;
}

.k6-event-link span {
    transition: transform 0.2s ease;
}

.k6-event-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   ALL EVENTS BUTTON
   ========================================================= */

.k6-events-button-wrapper {
    margin-top: 45px;
    text-align: center;
}

.k6-button {
    display: inline-block;
    padding: 13px 27px;
    border: 2px solid #1769aa;
    border-radius: 3px;
    background: #1769aa;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.k6-button:hover {
    background: #ffffff;
    color: #1769aa;
}


/* =========================================================
   NO EVENTS
   ========================================================= */

.k6-no-events {
    padding: 40px;
    background: #ffffff;
    color: #6b7280;
    text-align: center;
}


/* =========================================================
   GENERAL WORDPRESS CONTENT
   ========================================================= */

.site-main {
    width: 100%;
}

.entry-content {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 20px;
}

.entry-title {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 45px 20px;
    background: #111827;
    color: #ffffff;
}

.site-footer .k6-container {
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: #d1d5db;
    font-size: 14px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .site-header .k6-container {
        min-height: 72px;
    }

    .main-navigation ul {
        gap: 20px;
    }

    .main-navigation a {
        font-size: 14px;
    }

    .k6-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .k6-hero h1 {
        font-size: 44px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .site-header .k6-container {
        min-height: 70px;
    }

    .site-title {
        font-size: 23px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        width: 100%;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 20px;
    }

    .main-navigation a {
        padding: 12px 0;
    }

    .main-navigation a::after {
        display: none;
    }

    .k6-events-section {
        padding: 60px 20px;
    }

    .k6-section-heading {
        margin-bottom: 35px;
    }

    .k6-section-heading h2 {
        font-size: 30px;
    }

    .k6-events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .k6-event-image {
        height: 210px;
    }

    .k6-hero {
        padding: 70px 20px;
    }

    .k6-hero h1 {
        font-size: 38px;
    }

    .k6-hero p {
        font-size: 18px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .k6-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .k6-events-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .k6-event-content {
        padding: 20px;
    }

}

/* =========================================================
   K6 HEADER - RECOVERY / MAIN HEADER
   ========================================================= */

header,
.site-header,
.k6-header {
    width: 100%;
    background: #ffffff;
    border-top: 2px solid #111827;
    border-bottom: 1px solid #e5e7eb;
}

header > div,
.site-header > div,
.k6-header > div {
    width: 100%;
    max-width: 1180px;
    min-height: 82px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo / site name */

header .site-title,
header .site-branding,
header .k6-logo,
.site-header .site-title,
.site-header .site-branding,
.k6-header .site-title,
.k6-header .site-branding {
    margin: 0;
    padding: 0;
}

header .site-title a,
header .site-branding a,
header .k6-logo a,
.site-header .site-title a,
.site-header .site-branding a,
.k6-header .site-title a,
.k6-header .site-branding a {
    color: #111827;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
}


/* Navigation */

header nav ul,
.site-header nav ul,
.k6-header nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav li,
.site-header nav li,
.k6-header nav li {
    margin: 0;
    padding: 0;
}

header nav a,
.site-header nav a,
.k6-header nav a {
    position: relative;
    display: block;
    padding: 28px 0;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

header nav a:hover,
.site-header nav a:hover,
.k6-header nav a:hover {
    color: #168bd1;
}


/* Active menu */

header nav .current-menu-item a,
.site-header nav .current-menu-item a,
.k6-header nav .current-menu-item a {
    color: #168bd1;
}


/* Active / hover underline */

header nav a::after,
.site-header nav a::after,
.k6-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 2px;
    background: #168bd1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

header nav a:hover::after,
header nav .current-menu-item a::after,
.site-header nav a:hover::after,
.site-header nav .current-menu-item a::after,
.k6-header nav a:hover::after,
.k6-header nav .current-menu-item a::after {
    transform: scaleX(1);
}


/* =========================================================
   HEADER TABLET
   ========================================================= */

@media (max-width: 900px) {

    header > div,
    .site-header > div,
    .k6-header > div {
        min-height: 72px;
    }

    header nav ul,
    .site-header nav ul,
    .k6-header nav ul {
        gap: 20px;
    }

}


/* =========================================================
   HEADER MOBILE
   ========================================================= */

@media (max-width: 700px) {

    header > div,
    .site-header > div,
    .k6-header > div {
        min-height: 70px;
    }

    header nav ul,
    .site-header nav ul,
    .k6-header nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

}

.k6-event-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1769aa;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.k6-arrow {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 10px;
}

.k6-arrow::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 14px;
    height: 2px;
    background: currentColor;
}

.k6-arrow::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.k6-event-link:hover .k6-arrow {
    transform: translateX(4px);
    transition: transform 0.2s ease;
}
/* =========================================================
   EVENT DETAIL PAGE
   ========================================================= */

.k6-event-detail {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 20px 90px;
}


/* Event image */

.k6-event-detail-image {
    width: 100%;
    max-height: 500px;
    margin-bottom: 45px;
    overflow: hidden;
    border-radius: 6px;
}

.k6-event-detail-image {
    width: 100%;
    margin-bottom: 45px;
    overflow: hidden;
    border-radius: 6px;
    background: #1769aa;
    text-align: center;
}

.k6-event-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    margin: 0 auto;
}

/* Event information */

.k6-event-detail-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
    padding: 30px;
    background: #f5f7f9;
    border-radius: 6px;
}

.k6-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.k6-detail-item strong {
    color: #1769aa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.k6-detail-item span {
    color: #111827;
    font-size: 17px;
    font-weight: 600;
}

.k6-map-link {
    display: block;
    margin-top: 5px;
    color: #1769aa;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.k6-map-link:hover {
    text-decoration: underline;
}


/* External button */

.k6-event-external-link {
    margin-bottom: 45px;
}


/* Event description */

.k6-event-description {
    max-width: 850px;
    margin: 0 auto 70px;
    color: #374151;
    font-size: 17px;
    line-height: 1.8;
}

.k6-event-description p {
    margin: 0 0 20px;
}


/* =========================================================
   REGISTRATION
   ========================================================= */

.k6-registration {
    max-width: 850px;
    margin: 0 auto;
    padding: 50px;
    background: #f5f7f9;
    border-radius: 6px;
}

.k6-registration-heading {
    margin-bottom: 35px;
    text-align: center;
}

.k6-registration-heading h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 32px;
    line-height: 1.2;
}

.k6-registration-heading p {
    margin: 0;
    color: #6b7280;
}


/* Form */

.k6-registration-form {
    display: grid;
    gap: 22px;
}

.k6-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.k6-form-field label {
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}

.k6-form-field input,
.k6-form-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
}

.k6-form-field input:focus,
.k6-form-field select:focus {
    outline: none;
    border-color: #1769aa;
    box-shadow: 0 0 0 2px rgba(23, 105, 170, 0.12);
}

.k6-registration-form .k6-button {
    justify-self: start;
    margin-top: 5px;
    cursor: pointer;
}


/* Success */

.k6-registration-success {
    margin-bottom: 30px;
    padding: 20px 25px;
    border-left: 4px solid #1769aa;
    background: #ffffff;
}

.k6-registration-success strong {
    display: block;
    margin-bottom: 5px;
    color: #111827;
}

.k6-registration-success p {
    margin: 0;
    color: #5f6b76;
}


/* Error */

.k6-registration-error {
    margin-bottom: 30px;
    padding: 20px 25px;
    border-left: 4px solid #b91c1c;
    background: #ffffff;
    color: #991b1b;
}


/* =========================================================
   EVENT DETAIL TABLET
   ========================================================= */

@media (max-width: 900px) {

    .k6-event-detail-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .k6-event-detail-image img {
        height: 400px;
    }

}


/* =========================================================
   EVENT DETAIL MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .k6-event-detail {
        padding: 50px 20px 70px;
    }

    .k6-event-detail-image {
        margin-bottom: 30px;
    }

    .k6-event-detail-image img {
        height: 260px;
    }

    .k6-event-detail-info {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
        margin-bottom: 35px;
    }

    .k6-event-description {
        margin-bottom: 50px;
        font-size: 16px;
    }

    .k6-registration {
        padding: 30px 20px;
    }

    .k6-registration-heading h2 {
        font-size: 27px;
    }

}
/* =========================================================
   K6 EVENT DETAIL PAGE
   ========================================================= */


/* ---------------------------------------------------------
   Hide normal WordPress event title
   --------------------------------------------------------- */

body.single-k6_event .entry-title,
body.single-k6_event h1.entry-title,
body.single-k6_event .page-title {
    display: none !important;
}


/* ---------------------------------------------------------
   Event detail container
   --------------------------------------------------------- */

body.single-k6_event .k6-event-detail {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 90px;
}


/* ---------------------------------------------------------
   FULL WIDTH EVENT HEADER
   --------------------------------------------------------- */

body.single-k6_event .k6-event-hero {
    position: relative;

    width: 100vw;
    max-width: none;
    height: 400px;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 50px;

    overflow: hidden;

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    border-radius: 0;
}


/* Dark overlay */

body.single-k6_event .k6-event-hero-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.30);
}


/* Event title in header */

body.single-k6_event .k6-event-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;

    text-align: center;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}


/* ---------------------------------------------------------
   EVENT POSTER
   --------------------------------------------------------- */

body.single-k6_event .k6-event-detail-image {
    width: 100%;
    max-width: 900px;

    height: auto;
    max-height: none;

    margin: 0 auto 35px;

    overflow: visible;

    background: #1769aa;
    border-radius: 6px;

    text-align: center;
}

body.single-k6_event .k6-event-detail-image img {
    display: block;

    width: auto;
    max-width: 100%;

    height: auto;
    max-height: none;

    object-fit: contain;

    margin: 0 auto;
}

body.single-k6_event .k6-event-detail-image img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 900px;

    margin: 0 auto;

    object-fit: contain;
}


/* ---------------------------------------------------------
   EVENT INFORMATION
   --------------------------------------------------------- */

body.single-k6_event .k6-event-detail-info {
    margin-bottom: 45px;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    body.single-k6_event .k6-event-detail {
        padding: 0 15px 70px;
    }

    body.single-k6_event .k6-event-hero {
        height: 260px;

        margin-bottom: 30px;
    }

    body.single-k6_event .k6-event-hero h1 {
        font-size: 36px;
    }

    body.single-k6_event .k6-event-detail-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

}
/* Hide the default WordPress title on event pages */
body.single-k6_event .entry-title,
body.single-k6_event h1.entry-title,
body.single-k6_event .page-title,
body.single-k6_event .wp-block-post-title {
    display: none !important;
}
/* Hide only the default event title.
   Keep the title inside the header. */

body.single-k6_event h1:not(.k6-event-hero h1) {
    display: none !important;
}
/* =========================================================
   EVENT CONTENT WIDTH
   Poster, event information and registration
   ========================================================= */

body.single-k6_event .k6-event-detail-image,
body.single-k6_event .k6-event-detail-info,
body.single-k6_event .k6-registration {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   EVENT POSTER - FULLY VISIBLE
   ========================================================= */

body.single-k6_event .k6-event-detail-image {
    margin-bottom: 35px;
    overflow: hidden;
    background: #1769aa;
    border-radius: 6px;
    text-align: center;
}

body.single-k6_event .k6-event-detail-image img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    max-height: none;

    object-fit: contain;

    margin: 0 auto;
}


/* =========================================================
   EVENT INFORMATION
   ========================================================= */

body.single-k6_event .k6-event-detail-info {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 45px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    background: #f5f7f9;
    border-radius: 6px;
    overflow: hidden;
}

body.single-k6_event .k6-detail-item {
    padding: 18px 20px;
}


/* =========================================================
   REGISTRATION
   ========================================================= */

body.single-k6_event .k6-registration {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    body.single-k6_event .k6-event-detail-image,
    body.single-k6_event .k6-event-detail-info,
    body.single-k6_event .k6-registration {
        width: 100%;
        max-width: 100%;
    }

    body.single-k6_event .k6-event-detail-info {
        grid-template-columns: 1fr 1fr;
    }

    body.single-k6_event .k6-detail-item {
        padding: 15px;
    }

}
/* =========================================================
   K6 LOGO
   ========================================================= */

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-branding .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 260px;
    max-height: 75px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .site-branding .custom-logo {
        max-width: 190px;
        max-height: 60px;
    }
}

/* =========================================================
   FINAL K6 HEADER
   ========================================================= */

.site-header-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
    min-height: 90px !important;
    margin: 0 auto !important;
    padding: 0 25px !important;
    box-sizing: border-box !important;
}

.site-branding {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
}

.site-branding .custom-logo-link {
    display: flex !important;
    align-items: center !important;
}

.site-branding .custom-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 220px !important;
    max-height: 75px !important;
}

/* Navigatie rechts naast logo */
.site-navigation {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
    margin-top: 0 !important;
    align-items: center !important;
}

.site-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-navigation li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-navigation a {
    display: block !important;
    white-space: nowrap !important;
    padding: 10px 0 !important;
}

/* Hamburger/menu-knop niet tonen op desktop */
.site-menu-toggle {
    display: none !important;
}


/* Mobiel */
@media (max-width: 700px) {

    .site-header-inner {
        min-height: 70px !important;
        padding: 0 15px !important;
    }

    .site-branding .custom-logo {
        max-width: 180px !important;
        max-height: 60px !important;
    }

    .site-menu-toggle {
        display: block !important;
    }

    .site-navigation {
        display: none !important;
    }
}
/* =========================================================
   K6 TEAM - SMALLER PHOTOS
   ========================================================= */

.k6-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 240px);
    justify-content: center;
    gap: 35px 45px;
}

.k6-team-card {
    width: 240px;
}

.k6-team-card img {
    display: block;
    width: 240px;
    height: 240px;
    object-fit: cover;
}

/* Tablet */
@media (max-width: 900px) {

    .k6-team-grid {
        grid-template-columns: repeat(2, 220px);
        gap: 30px;
    }

    .k6-team-card {
        width: 220px;
    }

    .k6-team-card img {
        width: 220px;
        height: 220px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .k6-team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .k6-team-card {
        width: 220px;
        margin: 0 auto;
    }

    .k6-team-card img {
        width: 220px;
        height: 220px;
    }
}
/* =========================================================
   SPACE ABOVE FOOTER
   ========================================================= */

.k6-team-grid {
    margin-bottom: 80px;
}
/* =========================================================
   TEAM HEADING
   ========================================================= */

.k6-team-heading {
    margin-bottom: 40px;
    text-align: center;
}

.k6-team-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 38px;
    line-height: 1.2;
}
/* K6 History pagina-template — voeg dit toe onderaan style.css */

/* Gebruik de classes direct op de template, onafhankelijk van WordPress body-class */
.k6-history-page {
    width: 100%;
    padding: 55px 20px 85px;
    background: #f5f7f9;
}

.k6-history-page .k6-history-page__inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.k6-history-page .k6-history-page__article {
    padding: 45px 55px 55px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.07);
}

.k6-history-page .k6-history-page__header {
    margin: 0 0 38px;
    text-align: center;
}

.k6-history-page .k6-history-page__label {
    display: block;
    margin: 0 0 12px;
    color: #1769aa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.k6-history-page .k6-history-page__title {
    max-width: none;
    margin: 0;
    padding: 0;
    color: #111827;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    text-align: center;
}

.k6-history-page .k6-history-page__accent {
    display: block;
    width: 72px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 3px;
    background: #1769aa;
}

.k6-history-page .k6-history-page__content {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    color: #374151;
    font-size: 17px;
    line-height: 1.85;
}

.k6-history-page .k6-history-page__content p {
    margin: 0 0 22px;
}

.k6-history-page .k6-history-page__content h2,
.k6-history-page .k6-history-page__content h3 {
    margin: 34px 0 16px;
    color: #111827;
    line-height: 1.3;
}

.k6-history-page .k6-history-page__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 6px;
}

.k6-history-page .k6-history-page__content figure {
    margin: 28px 0;
}

.k6-history-page .k6-history-page__content figcaption {
    margin-top: 9px;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 700px) {
    .k6-history-page {
        padding: 35px 15px 60px;
    }

    .k6-history-page .k6-history-page__article {
        padding: 30px 22px 35px;
        border-radius: 5px;
    }

    .k6-history-page .k6-history-page__header {
        margin-bottom: 28px;
    }

    .k6-history-page .k6-history-page__content {
        font-size: 16px;
        line-height: 1.75;
    }
}

/* =========================================================
   SOCIAL MEDIA ICONS - BRAND COLORS
   ========================================================= */

.site-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.site-social-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 10px;
}

.site-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
}

/* Instagram */
.site-social-link[aria-label="Instagram"] {
    color: #E1306C;
}

/* Facebook */
.site-social-link[aria-label="Facebook"] {
    color: #1877F2;
}

/* E-mail */
.site-social-link[aria-label="E-mail"] {
    color: #1769aa;
}

.site-social-link svg {
    display: block;
    width: 24px;
    height: 24px;
}

.site-social-link:hover {
    transform: translateY(-3px);
    filter: brightness(0.85);
}
/* =========================================================
   SOCIAL MEDIA ICONS - MEDIA LIBRARY
   ========================================================= */

.site-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.site-social-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 12px;
    flex-shrink: 0;
}

.site-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex: 0 0 36px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.site-social-link img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 45px !important;
    max-height: 45px !important;
    object-fit: contain;
    object-position: center;
}

.site-social-link svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 45px;
    max-height: 45px;
}

.site-social-link:hover {
    transform: translateY(-3px);
}

@media (max-width: 700px) {
    .site-social-link {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .site-social-link img {
        max-width: 30px !important;
        max-height: 30px !important;
    }

    .site-social-link svg {
        max-width: 30px;
        max-height: 30px;
    }
}

/* Social media icons - statisch */

.site-social-link,
.site-social-link:hover,
.site-social-link:focus {
    transform: none !important;
    filter: none !important;
    transition: none !important;
    text-decoration: none !important;
}

.site-social-link::before,
.site-social-link::after {
    display: none !important;
}

.site-social-link img,
.site-social-link svg {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}
/* =========================================================
   MENU HOVER - GEEN ONDERSTREPING
   ========================================================= */

/* Verwijder het streepje */
.site-navigation a::after {
    display: none !important;
    content: none !important;
}

/* Behoud kleurverandering */
.site-navigation a {
    transition: color 0.2s ease;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a {
    color: #168bd1 !important;
}
/* =========================================================
   HEADER - LOGO EN MENU VERBETERING
   ========================================================= */

/* Header */
.site-header-inner {
    min-height: 100px !important;
    padding-left: 35px !important;
    padding-right: 35px !important;
}

/* Logo */
.site-branding .custom-logo {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 190px !important;
    max-height: 80px !important;
    object-fit: contain;
}

/* Menu */
.site-navigation ul {
    gap: 32px !important;
}

.site-navigation ul a {
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* Sociale pictogrammen behouden hun eigen formaat */
.site-social-links {
    margin-left: 5px;
}

/* =========================================================
   K6 RESPONSIVE FOUNDATION - VERSION 0.4.0
   ========================================================= */
html { width: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { width: 100%; min-width: 320px; overflow-x: clip; }
img, video, iframe, embed, object { max-width: 100%; }
iframe { display: block; }
input, select, textarea, button { max-width: 100%; }

.site-menu-toggle {
    display: none; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0;
    border: 1px solid #d1d5db; border-radius: 8px;
    background: #fff; color: #111827; font-size: 27px;
    line-height: 1; cursor: pointer; z-index: 1002;
}
.site-menu-toggle:focus-visible { outline: 3px solid #1769aa; outline-offset: 3px; }
.site-navigation { min-width: 0; }
.site-navigation ul { min-width: 0; }
.site-navigation a { min-height: 42px; }

@media (max-width: 900px) {
    .site-header-inner { min-height: 84px !important; padding-left: 22px !important; padding-right: 22px !important; gap: 16px; }
    .site-branding .custom-logo { max-width: 165px !important; max-height: 66px !important; }
    .site-navigation ul { gap: 18px !important; }
    .site-navigation ul a { font-size: 15px !important; }
    .site-social-links { gap: 10px; }
}

@media (max-width: 700px) {
    .site-header { position: relative; z-index: 1000; }
    .site-header-inner { position: relative; min-height: 76px !important; padding: 8px 16px !important; justify-content: space-between !important; gap: 12px; }
    .site-branding { min-width: 0; max-width: calc(100% - 64px); }
    .site-branding .custom-logo { max-width: min(180px, 100%) !important; max-height: 58px !important; }
    .site-menu-toggle { display: inline-flex !important; flex: 0 0 46px; }
    .site-navigation {
        display: none !important; position: absolute !important; top: 100%; left: 0; right: 0;
        width: 100% !important; max-width: none !important; margin: 0 !important;
        padding: 12px 18px 18px !important; flex-direction: column !important;
        align-items: stretch !important; gap: 12px !important; background: #fff;
        border-top: 1px solid #e5e7eb; border-bottom: 1px solid #d1d5db;
        box-shadow: 0 10px 18px rgba(17,24,39,.12); z-index: 1001;
    }
    .site-navigation.is-open { display: flex !important; }
    .site-navigation > div:not(.site-social-links) { width: 100%; }
    .site-navigation ul { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; width: 100%; }
    .site-navigation li { width: 100%; border-bottom: 1px solid #eef0f2; }
    .site-navigation ul a { display: flex !important; align-items: center; width: 100%; min-height: 48px; padding: 10px 4px !important; white-space: normal !important; font-size: 16px !important; }
    .site-social-links { display: flex !important; justify-content: flex-start; gap: 16px; margin: 8px 0 0 !important; padding-top: 12px; border-top: 1px solid #eef0f2; }
    .site-social-link { width: 36px !important; height: 36px !important; flex-basis: 36px !important; }
    .k6-container { padding-left: 16px; padding-right: 16px; }
    .k6-hero { padding: 58px 16px; }
    .k6-hero h1 { font-size: clamp(28px, 8vw, 40px); line-height: 1.15; }
    .k6-hero p { font-size: 16px; }
    .site-footer__inner { padding-left: 16px; padding-right: 16px; text-align: center; }
}
@media (max-width: 380px) {
    .site-header-inner { padding-left: 12px !important; padding-right: 12px !important; }
    .site-branding .custom-logo { max-width: 155px !important; }
    .site-menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
}
