/* Additions to the original Edviatec styles (main.css). */
.edvt-banner { margin-bottom: 0; }
.visually-hidden-focusable:focus { position: fixed; top: 8px; left: 8px; z-index: 10001; background: #fff; padding: 8px 12px; }
.menu-wrapper ul li.active > a { color: var(--bs-primary, #1e6bff); }

/* Regular pages and blog */
.edvt-page { padding: 40px 0 60px; }
.edvt-prose { font-size: 16px; line-height: 1.6; }
.edvt-prose h1 { margin-bottom: 24px; }
.edvt-prose h2 { margin: 32px 0 12px; }
.edvt-prose img { max-width: 100%; height: auto; }
.edvt-meta { color: #8a8a8a; font-size: 13px; margin-bottom: 6px; }
.edvt-thumb { margin-bottom: 24px; }
.edvt-thumb img { border-radius: 12px; width: 100%; height: auto; }
.edvt-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin: 24px 0; }
.edvt-card { background: #fff; border: 1px solid #ececf1; border-radius: 16px; padding: 18px; }
.edvt-card__img img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.edvt-card h2 a { color: inherit; text-decoration: none; }
.edvt-postnav { display: flex; justify-content: space-between; margin-top: 40px; }
.edvt-404 { padding: 100px 0; }

/* Questions page */
.edvt-questions { font-size: 16px; line-height: 1.5; padding-left: 1.2em; }
.edvt-questions li { padding: 10px 0; border-bottom: 1px solid #ececf1; }

/* Newsletter */
.edvt-subscribe { flex-wrap: wrap; gap: 12px; }
.edvt-subscribe label { margin: 0; font-size: 18px; }
.edvt-subscribe .form-control { flex: 1 1 220px; max-width: 360px; }
.edvt-subscribe__msg { flex-basis: 100%; text-align: center; margin: 0; color: #198754; }
.edvt-subscribe__msg.is-error { color: #c0392b; }

/* Plugin pages inside the theme */
.edvt-full .edv-quiz .content, .edvt-full .edv-account { padding-top: 40px; padding-bottom: 60px; }
.edv-map--overview { margin: 30px auto; max-width: 1200px; }
/* Header: keep labels on one line (French labels are longer). */
@media (min-width: 769px) {
	.menu-wrapper ul:not(.dropdown-menu) a, .menu-wrapper > .btn { white-space: nowrap; }
}
@media (min-width: 769px) and (max-width: 1280px) {
	.menu-wrapper ul:not(.dropdown-menu) { padding: 0 16px; }
	.menu-wrapper ul:not(.dropdown-menu) li, .language-fr .menu-wrapper ul:not(.dropdown-menu) li { margin: 0 10px; }
}
/* Test banner sits above the header padding (was an inline style in the old theme). */
.edvt-banner { margin: -40px 0 20px; border-radius: 0; }
@media (max-width: 768px) { .edvt-banner { margin: -35px -10px 15px; } }
