/*
 * Taalthuis e-learning – nieuw ontwerp (Taalthuis.nl 2.0)
 * Alleen actief met de preview-cookie (zie redesign.php).
 * Bron: Figma "Taalthuis.nl 2.0" → pagina "E-learning".
 */

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/montserrat-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.thr {
	--thr-ink: #0a2636;
	--thr-pink: #e4087e;
	--thr-green: #1fa238;
	--thr-cream: #fdefda;
	--thr-cream-light: #fff2de;
	--thr-line: #dadee1;
	--thr-font: 'Montserrat', Arial, sans-serif;

	background: var(--thr-cream);
	overflow-x: hidden;
}

.thr-container {
	max-width: 1344px; /* 1296 + 2×24 */
	margin: 0 auto;
	padding: 0 24px;
}

/* ------------------------------------------------------------------
 * Logo (253×66 in Figma; schaalt mee met de breedte)
 * ---------------------------------------------------------------- */

.thr-logo {
	position: relative;
	display: block;
	width: 253px;
	aspect-ratio: 253 / 66;
}

.thr-logo img {
	position: absolute;
	display: block;
	max-width: none;
}

.thr-logo__name {
	top: 0;
	left: 0;
	width: 100%;
	height: 56.78%;
}

.thr-logo__slogan {
	top: 71.29%;
	left: 5.62%;
	width: 89.48%;
	height: 28.72%;
}

/* ------------------------------------------------------------------
 * Header – desktop
 * ---------------------------------------------------------------- */

.thr-header {
	position: relative;
	z-index: 20;
	background: #fff;
	/* Geen schaduw/rand: de header loopt in het ontwerp naadloos over in de witte paginakop. */
	font-family: var(--thr-font);
	color: var(--thr-ink);
}

.thr-header__bar {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: 40px minmax(61px, auto);
	column-gap: 24px;
	padding: 0 27px;
}

.thr-header__brand {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: flex-start;
	align-self: start;
	margin-top: 23px;
	padding-bottom: 12px;
	text-decoration: none !important;
}

.thr-header__logo {
	flex: 0 0 auto;
}

.thr-badge {
	flex: 0 0 auto;
	margin: 39px 0 0 18px;
	padding: 5px 12px;
	border-radius: 40px;
	background: var(--thr-green);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	white-space: nowrap;
}

.thr-topbar {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 32px;
	height: 40px;
}

.thr-toplink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--thr-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
	white-space: nowrap;
}

.thr-toplink img {
	width: 18px;
	height: 18px;
}

a.thr-toplink:hover,
a.thr-toplink:focus {
	color: var(--thr-pink);
	text-decoration: none;
}

.thr-toplink--user {
	font-weight: 500;
	text-transform: none;
}

.thr-toplink--accent,
a.thr-toplink--accent:hover {
	color: var(--thr-pink);
}

.thr-nav {
	grid-column: 2;
	grid-row: 2;
	align-self: center;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 36px;
	padding: 7px 0 5px;
}

.thr-nav__divider {
	width: 1px;
	height: 28px;
	background: var(--thr-line);
}

.thr-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 36px;
}

.thr-links a {
	display: inline-flex;
	align-items: center;
	color: var(--thr-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 20.1px;
	letter-spacing: 0.42px;
	text-transform: uppercase;
	white-space: nowrap;
}

.thr-links a img {
	display: none; /* oude menu-iconen; nieuw ontwerp is tekst-only */
}

.thr-links a:hover,
.thr-links a:focus,
.thr-links a.selected {
	color: var(--thr-pink);
	text-decoration: none;
}

/* Cursuskeuze-pil */
.thr-course {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 48px;
	margin: 0;
	padding: 0 20px;
	border: 2px solid var(--thr-ink);
	border-radius: 34px;
	background: var(--thr-cream-light);
	color: var(--thr-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 20.1px;
	letter-spacing: 0.42px;
	text-transform: uppercase;
	white-space: nowrap;
}

.thr-course--select {
	padding: 0;
	cursor: pointer;
}

.thr-course select,
.thr-course #kies_niveau { /* #kies_niveau: oude style.css centreert en zet eigen padding */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: var(--thr-select-w, auto); /* gezet door redesign.js: breedte van de gekozen cursus */
	height: 100%;
	margin: 0;
	padding: 0 50px 0 20px;
	border: 0;
	border-radius: 34px;
	background: transparent;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-align: left;
	text-transform: uppercase;
	text-overflow: ellipsis;
	min-width: 0;
	cursor: pointer;
}

/* Actief/focus: de eigen rand kleurt roze, geen extra ring eromheen. */
.thr-course {
	transition: border-color 0.15s;
}

.thr-course select:focus,
.thr-course #kies_niveau:focus {
	outline: none;
	box-shadow: none;
}

