/*
 * House style "Licht & simpel" (brand direction 5, 13 Nov 2026) for GeneratePress.
 * Every rule is scoped to body.fdv-brand (set by the plugin when the style is on).
 *
 * Font: Onest (SIL Open Font License 1.1), hosted with the plugin in
 * assets/fonts/onest.woff2 (no requests to Google). Figtree is the fallback.
 */

@font-face {
	font-family: "Onest";
	src: url("fonts/onest.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("fonts/figtree.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("fonts/figtree-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("fonts/bricolage-grotesque.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

/* ------------------------------------------------------------------ Tokens */
body.fdv-brand {
	/* Names kept from the first house style; values are the new ones. */
	--fdv-forest: #2d2c2b;        /* strong text (charcoal) */
	--fdv-ink: #44423f;           /* running text */
	--fdv-stone: #63605d;         /* meta, labels */
	--fdv-terracotta: #0061ef;    /* action blue */
	--fdv-terracotta-ink: #004fc4;
	--fdv-apricot: #ffce00;       /* yellow block */
	--fdv-lake: #00a4ff;
	--fdv-sun: #ffce00;
	--fdv-orange: #ff6a21;        /* logo sun */
	--fdv-pink: #ffa1cc;
	--fdv-green: #02873e;
	--fdv-sand: #f9f4f2;          /* warm off-white: cards, footer, pills */
	--fdv-sand-dark: #f9f4f2;
	--fdv-line: #e2ded9;
	--fdv-field: #d2d5de;
	--fdv-white: #ffffff;
	--fdv-hero: linear-gradient(180deg, #ffa36b 0%, #ffb7a6 55%, #ffd1e3 100%);
	--fdv-font-head: "Onest", "Figtree", system-ui, sans-serif;
	--fdv-font-body: "Onest", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fdv-radius-s: 8px;
	--fdv-radius: 24px;
	--fdv-radius-l: 24px;

	/* GeneratePress global colours, so theme parts that use them follow along. */
	--contrast: var(--fdv-forest);
	--contrast-2: var(--fdv-ink);
	--contrast-3: var(--fdv-stone);
	--base: var(--fdv-line);
	--base-2: var(--fdv-sand);
	--base-3: var(--fdv-white);
	--accent: var(--fdv-terracotta);

	background: var(--fdv-white);
	color: var(--fdv-ink);
	font-family: var(--fdv-font-body);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.fdv-brand ::selection { background: var(--fdv-sun); color: var(--fdv-forest); }

/* -------------------------------------------------------------- Typography */
body.fdv-brand h1,
body.fdv-brand h2,
body.fdv-brand h3,
body.fdv-brand h4,
body.fdv-brand h5,
body.fdv-brand h6,
body.fdv-brand .entry-title,
body.fdv-brand .widget-title {
	font-family: var(--fdv-font-head);
	color: var(--fdv-forest);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-transform: none;
}
body.fdv-brand h1,
body.fdv-brand h1.entry-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 0.4em; }
body.fdv-brand h2,
body.fdv-brand h2.entry-title { font-size: clamp(28px, 3.4vw, 40px); margin: 1.4em 0 0.5em; }
body.fdv-brand h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 1.3em 0 0.4em; }
body.fdv-brand h4 { font-size: 21px; font-weight: 700; margin: 1.2em 0 0.4em; }
body.fdv-brand h5,
body.fdv-brand h6 { font-family: var(--fdv-font-body); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fdv-stone); }
body.fdv-brand .entry-content > :first-child { margin-top: 0; }
body.fdv-brand h2.entry-title a,
body.fdv-brand h2.entry-title a:hover { color: inherit; text-decoration: none; }

body.fdv-brand p,
body.fdv-brand li { color: var(--fdv-ink); }
body.fdv-brand strong { color: var(--fdv-forest); font-weight: 700; }
body.fdv-brand .entry-content .has-large-font-size,
body.fdv-brand .entry-content > p:first-child { font-size: 20px; line-height: 1.6; }

body.fdv-brand a { color: var(--fdv-forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.fdv-brand a:hover,
body.fdv-brand a:focus { color: var(--fdv-terracotta); }
body.fdv-brand :focus-visible { outline: 3px solid var(--fdv-forest); outline-offset: 2px; border-radius: 4px; }

body.fdv-brand .entry-content ul,
body.fdv-brand .entry-content ol { padding-left: 1.3em; margin-left: 0; }
body.fdv-brand .entry-content li { margin-bottom: 0.35em; }
body.fdv-brand .entry-content li::marker { color: var(--fdv-forest); font-weight: 700; }

body.fdv-brand .entry-meta,
body.fdv-brand .entry-meta a,
body.fdv-brand .cat-links,
body.fdv-brand .tags-links,
body.fdv-brand .comments-link { color: var(--fdv-stone); font-size: 15px; }

body.fdv-brand hr,
body.fdv-brand .wp-block-separator { border: 0; border-top: 1px solid var(--fdv-line); opacity: 1; }

/* ------------------------------------------------------------------ Header */
body.fdv-brand .site-header { background: var(--fdv-white); border-bottom: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
body.fdv-brand .inside-header { padding-top: 16px; padding-bottom: 16px; }
body.fdv-brand .site-description { display: none; }
body.fdv-brand .site-logo { margin: 0; }

body.fdv-brand .fdv-logo { margin: 0; font-size: 0; line-height: 1; }
body.fdv-brand .fdv-logo a { display: inline-flex; align-items: center; gap: 6px; color: var(--fdv-forest); text-decoration: none; }
body.fdv-brand .fdv-logo .fdv-logo-mark { flex-shrink: 0; }
body.fdv-brand .fdv-logo .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }
body.fdv-brand .fdv-logo-word { display: flex; flex-direction: column; font-family: var(--fdv-font-head); line-height: 1; }
body.fdv-brand .fdv-logo-fly { font-size: 25px; font-weight: 700; letter-spacing: -0.035em; color: var(--fdv-forest); }
body.fdv-brand .fdv-logo-rest { display: none; }

body.fdv-brand .main-navigation,
body.fdv-brand .main-navigation ul ul { background: var(--fdv-white); }
body.fdv-brand .main-navigation .main-nav ul li a,
body.fdv-brand .main-navigation .menu-toggle,
body.fdv-brand .main-navigation .menu-bar-items { color: var(--fdv-forest); font-family: var(--fdv-font-body); font-size: 16px; font-weight: 400; }
body.fdv-brand .main-navigation .main-nav ul li:not(.fdv-cta) a:hover,
body.fdv-brand .main-navigation .main-nav ul li:not(.fdv-cta) a:focus,
body.fdv-brand .main-navigation .main-nav ul li.current-menu-item:not(.fdv-cta) > a,
body.fdv-brand .main-navigation .main-nav ul li.current-menu-ancestor:not(.fdv-cta) > a { color: var(--fdv-terracotta-ink); background: transparent; }
body.fdv-brand .main-navigation ul ul { border: 1px solid var(--fdv-line); border-radius: var(--fdv-radius-s); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10); }

/* Menu item with the CSS class "fdv-cta" becomes the blue call-to-action button. */
body.fdv-brand .main-navigation .main-nav ul li.fdv-cta > a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	margin: 8px 0 8px 12px;
	padding: 0 24px;
	border-radius: 32px;
	font-size: 15px;
	font-weight: 700;
	background: var(--fdv-terracotta);
	color: var(--fdv-white);
	line-height: 1;
}
body.fdv-brand .main-navigation .main-nav ul li.fdv-cta > a:hover,
body.fdv-brand .main-navigation .main-nav ul li.fdv-cta > a:focus { background: var(--fdv-terracotta-ink); color: var(--fdv-white); }

/* ----------------------------------------------------------------- Content */
body.fdv-brand .site,
body.fdv-brand .site-content,
body.fdv-brand.separate-containers .site-main { background: transparent; }
body.fdv-brand.separate-containers .inside-article,
body.fdv-brand.separate-containers .comments-area,
body.fdv-brand.separate-containers .page-header,
body.fdv-brand.separate-containers .paging-navigation,
body.fdv-brand .sidebar .widget {
	background: var(--fdv-white);
	border-radius: var(--fdv-radius);
}
body.fdv-brand .sidebar .widget { background: var(--fdv-sand); }
body.fdv-brand.one-container .container,
body.fdv-brand.one-container .site-content { background: transparent; }

body.fdv-brand .entry-content img,
body.fdv-brand .wp-block-image img,
body.fdv-brand .wp-block-cover,
body.fdv-brand .wp-block-embed iframe,
body.fdv-brand .post-image img { border-radius: 24px; }
body.fdv-brand .wp-block-image figcaption,
body.fdv-brand figcaption { color: var(--fdv-stone); font-size: 14px; text-align: left; }

body.fdv-brand blockquote,
body.fdv-brand .wp-block-quote {
	margin: 1.6em 0;
	padding: 24px 28px;
	border: 0;
	border-radius: var(--fdv-radius);
	background: var(--fdv-sand-dark);
	font-style: normal;
}
body.fdv-brand blockquote p { font-family: var(--fdv-font-head); font-size: 22px; line-height: 1.35; font-weight: 600; color: var(--fdv-forest); }
body.fdv-brand blockquote cite,
body.fdv-brand .wp-block-quote cite { font-size: 15px; font-style: normal; color: var(--fdv-stone); }
body.fdv-brand .wp-block-pullquote { border-color: var(--fdv-line); }

body.fdv-brand table { border-collapse: collapse; border: 0; font-size: 16px; }
body.fdv-brand th,
body.fdv-brand td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--fdv-line); text-align: left; }
body.fdv-brand th,
body.fdv-brand thead td { color: var(--fdv-forest); font-weight: 700; border-bottom-width: 2px; }

