:root,
[data-bs-theme="light"] {
    --bs-primary: var(--color-brand-primary);
    --bs-primary-rgb: 9, 195, 242;
    --bs-secondary: var(--color-brand-secondary);
    --bs-secondary-rgb: 0, 32, 51;
    --bs-dark: var(--color-brand-secondary);
    --bs-dark-rgb: 0, 32, 51;
    --bs-light: var(--bg-light);
    --bs-light-rgb: 244, 244, 245;
    --bs-body-bg: var(--bg-subtle);
    --bs-body-color: var(--text-primary);
    --bs-body-font-family: var(--font-sans);
    --bs-body-font-size: .9375rem;
    --bs-body-line-height: 1.65;
    --bs-border-color: var(--border-default);
    --bs-secondary-color: var(--text-secondary);
    --bs-tertiary-color: var(--text-muted);
    --bs-link-color: var(--color-brand-text);
    --bs-link-color-rgb: 2, 125, 167;
    --bs-link-hover-color: var(--color-brand-secondary);
    --bs-link-hover-color-rgb: 0, 32, 51;
    --bs-primary-bg-subtle: var(--color-brand-primary-light);
    --bs-primary-text-emphasis: var(--color-brand-secondary);
    --bs-primary-border-subtle: var(--color-brand-primary);
    --bs-border-radius: .6rem;
    --bs-border-radius-lg: .85rem;
    --bs-border-radius-sm: .4rem;
    --bs-focus-ring-color: var(--color-brand-primary-light);
    --header-height: 64px;
    --content-width: 1280px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-sans);
    background: var(--bg-subtle);
    color: var(--text-primary);
}

img {
    max-width: 100%;
}

a {
    text-underline-offset: .2em;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-brand-secondary);
    line-height: 1.25;
    letter-spacing: -.025em;
}

h1 {
    font-size: 1.9rem;
    font-weight: 700;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.15rem;
}

:focus-visible {
    outline: 3px solid var(--color-brand-text);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    background: var(--bg-card);
    padding: .75rem 1rem;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border-default);
}

.header-inner {
    max-width: var(--content-width);
    min-height: var(--header-height);
    margin: auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-brand-secondary);
    text-decoration: none;
    font-weight: 750;
    font-size: 1.3rem;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.brand:hover {
    color: var(--color-brand-secondary);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: var(--color-brand-primary);
    color: var(--color-on-secondary);
    font-size: 1.4rem;
}

.brand-accent {
    color: var(--color-brand-text);
}

.brand small {
    display: block;
    color: var(--text-muted);
    font-size: .66rem;
    letter-spacing: .02em;
    font-weight: 500;
    margin-top: 1px;
}

.header-account {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
}

.account-link>span:not(.avatar) {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-shell {
    max-width: var(--content-width);
    margin: auto;
    padding: 0 32px;
}

.site-sidebar {
    --bs-offcanvas-width: 285px;
    top: 0;
    height: 100dvh;
    background: var(--bg-card);
}

.site-sidebar .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 15px 22px 25px;
    overflow-y: auto;
}

.desktop-nav {
    margin: 0 auto;
    align-items: center;
    gap: 2px;
}

.site-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 550;
}

.desktop-nav .site-nav-link {
    padding: 8px 8px;
    border-radius: .5rem;
    font-size: .76rem;
    white-space: nowrap;
}

.desktop-nav .site-nav-link .bi {
    display: none;
}

.site-nav-link:hover {
    color: var(--color-brand-secondary);
    background: var(--bg-light);
}

.site-nav-link.is-active {
    color: var(--color-brand-secondary);
    background: var(--color-brand-primary-light);
    font-weight: 700;
}

.desktop-nav+.header-account {
    margin-left: 0;
    gap: 7px;
}

.desktop-nav+.header-account .btn {
    font-size: .77rem;
    padding: .5rem .7rem;
}

.nav-label,
.small-label {
    font-size: .65rem;
    letter-spacing: .12em;
    font-weight: 700;
    color: var(--text-muted);
}

.nav-label {
    padding-left: 12px;
    margin-bottom: 14px;
}

