/*
Theme Name: Kwadrant Hello
Template: hello-elementor
Description: Child theme of Hello Elementor for kwadrant-finance.nl. Takes over the header, footer, page frame, post, archive, search, 404, news overview and contact form that Elementor Pro provided, so Pro can be removed. Inert while Elementor Pro is active.
Version: 1.0.2
Author: Jorijn Schrijvershof
Text Domain: kwadrant-hello
Requires at least: 6.3
Requires PHP: 8.1
License: GPL-2.0-or-later
*/

/* ==========================================================================
   1. Base typography (moved from the Customizer's Additional CSS of Hello Elementor,
      which a child theme does not inherit; kept verbatim)
   ========================================================================== */
/* Bridge base typography carried over to Hello Elementor (kwadrant, 2026-10-12) */
body{font-family:Arial,sans-serif;font-size:14px;line-height:26px;color:#7c7c7c;font-weight:400}
h1,h2,h3,h4,h5,h6{margin:0;font-family:Arial,sans-serif;color:#292d33;letter-spacing:-0.8px}
h1{font-size:24px;line-height:60px;font-weight:700;letter-spacing:1px;color:#020101}
h2{font-size:37px;line-height:47px;font-weight:700}
h3{font-size:24px;line-height:30px;font-weight:700}
h4{font-size:20px;line-height:30px;font-weight:600}
h5{font-size:17px;line-height:29px;font-weight:500;color:#7c7c7c}
h6{font-size:12px;line-height:25px;font-weight:500;color:#7c7c7c;letter-spacing:-0.3px;text-transform:uppercase}
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}
p{margin:0;font-family:"Work Sans",sans-serif;font-size:14px;line-height:22px;color:#7c7c7c}
a,p a{color:#303030;text-decoration:none}
a:hover,p a:hover{color:#4886ff}
ul,ol{margin:0;padding-left:14px}
ol{padding-left:0;list-style-position:inside}
blockquote{margin:0;padding-left:10px;border-left:4px solid #e3e3e3}
table{margin:0;font-size:14px;line-height:26px}
table td,table th{padding:0 0 0 10px;border:0;background:none}
table tbody tr:hover>td,table tbody>tr:nth-child(odd)>td{background:none}
label{line-height:26px}
::selection{background:#4886ff}
.page-header .entry-title,.site-main>.page-header{display:none}
.single-post .elementor-widget-theme-post-content p{margin-bottom:22px}
.single-post .elementor-widget-theme-post-content p:last-child{margin-bottom:0}
@media (max-width:767px){.elementor-posts--thumbnail-left .elementor-post{display:block}.elementor-posts--thumbnail-left .elementor-post__thumbnail__link{width:100%!important;margin:0 0 23px!important}}

/* ==========================================================================
   2. Elementor Pro "Custom CSS" that Elementor (free) no longer prints
   ========================================================================== */

/* Site Settings (kit 847). */
.elementor-widget-text-editor ul,
.elementor-widget-theme-post-content ul,
.kf-post__content ul {
	list-style-position: outside;
	padding-inline-start: 1em;
}

/* Thema's (page 1508): layout of the Informanagement theme list. The .Themes_list_fbbutton_btn
   rules match nothing at the moment; kept so the page looks the same if they come back. */
.Themes_list_box { display: flex; flex-direction: column; }
.Themes_list_box_right { flex-grow: 1; display: flex; flex-direction: column; }
.Themes_list_title { margin: 0 !important; }
.Themes_list_textarea { flex-grow: 1; }
.Themes_list_fbbutton_btn { font-size: 0 !important; }
.Themes_list_fbbutton_btn:after { content: 'Download Brochure'; font-size: 14px; font-weight: 700; }
.Themes_list_fbbutton_btn {
	color: #00ABBC !important;
	background-color: #fff !important;
	border-radius: 0;
	text-align: left !important;
	text-transform: uppercase;
}

/* Vacancies (pages 5840, 5845, 5856). */
.page-id-5840 ul,
.page-id-5845 ul,
.page-id-5856 ul { list-style-position: outside; }

/* ==========================================================================
   3. Header (was Pro template 1399). Breakpoints as in Elementor: tablet ≤ 1024, mobile ≤ 767.
   ========================================================================== */
.kf-header { position: relative; }
.kf-wrap { max-width: 1366px; margin: 0 auto; }
.kf-header *, .kf-footer *, .kf-news *, .kf-entry *, .kf-post *, .kf-404 * { box-sizing: border-box; }

.kf-topbar { background: #fff; }
.kf-topbar__wrap { display: flex; align-items: center; min-height: 60px; }
.kf-topbar__items {
	display: grid;
	grid-template-columns: 33.33% 47.023% 19.274%;
	width: 65.974%;
	margin-left: auto;
	padding: 0 5px;
}
.kf-topbar__item {
	padding: 10px;
	text-align: end;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: -0.8px;
	color: #280F44;
}
.kf-topbar__item--phone { margin-right: 10px; }
.kf-topbar__item a,
.kf-topbar__item a:hover { color: inherit; }

.kf-mainbar { background: #fff; border-top: 3px solid #fff; padding: 0 0 10px; }
.kf-mainbar__wrap { display: flex; }
.kf-mainbar__logo { width: 22.932%; padding: 5px; }
.kf-logo { display: block; }
.kf-logo img { display: inline-block; vertical-align: middle; width: 265.5px; max-width: 90%; height: auto; }
.kf-nav { width: 77.068%; padding: 5px; display: flex; align-items: center; justify-content: flex-end; }
.kf-menu-toggle { display: none; }
.kf-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.kf-menu a {
	display: block;
	padding: 12px 28px;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
	color: #000;
}
.kf-menu .current-menu-item > a,
.kf-menu a:hover,
.kf-menu a:focus-visible { background: #00ABBC; color: #fff; }

@media (max-width: 1024px) {
	.kf-topbar { padding: 0 20px; }
	.kf-topbar__item { font-size: 13px; }
	.kf-mainbar { padding: 10px; }
	.kf-mainbar__logo { width: 90%; }
	.kf-nav { width: 10%; justify-content: flex-start; }
	.kf-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 7px;
		border: 0;
		border-radius: 3px;
		background: rgba(0, 0, 0, 0.05);
		color: #000;
		font-size: 28px;
		cursor: pointer;
	}
	.kf-menu-toggle:hover,
	.kf-menu-toggle:focus { background: rgba(0, 0, 0, 0.05); color: #000; }
	/* Two classes: the eicons sheet sets display on [class^="eicon"] and may load after this one. */
	.kf-menu-toggle .kf-menu-toggle__close,
	.kf-nav.is-open .kf-menu-toggle .kf-menu-toggle__open { display: none; }
	.kf-nav.is-open .kf-menu-toggle .kf-menu-toggle__close { display: block; }
	/* The dropdown spans the full width, 13 px below the toggle, over the page like Pro's. */
	.kf-menu { display: none; position: absolute; left: 0; right: 0; top: 158px; z-index: 9997; background: #fff; }
	.kf-nav.is-open .kf-menu { display: block; }
	.kf-menu a { padding: 10px 20px; color: #33373d; }
	.kf-menu .current-menu-item > a,
	.kf-menu a:hover,
	.kf-menu a:focus-visible { background: #3f444b; color: #fff; }
}
@media (max-width: 767px) {
	.kf-topbar { display: none; }
	.kf-mainbar { padding: 20px; }
	.kf-mainbar__logo { width: 85%; }
	.kf-nav { width: 15%; }
	.kf-logo img { width: 240px; }
	.kf-menu { top: 103px; }
}

/* ==========================================================================
   4. Footer (was Pro template 1425)
   ========================================================================== */
.kf-footer { background: #000; }
.kf-footer__wrap { display: flex; justify-content: flex-end; }
.kf-footer__links {
	width: 50%;
	padding: 10px;
	text-align: center;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 26px;
	color: #fff;
}
.kf-footer__links a,
.kf-footer__links a:hover { color: #fff; }
@media (max-width: 767px) {
	.kf-footer__links { width: 100%; padding: 11px 10px; }
}

/* ==========================================================================
   5. Page frame for pages with the default template (was Pro template 1469)
   ========================================================================== */
.kf-page { margin: 40px 0; background: #fff; }
.kf-page__wrap { max-width: 1366px; margin: 0 auto; padding: 10px; }
@media (max-width: 1024px) { .kf-page { padding: 0 20px; } }
@media (max-width: 767px) { .kf-page { padding: 0 10px; } }

/* ==========================================================================
   6. Single post (was Pro template 5996)
   ========================================================================== */
.kf-post__wrap { max-width: 1200px; margin: 0 auto; padding-bottom: 52px; }
.kf-post__image { margin-bottom: 20px; }
.kf-post .kf-post__image img { display: block; width: 100%; height: auto; max-height: none; object-fit: fill; } /* Hello caps .post images at 500 px. */
.kf-post .kf-post__title {
	margin: 0 0 20px;
	padding-top: 23px;
	font-family: Arial, sans-serif;
	font-size: 37px;
	font-weight: 700;
	line-height: 47px;
	letter-spacing: -0.8px;
	color: #292d33;
}
.kf-post__meta {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 38px;
	padding: 0;
	list-style: none;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 25px;
	letter-spacing: -0.1px;
	text-transform: uppercase;
	color: #7c7c7c;
}
.kf-post__meta li + li { margin-left: 8px; padding-left: 8px; border-left: 1px solid #bebebe; }
.kf-post__meta a { color: inherit; }
.kf-post__content p { margin-bottom: 22px; }
.kf-post__content p:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .kf-post__wrap { padding: 0 20px 52px; } }

/* ==========================================================================
   7. Archive and search results (was Pro template 5998)
   ========================================================================== */
.kf-archive__wrap { max-width: 1200px; margin: 0 auto; padding-bottom: 50px; }
.kf-entries { display: grid; row-gap: 32px; }
.kf-entry { display: flex; align-items: flex-start; }
.kf-entry__image { position: relative; display: block; flex: 0 0 50%; margin-right: 23px; aspect-ratio: 1 / 0.66; overflow: hidden; }
.kf-entry__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kf-entry__text { flex: 1; min-width: 0; }
.kf-entry .kf-entry__title {
	margin: 0 0 8px;
	font-family: Arial, sans-serif;
	font-size: 37px;
	font-weight: 700;
	line-height: 47px;
	letter-spacing: -0.8px;
	color: #292d33;
}
.kf-entry__date { margin-bottom: 18px; font-size: 14px; font-weight: 500; line-height: 26px; color: #bebebe; }
.kf-entry__excerpt { margin-bottom: 10px; }
.kf-entry__more { font-size: 12px; font-weight: 600; line-height: 30px; text-transform: uppercase; color: #4886ff; }
.kf-pagination { margin-top: 40px; text-align: center; font-size: 18px; line-height: 38px; }
.kf-pagination .page-numbers { margin: 0 5px; color: #b4b4b4; }
.kf-pagination .prev { margin-left: 0; }
.kf-pagination .next { margin-right: 0; }
.kf-pagination .current { color: #303030; }
@media (max-width: 767px) {
	.kf-archive__wrap { padding: 0 20px 50px; }
	.kf-entry { display: block; }
	.kf-entry__image { width: 100%; margin: 0 0 23px; aspect-ratio: 1 / 0.5; }
	.kf-entry .kf-entry__title { font-size: 26px; line-height: 34px; }
}

/* ==========================================================================
   8. 404 (was Pro template 6000)
   ========================================================================== */
@media (max-width: 767px) { .kf-404__wrap { padding: 0 20px; } }
.kf-404__wrap { display: flex; flex-direction: column; max-width: 1200px; margin: 0 auto; text-align: center; }
.kf-404 .kf-404__title {
	margin: 40px 0;
	font-family: Arial, sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 47px;
	letter-spacing: -0.8px;
	color: #292d33;
}
.kf-404__action { margin: 55px 0 118px; }
.kf-404__button {
	display: inline-block;
	padding: 0 50px;
	border-radius: 4px;
	background: #4886ff;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 63px;
	letter-spacing: -0.8px;
}
.kf-404__button:hover,
.kf-404__button:focus { background: #292d33; color: #fff; }

/* ==========================================================================
   9. Nieuws: cards (was the Pro Posts widget, cards skin)
   ========================================================================== */
.kf-news__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.kf-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}
.kf-card__image { position: relative; display: block; margin-bottom: 20px; aspect-ratio: 1 / 0.58; overflow: hidden; }
.kf-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kf-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	margin: 3px;
	padding: 0.6em 1.2em;
	border-radius: 5px;
	background: #020101;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	text-transform: uppercase;
}
.kf-card__text { display: flex; flex-direction: column; flex-grow: 1; padding: 0 8px; }
.kf-card .kf-card__title {
	margin: 0 0 25px;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: -0.8px;
	color: #292d33;
}
.kf-card__excerpt { margin-bottom: 25px; line-height: 1.7; }
.kf-card__excerpt p { line-height: 1.5em; color: #777; }
.kf-card__more { margin-top: auto; }
.kf-card__more a { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 700; line-height: 26px; text-transform: uppercase; color: #00ABBC; }
.kf-card__meta { padding: 10px 8px; border-top: 1px solid #fff; font-size: 12px; line-height: 1.3em; color: #adadad; }
.kf-news__nav { margin-top: 30px; text-align: center; }
.kf-news__nav a { margin: 0 10px; }
.kf-news.is-infinite .kf-news__nav { visibility: hidden; height: 1px; margin: 0; overflow: hidden; }
@media (max-width: 1024px) { .kf-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.kf-news__grid { grid-template-columns: minmax(0, 1fr); }
	.kf-card__image { aspect-ratio: 1 / 0.5; }
}

/* ==========================================================================
   10. Contact form (Contact Form 7, styled like the Pro form it replaces)
   ========================================================================== */
.kf-form .kf-field { width: 80%; margin: 0 0 10px; padding: 0 5px; }
.kf-form label { display: block; font-size: 14px; line-height: 26px; color: #7c7c7c; }
.kf-form .kf-req { color: red; }
.kf-form .wpcf7-form-control-wrap { display: block; }
.kf-form input[type="text"],
.kf-form input[type="email"],
.kf-form textarea {
	display: block;
	width: 100%;
	min-height: 47px;
	padding: 6px 16px;
	border: 1px solid #69727d;
	border-radius: 4px;
	background: #fff;
	color: #1f2124;
	font-size: 16px;
	line-height: 1.4;
}
.kf-form .kf-submit { margin: 0; padding: 0 5px; }
.kf-form input[type="submit"] {
	padding: 12px 24px;
	border: 0;
	border-radius: 3px;
	background: #00ABBC;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 16px;
	cursor: pointer;
}
.kf-form input[type="submit"]:hover,
.kf-form input[type="submit"]:focus { background: #00ABBC; color: #fff; opacity: 0.9; }
.kf-form .wpcf7-spinner { vertical-align: middle; }
@media (max-width: 767px) { .kf-form .kf-field { width: 100%; } }
