/*
Theme Name: Westland IT Support (TT25)
Description: Child-thema van Twenty Twenty-Five voor westlanditsupport.nl. Ontwerp: Site ontwerper (mockup-tt25).
Author: Westland IT Support
Template: twentytwentyfive
Version: 0.6.3
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: westland-tt25
License: GNU General Public License v2 or later

Iconen: Lucide v1.79.0 (https://lucide.dev), ISC-licentie, zie assets/icons/lucide/LICENSE.txt.
Lettertypen: Open Sans en Montserrat, SIL Open Font License 1.1.
*/

/* ---------- Focus ---------- */
:where(a, button, .wp-element-button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--navy);
	outline-offset: 3px;
}
.has-navy-background-color :where(a, .wp-element-button):focus-visible,
.wis-header :where(a, button, .wp-element-button):focus-visible,
.wis-footer :where(a, button):focus-visible,
.wis-callbar :where(a):focus-visible { outline-color: #fff; }

/* ---------- Knoppen: scherpe tekst, geen groen vlak achter outline-tekst ---------- */
.wp-element-button, .wp-block-button__link {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus {
	background-color: transparent !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.wis-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .wis-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wis-header { top: 46px; } }
.wis-header .wp-block-navigation a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; text-decoration: none; }
.wis-header .wis-tel { margin: 0; }
.wis-header .wis-tel a {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 0 12px;
	color: #FFFFFF; font-family: var(--wp--preset--font-family--open-sans);
	font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: 0.01em;
	text-decoration: none;
}
.wis-header .wis-tel-icon { width: 18px; height: 18px; flex: none; display: block; }
.wis-header .wis-tel a:hover span {
	text-decoration: underline; text-decoration-color: #2FD597;
	text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.wis-header .wis-tel a:hover { color: #FFFFFF; }
.wis-header .wis-tel a:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.wis-header .wp-block-navigation__responsive-container-open { width: 48px; height: 48px; justify-content: center; border: 2px solid rgba(255,255,255,.5); border-radius: 8px; }
.wis-header .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .wis-header .wis-header-cta { display: none !important; } }
@media (max-width: 600px) { .wis-header .wis-logo img { height: 36px !important; width: auto !important; } }

/* ---------- Hero ---------- */
.wis-hero { min-height: min(70vh, 560px) !important; }
.wis-hero .wis-meta a { color: #fff; font-weight: 600; }
@media (max-width: 600px) {
	.wis-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(0,38,63,.85), rgba(0,38,63,.9)) !important; }
	.wis-hero .wp-block-buttons, .wis-band .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.wis-hero .wp-block-button, .wis-band .wp-block-button { width: 100%; }
	.wis-hero .wp-block-button__link, .wis-band .wp-block-button__link { width: 100%; }
}

/* ---------- Dienstkaart: hele kaart klikbaar ---------- */
.wis-card { position: relative; transition: border-color .15s, box-shadow .15s; }
.wis-card:hover, .wis-card:focus-within { border-color: var(--wp--preset--color--navy) !important; box-shadow: 0 4px 16px rgba(0,38,63,.12); }
.wis-card .wis-ic { width: 44px; height: 44px; border-radius: 50%; background: #E0FBF1; display: grid; place-items: center; color: var(--wp--preset--color--navy); font-weight: 700; margin: 0 0 var(--wp--preset--spacing--30); }
.wis-card .wis-more a { font-weight: 600; color: var(--wp--preset--color--navy); text-decoration: none; }
.wis-card .wis-more a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.wis-card .wis-more a span { text-decoration: underline; }

/* ---------- Over mij ---------- */
.wis-signature img { height: 56px; width: auto; } /* handtekening is wit: direct leesbaar op navy */

/* ---------- Reviews ---------- */
.wis-review.wp-block-quote { margin: 0; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; background: #fff; padding: var(--wp--preset--spacing--40); height: 100%; }
.wis-review.wp-block-quote cite { font-style: normal; color: var(--wp--preset--color--muted); font-size: 1rem; }
.wis-review.wp-block-quote cite strong { display: block; color: var(--wp--preset--color--navy); }

/* ---------- Checklist ---------- */
.wis-checklist { list-style: none; padding-left: 0; columns: 2; column-gap: var(--wp--preset--spacing--60); }
.wis-checklist li { position: relative; padding: 6px 0 6px 28px; break-inside: avoid; }
.wis-checklist li::before { content: "✓"; position: absolute; left: 0; color: #008A57; font-weight: 700; }
@media (max-width: 781px) { .wis-checklist { columns: 1; } }

/* ---------- Footer ---------- */
.wis-footer a { display: inline-block; padding: 6px 0; min-height: 32px; color: inherit; }
.wis-footer ul { list-style: none; padding: 0; margin: 0; }
.wis-footer .wis-ft { font-weight: 700; color: #fff; margin-bottom: 8px; }
.wis-legal { border-top: 1px solid #2E3D49; }

/* ---------- Vaste belbalk mobiel ---------- */
.wis-callbar { display: none !important; }
@media (max-width: 600px) {
	.wis-callbar {
		display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; margin: 0 !important;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
		background: var(--wp--preset--color--navy); box-shadow: 0 -2px 10px rgba(0,0,0,.2);
	}
	.wis-callbar .wp-block-button, .wis-callbar .wp-block-button__link { width: 100%; }
	.wis-callbar .wp-block-button__link { min-height: 48px; padding: 0 12px; }
	body { padding-bottom: 72px; }
	/* tawk.to-bubbel boven de balk (vangnet naast Tawk_API.customStyle in functions.php) */
	iframe[title*="chat" i] { bottom: 84px !important; }
}

/* ---------- 0.5.0: overige pagina's ---------- */
/* Paginahero: lager dan de homepage-hero */
.wis-page-hero .wp-block-image img { max-height: 220px; width: auto; }
/* Ankers (bijv. /diensten#backup) niet onder de vaste header laten verdwijnen */
[id] { scroll-margin-top: 96px; }
/* Links op navy */
.wis-dark a:where(:not(.wp-element-button)), .wis-over a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--green); }
/* Checklist in één kolom (prijskaarten, smalle kolommen) */
.wis-checklist.wis-checklist-1 { columns: 1; }
/* Prijskaart en prijs */
.wis-prijskaart { height: 100%; }
.wis-prijskaart > :first-child { margin-top: 0; }
.wis-prijs { color: var(--wp--preset--color--navy); margin-top: 4px; }
@media (max-width: 781px) { .wis-prijzen > .wp-block-column:empty { display: none; } }
/* Icoon-cirkel ook buiten de dienstkaart */
.wis-ic { width: 44px; height: 44px; border-radius: 50%; background: #E0FBF1; display: grid; place-items: center; color: var(--wp--preset--color--navy); font-weight: 700; margin: 0 0 var(--wp--preset--spacing--30); }
/* Dienstrijen (Diensten): scheidingslijn tussen de rijen */
.wis-dienst { margin-top: 0 !important; padding-block: var(--wp--preset--spacing--40); }
.wis-dienst + .wis-dienst { border-top: 1px solid var(--wp--preset--color--line); }
.wis-dienst h3 { margin-top: 0; }

/* ---------- 0.6.0: keuzes Site ontwerper ---------- */
/* Paginahero subpagina's: effen navy verloop, geen foto, geen vaste hoogte */
.wis-page-hero { background: linear-gradient(135deg, #00263F 0%, #003A5C 100%); padding-top: 64px !important; padding-bottom: 48px !important; min-height: 0 !important; }
.wis-page-hero h1 { color: #FFFFFF; margin-top: 0; }
.wis-page-hero .wis-lead { color: #E6EBEF; }
@media (max-width: 600px) {
	.wis-page-hero { padding-top: 40px !important; padding-bottom: 32px !important; }
	.wis-page-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.wis-page-hero .wp-block-button, .wis-page-hero .wp-block-button__link { width: 100%; }
}
/* Lucide-iconen (ISC, zie assets/icons/lucide/LICENSE.txt) in de mint cirkel */
.wis-ic { color: #00263F; }
.wis-ic svg { width: 24px; height: 24px; stroke-width: 2; display: block; }
/* Tarieven: 'Overige diensten' als horizontale kaart over de volle breedte */
.wis-prijskaart-breed { height: auto; margin-top: var(--wp--preset--spacing--40); }
.wis-prijskaart-info > :first-child, .wis-prijskaart-lijst > :first-child { margin-top: 0; }
@media (min-width: 782px) {
	.wis-prijskaart-breed { display: grid !important; grid-template-columns: 2fr 1fr; gap: var(--wp--preset--spacing--50); align-items: center; }
	.wis-prijskaart-breed > * { margin-block: 0 !important; }
}
/* Juridische pagina's: leeskolom 720px, links in de container */
.wis-leeskolom { max-width: 720px; margin-left: 0 !important; margin-right: auto !important; }
.wis-leeskolom h2 { font-size: 1.25rem; margin-top: 40px; margin-bottom: 8px; }
.wis-leeskolom h3 { font-size: var(--wp--preset--font-size--h4); margin-top: 24px; margin-bottom: 8px; }
.wis-leeskolom > :first-child { margin-top: 0; }
/* Veilig thuiswerken: beeldmerk klein naast de eerste H2 (beeld is licht, dus op navy) */
.wis-kop-beeldmerk { gap: var(--wp--preset--spacing--40); }
.wis-kop-beeldmerk > h2 { margin: 0; flex: 1 1 280px; }
.wis-beeldmerk { margin: 0; max-width: 240px; background: var(--wp--preset--color--navy); border-radius: 10px; padding: 12px; box-sizing: border-box; }
.wis-beeldmerk img { width: 100% !important; height: auto; display: block; }
/* Contactformulier (Contact Form 7) */
.wis-form { margin-top: var(--wp--preset--spacing--40); }
.wis-form .wpcf7 { max-width: 640px; }
.wis-form .wpcf7-form p { margin: 0 0 18px; }
.wis-form label { display: block; font-weight: 600; color: var(--wp--preset--color--navy); }
.wis-form .wis-opt { font-weight: 400; color: var(--wp--preset--color--muted); }
.wis-form input[type="text"], .wis-form input[type="email"], .wis-form input[type="tel"], .wis-form select, .wis-form textarea {
	display: block; width: 100%; box-sizing: border-box; margin-top: 6px; min-height: 48px; padding: 10px 14px;
	font: inherit; color: var(--wp--preset--color--navy); background: #fff; border: 1px solid #8A99A6; border-radius: 8px;
}
.wis-form textarea { min-height: 160px; resize: vertical; }
.wis-form .wpcf7-form-control-wrap { display: block; }
.wis-form .wis-form-knoppen { margin-top: var(--wp--preset--spacing--40); }
.wis-form input:focus-visible, .wis-form select:focus-visible, .wis-form textarea:focus-visible { outline: 3px solid #00263F; outline-offset: 2px; border-color: #00263F; }
.wis-form .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.wis-form .wpcf7-acceptance input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.wis-form .wpcf7-list-item { margin: 0; }
.wis-form .wpcf7-submit {
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 8px; cursor: pointer;
	background: var(--wp--preset--color--accent-knop); color: var(--wp--preset--color--navy); font-family: var(--wp--preset--font-family--open-sans); font-weight: 700; font-size: 1.0625rem; line-height: 1; letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.wis-form .wpcf7-submit:hover, .wis-form .wpcf7-submit:focus-visible { background: #27C98C; }
.wis-form .wpcf7-submit:focus-visible { outline: 3px solid #00263F; outline-offset: 3px; }
@media (max-width: 600px) { .wis-form .wpcf7-submit { width: 100%; } }
.wis-form .wpcf7-not-valid-tip { color: #B3261E; font-weight: 600; margin-top: 4px; }
.wis-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 16px !important; border-radius: 8px; }
