html {
    min-width: 320px;
    overflow-x: clip;
    scroll-padding-top: 1rem;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: clip;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

:root {
    --site-primary: #2161b5;
    --site-primary-dark: #174b91;
    --site-accent: #348451;
    --site-text: #263648;
    --site-muted: #617184;
    --site-border: #dce4ec;
    --site-surface: #fff;
    --site-shadow: 0 4px 16px rgba(27, 48, 71, .09);
    --site-radius: 10px;
}

::selection {
    color: #fff;
    background: var(--site-primary);
}

img,
video,
iframe {
    max-width: 100%;
}

.fb-page,
.fb-page > span,
.fb-page iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
}

img {
    height: auto;
}

.top-bar {
    position: relative;
    z-index: auto;
}

.top-header {
    padding-top: 0;
}

.header-last {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(20, 40, 60, .18);
}

.header-last .navbar {
    min-height: 48px;
}

.header-last .navbar-toggler {
    margin: .4rem;
    border-color: rgba(255, 255, 255, .6);
}

.header-last .navbar-toggler:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.body-content,
.body-content > *,
.body-content .container,
.body-content .container-fluid {
    min-width: 0;
    max-width: 100%;
}

.body-content {
    font-size: 1rem;
    line-height: 1.65;
}

.light-theme .body-content {
    color: var(--site-text);
}

.body-content h1,
.body-content h2,
.body-content h3,
.body-content h4,
.body-content h5,
.body-content h6 {
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.light-theme .body-content h1,
.light-theme .body-content h2,
.light-theme .body-content h3,
.light-theme .body-content h4,
.light-theme .body-content h5,
.light-theme .body-content h6 {
    color: var(--site-text);
}

.body-content p {
    line-height: 1.7;
}

.body-content a:not(.btn):not(.nav-link):not(.dropdown-item) {
    text-underline-offset: .15em;
}

.light-theme .body-content a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    color: var(--site-primary-dark);
}

.body-content .btn,
.body-content button.btn {
    min-height: 42px;
    padding: .5rem .9rem;
    border-radius: 7px;
    font-weight: 600;
    line-height: 1.35;
}

.body-content .btn-sm {
    min-height: 36px;
    padding: .4rem .7rem;
}

.body-content .btn-primary {
    background-color: var(--site-primary);
    border-color: var(--site-primary);
}

.body-content .btn-primary:hover,
.body-content .btn-primary:focus-visible {
    background-color: var(--site-primary-dark);
    border-color: var(--site-primary-dark);
    box-shadow: 0 3px 10px rgba(33, 97, 181, .2);
}

.body-content .form-control,
.body-content .custom-select,
.body-content select,
.body-content textarea {
    min-width: 0;
    min-height: 42px;
    border-color: #cbd6e1;
    border-radius: 6px;
}

.body-content textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.body-content .form-group {
    min-width: 0;
    margin-bottom: 1.15rem;
}

.body-content label,
.body-content .control-label {
    margin-bottom: .4rem;
    font-weight: 600;
    line-height: 1.45;
}

.body-content .input-group {
    min-width: 0;
    flex-wrap: nowrap;
}

.body-content .input-group > .form-control,
.body-content .input-group > .custom-select,
.body-content .input-group-append,
.body-content .input-group-prepend {
    min-width: 0;
}

.body-content .select2-container {
    max-width: 100%;
}

.body-content .select2-container--default .select2-selection {
    min-height: 42px;
    border-color: #cbd6e1;
    border-radius: 6px;
}

.body-content .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}

.body-content .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

.body-content .form-control:focus,
.body-content .custom-select:focus,
.body-content select:focus,
.body-content textarea:focus,
.body-content .select2-container--default.select2-container--focus .select2-selection {
    border-color: var(--site-primary);
    box-shadow: 0 0 0 .2rem rgba(33, 97, 181, .16);
}

.body-content input[type="checkbox"],
.body-content input[type="radio"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--site-primary);
}

