@charset "UTF-8";
/*
Theme Name: Magnetic
Author: ClickIQ
Author URI: https://clickiq.net/
Version: 4.50;
*/

:root {
    /* --- Hoofdkleuren (Brand & Status) --- */
    --primary-brand: #E60000;      /* Vodafone Rood */
    --primary-brand-hover: #CC0000;
    --status-critical: #D32F2F;    /* Foutmeldingen / Live Storing */
    --status-warning: #FFA000;     /* Oranje voor kaart/hotspots */
    --status-success: #2E7D32;     /* "Melden" knop & Opgelost status */
    
    /* --- Achtergrond & Oppervlaktes --- */
    --bg-main: #F4F7F9;            /* Lichtgrijze subtiele achtergrond */
    --bg-white: #FFFFFF;            /* Witte kaarten voor contrast */
    --bg-blue: #007bff;
    --border-color: #E0E4E8;       /* Subtiele lijnen voor secties */
    
    /* --- Tekst Kleuren --- */
    --text-red: #db0000;
    --text-primary: #1A1C1E;       /* Titels en hoofdtekst */
    --text-secondary: #5F6368;     /* Metadata en secundaire info */

    /* --- Specifieke UI Elementen --- */
    --map-hotspot-high: #D32F2F;   /* Intensief rood op de kaart */
    --map-hotspot-mid: #FF7043;    /* Gemiddelde storing op kaart */
    --star-rating: #FFC107;        /* Goud voor de 1-5 sterren */
    --link-footer: #0066CC;        /* Klassiek blauw voor de steden-links */
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: 'Lexend', sans-serif;
	font-size: 16px;
	font-weight: 400;
    background: var(--bg-main);
    color: var(--text-primary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	display: flex;
	flex-direction: column;
	padding-top: 120px;
}

* {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	outline: none;
	list-style: none;
	-webkit-appearance: none;
	appearance: none;
	vertical-align: top;
	border-spacing: 0;
	border-collapse: collapse;
	background: transparent;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #666;
}
::-moz-placeholder { /* Firefox 19+ */
	color: #666;
}
:-ms-input-placeholder { /* IE 10+ */
	color: #666;
}
:-moz-placeholder { /* Firefox 18- */
	color: #666;
}

input, textarea, select {
	font-family: 'Lexend', sans-serif;
	font-size: 16px;
	font-weight: 500;
	padding: 0 15px;
	background: var(--bg-main);
	border-radius: 6px;
	border: 1px solid var(--border-color);
	width: 100%;
}
input {
	height: 50px;
}
textarea {
	padding: 15px;
}
input[type=checkbox] {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	background: var(--bg-main);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	cursor: pointer;
	display: inline-grid;
	place-content: center;
	vertical-align: middle;
	padding: 0;
	transition: background 0.2s, border-color 0.2s;
}
input[type=checkbox]:checked {
	background: var(--accent-color, #007bff);
	border-color: var(--accent-color, #007bff);
}

input[type=checkbox]::before {
	content: "";
	width: 12px;
	height: 12px;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em white;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type=checkbox]:checked::before {
	transform: scale(1);
}

.wrap {
	max-width: 1008px;
	margin: 0 auto;
}

a {
	color: var(--text-red);
	text-decoration: none;
}

h1, h2, h3, .h2 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}
h2, .h2 {
	font-size: 22px;
}
h3 {
	font-size: 20px;
}

.icon-wrapper {
	display: block;
}
	.icon-wrapper .icon {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--bg-white);
		font-size: 32px;
		font-weight: 800;
	}

.current-outage {
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0 24px;
	height: 40px;
	background: var(--primary-brand);
	color: #fff;
	font-size: 14px;
	white-space: nowrap;
	display: flex;
	align-items: center;
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.current-outage::-webkit-scrollbar {
	display: none;
}
	.current-outage a {
		color: var(--bg-white);
		text-decoration: underline;
	}

header {
	position: fixed;
	top: 40px;
	left: 0;
	width: 100%;
	height: 80px;
	z-index: 10000;
	padding: 0 24px;
	background: #fff;
	border-bottom: 1px solid var(--border-color);
}

.logo {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 22px;
	font-weight: 700;
	color: var(--text-primary);
}

	.logo .logo-main {
		color: var(--text-red);
	}

.logo .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo .icon {
    position: absolute;
    top: .5px;
    pointer-events: none;
    display: block;
    transition: transform 0.3s ease;
    font-size: 24px;
    text-align: center;
}

.header-grid {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 36px;
	height: 100%;
}

.search-form {
	display: flex;
	align-items: center;
	justify-self: center;
	flex-wrap: wrap;
	width: 100%;
	height: 50px;
	background: var(--bg-main);
	border-radius: 25px;
	outline: 1px solid var(--border-color);
}
	.search-form button {
		position: absolute;
		z-index: 3;
		top: 0;
		left: 0;
		width: 54px;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		transition: color 0.2s ease;
	}
	.search-form button:hover {
		color: var(--text-red);
	}
	.search-form input {
		z-index: 2;
		width: 100%;
		height: 50px;
		padding: 0 18px 0 48px;
		background: transparent;
		border: 0;
	}

.dropdown-content {
	display: none;
	position: fixed;
	z-index: 9999;
	top: 120px;
	left: 0;
	width: 100%;
	padding: 20px 24px 36px 24px;
	background: var(--bg-white);
}
	.dropdown-content .links-grid {
		margin-top: 0;
	}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-search {
	margin-top: 18px;
	max-width: 100%;
	height: 60px;
	border-radius: 30px;
	background: var(--bg-white);
}
	.page-search button {
		width: 64px;
	}
	.page-search input {
		height: 60px;
		padding: 0 24px 0 58px;
		font-size: 16px;
	}
.home-search {
	margin-top: 40px;
}

.search-results, .search-loading {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	height: 0;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	background: var(--bg-main);
	border-radius: 25px;
	outline: 1px solid var(--border-color);
	background: var(--bg-white);
	overflow: hidden;
	transition: border-radius 0.2s ease, box-shadow 0.2s ease;
}
#searchResultsPage {
	position: relative;
	border-radius: 30px;
}
#searchResultsPage.active, #searchResults.active, .search-loading.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	height: auto;
	border-radius: 6px;
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.05),
		0 2px 10px rgba(0, 0, 0, 0.03);
}

