@font-face {
	font-display: swap; 
	font-family: 'Pragmatica Condensed';
	font-style: normal;
	
	src: url('../fonts/Pragmatica Condensed.woff2') format('woff2'); 
}
@font-face {
	font-family: 'Pragmatica-ExtraLight';
	src: url('../fonts/Pragmatica-ExtraLight.woff2') format('woff2');
}
@font-face {
	font-family: 'Pragmatica Condensed ExtraLight';
	src: url('../fonts/PragmaticaCond-Light.woff2') format('woff2');
}

/* Brand typography. Content spacing is provided by Bootstrap Package. */
html { font-size: 100%; scroll-padding-top: 8rem; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: 'Pragmatica-ExtraLight', sans-serif;
    line-height: 1.2;
    letter-spacing: .005em;
    overflow-wrap: break-word;
    hyphens: auto;
}
h1, h2, h4, .h1, .h2, .h4 { text-transform: uppercase; }
p, .p {
    font-family: 'Pragmatica Condensed ExtraLight', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
}
b, strong { font-family: 'Pragmatica Condensed', sans-serif; }
.lead { font-family: 'Pragmatica-ExtraLight', sans-serif; font-size: 1.45rem; }

/* Navigation stays in the document flow, including when its height changes. */
.navbar-mainnavigation {
    border-block-start: 2px solid #ee7326;
    border-block-end: .625rem solid #ee7326;
    padding-block: 1rem;
}
.navbar-mainnavigation .navbar-nav > li > .nav-link::before { background: #ee7326; }
.navbar-mainnavigation .nav-link-icon,
.navbar-mainnavigation .nav-link-text,
.footer-meta .meta-menu {
    font-family: 'Pragmatica Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .025em;
}
.navbar-mainnavigation .navbar-brand-image img { max-height: 90%; }
/* The home item uses its existing icon; its text remains available to assistive technology. */
.navbar-mainnavigation .nav-link-main[href="/"]:has(.nav-link-icon) .nav-link-text {
    position: absolute; width: 1px; height: 1px;
    clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.btn { text-transform: uppercase; --bs-btn-border-radius: 0; }

/* Reusable content components; no offsets tied to individual content IDs. */
.card { color: #212121; background: rgb(255 255 255 / .8); border-color: #215a83; border-radius: 0; }
.card-img-top { border-radius: 0; border-block-end: .75rem solid #215a83; }
.icongroup-item {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    background: #fff;
    border-inline-start: .5rem solid #215a83;
    border-radius: .9375rem;
    box-shadow: 0 0 3.75rem rgb(0 0 0 / .1);
}
.icongroup-item-text { min-width: 0; }
.icongroup-item-text-header { font-size: 1.3rem; line-height: 1.2; margin-block-end: 1rem; }
.frame-option-hide-item-headings :is(.icongroup-item-text-header, .card-title) { display: none; }
.pswp__bg { background: #215a83; }

/* Deliberate overlap, selectable through the frame options in the editor. */
.frame-option-hero-intro {
    position: relative;
    z-index: 1;
    padding-block: 0;
    margin-block-start: calc(-1 * clamp(3rem, 12vw, 12rem));
    margin-block-end: clamp(2rem, 5vw, 4rem);
}
.frame-option-hero-intro .icongroup { padding-inline: clamp(0rem, 4vw, 4rem); }
.frame-option-hero-intro .icongroup-item { width: min(100%, 45rem); flex: 0 1 45rem; }
.frame-option-hero-intro h1 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.15; }
@media (max-width: 47.99rem) {
    .lead { font-size: 1.3rem; }
    .frame-option-hero-intro { margin-block-start: -3rem; }
    .frame-option-hero-intro .icongroup { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
    [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Compact service overview: heading semantics stay independent of their size. */
.frame-option-service-overview .contentcontainer[data-container-identifier="container_3_columns"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}
.frame-option-service-overview .contentcontainer[data-container-identifier="container_3_columns"] > .contentcontainer-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}
.frame-option-service-overview .frame {
    margin-block: 0;
}
.frame-option-service-overview .frame-background-light {
    padding-block: 1rem;
}
.frame-option-service-overview .frame-background-light > .frame-group-container > .frame-group-inner > .frame-container {
    padding-inline: clamp(.75rem, 1.5vw, 1.25rem);
}
.frame-option-service-overview h2 {
    font-family: 'Pragmatica Condensed', sans-serif;
    font-size: clamp(1.125rem, .2rem + 4.6vw, 1.5rem);
    line-height: 1.2;
    margin-block-end: .65em;
    overflow-wrap: break-word;
    hyphens: auto;
}
.frame-option-service-overview p,
.frame-option-service-overview .lead {
    font-family: 'Pragmatica Condensed ExtraLight', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    overflow-wrap: break-word;
    hyphens: auto;
}
@media (min-width: 48rem) and (max-width: 74.99rem) {
    .frame-option-service-overview .contentcontainer[data-container-identifier="container_3_columns"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .frame-option-service-overview .contentcontainer[data-container-identifier="container_3_columns"] > .contentcontainer-column:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
    .frame-option-service-overview .contentcontainer[data-container-identifier="container_3_columns"] > .contentcontainer-column:last-child > .frame:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}
@media (min-width: 75rem) {
    .frame-option-service-overview .contentcontainer[data-container-identifier="container_3_columns"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.frame-option-service-overview .frame-type-image { padding-block: 0; }

/* Fine rules follow the text without changing which links are underlined. */
a {
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
    text-decoration-skip-ink: auto;
}

/* The footer has its own compact rhythm, independent of content frame spacing. */
.bp-page-footer .footer-section-content { padding-block: 2.5rem; }
.bp-page-footer .footer-section-content .section-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem 2.5rem;
    align-items: start;
}
.bp-page-footer .footer-section-content-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: auto;
    min-width: 0;
}
.bp-page-footer .footer-section-content .frame {
    margin-block: 0;
    padding-block: 0;
}
.bp-page-footer .footer-section-content p { margin-block-end: .65em; }
.bp-page-footer .footer-section-content p:last-child { margin-block-end: 0; }
.bp-page-footer .footer-section-content a { overflow-wrap: anywhere; }
.bp-page-footer .footer-section-content-column-left .image img {
    width: 100%;
    max-width: 22rem;
    height: auto;
    margin-inline: 0;
}
.bp-page-footer .footer-section-content-column-middle { text-align: center; }
.bp-page-footer .footer-section-content-column-middle .textpic { gap: .4rem; }
.bp-page-footer .footer-section-content-column-middle .gallery-row { justify-content: center; }
.bp-page-footer .footer-section-content-column-middle .gallery-item {
    width: auto;
    max-width: 100%;
}
.bp-page-footer .footer-section-content-column-middle .image img {
    width: 8.5rem;
    max-width: 100%;
    height: auto;
}
.bp-page-footer .footer-section-content .frame-header { margin-block-end: 1rem; }
.bp-page-footer .footer-section-content h2 { font-size: 1.75rem; }
.bp-page-footer .btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #c90024;
    --bs-btn-border-color: #c90024;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #a9001e;
    --bs-btn-hover-border-color: #a9001e;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #a9001e;
    --bs-btn-active-border-color: #a9001e;
    color: #fff;
    font-family: 'Pragmatica Condensed', sans-serif;
    font-size: 1.2rem;
    line-height: 1.4;
}
.bp-page-footer .footer-section-meta .frame { padding-block: 1.25rem; }
.bp-page-footer .footer-menu-section:not(:has(a, .footer-contact)),
.bp-page-footer .footer-sociallinks:not(:has(a)) { display: none; }
.bp-page-footer .footer-info-section { margin-block-start: 0; }
.bp-page-footer .footer-copyright { color: #215a83; }
@media (min-width: 48rem) and (max-width: 61.99rem) {
    .bp-page-footer .footer-section-content .section-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bp-page-footer .footer-section-content-column-right { grid-column: 1 / -1; }
}
@media (min-width: 62rem) {
    .bp-page-footer .footer-section-content .section-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
