/*
Theme Name:   Neve Child – Elldus Team
Theme URI:    https://team.teamelldus.de
Description:  Child Theme für Neve mit dem Corporate Design des Elldus Resort und der Darstellung für das MitarbeiterPortal.
Author:       Elldus Resort GmbH
Template:     neve
Version:      1.3.1
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  neve-child
Tags:         blog, one-column, custom-colors, custom-logo
*/

/* -------------------------------------------------------------------------
 * Poppins – selbst gehostet, identisch zu neu.teamelldus.de
 *
 * Gewichte 400 (Text), 500, 600 (Überschriften) und 700, jeweils als
 * latin und latin-ext. Die Dateinamen und unicode-range-Werte entsprechen
 * exakt denen auf neu.teamelldus.de – du kannst die Dateien also direkt aus
 * wp-content/themes/elldus-neve-child/assets/fonts/ herüberkopieren.
 *
 * Ziel: KEINE Verbindung zu fonts.googleapis.com. Beim Laden von Google
 * würde die IP-Adresse jedes Mitarbeitenden dorthin übertragen, was für ein
 * internes Portal mit DSGVO-Hinweisen nicht vertretbar ist.
 *
 * Fehlen die Dateien, greift automatisch der System-Fallback – es bricht nichts.
 * ---------------------------------------------------------------------- */

/* --- 400 Regular --- */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins-400-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;
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins-400-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;
}

/* --- 400 Italic --- */
@font-face {
	font-family: "Poppins";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins-400-italic-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;
}
@font-face {
	font-family: "Poppins";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins-400-italic-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;
}

/* --- 500 Medium --- */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/poppins-500-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;
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/poppins-500-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;
}

/* --- 600 SemiBold (Überschriften) --- */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/poppins-600-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;
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/poppins-600-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;
}

/* --- 700 Bold --- */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/poppins-700-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;
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/poppins-700-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;
}

/* -------------------------------------------------------------------------
 * Corporate Design Elldus Resort
 * ---------------------------------------------------------------------- */

:root {
	--elldus-dunkelblau: #2d4c5a;
	--elldus-dunkelblau-dark: #223a45;
	--elldus-gruen: #7a9e7e;
	--elldus-gruen-hell: #d6ead8;
	--elldus-hellblau: #7da6a8;
	--elldus-creme: #efe9e1;
	--elldus-muted: #4a6570;

	/* Identischer Stack wie auf neu.teamelldus.de. */
	--elldus-font: "Poppins", "Segoe UI", system-ui, sans-serif;
}

/*
 * Schrift für die komplette Seite.
 *
 * Gewichte wie auf neu.teamelldus.de: Text 400, Überschriften 600.
 * Die hohe Selektor-Spezifität ist nötig, weil Neve seine Typografie aus dem
 * Customizer heraus sehr spezifisch setzt.
 */
body,
body p,
body li,
body td,
body th,
body label,
body input,
body select,
body textarea,
body button,
.site-content,
.neve-main {
	font-family: var(--elldus-font);
}

body {
	font-weight: 400;
	color: var(--elldus-dunkelblau);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.widget-title,
.button,
button {
	font-family: var(--elldus-font);
	font-weight: 600;
}

a {
	color: var(--elldus-dunkelblau);
}

a:hover,
a:focus {
	color: var(--elldus-dunkelblau-dark);
}

/* -------------------------------------------------------------------------
 * Seitentemplate "Mitarbeiterportal"
 *
 * Das Portal bringt eigenen Header, eigene Navigation und eigenen Footer mit –
 * darum außen herum keine Seitenüberschrift, keine Sidebar und kein zusätzlicher
 * Innenabstand. Neve-Header und -Footer der Website bleiben erhalten.
 * ---------------------------------------------------------------------- */

.mp-page-wrap {
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

/*
 * Volle Breite: Neve begrenzt den Inhalt normalerweise auf die Container-Breite.
 * Die Überschreibung ist bewusst auf .neve-main eingegrenzt – gälte sie für
 * jedes .container, würden auch der Seitenheader und der Footer von Neve ihre
 * Begrenzung und ihren Innenabstand verlieren.
 */
body.mp-portal-page .neve-main {
	padding: 0;
}

body.mp-portal-page .neve-main .container,
body.mp-portal-page .neve-main .nv-single-page-wrap,
body.mp-portal-page .neve-main .entry-content {
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

/* Neve setzt auf Inhaltsblöcken teils eine eigene Maximalbreite. */
body.mp-portal-page .neve-main .alignfull,
body.mp-portal-page .neve-main > .container > .row {
	margin-left: 0;
	margin-right: 0;
}

/*
 * Das Anmeldeportal gestaltet das Plugin selbst (.mp-login-screen in
 * portal.css) – damit sieht es auch bei einem Theme-Wechsel gleich aus.
 * Hier steht dafür bewusst nichts mehr.
 */

.mp-notice {
	padding: 24px 20px;
	border: 1px solid var(--elldus-gruen);
	background: var(--elldus-gruen-hell);
	border-radius: 12px;
}