#searchResultsPage.active {
	margin-top: -60px;
}
	.search-results ul {
		margin-top: 50px;
	}
	#searchResultsPage ul, .search-loading ul {
		margin-top: 60px;
	}
	.search-results .search-result, .search-loading .search-loading-text {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 14px 16px;
		border-top: 1px solid var(--border-color);
		transition: color 0.2s ease;
		line-height: 1.2;
		color: var(--text-primary);
	}
	.search-results a.search-result:hover {
		color: var(--text-red);
		text-decoration: underline;
	}
	#searchResultsPage a {
		padding: 14px 21px;
		gap: 15px;
	}
	.search-results img {
	    width: 22px;
	    height: 22px;
	    object-fit: contain;
	}

.search-loading-text::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	border: 2px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
	margin-left: 6px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.main-menu ul {
	display: flex;
	gap: 24px;
}
	.main-menu .menu-item {
		display: flex;
		align-items: center;
		gap: 3px;
		font-weight: 600;
		color: var(--text-primary);
		transition: color 0.2s ease;
		cursor: pointer;
	}
		.main-menu .menu-item svg {
			top: 1px;
		}
	.main-menu .menu-item:hover {
		color: var(--text-red);
	}

.header-icons {
	display: none;
	align-items: center;
	gap: 12px;
}
	.header-icons .icon {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.header-icons .search-icon {
		display: none;
	}

.breadcrumbs {
	padding: 0 24px;
	margin-top: 20px;
}
	.breadcrumbs p {
		display: flex;
		gap: 6px;
		font-size: 15px;
	}
	.breadcrumbs a {
		text-decoration: underline;
		transition: color 0.2s ease;
		color: var(--text-primary);
	}
	.breadcrumbs a:hover {
		color: var(--text-red);
	}

.ad-container {
	height: 280px;
	margin-top: 24px;
	text-align: center;
}
#ad-top {
	display: flex;
	justify-content: center;
	align-items: center;
}

main {
	flex: 1 0 auto;
	padding: 0 24px;
}