.thr-course--select:hover,
.thr-course:focus-within {
	border-color: var(--thr-pink);
}

.thr-course:focus-within .thr-course__chevron {
	color: var(--thr-pink);
}

.thr-course__chevron {
	position: absolute;
	right: 20px;
	top: 50%;
	margin-top: -9px;
	pointer-events: none;
}

/* Hamburger (alleen mobiel) */
.thr-burger {
	display: none;
}

/* ------------------------------------------------------------------
 * Achtergrond + paginakop
 * ---------------------------------------------------------------- */

.thr-main {
	position: relative;
	isolation: isolate;
	background: var(--thr-cream) linear-gradient(to bottom, #fff 18px, var(--thr-cream) 173px) no-repeat;
	padding-bottom: 72px;
}

.thr-deco {
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	height: 760px;
	overflow: hidden;
	pointer-events: none;
}

.thr-deco img {
	position: absolute;
	display: block;
	max-width: none;
}

.thr-deco__large {
	left: -170px;
	top: 229px;
	width: 420px;
	height: 420px;
}

.thr-deco__small {
	right: -40px;
	top: 49px;
	width: 240px;
	height: 240px;
}

.thr-pagehead {
	padding: 24px 0 48px;
	font-family: var(--thr-font);
	color: var(--thr-ink);
}

.thr-breadcrumb {
	margin: 0 0 36px;
	font-family: var(--thr-font);
	font-size: 14px;
	line-height: normal;
	color: var(--thr-ink);
}

.thr-breadcrumb a {
	font-weight: 600;
	color: var(--thr-ink);
}

.thr-breadcrumb span {
	margin: 0 0.5em;
}

.thr-title {
	margin: 0;
	font-family: var(--thr-font);
	font-size: 52px;
	font-weight: 700;
	line-height: 60px;
	color: var(--thr-ink);
	text-transform: none;
}

.thr-intro {
	display: inline-block;
	margin: 20px 0 0;
	padding: 14px 28px;
	border-radius: 40px;
	background: #ddf1e1;
	font-family: var(--thr-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 26px;
	color: var(--thr-green);
}

/* ------------------------------------------------------------------
 * Lesoverzicht
 * ---------------------------------------------------------------- */

.thr-lessons {
	min-height: 0;
	padding-top: 8px;
	font-family: var(--thr-font);
}

.thr-lessons__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.thr-lescard {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 290px;
	padding: 24px;
	border-radius: 15px;
	background: #fff;
	color: var(--thr-ink);
	transition: box-shadow 0.15s, transform 0.15s;
}

.thr-lescard:hover,
.thr-lescard:focus {
	color: var(--thr-ink);
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(10, 38, 54, 0.12);
	transform: translateY(-2px);
}

.thr-lescard:focus-visible {
	outline: 2px solid var(--thr-pink);
	outline-offset: 2px;
}

.thr-lescard--intro {
	background: #ddeaf5;
}

.thr-lescard__head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.thr-lescard__icon {
	flex: 0 0 72px;
	display: block;
	width: 72px;
	height: 72px;
}

.thr-lescard__titles {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.thr-lescard__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
}

/* Al gemaakt (oefeningen e.d.) */
.thr-done {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px 2px 6px;
	border-radius: 20px;
	background: #ddf1e1;
	color: var(--thr-green);
	font-size: 10px;
	font-weight: 700;
	line-height: 14px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

/* Onderdelen binnen een les: korte teksten, dus geen vaste minimumhoogte */
.thr-lescard--item {
	min-height: 0;
}

.thr-lescard__label {
	font-size: 12px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: #1a75bb;
}

.thr-lescard__title {
	margin: 0;
	overflow-wrap: break-word;
	font-family: var(--thr-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 29px;
	color: var(--thr-ink);
	text-transform: none;
}

.thr-lescard__text {
	flex: 1 0 auto;
	font-size: 14px;
	line-height: 22px;
}

.thr-lescard__text p {
	margin: 0;
	font-family: var(--thr-font);
}

.thr-lescard__action {
	display: flex;
	justify-content: flex-end;
}

.thr-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px 8px 20px;
	border: 1.5px solid var(--thr-ink);
	border-radius: 40px;
	font-size: 12px;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s;
}

.thr-btn-outline img {
	display: block;
	width: 14px;
	height: 14px;
}

.thr-lescard:hover .thr-btn-outline {
	background: var(--thr-ink);
	color: #fff;
}

.thr-lescard:hover .thr-btn-outline img {
	filter: brightness(0) invert(1);
}

@media (max-width: 1199px) {
	.thr-lessons__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.thr-breadcrumb a.thr-breadcrumb__plain {
	font-weight: 400;
}

/* ------------------------------------------------------------------
 * Gedeelde kaarten en knoppen
 * ---------------------------------------------------------------- */

.thr-card {
	padding: 48px;
	border-radius: 15px;
	background: #fff;
	font-family: var(--thr-font);
	color: var(--thr-ink);
}

.thr-card__eyebrow {
	margin: 0;
	font-family: var(--thr-font);
	font-size: 12px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--thr-green);
}

.thr-card__title {
	margin: 0;
	font-family: var(--thr-font);
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
	color: var(--thr-ink);
	text-transform: none;
}

.thr-card__subtitle {
	margin: 0;
	font-family: var(--thr-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 27px;
	color: var(--thr-ink);
	text-transform: none;
}

.thr-card__text {
	margin: 0;
	font-family: var(--thr-font);
	font-size: 16px;
	line-height: 26px;
	color: var(--thr-ink);
}

.thr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: 40px;
	font-family: var(--thr-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 20.1px;
	letter-spacing: 0.42px;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.thr-btn:hover,
.thr-btn:focus {
	text-decoration: none;
}

.thr-btn:focus-visible {
	outline: 2px solid var(--thr-ink);
	outline-offset: 2px;
}

.thr-btn--pink {
	background: var(--thr-pink);
	border-color: var(--thr-pink);
	color: #fff;
}

.thr-btn--pink:hover,
.thr-btn--pink:focus {
	background: #c4066b;
	border-color: #c4066b;
	color: #fff;
}

.thr-btn--pink-outline {
	align-self: flex-start;
	border-color: var(--thr-pink);
	color: var(--thr-pink);
}

.thr-btn--pink-outline:hover,
.thr-btn--pink-outline:focus {
	background: var(--thr-pink);
	color: #fff;
}

/* ------------------------------------------------------------------
 * Inlogpagina
 * ---------------------------------------------------------------- */

.thr-login {
	min-height: 0;
	padding-top: 8px;
}

.thr-login__grid {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.thr-login__form {
	flex: 0 1 636px;
	min-width: 0;
}

.thr-login__form .thr-card__title {
	margin-bottom: 24px;
}

.thr-login #loginform {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"user user"
		"pass pass"
		"remember forgot"
		"submit submit";
	gap: 24px 10px;
	margin: 0;
}

.thr-login #loginform > * {
	grid-column: 1 / -1;
	margin: 0;
}

.thr-login #loginform > .thr-field--user { grid-area: user; }
.thr-login #loginform > .thr-field--pass { grid-area: pass; }
.thr-login #loginform > .thr-field--remember { grid-area: remember; }
.thr-login #loginform > .thr-login__forgot { grid-area: forgot; }
.thr-login #loginform > .thr-field--submit { grid-area: submit; }

.thr-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.thr-login #loginform label {
	width: auto;
	margin: 0;
	font-family: var(--thr-font);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	color: var(--thr-ink);
}

.thr-login #loginform input.thr-input {
	width: 100%;
	height: 48px;
	padding: 0 20px;
	border: 2px solid var(--thr-ink);
	border-radius: 34px;
	background: #fff;
	font-family: var(--thr-font);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.42px;
	color: var(--thr-ink);
	box-shadow: none;
}

.thr-login #loginform input.thr-input:focus {
	outline: none;
	border-color: var(--thr-pink);
	box-shadow: 0 0 0 3px rgba(228, 8, 126, 0.15);
}

.thr-login #loginform .thr-check {
	display: inline-flex;
	white-space: nowrap;
	align-items: center;
	gap: 10px;
	font-weight: 400;
	cursor: pointer;
}

