:root {
    --jacobson-blue: #3d61bb;
    --jacobson-blue-dark: #175e91;
    --jacobson-olive: #56643a;
    --jacobson-olive-dark: #3d4d2d;
    --jacobson-ink: #36454f;
    --jacobson-border: #d9dee7;
    --jacobson-focus: #174ea6;
    --jacobson-surface: #fff;
    --jacobson-surface-soft: #f5f7f4;
}

* {
    box-sizing: border-box;
}

/* Bulma's display rules (.button, .navbar-dropdown-toggle) otherwise override the hidden attribute. */
[hidden] {
    display: none !important;
}

html,
body {
    min-height: 100%;
    margin: 0;
    color: var(--jacobson-ink);
    font-family: Ubuntu, "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

/*
 * Clip stray horizontal overflow without turning <body> into a scroll
 * container. overflow-x: hidden on body made it the scroller, which silently
 * disabled position: sticky on .interior-sidebar.
 */
html {
    overflow-x: hidden;
}

body {
    overflow-x: clip;
}

body,
button,
input,
select,
textarea {
    color: var(--jacobson-ink);
    font-family: Ubuntu, "Open Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--jacobson-ink);
    font-family: Ubuntu, "Open Sans", sans-serif;
}

h2 {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

h3 {
    color: var(--jacobson-blue);
    font-size: clamp(1.2rem, 1.08rem + 0.45vw, 1.5rem);
}

h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h4 {
    color: #6c7277;
}

p,
.tile-content {
    font-size: clamp(1rem, 0.97rem + 0.14vw, 1.125rem);
}

a {
    color: var(--jacobson-blue);
    text-decoration: none;
}

a:hover {
    color: var(--jacobson-blue-dark);
}

.content a:not(.button):not(.quick-action-card),
.cta-content a:not(.button),
.tile-content a:not(.button) {
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--jacobson-focus);
    outline-offset: 3px;
}

.hero :where(a, button):focus-visible {
    outline-color: #fff;
    box-shadow: 0 0 0 6px var(--jacobson-focus);
}

.skip-link,
.skip-to-content {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    min-height: 44px;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 16px rgb(0 0 0 / 24%);
    color: var(--jacobson-focus);
    font-weight: 700;
    transform: translateY(calc(-100% - 1rem));
    transition: transform 160ms ease;
}

.skip-link:focus,
.skip-link:focus-visible,
.skip-to-content:focus,
.skip-to-content:focus-visible {
    color: var(--jacobson-focus);
    transform: translateY(0);
}

pre {
    margin: 1rem 0;
    border-radius: 2px;
    background: #f0f0f0;
}

blockquote {
    margin: 0;
    padding: 0 2rem;
    border-left: 10px solid #eee;
}

img {
    max-width: 100% !important;
}

.wrapper {
    margin: 0 clamp(1rem, 4vw, 3rem);
}

.padding {
    padding: clamp(2rem, 5vw, 3rem) 1rem;
}

.left {
    float: left;
}

.right {
    float: right;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.header,
.navbar {
    background-color: #fff;
}

.header .padding {
    padding: 0 0;
}

.footer {
    margin-top: 1em;
    background-color: rgb(184 184 184 / 30%);
}

/* Navigation */
body.has-navbar-fixed-top,
html.has-navbar-fixed-top {
    padding-top: 5rem;
}

#mainNav.navbar.is-spaced {
    padding: 0.25rem clamp(0.75rem, 2vw, 1.5rem);
}

.navbar-item,
.navbar-link {
    color: var(--jacobson-blue);
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.navbar-item,
.navbar-link {
    min-height: 44px;
}

a.navbar-item,
a.navbar-link {
    font-size: clamp(0.95rem, 0.86rem + 0.24vw, 1.08rem);
}

.navbar-item.logo img {
    width: auto;
    max-width: min(210px, 52vw) !important;
    max-height: 3.5rem;
}

.navbar-link:not(.is-arrowless)::after {
    border-color: var(--jacobson-blue);
}

.navbar-dropdown {
    border-top: 2px solid #fff;
    background-color: #fff;
    color: #222;
}

.navbar-dropdown a.navbar-item,
.navbar-link.is-active,
.navbar-link:focus,
.navbar-link:focus-within,
.navbar-link:hover,
a.navbar-item.is-active,
a.navbar-item:focus,
a.navbar-item:focus-within,
a.navbar-item:hover {
    background-color: #f5f7fb;
    color: var(--jacobson-blue-dark);
}

.navbar-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--jacobson-blue);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.navbar-dropdown-toggle:hover,
.navbar-dropdown-toggle:focus-visible,
.navbar-item.has-dropdown.is-open > .navbar-dropdown-toggle {
    background: #eef2fa;
    color: var(--jacobson-blue-dark);
}

.navbar-dropdown-toggle > span {
    display: block;
    transition: transform 160ms ease;
}

.navbar-item.has-dropdown.is-open > .navbar-dropdown-toggle > span,
.navbar-dropdown-toggle[aria-expanded="true"] > span {
    transform: rotate(180deg);
}

/* Hero */
.hero.is-fullheight {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 62rem;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border-radius: 10px;
    background-color: rgb(0 0 0 / 56%);
}

.hero-content .subtitle,
.hero-content .title,
.hero-content p {
    color: #fff;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 50%);
}

.hero-content h1.title {
    margin-bottom: clamp(1rem, 2.5vw, 1.8rem);
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: clamp(2.15rem, 3rem + 1.8vw, 4.5rem);
    line-height: 1.08;
}

.hero-content h2.subtitle {
    font-family: "Cedarville Cursive", "Great Vibes", cursive;
    font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
}

.hero-content .buttons {
    gap: 0.75rem;
}

.buttons {
    justify-content: flex-start;
}

/* Buttons and form targets */
.button,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    min-height: 44px;
}

