html {
  font-size: 14px;
}
h2 {
    font-size: 16px;
    font-weight: bold;
    padding-top: 2px;
    padding-bottom: 2px;
}

@media (min-width: 768px) {
    html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.col-form-label, .on-top {
    align-self: flex-start;
}
/* ------------------------------------------------ */
/* --------- START: Menu styles ------------------- */
/* ------------------------------------------------ */
.navbar .nav-link.active {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.dropdown-menu .dropdown-item.active {
    font-weight: 600;
}

/* ------------------------------------------------ */
/* --------- END: Menu styles --------------------- */
/* ------------------------------------------------ */

/* ------------------------------------------------ */
/* --------- START: Gallery styles ---------------- */
/* ------------------------------------------------ */
.card-img-top {
    background: #f8f9fa;
}
.modal-img-fade {
    opacity: 1;
    transition: opacity 160ms ease-in-out;
    display: block;
}

.modal-img-fade.is-fading {
    opacity: 0;
}
/* Blur background when modal is open */
.modal-backdrop.show {
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    background-color: rgba(0, 0, 0, 0.65);
}
.modal-backdrop {
    transition: backdrop-filter 200ms ease, background-color 200ms ease;
}

/* Ensure modal stays sharp */
.modal {
    backdrop-filter: none;
}
#btnClose {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 20px;
    line-height: 36px;
}
/* Blur + dim the page when a modal is open */
body.modal-open #siteContent {
    filter: blur(16px) brightness(0.85);
    transition: filter 220ms ease;
}

/* Prevent layout shift */
body.modal-open {
    overflow: hidden;
}

/* Backdrop still dims (keep it subtle now) */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.35);
}
body.modal-open #siteContent {
    filter: blur(16px) brightness(0.85);
    transform: scale(0.985);
    transition: filter 220ms ease, transform 220ms ease;
}
#modalVideo {
    background: #000;
}
/* Clamp album descriptions to 3 lines with ellipsis */
.gallery-desc-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Description is stored as HTML and often contains <p> blocks.
Make them flow as inline text so line-clamp behaves predictably. */
.gallery-desc-clamp p {
    display: inline;
    margin: 0;
}

/* Add a space between paragraphs once they're inline */
.gallery-desc-clamp p + p::before {
    content: " ";
}
/* --------- END: Gallery styles ------------------ */
/* ------------------------------------------------ */
/* --------- START: HTML Editor styles ------------ */
/* ------------------------------------------------ */
.CodeMirror {
    height:500px !important;
}
/* All HtmlEditorTabs instances: CodeMirror should fill the host container */
.vde-html-editor-host .CodeMirror,
.vde-html-editor-host .CodeMirror-scroll {
    height: 100% !important;
}
/* Ensure CodeMirror can wrap lines when lineWrapping=true */
.CodeMirror-wrap .CodeMirror-line,
.CodeMirror-wrap .CodeMirror-line-like {
    white-space: pre-wrap !important;
    word-break: break-word; /* optional: wrap long words/URLs */
    overflow-wrap: anywhere; /* optional: wrap long unbroken strings */
}
.CodeMirror-wrap .CodeMirror-sizer {
    min-width: auto;
}
/* --------- END: HTML Editor styles -------------- */
/* ------------------------------------------------ */
.map-embed {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
}
/* --------- START: Services Page ----------------- */
/* ------------------------------------------------ */
.service-media-s img, .service-media-s video {
    max-height: 220px;
    object-fit: cover;
}

.service-media-m img, .service-media-m video {
    max-height: 320px;
    object-fit: cover;
}

.service-media-l img, .service-media-l video {
    max-height: 420px;
    object-fit: cover;
}

.service-media-xl img, .service-media-xl video {
    max-height: 520px;
    object-fit: cover;
}
.vde-sort-item {
    user-select: none;
}

.vde-drag-handle {
    width: 20px;
    display: inline-block;
    text-align: center;
}

/* --------- END: Services Page ------------------- */
/* ------------------------------------------------ */
/* --------- START: About facility Page ----------- */
/* ------------------------------------------------ */
/* About facility media helpers – minimal, bootstrap-friendly */
.vde-about-media {
    margin-bottom: .5rem;
}

/* size caps (only affects non-grid, grid uses bootstrap cols) */
.vde-media-s {
    max-width: 260px;
}

.vde-media-m {
    max-width: 420px;
}

.vde-media-l {
    max-width: 560px;
}

.vde-media-xl {
    max-width: 720px;
}

.vde-place-full {
    max-width: none;
}

/* inline placements */
.vde-place-inline-left {
    float: left;
    margin: 0 1rem .5rem 0;
}