.sidebar-nav {
    display: grid;
    gap: 5px;
}

.sidebar-nav .site-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: .6rem;
    font-size: .86rem;
    line-height: 1.45;
}

.sidebar-nav .site-nav-link .bi {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.nav-divider {
    height: 1px;
    background: var(--border-default);
    margin: 16px 12px;
}

.sidebar-note {
    border-top: 1px solid var(--border-default);
    padding: 24px 12px 0;
    margin-top: 30px;
}

.sidebar-note p {
    font-weight: 600;
    color: var(--color-brand-secondary);
    font-size: .95rem;
    line-height: 1.7;
    margin: 10px 0;
}

.sidebar-note a {
    font-size: .78rem;
    text-decoration: none;
}

.sidebar-foot {
    margin-top: auto;
    padding: 30px 12px 0;
    font-size: .74rem;
    color: var(--text-secondary);
}

.sidebar-foot span {
    color: var(--text-muted);
}

.site-main {
    min-width: 0;
    padding: 30px 0 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-height));
}

.site-main:focus {
    outline: none;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-muted);
    font-size: .7rem;
    border-top: 1px solid var(--border-default);
    margin-top: auto;
    padding: 25px 0;
}

.site-main> :last-child:not(.site-footer) {
    margin-bottom: 32px;
}

.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: .85rem;
    --bs-btn-padding-y: .55rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-border-radius: .5rem;
}

.btn-sm {
    --bs-btn-font-size: .75rem;
    --bs-btn-padding-y: .4rem;
    --bs-btn-padding-x: .7rem;
}

.btn-primary {
    --bs-btn-color: var(--color-on-brand);
    --bs-btn-bg: var(--color-brand-primary);
    --bs-btn-border-color: var(--color-brand-primary);
    --bs-btn-hover-color: var(--color-on-brand);
    --bs-btn-hover-bg: var(--color-brand-primary-hover);
    --bs-btn-hover-border-color: var(--color-brand-primary-hover);
    --bs-btn-active-color: var(--color-on-brand);
    --bs-btn-active-bg: var(--color-brand-primary-hover);
    --bs-btn-active-border-color: var(--color-brand-primary-hover);
    --bs-btn-disabled-color: var(--color-on-brand);
    --bs-btn-disabled-bg: var(--color-brand-primary);
    --bs-btn-disabled-border-color: var(--color-brand-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--color-brand-text);
    --bs-btn-border-color: var(--color-brand-primary);
    --bs-btn-hover-bg: var(--color-brand-primary-light);
    --bs-btn-hover-color: var(--color-brand-secondary);
    --bs-btn-hover-border-color: var(--color-brand-primary);
    --bs-btn-active-bg: var(--color-brand-primary-light);
    --bs-btn-active-color: var(--color-brand-secondary);
    --bs-btn-active-border-color: var(--color-brand-primary);
}

.btn-outline-secondary,
.btn-quiet {
    --bs-btn-color: var(--text-secondary);
    --bs-btn-border-color: var(--border-default);
    --bs-btn-hover-bg: var(--bg-light);
    --bs-btn-hover-color: var(--text-primary);
    --bs-btn-hover-border-color: var(--border-strong);
    --bs-btn-active-color: var(--text-primary);
    --bs-btn-active-bg: var(--bg-light);
}

.btn-quiet {
    --bs-btn-border-color: transparent;
}

.text-primary {
    color: var(--color-brand-text) !important;
}