.button.is-primary {
    border-color: var(--jacobson-olive);
    background-color: var(--jacobson-olive);
    color: #fff;
    font-weight: 700;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease,
        transform 180ms ease;
}

.button.is-primary:hover,
.button.is-primary:focus,
.button.is-primary:focus-visible,
.button.is-primary.is-hovered,
.button.is-primary.is-focused {
    border-color: var(--jacobson-olive-dark);
    background-color: var(--jacobson-olive-dark);
    color: #fff;
}

.button.is-primary:active,
.button.is-primary.is-active {
    border-color: #303d23;
    background-color: #303d23;
    color: #fff;
}

.button.is-large {
    font-size: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
}

/* Homepage task shortcuts */
.quick-actions {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    background: var(--jacobson-surface-soft);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    margin-top: 1.75rem;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 92px;
    padding: 1rem;
    border: 1px solid var(--jacobson-border);
    border-radius: 12px;
    background: var(--jacobson-surface);
    box-shadow: 0 3px 12px rgb(30 55 80 / 8%);
    color: var(--jacobson-ink);
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease,
        transform 180ms ease;
}

.quick-action-card:hover,
.quick-action-card:focus-visible {
    border-color: var(--jacobson-blue);
    box-shadow: 0 10px 24px rgb(30 55 80 / 16%);
    color: var(--jacobson-blue-dark);
}

.quick-action-icon {
    display: inline-grid;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 50%;
    background: #eef2fa;
    color: var(--jacobson-blue);
    font-size: 1.35rem;
}