.body-content form .btn,
.body-content form button,
.body-content form input[type="submit"],
.body-content #printBtn {
    max-width: 100%;
    min-height: 42px;
    padding: .55rem 1rem;
    border-radius: 7px;
    font-weight: 600;
    line-height: 1.35;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.body-content form .btn-group {
    display: inline-flex;
    max-width: 100%;
    flex-wrap: wrap;
    gap: .5rem;
}

.body-content form .btn-group > .btn {
    border-radius: 7px;
}

.body-content form .btn:focus-visible,
.body-content form button:focus-visible,
.body-content form input[type="submit"]:focus-visible,
.body-content input[type="checkbox"]:focus-visible,
.body-content input[type="radio"]:focus-visible {
    outline: 2px solid var(--site-primary);
    outline-offset: 2px;
}

.body-content .card,
.body-content .panel,
.body-content .list-group {
    border-color: var(--site-border);
    border-radius: var(--site-radius);
}

.body-content .card,
.body-content .panel {
    box-shadow: 0 2px 10px rgba(27, 48, 71, .06);
}

.body-content .card-header,
.body-content .panel-heading {
    padding: .85rem 1rem;
    font-weight: 600;
}

.body-content .card-body,
.body-content .panel-body {
    padding: 1rem;
}

.body-content .list-group-item {
    padding: .75rem 1rem;
    line-height: 1.5;
}

.light-theme .body-content .list-group-item-action:hover,
.light-theme .body-content .list-group-item-action:focus {
    color: var(--site-primary-dark);
    background-color: #f2f7fc;
}

.body-content article {
    min-width: 0;
}

.management-committee-list {
    align-items: stretch;
    margin: 0 -.5rem;
    padding: .5rem;
    border: 1px solid rgba(165, 36, 23, .3);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 4px 16px rgba(20, 40, 60, .07);
}

.committee-person {
    display: flex;
    min-width: 0;
    margin-bottom: 1rem;
    padding: .5rem;
}