.thr-check input {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 2px solid var(--thr-ink);
	border-radius: 3px;
	background: #fff;
	cursor: pointer;
}

.thr-check input:checked {
	border-color: var(--thr-ink);
	background: var(--thr-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.thr-check input:focus-visible {
	outline: 2px solid var(--thr-pink);
	outline-offset: 2px;
}

.thr-login__forgot {
	align-self: center;
	font-family: var(--thr-font);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	color: #1a75bb;
	text-decoration: underline;
	white-space: nowrap;
}

.thr-login__forgot:hover,
.thr-login__forgot:focus {
	color: var(--thr-ink);
}

.thr-login #loginform .thr-field--submit {
	width: 100%;
}

.thr-login__preview {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-bottom: 40px;
	scroll-margin-top: 24px;
}

.thr-login__divider {
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--thr-line);
}

.thr-material {
	margin: 0;
	padding: 0;
	list-style: none;
}

.thr-material li {
	border-bottom: 1px solid var(--thr-line);
}

.thr-material li:last-child {
	border-bottom: 0;
}

.thr-material a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	font-family: var(--thr-font);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	color: var(--thr-ink);
}

.thr-material a:hover,
.thr-material a:focus {
	color: var(--thr-pink);
	text-decoration: none;
}

.thr-material__icon {
	flex: 0 0 20px;
	display: block;
}