/* Details block: used for FAQs. */
body.fdv-brand .wp-block-details {
	margin: 0 0 12px;
	padding: 20px 24px;
	border: 2px solid var(--fdv-line);
	border-radius: 8px;
	background: var(--fdv-white);
}
body.fdv-brand .wp-block-details summary { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; color: var(--fdv-forest); cursor: pointer; }
body.fdv-brand .wp-block-details[open] summary { margin-bottom: 8px; }

/* Group block with a background colour → soft card. */
body.fdv-brand .wp-block-group.has-background { border-radius: var(--fdv-radius); padding: 28px; }

/* ----------------------------------------------------------------- Buttons */
body.fdv-brand button,
body.fdv-brand input[type="button"],
body.fdv-brand input[type="reset"],
body.fdv-brand input[type="submit"],
body.fdv-brand a.button,
body.fdv-brand .button,
body.fdv-brand .wp-block-button__link,
body.fdv-brand .wp-element-button {
	min-height: 48px;
	padding: 0 24px;
	border: 2px solid var(--fdv-terracotta);
	border-radius: 32px;
	background: var(--fdv-terracotta);
	color: var(--fdv-white);
	font-family: var(--fdv-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
body.fdv-brand a.button,
body.fdv-brand .wp-block-button__link,
body.fdv-brand a.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
body.fdv-brand button:hover,
body.fdv-brand input[type="submit"]:hover,
body.fdv-brand a.button:hover,
body.fdv-brand .button:hover,
body.fdv-brand .wp-block-button__link:hover,
body.fdv-brand .wp-element-button:hover,
body.fdv-brand button:focus-visible,
body.fdv-brand .wp-block-button__link:focus-visible {
	background: var(--fdv-terracotta-ink);
	border-color: var(--fdv-terracotta-ink);
	color: var(--fdv-white);
}
/* Outline button style → charcoal outline pill. */
body.fdv-brand .wp-block-button.is-style-outline > .wp-block-button__link,
body.fdv-brand .wp-block-button__link.is-style-outline {
	background: transparent;
	border-width: 1px;
	border-color: var(--fdv-forest);
	border-radius: 999px;
	color: var(--fdv-forest);
}
body.fdv-brand .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body.fdv-brand .wp-block-button__link.is-style-outline:hover {
	background: var(--fdv-forest);
	border-color: var(--fdv-forest);
	color: var(--fdv-white);
}
/* Theme buttons that are not real actions (menu toggle, search) stay quiet. */
body.fdv-brand .menu-toggle,
body.fdv-brand .main-navigation .menu-toggle,
body.fdv-brand .search-item button,
body.fdv-brand .dropdown-menu-toggle {
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: var(--fdv-forest);
	font-size: 16px;
}
body.fdv-brand .menu-toggle:hover,
body.fdv-brand .menu-toggle:focus-visible { background: var(--fdv-sand-dark); color: var(--fdv-forest); }

/* ------------------------------------------------------------------- Forms */
body.fdv-brand input[type="text"],
body.fdv-brand input[type="email"],
body.fdv-brand input[type="url"],
body.fdv-brand input[type="password"],
body.fdv-brand input[type="search"],
body.fdv-brand input[type="tel"],
body.fdv-brand input[type="number"],
body.fdv-brand input[type="date"],
body.fdv-brand select,
body.fdv-brand textarea {
	min-height: 48px;
	padding: 10px 16px;
	border: 1px solid var(--fdv-field);
	border-radius: var(--fdv-radius-s);
	background: var(--fdv-white);
	color: var(--fdv-forest);
	font-family: var(--fdv-font-body);
	font-size: 16px;
}
body.fdv-brand input:focus,
body.fdv-brand select:focus,
body.fdv-brand textarea:focus { border-color: var(--fdv-forest); outline: 3px solid rgba(0, 97, 239, 0.18); outline-offset: 0; }
body.fdv-brand label { color: var(--fdv-forest); font-weight: 500; font-size: 15px; }

/* ----------------------------------------------------------- Sidebar, misc */
body.fdv-brand .widget-title { font-size: 20px; margin-bottom: 12px; }
body.fdv-brand .widget ul li { border-color: var(--fdv-line); }
body.fdv-brand .paging-navigation a,
body.fdv-brand .nav-links a { font-weight: 700; }

/* ------------------------------------------------------------------ Footer */
body.fdv-brand .site-footer .footer-widgets { background: var(--fdv-sand); color: var(--fdv-ink); }
body.fdv-brand .site-footer .footer-widgets h2,
body.fdv-brand .site-footer .footer-widgets .widget-title,
body.fdv-brand .site-footer .footer-widgets strong { color: var(--fdv-forest); }
body.fdv-brand .site-footer .footer-widgets p,
body.fdv-brand .site-footer .footer-widgets li { color: var(--fdv-ink); }
body.fdv-brand .site-footer .footer-widgets a { color: var(--fdv-forest); }
body.fdv-brand .site-footer .site-info,
body.fdv-brand .site-info { background: var(--fdv-sand); color: var(--fdv-stone); font-size: 15px; border-top: 1px solid var(--fdv-line); }
body.fdv-brand .site-info a { color: var(--fdv-forest); }

/* ------------------------------------------------------------------ Mobile */
@media (max-width: 768px) {
	body.fdv-brand { font-size: 17px; }
	body.fdv-brand.separate-containers .inside-article { padding: 24px 20px; border-radius: 16px; }
	body.fdv-brand .fdv-logo-fly { font-size: 22px; }
	body.fdv-brand .main-navigation .main-nav ul li.fdv-cta > a { margin: 8px 16px 12px; }
}

@media (prefers-reduced-motion: reduce) {
	body.fdv-brand * { transition: none !important; }
}

/* The bundled 29 Roads logo in the header (only when no logo is set in GeneratePress). */
body.fdv-brand .fdv-logo-img { display: block; width: auto; height: 64px; }
@media (max-width: 768px) { body.fdv-brand .fdv-logo-img { height: 44px; } }