.page-header {
	margin-top: 48px;
	max-width: 720px;
}
.page-header-grid {
	display: grid;
	grid-template-columns: 60px auto;
	align-items: center;
	gap: 18px;
}
	.page-header figure {
		width: 60px;
		height: 60px;
	}
		.page-header figure img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			object-fit: contain;
		}
	.page-header h1 {
		text-wrap: balance;
	}
	.page-header p {
		margin-top: 12px;
		line-height: 1.5;
	}
		.page-header p a {
			text-decoration: underline;
			transition: color 0.2s ease;
		}
		.page-header p a:hover {
			color: var(--text-primary);
		}

.page-header-home {
	text-align: center;
	margin: 48px auto 0 auto;
}
	.page-header-home h1 {
		padding: 0 24px;
	}
	.page-header-home p {
		text-wrap: balance;
	}

.block {
	border: 1px solid var(--border-color);
	border-radius: 6px;
	background: var(--bg-white);
	margin-top: 24px;
	padding: 30px;
	overflow: hidden;
}
	.block a,
	.block-content a {
		text-decoration: underline;
		transition: color 0.2s ease;
	}
	.block a:hover,
	.block-content a:hover {
		color: var(--text-primary);
	}
	.block p,
	.block-content p {
		margin-top: 12px;
		line-height: 1.5;
	}
	.block h2,
	.block-content h2 {
		margin-top: 36px;
	}
	.block h2:first-child,
	.block-content h2:first-child {
		margin-top: 0;
	}
	.block h3,
	.block-content h3 {
		margin-top: 24px;
	}
	.block-content ul {
		margin-top: 12px;
	}
	.block-content li {
		margin: 9px 0 0 18px;
		padding-left: 3px;
		list-style-type: disc;
		line-height: 1.4;
	}
	.block strong,
	.block-content strong {
		font-weight: 600;
	}
	.block-content .wp-block-table {
		overflow-x: auto;
		margin: 24px 0;
	}
		.block-content .wp-block-table table {
			border-collapse: collapse;
			table-layout: auto;
			width: 100%;
			min-width: 600px;
		}
			.block-content .wp-block-table table th {
				white-space: nowrap;
			}

.block-container {
	margin-top: 48px;
}

.links-grid {
	column-count: 4;
	margin-top: 12px;
}
.links-grid-no-columns {
	column-count: 1;
}
	.links-grid li {
		display: inline-block;
		width: 100%;
		margin-top: 12px;
	}
	.links-grid a {
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		text-decoration: underline;
		color: var(--text-primary);
		transition: color 0.2s ease;
	}
	.links-grid a:hover {
		color: var(--text-red);
	}

.block-status {
	padding: 0;
}
.block-status-ok {
	background: #ccedcc;
	border: 1px solid #99da99;
}
	.block-status-ok .h2 {
		color: #009300;
	}
.block-status-warning {
	background: #fdecce;
	border: 1px solid #fbd89d;
}
	.block-status-warning .h2 {
		color: #dd8e0a;
	}
.block-status-error {
	background: #fde6e6;
	border: 1px solid #f8b3b3;
}
	.block-status-error .h2 {
		color: #cf0000;
	}
.block-status-issue {
	background: #ccedcc;
	border: 1px solid #99da99;
}
.block-status-issue-postal {
	background: #d9ecff;
	border: 1px solid #99c7ff;
	overflow: visible;
}
.block-status-issue-error {
	background: #fde6e6;
	border: 1px solid #f8b3b3;
}

.form-notification {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}
	.form-notification .input-postal-code {
		height: 52px;
		max-width: 80px;
		text-align: center;
		font-size: 16px;
		border: 2px solid #a1bce6;
		padding: 0;
	}
	.form-notification .input-postal-code-gb {
		max-width: 100px;
	}
	.form-notification .input-postal-code-pt {
		max-width: 120px;
	}
	.form-notification .button {
		width: auto;
	}

.autocomplete-container {
	background: #fff;
	z-index: 999;
}