.thr-material__label {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere; /* lange woorden als "introductionbook" op 320px */
}

.thr-material__arrow {
	flex: 0 0 16px;
	display: block;
	transition: transform 0.15s;
}

.thr-material a:hover .thr-material__arrow {
	transform: translateX(3px);
}

.thr-tag {
	flex: 0 0 auto;
	padding: 3px 8px;
	border-radius: 20px;
	background: #ddeaf5;
	font-size: 10px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.6px;
	color: #1a75bb;
}

/* Tekst uit WYSIWYG-velden: alinea's zonder extra witruimte, eigen lettertype
   (oude style.css zet p { font-family: Lato }). */
.thr-rich p {
	margin: 0;
	font: inherit;
	color: inherit;
}

.thr-rich p + p {
	margin-top: 0.5em;
}

/* Oude #content had min-height; laat inhoud verder ongemoeid. */
body.thr #content {
	background: transparent;
}

/* ------------------------------------------------------------------
 * Footer – desktop
 * ---------------------------------------------------------------- */

.thr-footer {
	background: var(--thr-cream);
	padding: 96px 0 52px;
	font-family: var(--thr-font);
	color: var(--thr-ink);
	text-transform: none;
}

.thr-footer a {
	color: var(--thr-ink);
}

.thr-footer a:hover,
.thr-footer a:focus {
	color: var(--thr-pink);
	text-decoration: none;
}

.thr-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.thr-eyebrow {
	margin: 0 0 7px;
	font-family: 'Lucyc', var(--thr-font);
	font-size: 14px;
	line-height: 20.1px;
	letter-spacing: 0.42px;
	text-transform: uppercase;
	color: var(--thr-green);
}

.thr-footer__title {
	margin: 0;
	font-family: var(--thr-font);
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
	color: var(--thr-ink);
}

.thr-footer__social {
	text-align: center;
}

.thr-footer__icons {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 23px;
}

/* Afstanden exact zoals in Figma: 29 / 35 / 32 px */
.thr-footer__icons a:nth-child(2) { margin-left: 29px; }
.thr-footer__icons a:nth-child(3) { margin-left: 35px; }
.thr-footer__icons a:nth-child(4) { margin-left: 32px; }