.management-committee-list > .committee-member {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (min-width: 1200px) {
    .management-committee-list > .committee-member {
        flex-basis: 33.333333%;
        max-width: 33.333333%;
    }
}

.committee-card {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    border: 1px solid #e3e8ed;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 40, 60, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.committee-card:hover,
.committee-card:focus-within {
    border-color: #9abbd1;
    box-shadow: 0 8px 20px rgba(20, 40, 60, .14);
}

.committee-photo {
    width: 140px;
    height: 150px;
    max-width: 100%;
    margin-bottom: .9rem;
    border-radius: 8px;
    object-fit: cover;
}

.committee-name {
    margin: 0 0 .45rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.committee-designation,
.committee-mobile {
    display: block;
    max-width: 100%;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.committee-mobile {
    margin-top: .2rem;
    color: #64748b;
}

.committee-chair {
    flex: 0 0 100%;
    max-width: 100%;
}

.committee-chair .committee-card {
    max-width: 520px;
    margin: 0 auto;
    border-color: rgba(165, 36, 23, .35);
}

.committee-chair hr {
    margin: 1.25rem 0 .5rem;
}

.staff-directory-title {
    margin: 1rem 0;
    text-align: center;
    font-weight: 700;
}

.staff-directory {
    align-items: stretch;
    margin-right: -.5rem;
    margin-left: -.5rem;
}

.staff-person {
    display: flex;
    min-width: 0;
    margin-bottom: 1rem;
    padding-right: .5rem;
    padding-left: .5rem;
}

.staff-card {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 1.1rem .85rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: 0 2px 8px rgba(20, 40, 60, .06);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.staff-card:hover,
.staff-card:focus-within {
    border-color: #9abbd1;
    box-shadow: 0 8px 20px rgba(20, 40, 60, .14);
}

.staff-card-lead {
    max-width: 720px;
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
    margin: 0 auto 1rem;
    padding: 1.25rem;
    border-color: rgba(165, 36, 23, .35);
    text-align: left;
}

.staff-directory-photo,
.staff-photo-placeholder {
    display: block;
    width: 112px;
    height: 128px;
    flex: 0 0 auto;
    margin-bottom: .85rem;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    background: #f0f4f8;
    object-fit: cover;
}

.staff-card-lead .staff-directory-photo,
.staff-card-lead .staff-photo-placeholder {
    width: 132px;
    height: 148px;
    margin: 0;
}

.staff-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--site-muted);
    font-size: 2rem;
}

.staff-card-details {
    width: 100%;
    min-width: 0;
}

.staff-name {
    margin: 0 0 .45rem;
    color: var(--site-primary-dark);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.staff-designation {
    margin: 0 0 .55rem;
    color: var(--site-muted);
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.staff-contacts {
    display: grid;
    gap: .3rem;
    color: var(--site-muted);
    font-size: .9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.staff-contacts i {
    width: 1.1rem;
    margin-right: .2rem;
    color: var(--site-primary);
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tap-box .news-list-grid .tap-box-list {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.news-list-card {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 148px;
    padding: 1rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: 0 2px 8px rgba(20, 40, 60, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.news-list-card:hover,
.news-list-card:focus-within {
    border-color: #9abbd1;
    box-shadow: 0 8px 20px rgba(20, 40, 60, .14);
}

.tap-box .news-list-grid .news-list-card-link {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .75rem;
    padding: 0 2rem 0 0;
    text-decoration: none;
}

.news-list-card-title {
    color: var(--site-primary-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.news-list-card-meta,
.news-list-card-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .4rem;
    color: var(--site-muted);
    font-size: .82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.news-list-card-tags {
    width: 100%;
    padding-top: .35rem;
    border-top: 1px solid var(--site-border);
}

.news-list-card-tags > span {
    padding: .1rem .35rem;
    border-radius: 4px;
    background: #f2f7fc;
}

.tap-box .news-list-grid .news-list-card .news-download-link {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--site-border);
    border-radius: 50%;
    color: var(--site-primary);
    font-size: .9rem;
}

.tap-box .news-list-grid .news-list-card .news-download-link:hover,
.tap-box .news-list-grid .news-list-card .news-download-link:focus-visible {
    border-color: var(--site-primary);
    background: var(--site-primary);
    color: #fff;
}

.news-list-empty {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 1rem !important;
}

.dark-theme .staff-card,
.dark-theme .news-list-card {
    border-color: #526170;
    background: #101820;
    color: #fff;
}

.dark-theme .staff-name,
.dark-theme .news-list-card-title {
    color: #d7eaff;
}

.dark-theme .staff-designation,
.dark-theme .staff-contacts,
.dark-theme .news-list-card-meta,
.dark-theme .news-list-card-tags {
    color: #d0d9e2;
}

.dark-theme .news-list-card-tags > span {
    background: #263648;
}

.dark-theme .tap-box .news-list-grid .news-list-card .news-download-link {
    border-color: #637487;
    color: #b8d7ff;
}

.dark-theme .tap-box .news-list-grid .news-list-card .news-download-link:hover,
.dark-theme .tap-box .news-list-grid .news-list-card .news-download-link:focus-visible {
    background: var(--site-primary-dark);
    color: #fff;
}

.dark-theme .staff-photo-placeholder {
    border-color: #526170;
    background: #263648;
    color: #d0d9e2;
}

.album-page {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

.album-img {
    min-width: 0;
    width: auto;
    margin: 0;
}

.album-card {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: 0 3px 12px rgba(27, 48, 71, .08);
    color: var(--site-text);
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.light-theme .album-card:hover,
.light-theme .album-card:focus-visible {
    border-color: var(--site-primary);
    color: var(--site-primary-dark);
    box-shadow: 0 8px 22px rgba(27, 48, 71, .16);
}

.album-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #edf2f7;
}

.album-card .small-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.album-card-title {
    display: block;
    min-width: 0;
    padding: .85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}

.gallery-page-title {
    margin: 1rem 0;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
}

.gallery-album-name {
    margin: -.5rem 0 1.25rem;
    color: var(--site-muted);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    overflow-wrap: anywhere;
}

.gallery-page {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    background: #edf2f7;
    object-fit: cover;
    cursor: zoom-in;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.gallery-img:focus-visible {
    outline: 3px solid var(--site-primary);
    outline-offset: 3px;
}

.modal#modal-show-image .modal-dialog {
    width: min(94vw, 1100px);
    max-width: 94vw;
    margin: 1.75rem auto;
}

.modal#modal-show-image .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 10px;
}

.modal#modal-show-image .modal-header {
    min-height: 48px;
    padding: .5rem .85rem;
}

.modal#modal-show-image .modal-body {
    padding: .5rem;
    background: #111820;
}

.modal#modal-show-image #modal_image {
    display: block;
    width: 100%;
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    object-fit: contain;
}

.light-theme .gallery-img:hover {
    border-color: var(--site-primary);
    box-shadow: 0 6px 16px rgba(27, 48, 71, .16);
}

.dark-theme .album-card {
    border-color: #526170;
    background: #101820;
    color: #fff;
}

.dark-theme .album-card-image,
.dark-theme .gallery-img {
    border-color: #526170;
    background: #263648;
}

.dark-theme .gallery-img:hover,
.dark-theme .album-card:hover,
.dark-theme .album-card:focus-visible {
    border-color: #91bfff;
}

.dark-theme .gallery-page-title {
    color: #fff;
}

.dark-theme .gallery-album-name {
    color: #d0d9e2;
}

.body-content article > h1,
.body-content article > h2,
.body-content article > h3,
.body-content article > h4 {
    margin: 1.25rem 0 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.body-content .breadcrumb {
    margin: .75rem 0 1.25rem;
    padding: .7rem 1rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.page-body {
    display: block;
    min-width: 0;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.page-body p {
    margin: 0 0 1rem;
}

.page-body ul,
.page-body ol {
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

.page-body li {
    margin-bottom: .4rem;
}

.page-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.25rem auto;
    border-radius: 8px;
}

.page-body table {
    margin: 1rem 0;
}

.body-content .section_slider,
.body-content .section_news,
.body-content .section_services,
.body-content .section_photos,
.body-content .section_video,
.body-content .section_quickboxes {
    padding-top: clamp(1rem, 2.5vw, 2rem);
    padding-bottom: clamp(1rem, 2.5vw, 2rem);
}

.body-content .btn,
.body-content .nav-link,
.body-content .dropdown-item,
.body-content .list-group-item a {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.body-content a:focus-visible,
.body-content button:focus-visible,
.body-content [role="button"]:focus-visible {
    outline: 2px solid #006aa8;
    outline-offset: 2px;
}

.body-content .table-responsive,
.body-content .table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.about-visuals {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 14px;
    margin: 1.25rem 0 1.75rem;
}

.about-visual-card {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #e9eef2;
    box-shadow: 0 4px 14px rgba(20, 40, 60, .12);
}

.about-visual-card:first-child {
    grid-row: span 2;
}

.about-visual-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 170px;
    max-height: 350px;
    object-fit: cover;
    transition: transform .3s ease;
}

.about-visual-card:not(:first-child) img {
    min-height: 150px;
    max-height: 168px;
}

.about-visual-card:hover img {
    transform: scale(1.03);
}

.about-visual-card figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: .65rem .85rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .72));
    font-size: .9rem;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
}

.quick-links > .nav-item {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    max-width: 100%;
}

.quick-links > .nav-item .nav-link {
    height: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.body-content table {
    max-width: 100%;
}

.body-content .table tbody tr {
    transition: background-color .18s ease;
}

.body-content .table tbody tr:hover {
    background-color: rgba(0, 106, 168, .045);
}

.body-content .table th,
.body-content .table td {
    padding: .75rem;
    line-height: 1.5;
}

.body-content .pagination .page-link {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.body-content .card,
.body-content .media,
.body-content .embed-responsive {
    min-width: 0;
}

.body-content input,
.body-content select,
.body-content textarea,
.body-content button {
    max-width: 100%;
}

.body-content button,
.body-content input[type="submit"],
.body-content .btn {
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .body-content .btn:not(:disabled):hover,
    .body-content button:not(:disabled):hover,
    .body-content input[type="submit"]:not(:disabled):hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(27, 48, 71, .16);
    }

    .committee-card:hover,
    .staff-card:hover,
    .news-list-card:hover {
        transform: translateY(-2px);
    }

    .album-card:hover .small-img {
        transform: scale(1.035);
    }
}

.body-content .section-title,
.body-content .view-header h3 {
    margin-bottom: 1rem;
}

.site-footer {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.site-footer .footer-grid > [class*="col-"] {
    min-width: 0;
    padding: 1rem;
}

.site-footer a {
    display: inline-block;
    overflow-wrap: anywhere;
    text-underline-offset: .15em;
}

.light-theme .site-footer a:hover,
.light-theme .site-footer a:focus-visible {
    color: var(--site-primary);
}

.dark-theme .site-footer a:hover,
.dark-theme .site-footer a:focus-visible {
    color: #fff;
}

.copyright {
    min-height: 54px;
    padding: .65rem 1rem;
    line-height: 1.5;
}

.copyright .flex-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem 1rem;
}

.copyright .mrg-right-auto,
.copyright .mrg-lef-auto {
    float: none;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (min-width: 1200px) {
    .header-last .navbar-nav {
        flex-wrap: wrap;
    }

    .header-last .navbar-nav > .nav-item {
        min-width: 0;
        max-width: 100%;
    }

    .header-last ul.navbar-nav a.nav-link {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 1199.98px) {
    .album-page,
    .gallery-page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .header-last .navbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: .25rem .5rem;
    }

    .header-last .mobile-navbar-brand {
        display: flex;
        flex: 1 1 0;
        align-items: center;
        min-width: 0;
        margin-right: .5rem;
        white-space: normal;
    }

    .header-last .mobile-navbar-brand img {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        margin-right: .65rem;
        object-fit: contain;
    }

    .header-last .mobile-navbar-name {
        display: flex;
        flex-direction: column;
        min-width: 0;
        color: #fff;
        font-size: .75rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .header-last .mobile-navbar-name strong {
        font-size: .9rem;
        line-height: 1.2;
    }

    .header-last .navbar-collapse {
        flex: 0 0 100%;
        max-height: min(70vh, 34rem);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .header-last .navbar-nav {
        padding: .25rem 0;
    }

    .header-last ul.navbar-nav a.nav-link {
        padding: .65rem .85rem;
        margin: 0;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .header-last .navbar .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        border: 0;
        box-shadow: none;
    }

    .header-last .navbar .nav-item:hover > .dropdown-menu {
        display: none;
    }

    .header-last .navbar .nav-item.show > .dropdown-menu {
        display: block;
    }

    .top-bar .list-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar .list-group-item {
        padding: .2rem .55rem;
    }
}

@media (max-width: 991.98px) {
    .album-page,
    .gallery-page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #services > .box,
    #quickbox > .box {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 8px;
    }

    #services > .box,
    #quickbox > .box {
        border-radius: 8px;
        transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    }

    #services > .box:hover,
    #quickbox > .box:hover,
    #services > .box:focus-within,
    #quickbox > .box:focus-within {
        box-shadow: 0 5px 14px rgba(20, 40, 60, .18);
    }

    #services > .box:hover,
    #services > .box:focus-within {
        transform: none;
        background-color: #dc3545;
        border-color: #dc3545;
        color: #fff;
    }

    #services > .box:hover a,
    #services > .box:focus-within a,
    #services > .box:hover i,
    #services > .box:focus-within i,
    #services > .box:hover h4,
    #services > .box:focus-within h4 {
        color: #fff;
    }

    #quickbox > .box:hover,
    #quickbox > .box:focus-within {
        transform: translateY(-3px);
    }

    #services > .box a,
    #quickbox > .box a {
        display: flex;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-wrap: anywhere;
    }

    #services > .box h4,
    #quickbox > .box h4 {
        margin-bottom: 0;
        line-height: 1.35;
    }

    .top-header > .container > .row {
        align-items: center;
    }

    .top-header > .container > .row > .header-logo {
        flex: 0 0 112px;
        max-width: 112px;
    }

    .top-header > .container > .row > .header-details {
        flex: 1 1 0;
        max-width: none;
        min-width: 0;
    }

    .top-header > .container > .row > .header-flag {
        flex: 0 0 72px;
        max-width: 72px;
    }

    .top-header .img-logo {
        width: 100% !important;
        height: auto;
        object-fit: contain;
    }

    .top-header .custom-name h1,
    .top-header .officename {
        font-size: clamp(1.25rem, 2.8vw, 1.75rem) !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }

    .top-header .custom-name p,
    .top-header .govname,
    .top-header .addressname {
        font-size: clamp(.8rem, 1.8vw, 1rem) !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
    }

    .body-content .staff-info {
        margin-left: 0;
        padding-right: 15px;
        padding-left: 15px;
    }

    .body-content .staff-info .btn-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .news-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .album-page,
    .gallery-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .8rem;
    }

    .management-committee-list {
        margin-right: -.25rem;
        margin-left: -.25rem;
        padding: .35rem;
    }

    .committee-person {
        margin-bottom: .5rem;
        padding: .35rem;
    }

    .committee-card {
        padding: 1rem .65rem;
    }

    .committee-photo {
        width: 120px;
        height: 135px;
    }

    .body-content .section_slider,
    .body-content .section_news,
    .body-content .section_services,
    .body-content .section_photos,
    .body-content .section_video,
    .body-content .section_quickboxes {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .staff-directory-photo,
    .staff-photo-placeholder {
        width: 100px;
        height: 116px;
    }

    .staff-card {
        padding: .9rem .65rem;
    }

    .staff-card-lead {
        max-width: 600px;
    }

    .body-content article > h1,
    .body-content article > h2,
    .body-content article > h3,
    .body-content article > h4 {
        margin: 1rem 0 .75rem;
    }

    .page-body {
        text-align: left;
        line-height: 1.7;
    }

    .about-visuals {
        gap: 10px;
    }

    .about-visual-card img {
        min-height: 145px;
    }

    .about-visual-card:not(:first-child) img {
        min-height: 120px;
        max-height: 145px;
    }

    .top-header > .container > .row {
        align-items: center;
        flex-wrap: nowrap;
    }

    .top-header > .container > .row > .header-logo {
        flex: 0 0 94px;
        max-width: 94px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .top-header > .container > .row > .header-details {
        flex: 1 1 0;
        max-width: none;
        padding-right: 10px;
        padding-left: 8px;
    }

    .top-header > .container > .row > .header-flag {
        display: none !important;
    }

    .top-header .custom-name h1,
    .top-header .officename {
        font-size: clamp(1.05rem, 4vw, 1.5rem) !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }

    .top-header .custom-name p,
    .top-header .govname,
    .top-header .addressname {
        font-size: clamp(.75rem, 2.7vw, .95rem) !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
    }

    .top-header .img-logo {
        width: 100% !important;
        height: auto;
        object-fit: contain;
    }

    .top-header .custom-name {
        text-align: center !important;
    }

    .body-content .container,
    .body-content .container-fluid {
        padding-right: 12px;
        padding-left: 12px;
    }

    .body-content .row {
        margin-right: -12px;
        margin-left: -12px;
    }
}

@media (max-width: 575.98px) {
    .album-card-title {
        padding: .7rem;
        font-size: .95rem;
    }

    .modal#modal-show-image .modal-dialog {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        margin: .5rem auto;
    }

    .modal#modal-show-image .modal-body {
        padding: .25rem;
    }

    .modal#modal-show-image #modal_image {
        max-height: calc(100vh - 72px);
        max-height: calc(100dvh - 72px);
    }

    .body-content form .btn-group {
        display: flex;
        width: 100%;
    }

    .body-content form .btn-group > .btn {
        flex: 1 1 auto;
    }

    .body-content form .form-group > .btn:only-child,
    .body-content form .form-group > button:only-child {
        width: 100%;
    }

    .news-list-grid {
        gap: .65rem;
    }

    .news-list-card {
        min-height: 138px;
        padding: .8rem;
    }

    .tap-box .news-list-grid .news-list-card-link {
        padding-right: 1.75rem;
    }

    .staff-card-lead {
        flex-direction: column;
        text-align: center;
    }

    .staff-card-lead .staff-directory-photo,
    .staff-card-lead .staff-photo-placeholder {
        margin-bottom: .25rem;
    }

    .staff-card-lead .staff-contacts {
        justify-items: center;
    }

    .committee-card {
        padding: .8rem .45rem;
    }

    .committee-photo {
        width: 100px;
        height: 120px;
        margin-bottom: .65rem;
    }

    .committee-name {
        font-size: 1rem;
    }

    .committee-designation,
    .committee-mobile {
        font-size: .85rem;
    }

    .body-content .breadcrumb {
        margin: .5rem 0 1rem;
        padding: .6rem .75rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .news-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .album-page,
    .gallery-page {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
    }

    .staff-directory > .staff-person:not(.staff-lead) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .news-list-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media print {
    .staff-card,
    .news-list-card {
        break-inside: avoid;
        box-shadow: none;
    }

    .body-content .section_slider,
    .body-content .section_news,
    .body-content .section_services,
    .body-content .section_photos,
    .body-content .section_video,
    .body-content .section_quickboxes {
        padding-top: .75rem;
        padding-bottom: .75rem;
    }

    .page-body p {
        margin-bottom: .85rem;
    }

    .about-visuals {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-visual-card:first-child {
        grid-row: auto;
    }

    .about-visual-card img,
    .about-visual-card:not(:first-child) img {
        min-height: 180px;
        max-height: 240px;
    }

    #services > .box,
    #quickbox > .box {
        padding: 6px;
        border-width: 2px;
    }

    #services > .box h4,
    #quickbox > .box h4 {
        padding: 8px 2px;
        font-size: .95rem;
    }

    .header-last .navbar {
        padding: .2rem .35rem;
    }

    .header-last .mobile-navbar-brand img {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        margin-right: .45rem;
    }

    .header-last .mobile-navbar-name {
        font-size: .68rem;
        line-height: 1.15;
    }

    .header-last .mobile-navbar-name strong {
        font-size: .8rem;
    }

    .header-last .navbar-toggler {
        flex: 0 0 auto;
        margin: .25rem;
    }

    .top-bar {
        padding: .2rem 0;
    }

    .top-bar .list-group-item {
        border-right: 0;
    }

    .top-bar .fontResizer {
        white-space: nowrap;
    }

    .body-content section,
    .body-content .section-body,
    .body-content .card-body {
        min-width: 0;
    }

    .body-content h1 {
        font-size: clamp(1.4rem, 6vw, 2rem);
        overflow-wrap: anywhere;
    }

    .body-content h2 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        overflow-wrap: anywhere;
    }

    .body-content .btn,
    .body-content .form-control,
    .body-content select,
    .body-content textarea {
        font-size: 1rem;
    }

    .body-content .form-control,
    .body-content select,
    .body-content textarea {
        width: 100%;
    }

    .body-content .row {
        min-width: 0;
    }

    .body-content [class*="col-"] {
        min-width: 0;
    }
}

@media (max-width: 359.98px) {
    .header-last .mobile-navbar-brand img {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        margin-right: .35rem;
    }

    .header-last .mobile-navbar-name {
        font-size: .6rem;
    }

    .header-last .mobile-navbar-name strong {
        font-size: .7rem;
    }

    .top-header > .container > .row {
        flex-wrap: wrap;
    }

    .top-header > .container > .row > .header-logo,
    .top-header > .container > .row > .header-details {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .top-header > .container > .row > .header-logo {
        padding: 8px 15px 0;
    }

    .top-header > .container > .row > .header-logo a {
        display: block;
        text-align: center;
    }

    .top-header .img-logo {
        width: 70px !important;
        max-height: 66px;
        padding: 0 !important;
    }

    .top-header > .container > .row > .header-details {
        padding: 2px 12px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-last,
    .header-last *,
    .body-content *,
    .body-content *::before,
    .body-content *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    #services > .box,
    #quickbox > .box {
        transition: none !important;
    }
}