.service-status {
	display: grid;
	grid-template-columns: 52px auto min-content;
	align-items: start;
	gap: 12px;
	padding: 24px;
}
	.service-status .h2 {
		margin-top: .1em;
	}
	.service-status p {
		margin-top: 5px;
		line-height: 1.3;
	}
		.service-status p span {
			display: inline-block;
		}
	.service-status p.status-info {
		margin-top: 12px;
		padding-right: 24px;
	}
	.service-status .button {
		align-self: center;
	}

.button, .submit, .load-more-comments-button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--primary-brand);
	color: #fff;
	min-height: 52px;
	padding: 2px 30px 0 30px;
	border-radius: 6px;
	font-family: 'Lexend', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	border: 0;
	border-bottom: 3px solid #8a0000;
	cursor: pointer;
	transition: background 0.2s ease, border 0.2s ease;
}
.button:hover, .submit:hover, .load-more-comments-button:hover {
	background: #cf0000;
	border-bottom: 3px solid #730000;
}
.button svg {
	top: .5px;
}
.button-margin {
	margin-top: 24px;
}

.issue-button.is-loading {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.2);
}

.issue-button:disabled {
    pointer-events: none;
}

.issue-button .btn-text {
    margin-left: 6px;
}

.heatmap-block {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.service-heatmap-wrapper {
	margin-top: 24px;
	height: 100%;
	min-height: 500px;
	border-radius: 3px;
	overflow: hidden;
	background: var(--bg-main);
}
	#service-heatmap {
		width: 100%;
		height: 100%;
		min-height: 500px;
	}

.latest-cities {
	margin-top: 12px;
}
.latest-cities-row {
	padding: 12px 0;
	border-bottom: 1px solid var(--border-color);
	vertical-align: middle;
	line-height: 1.2;
}
.latest-cities-row:last-child {
	padding: 12px 0 0 0;
	border: 0;
}
	.latest-cities-row .datetime {
		margin-top: 6px;
		font-size: 14px;
		color: #8d8e8f;
	}

.most-cities {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	row-gap: 18px;
}
.most-cities .city {
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.major-outages-list {
	margin-top: 18px;
}
	.major-outages-list li {
		list-style-type: disc;
		margin: 12px 0 0 20px;
	}

.chart-container {
	margin-top: 24px;
}
	#chart {
		height: 200px;
	}

