:root {
    --borg-navy: #12213d;
    --borg-blue: #1d4ed8;
    --borg-ink: #172033;
    --borg-muted: #64748b;
    --borg-line: #d5dce7;
    --borg-panel: #f8fafc;
    --borg-soft: #eef2f7;
    --borg-white: #ffffff;
    --borg-page-accent: #73295e;
    --borg-page-accent-dark: #4c1b3e;
    --borg-page-accent-darker: #37142d;
    --borg-page-accent-rgb: 115, 41, 94;
    --borg-page-accent-wash: rgba(115, 41, 94, 0.1);
    --borg-page-accent-panel: rgba(115, 41, 94, 0.1);
    --borg-page-accent-contrast: #ffffff;
    --borg-calendar-accent: #405587;
}

body {
    margin: 0;
}

.borg-site-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 24px;
}


.borg-site-alert {
    background: var(--borg-alert-bg, #ffcc00);
    color: var(--borg-alert-color, #000000);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 400000;
}

.borg-site-alert__inner {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1180px;
    min-height: 44px;
    padding: 10px 20px;
    text-align: center;
}

.borg-site-alert__icon {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1;
}

.borg-site-alert__content {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.borg-site-alert__content p {
    margin: 0;
}

.borg-site-alert__link {
    align-items: center;
    background: var(--borg-alert-color, #000000);
    border: 1px solid var(--borg-alert-color, #000000);
    border-radius: 999px;
    color: var(--borg-alert-bg, #ffcc00);
    display: inline-flex;
    flex: 0 0 auto;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 28px;
    padding: 5px 14px;
    text-decoration: none;
}

.borg-site-alert__link:visited,
.borg-site-alert__link:hover,
.borg-site-alert__link:focus {
    color: var(--borg-alert-bg, #ffcc00);
}

.borg-site-alert__link:hover,
.borg-site-alert__link:focus {
    opacity: 0.86;
}

body:has(.borg-site-alert) .borg-site-header {
    top: 64px;
}

.admin-bar:has(.borg-site-alert) .borg-site-alert {
    top: 32px;
}

.admin-bar:has(.borg-site-alert) .borg-site-header {
    top: 96px;
}

@media (max-width: 782px) {
    .admin-bar:has(.borg-site-alert) .borg-site-alert {
        top: 46px;
    }

    .admin-bar:has(.borg-site-alert) .borg-site-header {
        top: 110px;
    }
}

@media (max-width: 640px) {
    .borg-site-alert__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        text-align: left;
    }

    body:has(.borg-site-alert) .borg-site-header {
        top: 96px;
    }

    .admin-bar:has(.borg-site-alert) .borg-site-header {
        top: 142px;
    }
}

.borg-site-header {
    align-items: flex-start;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 300000;
}


.borg-site-header__logo {
    display: block;
    flex: 0 0 auto;
    height: 134px;
    position: relative;
    width: 174px;
}


.borg-menu-is-open .borg-site-header__logo {
    opacity: 0;
    pointer-events: none;
}

.borg-site-header__logo img {
    display: block;
    height: 100%;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    width: 100%;
}

.borg-site-header__toggle,
.borg-menu-overlay__close {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    height: 50px;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 50px;
}

.borg-site-header__toggle span,
.borg-menu-overlay__close span {
    background: #ffffff;
    display: block;
    height: 7px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    transition: opacity 180ms ease, top 180ms ease, transform 180ms ease;
    width: 46px;
}

.borg-site-header__toggle span:nth-child(1) {
    top: 0;
}

.borg-site-header__toggle span:nth-child(2) {
    top: 11px;
}

.borg-site-header__toggle span:nth-child(3) {
    top: 21px;
}

.borg-menu-overlay__close {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 2;
}

.admin-bar .borg-menu-overlay__close {
    top: 52px;
}

.borg-menu-overlay__close span:nth-child(1) {
    top: 11px;
    transform: translateX(-50%) rotate(45deg);
}

.borg-menu-overlay__close span:nth-child(2) {
    top: 11px;
    transform: translateX(-50%) rotate(-45deg);
}


.borg-site-header__toggle.is-open span:nth-child(1) {
    top: 11px;
    transform: translateX(-50%) rotate(45deg);
}

.borg-site-header__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.borg-site-header__toggle.is-open span:nth-child(3) {
    top: 11px;
    transform: translateX(-50%) rotate(-45deg);
}

.borg-site-header__toggle:focus-visible,
.borg-menu-overlay__close:focus-visible,
.borg-menu-overlay__item:focus-visible,
.borg-menu-subpanel a:focus-visible,
.borg-menu-subpanel__back:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 6px;
}

.borg-menu-is-open {
    overflow: hidden;
}

.borg-menu-overlay {
    display: none;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
    z-index: 200000;
}

.borg-menu-overlay.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.borg-menu-is-open .borg-menu-overlay {
    z-index: 900000;
}

.borg-menu-is-open .borg-site-header {
    pointer-events: none;
}

.borg-menu-overlay__panel,
.borg-menu-overlay__content,
.borg-menu-overlay__search,
.borg-menu-overlay__search-input,
.borg-menu-overlay__close {
    pointer-events: auto;
}

.borg-menu-overlay__panel {
    align-items: center;
    box-sizing: border-box;
    background: #000333;
    color: #ffffff;
    display: flex;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    padding: 0 64px;
    position: relative;
    width: 100%;
}

.borg-menu-overlay__content {
    box-sizing: border-box;
    display: grid;
    font-family: Inter, sans-serif;
    font-weight: 500;
    gap: 72px;
    grid-template-columns: 239px 194px;
    justify-content: center;
    line-height: 1.45;
    margin-left: auto;
    margin-right: auto;
    max-width: 505px;
    width: 505px;
}

.borg-menu-overlay__nav {
    min-height: 435px;
    overflow: hidden;
    position: relative;
    width: 239px;
}

.borg-menu-overlay__list,
.borg-menu-subpanel__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.borg-menu-subpanel__list {
       margin: 0 0 0 20px;
       border-bottom:1px solid rgba(255,255,255,0.5);
 
}

.borg-menu-overlay__list li,
.borg-menu-subpanel__list li {
    margin: 0 0 16px;
}

.borg-menu-overlay__item,
.borg-menu-subpanel a,
.borg-menu-subpanel__back {
    background: transparent;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter, sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.085px;
    line-height: 1.45;
    padding: 0;
    text-align: left;
    text-decoration: none;
}

.borg-menu-overlay__item[data-borg-submenu]::after {
    content: "";
    border-bottom: 5px solid transparent;
    border-left: 7px solid currentColor;
    border-top: 5px solid transparent;
    display: inline-block;
    margin-left: 10px;
    transform: translateY(1px);
}


.borg-menu-overlay__item:hover,
.borg-menu-overlay__item:focus,
.borg-menu-overlay__item.is-active,
.borg-menu-subpanel a:hover,
.borg-menu-subpanel a:focus,
.borg-menu-subpanel__back:hover,
.borg-menu-subpanel__back:focus {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.borg-menu-overlay__item.is-active::after {
    transform: translateY(1px) rotate(90deg);
}

.borg-menu-overlay__contact {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    gap: 16px;
    letter-spacing: -0.065px;
    line-height: 1.45;
    margin: 0;
    width: 194px;
    white-space: pre-wrap;
}


.borg-menu-overlay__contact p {
    margin: 0;
}

.borg-menu-overlay__contact img {
    height: auto;
    max-width: 100%;
}

.borg-menu-overlay__contact a {
    color: #ffffff;
    text-decoration: underline;
}

.borg-menu-subpanel {
    background: #000333;
    bottom: 0;
    color: #ffffff;
    left: 0;
    padding: 0;
    position: absolute;
    top: 0;
    transform: translateX(100%);
    transition: transform 260ms ease;
    width: 100%;
    z-index: 2;
}

.borg-menu-subpanel.is-open {
    transform: translateX(0);
}

.borg-menu-subpanel__back {
    font-size: 13px;
    margin-bottom: 36px;
    text-transform: uppercase;
}

.borg-menu-subpanel__back::before {
    content: "";
    border-bottom: 5px solid transparent;
    border-right: 7px solid currentColor;
    border-top: 5px solid transparent;
    display: inline-block;
    margin-right: 10px;
}

.borg-menu-subpanel__parent {
    font-family: "IM FELL French Canon", serif;
    font-size: 36px;
    letter-spacing: -0.68px;
    line-height: 1.1;
    font-weight:bold;
    padding-left:20px;
}


.elementor-editor-active .borg-site-header,
.elementor-editor-preview .borg-site-header,
.elementor-editor-active .borg-menu-overlay,
.elementor-editor-preview .borg-menu-overlay {
    display: none;
}

.borg-site-main {
    min-height: 60vh;
}


.elementor-page .borg-page-content {
    max-width: none;
    padding: 0;
}
.elementor-page .elementor-widget-borg_hero:first-child,
.elementor-page .elementor-widget-borg_hero .elementor-widget-container {
    margin-top: 0;
}

.borg-page-band,
.borg-page-header {
    background: var(--borg-panel);
    border-bottom: 1px solid var(--borg-line);
    padding: 56px 0;
}

.borg-page-header h1,
.borg-entry__header h1 {
    color: var(--borg-navy);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    margin: 0;
}

.borg-page-content{
    margin: 0 auto;
    max-width: 1180px;
}
.borg-entry__content {
    margin: 0 auto;
    max-width: 1180px;
    padding: 40px 24px;
}

.borg-content-stack {
    display: grid;
    gap: 28px;
}

.borg-entry {
    background: var(--borg-white);
    border: 1px solid var(--borg-line);
    border-radius: 8px;
    padding: 28px;
}

.borg-site-footer {
    background: #001947;
    color: #ffffff;
    padding: 20px;
}

.borg-site-footer__inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1180px;
    text-align: center;
}

.borg-site-footer__images {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.borg-site-footer__image {
    display: block;
    height: 92px;
    width: 92px;
}

.borg-site-footer__image img {
    display: block;
    height: 100%;
    max-width: none;
    object-fit: contain;
    width: 100%;
}

.borg-site-footer__menu ul {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.borg-site-footer a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
}

.borg-site-footer__menu a {
    font-family: Inter, sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.085px;
    line-height: 1.45;
}

.borg-site-footer__legal {
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.09px;
    line-height: 1.45;
    max-width: 80%;
    width: 100%;
    word-break: break-word;
}


.borg-site-footer__legal img {
    display: inline-block;
    height: auto;
    max-width: min(100%, 260px);
}

.borg-site-footer__legal figure {
    margin: 0;
}

.borg-site-footer__legal p {
    margin: 0;
    white-space: pre-wrap;
}


.borg-documents {
    gap: 14px;
}

.borg-document-card {
    background: var(--borg-white);
    border: 1px solid var(--borg-line);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.borg-document-card__title a {
    color: var(--borg-navy);
}

.borg-document-card__action {
    background: var(--borg-navy);
}

.borg-document-card__action:hover,
.borg-document-card__action:focus {
    background: var(--borg-blue);
}

@media (max-width: 768px) {
    .borg-page-header h1,
    .borg-entry__header h1 {
        font-size: 38px;
    }
}
.borg-documents {
    display: grid;
    gap: 12px;
}

.borg-documents-empty {
    color: #475569;
}

.borg-document-card {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #d5dce7;
    border-radius: 8px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

.borg-document-icon {
    align-items: center;
    aspect-ratio: 3 / 4;
    background: #64748b;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 64px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.04em;
    width: 64px;
}

.borg-document-icon--pdf {
    background: #d93025;
}

.borg-document-icon--word {
    background: #2b579a;
}

.borg-document-icon--excel {
    background: #217346;
}

.borg-document-icon--powerpoint {
    background: #d24726;
}

.borg-document-icon--link {
    background: #334155;
}

.borg-document-card__body {
    display: grid;
    gap: 8px;
}

.borg-document-card__title {
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
}

.borg-document-card__title a {
    color: #12213d;
    text-decoration: none;
}

.borg-document-card__title a:hover,
.borg-document-card__title a:focus {
    color: #1d4ed8;
    text-decoration: underline;
}

.borg-document-card__meta,
.borg-document-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.borg-document-card__meta span {
    color: #475569;
    font-size: 13px;
}

.borg-document-card__tags span {
    background: #dbeafe;
    border-radius: 999px;
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 9px;
}

.borg-document-card__action {
    background: #1d4ed8;
    border-radius: 8px;
    color: #fff;
    flex: 0 0 auto;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
}

.borg-document-card__action:hover,
.borg-document-card__action:focus {
    background: #1e40af;
    color: #fff;
}

@media (max-width: 640px) {
    .borg-document-card {
        align-items: stretch;
        flex-direction: column;
    }

    .borg-document-card__action {
        text-align: center;
    }

}

.borg-documents--simple {
    display: grid;
    gap: 9px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.borg-document-simple {
    align-items: center;
    color: #12213d;
    display: flex;
    gap: 10px;
    line-height: 1.35;
}

.borg-document-simple__icon {
    background: #e2e8f0;
    border: 1px solid #94a3b8;
    border-radius: 3px;
    box-sizing: border-box;
    flex: 0 0 auto;
    height: 16px;
    position: relative;
    width: 14px;
}

.borg-document-simple__icon::after {
    background: #cbd5e1;
    border-bottom: 1px solid #94a3b8;
    border-left: 1px solid #94a3b8;
    content: "";
    height: 5px;
    position: absolute;
    right: -1px;
    top: -1px;
    width: 5px;
}


.borg-document-simple__icon--pdf {
    background: #fed7aa;
    border-color: #d93025;
}

.borg-document-simple__icon--word {
    background: #dbeafe;
    border-color: #2b579a;
}

.borg-document-simple__icon--excel {
    background: #dcfce7;
    border-color: #217346;
}

.borg-document-simple__icon--powerpoint {
    background: #ffedd5;
    border-color: #d24726;
}

.borg-document-simple__title {
    color: #12213d;
    text-decoration: none;
}

.borg-document-simple__title:hover,
.borg-document-simple__title:focus {
    color: #1d4ed8;
    text-decoration: underline;
}

.borg-documents--button {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 24px auto 28px;
}

.borg-document-button-card {
    align-items: center;
    display: inline-flex;
    gap: 14px;
}

.borg-document-button__icon {
    align-items: center;
    background: transparent;
    border-radius: 999px;
    color: var(--borg-document-button-icon-color, currentColor);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    gap: 6px;
    justify-content: center;
    letter-spacing: 0.04em;
    line-height: 1;
    min-height: 28px;
    min-width: 46px;
    padding: 6px 9px;
}

.borg-document-button__icon::before {
    background: currentColor;
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    height: 14px;
    width: 14px;
}

.borg-document-button__icon--pdf::before,
.borg-document-button__icon--word::before,
.borg-document-button__icon--file::before {
    clip-path: polygon(14% 0, 64% 0, 86% 22%, 86% 100%, 14% 100%);
}

.borg-document-button__icon--excel::before {
    background:
        linear-gradient(currentColor 0 0) 0 0 / 100% 2px no-repeat,
        linear-gradient(currentColor 0 0) 0 50% / 100% 2px no-repeat,
        linear-gradient(currentColor 0 0) 0 100% / 100% 2px no-repeat,
        linear-gradient(currentColor 0 0) 0 0 / 2px 100% no-repeat,
        linear-gradient(currentColor 0 0) 50% 0 / 2px 100% no-repeat,
        linear-gradient(currentColor 0 0) 100% 0 / 2px 100% no-repeat;
}

.borg-document-button__icon--powerpoint::before {
    border: 2px solid currentColor;
    border-radius: 2px;
    box-sizing: border-box;
    position: relative;
}

.borg-document-button__icon--link::before {
    border: 2px solid currentColor;
    border-left-color: transparent;
    border-radius: 999px;
    transform: rotate(-35deg);
}


.borg-document-button__label {
    display: inline-block;
}

.borg-document-button {
    align-items: center;
    background: var(--borg-document-button-bg, var(--borg-page-master, var(--borg-calendar-accent)));
    border-radius: 999px;
    color: var(--borg-document-button-color, #fff);
    display: inline-flex;
    gap: 10px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: -0.28px;
    line-height: 1.2;
    min-height: 48px;
    padding: 14px 22px;
    text-align: center;
    text-decoration: none;
}

.borg-document-button:visited {
    color: var(--borg-document-button-color, #fff);
}

.borg-document-card__action:visited {
    color: #fff;
}

.borg-document-button:hover,
.borg-document-button:focus {
    background: color-mix(in srgb, var(--borg-document-button-bg, var(--borg-page-master, var(--borg-calendar-accent))) 82%, white);
    color: var(--borg-document-button-color, #fff);
}

.home .elementor-element-ca51226,
.home .elementor-element-26ab3ee,
.home .elementor-element-ff5923c,
.home .elementor-element-669eda8 {
    cursor: pointer;
    overflow: hidden;
}

.home .elementor-element-ca51226 .elementor-heading-title a,
.home .elementor-element-26ab3ee .elementor-heading-title a,
.home .elementor-element-ff5923c .elementor-heading-title a,
.home .elementor-element-669eda8 .elementor-heading-title a {
    color: inherit;
    text-decoration: none;
}

.home .elementor-element-ca51226 .elementor-widget-container,
.home .elementor-element-26ab3ee .elementor-widget-container,
.home .elementor-element-ff5923c .elementor-widget-container,
.home .elementor-element-669eda8 .elementor-widget-container {
    border-radius: 0 0 20px 20px;
}

.home .elementor-element-ca51226:hover .elementor-widget-container,
.home .elementor-element-26ab3ee:hover .elementor-widget-container,
.home .elementor-element-ff5923c:hover .elementor-widget-container,
.home .elementor-element-669eda8:hover .elementor-widget-container,
.home .elementor-element-ca51226:focus-within .elementor-widget-container,
.home .elementor-element-26ab3ee:focus-within .elementor-widget-container,
.home .elementor-element-ff5923c:focus-within .elementor-widget-container,
.home .elementor-element-669eda8:focus-within .elementor-widget-container {
    background-color: rgba(255, 255, 255, 0.9);
}

.home .elementor-element-ade131c,
.home .elementor-element-b57044d {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: 20px;
    width: 100vw;
}

.home .elementor-element-ade131c {
    background: rgba(97, 97, 97, 0.1);
}

.home .elementor-element-b57044d {
    background: #ffffff;
}

.home .elementor-element-ade131c > .elementor-container,
.home .elementor-element-b57044d > .elementor-container {
    align-items: stretch;
    background: transparent;
    border-radius: 0;
    max-width: 1152px;
    overflow: visible;
}

.home .elementor-element-ade131c .elementor-widget-wrap,
.home .elementor-element-b57044d .elementor-widget-wrap {
    align-content: center;
    align-items: center;
}

.home .elementor-element-81edfa0 .elementor-heading-title,
.home .elementor-element-2800716 .elementor-heading-title {
    font-family: "IM FELL French Canon", serif;
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -1.12px;
    line-height: 1.1;
}

.home .elementor-element-d46573f,
.home .elementor-element-0de5377 {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    letter-spacing: -0.24px;
    line-height: 1.45;
}

.home .borg-home-feature__subtitle {
    font-size: 18px;
    line-height: 1.45;
    margin: 0 0 20px;
}

.home .borg-home-feature__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.home .borg-home-feature__button {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    justify-content: center;
    letter-spacing: -0.08px;
    line-height: 1.45;
    min-height: 48px;
    padding: 12px 16px;
    text-decoration: none;
}

.home .borg-home-feature__button:hover,
.home .borg-home-feature__button:focus {
    transform: translateY(-1px);
}

.home .elementor-element-22ed04a img,
.home .elementor-element-0018ca4 img {
    border-radius: 20px;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 767px) {
    .home .elementor-element-ade131c,
    .home .elementor-element-b57044d {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .home .elementor-element-ade131c > .elementor-container,
    .home .elementor-element-b57044d > .elementor-container {
        flex-direction: column;
    }

    .home .elementor-element-ade131c .elementor-widget-wrap,
    .home .elementor-element-b57044d .elementor-widget-wrap {
        padding: 24px;
    }

    .home .elementor-element-22ed04a img,
    .home .elementor-element-0018ca4 img {
        min-height: 220px;
    }
}

.borg-hero {
    align-items: center;
    background: var(--borg-hero-bg-color, #0f2742);
    display: flex;
    justify-content: center;
    min-height: var(--borg-hero-min-height, 0vh);
    overflow: hidden;
    padding-left: 64px;
    padding-right: 64px;
    position: relative;
}


.borg-hero--width-contained {
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    width: 100%;
}

.borg-hero--width-full-viewport {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: none;
    width: 100vw;
}

.borg-hero--content-site .borg-hero__container {
    left: 50%;
    max-width: calc(100% - 128px);
    transform: translateX(-50%);
    width: 80%;
}

.borg-hero--content-hero .borg-hero__container {
    left: 10%;
    max-width: none;
    transform: none;
    width: 80%;
}


.borg-hero--content-align-center .borg-hero__container,
.borg-hero--content-align-center .borg-hero__text,
.borg-hero--content-align-center .borg-hero__actions {
    align-items: center;
    text-align: center;
}

.borg-hero--content-align-right .borg-hero__container,
.borg-hero--content-align-right .borg-hero__text,
.borg-hero--content-align-right .borg-hero__actions {
    align-items: flex-end;
    text-align: right;
}

.borg-hero--audience-hero-right .borg-hero__audiences {
    right: 64px;
}

.borg-hero--audience-site-right .borg-hero__audiences {
    right: max(20px, calc((100vw - 1152px) / 2 + 20px));
}

.borg-hero--audience-viewport-right .borg-hero__audiences {
    right: 20px;
}

.borg-hero__media {
    height: 100%;
    inset: 0;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.borg-hero__overlay {
    background: var(--borg-hero-overlay-color, #000333);
    inset: 0;
    opacity: var(--borg-hero-overlay-opacity, 0.5);
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.borg-hero__container {
    align-items: flex-start;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    left: 64px;
    padding: 40px 32px;
    position: absolute;
    width: 1152px;
    z-index: 2;
}

.borg-hero__text {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    font-family: "IM FELL French Canon", serif;
    gap: 24px;
    justify-content: center;
    line-height: 0;
    max-width: 80%;
    width: 100%;
    word-break: break-word;
}


.borg-hero__eyebrow {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.45;
    margin: 0;
}

.borg-hero__title {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 52px);
    font-weight: 400;
    letter-spacing: -1.12px;
    line-height: 1.1;
    margin: 0;
    max-width: 100%;
}

.borg-hero__copy {
    color: #ffffff;
    font-size: 24px;
    letter-spacing: -0.12px;
    line-height: 1.45;
    max-width: 100%;
    width: 100%;
}

.borg-hero__copy p {
    margin: 0;
}

.borg-hero__actions {
    align-content: center;
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.borg-hero__button,
.borg-hero__audience {
    align-items: center;
    border-radius: 12px;
    display: flex;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 500;
    justify-content: center;
    letter-spacing: -0.09px;
    line-height: 1.45;
    padding: 12px 16px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    z-index: 3;
}

.borg-hero__button--primary {
    background: #ffcc00;
    color: #000000;
    width: 144px;
}

.borg-hero__button--secondary {
    background: #ffcc00;
    border: 0;
    color: #000000;
}

.borg-hero__audiences {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 40px);
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.borg-hero__audience {
    border: 2px solid #ffffff;
    color: #ffffff;
    margin-bottom: 6px;
    min-width: 110px;
}

.borg-hero__audience--maroon {
    background: rgba(75, 13, 57, 0.8);
}

.borg-hero__audience--green {
    background: rgba(9, 149, 86, 0.5);
}

.borg-hero__audience--orange {
    background: rgba(201, 98, 9, 0.5);
}

.borg-card {
    background: #f8fafc;
    border: 1px solid #d5dce7;
    border-radius: 16px;
    color: #12213d;
    padding: 24px;
}

.borg-card--accent {
    background: #e8f3fb;
    border-color: #bae6fd;
}

.borg-card__eyebrow {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.borg-card__title {
    color: #0f2742;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.1;
    margin: 0;
}

.borg-card__text {
    color: #475569;
    line-height: 1.6;
    margin-top: 12px;
}

.borg-card__text p {
    margin: 0 0 0.75em;
}

.borg-card__text p:last-child {
    margin-bottom: 0;
}

.borg-card__link {
    color: #0f4c81;
    display: inline-flex;
    font-weight: 800;
    margin-top: 18px;
    text-decoration: none;
}

.borg-card__link:hover,
.borg-card__link:focus {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .borg-hero {
        align-items: center;
        flex-direction: column;
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
    }

    .borg-hero__container,
    .borg-hero--content-site .borg-hero__container,
    .borg-hero--content-hero .borg-hero__container {
        bottom: 0;
        gap: 32px;
        left: 0;
        max-width: none;
        padding: 80px 24px 24px;
        transform: none;
        width: 375px;
    }

    .borg-hero__text {
        align-items: flex-start;
        font-size: clamp(38px, 5vw, 52px);
        max-width: 100%;
    }

    .borg-hero__copy {
        color: rgba(0, 0, 0, 0.55);
        font-size: 18px;
        letter-spacing: -0.09px;
        text-align: center;
        width: 100%;
    }

    .borg-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .borg-hero__button {
        font-size: 16px;
        letter-spacing: -0.08px;
        width: 100%;
    }

    .borg-hero__button--secondary {
        background: #ffcc00;
        border: 0;
        color: #000000;
    }

    .borg-hero__audiences {
        display: flex;
        flex-direction: row;
        gap: 6px;
        left: 15px;
        max-width: calc(100% - 30px);
        right: auto;
        top: 113px;
        transform: none;
    }

    .borg-hero__audience {
        font-size: 18px;
        margin-bottom: 0;
        min-width: 0;
    }

    .borg-hero__audience:first-child,
    .borg-hero__audience:last-child {
        width: 110px;
    }
}




.elementor-page .e-con:has(.elementor-widget-borg_hero),
.elementor-page .e-con:has(.elementor-widget-borg_filter_panel),
.elementor-page .e-con-inner:has(.elementor-widget-borg_hero),
.elementor-page .e-con-inner:has(.elementor-widget-borg_filter_panel) {
    --column-gap: 0px;
    --gap: 0px;
    --row-gap: 0px;
    gap: 0;
}

.elementor-page .elementor-section:has(.elementor-widget-borg_hero) {
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-page .elementor-section:has(.elementor-widget-borg_hero) > .elementor-container {
    max-width: none;
}

.elementor-page .elementor-section:has(.elementor-widget-borg_hero) > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 0 !important;
}

.elementor-page .elementor-widget-borg_hero,
.elementor-page .elementor-widget-borg_filter_panel,
.elementor-page .elementor-widget-borg_news_section,
.elementor-page .elementor-widget-borg_upcoming_events,
.elementor-page .elementor-widget-borg_documents_list {
    margin-block-end: 0 !important;
}

.elementor-page .elementor-widget-borg_hero + .elementor-widget-borg_filter_panel,
.elementor-page .elementor-widget-borg_filter_panel + .elementor-widget-borg_news_section,
.elementor-page .elementor-widget-borg_news_section + .elementor-widget-borg_upcoming_events {
    margin-block-start: 0 !important;
}

.borg-filter-panel {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}


.borg-filter-panel--width-contained {
    width: 100%;
}

.borg-filter-panel--width-full-viewport {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    width: 100vw;
}

.borg-filter-panel__row {
    background: var(--borg-page-accent);
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    min-height: 110px;
    padding: 30px 20px;
    width: 100%;
}

.borg-filter-panel__content {
    align-items: center;
    display: flex;
    gap: 48px;
    justify-content: center;
    min-width: 0;
    width: 100%;
}

.borg-filter-panel__toggle {
    display: none;
}

.borg-filter-panel__button {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 500;
    justify-content: center;
    letter-spacing: -0.09px;
    line-height: 1.45;
    padding: 12px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.borg-filter-panel__button.is-active {
    background: var(--borg-page-accent-dark);
    box-shadow: inset 0 0 0 1px var(--borg-page-accent-darker);
}

.borg-filter-panel__button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

[data-borg-filter-item][hidden] {
    display: none !important;
}

@media (max-width: 960px) {
    
.borg-filter-panel--width-contained {
    width: 100%;
}

.borg-filter-panel--width-full-viewport {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    width: 100vw;
}

.borg-filter-panel__row {
        min-height: 0;
        padding: 20px;
    }

    .borg-filter-panel__toggle {
        align-items: center;
        background: var(--borg-page-accent-dark);
        border: 0;
        border-radius: 16px;
        color: #ffffff;
        cursor: pointer;
        display: flex;
        height: 58px;
        justify-content: center;
        padding: 0;
        position: relative;
        width: 58px;
    }

    .borg-filter-panel__toggle::before,
    .borg-filter-panel__toggle::after {
        background:
            linear-gradient(currentColor, currentColor) 0 4px / 26px 2px no-repeat,
            linear-gradient(currentColor, currentColor) 0 14px / 26px 2px no-repeat,
            linear-gradient(currentColor, currentColor) 0 24px / 26px 2px no-repeat;
        content: "";
        height: 28px;
        position: absolute;
        transition: transform 180ms ease;
        width: 26px;
    }

    .borg-filter-panel__toggle::after {
        background:
            radial-gradient(circle, currentColor 0 4px, transparent 4.5px) 6px 0 / 8px 8px no-repeat,
            radial-gradient(circle, currentColor 0 4px, transparent 4.5px) 17px 10px / 8px 8px no-repeat,
            radial-gradient(circle, currentColor 0 4px, transparent 4.5px) 10px 20px / 8px 8px no-repeat;
    }

    .borg-filter-panel.is-open .borg-filter-panel__toggle::before,
    .borg-filter-panel.is-open .borg-filter-panel__toggle::after {
        transform: rotate(90deg);
    }

    .borg-filter-panel.has-active-filters .borg-filter-panel__toggle {
        box-shadow: inset 0 0 0 2px #ffffff;
    }

    .borg-filter-panel__content {
        display: none;
        gap: 12px;
        grid-template-columns: 1fr;
        padding-top: 14px;
    }

    .borg-filter-panel.is-open .borg-filter-panel__content {
        display: grid;
    }

    .borg-filter-panel__button {
        font-size: 15px;
        justify-content: flex-start;
        letter-spacing: -0.08px;
        min-width: 0;
        overflow: hidden;
        padding: 14px 16px;
        text-overflow: ellipsis;
        white-space: normal;
        width: 100%;
    }

    .borg-filter-panel__button:nth-child(n + 3) {
        grid-column: auto;
    }
}

.borg-news-section-outer {
    background: var(--borg-page-accent-wash);
    box-sizing: border-box;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 20px 60px;
    position: relative;
    width: 100vw;
}

.borg-news-section-inner {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.borg-news-section {
    align-items: stretch;
    box-sizing: border-box;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}

.borg-news-section__item {
    align-self: stretch;
    min-height: 384px;
    list-style: none;
    margin: 0;
    position: relative;
    width: 100%;
}


.borg-news-card {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.99);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 20px;
    overflow: hidden;
    width: 100%;
}

.borg-news-card__image {
    display: block;
    flex: 0 0 auto;
    height: 200px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.borg-news-card__image img {
    height: 100%;
    inset: 0;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.borg-news-card__text {
    align-items: flex-start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 0;
    padding: 20px 32px;
    position: relative;
    text-align: center;
    width: 100%;
    word-break: break-word;
}

.borg-news-card__title,
.borg-news-card__date,
.borg-news-card__category {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.borg-news-card__title,
.borg-news-card__title a {
    color: #000000;
    font-family: "IM FELL French Canon", serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.48px;
    line-height: 1.2;
    text-decoration: none;
}

.borg-news-card__date,
.borg-news-card__category {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.24px;
    line-height: 1.2;
}

.borg-news-card__date {
    color: #454648;
}

.borg-news-card__category {
    color: var(--borg-page-accent);
}

.borg-news-card__arrow {
    align-self: center;
    background: #ffcc00;
    border-radius: 999px;
    display: block;
    height: 41px;
    margin-top: auto;
    position: relative;
    width: 41px;
}

.borg-news-card__arrow::before {
    border-right: 5px solid #ffffff;
    border-top: 5px solid #ffffff;
    content: "";
    height: 16px;
    left: 10px;
    position: absolute;
    top: 12px;
    transform: rotate(45deg);
    width: 16px;
}

@media (max-width: 960px) {
    

.borg-news-section-outer {
        padding: 20px 20px 60px;
    }

.borg-news-section {
        align-items: flex-start;
        gap: 24px;
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0;
    }

    .borg-news-section__item {
        min-height: 352px;
        max-width: 327px;
        width: 100%;
    }

    .borg-news-card__image {
        height: 146px;
        width: 100%;
    }

    .borg-news-card__text {
        padding: 24px;
    }
}



.borg-upcoming-events-outer {
    background: var(--borg-page-accent-wash);
    box-sizing: border-box;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 20px 60px;
    position: relative;
    width: 100vw;
}

.borg-upcoming-events-inner {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.borg-upcoming-events {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 58px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.borg-upcoming-events__item {
    height: 98px;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}


.borg-upcoming-events__item--arrow {
    height: 92px;
    width: 58px;
}

.borg-upcoming-events__card {
    background: rgba(255, 255, 255, 0.99);
    box-sizing: border-box;
    border-radius: 16px;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.borg-upcoming-events__text {
    height: 92px;
    position: relative;
    width: 100%;
}

.borg-upcoming-events__dates {
    display: flex;
    gap: 6px;
    left: 18px;
    position: absolute;
    top: 18px;
}

.borg-upcoming-events__date {
    align-items: center;
    background: var(--borg-calendar-accent);
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 52px;
    justify-content: center;
    line-height: 1;
    text-align: center;
    width: 52px;
}

.borg-upcoming-events__day,
.borg-upcoming-events__month {
    font-family: Inter, sans-serif;
    font-weight: 500;
    letter-spacing: -0.005em;
    line-height: 1.45;
    text-transform: uppercase;
}

.borg-upcoming-events__day {
    font-size: 18px;
}

.borg-upcoming-events__month {
    font-size: 14px;
    margin-top: -5px;
}

.borg-upcoming-events__title {
    color: #000000;
    font-family: "IM FELL French Canon", serif;
    font-size: 18px;
    font-weight: 400;
    left: 84px;
    letter-spacing: -0.48px;
    line-height: 1.2;
    margin: 0;
    position: absolute;
    right: 14px;
    top: 29px;
    word-break: break-word;
}


.borg-upcoming-events__text:has(.borg-upcoming-events__date:nth-child(2)) .borg-upcoming-events__title {
    left: 142px;
}

.borg-upcoming-events__card--arrow {
    align-items: center;
    display: flex;
    justify-content: center;
}

.borg-upcoming-events__arrow {
    border-bottom: 20px solid transparent;
    border-left: 34px solid var(--borg-calendar-accent);
    border-top: 20px solid transparent;
    display: block;
    height: 0;
    width: 0;
}

@media (max-width: 960px) {
    .borg-upcoming-events-outer {
        padding: 20px 20px 60px;
    }

    .borg-upcoming-events {
        align-items: flex-start;
        gap: 24px;
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0;
    }

    .borg-upcoming-events__item {
        height: 100px;
        max-width: 327px;
        width: 100%;
    }

    .borg-upcoming-events__item--arrow {
        height: 73px;
    }

    .borg-upcoming-events__dates {
        left: 16px;
        top: 18px;
    }

    .borg-upcoming-events__title {
        font-size: 18px;
        left: 82px;
        right: 14px;
        top: 29px;
    }

    .borg-upcoming-events__text:has(.borg-upcoming-events__date:nth-child(2)) .borg-upcoming-events__title {
        left: 140px;
    }
}

.borg-site-alerts {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 400000;
}

.borg-site-alerts .borg-site-alert {
    left: auto;
    position: static;
    right: auto;
    top: auto;
}

body:has(.borg-site-alerts) .borg-site-header {
    top: calc(64px * var(--borg-alert-count, 1));
}

.admin-bar:has(.borg-site-alerts) .borg-site-alerts {
    top: 32px;
}

.admin-bar:has(.borg-site-alerts) .borg-site-header {
    top: calc(32px + (64px * var(--borg-alert-count, 1)));
}

@media (max-width: 782px) {
    .admin-bar:has(.borg-site-alerts) .borg-site-alerts {
        top: 46px;
    }

    .admin-bar:has(.borg-site-alerts) .borg-site-header {
        top: calc(46px + (96px * var(--borg-alert-count, 1)));
    }
}

@media (max-width: 640px) {
    body:has(.borg-site-alerts) .borg-site-header {
        top: calc(96px * var(--borg-alert-count, 1));
    }
}

.borg-taxonomy-hero {
    align-items: flex-end;
    background: linear-gradient(135deg, #12213d 0%, #253a5c 100%);
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    min-height: 420px;
    overflow: hidden;
    padding: 140px 24px 72px;
    position: relative;
}

.borg-taxonomy-hero--has-image {
    background-image: linear-gradient(90deg, rgba(18, 33, 61, 0.9), rgba(18, 33, 61, 0.48)), var(--borg-taxonomy-image);
    background-position: center center;
    background-size: cover;
}

.borg-taxonomy-hero__inner {
    margin: 0 auto;
    max-width: 1180px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.borg-taxonomy-hero__eyebrow {
    color: #ffcc00;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.borg-taxonomy-hero h1 {
    color: inherit;
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.9;
    margin: 0;
    max-width: 920px;
}

.borg-taxonomy-hero__description {
    color: rgba(255, 255, 255, 0.86);
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.55;
    margin-top: 24px;
    max-width: 680px;
}

.borg-taxonomy-hero__description p {
    margin: 0;
}


.borg-legacy-document-page {
    background: var(--borg-page-accent-wash);
    padding: 40px 0 72px;
}

.borg-legacy-document-page .borg-documents--simple {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    margin: 0 auto;
    max-width: 920px;
    padding: 28px;
}

.borg-taxonomy-results {
    background: var(--borg-page-accent-wash);
    padding: 20px 0 72px;
}

.borg-taxonomy-grid {
    box-sizing: border-box;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.borg-taxonomy-grid__item {
    margin: 0;
}

.borg-taxonomy-pagination {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.borg-taxonomy-pagination .page-numbers {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.borg-taxonomy-pagination .page-numbers li {
    margin: 0;
}

.borg-taxonomy-pagination a,
.borg-taxonomy-pagination span {
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    color: #12213d;
    display: inline-flex;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    min-width: 42px;
    padding: 0 15px;
    text-decoration: none;
}

.borg-taxonomy-pagination .current,
.borg-taxonomy-pagination a:hover,
.borg-taxonomy-pagination a:focus {
    background: #ffcc00;
    color: #12213d;
}

.borg-taxonomy-empty {
    background: #ffffff;
    border-radius: 16px;
    margin: 0 auto;
    max-width: 720px;
    padding: 40px;
    text-align: center;
}

.borg-taxonomy-empty h2 {
    font-family: "IM FELL French Canon", serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
}

.borg-taxonomy-empty p {
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

@media (max-width: 960px) {
    .borg-taxonomy-hero {
        min-height: 340px;
        padding: 120px 20px 56px;
    }

    .borg-taxonomy-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .borg-taxonomy-grid__item {
        max-width: 327px;
    }
}

.borg-taxonomy-explore {
    background: #12213d;
    border-radius: 22px;
    color: #ffffff;
    margin-top: 56px;
    overflow: hidden;
    padding: 38px;
}

.borg-taxonomy-explore__intro {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.borg-taxonomy-explore__eyebrow {
    color: #ffcc00;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.borg-taxonomy-explore h2 {
    color: inherit;
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0;
}

.borg-taxonomy-explore__grid {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.borg-taxonomy-explore__column {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 22px;
}

.borg-taxonomy-explore__column h3 {
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.borg-taxonomy-explore__list,
.borg-taxonomy-explore__chips {
    list-style: none;
    margin: 0;
    padding: 0;
}

.borg-taxonomy-explore__list {
    display: grid;
    gap: 8px;
}

.borg-taxonomy-explore__list li {
    margin: 0;
}

.borg-taxonomy-explore__list a {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 14px;
    text-decoration: none;
}

.borg-taxonomy-explore__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.borg-taxonomy-explore__chips li {
    margin: 0;
}

.borg-taxonomy-explore__chips a {
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    color: #12213d;
    display: inline-flex;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px 0 15px;
    text-decoration: none;
}

.borg-taxonomy-explore__chips em {
    align-items: center;
    background: #ffcc00;
    border-radius: 999px;
    color: #12213d;
    display: inline-flex;
    font-size: 11px;
    font-style: normal;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 6px;
}

.borg-taxonomy-explore a:hover,
.borg-taxonomy-explore a:focus {
    transform: translateY(-1px);
}

@media (max-width: 960px) {
    .borg-taxonomy-explore {
        padding: 24px;
    }

    .borg-taxonomy-explore__intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .borg-taxonomy-explore__grid {
        grid-template-columns: 1fr;
    }
}

.borg-news-card__category a {
    color: inherit;
    text-decoration: none;
}

.borg-news-card__category a:hover,
.borg-news-card__category a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.borg-news-card__category {
    align-items: center;
    display: block;
    flex-direction: initial;
    line-height: 1.35;
}

.borg-news-card__category a,
.borg-news-card__category span {
    display: inline;
}


.borg-single-post {
    background: rgba(97, 97, 97, 0.1);
    box-sizing: border-box;
    padding: 20px 20px 60px;
}

.borg-single-post__list {
    align-items: center;
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.borg-single-post__item {
    list-style: none;
    margin: 0;
    max-width: 730px;
    width: 100%;
}

.borg-single-post__card {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.99);
    border-radius: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.borg-single-post__text,
.borg-single-post__content {
    box-sizing: border-box;
    padding: 20px 32px;
    width: 100%;
    word-break: break-word;
}

.borg-single-post__text--header {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 0;
    text-align: center;
}

.borg-single-post__title,
.borg-single-post__date,
.borg-single-post__categories {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.borg-single-post__title {
    color: #000000;
    font-family: "IM FELL French Canon", serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.48px;
    line-height: 1.2;
}

.borg-single-post__date,
.borg-single-post__categories {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.24px;
    line-height: 1.2;
}

.borg-single-post__date {
    color: #454648;
}

.borg-single-post__categories {
    color: var(--borg-page-accent);
    display: block;
    line-height: 1.2;
}

.borg-single-post__categories a {
    color: inherit;
    display: inline;
    text-decoration: none;
}

.borg-single-post__categories a:hover,
.borg-single-post__categories a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.borg-single-post__content {
    color: #454648;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.24px;
    line-height: 1.38;
    white-space: normal;
}

.borg-single-post__content > *:first-child {
    margin-top: 0;
}

.borg-single-post__content > *:last-child {
    margin-bottom: 0;
}

.borg-single-post__content p,
.borg-single-post__content h5 {
    line-height: 1.38;
    margin: 0 0 16px;
}

.borg-single-post__content a {
    color: var(--borg-page-accent);
}

.borg-single-post__content img {
    border-radius: 20px;
    display: block;
    height: 277px;
    margin: 0 auto;
    max-width: 450px;
    object-fit: cover;
    pointer-events: none;
    width: 100%;
}

.borg-single-post__content p:has(img) {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.borg-single-post__content p:has(img) + p:not(:has(img)) {
    margin-top: 20px;
}

.borg-single-post__content .gallery {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    overflow: hidden;
    width: 100%;
}

.borg-single-post__content .gallery-item {
    margin: 0;
    width: 100% !important;
}

.borg-single-post__content .gallery img {
    border: 0 !important;
}

@media (max-width: 960px) {
    .borg-single-post__list {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .borg-single-post__item {
        max-width: 327px;
    }

    .borg-single-post__text,
    .borg-single-post__content {
        padding: 24px;
    }

    .borg-single-post__text--header {
        flex-direction: column;
    }

    .borg-single-post__date {
        order: 1;
    }

    .borg-single-post__title {
        order: 2;
    }

    .borg-single-post__categories {
        order: 3;
    }

    .borg-single-post__content img {
        height: 139px;
        max-width: 300px;
    }
}

.borg-single-post__title {
    order: 1;
}

.borg-single-post__date {
    order: 2;
}

.borg-single-post__categories {
    order: 3;
}

@media (max-width: 960px) {
    .borg-single-post__date {
        order: 1;
    }

    .borg-single-post__title {
        order: 2;
    }
}

.borg-single-post__content .gallery {
    column-count: 2;
    column-gap: 20px;
    display: block;
    margin: 20px 0;
    overflow: visible;
}

.borg-single-post__content .gallery-item {
    break-inside: avoid;
    display: block;
    margin: 0 0 20px;
    width: 100% !important;
}

.borg-single-post__content .gallery-icon,
.borg-single-post__content .gallery-icon a {
    display: block;
}

.borg-single-post__content .gallery img {
    border: 0 !important;
    display: block;
    height: auto;
    max-width: none;
    object-fit: initial;
    width: 100%;
}

.borg-single-post__content p:has(img) {
    column-count: 2;
    column-gap: 20px;
    display: block;
    margin: 20px 0;
    overflow: visible;
}

.borg-single-post__content p:has(img) img {
    break-inside: avoid;
    display: block;
    height: auto;
    margin: 0 0 20px;
    max-width: none;
    object-fit: initial;
    width: 100%;
}

.borg-single-post__content p:has(img) img:only-child {
    margin-left: auto;
    margin-right: auto;
    max-width: 450px;
}

@media (max-width: 960px) {
    .borg-single-post__content .gallery,
    .borg-single-post__content p:has(img) {
        column-count: 1;
    }

    .borg-single-post__content p:has(img) img:only-child {
        max-width: 300px;
    }
}

.borg-single-post-hero {
    align-items: flex-end;
    background: linear-gradient(135deg, #12213d 0%, #253a5c 100%);
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    min-height: 520px;
    overflow: hidden;
    padding: 150px 24px 72px;
    position: relative;
}

.borg-single-post-hero--has-image {
    background-image: linear-gradient(90deg, rgba(18, 33, 61, 0.92), rgba(18, 33, 61, 0.36)), var(--borg-single-hero-image);
    background-position: center center;
    background-size: cover;
}

.borg-single-post-hero__inner {
    margin: 0 auto;
    max-width: 1180px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.borg-single-post-hero__eyebrow {
    color: #ffcc00;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.borg-single-post-hero h1 {
    color: inherit;
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(27px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.95;
    margin: 0;
    max-width: 980px;
}

@media (max-width: 960px) {
    .borg-single-post-hero {
        min-height: 360px;
        padding: 120px 20px 48px;
    }

    .borg-single-post-hero h1 {
        font-size: clamp(21px, 6.5vw, 33px);
        line-height: 0.98;
    }
}

.borg-single-post-hero__meta {
    align-items: center;
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    flex-wrap: wrap;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    gap: 12px 18px;
    letter-spacing: -0.24px;
    line-height: 1.3;
    margin-top: 18px;
}

.borg-single-post-hero__categories {
    color: #ffcc00;
}

.borg-single-post-hero__categories a {
    color: inherit;
    text-decoration: none;
}

.borg-single-post-hero__categories a:hover,
.borg-single-post-hero__categories a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 960px) {
    .borg-single-post-hero__meta {
        align-items: flex-start;
        flex-direction: column;
        font-size: 12px;
        gap: 8px;
        margin-top: 14px;
    }
}

.borg-single-post-hero a:focus-visible,
.borg-single-post__content a:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 4px;
}

.borg-single-post__content img {
    background: #eef2f7;
}

.borg-single-post__item {
    max-width: 980px;
}

.borg-single-post__content .gallery,
.borg-single-post__content p:has(img) {
    column-count: 3;
}

@media (max-width: 960px) {
    .borg-single-post__item {
        max-width: 327px;
    }

    .borg-single-post__content .gallery,
    .borg-single-post__content p:has(img) {
        column-count: 1;
    }
}

@media (max-width: 960px) {
    .borg-single-post__list {
        justify-content: center;
    }

    .borg-single-post__item {
        max-width: 100%;
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 960px) {
    .borg-single-post__content .gallery,
    .borg-single-post__content p:has(img) {
        column-count: 3;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .borg-single-post__content .gallery,
    .borg-single-post__content p:has(img) {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .borg-single-post__content .gallery {
        column-count: 3 !important;
        column-gap: 20px;
        display: block !important;
    }

    .borg-single-post__content .gallery .gallery-item {
        break-inside: avoid;
        clear: none !important;
        display: inline-block !important;
        float: none !important;
        margin: 0 0 20px !important;
        vertical-align: top;
        width: 100% !important;
    }

    .borg-single-post__content .gallery .gallery-icon,
    .borg-single-post__content .gallery .gallery-icon a {
        display: block;
        width: 100%;
    }

    .borg-single-post__content .gallery img {
        height: auto !important;
        max-width: none !important;
        width: 100% !important;
    }
}

.borg-single-post__content .borg-js-masonry {
    column-count: initial !important;
    display: block !important;
    margin: 20px 0;
    overflow: visible;
}

.borg-single-post__content .borg-js-masonry__item {
    box-sizing: border-box;
    break-inside: auto;
    display: block !important;
    float: none !important;
    transition: transform 180ms ease;
}

.borg-single-post__content .borg-js-masonry__item img {
    display: block;
    height: auto !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

@media (prefers-reduced-motion: reduce) {
    .borg-single-post__content .borg-js-masonry__item {
        transition: none;
    }
}

.borg-single-post__content .borg-js-masonry--ready {
    column-count: initial !important;
    display: block !important;
    height: auto !important;
}

.borg-js-masonry__columns {
    display: flex;
    gap: 20px;
    width: 100%;
}

.borg-js-masonry__column {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.borg-single-post__content .borg-js-masonry--ready .borg-js-masonry__item {
    break-inside: auto;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
}

.borg-single-post__content .borg-js-masonry--ready .borg-js-masonry__item img {
    display: block;
    height: auto !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.borg-js-masonry__source[hidden] {
    display: none !important;
}

.borg-single-post__content .gallery,
.borg-single-post__content p:has(img) {
    column-count: 3 !important;
    column-gap: 20px;
    display: block !important;
    height: auto !important;
    overflow: visible;
}

.borg-single-post__content .gallery .gallery-item,
.borg-single-post__content p:has(img) img {
    break-inside: avoid;
    display: block !important;
    float: none !important;
    margin: 0 0 20px !important;
    width: 100% !important;
}

.borg-single-post__content .gallery img,
.borg-single-post__content p:has(img) img {
    height: auto !important;
    max-width: none !important;
    object-fit: initial;
    width: 100% !important;
}

@media (max-width: 767px) {
    .borg-single-post__content .gallery,
    .borg-single-post__content p:has(img) {
        column-count: 1 !important;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .borg-single-post__content .gallery,
    .borg-single-post__content p:has(img) {
        column-count: 2 !important;
    }
}

.borg-single-post__content .gallery,
.borg-single-post__content p:has(img) {
    column-count: initial !important;
    column-gap: normal !important;
    display: grid !important;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto !important;
    margin: 20px 0;
    overflow: visible;
}

.borg-single-post__content .gallery .gallery-item,
.borg-single-post__content p:has(img) img {
    break-inside: auto;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
}

.borg-single-post__content .gallery img,
.borg-single-post__content p:has(img) img {
    aspect-ratio: 4 / 3;
    height: auto !important;
    max-width: none !important;
    object-fit: cover;
    width: 100% !important;
}

.borg-single-post__content .gallery-icon,
.borg-single-post__content .gallery-icon a {
    display: block;
    height: 100%;
    width: 100%;
}

@media (max-width: 767px) {
    .borg-single-post__content .gallery,
    .borg-single-post__content p:has(img) {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .borg-single-post__content .gallery,
    .borg-single-post__content p:has(img) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.borg-single-post__content .gallery,
.borg-single-post__content p:has(img) {
    gap: 28px;
}

/* Menu overlay search */
.borg-menu-overlay__search {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 0 6px;
    padding: 0 0 18px;
    position: relative;
}

.borg-menu-overlay__search-input {
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    min-height: 38px;
    min-width: 0;
    outline: 0;
    padding: 8px 84px 8px 12px;
    width: 100%;
}

.borg-menu-overlay__search-input::placeholder {
    color: rgba(255, 255, 255, 0.72);
    opacity: 1;
}

.borg-menu-overlay__search-input::-webkit-search-cancel-button {
    filter: invert(1);
}

.borg-menu-overlay__search-submit {
    appearance: none;
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    color: #000333;
    cursor: pointer;
    align-items: center;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 34px;
}

.borg-menu-overlay__search-submit svg {
    display: block;
    fill: none;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 15px;
}

.borg-menu-overlay__search-input:focus-visible {
    background: rgba(255, 255, 255, 0.05);
}

.borg-menu-overlay__search-submit:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .borg-menu-overlay__search {
        display: block;
    }

    .borg-menu-overlay__search-submit {
        position: absolute;
        right: 4px;
        top: 4px;
    }
}

/* bORG calendar page */
.borg-calendar-page {
    background: #eef2f7;
    padding: clamp(32px, 6vw, 84px) 0;
}

.borg-calendar-page__header {
    margin: 0 auto 32px;
    max-width: 760px;
    text-align: center;
}

.borg-calendar-page__eyebrow {
    color: var(--borg-page-accent);
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.borg-calendar-page__header h2 {
    color: #000000;
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin: 0;
}

.borg-calendar-page__header p:not(.borg-calendar-page__eyebrow) {
    color: #454648;
    font-family: "Source Sans 3", sans-serif;
    font-size: 17px;
    line-height: 1.45;
    margin: 16px auto 0;
    max-width: 560px;
}

.borg-calendar-page__months {
    display: grid;
    gap: 28px;
}

.borg-calendar-month {
    background: rgba(255, 255, 255, 0.99);
    border-radius: 20px;
    box-sizing: border-box;
    padding: clamp(20px, 4vw, 34px);
}

.borg-calendar-month h3 {
    color: #000333;
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 20px;
}

.borg-calendar-list {
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.borg-calendar-list__item {
    margin: 0;
    padding: 0;
}

.borg-calendar-event {
    align-items: center;
    background: #f8fafc;
    border-radius: 16px;
    box-sizing: border-box;
    display: grid;
    gap: 20px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 108px;
    padding: 18px;
}

.borg-calendar-event__dates {
    display: flex;
    gap: 8px;
}

.borg-calendar-event__date {
    align-items: center;
    background: #099556;
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 60px;
    justify-content: center;
    line-height: 1;
    text-align: center;
    width: 60px;
}

.borg-calendar-event__day,
.borg-calendar-event__month {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.borg-calendar-event__day {
    font-size: 22px;
}

.borg-calendar-event__month {
    font-size: 13px;
    margin-top: 3px;
}

.borg-calendar-event__body h4 {
    color: #000000;
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(22px, 3vw, 31px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.borg-calendar-event__body p {
    color: #454648;
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    margin: 8px 0 0;
}

.borg-calendar-event__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.borg-calendar-event__categories li {
    background: #dbeafe;
    border-radius: 999px;
    color: var(--borg-page-accent);
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    padding: 7px 10px;
}

.borg-calendar-empty {
    background: #ffffff;
    border-radius: 20px;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 720px;
    padding: 34px;
    text-align: center;
}

.borg-calendar-empty h3 {
    font-family: "IM FELL French Canon", serif;
    font-size: 34px;
    font-weight: 400;
    margin: 0 0 8px;
}

.borg-calendar-empty p {
    color: #454648;
    margin: 0;
}

@media (max-width: 640px) {
    .borg-calendar-event {
        align-items: flex-start;
        gap: 12px;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 14px;
    }

    .borg-calendar-event__dates {
        gap: 6px;
    }

    .borg-calendar-event__date {
        height: 52px;
        width: 52px;
    }

    .borg-calendar-event__day {
        font-size: 19px;
    }

    .borg-calendar-event__month {
        font-size: 11px;
    }
}

/* bORG information panels */
.borg-info-panels {
    background: #f1f4f8;
    box-sizing: border-box;
    padding: clamp(28px, 5vw, 72px) 20px;
}

.borg-info-panels--width-full-viewport {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

.borg-info-panels__inner {
    margin: 0 auto;
    max-width: 1180px;
}

.borg-info-panels__header {
    margin: 0 0 28px;
    max-width: 760px;
}

.borg-info-panels__eyebrow {
    color: var(--borg-page-accent-dark);
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.borg-info-panels__header h2 {
    color: #000000;
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.98;
    margin: 0;
}

.borg-info-panels__intro {
    color: #454648;
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    line-height: 1.45;
    margin-top: 14px;
}

.borg-info-panels__intro p {
    margin: 0;
}

.borg-info-panels__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.borg-info-panels__item {
    margin: 0;
    padding: 0;
}

.borg-info-panel {
    background: var(--borg-page-accent-wash);
    border-radius: 20px;
    box-sizing: border-box;
    color: #454648;
    font-family: "Source Sans 3", sans-serif;
    min-height: 100%;
    padding: clamp(20px, 3vw, 28px);
}

.borg-info-panel h3 {
    color: var(--borg-page-accent-dark);
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 18px;
}

.borg-info-panel__body {
    font-size: 16px;
    line-height: 1.45;
}

.borg-info-panel__body > *:first-child {
    margin-top: 0;
}

.borg-info-panel__body > *:last-child {
    margin-bottom: 0;
}

.borg-info-panel__body a,
.borg-info-panel__link {
    color: var(--borg-page-accent-dark);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.borg-info-panel__link {
    display: inline-block;
    margin-top: 18px;
}

@media (max-width: 960px) {
    .borg-info-panels__grid {
        grid-template-columns: 1fr;
    }
}

/* Standard header scroll state */
.borg-site-header {
    align-items: flex-start;
    background: transparent;
    box-shadow: none;
    min-height: 0;
    padding: 20px;
    transition: background-color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.borg-site-header__logo {
    height: 134px;
    transition: height 180ms ease, opacity 180ms ease, width 180ms ease;
    width: 174px;
}

.borg-site-header__logo img {
    height: 100%;
    width: 100%;
}

.borg-header-is-scrolled .borg-site-header {
    background: rgba(18, 33, 61, 0.96);
    box-shadow: 0 8px 24px rgba(18, 33, 61, 0.18);
    padding-bottom: 12px;
    padding-top: 12px;
}

.borg-header-is-scrolled .borg-site-header__logo {
    height: 60px;
    width: 78px;
}


@media (max-width: 640px) {
    .borg-site-header__logo,
    .borg-header-is-scrolled .borg-site-header__logo {
        height: 52px;
        width: 68px;
    }
}

/* Sitewide safe positioning for hero audience buttons. */
.borg-hero .borg-hero__audiences {
    box-sizing: border-box;
    left: auto;
    max-width: min(220px, calc(100% - 48px));
    right: clamp(24px, 4vw, 64px);
}

.borg-hero--audience-hero-right .borg-hero__audiences,
.borg-hero--audience-viewport-right .borg-hero__audiences {
    right: clamp(24px, 4vw, 64px);
}

.borg-hero--audience-site-right .borg-hero__audiences {
    right: max(24px, calc((100% - 1180px) / 2 + 24px));
}

.borg-hero .borg-hero__audience {
    box-sizing: border-box;
    color: #ffffff;
    max-width: 100%;
}

@media (max-width: 960px) {
    .borg-hero .borg-hero__audiences {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        left: 20px;
        max-width: none;
        right: 20px;
    }

    .borg-hero .borg-hero__audience,
    .borg-hero .borg-hero__audience:first-child,
    .borg-hero .borg-hero__audience:last-child {
        flex: 1 1 calc(33.333% - 6px);
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
        width: auto;
    }
}

@media (max-width: 430px) {
    .borg-hero .borg-hero__audience,
    .borg-hero .borg-hero__audience:first-child,
    .borg-hero .borg-hero__audience:last-child {
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Keep full-width hero sections inside the viewport box model. */
.borg-hero,
.borg-hero__container,
.borg-hero__text,
.borg-hero__actions,
.borg-hero__audiences,
.borg-hero__button,
.borg-hero__audience {
    box-sizing: border-box;
}

.borg-hero--width-full-viewport {
    box-sizing: border-box;
}

.borg-hero--content-site .borg-hero__container,
.borg-hero--content-hero .borg-hero__container {
    box-sizing: border-box;
}

/* Calendar view switcher */
.borg-calendar-views {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 28px;
}

.borg-calendar-views__button {
    appearance: none;
    background: #ffffff;
    border: 2px solid rgba(var(--borg-page-accent-rgb), 0.18);
    border-radius: 999px;
    color: var(--borg-page-accent-dark);
    cursor: pointer;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    padding: 12px 18px;
}

.borg-calendar-views__button.is-active {
    background: var(--borg-page-accent);
    border-color: var(--borg-page-accent);
    color: var(--borg-page-accent-contrast);
}

.borg-calendar-view[hidden] {
    display: none !important;
}

.borg-calendar-view__empty {
    color: #454648;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
}

/* Calendar grid views */
.borg-calendar-grid {
    display: grid;
    gap: 10px;
}

.borg-calendar-grid--week {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.borg-calendar-grid--month {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.borg-calendar-day {
    background: #f8fafc;
    border: 1px solid rgba(var(--borg-page-accent-rgb), 0.14);
    border-radius: 14px;
    box-sizing: border-box;
    min-height: 150px;
    padding: 10px;
}

.borg-calendar-day.is-muted {
    opacity: 0.45;
}

.borg-calendar-day.is-today {
    border-color: var(--borg-page-accent);
    box-shadow: inset 0 0 0 1px var(--borg-page-accent);
}

.borg-calendar-day__header {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.borg-calendar-day__header span {
    color: #454648;
    font-family: "Source Sans 3", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.borg-calendar-day__header strong {
    color: var(--borg-page-accent-dark);
    font-family: "IM FELL French Canon", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.borg-calendar-day__events,
.borg-calendar-year-month__events {
    display: grid;
    gap: 6px;
}

.borg-calendar-chip {
    background: #ffffff;
    border-left: 4px solid var(--borg-calendar-accent);
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(18, 33, 61, 0.08);
    box-sizing: border-box;
    padding: 7px 8px;
}

.borg-calendar-chip__date {
    color: var(--borg-calendar-accent);
    display: block;
    font-family: "Source Sans 3", sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.borg-calendar-chip h3 {
    color: #000000;
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0;
}

.borg-calendar-year-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.borg-calendar-year-month {
    background: #f8fafc;
    border: 1px solid rgba(var(--borg-page-accent-rgb), 0.14);
    border-radius: 16px;
    box-sizing: border-box;
    min-height: 180px;
    padding: 14px;
}

.borg-calendar-year-month h4 {
    color: var(--borg-page-accent-dark);
    font-family: "IM FELL French Canon", serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 12px;
}

@media (max-width: 960px) {
    .borg-calendar-grid--week,
    .borg-calendar-grid--month,
    .borg-calendar-year-grid {
        grid-template-columns: 1fr;
    }

    .borg-calendar-day,
    .borg-calendar-year-month {
        min-height: 0;
    }
}

/* Calendar density and period navigation */
.borg-calendar-period[hidden] {
    display: none !important;
}

.borg-calendar-period__bar {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    margin-bottom: 20px;
}

.borg-calendar-period__bar h3 {
    margin: 0;
    text-align: center;
}

.borg-calendar-period__bar button {
    appearance: none;
    background: var(--borg-calendar-accent);
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font-size: 28px;
    height: 44px;
    line-height: 1;
    width: 44px;
}

.borg-calendar-period__bar button:disabled {
    cursor: default;
    opacity: 0.28;
}

.borg-calendar-day {
    min-height: 122px;
    padding: 8px;
}

.borg-calendar-day__header {
    margin-bottom: 7px;
}

.borg-calendar-day__header span {
    font-size: 10px;
}

.borg-calendar-day__header strong {
    font-size: 22px;
}

.borg-calendar-chip {
    border-left-width: 3px;
    padding: 6px 7px;
}

.borg-calendar-chip__date {
    font-size: 9px;
    margin-bottom: 3px;
}

.borg-calendar-chip h3 {
    font-size: 11px;
    line-height: 1.1;
}

.borg-calendar-year-month {
    min-height: 142px;
    padding: 12px;
}

.borg-calendar-year-month h4 {
    font-size: 23px;
    margin-bottom: 9px;
}

.borg-calendar-event__body h4 {
    font-size: clamp(20px, 2.4vw, 27px);
}

.borg-calendar-event__body p {
    font-size: 14px;
}

.borg-calendar-event__categories li {
    font-size: 11px;
}

@media (max-width: 960px) {
    .borg-calendar-period__bar {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
    }

    .borg-calendar-period__bar button {
        height: 38px;
        width: 38px;
    }
}

/* Smaller sans-serif event text inside month and year calendar grids. */
.borg-calendar-grid--month .borg-calendar-chip h3,
.borg-calendar-year-grid .borg-calendar-chip h3 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.12;
}

.borg-calendar-grid--month .borg-calendar-chip__date,
.borg-calendar-year-grid .borg-calendar-chip__date {
    font-family: "Source Sans 3", sans-serif;
    font-size: 8px;
    letter-spacing: 0.06em;
}

/* Reduced calendar chrome: hero already labels the page. */
.borg-calendar-page {
    padding-top: clamp(20px, 3vw, 40px);
}

.borg-calendar-views {
    margin-bottom: 20px;
}

.borg-calendar-period__bar h3 {
    color: var(--borg-page-accent-dark);
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
}



/* Responsive sweep: mobile-safe layout overrides. */
.borg-page-image-grid {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    margin: 24px 0;
}

.borg-page-image-grid figure {
    margin: 0;
}

.borg-page-image-grid img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

@media (max-width: 960px) {
    .borg-menu-overlay__panel {
        align-items: flex-start;
        display: block;
        height: auto;
        justify-content: flex-start;
        min-height: 100%;
        overflow: auto;
        padding: 72px 20px 28px;
    }

    .borg-menu-overlay__content {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0 auto;
        min-height: 0;
        width: min(100%, 420px);
    }

    .borg-menu-overlay__search {
        grid-column: auto;
        margin: 0;
        padding-bottom: 0;
    }

    .borg-menu-overlay__nav,
    .borg-menu-overlay__contact {
        bottom: auto;
        left: auto;
        min-height: 0;
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
    }

    .borg-menu-overlay__list,
    .borg-menu-subpanel__list {
        width: 100%;
        
    }
    .borg-menu-subpanel__list {
        max-width: 100%;
        margin-left:20px;
    }


    .borg-menu-overlay__item,
    .borg-menu-subpanel a,
    .borg-menu-subpanel__back {
        font-size: 16px;
        line-height: 1.35;
        min-height: 30px;
        width: 100%;
    }

    .borg-menu-overlay__contact {
        font-size: 15px;
        line-height: 1.4;
    }

    .borg-hero__container,
    .borg-hero--content-site .borg-hero__container,
    .borg-hero--content-hero .borg-hero__container {
        box-sizing: border-box;
        gap: 24px;
        padding: 150px 20px 28px;
        width: 100%;
    }

    .borg-hero__title {
        font-size: clamp(34px, 10vw, 52px);
    }

    .borg-hero__copy {
        color: #ffffff;
        font-size: 17px;
        max-width: 520px;
        text-align: left;
    }

    .borg-hero__actions {
        align-items: stretch;
        max-width: min(100%, 360px);
        width: 100%;
    }

    .borg-hero__audiences {
        box-sizing: border-box;
        left: 20px;
        right: 20px;
        top: 96px;
        width: auto;
    }

    .borg-hero .borg-hero__audience,
    .borg-hero .borg-hero__audience:first-child,
    .borg-hero .borg-hero__audience:last-child {
        font-size: 14px;
        min-height: 42px;
        width: auto;
    }

    .borg-news-section__item,
    .borg-upcoming-events__item,
    .borg-taxonomy-grid__item,
    .borg-single-post__item {
        max-width: min(100%, 360px);
    }
}

@media (max-width: 640px) {
    .borg-page-content,
    .borg-entry__content {
        padding: 30px 18px;
    }

    .borg-page-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .borg-site-footer__menu ul {
        flex-direction: column;
        gap: 8px;
    }

    .borg-site-footer__legal {
        font-size: 15px;
    }

    .borg-calendar-page {
        padding-left: 0;
        padding-right: 0;
    }

    .borg-calendar-views {
        align-items: stretch;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .borg-calendar-views__button {
        justify-content: center;
        width: 100%;
    }

    .borg-calendar-period__bar h3 {
        font-size: clamp(20px, 7vw, 30px);
        line-height: 1.05;
    }

    .borg-calendar-event__dates,
    .borg-upcoming-events__dates {
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {
    .borg-hero__container,
    .borg-hero--content-site .borg-hero__container,
    .borg-hero--content-hero .borg-hero__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .borg-hero__audiences {
        left: 16px;
        right: 16px;
    }

    .borg-hero .borg-hero__audience,
    .borg-hero .borg-hero__audience:first-child,
    .borg-hero .borg-hero__audience:last-child {
        flex: 1 1 100%;
    }

    .borg-upcoming-events__item {
        height: auto;
        min-height: 112px;
    }

    .borg-upcoming-events__text {
        min-height: 112px;
    }

    .borg-upcoming-events__title,
    .borg-upcoming-events__text:has(.borg-upcoming-events__date:nth-child(2)) .borg-upcoming-events__title {
        left: 16px;
        right: 16px;
        top: 78px;
    }
}

/* Responsive sweep: keep hero audience links clear of the fixed header. */
@media (max-width: 960px) {
    .borg-hero__audiences {
        top: 220px;
    }

    .borg-hero__container,
    .borg-hero--content-site .borg-hero__container,
    .borg-hero--content-hero .borg-hero__container {
        padding-top: 280px;
    }
}

@media (max-width: 640px) {
    .borg-hero__audiences {
        top: 126px;
    }

    .borg-hero__container,
    .borg-hero--content-site .borg-hero__container,
    .borg-hero--content-hero .borg-hero__container {
        padding-top: 204px;
    }
}

@media (max-width: 430px) {
    .borg-hero__container,
    .borg-hero--content-site .borg-hero__container,
    .borg-hero--content-hero .borg-hero__container {
        padding-top: 294px;
    }
}

/* Keep fixed header shell from blocking page links underneath. */
.borg-site-header {
    pointer-events: none;
}

.borg-site-header__logo,
.borg-site-header__toggle {
    pointer-events: auto;
}

/* School Ethos Elementor layout */
.page-id-99 .borg-page-content {
    padding: 0;
}

.page-id-99 .borg-ethos-section {
    box-sizing: border-box;
    padding: clamp(40px, 6vw, 76px) 20px;
}

.page-id-99 .borg-ethos-section--intro,
.page-id-99 .borg-ethos-section--values {
    background: rgba(97, 97, 97, 0.1);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

.page-id-99 .borg-ethos-section > .elementor-container {
    gap: clamp(24px, 4vw, 56px);
}

.page-id-99 .borg-ethos-section .elementor-heading-title {
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -1.12px;
    line-height: 1.1;
}

.page-id-99 .borg-ethos-section .elementor-widget-text-editor {
    color: #000000;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(15px, 1.4vw, 17px);
    letter-spacing: -0.24px;
    line-height: 1.55;
}

.page-id-99 .borg-ethos-section p {
    margin: 0 0 1em;
}

.page-id-99 .borg-ethos-section p:last-child,
.page-id-99 .borg-ethos-section blockquote p:last-child {
    margin-bottom: 0;
}

.page-id-99 .borg-ethos-image-cluster {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-id-99 .borg-ethos-image-cluster figure {
    align-items: center;
    aspect-ratio: 1;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    padding: 16px;
}

.page-id-99 .borg-ethos-image-cluster img {
    display: block;
    height: 100%;
    max-width: none;
    object-fit: contain;
    width: 100%;
}

.page-id-99 .borg-ethos-history-card .elementor-widget-wrap,
.page-id-99 .borg-ethos-mission-copy .elementor-widget-wrap {
    background: rgba(255, 255, 255, 0.99);
    border-radius: 20px;
    box-sizing: border-box;
    padding: clamp(24px, 4vw, 40px);
}

.page-id-99 .borg-ethos-mission-copy blockquote {
    border: 0;
    color: var(--borg-page-accent);
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.68px;
    line-height: 1.18;
    margin: 0 0 28px;
    padding: 0;
}

.page-id-99 .borg-ethos-values ul,
.page-id-99 .borg-ethos-trust-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.page-id-99 .borg-ethos-values li,
.page-id-99 .borg-ethos-trust-grid article {
    background: #ffffff;
    border-radius: 16px;
    box-sizing: border-box;
    color: #000000;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
    min-height: 100%;
    padding: 20px;
}

.page-id-99 .borg-ethos-values li::before {
    background: var(--borg-page-accent);
    border-radius: 999px;
    content: "";
    display: block;
    height: 12px;
    margin-bottom: 18px;
    width: 12px;
}

.page-id-99 .borg-ethos-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-id-99 .borg-ethos-trust-grid article {
    background: var(--borg-page-accent-wash);
}

.page-id-99 .borg-ethos-trust-grid h3 {
    color: var(--borg-page-accent);
    font-family: "IM FELL French Canon", serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: -0.68px;
    line-height: 1.1;
    margin: 0 0 12px;
}

@media (max-width: 960px) {
    .page-id-99 .borg-ethos-section > .elementor-container {
        flex-direction: column;
    }

    .page-id-99 .borg-ethos-section .elementor-column {
        width: 100%;
    }

    .page-id-99 .borg-ethos-values ul,
    .page-id-99 .borg-ethos-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .page-id-99 .borg-ethos-values ul,
.page-id-99 .borg-ethos-trust-grid,
    .page-id-99 .borg-ethos-image-cluster {
        grid-template-columns: 1fr;
    }
}

/* Sitewide hero button sizing: labels should define width, not fixed boxes. */
.borg-hero .borg-hero__button,
.borg-hero .borg-hero__audience,
.borg-hero .borg-hero__audience:first-child,
.borg-hero .borg-hero__audience:last-child {
    box-sizing: border-box;
    color: #ffffff;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
    width: auto;
}

.borg-hero .borg-hero__button {
    min-width: 144px;
}

.borg-hero .borg-hero__button--primary,
.borg-hero .borg-hero__button--primary:visited,
.borg-hero .borg-hero__button--primary:hover,
.borg-hero .borg-hero__button--primary:focus,
.borg-hero .borg-hero__button--secondary,
.borg-hero .borg-hero__button--secondary:visited,
.borg-hero .borg-hero__button--secondary:hover,
.borg-hero .borg-hero__button--secondary:focus {
    color: #000000;
}

.borg-hero .borg-hero__audiences {
    align-items: flex-end;
    display: inline-grid;
    max-width: min(320px, calc(100% - 48px));
}

.borg-hero .borg-hero__audience {
    display: inline-flex;
    overflow-wrap: anywhere;
    width: 100%;
}

@media (max-width: 960px) {
    .borg-hero .borg-hero__audiences {
        align-items: stretch;
        max-width: none;
    }

    .borg-hero .borg-hero__audience,
    .borg-hero .borg-hero__audience:first-child,
    .borg-hero .borg-hero__audience:last-child {
        flex: 1 1 max(120px, calc(33.333% - 6px));
        width: auto;
    }
}

/* Governance Elementor layout */
.borg-governance-section {
    background: rgba(97, 97, 97, 0.1);
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(40px, 6vw, 82px) 20px;
    width: 100vw;
}

.borg-governance-section > .elementor-container {
    align-items: stretch;
    gap: clamp(24px, 4vw, 56px);
}

.borg-governance-title .elementor-widget-wrap,
.borg-governance-copy .elementor-widget-wrap {
    align-content: center;
    align-items: center;
}

.borg-governance-title .elementor-heading-title {
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -1.12px;
    line-height: 1.1;
}

.borg-governance-copy .elementor-widget-wrap {
    background: rgba(255, 255, 255, 0.99);
    border-radius: 20px;
    box-sizing: border-box;
    padding: clamp(24px, 4vw, 42px);
}

.borg-governance-copy .elementor-widget-text-editor {
    color: #000000;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(15px, 1.4vw, 17px);
    letter-spacing: -0.24px;
    line-height: 1.62;
}

.borg-governance-copy p {
    margin: 0;
}

@media (max-width: 960px) {
    .borg-governance-section > .elementor-container {
        flex-direction: column;
    }

    .borg-governance-section .elementor-column {
        width: 100%;
    }
}

/* Final hero media crop override: hero media is an <img>/<video>, not a CSS background. */
.borg-hero > .borg-hero__media {
    bottom: 0 !important;
    display: block !important;
    height: 100% !important;
    left: 0 !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
}

/* Public visitors must never inherit WordPress admin-bar offsets. */
html:has(body:not(.admin-bar)) {
    margin-top: 0 !important;
}

body:not(.admin-bar):not(:has(.borg-site-alert)):not(:has(.borg-site-alerts)) .borg-site-header {
    top: 0 !important;
}

body:not(.admin-bar) .borg-menu-overlay__close {
    top: 20px !important;
}

/* Mobile audience links live in the menu overlay, not over the hero image. */
.borg-menu-overlay__audiences {
    display: none;
}

@media (max-width: 960px) {
    .borg-menu-overlay__audiences {
        align-items: flex-start;
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        justify-content: stretch;
        width: 100%;
    }

    .borg-menu-overlay__audience {
        align-items: center;
        border: 1px solid #ffffff;
        border-radius: 10px;
        box-sizing: border-box;
        color: #ffffff;
        display: inline-flex;
        flex: 1 1 0;
        font-family: Inter, sans-serif;
        font-size: 16px;
        font-weight: 500;
        height: 30px;
        justify-content: center;
        line-height: 1;
        max-height: 30px;
        min-height: 0;
        padding: 0 10px;
        text-decoration: none;
        width: auto;
    }

    .borg-menu-overlay__audience--maroon {
        background: rgba(75, 13, 57, 0.8);
    }

    .borg-menu-overlay__audience--green {
        background: rgba(9, 149, 86, 0.5);
    }

    .borg-menu-overlay__audience--orange {
        background: rgba(201, 98, 9, 0.5);
    }

    .borg-hero .borg-hero__audiences {
        display: none !important;
    }

    .borg-hero__container,
    .borg-hero--content-site .borg-hero__container,
    .borg-hero--content-hero .borg-hero__container {
        padding-top: 150px !important;
    }
}

@media (max-width: 640px) {
    .borg-hero__container,
    .borg-hero--content-site .borg-hero__container,
    .borg-hero--content-hero .borg-hero__container {
        padding-top: 132px !important;
    }
}

/* Menu overlay refinement: audience links first, calmer mobile type. */
@media (max-width: 960px) {
    .borg-menu-overlay__audiences {
        order: -2;
    }

    .borg-menu-overlay__search {
        order: -1;
    }

    .borg-menu-overlay__list li,
    .borg-menu-subpanel__list li {
        margin-bottom: 10px;
    }

    .borg-menu-overlay__search {
        padding-bottom: 0;
    }

    .borg-menu-overlay__search-input {
        background: rgba(255, 255, 255, 0.05);
        font-size: 15px;
        min-height: 38px;
        padding: 8px 44px 8px 12px;
    }

    .borg-menu-overlay__search-submit {
        height: 30px;
        min-height: 30px;
        padding: 0;
        right: 4px;
        top: 4px;
        width: 30px;
    }
}

@media (min-width: 961px) {
    .borg-menu-overlay__audiences {
        display: none !important;
    }
}

@media (max-width: 430px) {
    .borg-menu-overlay__item,
    .borg-menu-subpanel a,
    .borg-menu-subpanel__back {
        font-size: 16px !important;
    }

    .borg-menu-overlay__search-input {
        font-size: 15px;
    }
}

/* Curriculum document cards */
.borg-curriculum-cards {
    background: var(--borg-page-accent-wash);
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 calc(50% - 50vw);
    padding: clamp(28px, 5vw, 64px) max(20px, calc((100vw - 1180px) / 2 + 24px));
}

.borg-curriculum-card {
    align-content: space-between;
    background: #ffffff;
    border-radius: 16px;
    box-sizing: border-box;
    display: grid;
    gap: 22px;
    min-height: 210px;
    padding: clamp(22px, 3vw, 34px);
}

.borg-curriculum-card h2 {
    color: var(--borg-page-accent);
    font-family: "IM FELL French Canon", serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
}

.borg-curriculum-card .borg-documents--button {
    display: block;
}

.borg-curriculum-card .borg-document-button {
    align-items: center;
    background: var(--borg-document-button-bg, #ffcc00);
    border-radius: 999px;
    color: var(--borg-document-button-color, #ffffff);
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    text-decoration: none;
}

.borg-curriculum-card .borg-document-button:visited,
.borg-curriculum-card .borg-document-button:hover,
.borg-curriculum-card .borg-document-button:focus {
    color: var(--borg-document-button-color, #ffffff);
}

@media (max-width: 960px) {
    .borg-curriculum-cards {
        grid-template-columns: 1fr;
    }

    .borg-curriculum-card {
        min-height: 0;
    }
}

/* bORG component typography: IM Fell for hero/H1, Open Sans elsewhere. */
.borg-page-content,
.borg-entry__content,
.borg-news-card,
.borg-card,
.borg-info-panels,
.borg-documents,
.borg-taxonomy-results,
.borg-calendar-page,
.borg-curriculum-cards {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

.borg-page-content h2:not(.elementor-widget *),
.borg-page-content h3:not(.elementor-widget *),
.borg-page-content h4:not(.elementor-widget *),
.borg-page-content h5:not(.elementor-widget *),
.borg-entry__content h2,
.borg-entry__content h3,
.borg-entry__content h4,
.borg-entry__content h5,
.borg-news-card__title,
.borg-news-card__title a,
.borg-card__title,
.borg-info-panels__header h2,
.borg-info-panel h3,
.borg-document-card__title,
.borg-document-simple__title,
.borg-calendar-page__header h2,
.borg-calendar-month h3,
.borg-calendar-event__body h4,
.borg-calendar-empty h3,
.borg-calendar-chip h3,
.borg-calendar-year-month h4,
.borg-calendar-period__bar h3,
.borg-curriculum-card h2 {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

.borg-page-header h1,
.borg-entry__header h1,
.borg-hero__title,
.borg-single-post-hero h1,
.borg-taxonomy-hero h1 {
    font-family: "IM FELL French Canon", serif;
    font-weight: 400;
}

.borg-page-content p:not(.elementor-widget *),
.borg-entry__content p:not(.elementor-widget *),
.borg-card__text p,
.borg-info-panels__intro,
.borg-info-panel__body,
.borg-news-card__date,
.borg-news-card__category,
.borg-calendar-event__body p,
.borg-calendar-empty p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}


/* bORG popup */
.borg-popup-layer {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 2147483000;
}

.borg-popup-layer.is-open {
    display: flex;
}

.borg-popup {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
}

.borg-popup__backdrop {
    background: rgba(0, 3, 51, 0.72);
    cursor: pointer;
    inset: 0;
    position: absolute;
}

.borg-popup__dialog {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    max-height: calc(100vh - 48px);
    max-width: min(920px, calc(100vw - 32px));
    overflow: hidden;
    position: relative;
    width: auto;
    z-index: 1;
}

.borg-popup__content,
.borg-popup__content p {
    margin: 0;
}

.borg-popup__content img {
    display: block;
    height: auto;
    max-height: calc(100vh - 48px);
    max-width: min(920px, calc(100vw - 32px));
    width: 100%;
}

.borg-popup__close {
    align-items: center;
    background: #102A69;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    z-index: 2;
}

.borg-popup__close span {
    background: #ffffff;
    border-radius: 999px;
    display: block;
    height: 2px;
    position: absolute;
    width: 17px;
}

.borg-popup__close span:first-child {
    transform: rotate(45deg);
}

.borg-popup__close span:last-child {
    transform: rotate(-45deg);
}

.borg-popup__link {
    align-items: center;
    background: #ffcc00;
    border-radius: 999px;
    color: #000000;
    display: inline-flex;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    margin: 0 24px 24px;
    min-height: 42px;
    padding: 10px 18px;
    text-decoration: none;
}

.borg-popup-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .borg-popup-layer,
    .borg-popup {
        padding: 14px;
    }

    .borg-popup__dialog,
    .borg-popup__content img {
        max-height: calc(100vh - 28px);
        max-width: calc(100vw - 28px);
    }
}

/* Standard content galleries default to a masonry layout. */
.borg-page-content .gallery,
.borg-single-post__content .gallery,
.elementor-widget-text-editor .gallery,
.elementor-widget-shortcode .gallery {
    column-count: 3 !important;
    column-gap: 10px !important;
    display: block !important;
    gap: 0 !important;
    grid-template-columns: none !important;
    height: auto !important;
    margin: 28px 0 !important;
    overflow: visible !important;
}

.borg-page-content .gallery .gallery-item,
.borg-single-post__content .gallery .gallery-item,
.elementor-widget-text-editor .gallery .gallery-item,
.elementor-widget-shortcode .gallery .gallery-item {
    break-inside: avoid !important;
    display: block !important;
    float: none !important;
    margin: 0 0 10px !important;
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

.borg-page-content .gallery .gallery-icon,
.borg-page-content .gallery .gallery-icon a,
.borg-single-post__content .gallery .gallery-icon,
.borg-single-post__content .gallery .gallery-icon a,
.elementor-widget-text-editor .gallery .gallery-icon,
.elementor-widget-text-editor .gallery .gallery-icon a,
.elementor-widget-shortcode .gallery .gallery-icon,
.elementor-widget-shortcode .gallery .gallery-icon a {
    display: block !important;
    width: 100% !important;
}

.borg-page-content .gallery img,
.borg-single-post__content .gallery img,
.elementor-widget-text-editor .gallery img,
.elementor-widget-shortcode .gallery img {
    aspect-ratio: auto !important;
    border: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12) !important;
    display: block !important;
    height: auto !important;
    max-width: none !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
    object-fit: initial !important;
    width: calc(100% - 10px) !important;
}

@media (max-width: 1024px) {
    .borg-page-content .gallery,
    .borg-single-post__content .gallery,
    .elementor-widget-text-editor .gallery,
    .elementor-widget-shortcode .gallery {
        column-count: 2 !important;
    }
}

@media (max-width: 640px) {
    .borg-page-content .gallery,
    .borg-single-post__content .gallery,
    .elementor-widget-text-editor .gallery,
    .elementor-widget-shortcode .gallery {
        column-count: 1 !important;
    }
}

/* Elementor Basic Gallery should respect its widget column setting while keeping masonry flow vertical. */
.borg-page-content .elementor-widget-image-gallery .gallery {
    column-gap: 10px !important;
    display: block !important;
    margin: 28px 0 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery .gallery-item {
    break-inside: avoid !important;
    display: block !important;
    float: none !important;
    margin: 0 0 10px !important;
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-1 {
    column-count: 1 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-2 {
    column-count: 2 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-3 {
    column-count: 3 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-4 {
    column-count: 4 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-5 {
    column-count: 5 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-6 {
    column-count: 6 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-7 {
    column-count: 7 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-8 {
    column-count: 8 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery-columns-9 {
    column-count: 9 !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery .gallery-icon,
.borg-page-content .elementor-widget-image-gallery .gallery .gallery-icon a {
    display: block !important;
    width: 100% !important;
}

.borg-page-content .elementor-widget-image-gallery .gallery img {
    height: auto !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

@media (max-width: 640px) {
    .borg-page-content .elementor-widget-image-gallery .gallery {
        column-count: 1 !important;
    }
}
/* Gallery lightbox */
.borg-gallery-lightbox {
    align-items: center;
    background: rgba(0, 3, 51, 0.86);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 28px;
    pointer-events: none;
    position: fixed;
    transition: opacity 160ms ease;
    z-index: 100000;
}

.borg-gallery-lightbox--open {
    opacity: 1;
    pointer-events: auto;
}

.borg-gallery-lightbox__figure {
    margin: 0;
    max-height: calc(100vh - 56px);
    max-width: min(1100px, calc(100vw - 56px));
}

.borg-gallery-lightbox__image {
    border-radius: 20px;
    display: block;
    max-height: calc(100vh - 96px);
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.borg-gallery-lightbox__caption {
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
}

.borg-gallery-lightbox__close {
    align-items: center;
    background: #ffcc00;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    height: 38px;
    justify-content: center;
    position: fixed;
    right: 18px;
    top: 18px;
    width: 38px;
}

.borg-gallery-lightbox__close span {
    background: #000000;
    border-radius: 999px;
    display: block;
    height: 2px;
    position: absolute;
    width: 18px;
}

.borg-gallery-lightbox__close span:first-child {
    transform: rotate(45deg);
}

.borg-gallery-lightbox__close span:last-child {
    transform: rotate(-45deg);
}

.borg-gallery-lightbox-open {
    overflow: hidden;
}
.borg-apps {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.borg-apps__item {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(16, 42, 105, 0.12);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 42, 105, 0.08);
    display: inline-flex;
    height: 76px;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    transition: transform 180ms ease, box-shadow 180ms ease;
    width: 76px;
}

.borg-apps__item:hover,
.borg-apps__item:focus-visible {
    box-shadow: 0 10px 24px rgba(16, 42, 105, 0.14);
    transform: translateY(-2px);
}

.borg-apps__logo {
    height: 100%;
    max-height: 48px;
    max-width: 48px;
    object-fit: contain;
    width: 100%;
}

.borg-apps__fallback {
    align-items: center;
    color: #102a69;
    display: inline-flex;
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
}

.borg-apps--circle .borg-apps__item {
    border-radius: 999px;
}

.borg-apps--square .borg-apps__item {
    border-radius: 0;
}

.borg-apps--rounded-square .borg-apps__item {
    border-radius: 18px;
}

.borg-app-modal[hidden] {
    display: none;
}

.borg-app-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 2147482500;
}

.borg-app-modal__backdrop {
    background: rgba(16, 42, 105, 0.64);
    inset: 0;
    position: absolute;
}

.borg-app-modal__dialog {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(16, 42, 105, 0.24);
    color: #222;
    max-height: min(720px, calc(100vh - 48px));
    max-width: 720px;
    overflow: auto;
    padding: 34px;
    position: relative;
    width: min(100%, 720px);
}

.borg-app-modal__close {
    align-items: center;
    background: #102a69;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 24px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 38px;
}

.borg-app-modal__title {
    color: #102a69;
    font-family: "IM Fell French Canon", serif;
    font-size: 32px;
    line-height: 1.15;
    margin: 0 52px 18px 0;
}

.borg-app-modal__content {
    color: #222;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.borg-app-modal__content > * + * {
    margin-top: 1em;
}

.borg-app-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .borg-app-modal {
        padding: 14px;
    }

    .borg-app-modal__dialog {
        border-radius: 16px;
        max-height: calc(100vh - 28px);
        padding: 26px 20px;
    }

    .borg-app-modal__title {
        font-size: 26px;
        margin-right: 44px;
    }
}

/* Keep WordPress admin UI above bORG fixed layers while editing/logged in. */
#wpadminbar {
    z-index: 2147483647 !important;
}


.borg-site-alerts {
    transition: transform 180ms ease, opacity 180ms ease;
}

.borg-alert-is-hidden .borg-site-alerts {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

.borg-alert-is-hidden:has(.borg-site-alerts) .borg-site-header {
    top: 0;
}

.admin-bar.borg-alert-is-hidden:has(.borg-site-alerts) .borg-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar.borg-alert-is-hidden:has(.borg-site-alerts) .borg-site-header {
        top: 46px;
    }
}


@media (max-width: 640px) {
    .borg-site-alert__inner {
        align-items: center;
        flex-direction: row;
        gap: 8px;
        justify-content: flex-start;
        min-height: 0;
        padding: 6px 12px;
        text-align: left;
    }

    .borg-site-alert__icon {
        font-size: 15px;
    }

    .borg-site-alert__content {
        flex: 1 1 auto;
        font-size: 13px;
        line-height: 1.25;
    }

    .borg-site-alert__link {
        flex: 0 0 auto;
        font-size: 11px;
        min-height: 24px;
        padding: 4px 9px;
    }

    body:has(.borg-site-alerts) .borg-site-header {
        top: calc(40px * var(--borg-alert-count, 1));
    }

    .admin-bar:has(.borg-site-alerts) .borg-site-header {
        top: calc(46px + (40px * var(--borg-alert-count, 1)));
    }
}


.borg-site-alerts .borg-site-alert {
    display: none;
}

.borg-site-alerts .borg-site-alert.is-active {
    display: block;
}

body:has(.borg-site-alerts) .borg-site-header {
    top: 64px;
}

.admin-bar:has(.borg-site-alerts) .borg-site-header {
    top: 96px;
}

@media (max-width: 782px) {
    .admin-bar:has(.borg-site-alerts) .borg-site-header {
        top: 110px;
    }
}

@media (max-width: 640px) {
    body:has(.borg-site-alerts) .borg-site-header {
        top: 40px;
    }

    .admin-bar:has(.borg-site-alerts) .borg-site-header {
        top: 86px;
    }
}


@media (max-width: 640px) {
    .borg-site-alert__link {
        min-height: 20px;
        padding-block: 2px;
    }
}

/* Keep menu takeover links independent from Elementor/global link colours. */
.borg-menu-overlay a,
.borg-menu-overlay button,
.borg-menu-overlay__item,
.borg-menu-subpanel a,
.borg-menu-subpanel__back,
.borg-menu-overlay__audience {
    color: #ffffff;
}

.borg-menu-overlay a:hover,
.borg-menu-overlay a:focus,
.borg-menu-overlay button:hover,
.borg-menu-overlay button:focus,
.borg-menu-overlay__item:hover,
.borg-menu-overlay__item:focus,
.borg-menu-overlay__audience:hover,
.borg-menu-overlay__audience:focus {
    color: #ffffff;
}

/* Fine-tune header positioning. */
@media (max-width: 640px) {
    .borg-site-header__logo,
    .borg-header-is-scrolled .borg-site-header__logo {
        left: -4px;
        top: -4px;
    }
}

@media (min-width: 641px) {
    .borg-header-is-scrolled .borg-site-header__toggle {
        transform: translateY(4px);
    }
}

@media (max-width: 640px) {
    .borg-site-header__toggle {
        transform: translateY(5px);
    }
}

/* Mobile inner-page heroes should not dominate the viewport. */
@media (max-width: 640px) {
    body:not(.home):not(.front-page) .borg-hero {
        max-height: 50vh;
        min-height: min(var(--borg-hero-min-height, 50vh), 50vh);
    }

    body:not(.home):not(.front-page) .borg-single-post-hero {
        max-height: 50vh;
        min-height: 50vh;
    }
}

/* Keep submenu content below the back control. */
.borg-menu-subpanel__back,
.borg-menu-subpanel__parent,
.borg-menu-subpanel__list {
    display: block;
}

.borg-menu-subpanel__list {
    margin-top: 18px;
}

.borg-document-simple__date,
.borg-document-button-card__date {
    color: #64748b;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.borg-document-button-card {
    flex-direction: column;
    gap: 6px;
}

.borg-document-simple__date {
    margin-left: auto;
}

/* Home hero desktop scroll cue. */
.borg-hero__scroll-cue {
    align-items: center;
    bottom: 28px;
    color: #ffffff;
    display: none;
    height: 44px;
    justify-content: center;
    left: 50%;
    opacity: 0.86;
    position: absolute;
    text-decoration: none;
    transform: translateX(-50%);
    width: 44px;
    z-index: 4;
}

.borg-hero__scroll-cue span {
    border-bottom: 3px solid currentColor;
    border-right: 3px solid currentColor;
    display: block;
    height: 18px;
    transform: rotate(45deg);
    width: 18px;
}

.borg-hero__scroll-cue:hover,
.borg-hero__scroll-cue:focus {
    color: #ffffff;
    opacity: 1;
}

.borg-hero__scroll-cue:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 6px;
}

@media (min-width: 961px) {
    .home .borg-hero__scroll-cue,
    .front-page .borg-hero__scroll-cue {
        animation: borgHeroScrollCue 1.8s ease-in-out infinite;
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home .borg-hero__scroll-cue,
    .front-page .borg-hero__scroll-cue {
        animation: none;
    }
}

@keyframes borgHeroScrollCue {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}

/* Desktop home hero refinement. */
@media (min-width: 961px) {
    .home .borg-hero,
    .front-page .borg-hero {
        min-height: 95vh;
    }

    .home .borg-hero__scroll-cue,
    .front-page .borg-hero__scroll-cue {
        bottom: 34px;
        color: #ffffff;
        height: 62px;
        opacity: 1;
        width: 62px;
    }

    .home .borg-hero__scroll-cue span,
    .front-page .borg-hero__scroll-cue span {
        border-bottom-width: 4px;
        border-right-width: 4px;
        height: 28px;
        width: 28px;
    }
}

/* Elementor editor guard: keep bORG full-width helpers from collapsing editor drop zones. */
.elementor-editor-active .e-con:has(.elementor-widget-borg_hero),
.elementor-editor-active .e-con:has(.elementor-widget-borg_filter_panel),
.elementor-editor-active .e-con-inner:has(.elementor-widget-borg_hero),
.elementor-editor-active .e-con-inner:has(.elementor-widget-borg_filter_panel),
.elementor-editor-preview .e-con:has(.elementor-widget-borg_hero),
.elementor-editor-preview .e-con:has(.elementor-widget-borg_filter_panel),
.elementor-editor-preview .e-con-inner:has(.elementor-widget-borg_hero),
.elementor-editor-preview .e-con-inner:has(.elementor-widget-borg_filter_panel) {
    --column-gap: revert;
    --gap: revert;
    --row-gap: revert;
    gap: revert;
}

.elementor-editor-active .elementor-section:has(.elementor-widget-borg_hero),
.elementor-editor-preview .elementor-section:has(.elementor-widget-borg_hero) {
    margin: revert !important;
    padding: revert !important;
}

.elementor-editor-active .elementor-section:has(.elementor-widget-borg_hero) > .elementor-container,
.elementor-editor-preview .elementor-section:has(.elementor-widget-borg_hero) > .elementor-container {
    max-width: revert;
}

.elementor-editor-active .elementor-section:has(.elementor-widget-borg_hero) > .elementor-container > .elementor-column > .elementor-widget-wrap,
.elementor-editor-preview .elementor-section:has(.elementor-widget-borg_hero) > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: revert !important;
}

.elementor-editor-active .borg-hero--width-full-viewport,
.elementor-editor-preview .borg-hero--width-full-viewport {
    left: auto;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

/* bORG document button widget colours should win over page/card-specific link rules. */
.borg-documents--button .borg-document-button,
.borg-documents--button .borg-document-button:visited,
.borg-documents--button .borg-document-button:hover,
.borg-documents--button .borg-document-button:focus {
    color: var(--borg-document-button-color, #ffffff) !important;
}

.borg-documents--button .borg-document-button__label {
    color: inherit;
}

.borg-documents--button .borg-document-button__icon {
    color: var(--borg-document-button-icon-color, #ffffff) !important;
}

.borg-taxonomy-hero-buttons-admin {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.borg-taxonomy-hero-buttons-admin__row {
    align-items: start;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(150px, 1fr) minmax(120px, 150px) minmax(220px, 2fr);
}

@media (max-width: 782px) {
    .borg-taxonomy-hero-buttons-admin__row {
        grid-template-columns: 1fr;
    }
}

.borg-news-section__footer {
    display: flex;
    justify-content: center;
    padding: 8px 0 0;
    width: 100%;
}

.borg-news-section__all-link {
    align-items: center;
    background: #ffcc00;
    border-radius: 12px;
    color: #000;
    display: inline-flex;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.3;
    min-height: 48px;
    padding: 12px 22px;
    text-decoration: none;
}

.borg-news-section__all-link:hover,
.borg-news-section__all-link:focus {
    color: #000;
    text-decoration: none;
}
