/*
Theme Name: EistrupWeb Child
Theme URI: https://eistrupweb.dk
Template: eistrupweb-theme
Author: EistrupWeb
Author URI: https://eistrupweb.dk
Description: Child-theme til EistrupWeb-temaet. Her ligger hjemmesidens egne tilpasninger: shortcodes og SEO-paginering til Rank Math. Bygget oven på det lette EistrupWeb-fundament.
Version: 1.0.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: eistrupweb-child
*/

/* -------------------------------------------------------------------------
   Egne CSS-tilpasninger til denne hjemmeside skrives her.
   Parent-temaets reset loader automatisk forud for denne fil.
   ------------------------------------------------------------------------- */

/* Inter, hentet fra egen server. Variabel fil, begrænset til vægtene 400-800
   (kittet bruger 400, 600, 700 og 800). Ingen Google Fonts udefra. */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('fonts/inter-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;
}
/* Inter har ingen pile (→) i latin-filen. Pilene kommer derfor fra systemets skrift,
   præcis som i mockupperne (SF på Mac, Segoe UI på Windows). Det er bevidst. */
/* Inter kursiv. Hentes kun, hvis en side bruger kursiv. */
@font-face {
	font-family: 'Inter';
	font-style: italic;
	font-weight: 400 800;
	font-display: swap;
	src: url('fonts/inter-latin-ext-italic.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter';
	font-style: italic;
	font-weight: 400 800;
	font-display: swap;
	src: url('fonts/inter-latin-italic.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;
}

/* Overskrifter som div (eyebrows, labels, kort-titler) får mockuppernes linjehøjde 1.6
   i stedet for Elementors 1. En linjehøjde sat på widgetten eller i et preset vinder stadig. */
.elementor-widget-heading div.elementor-heading-title {
	line-height: 1.6;
}

/* -------------------------------------------------------------------------
   Effekter fra mockupperne. Styres af groh-effects.js. Klassen groh-js sættes
   i <head>, så intet skjules, hvis JavaScript ikke kører. Ikke i Elementors editor.
   ------------------------------------------------------------------------- */
.groh-js body:not(.elementor-editor-active) .groh-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .8s ease, transform .8s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.groh-js body:not(.elementor-editor-active) .groh-reveal.is-visible {
	opacity: 1;
	transform: none;
}
.groh-az-ready { display: inline-flex; align-items: baseline; }
.groh-az-ready span { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.groh-az-ready .groh-az-arrow { padding: 0 8px; transform: translateX(-8px); transition: opacity .4s ease, transform .4s ease; }
.groh-az-ready.is-animated span, .groh-az-ready .groh-sr { opacity: 1; transform: none; }
.groh-az-ready.is-animated .groh-az-a { transition-delay: .05s; }
.groh-az-ready.is-animated .groh-az-arrow { transition-delay: .55s; }
.groh-az-ready.is-animated .groh-az-z { transition-delay: 1.05s; }
@media (prefers-reduced-motion: reduce) {
	.groh-js body .groh-reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------------------
   Komponenter til undersiderne. Ligger her og ikke i kittet, fordi kittets
   Custom CSS har nået bridgens grænse for størrelse. Farver via kittets variabler.
   ------------------------------------------------------------------------- */

/* Underside-hero: billede som widget, gradient og gitter som i mockupperne */
.groh-subhero { position: relative; isolation: isolate; overflow: hidden; }
.groh-subhero::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgba(15,27,61,.92) 0%, rgba(26,40,85,.85) 40%, rgba(58,107,212,.65) 80%, rgba(80,130,230,.45) 100%); }
.groh-subhero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at right center, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at right center, #000 0%, transparent 70%); }
.groh-subhero > .groh-subhero-bg { position: absolute !important; inset: 0; z-index: -3; width: auto !important; max-width: none !important; margin: 0 !important; }
.groh-subhero-bg img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; filter: saturate(.55) contrast(1.05) brightness(.55); }
.groh-subhero--split > .groh-subhero-bg { left: 38%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
@media (max-width: 900px) {
	.groh-subhero--split > .groh-subhero-bg { left: 0; -webkit-mask-image: none; mask-image: none; }
}

/* Brødkrumme fra Rank Math */
.groh-breadcrumb .rank-math-breadcrumb p { margin: 0; font-size: 13px; letter-spacing: .02em; color: rgba(255,255,255,.65); }
.groh-breadcrumb .rank-math-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s ease; }
.groh-breadcrumb .rank-math-breadcrumb a:hover { color: var(--e-global-color-1d1e2eb); }
.groh-breadcrumb .separator { color: rgba(255,255,255,.35); padding: 0 4px; }
.groh-breadcrumb .last { color: var(--e-global-color-1d1e2eb); font-weight: 600; }
@media (max-width: 560px) {
	.groh-breadcrumb .rank-math-breadcrumb p { font-size: 12px; }
}

/* Billede som kort med skygge, fylder sin celle */
.groh-media-card, .groh-media-card img { height: 100%; }
.groh-media-card img { display: block; width: 100%; min-height: 360px; object-fit: cover; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(32,52,101,.25); }

/* Tjekliste (Icon List) med runde flueben */
.groh-checklist .elementor-icon-list-items { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.groh-checklist .elementor-icon-list-item { margin: 0 !important; padding: 18px 0 !important; border-bottom: 1px solid var(--e-global-color-0aa7f07); }
.groh-checklist .elementor-icon-list-item, .groh-checklist .elementor-icon-list-item > a { display: flex; align-items: center; gap: 16px; }
.groh-checklist .elementor-icon-list-icon { flex-shrink: 0; width: 32px !important; height: 32px; border-radius: 50%; background: var(--e-global-color-6dcd77c); color: var(--e-global-color-primary); display: flex; align-items: center; justify-content: center; }
.groh-checklist .elementor-icon-list-icon svg { width: 18px !important; height: 18px !important; }
.groh-checklist .elementor-icon-list-text { padding: 0 !important; transition: color .2s ease; }
.groh-checklist--pledge .elementor-icon-list-items { grid-template-columns: 1fr; }
.groh-checklist--pledge .elementor-icon-list-item { align-items: flex-start; gap: 20px; padding: 22px 0 !important; }
.groh-checklist--pledge .elementor-icon-list-item:first-child { padding-top: 0 !important; }
.groh-checklist--pledge .elementor-icon-list-item:last-child { border-bottom: 0; }
.groh-checklist--pledge .elementor-icon-list-icon { margin-top: 2px; }
@media (max-width: 900px) {
	.groh-checklist .elementor-icon-list-items { grid-template-columns: 1fr; column-gap: 0; }
}

/* Projekttypekort: pil nederst til højre (skjult på touch, som i mockuppen) */
.groh-ptype::after { content: ''; position: absolute; right: 10px; bottom: 10px; width: 14px; height: 14px; background-color: var(--e-global-color-c174188); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 7l10 10M17 9v8h-8'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 7l10 10M17 9v8h-8'/></svg>") center / contain no-repeat; opacity: .5; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.groh-ptype:hover::after { opacity: 1; transform: translate(2px, 2px); }
@media (hover: none) {
	.groh-ptype::after { display: none; }
}

/* Get in touch: glød i hjørnet og kontaktkort */
.groh-git { position: relative; overflow: hidden; isolation: isolate; }
/* Eyebrow med kort blå streg foran (vendor-panelet på Professional Services) */
.groh-eyebrow-line .elementor-heading-title { display: inline-flex; align-items: center; gap: 12px; }
.groh-eyebrow-line .elementor-heading-title::before { content: ''; width: 28px; height: 2px; flex-shrink: 0; background: var(--e-global-color-primary); }
/* Billede der fylder sin celle (vendor-panelet) */
.groh-vendor-visual { position: relative; min-height: 320px; }
.groh-vendor-visual img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
@media (max-width: 900px) { .groh-vendor-visual { min-height: 240px; order: -1; } }
/* Kontrast (Peter 16/11): tekst på blå og blå tekst på hvid bruger GROH Blue Dark, så de klarer 4,5:1.
   Knappernes farver ligger i kittet. Tekstlinks og menuens Contact-knap rettes her. */
body.elementor-kit-1323 .groh-btn-link:not(.groh-btn-on-dark) .elementor-button { color: var(--e-global-color-c174188); fill: var(--e-global-color-c174188); }
body .groh-nav .groh-nav-cta > a.elementor-item,
body .groh-nav nav.elementor-nav-menu--dropdown .groh-nav-cta > a.elementor-item { background: var(--e-global-color-c174188) !important; }
body .groh-nav .groh-nav-cta > a.elementor-item:hover,
body .groh-nav nav.elementor-nav-menu--dropdown .groh-nav-cta > a.elementor-item:hover { background: var(--e-global-color-secondary) !important; }
/* Elementor giver ikonlistens SVG en højremargin, som skubber fluebenet ud af midten af cirklen */
.groh-checklist .elementor-icon-list-icon svg { margin: 0 !important; }
/* USP-bånd (skabelon 1487): punkterne fordeles over hele bredden, centreret ≤900 */
.groh-usp .elementor-icon-list-items.elementor-inline-items { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 56px; margin: 0 !important; }
.groh-usp .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.groh-usp .elementor-icon-list-item::after { display: none !important; }
.groh-usp .elementor-icon-list-icon svg { margin: 0 !important; }
/* Fluebenet tegnes med stroke="currentColor", så farven skal sættes som color, ikke fill */
.groh-usp .elementor-icon-list-icon { color: var(--e-global-color-primary); }
@media (max-width: 900px) { .groh-usp .elementor-icon-list-items.elementor-inline-items { justify-content: center; } }
/* Mobil: punkterne under hinanden og venstrestillet (Peter 16/11) */
@media (max-width: 767px) { .groh-usp .elementor-icon-list-items.elementor-inline-items { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; } }
/* Kompetencesider: billede ved siden af tekst, 4:5 med runde hjørner og skygge. ≤900 under teksten i 16:10 */
.groh-career-visual img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto !important; object-fit: cover; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(32,52,101,.2); }
@media (max-width: 900px) {
.groh-career-visual { max-width: 560px; width: 100%; margin: 0 auto; }
.groh-career-visual img { aspect-ratio: 16 / 10; }
.groh-career--reverse > .groh-career-visual { order: 2; }
}
/* Tekst og billede starter øverst, så korte tekster flugter med billedets top (Mads, korrektur 4-6, 24/11). Mockuppen centrerer. */
@media (min-width: 901px) { .e-con.e-grid.groh-career { --align-items: start; align-items: start; } }
/* Systemkort på kompetencesiderne: blå kant til venstre og blød skygge */
.e-con.groh-system-card { border-left-color: var(--e-global-color-primary) !important; box-shadow: 0 10px 30px -18px rgba(32,52,101,.25); }
/* About us: kort over Sjælland vises helt, uden skygge, på lys flade */
.groh-map-visual { background: var(--e-global-color-b084c04); border-radius: 12px; padding: 16px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.groh-map-visual img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) { .groh-map-visual { max-width: 480px; width: 100%; margin: 0 auto; } }
/* About us: lederkort */
.e-con.groh-founder-card { overflow: hidden; box-shadow: 0 10px 30px -15px rgba(32,52,101,.12); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.e-con.groh-founder-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -20px rgba(32,52,101,.25); border-color: var(--e-global-color-primary) !important; }
.groh-founder-photo { position: relative; flex-shrink: 0; height: 0; padding-top: 100% !important; overflow: hidden; background: var(--e-global-color-6dcd77c); }
.groh-founder-photo img { position: absolute; height: auto !important; max-width: none !important; }
.groh-founder-role { min-height: 36px; }
.groh-founder-contact .elementor-icon-list-text { word-break: break-word; }
/* Contact: kontorkort */
.e-con.groh-location-card { box-shadow: 0 20px 40px -20px rgba(32,52,101,.12); transition: transform .25s ease, box-shadow .25s ease; }
.e-con.groh-location-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -20px rgba(32,52,101,.22); }
/* Contact: afdelingskort, 4 pr. række, 2 under 1200px, 1 på mobil */
.e-con.groh-dept-card { --width: calc((100% - 60px) / 4); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
@media (max-width: 1200px) { .e-con.groh-dept-card { --width: calc((100% - 20px) / 2); } }
@media (max-width: 767px) { .e-con.groh-dept-card { --width: 100%; } }
.e-con.groh-dept-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(32,52,101,.2); border-color: var(--e-global-color-primary) !important; }
.groh-dept-icon .elementor-icon { transition: background .2s ease, color .2s ease, fill .2s ease; }
.groh-dept-icon .elementor-icon svg { fill: none !important; stroke: currentColor; }
.e-con.groh-location-card > .e-con { flex: 1 1 0; min-width: 0; }
.groh-dept-card:hover .groh-dept-icon .elementor-icon { background-color: var(--e-global-color-primary) !important; color: #fff !important; }
.groh-dept-name .elementor-heading-title a { transition: color .2s ease; }
.groh-dept-card:hover .groh-dept-name .elementor-heading-title, .groh-dept-card:hover .groh-dept-name a { color: var(--e-global-color-primary) !important; }
.e-con.groh-dept-contact { margin-top: auto; }
.groh-dept-avatar { flex-shrink: 0; width: 52px; }
.groh-dept-avatar img { width: 52px !important; height: 52px !important; border-radius: 50%; object-fit: cover; display: block; }
.e-con.groh-dept-info { flex: 1 1 0; min-width: 0; }
.groh-dept-lines .elementor-icon-list-item a { min-width: 0; }
.groh-dept-lines .elementor-icon-list-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Jobopslag: Gutenberg-indholdet styles som i mockuppen. Første afsnit er indledning, lister er tjeklister. */
.groh-job-content > * > *:first-child, .groh-job-content > *:first-child { margin-top: 0; }
.groh-job-content p { font-size: 17px; line-height: 1.75; color: var(--e-global-color-text); margin: 0 0 18px; }
.groh-job-content .elementor-widget-container > p:first-child, .groh-job-content > p:first-child { font-size: 21px; line-height: 1.6; font-weight: 600; color: var(--e-global-color-secondary); padding-bottom: 40px; margin-bottom: 8px; border-bottom: 1px solid var(--e-global-color-0aa7f07); }
.groh-job-content p:last-child { margin-bottom: 0; }
.groh-job-content h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--e-global-color-secondary); margin: 56px 0 20px; }
.groh-job-content h3 { font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--e-global-color-secondary); margin: 32px 0 10px; }
.groh-job-content strong { color: var(--e-global-color-secondary); }
.groh-job-content a { color: var(--e-global-color-c174188); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s ease; }
.groh-job-content a:hover { color: var(--e-global-color-secondary); }
.groh-job-content ul { list-style: none; margin: 8px 0 28px; padding: 0; border-top: 1px solid var(--e-global-color-0aa7f07); }
.groh-job-content ul li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--e-global-color-0aa7f07); font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--e-global-color-text); }
.groh-job-content ul li::before { content: ''; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); background-color: var(--e-global-color-primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 900px) {
	.groh-job-content .elementor-widget-container > p:first-child, .groh-job-content > p:first-child { font-size: 19px; padding-bottom: 32px; }
	.groh-job-content h2 { margin-top: 44px; }
}
/* Join us: jobkort (loop-skabelon) */
.e-con.groh-position-card { text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.e-con.groh-position-card:hover { transform: translateY(-3px); border-color: var(--e-global-color-accent) !important; box-shadow: 0 16px 32px -18px rgba(32,52,101,.35); }
.e-con.groh-position-text { flex: 1 1 0; min-width: 0; }
/* Telefonnumre i kontorkortene (Contact): samme farve som adressen, blå ved hover (19/11) */
.groh-location-card a.groh-tel { color: inherit !important; text-decoration: none; transition: color .2s ease; }
.groh-location-card a.groh-tel:hover, .groh-location-card a.groh-tel:focus-visible { color: var(--e-global-color-c174188) !important; }
/* Ingen ledige stillinger: Loop Grids tekst centreret som brødtekst */
.groh-positions .e-loop-nothing-found-message__text { margin: 0; text-align: center; font-size: 17px; line-height: 1.7; color: var(--e-global-color-text); }
.groh-position-card .groh-position-excerpt, .groh-position-card .groh-position-excerpt p { color: var(--e-global-color-text) !important; }
.groh-position-excerpt p, .groh-position-excerpt .elementor-widget-container { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.groh-position-cta { flex-shrink: 0; white-space: nowrap; }
.groh-position-cta .groh-arrow { display: inline-block; margin-left: 10px; transition: transform .2s ease; }
.groh-position-card:hover .groh-position-cta .groh-arrow { transform: translateX(4px); }
/* Inline-link med streg under (Join us) */
.groh-inline-cta .elementor-button { background: transparent !important; color: var(--e-global-color-c174188) !important; padding: 10px 0 !important; border: 0 !important; border-radius: 0 !important; border-bottom: 2px solid var(--e-global-color-primary) !important; box-shadow: none !important; transform: none !important; font-size: 15px; font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.groh-inline-cta .elementor-button:hover, .groh-inline-cta .elementor-button:focus { background: transparent !important; color: var(--e-global-color-secondary) !important; border-bottom-color: var(--e-global-color-secondary) !important; box-shadow: none !important; transform: none !important; }
/* Join us: slideshow bygget af et galleri (groh-effects.js) */
.groh-slideshow .groh-ss { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; }
.groh-ss-track { position: absolute; inset: 0 auto 0 0; width: 100%; display: flex; gap: 16px; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.groh-ss-slide { flex: 0 0 calc(100% - 40px); height: 100%; margin: 0 !important; padding: 0 !important; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(32,52,101,.2); cursor: zoom-in; }
.groh-ss-slide a, .groh-ss-slide .gallery-icon { display: block; height: 100%; }
.groh-ss-slide img { display: block; width: 100%; height: 100% !important; object-fit: cover; border: 0 !important; }
.groh-slideshow button { min-width: 0; min-height: 0; line-height: 0; font-size: 0; letter-spacing: 0; text-transform: none; }
.groh-ss-btn { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #fff !important; color: var(--e-global-color-secondary) !important; box-shadow: 0 8px 20px -4px rgba(32,52,101,.3) !important; display: flex; align-items: center; justify-content: center; cursor: pointer; transform: translateY(-50%); transition: transform .2s ease, background .2s ease, color .2s ease; }
.groh-ss-btn:hover, .groh-ss-btn:focus-visible { background: var(--e-global-color-primary) !important; color: #fff !important; transform: translateY(-50%) scale(1.1); }
.groh-ss-btn:focus:not(:focus-visible) { background: #fff !important; color: var(--e-global-color-secondary) !important; }
.groh-ss-btn svg { width: 16px; height: 16px; }
.groh-ss-btn[hidden] { display: none; }
.groh-ss-next { right: 12px; } .groh-ss-prev { left: 12px; }
.groh-ss-dots { position: absolute; left: 0; right: 0; bottom: -32px; display: flex; gap: 8px; justify-content: center; }
.groh-ss-dot { width: 16px !important; height: 24px !important; margin: -8px -4px !important; padding: 8px 4px !important; background-clip: content-box !important; background-color: var(--e-global-color-0aa7f07) !important; border: 0 !important; border-radius: 50% !important; box-shadow: none !important; transform: none !important; cursor: pointer; transition: background-color .2s ease, padding .2s ease; }
.groh-ss-dot:hover, .groh-ss-dot:focus { background-color: var(--e-global-color-accent) !important; }
.groh-ss-dot.is-active, .groh-ss-dot.is-active:hover, .groh-ss-dot.is-active:focus { background-color: var(--e-global-color-primary) !important; padding: 6.8px 2.8px !important; }
.groh-slideshow { position: relative; }
@media (max-width: 900px) {
	.groh-slideshow { max-width: 560px; width: 100%; margin: 0 auto; }
	.groh-ss-btn { width: 32px; height: 32px; } .groh-ss-btn svg { width: 14px; height: 14px; }
	.groh-ss-next { right: 8px; } .groh-ss-prev { left: 8px; }
}
/* Join us: fire værdier på blå gradient med logo og forbindelseslinjer */
.e-con.groh-values { background: linear-gradient(135deg, #2c4f9e 0%, #3a6bd4 50%, #5b85e0 100%); }
.groh-values-logo img { display: block; width: 280px; max-width: 100%; height: auto; margin: 0 auto; }
.e-con.groh-values-connector { position: relative; height: 48px; background-image: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)), linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)), linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)), linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)); background-repeat: no-repeat; background-size: 1px 24px; background-position: calc((100% - 72px) / 8) 24px, calc((100% - 72px) * 3 / 8 + 24px) 24px, calc((100% - 72px) * 5 / 8 + 48px) 24px, calc((100% - 72px) * 7 / 8 + 72px) 24px; }
.e-con.groh-values-connector::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 24px; background: rgba(255,255,255,.7); }
.e-con.groh-values-connector::after { content: ''; position: absolute; top: 24px; height: 1px; left: calc((100% - 72px) / 8); right: calc((100% - 72px) / 8); background: rgba(255,255,255,.7); }
.groh-value-icon .elementor-icon svg { fill: none !important; stroke: currentColor; }
.groh-value-icon .elementor-icon-wrapper, .groh-value-icon .elementor-icon { display: flex; line-height: 0; }
.e-con.groh-values-grid, .e-con.groh-values-connector { max-width: 1160px; }
@media (max-width: 1024px) { .e-con.groh-values-grid { max-width: 720px; } }
@media (max-width: 767px) { .e-con.groh-values-grid { max-width: 480px; } }
@media (max-width: 1024px) { .e-con.groh-values-connector { display: none; } .elementor-widget.groh-values-logo { margin-bottom: 48px !important; } }
/* Mobil: mindre logo og luft ned til første kort (Peter 19/11) */
@media (max-width: 767px) { .elementor-widget.groh-values-logo img { width: 180px !important; } .elementor-widget.groh-values-logo { margin-bottom: 40px !important; } }
/* Smallere billedfelt i subhero (MES), så personen og skærmene er med */
@media (min-width: 901px) { .groh-subhero--narrow > .groh-subhero-bg { left: 50% !important; } }
/* Kun for skærmlæsere og agenter */
.groh-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Direkte links med #anker lander under den sticky header */
.e-con[id] { scroll-margin-top: 85px; }
/* Ikon-widgetten må ikke være højere end ikonet, så titlen står midt for det */
.groh-ptype .elementor-icon-wrapper { display: flex; line-height: 0; }
.groh-contact-card > .e-con { flex: 1 1 0 !important; min-width: 0; }
.groh-contact-links .elementor-icon-list-icon { flex-shrink: 0; }
@media (max-width: 767px) { .groh-avatar img { width: 64px; } }
/* Projekttyper i én kolonne på mobil, når template-widgetten har klassen groh-ptypes-stack (Projects) */
@media (max-width: 767px) {
.groh-ptypes-stack.groh-ptypes-stack .e-grid.e-con { --e-con-grid-template-columns: 1fr !important; grid-template-columns: 1fr !important; }
.groh-ptypes-stack.groh-ptypes-stack .e-con.e-con.groh-ptype { --flex-direction: row !important; --align-items: center !important; --gap: 16px 16px !important; --row-gap: 16px !important; --column-gap: 16px !important; --padding-top: 24px !important; --padding-bottom: 24px !important; --padding-left: 22px !important; --padding-right: 22px !important; }
.groh-ptypes-stack.groh-ptypes-stack .groh-ptype-name .elementor-heading-title { font-size: 17px; }
/* Ikon og titel på én linje, punkterne altid synlige under */
.groh-ptypes-stack.groh-ptypes-stack .e-con.e-con.groh-ptype { --flex-wrap: wrap !important; --row-gap: 14px !important; --gap: 14px 16px !important; }
.groh-ptypes-stack.groh-ptypes-stack .groh-ptype .groh-ptype-name { flex: 1 1 0 !important; min-width: 0; }
.groh-ptypes-stack.groh-ptypes-stack .groh-ptype .groh-ptype-list { position: static; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin: 0; padding: 0; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: 0; background: none; }
.groh-ptypes-stack.groh-ptypes-stack .groh-ptype .groh-ptype-list::before { display: none; }
}
.e-con.groh-gradient { background-color: var(--e-global-color-df67033); background-image: linear-gradient(90deg, var(--e-global-color-df67033) 0%, var(--e-global-color-secondary) 30%, var(--e-global-color-c174188) 70%, var(--e-global-color-primary) 100%); }
.groh-git::after { content: ''; position: absolute; top: -200px; right: -200px; left: auto; width: 600px; height: 600px; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(80,130,230,.3) 0%, transparent 70%); }
.groh-contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.groh-contact-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.groh-avatar { flex-shrink: 0; }
.groh-avatar img { display: block; width: 88px; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--e-global-color-1d1e2eb); }
.groh-contact-links .elementor-icon-list-icon { color: var(--e-global-color-accent); }
.groh-contact-links .elementor-icon-list-text { transition: color .2s ease; }