.scrollable {
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.scrollable::-webkit-scrollbar {
	display: none;
}

.columns-grid {
	display: grid;
	grid-template-columns: 5fr 3fr;
	column-gap: 24px;
	align-items: stretch;
}

.table-container {
	margin-top: 24px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	overflow: hidden;
	background: var(--bg-white);
}
.table {
	width: 100%;
}
	.table th, .table td {
		padding: 15px;
		border-bottom: 1px solid var(--border-color);
		vertical-align: middle;
		line-height: 1.2;
	}
	.table th {
		font-weight: 600;
		text-align: left;
		background: var(--primary-brand);
		color: var(--bg-white);
		border: 0;
		white-space: nowrap;
	}
	.table a {
		text-decoration: underline;
		transition: color 0.2s ease;
	}
	.table a:hover {
		color: var(--text-primary);
	}

.table-status-container {
	margin-top: 24px;
	border-radius: 6px;
	border: 1px solid var(--border-color);
	overflow: hidden;
	background: var(--bg-white);
}
.table-status {
	width: 100%;
	overflow: hidden;
	width: calc(100% + 4px);
}
	.table-status th, .table-status td {
		padding: 15px;
		border-bottom: 1px solid var(--border-color);
		vertical-align: middle;
		line-height: 1.2;
	}
	.table-status th {
		font-weight: 600;
		text-align: left;
		background: var(--primary-brand);
		color: var(--bg-white);
		border: 0;
		padding: 19px 15px;
		white-space: nowrap;
		background-clip: padding-box;
	}
	.table-status td.nowrap {
		white-space: nowrap;
	}
	.table-status tbody tr:last-child td {
		border: 0;
	}
	.table-status a {
		text-decoration: underline;
		transition: color 0.2s ease;
	}
	.table-status a:hover {
		color: var(--text-primary);
	}
	.table-status a.city-link {
		color: var(--text-primary);
	}
	.table-status a.city-link:hover {
		color: var(--text-red);
	}
	.table-status .status {
		text-align: center;
	}
	.table-status .service {
		display: flex;
		align-items: center;
		gap: 15px;
		font-weight: 600;
	}

.review-container {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
	margin: 36px 0;
}
	.review-stars {
		display: flex;
		flex-direction: row-reverse;
		justify-content: flex-end;
		margin-top: 12px;
	}
		.review-stars .star {
			color: var(--border-color);
		}
		.sv-star {
			background: none;
			border: none;
			cursor: pointer;
			padding: 0;
			margin: 0;
			display: inline-flex;
			transition: color 0.2s ease;
		}
		.sv-star:hover,
		.sv-star:hover ~ .sv-star {
		    color: #FFB800;
		}
		.sv-star.active {
		    color: #FFB800;
		}
		.review-rating {
			position: absolute;
			top: 0;
			left: 0;
			height: 100%;
			overflow: hidden;
			transition: opacity 0.2s ease;
		}
			.review-rating .review-stars {
				width: max-content;
			}
			.review-rating .star {
				color: #FFB800;
			}
		.sv-rating-box:hover .review-rating {
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
		}
		.sv-rating-msg.is-visible {
			margin-top: 12px;
		}
	.review-container p {
		margin-top: 12px;
		line-height: 1.4;
	}
	.review-container strong {
		font-weight: 600;
	}

	.comment-form label {
		display: block;
		margin: 24px 0 12px 0;
		font-weight: 600;
	}
	.block p.comment-form-cookies-consent {
		display: grid;
		grid-template-columns: 24px auto;
		gap: 12px;
		margin: 24px 0 12px 0;
	}
		.block p.comment-form-cookies-consent label {
			display: inline-block;
			margin: 2px 0 0 0;
			font-weight: 400;
		}
	.comment-form .submit {
		margin-top: 24px;
	}

.comments-area {
	margin-top: 48px;
}

.comments-inner li {
	padding: 30px 0;
	border-bottom: 1px solid var(--border-color);
}
.comments-inner li:last-child {
	padding: 30px 0 0 0;
	border: 0;
}
	.comments-inner p.comment-author {
		margin-top: 0;
	}
	.comment-content {
		padding-right: 24px;
	}
	.comment-actions {
		margin-top: 12px;
	}
	.comments-inner .children {
		margin: 30px 0 0 24px;
		padding: 0 24px;
		background: var(--bg-main);
		border-radius: 6px;
	}
	.comments-inner .children li {
		padding: 30px 0;
		border-bottom: 0;
	}
	.comments-load-more-wrap {
		border-top: 1px solid var(--border-color);
		margin-top: 30px;
	}
	.load-more-comments-button {
		margin-top: 30px;
	}

/* De Grid layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    height: 64px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: border 0.2s ease, color 0.2s ease;
    line-height: 1.2;
}

.service-item:hover {
    border: 1px solid var(--primary-brand);
    color: var(--text-red);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    text-wrap: balance;
}

.service-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.alphabet-nav {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
	.letter-button {
		display: block;
		background: var(--primary-brand);
		color: #fff;
		border-radius: 3px;
		font-size: 15px;
		font-weight: 500;
		padding: 6px 11px;
		min-width: 32px;
		text-align: center;
		border-bottom: 2px solid #8a0000;
		transition: background 0.2s ease, border 0.2s ease;
	}
	.letter-button:hover {
		background: #cf0000;
		border-bottom: 2px solid #730000;
	}

.letter-group {
	margin-top: 36px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	background: var(--bg-white);
	margin-top: 24px;
	padding: 30px;
	overflow: hidden;
}

footer {
	flex-shrink: 0;
	margin-top: 48px;
	padding: 48px 24px;
	border-top: 1px solid var(--border-color);
	background: var(--bg-white);
}
	footer a {
		color: var(--text-primary);
		text-decoration: underline;
		transition: color 0.2s ease;
	}
	footer a:hover {
		color: var(--text-red);
	}
	footer p {
		max-width: 750px;
		margin-top: 24px;
		line-height: 1.4;
	}
	.footer-grid {
		display: flex;
		column-gap: 12px;
		row-gap: 6px;
		margin-top: 24px;
		line-height: 1.4;
		flex-wrap: wrap;
	}
	footer .flag-link {
		display: flex;
		align-items: center;
		gap: 6px;
	}