.quick-action-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.quick-action-label {
    color: inherit;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.quick-action-description {
    color: #59636b;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* General content and cards */
.section {
    padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1rem, 3vw, 1.5rem);
}

.has-background-light {
    background-color: #f5f5f5;
}

.title.is-2 {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(1.8rem, 1.45rem + 1.4vw, 2.5rem);
    line-height: 1.18;
}

.title.is-3 {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    line-height: 1.25;
}

/* Keep the homepage sections connected without changing interior-page rhythm. */
.home-page > .home-hero.columns.is-gapless:not(:last-child) {
    margin-bottom: 0;
}

.home-page > .section {
    padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.home-page .quick-actions .title {
    margin-bottom: 1rem;
}

.home-page .quick-actions-grid {
    margin-top: 0;
}

.home-page .home-section-title {
    margin-bottom: 1.5rem;
}

.home-page .home-introduction .content {
    margin-bottom: 0;
}

.home-page .home-features .tiles-container {
    margin: 0.75rem 0 0;
}

.home-page .home-cta-section .cta-rows-container {
    margin-block: 1.5rem;
}

.home-page .home-cta-section .cta-row {
    padding-block: 1rem;
}

.subtitle.is-5 {
    font-size: clamp(1.05rem, 1rem + 0.2vw, 1.25rem);
    line-height: 1.5;
}

.interior-page > .columns > .column > .content,
.interior-content-column > .content,
.blog-post-page .post-content {
    max-width: 72ch;
}

.article-width {
    max-width: 72ch;
}

.blog-post-page .post-content img,
.interior-page > .columns > .column > .content img,
.interior-content-column > .content img {
    height: auto;
}

/* Contextual navigation balances long interior pages without widening body copy. */
.interior-layout {
    width: 100%;
}

.interior-layout:not(.has-sidebar) {
    max-width: 72ch;
    margin-inline: auto;
}

.interior-content-column {
    min-width: 0;
}

.interior-primary-column {
    min-width: 0;
}

.interior-sidebar {
    min-width: 0;
}

.interior-sidebar-card {
    overflow: hidden;
    padding: 1.25rem;
    border: 1px solid var(--jacobson-border);
    border-radius: 12px;
    background: var(--jacobson-surface);
    box-shadow: 0 8px 24px rgb(30 55 80 / 10%);
}

.interior-sidebar-kicker {
    margin-bottom: 0.25rem;
    color: #68737b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.interior-sidebar-title.title {
    margin-bottom: 1rem;
    color: var(--jacobson-ink);
    font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.55rem);
    line-height: 1.25;
}

.interior-section-nav-list {
    margin: 0;
    list-style: none;
}

.interior-section-nav-list li + li {
    border-top: 1px solid #e9edf2;
}

.interior-section-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border-left: 4px solid transparent;
    border-radius: 6px;
    color: var(--jacobson-blue);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.interior-section-nav-link:hover,
.interior-section-nav-link:focus-visible {
    background: #f5f7fb;
    color: var(--jacobson-blue-dark);
}

.interior-section-nav-link[aria-current="page"] {
    border-left-color: var(--jacobson-blue);
    background: #eef2fa;
    color: var(--jacobson-blue-dark);
    font-weight: 700;
}

.interior-followup {
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

@media screen and (min-width: 1100px) {
    .interior-layout.has-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 72ch) minmax(17rem, 20rem);
        align-items: start;
        justify-content: center;
        gap: clamp(2.5rem, 5vw, 4.5rem);
    }

    .interior-layout.has-sidebar.has-tiles {
        grid-template-columns: minmax(0, 52rem) minmax(17rem, 20rem);
    }

    .interior-layout.has-sidebar.is-tile-led {
        grid-template-columns: minmax(0, 1fr) minmax(17rem, 19rem);
        gap: clamp(2rem, 4vw, 3.5rem);
    }

    .interior-layout.has-sidebar.is-tile-led > .interior-sidebar {
        margin-top: 0;
        padding-top: clamp(2rem, 4vw, 3.5rem);
    }

    .interior-sidebar {
        position: sticky;
        top: 6.5rem;
    }
}

@media screen and (max-width: 1099px) {
    .interior-layout.has-sidebar {
        max-width: 72ch;
        margin-inline: auto;
    }

    .interior-sidebar {
        margin-top: 2rem;
    }
}

.tiles-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tile-content,
.tile-image,
.tile-title {
    margin-bottom: 1rem;
}

.tile.is-parent {
    height: 100%;
    padding: 0.75rem;
}

.tile.is-child.box {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tile.is-child.box:focus-within {
    border-color: var(--jacobson-blue);
    box-shadow: 0 10px 26px rgb(30 55 80 / 15%);
}

.tile-content {
    flex-grow: 1;
}

.tile-image img,
.cta-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tile-image img {
    border-radius: 8px;
}

.tile-image.is-cover {
    flex: 1;
    min-height: 16rem;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 8px;
}

.tile-image.is-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-icon {
    color: var(--jacobson-blue);
    font-size: clamp(1.8rem, 1.5rem + 1vw, 2.5rem);
    line-height: 1.2;
}

.tile-card-link {
    display: inline-block;
    color: var(--jacobson-blue);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.tile-card-link:hover,
.tile-card-link:focus-visible {
    color: var(--jacobson-blue-dark);
    text-decoration-color: currentColor;
}

/* "Full Card Link": stretch the title link over the whole tile. */
.tile.has-card-link .tile-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.tile.has-card-link .tile-card-link:focus-visible {
    outline: none;
}

.tile.has-card-link .tile-card-link:focus-visible::after {
    outline: 3px solid var(--jacobson-focus);
    outline-offset: 3px;
}

/* Keep other links and buttons inside a linked tile clickable. */
.tile.has-card-link :where(.tile-content a, .tile-button a, .tile-content button, .tile-content iframe) {
    position: relative;
    z-index: 2;
}

.tile.has-card-link:hover .tile-card-link {
    color: var(--jacobson-blue-dark);
    text-decoration-color: currentColor;
}

.tile-button {
    margin-top: auto;
}

/* Story and news cards */
.story-grid {
    margin-top: 1.5rem;
}

.story-grid > .column {
    display: flex;
}

.story-card {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--jacobson-border);
    border-radius: 12px;
    background: var(--jacobson-surface);
    box-shadow: 0 3px 12px rgb(30 55 80 / 8%);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.story-card:focus-within {
    border-color: var(--jacobson-blue);
    box-shadow: 0 10px 26px rgb(30 55 80 / 16%);
}

.story-card-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e9edf2;
}

.story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.story-card-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.story-card-title {
    margin-bottom: 0.65rem;
    color: var(--jacobson-blue);
    font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.5rem);
    line-height: 1.3;
}