.thr-footer__icons a {
	display: block;
	color: #f3950b; /* oranje, zoals taalthuis.nl */
	transition: color 0.3s ease;
}

.thr-footer .thr-footer__icons a:hover,
.thr-footer .thr-footer__icons a:focus-visible {
	color: #1a75bb; /* blauw bij hover, zoals taalthuis.nl */
}

.thr-footer__icons svg {
	display: block;
}

.thr-footer__cols {
	display: grid;
	grid-template-columns: 660fr 327fr 309fr;
	margin-top: 104px;
}

.thr-footer__col--marks .thr-footer__title {
	margin-top: 27px; /* geen eyebrow: lijnt uit met de andere titels */
}

.thr-contact {
	margin-top: 37px !important;
}

.thr-contact li {
	display: flex;
	align-items: flex-start;
	gap: 17px;
	margin-bottom: 26px;
	font-size: 16px;
	line-height: 28px;
}

.thr-contact li:last-child {
	margin-bottom: 0;
}

.thr-contact__icon {
	flex: 0 0 36px;
	display: flex;
	justify-content: center;
	margin-top: -6px;
}

.thr-contact__icon img {
	display: block;
}

.thr-levels {
	margin-top: 41px !important;
}

.thr-levels li {
	margin-bottom: 21px;
	line-height: 20.1px;
}

.thr-levels li:last-child {
	margin-bottom: 0;
}

.thr-levels a {
	display: inline-block;
	vertical-align: top;
}

.thr-levels a {
	font-size: 16px;
	font-weight: 600;
	line-height: 20.1px;
	letter-spacing: 0.48px;
	text-transform: uppercase;
}

.thr-marks {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
}

.thr-chip {
	display: block;
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
}

.thr-chip img {
	display: block;
}

.thr-chip--crkbo {
	padding: 10px;
}

.thr-chip--nrto {
	padding: 27px 24px;
}

.thr-marks__text {
	margin: 20px 0 0;
	font-family: var(--thr-font);
	font-size: 14px;
	line-height: 22px;
	color: var(--thr-ink);
}

.thr-footer__bottom {
	max-width: 1368px; /* lijn is 1320 breed, iets breder dan de inhoud */
	margin: 104px auto 0;
	padding: 0 24px;
}

.thr-footer__line {
	display: block;
	width: 100%;
	height: 1px;
}

.thr-footer__legal {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	margin-top: 35px;
	padding: 0 11px;
}

.thr-footer__logo {
	position: absolute;
	left: 11px;
	top: 0;
}

.thr-footer__logo .thr-logo {
	width: 123px;
}

.thr-footer__copy {
	margin: 0;
	font-family: var(--thr-font);
	font-size: 16px;
	line-height: 28px;
	color: #000;
	text-align: center;
}

.thr-footer__copy a {
	color: #000;
}

.thr-dot {
	margin: 0 0.5em;
}

/* ------------------------------------------------------------------
 * Breekpunten
 *   ≥ 1200  desktop (Figma 1920)
 *   992–1199  kleine laptop: desktopheader, footer 3 kolommen smaller
 *   768–991   tablet: mobiele header, desktop-paginakop, footer 2 kolommen
 *   < 768     mobiel (Figma 390)
 * ---------------------------------------------------------------- */

/* Header te vol (bijv. ingelogd met veel boeken): menu op eigen regel.
   De klasse wordt gezet door redesign.js. */
@media (min-width: 992px) {
	.thr-header--stacked .thr-header__bar {
		grid-template-rows: 40px 61px auto;
	}

	.thr-header--stacked .thr-nav {
		grid-column: 1 / -1;
		grid-row: 3;
		padding: 0 0 14px;
	}

	.thr-header--wrapped .thr-nav__divider {
		display: none;
	}
}

/* Kleine laptop */
@media (min-width: 992px) and (max-width: 1199px) {
	.thr-login__form {
		flex: 636 1 0;
	}

	.thr-login__preview {
		flex: 612 1 0;
	}

	/* Onthoud mij + wachtwoord vergeten passen niet naast elkaar: indeling zoals mobiel */
	.thr-login #loginform {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"user"
			"pass"
			"remember"
			"submit"
			"forgot";
	}

	.thr-login__forgot {
		justify-self: center;
	}

	.thr-marks {
		flex-wrap: wrap;
	}
}