/* ---- Privacy Policy: kompakt hero, indholdsfortegnelse og juridisk tekst ---- */
@media (max-width: 900px) { .e-con.groh-subhero--compact { --min-height: 260px !important; } }
/* Mobil: subheroens 440px fra desktop gav tom luft under korte overskrifter. Højden følger nu indholdet, mindst 320px. (19/11) */
@media (max-width: 767px) { .e-con.groh-subhero:not(.groh-subhero--compact) { --min-height: 320px !important; } }
.groh-subhero--compact .groh-breadcrumb { font-size: 13px; line-height: 1.6; }
@media (max-width: 767px) { .groh-subhero--compact .groh-breadcrumb { font-size: 12px; } }
.groh-legal-toc.elementor-widget-table-of-contents { position: sticky; top: 117px; padding: 28px 24px !important; background-color: #F6F8FC !important; border: 0 !important; border-radius: 6px !important; }
.groh-legal-toc .elementor-toc { border: 0 !important; padding: 0 !important; background: none !important; border-radius: 0 !important; }
.groh-legal-toc .elementor-toc__header { padding: 0 !important; margin: 0 0 14px; border: 0 !important; background: none !important; }
.groh-legal-toc .elementor-toc__header-title { font-size: 15px; font-weight: 700; line-height: 1.4; color: #203465; }
.groh-legal-toc .elementor-toc__toggle-button { display: none !important; }
.groh-legal-toc .elementor-toc__body { padding: 0 !important; max-height: none !important; overflow: visible !important; }
.groh-legal-toc .elementor-toc__list-wrapper { list-style: none; margin: 0 !important; padding: 0 !important; }
.groh-legal-toc .elementor-toc__list-item { margin: 0 !important; padding: 0 !important; }
.groh-legal-toc .elementor-toc__list-item::before,
.groh-legal-toc .elementor-toc__list-item-text-wrapper::before,
.groh-legal-toc .elementor-toc__list-item-text-wrapper > i,
.groh-legal-toc .elementor-toc__list-item-text-wrapper > svg { display: none !important; content: none !important; }
.groh-legal-toc .elementor-toc__list-item-text-wrapper { display: block; padding: 0 !important; }
.groh-legal-toc a.elementor-toc__list-item-text { display: block; padding: 7px 0 7px 14px; border-left: 2px solid #D6DCE8; font-size: 14px; font-weight: 400; line-height: 1.4; color: #5A6685 !important; text-decoration: none !important; transition: color .2s ease, border-color .2s ease; }
.groh-legal-toc a.elementor-toc__list-item-text:hover,
.groh-legal-toc a.elementor-toc__list-item-text.groh-toc-current { color: #5082E6 !important; border-left-color: #5082E6; font-weight: 400; text-decoration: none !important; }
.groh-legal-toc .elementor-toc__list-wrapper .elementor-toc__list-wrapper a.elementor-toc__list-item-text { padding-left: 28px; font-size: 13px; }
.groh-legal-content > :first-child, .groh-legal-content .elementor-widget-container > :first-child { margin-top: 0; }
.groh-legal-content h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; color: #203465; line-height: 1.2; letter-spacing: -.02em; margin: 64px 0 20px; padding-top: 40px; border-top: 1px solid #EBEEF5; scroll-margin-top: 109px; }
.groh-legal-content h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.groh-legal-content h3 { font-size: 20px; font-weight: 700; color: #203465; line-height: 1.3; margin: 40px 0 12px; scroll-margin-top: 109px; }
.groh-legal-content p { font-size: 17px; line-height: 1.75; color: #2A3654; margin: 0 0 18px; }
.groh-legal-content strong { color: #203465; }
.groh-legal-content a { color: #3A6BD4; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s ease; }
.groh-legal-content a:hover { color: #203465; }
.groh-legal-content p.legal-publisher { margin-top: 8px; padding: 24px 28px; background: #F6F8FC; border-left: 3px solid #5082E6; border-radius: 0 6px 6px 0; font-size: 16px; line-height: 1.7; }
.groh-legal-content .groh-cookie-declaration { margin: 36px 0 8px; padding: 32px; border: 1px solid #D6DCE8; border-radius: 6px; }
.groh-legal-content .groh-cookie-declaration p { font-size: 15px; line-height: 1.65; margin: 0; }
@media (max-width: 1024px) { .groh-legal-toc.elementor-widget-table-of-contents { position: static; } }
@media (max-width: 900px) {
	.groh-legal-content h2 { margin-top: 48px; padding-top: 32px; }
	.groh-legal-content .groh-cookie-declaration { padding: 28px 20px 20px; }
}