.story-card-title a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.story-card-title a:hover,
.story-card-title a:focus-visible {
    color: var(--jacobson-blue-dark);
    text-decoration-color: currentColor;
}

.story-card-summary {
    flex-grow: 1;
    color: #505c64;
    font-size: 1rem;
    line-height: 1.6;
}

.story-card-date {
    margin-bottom: 0.65rem;
    color: #68737b;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.story-card-link {
    align-self: flex-start;
    margin-top: 0.75rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.cta-title,
.tile-title,
span.ftr-p-clr {
    color: var(--jacobson-blue);
}

.cta-rows-container {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.cta-row {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.cta-row:last-child {
    border-bottom: none;
}

.cta-title {
    margin-bottom: 1rem;
}

.cta-content {
    margin-bottom: 1.5rem;
}

.cta-button {
    margin-top: 1rem;
}

.cta-image img {
    border-radius: 8px;
}

.list-inline.quicklinks,
.list-inline.social-buttons {
    list-style: none;
    color: var(--jacobson-blue);
    font-size: 14px;
}

.social-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.footer .subtitle {
    margin-bottom: 0.75rem;
    color: var(--jacobson-ink);
    font-weight: 700;
}

.footer .quicklinks li + li {
    margin-top: 0.45rem;
}

.footer-social,
.footer-meta {
    margin-top: 1.5rem;
}

.footer-signup :where(input, button, select, textarea):focus-visible {
    outline: 3px solid var(--jacobson-focus) !important;
    outline-offset: 3px !important;
}

i.ftr-ico-clr {
    color: #b94443;
}

#map {
    width: 100%;
    height: 400px;
    margin-bottom: 1rem;
    background: grey;
}

#panel {
    width: 100%;
    height: 500px;
}

/* Map page template */
.map-page-header {
    max-width: 72ch;
}

#map.map-page-map {
    height: clamp(20rem, 62vh, 40rem);
    margin: 1.5rem 0 clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    border: 1px solid var(--jacobson-border);
    border-radius: 12px;
    background: #e9edf2;
}

.map-places-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-place {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--jacobson-border);
    border-radius: 12px;
    background: var(--jacobson-surface);
    box-shadow: 0 3px 12px rgb(30 55 80 / 8%);
}