.vde-place-inline-right {
    float: right;
    margin: 0 0 .5rem 1rem;
}
/* make media in left/right zones fit nicely */
.card .vde-about-media img,
.card .vde-about-media video {
    width: 100%;
    height: auto;
    display: block;
}
/* Facility media grid: auto-fit columns, no empty space */
.vde-facility-grid {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* Slightly larger tiles on wider screens */
@media (min-width: 768px) {
    .vde-facility-grid {
        gap: .75rem;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (min-width: 992px) {
    .vde-facility-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Ensure images fill tile width cleanly */
.vde-facility-grid .vde-about-media {
    max-width: none; /* override size caps inside grid */
    margin-bottom: 0;
}
.team-img {
    object-fit: cover;
}

.team-img-s {
    width: 110px;
    height: 110px;
}

.team-img-m {
    width: 150px;
    height: 150px;
}

.team-img-l {
    width: 210px;
    height: 210px;
}

.team-img-xl {
    width: 280px;
    height: 280px;
}

/* TEAM inline images: must NOT be width:100% or they can't wrap */
.card img.team-img {
    display: block;
    object-fit: cover;
}

/* sizes (square) */
.team-img-s {
    width: 110px;
    height: 110px;
}

.team-img-m {
    width: 150px;
    height: 150px;
}

.team-img-l {
    width: 210px;
    height: 210px;
}

.team-img-xl {
    width: 280px;
    height: 280px;
}
.team-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.team-img-full {
    aspect-ratio: 21 / 9;
    object-fit: cover;
}
.team-wrap {
    display: block;
}
.team-text--left {
    margin-left: 170px;
}
/* default for team-img-m (150) + 20 gap */
.team-text--right {
    margin-right: 170px;
}

/* match your size classes so it’s perfect */
.team-img-s ~ .team-text--left {
    margin-left: 130px;
}
/* 110 + ~20 */
.team-img-m ~ .team-text--left {
    margin-left: 170px;
}
/* 150 + ~20 */
.team-img-l ~ .team-text--left {
    margin-left: 230px;
}
/* 210 + ~20 */
.team-img-xl ~ .team-text--left {
    margin-left: 300px;
}
/* 280 + ~20 */

.team-img-s ~ .team-text--right {
    margin-right: 130px;
}

.team-img-m ~ .team-text--right {
    margin-right: 170px;
}

.team-img-l ~ .team-text--right {
    margin-right: 230px;
}

.team-img-xl ~ .team-text--right {
    margin-right: 300px;
}

/* ensures classic flow */
/* --------- END: About facility Page ------------- */
/* ------------------------------------------------ */
/* --------- START: Testimonial Page -------------- */
/* ------------------------------------------------ */
.testimonial-content::after {
    content: "";
    display: block;
    clear: both;
}
/* Block media (Top/Bottom/FullWidth): keep aspect ratio and limit width */
.testimonial-media-block {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Apply size by limiting width, NOT height */
.testimonial-media-block--s {
    max-width: 320px;
}

.testimonial-media-block--m {
    max-width: 520px;
}

.testimonial-media-block--l {
    max-width: 760px;
}

.testimonial-media-block--xl {
    max-width: 100%;
}

/* Center block media */
.testimonial-media-block-wrap {
    display: flex;
    justify-content: center;
}

/* Optional: a little vertical spacing consistency */
.testimonial-media-block-wrap {
    margin-top: .25rem;
}
.testimonial-inline-media {
    width: 360px; /* default (M-ish) */
    max-width: 100%;
}

.testimonial-inline--s {
    width: 240px;
}

.testimonial-inline--m {
    width: 360px;
}

.testimonial-inline--l {
    width: 520px;
}

.testimonial-inline--xl {
    width: 680px;
}

/* On small screens, don't float-wrap — stack nicely */
@media (max-width: 576px) {
    .testimonial-inline-media {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .svc-img-s, .svc-img-m, .svc-img-l, .svc-img-xl {
        float: none !important;
        width: 100% !important;
        height: 180px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/* --------- END: Testimonial Page ---------------- */
/* ------------------------------------------------ */
/* --------- START: Stud Page --------------------- */
/* ------------------------------------------------ */
.stud-dl dt {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: rgba(0,0,0,.55);
    margin-top: .25rem;
}

.stud-dl dd {
    margin-bottom: .25rem;
}

/* Stud: top gallery image */
.stud-top-img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Stud: inline media wrapper + image */
.stud-inline-wrap {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.stud-inline-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Make S/M/L/XL actually feel different (width + ratio) */
.stud-media-s {
    max-width: 200px;
}

.stud-media-m {
    max-width: 300px;
}

.stud-media-l {
    max-width: 500px;
}

.stud-media-xl {
    max-width: 100%;
}

.stud-media-s .stud-inline-img {
    aspect-ratio: 1 / 1;
}

.stud-media-m .stud-inline-img {
    aspect-ratio: 4 / 3;
}

.stud-media-l .stud-inline-img {
    aspect-ratio: 16 / 10;
}

.stud-media-xl .stud-inline-img {
    aspect-ratio: 16 / 9;
}
.padding-bottom {
    padding-bottom: 3px;
}
/* --------- END: Stud Page ----------------------- */
/* ------------------------------------------------ */
/* --------- START: Home Page --------------------- */
/* ------------------------------------------------ */
/* Home Services inline image sizing */
.svc-img {
    object-fit: cover;
    height: 140px; /* consistent height so it looks tidy */
    width: 100%;
    max-width: 100%;
}

/* size affects width (this is what makes it noticeable) */
.svc-img-s {
    width: 140px;
}

.svc-img-m {
    width: 200px;
}

.svc-img-l {
    width: 280px;
}

.svc-img-xl {
    width: 100%;
    height: 180px;
}
.svc-img-full {
    aspect-ratio: 21 / 9;
    object-fit: cover;
    max-height: 320px; /* optional cap */
}
/* XL becomes a big inline block */
/* --------- END: Home Page --------------------- */
/* ------------------------------------------------ */