/* created by jos velema juli 2025 info@codette.net */

:root {
    /* Modern Color Palette */
    --primary: #364153;
    --primary-contrast: #202732;
    --primary-invert: #364153;
    --secondary: #64748b;
    --secondary-light: #94a3b8;
    --success: #10b981;
    --success-light: #34d399;
    --danger: #ef4444;
    --danger-light: #f87171;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --info: #0ea5e9;
    --info-light: #38bdf8;
    --light: #f8fafc;
    --dark: #1e293b;
    --body-bg: #ffffff;
    --body-color: #334155;
    --heading-color: #1e293b;
  --link-color: #2B5FB3;     /* kobaltblauw */
  --link-hover: #2741B5;
  --link-visited: #4b5563;   /* gedempt grijsblauw */

    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --progress-color: #60ed7c;
    --input-icon-color: #64748b;
	
	  /* Accent (knoppen/CTA) */
  --accent: #E85D75;         /* koraal */
  --accent-700: #D44B63;     /* hover */
  --accent-50: rgba(232, 93, 117, 0.12); /* soft bg for outline/focus */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-contrast) 100%);
    --gradient-link: linear-gradient(135deg, var(--link-color) 0%, var(--link-hover-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-success: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
    --gradient-danger: linear-gradient(135deg, var(--danger) 0%, var(--danger-light) 100%);
    --gradient-warning: linear-gradient(135deg, var(--warning) 0%, var(--warning-light) 100%);
    --gradient-info: linear-gradient(135deg, var(--info) 0%, var(--info-light) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);


    --font-size-base: 1rem;
    --line-height-base: 1.6;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-base: 1rem;
    --spacing-base-half: 0.5rem;
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;
    --container-max-width: 1200px;

    /* Animation */
    --transition-base: all 0.2s ease-in-out;
    --transition-slow: all 0.3s ease-in-out;

    /* Color scheme */
    color-scheme: light;
    --color-mode: 'light';

}



html {
    font-size: 16px !important;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .heading, .page-header-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600;
  letter-spacing: 1px;
}
h1 {
  font-size: clamp(2rem, 1.5rem + 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 1rem + 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.125rem, 0.875rem + 2vw, 2rem);
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
    text-wrap: balance;
    text-wrap: pretty;
    width: min(96%,88ch);
    text-align: left;
    margin-inline: auto;
    margin: 0 auto 1rem auto;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

h3 {
	position:relative;
}

h3::after {
	content: '';
	width: 20ch;
	height: 2px;
	background-image: linear-gradient(to right, #fafafa, #f0f0f0 66%, transparent)
}



#site-navigation a,
.main-navigation a,
.menu a {
  font-size: clamp(0.6875rem, 0.5rem + 0.9vw, 0.8125rem) !important;
}



/* Body text: Open Sans */
body, p, li, .entry-content, .wpb_text_column {
  font-family: 'Open Sans', sans-serif !important;
  line-height: 1.75;
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: calc(var(--spacing-base) * 2) 0;
}

/* Lists */
ul, ol {
    margin-bottom: var(--spacing-base);
    padding-left: 1.5rem;
}

li {
    margin-bottom: calc(var(--spacing-base) * 0.5);
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: var(--spacing-base);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

th, td {
    padding: calc(var(--spacing-base) * 0.75);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

thead {
    background: var(--gradient-secondary);
}

th {
    font-weight: var(--font-weight-bold);
    color: white;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(0, 0, 0, 0.02);
}

:root[color-scheme="dark"] tr:hover td {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Forms */
form {
    background-color: var(--card-bg);
    padding: var(--spacing-base);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-base);
    border: 1px solid var(--border-color);
}

form > div {
    margin-bottom: var(--spacing-base);
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

a.btn {
	text-decoration: none !important; 
	}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="color"],
input[type="file"],
input[type="range"],
input[type="checkbox"],
input[type="radio"],
select,
textarea,
.btn{
    display: block;
    width: 100%;
    margin-bottom: var(--spacing-base) !important;
    padding: calc(var(--spacing-base) * 0.75) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: var(--body-bg);
    color: var(--body-color);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btn {
	width: max-content;
	
}


input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-bottom: 0;
    display: inline-block;
    margin-right: 0.5rem;
}

input[type="color"] {
    padding: 0;
    height: 40px;
    border-radius: unset;
}

input[type="range"] {
    padding: 0;
}

/* Input styling with icons */
input[type="url"], input[type="email"], input[type="password"], input[type="tel"], input[type="search"] {
    padding-left: 2.5rem !important;
    background-repeat: no-repeat;
    background-position: 0.75rem center;
    background-size: 1rem;
    position: relative;
}

input[type="url"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23989fab' viewBox='0 0 16 16'%3E%3Cpath d='M4.715 6.542 3.343 7.914a3 3 0 1 0 4.243 4.243l1.828-1.829A3 3 0 0 0 8.586 5.5L8 6.086a1.002 1.002 0 0 0-.154.199 2 2 0 0 1 .861 3.337L6.88 11.45a2 2 0 1 1-2.83-2.83l.793-.792a4.018 4.018 0 0 1-.128-1.287z'/%3E%3Cpath d='M6.586 4.672A3 3 0 0 0 7.414 9.5l.775-.776a2 2 0 0 1-.896-3.346L9.12 3.55a2 2 0 1 1 2.83 2.83l-.793.792c.112.42.155.855.128 1.287l1.372-1.372a3 3 0 1 0-4.243-4.243L6.586 4.672z'/%3E%3C/svg%3E");
}

input[type="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23989fab' viewBox='0 0 16 16'%3E%3Cpath d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z'/%3E%3C/svg%3E");
}

input[type="password"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23989fab' viewBox='0 0 16 16'%3E%3Cpath transform='rotate(-45 8 8)' d='M3.5 11.5a3.5 3.5 0 1 1 3.163-5H14L15.5 8 14 9.5l-1-1-1 1-1-1-1 1-1-1-1 1H6.663a3.5 3.5 0 0 1-3.163 2zM2.5 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E");
}

input[type="tel"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' stroke='%23989fab' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3 5.5C3 14.06 9.94 21 18.5 21c.386 0 .77-.014 1.148-.042.435-.032.653-.048.851-.162a1.06 1.06 0 0 0 .42-.432c.11-.2.121-.418.145-.853l.17-3.072a1.517 1.517 0 0 0-.828-1.536l-2.546-1.273a1.517 1.517 0 0 0-1.784.307l-.89 1.04c-.34.398-.873.54-1.342.353a10.49 10.49 0 0 1-3.27-2.27 10.49 10.49 0 0 1-2.27-3.27 1.25 1.25 0 0 1 .353-1.342l1.04-.89a1.517 1.517 0 0 0 .307-1.784L8.68 3.67A1.517 1.517 0 0 0 7.144 2.84l-3.072.17c-.435.024-.653.036-.853.145a1.06 1.06 0 0 0-.432.42c-.114.198-.13.416-.162.851C3.014 4.73 3 5.114 3 5.5Z'/%3E%3C/svg%3E");
}

input[type="search"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23989fab' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E");
}

/* Ensure text is visible */
input[type="url"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"] {
    color: var(--body-color);
}

input[type="url"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
input[type="search"]::placeholder {
    color: var(--body-color);
    opacity: 0.7;
}


input[type="search"] {
    border-radius: var(--border-radius-full);
}



/* Select styling with icon */
select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23364153' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 2rem;
}

:root[color-scheme="dark"] select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23e2e8f0' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--border-color);
    box-shadow: 0 0 0px 3px rgba(102, 118, 201, 0.54);
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

label, .nf-field-label,
.nf-field-label .nf-label-span, .nf-field-label label{
    display: block;
    margin-bottom: calc(var(--spacing-base) * 0.5) !important;
    font-weight: var(--font-weight-medium) !important;
}

button:not(.mejs-button>button),
input[type="button"],
input[type="reset"],
input[type="submit"] {
    vertical-align: middle;
    min-height: 3.1rem;
    min-width: 6.5rem;
    display: inline-block;
    padding: calc(var(--spacing-base) * 0.75) var(--spacing-base);
    margin: 0.125rem 0.125rem 0.125rem 0;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Create the loading spinner using ::after pseudo-element --> conflict with mejs media element */
/* button:empty::after {
    content: "";
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    width: 16px;
    height: 16px;
    border: 3px solid rgb(255, 255, 255);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} */

button:after,
input[type="button"]:after,
input[type="reset"]:after,
input[type="submit"]:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    transition: var(--transition-base);
}

button:hover:after,
input[type="button"]:hover:after,
input[type="reset"]:hover:after,
input[type="submit"]:hover:after {
    background-color: rgba(255, 255, 255, 0.1);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    box-shadow: var(--shadow-md);
}

button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    transform: translateY(2px);
    box-shadow: var(--shadow-sm);
    filter: saturate(0.9) brightness(1.1);
}

/* button:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
input[type="submit"]:disabled {
    background: var(--gradient-secondary);
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}
 */

/* Button Variants */
button.success,
input[type="button"].success,
input[type="submit"].success {
    background: var(--gradient-success) !important;
}

button.danger,
input[type="button"].danger,
input[type="submit"].danger {
    background: var(--gradient-danger);
}

button.warning,
input[type="button"].warning,
input[type="submit"].warning {
    background: var(--gradient-warning);
}

button.info,
input[type="button"].info,
input[type="submit"].info {
    background: var(--gradient-info);
}

button.outline,
input[type="button"].outline,
input[type="submit"].outline {
    background: transparent;
    border: 1px solid var(--primary-invert);
    color: var(--primary-invert);
}

button.outline:hover,
input[type="button"].outline:hover,
input[type="submit"].outline:hover {
    background-color: var(--primary);
    color: white;
}


/* Gevulde accent */
.btn-accent {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-700) 100%);
  box-shadow: 0 6px 18px rgba(232, 93, 117, 0.25);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-700) 0%, var(--accent-700) 100%);
  box-shadow: 0 8px 22px rgba(212, 75, 99, 0.35);
}
.btn-accent:active { transform: translateY(1px) scale(.997); }

/* Outline accent */
.btn-accent-outline {
  color: var(--accent-700);
  background: transparent;
  border: 2px solid var(--accent-700);
}
.btn-accent-outline:hover {
  background: var(--accent-50);
}

/* Subtiele link-button (voor in content) */
.btn-link {
  color: var(--link-color);
  background: transparent;
  padding: 0;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-link:hover { color: var(--link-hover); }

/* Focus states – toegankelijk en consistent */
.btn:focus-visible,
.button:focus-visible,
.btn-accent:focus-visible,
.btn-accent-outline:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--accent-50), 0 0 0 6px rgba(0,0,0,.08);
}

/* Optioneel: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn, .button { transition: none; }
}