.map-place-link,
.map-place-name {
    color: var(--jacobson-blue);
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.map-place-name {
    color: var(--jacobson-ink);
}

.map-place-link {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.map-place-link:hover,
.map-place-link:focus-visible {
    color: var(--jacobson-blue-dark);
    text-decoration-color: currentColor;
}

.map-place-summary {
    margin-top: 0.3rem;
    color: #505c64;
    font-size: 0.95rem;
    line-height: 1.5;
}

.map-place-locate {
    align-self: flex-start;
}

/* HERE info bubble content */
.map-bubble {
    min-width: 11rem;
    max-width: 16rem;
    font-family: Ubuntu, "Open Sans", sans-serif;
    line-height: 1.4;
}

.map-bubble-title {
    display: block;
    color: var(--jacobson-blue);
    font-size: 1rem;
    font-weight: 700;
}

a.map-bubble-title {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.map-bubble-summary {
    margin-top: 0.3rem;
    font-size: 0.875rem;
}

.is-fullheight-100vh {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
    .quick-action-card:hover,
    .tile.is-child.box:hover,
    .story-card:hover {
        transform: translateY(-4px);
    }

    .tile.is-child.box:hover,
    .story-card:hover {
        border-color: #cbd4e3;
        box-shadow: 0 10px 26px rgb(30 55 80 / 15%);
    }

    .story-card:hover .story-card-image img {
        transform: scale(1.035);
    }

    .button.is-primary:hover {
        transform: translateY(-1px);
    }
}

/* Use the compact menu before navigation labels become crowded. */
@media screen and (max-width: 1199px) {
    body.has-navbar-fixed-top,
    html.has-navbar-fixed-top {
        padding-top: 4rem;
    }

    #mainNav.navbar.is-spaced {
        display: block;
        padding: 0;
    }

    #mainNav .navbar-brand {
        width: 100%;
        min-height: 4rem;
    }

    #mainNav .navbar-brand .navbar-item {
        display: flex;
        width: auto;
        max-width: calc(100% - 4rem);
        flex: 0 1 auto;
        align-items: center;
    }

    #mainNav .navbar-item.logo img {
        max-height: 3rem;
    }

    #mainNav .navbar-burger {
        display: block;
        visibility: visible;
        flex: 0 0 4rem;
        width: 4rem;
        height: 4rem;
        min-width: 44px;
        min-height: 44px;
        margin-left: auto;
        opacity: 1;
        color: var(--jacobson-blue);
    }

    #mainNav .navbar-menu {
        display: none;
        max-height: calc(100vh - 4rem);
        padding: 0.5rem 0.75rem 1rem;
        overflow: auto;
        background: #fff;
        box-shadow: 0 8px 16px rgb(10 10 10 / 10%);
    }

    #mainNav .navbar-menu.is-active {
        display: block;
    }

    #mainNav .navbar-start,
    #mainNav .navbar-end {
        display: block;
    }

    #mainNav .navbar-item,
    #mainNav .navbar-link {
        display: flex;
        align-items: center;
        width: 100%;
        border-radius: 6px;
    }

    #mainNav .navbar-item.has-dropdown {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    #mainNav .navbar-item.has-dropdown > .navbar-link {
        grid-column: 1;
        min-width: 0;
        padding-right: 0.75rem;
    }

    #mainNav .navbar-dropdown-toggle {
        grid-column: 2;
    }

    #mainNav .navbar-link::after {
        display: none;
    }

    #mainNav .navbar-item.has-dropdown > .navbar-dropdown {
        position: static;
        grid-column: 1 / -1;
        display: none;
        min-width: 0;
        padding: 0.25rem 0 0.5rem 0.75rem;
        border: 0;
        border-left: 2px solid #d7deeb;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    #mainNav .navbar-item.has-dropdown.is-open > .navbar-dropdown,
    #mainNav .navbar-item.has-dropdown.is-active > .navbar-dropdown,
    #mainNav .navbar-item.has-dropdown > .navbar-dropdown.is-active {
        display: block;
    }

    #mainNav .navbar-dropdown .navbar-item {
        padding: 0.5rem 0.75rem;
        white-space: normal;
    }

    #mainNav .navbar-end > .navbar-item {
        padding-right: 0;
        padding-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }

    .hero.is-fullheight {
        min-height: auto;
    }

    .hero.is-fullheight .hero-body {
        min-height: auto;
        padding: 3rem 1rem;
    }

    .hero-content {
        width: 100%;
        padding: 1.25rem;
    }

    .hero-content h1.title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-content .buttons {
        margin-top: 1.5rem !important;
    }

    .hero-content .button {
        width: 100%;
        white-space: normal;
    }

    .column.is-12-mobile {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }

    .tiles-container .columns {
        margin-right: 0;
        margin-left: 0;
    }

    .tile.is-parent {
        padding: 0.5rem 0;
    }

    .tile.is-child.box {
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .tile-title {
        font-size: 1.25rem;
    }

    .tile-content {
        font-size: 1rem;
    }

    .quick-action-card {
        min-height: 82px;
        padding: 0.85rem;
    }

    #map {
        height: 300px;
    }

    .cta-rows-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .cta-row {
        padding: 1.5rem 0;
    }

    .cta-row .columns {
        flex-direction: column-reverse;
    }

    .cta-row .column {
        width: 100%;
    }

    .cta-image {
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 420px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    blockquote {
        padding-right: 1rem;
        padding-left: 1rem;
        border-left-width: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .quick-action-card,
    .tile.is-child.box,
    .story-card,
    .story-card-image img,
    .button.is-primary {
        transform: none !important;
    }
}