.text-dark {
    color: var(--color-brand-secondary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-primary {
    color: var(--color-on-brand);
}

.bg-dark {
    color: var(--color-on-secondary);
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-white {
    background-color: var(--bg-card) !important;
}

.shadow,
.shadow-sm {
    box-shadow: none !important;
}

.card {
    --bs-card-bg: var(--bg-card);
    --bs-card-border-color: var(--border-default);
    --bs-card-cap-bg: var(--bg-card);
    overflow-wrap: anywhere;
}

.card-header {
    padding: 18px 22px;
    background: var(--bg-card);
    border-color: var(--border-default);
}

.card-title {
    font-size: 1rem;
}

.card-body {
    padding: 22px;
}

.card-footer {
    border-color: var(--border-default);
}

.form-control,
.form-select {
    background-color: var(--bg-input);
    border-color: var(--border-strong);
    min-height: 44px;
    font-size: .9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-brand-text);
    box-shadow: 0 0 0 .2rem var(--color-brand-primary-light);
}

.form-label {
    color: var(--text-secondary);
    font-size: .85rem;
}

.form-check-input:checked {
    background-color: var(--color-brand-text);
    border-color: var(--color-brand-text);
}

textarea {
    resize: vertical;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.table {
    --bs-table-bg: var(--bg-card);
    --bs-table-color: var(--text-secondary);
    --bs-table-border-color: var(--border-default);
    --bs-table-striped-bg: var(--bg-subtle);
    --bs-table-hover-bg: var(--color-brand-primary-light-hover);
    font-size: .82rem;
}

.table> :not(caption)>*>* {
    padding: 15px 18px;
}

.table thead th {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 600;
    background: var(--bg-subtle);
    white-space: nowrap;
}

.table td {
    overflow-wrap: anywhere;
}

.table-responsive {
    width: 100%;
}

.badge {
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}

.comment-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.pagination {
    --bs-pagination-color: var(--color-brand-text);
    --bs-pagination-active-bg: var(--color-brand-secondary);
    --bs-pagination-active-border-color: var(--color-brand-secondary);
    --bs-pagination-focus-box-shadow: 0 0 0 .2rem var(--color-brand-primary-light);
    flex-wrap: wrap;
    gap: 3px;
}

.alert {
    --bs-alert-border-radius: .65rem;
    font-size: .85rem;
}

.alert-info {
    --bs-alert-bg: var(--color-brand-primary-light);
    --bs-alert-color: var(--color-brand-secondary);
    --bs-alert-border-color: var(--color-brand-primary);
}

.alert-success {
    --bs-alert-bg: var(--color-success-bg);
    --bs-alert-color: var(--color-success);
    --bs-alert-border-color: var(--color-success-border);
}

.alert-danger {
    --bs-alert-bg: var(--color-error-bg);
    --bs-alert-color: var(--color-error);
    --bs-alert-border-color: var(--color-error-border);
}

.avatar {
    display: inline-grid;
    place-items: center;
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    overflow: hidden;
    vertical-align: middle;
    border-radius: 50%;
    color: var(--color-brand-text);
    background: var(--color-brand-primary-light);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.avatar-svg {
    width: 60%;
    height: 60%;
}

.avatar-xs {
    width: 28px;
    height: 28px;
}

.avatar-sm {
    width: 36px;
    height: 36px;
}

.avatar-md {
    width: 48px;
    height: 48px;
}

.avatar-lg {
    width: 72px;
    height: 72px;
}

.avatar-profile-box {
    width: 150px;
    height: 150px;
    border-radius: 24px;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 26px;
}

.page-heading h1,
.page-heading h2 {
    margin: 6px 0 8px;
    font-size: 1.9rem;
    font-weight: 700;
}

.page-heading p {
    color: var(--text-muted);
    margin: 0;
    font-size: .88rem;
}

.eyebrow {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    font-size: .7rem;
    letter-spacing: .1em;
    font-weight: 650;
    color: var(--color-brand-text);
    text-transform: uppercase;
}

.home-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--color-brand-secondary);
    color: var(--color-on-secondary);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 36px;
}

.hero-copy {
    padding: 44px;
    align-self: center;
}

.hero-copy .eyebrow {
    color: var(--color-brand-primary-hover);
    font-size: .65rem;
}

.hero-copy h1 {
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -.045em;
    color: var(--color-on-secondary);
    margin: 18px 0;
}

.hero-copy p {
    max-width: 52ch;
    line-height: 1.8;
    font-size: .9rem;
    margin: 0 0 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-secondary {
    --bs-btn-color: var(--color-on-secondary);
    --bs-btn-border-color: var(--color-brand-primary-hover);
    --bs-btn-hover-color: var(--color-brand-secondary);
    --bs-btn-hover-bg: var(--color-brand-primary-light);
    --bs-btn-hover-border-color: var(--color-brand-primary-light);
}

.hero-visual {
    position: relative;
    min-height: 340px;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.hero-visual span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 10px 14px;
    background: var(--bg-card);
    border-radius: .45rem;
    color: var(--color-brand-secondary);
    font-size: .75rem;
    font-weight: 600;
}

.feed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
    padding-bottom: 32px;
}

.feed-main {
    min-width: 0;
}

.feed-aside {
    display: grid;
    gap: 22px;
}

.welcome-note {
    border: 1px solid var(--color-brand-primary);
    border-radius: .65rem;
    padding: 18px 20px;
    background: var(--bg-card);
    margin-bottom: 22px;
}

.welcome-note p {
    margin: 0 0 12px;
    color: var(--text-secondary);
    font-size: .88rem;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 28px 0 14px;
}

.section-heading h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.section-heading a {
    font-size: .76rem;
    text-decoration: none;
}

.post-card {
    margin-bottom: 16px;
}

.post-card .card-body {
    padding: 22px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
}

.post-author a {
    color: var(--color-brand-secondary);
    text-decoration: none;
    font-weight: 650;
    font-size: .85rem;
}

.post-author small {
    display: block;
    color: var(--text-muted);
    font-size: .7rem;
}

.post-card h3 {
    font-size: 1.05rem;
    margin: 0 0 10px;
}

.post-card h3 a {
    color: inherit;
    text-decoration: none;
}

.post-card p {
    color: var(--text-secondary);
    font-size: .87rem;
    white-space: pre-line;
    margin: 0;
}

.post-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 12px 22px;
    font-size: .75rem;
}

.post-bottom a {
    text-decoration: none;
}

.photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

@media (min-width:768px) {
    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width:992px) {
    .photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.media-card {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    border: 1px solid var(--border-default);
    border-radius: .75rem;
    background: var(--bg-card);
}

.media-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
}

.media-card .media-copy {
    padding: 12px 14px;
}

.media-card h3 {
    font-size: .84rem;
    margin: 0 0 5px;
}

.media-card small {
    color: var(--text-muted);
    font-size: .7rem;
}

.campus-feature {
    overflow: hidden;
}

.campus-feature img {
    width: 100%;
    height: 172px;
    object-fit: cover;
}

.campus-feature .card-body {
    padding: 18px;
}

.campus-feature h2 {
    font-size: 1.03rem;
    margin-bottom: 9px;
}

.campus-feature p {
    font-size: .78rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.member-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    text-decoration: none;
    color: var(--text-primary);
}

.member-row strong {
    display: block;
    font-size: .8rem;
}

.member-row small {
    display: block;
    color: var(--text-muted);
    font-size: .69rem;
}

.aside-title {
    font-size: .9rem;
    margin-bottom: 8px;
}

.card-img-wrapper {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--bg-light);
    border-radius: .75rem .75rem 0 0;
}

