/* --- focalx-breadcrumb --- */
/**
 * Custom breadcrumb styles.
 */

/* Site-wide wrapper: max-bredde + centrering. Bred desktop (≥1200px): ingen
 * side-padding (indhold aligner med max-width-boksen). Under 1200px —
 * tablet og mobil — samme gutter som .fx-hero (hero.css) så brødkrumme ikke
 * ligger flush mod viewport når wrappen fylder hele bredden.
 */
.fx-breadcrumb-wrap {
    max-width: var(--fx-max-content, 1140px);
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
}

.fx-breadcrumb {
    margin-top: 6px;
    font-size: 14px;
    min-width: 0;
}

/* Én linje: tidligere led forbliver hele (klikbare); kun current (typisk lang
 * post-/sideoverskrift) afkortes med … når der ikke er plads — bedre end
 * vandret scroll når stien alligevel er kort foran sidste led. */
.fx-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    max-width: 100%;
}

.fx-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #68707d;
}

.fx-breadcrumb__item.is-current {
    flex: 1 1 0%;
    min-width: 0;
    overflow: hidden;
}

.fx-breadcrumb__item + .fx-breadcrumb__item::before {
    content: "|";
    display: inline-block;
    margin: 0 8px;
    color: #9aa3b2;
}

.fx-breadcrumb__link {
    color: #163b6b;
    font-weight: 700;
    font-size: inherit;
    text-decoration: none;
}

.fx-breadcrumb__link:hover,
.fx-breadcrumb__link:focus-visible {
    color: #0f2d54;
    text-decoration: underline;
}

.fx-breadcrumb__current {
    display: block;
    color: #2d2f31;
	opacity: 0.7;
    font-weight: 400;
    font-size: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

@media (max-width: 1199px) {
    .fx-breadcrumb-wrap {
        padding-left: var(--fx-gutter, 24px);
        padding-right: var(--fx-gutter, 24px);
    }
}

@media (max-width: 767px) {
    .fx-breadcrumb {
        margin-top: 10px;
    }
}

/* --- whiw-style --- */
/*
 * KONVENTION — knap-højde:
 * `.whiw-trigger` deler højde med `.fx-btn--pill` (css/buttons.css)
 * så "Watch how it works" og "Request a demo" matcher pixel-perfekt
 * når de står side-om-side i hero. Effective rendered height = 52px.
 * Hvis pill-padding/border/arrow-størrelse ændres, skal denne min-
 * height opdateres parallelt så de to knapper fortsat har samme
 * højde på tværs af sitet.
 */
.whiw-trigger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 12px 20px;
    min-height: 52px;
    font-size: 16px;
    font-weight: 600;
    color: #2d2f31;
    border-radius: 50px;
    transition: background 0.2s ease;
    box-shadow: none;
	line-height: 1.2em;
}

.whiw-trigger:hover {
    background: rgba(22, 59, 107, 0.08); /* svarer til #163B6B14 */
    color: #163B6B;
}








.whiw-trigger:focus,
.whiw-trigger:active {
    background: none;
    box-shadow: none;
    outline: none;
    background: rgba(22, 59, 107, 0.08); /* svarer til #163B6B14 */
    color: #163B6B;
}

.whiw-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal */

.whiw-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2147483646 !important;
    padding: 20px;
    isolation: isolate;
}

.whiw-modal.active {
    display: flex;
}

.whiw-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 0;
}

.whiw-content {
    position: relative;
    width: 90%;
    max-width: 1140px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.whiw-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

.whiw-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.whiw-close span,
.whiw-close::before {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whiw-video {
    position: relative;
    z-index: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.whiw-video iframe {
    display: block;
    width: 100%;
    height: 100%;
}

html.whiw-modal-open,
body.whiw-modal-open {
    overflow: hidden !important;
    touch-action: none;
    overscroll-behavior: contain;
}

body.whiw-modal-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}


@media (max-width: 767px) {
    .whiw-trigger {
        width: 100%;
        justify-content: center;
    }

    /* Næsten fuld bredde + safe area — video føles større end 90%-boksen. */
    .whiw-modal {
        padding: max(12px, env(safe-area-inset-top, 0px)) 0
            max(16px, env(safe-area-inset-bottom, 0px));
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }

    .whiw-content {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }

    .whiw-close {
        top: 10px;
        right: 10px;
        width: 48px;
        height: 48px;
        font-size: 28px;
        background: rgba(0, 0, 0, 0.55);
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    }

    .whiw-close:hover {
        background: rgba(0, 0, 0, 0.72);
    }
}

/* --- focalx-social-icons --- */
.fx-social-icons-nav {
	display: block;
}

.fx-social-icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.fx-social-icons__item {
	margin: 0;
	padding: 0;
}

.fx-social-icons__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 50%;
	text-decoration: none;
	color: #2b2b2b;
	background: #ffffff;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease;
	box-sizing: border-box;
}

.fx-social-icons__link:hover {
	color: #163b6b;
	opacity: 0.8;
}

.fx-social-icons__link:focus {
	outline: none;
}

.fx-social-icons__link:focus-visible {
	box-shadow:
		0 0 0 2px #ffffff,
		0 0 0 4px #163b6b;
	color: #163b6b;
}

.fx-social-icons__circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 0;
	border-radius: inherit;
}

.fx-social-icons__glyph {
	display: block;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
	.fx-social-icons__link {
		transition: none;
	}

	.fx-social-icons__link:hover {
		transform: none;
	}
}
