.fh-block { margin-block:1.15em; overflow-wrap:anywhere; }
.fh-block :is(img,video,iframe,audio) { max-width:100%; }
.fh-block :is(video,iframe) { display:block; width:100%; border:0; }
.fh-block iframe { height:auto; aspect-ratio:16 / 9; }
:is(.article-prose,.prose) :is(video,iframe) { display:block; max-width:100%; }
:is(.article-prose,.prose) video { height:auto; }
:is(.article-prose,.prose) iframe { height:auto; aspect-ratio:16 / 9; border:0; }
.fh-block figure { margin:0; }
.fh-block figcaption { text-align:center; color:inherit; font-size:.9em; margin-top:.4em; }
.fh-block :is(.fh-columns,.fh-gallery) { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:1rem; align-items:center; }
.fh-block .fh-stack { display:grid; gap:.6rem; }
.fh-block .fh-media-queue { display:grid; gap:.3rem; margin:0; padding-inline-start:1.5em; }
.fh-block .fh-media-queue button { color:inherit; background:transparent; border:1px solid transparent; border-radius:5px; padding:.2em .5em; font:inherit; cursor:pointer; text-align:start; }
.fh-block .fh-media-queue button[aria-current=true] { color:#164b8d; background:#e9f3ff; border-color:#8baccf; }
.fh-block :is(.fh-gallery,.fh-seamless) img { display:block; width:100%; }
.fh-block .fh-cover { position:relative; display:grid; align-items:center; color:#fff; background:#14253f; }
.fh-block .fh-cover img { grid-area:1/1; opacity:.62; width:100%; }
.fh-block .fh-cover p { grid-area:1/1; z-index:1; margin:0; padding:1rem; text-align:center; font-size:clamp(18px,4vw,36px); font-weight:700; }
.fh-block .fh-buttons,.fh-block .fh-social { display:flex; flex-wrap:wrap; gap:.6rem; }
.fh-block .fh-button { display:inline-block; padding:.35em .85em; border-radius:5px; border:1px solid currentColor; }
.fh-block :is(.fh-card,.fh-alert,.fh-highlight,.fh-quote,details) { padding:.8em 1em; border:1px solid #c9d8e8; border-radius:6px; }
.fh-block :is(.fh-alert,.fh-highlight) { background:#edf5ff; color:#26364c; border-left:4px solid #3978bd; }
.fh-block .fh-highlight { border-left-color:#af7230; background:#fdf6e8; }
.fh-block .fh-quote { text-align:center; }
.fh-block .fh-code { overflow:auto; padding:1em; background:#202a39; color:#eff6ff; border-radius:6px; }
.fh-block summary { cursor:pointer; font-weight:600; }
.fh-block details[open] > summary { margin-bottom:.5em; }
.fh-block .fh-slide-track { display:flex; gap:0; overflow:auto; scroll-snap-type:x mandatory; }
.fh-block .fh-slide { flex:0 0 100%; scroll-snap-align:start; }
.fh-block .fh-slide img { margin:auto; display:block; }
.fh-block .fh-pagebreak { margin:2em auto; width:42%; border-style:dashed; }
.fh-block :is(.fh-tabs,.fh-seamless) { margin-top:.5em; }
.fh-block .fh-tabs details + details { margin-top:.35em; }
.fh-block .fh-maths { font-family:Cambria Math,serif; font-style:italic; }
.fh-tabs-list,.fh-slide-tools { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.6rem; }
.fh-slide-tools { justify-content:center; margin: .4rem 0 0; }
.fh-block :is(.fh-tabs-list,.fh-slide-tools)>button,.fh-block>button,.fh-block-dialog button { font:inherit; padding:.3em .7em; border:1px solid #c9d8e8; background:#fff; color:#24344f; border-radius:5px; cursor:pointer; }
.fh-tabs-list button[aria-selected=true] { background:#e9f3ff; border-color:#4482bc; color:#164b8d; }
.fh-block-dialog { max-inline-size:min(620px,calc(100vw - 2rem)); max-block-size:calc(100dvh - 2rem); border:1px solid #c9d8e8; background:white; color:#24344f; border-radius:8px; padding:1.25rem; }
.fh-block-dialog::backdrop { background:#162744b0; }
.fh-block [hidden] { display:none !important; }
.fh-block-pagination { display:flex; flex-wrap:wrap; gap:8px; margin:1.5em 0; }.fh-block-pagination :is(a,strong) { display:inline-block; padding:3px 10px; border:1px solid currentColor; border-radius:4px; }
.fh-text-effect-shadow { text-shadow:1px 1px 2px #67768a; }

.theme-preview-language { padding: .5rem max(1rem, calc((100vw - 1200px) / 2)); background: #f4f7fc; color: #24344f; }
.theme-preview-language .language-menu summary { width: fit-content; cursor: pointer; }
.theme-preview-language .language-options { max-width: 28rem; padding: .5rem 0; }
.theme-preview-language .language-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .5rem; }
.theme-preview-language .language-links a { display: inline-flex; align-items: center; gap: .375rem; }
.theme-preview-language .language-flag { display: inline-block; vertical-align: middle; margin-inline-end: .25rem; }
.fh-text-effect-outline { -webkit-text-stroke:.45px currentColor; }
.fh-code-keyword { color:#ffd68a; }.fh-code-string { color:#aee6a3; }.fh-code-number { color:#a9d8ff; }.fh-code-comment { color:#adb9ca; }
.home-slideshow { position:relative; width:100%; min-width:0; }
.home-slideshow-fallback { width:min(calc(100% - 32px), 900px); margin:24px auto; }
.home-slideshow-frames [hidden], .home-slideshow-controls[hidden] { display:none; }
.home-slideshow .home-slideshow-frames img { display:block; width:100%; height:auto; aspect-ratio:8/5; object-fit:cover; }
.hero-picture .home-slideshow .home-slideshow-frames img { aspect-ratio:16/9; }
.fh-agency-visual .home-slideshow .home-slideshow-frames img { aspect-ratio:80/57; object-fit:contain; }
.home-slideshow-controls { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:6px 10px; margin-block-start:10px; font-size:14px; }
.home-slideshow-controls button { font:inherit; padding:5px 10px; min-height:34px; border:1px solid #bcc9d3; border-radius:4px; background:#fff; color:#233b4a; cursor:pointer; }
.home-slideshow-controls button:hover { background:#eaf1f6; }
.home-slideshow-caption { margin-block:6px 0; font-size:14px; line-height:1.5; }
.home-slideshow-dots { display:flex; align-items:center; justify-content:center; }
.home-slideshow-controls .home-slideshow-dots button {
    position:relative; width:28px; min-height:28px; padding:0; border:0;
    background:transparent; color:transparent; font-size:0;
}
.home-slideshow-dots button::before {
    content:""; position:absolute; inset:8px; border:1px solid currentColor;
    border-radius:50%; color:#335465;
}
.home-slideshow-dots button[aria-current]::before { background:currentColor; }
.home-slideshow-dots button:focus-visible { outline:2px solid currentColor; outline-offset:-2px; }

:is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) {
    position:relative; isolation:isolate; display:grid; align-items:center;
    aspect-ratio:64/25; min-height:0; max-height:750px; padding:0;
    border-bottom:0; background:#192730;
}
:is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) :is(.hero-grid,.fh-hero-grid) {
    position:static; display:block; min-height:0; padding-block:28px;
}
:is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) :is(.hero-copy,.fh-hero-copy) {
    position:relative; z-index:2; width:min(47%, 520px); color:#fff;
}
:is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) :is(.hero-copy,.fh-hero-copy) :is(h1,.eyebrow,.fh-eyebrow,p,.fh-inline-link,.fh-hero-tags,.button.outline) {
    color:inherit;
}
:is(.hero-art,.hero-picture,.fh-hero-visual):has(.home-slideshow) {
    position:absolute; inset:0; display:block; margin:0; width:100%;
    max-width:none; overflow:hidden; border-radius:0; box-shadow:none; background:#192730;
}
.fh-hero-visual .fh-agency-visual:has(.home-slideshow) {
    position:static; isolation:auto; contain:none; width:100%; max-width:none; height:100%; margin:0;
}
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow {
    position:absolute; inset:0;
}
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow::after {
    content:""; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(90deg, rgba(10,24,32,.87), rgba(10,24,32,.6) 33%, rgba(10,24,32,.12) 64%, transparent 85%);
}
[dir="rtl"] :is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow::after {
    background:linear-gradient(270deg, rgba(10,24,32,.87), rgba(10,24,32,.6) 33%, rgba(10,24,32,.12) 64%, transparent 85%);
}
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-frames,
:is(.hero-art,.hero-picture,.fh-hero-visual) [data-slideshow-frame] { position:absolute; inset:0; }
:is(.block-hero,.portal-hero,.fh-network-home .fh-hero) .home-slideshow .home-slideshow-frames img {
    display:block; width:100%; height:100%; aspect-ratio:auto; object-fit:cover;
    object-position:center 52%; border:0; border-radius:0; box-shadow:none;
}
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-controls {
    position:absolute; inset:auto 0 14px; z-index:3; margin:0; pointer-events:none;
}
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-controls > :not(.home-slideshow-dots) { display:none; }
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-dots {
    padding-inline:4px; border-radius:24px; background:rgba(13,27,36,.46); pointer-events:auto;
}
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-dots button::before { color:#fff; }
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-dots button:focus-visible { outline-color:#fff; }
:is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-caption {
    position:absolute; inset:auto 14px 42px; z-index:2; width:fit-content; max-width:calc(100% - 28px);
    padding:4px 9px; border-radius:4px; background:rgba(13,27,36,.72); color:#fff;
}
@media (max-width:820px) {
    :is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) {
        display:block; aspect-ratio:auto; max-height:none;
    }
    :is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) :is(.site-container,.hero-grid,.fh-hero-grid) {
        display:flex; flex-direction:column; width:100%; max-width:none; margin:0; padding:0; gap:0;
    }
    :is(.hero-art,.hero-picture,.fh-hero-visual):has(.home-slideshow) {
        position:relative; order:-1; flex:none; aspect-ratio:64/25;
    }
    :is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) :is(.hero-copy,.fh-hero-copy) {
        align-self:stretch; width:100%; max-width:none; padding:20px clamp(16px,5vw,32px) 26px;
    }
    :is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) :is(.hero-copy,.fh-hero-copy) > h1 {
        margin:0 0 10px; font-size:clamp(24px,5.5vw,32px); line-height:1.25;
    }
    :is(.block-hero,.portal-hero,.fh-network-home .fh-hero):has(.home-slideshow) :is(.hero-copy,.fh-hero-copy) > p {
        margin:0 0 12px; line-height:1.55;
    }
    :is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow::after {
        background:linear-gradient(0deg, rgba(10,24,32,.28), transparent 52%);
    }
    :is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-controls { inset-block-end:6px; }
    :is(.hero-art,.hero-picture,.fh-hero-visual) .home-slideshow-caption {
        overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
    }
}
.fh-network-home .fh-hero:has(.home-slideshow) + .fh-services-overlap { margin-top:0; }