.card-img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-brand-secondary);
    color: var(--color-brand-primary);
    font-size: 1.5rem;
}

.video-container {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16/9;
    min-height: 200px;
    background: var(--bg-dark);
    border-radius: .65rem;
    overflow: hidden;
}

.video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 14px 0 24px;
}

.video-actions p {
    color: var(--text-muted);
    font-size: .8rem;
    margin: 0;
}

.photo-tag-container {
    position: relative;
}

.photo-tag-hint {
    position: absolute;
    z-index: 2;
    max-width: calc(100% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: .5rem;
    box-shadow: var(--shadow-sm);
    text-align: start;
}

.photo-tag-hint a {
    display: block;
    padding: 8px 12px;
    color: var(--color-brand-text);
    font-weight: 600;
    overflow-wrap: anywhere;
}

#taggablePhoto {
    display: block;
    margin: auto;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 650px;
    border-radius: .6rem;
}

.tag-selecting #taggablePhoto {
    cursor: crosshair;
    outline: 3px solid var(--color-brand-primary);
}

.pre-line {
    white-space: pre-wrap;
}

.map-viewport {
    position: relative;
    width: 100%;
    height: clamp(320px, 62vh, 620px);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: .5rem;
    background: var(--bg-light);
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.map-viewport.is-dragging {
    cursor: grabbing;
}

.map-content {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    will-change: transform;
}

.map-image {
    display: block;
    max-width: none;
    pointer-events: none;
}

.map-zoom-pill {
    display: inline-block;
    padding: .3rem .6rem;
    border-radius: .4rem;
    background: var(--color-brand-primary-light);
    color: var(--color-brand-secondary);
    font-size: .8rem;
    font-weight: 700;
}

.map-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.auth-wrap {
    max-width: 750px;
    margin: 0 auto 32px;
    width: 100%;
}

.auth-wrap.auth-login {
    max-width: 460px;
}

.empty-state {
    padding: 35px 20px;
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border-strong);
    border-radius: .7rem;
}