/* Tablet + kleine laptop: footer onderaan gestapeld (logo boven copyright) */
@media (min-width: 768px) and (max-width: 1199px) {
	.thr-footer__legal {
		flex-direction: column;
		padding: 0;
	}

	.thr-footer__logo {
		position: static;
		margin-bottom: 20px;
	}
}

/* Tablet: footer 2 kolommen, keurmerken eronder */
@media (min-width: 768px) and (max-width: 991px) {
	.thr-footer__cols {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		row-gap: 56px;
		column-gap: 32px;
	}

	.thr-footer__col--marks {
		grid-column: 1 / -1;
	}

	.thr-footer__col--marks .thr-footer__title {
		margin-top: 0;
	}

	.thr-marks {
		margin-top: 24px;
	}
}

/* Mobiele header (tablet + telefoon) */
@media (max-width: 991px) {
	/* Geen WordPress-beheerbalk op mobiel/tablet, en ook geen ruimte ervoor
	   (WordPress zet html { margin-top: 32/46px !important }). */
	body.thr #wpadminbar {
		display: none !important;
	}

	html.thr-html {
		margin-top: 0 !important;
	}

	.thr-header__bar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		padding: 0;
	}

	.thr-header__brand {
		align-items: center;
		margin: 0;
		padding: 12px 10px;
	}

	.thr-header__logo {
		width: 127px;
	}

	.thr-badge {
		margin: 0 0 0 11px;
		padding: 4px 9px;
		font-size: 10px;
		letter-spacing: 0.6px;
	}

	.thr-burger {
		display: block;
		position: relative;
		width: 28px;
		height: 24px;
		align-self: flex-start;
		margin: 13px 20px 0 auto; /* Figma: 1px onder bovenkant logo */
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.thr-burger span {
		position: absolute;
		left: 0;
		right: 0;
		height: 2px;
		border-radius: 5px;
		background: var(--thr-ink);
		transition: transform 0.2s, opacity 0.2s;
	}

	.thr-burger span:nth-child(1) { top: 0; }
	.thr-burger span:nth-child(2) { top: 11px; }
	.thr-burger span:nth-child(3) { top: 22px; }

	.thr-menu-open .thr-burger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
	.thr-menu-open .thr-burger span:nth-child(2) { opacity: 0; }
	.thr-menu-open .thr-burger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

	/* Uitklappaneel: topbar-links (en uitgelogd ook het menu) */
	.thr-topbar {
		display: none;
		order: 3;
		flex: 0 0 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		height: auto;
		padding: 4px 20px 12px;
		border-top: 1px solid var(--thr-line);
	}

	.thr-menu-open .thr-topbar {
		display: flex;
	}

	.thr-toplink {
		padding: 12px 0;
	}

	.thr-nav {
		order: 4;
		flex: 0 0 100%;
		min-width: 0; /* anders duwen de tabs de pagina breder dan het scherm */
		flex-wrap: nowrap; /* bij wrap rekt de regel op tot de breedste tab */
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 12px 20px;
		border-top: 1px solid var(--thr-line);
	}

	.thr-nav__divider {
		display: none;
	}

	.thr-course {
		justify-content: space-between;
		width: 100%;
	}

	.thr-course {
		min-width: 0;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.thr-course select,
	.thr-course #kies_niveau {
		width: 100%;
		padding-right: 42px; /* 20 rand + 18 pijltje + 4: lange cursusnaam past zoals in Figma */
	}

	/* Ingelogd: leermaterialen als horizontaal scrollende tabs */
	.thr-header--in .thr-links {
		min-width: 0;
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 8px;
		margin: 0;
		padding: 0; /* Figma: afkappen op de rand van de cursuspil, zodat je ziet dat je kunt scrollen */
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.thr-header--in .thr-links::-webkit-scrollbar {
		display: none;
	}

	.thr-header--in .thr-links a {
		padding: 6.5px 14px;
		border: 1.5px solid var(--thr-ink);
		border-radius: 40px;
		font-size: 12px;
		line-height: normal;
		letter-spacing: 0;
	}

	.thr-header--in .thr-links a.selected {
		border-color: var(--thr-pink);
		background: var(--thr-pink);
		color: #fff;
	}

	/* Uitgelogd: menu zit achter de hamburger */
	.thr-header--out .thr-nav {
		display: none;
		order: 2;
		padding-bottom: 0;
	}

	.thr-header--out.thr-menu-open .thr-nav {
		display: flex;
	}

	.thr-header--out .thr-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.thr-header--out .thr-links a {
		padding: 12px 0;
	}

	.thr-header--out .thr-topbar {
		border-top: 0;
	}

}

/* Telefoon (Figma: 390 breed) */
@media (max-width: 767px) {
	/* Paginakop mobiel: gecentreerd */
	.thr-container {
		padding: 0 20px;
	}

	.thr-pagehead {
		padding: 16px 0 32px;
		text-align: center;
	}

	.thr-breadcrumb {
		margin-bottom: 16px;
	}

	.thr-title {
		font-size: 36px;
		line-height: 44px;
	}

	.thr-intro {
		display: block;
		margin-top: 16px;
		padding: 14px 20px;
		border-radius: 20px;
		font-size: 15px;
		line-height: 24px;
	}

	.thr-lessons {
		padding-top: 0;
	}

	.thr-deco {
		display: none;
	}

	/* Footer mobiel */
	.thr-footer {
		padding: 60px 0 48px;
		text-align: center;
	}

	.thr-footer__cols {
		display: block;
		margin-top: 72px;
	}

	.thr-footer__col + .thr-footer__col {
		margin-top: 70px;
	}

	.thr-contact {
		max-width: 350px;
		margin: 20px auto 0 !important;
		text-align: left;
	}

	.thr-contact__icon {
		margin-top: 20px; /* mobiel ontwerp: icoon lager naast de tekst */
	}

	.thr-main {
		padding-bottom: 56px;
	}

	.thr-contact li {
		font-size: 14px;
		font-weight: 500;
	}

	.thr-levels {
		margin-top: 20px !important;
	}

	.thr-levels a {
		font-size: 14px;
		letter-spacing: 0.42px;
	}

	.thr-footer__col--marks .thr-footer__title {
		margin-top: 0;
	}

	.thr-marks {
		justify-content: center;
		gap: 12px;
		margin-top: 24px;
	}

	.thr-chip--nrto {
		padding: 27px 22px;
	}

	.thr-marks__text {
		margin-top: 16px;
	}

	.thr-footer__bottom {
		margin-top: 56px;
		padding: 0 10px;
	}

	.thr-footer__legal {
		flex-direction: column;
		margin-top: 37px;
		padding: 0;
	}

	.thr-footer__logo {
		position: static;
		margin-bottom: 22px;
	}

	.thr-footer__copy {
		font-size: 14px;
	}

	.thr-dot--break {
		display: block;
		height: 0;
		overflow: hidden;
	}
}

@media (max-width: 991px) {
	.thr-login__grid {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.thr-login__form {
		flex-basis: auto;
	}
}

@media (max-width: 767px) {
	.thr-login {
		padding-top: 0;
	}

	.thr-card {
		padding: 28px 24px;
	}

	.thr-card__title {
		font-size: 20px;
		line-height: 29px;
	}

	.thr-login__form .thr-card__title {
		margin-bottom: 20px;
	}

	.thr-login #loginform {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"user"
			"pass"
			"remember"
			"submit"
			"forgot";
		gap: 20px;
	}

	.thr-login__forgot {
		justify-self: center;
		text-align: center;
		white-space: normal;
	}

	.thr-login__preview {
		gap: 16px;
		padding-bottom: 20px;
	}

	.thr-card__text {
		font-size: 15px;
		line-height: 24px;
	}

	.thr-btn--pink-outline {
		align-self: stretch;
	}

	.thr-login__divider {
		display: none; /* niet in het mobiele ontwerp */
	}

	.thr-material a {
		gap: 12px;
	}

	.thr-lessons__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.thr-lescard {
		min-height: 0;
	}
}

@media (max-width: 380px) {
	.thr-dot {
		margin: 0 0.35em;
	}
}