.directory-table {
    min-width: 1340px;
}

@media (max-width:1199.98px) {
    :root {
        --header-height: 64px;
    }

    .site-shell {
        padding: 0 24px;
    }

    .header-inner {
        padding: 0 24px;
    }

    .desktop-nav+.header-account {
        margin-left: auto;
    }

    .menu-toggle {
        padding: 3px;
        border: 0;
        font-size: 1.5rem;
        color: var(--color-brand-secondary);
    }

    .site-main {
        padding-top: 25px;
    }

    .brand {
        font-size: 1.2rem;
    }

    .hero-copy {
        padding: 32px;
    }
}

@media (max-width:767.98px) {
    .home-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        min-height: 220px;
    }

    .feed-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .feed-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:575.98px) {
    .header-inner {
        padding: 0 14px;
        gap: 10px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 1.15rem;
        border-radius: 9px;
    }

    .brand {
        gap: 7px;
        font-size: 1rem;
    }

    .brand small {
        display: none;
    }

    .header-account {
        gap: 3px;
    }

    .header-account .btn {
        padding: .4rem .5rem;
    }

    .site-shell {
        padding: 0 16px;
    }

    .site-main {
        padding-top: 22px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .page-heading {
        margin-bottom: 20px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .page-heading p {
        font-size: .82rem;
    }

    .feed-aside {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-body,
    .post-card .card-body {
        padding: 18px;
    }

    .card-body.p-4 {
        padding: 18px !important;
    }

    .card-header {
        padding: 15px 18px;
        gap: 8px;
    }

    .photo-grid {
        gap: 10px;
    }

    .media-card .media-copy {
        padding: 10px;
    }

    .media-card h3 {
        font-size: .77rem;
    }

    .table> :not(caption)>*>* {
        padding: 12px;
    }

    .table {
        min-width: 540px;
    }

    .alert.d-flex {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-footer {
        padding: 20px 0;
        margin-top: 24px;
    }

    .map-toolbar .btn-group {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media (max-width:575.98px) {
    .hero-copy {
        padding: 26px 22px;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-copy p {
        font-size: .85rem;
    }

    .hero-visual {
        min-height: 200px;
    }

    .hero-visual span {
        left: 14px;
        right: 14px;
        bottom: 14px;
        font-size: .68rem;
    }

    .page-heading h2 {
        font-size: 1.5rem;
    }

    .conversation-table {
        display: block;
        min-width: 0;
    }

    .conversation-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .conversation-table tbody {
        display: block;
    }

    .conversation-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
        padding: 18px;
        border-bottom: 1px solid var(--border-default);
    }

    .conversation-table tbody tr:last-child {
        border-bottom: 0;
    }

    .conversation-table tbody td {
        display: block;
        padding: 0;
        border: 0;
        min-width: 0;
        box-shadow: none;
        background: transparent;
    }

    .conversation-table tbody td:nth-child(n+3) {
        grid-column: 1/-1;
        text-align: left !important;
    }

    .conversation-table tbody td:nth-child(n+3)::before {
        content: attr(data-label);
        display: block;
        color: var(--text-muted);
        font-size: .67rem;
        font-weight: 500;
        margin-bottom: 4px;
    }

    .conversation-table td .pre-line {
        max-height: none;
        overflow: visible;
    }
}
