:root {
    --mono-accent: #0085a1;
    --mono-dark: #212529;
    --mono-soft: #f6f8fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #fff;
}

h1, h2, h3, h4, h5, .navbar-brand, .section-title {
    font-family: 'Lora', serif;
}

a {
    color: var(--mono-accent);
}

/* navbar */
#mainNav {
    background: #fff;
    border-bottom: 1px solid #eee;
    transition: box-shadow .2s;
}

    #mainNav.scrolled {
        box-shadow: 0 2px 12px rgba(0,0,0,.08);
    }

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: .5px;
    color: var(--mono-dark) !important;
}

.navbar .nav-link {
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #444;
}

    .navbar .nav-link:hover, .navbar .nav-link.active {
        color: var(--mono-accent);
    }

/* hero sliders */
.hero-carousel .carousel-item img {
    height: 62vh;
    min-height: 320px;
    object-fit: cover;
    filter: brightness(.6);
}

.hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18%;
    text-align: center;
    color: #fff;
    padding: 0 12%;
}

    .hero-caption h2 {
        font-size: clamp(1.6rem, 4vw, 3rem);
        font-weight: 700;
        text-shadow: 0 2px 8px rgba(0,0,0,.5);
    }

    .hero-caption p {
        font-size: 1.1rem;
    }

.hero-fallback, .page-hero {
    background: linear-gradient(135deg, #1c2b36, #0085a1);
    color: #fff;
    text-align: center;
    padding: 90px 15px;
}

    .hero-fallback h1, .page-hero h1 {
        font-size: clamp(2rem, 5vw, 3.4rem);
        font-weight: 700;
    }

    .page-hero p {
        opacity: .85;
        margin: 0;
        font-size: 1.15rem;
    }

.section-title {
    font-weight: 700;
    margin-bottom: .3rem;
}

.section-sub {
    color: #777;
    margin-bottom: 2rem;
}

.band {
    background: var(--mono-soft);
}

/* buttons */
.btn-monolog {
    background: var(--mono-accent);
    color: #fff;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0;
    padding: .6rem 1.2rem;
}

    .btn-monolog:hover {
        background: #00657b;
        color: #fff;
    }

.pill {
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: .25rem .9rem;
    font-size: .85rem;
    text-decoration: none;
    color: #555;
    display: inline-block;
    margin: 0 .15rem .4rem;
}

    .pill.active, .pill:hover {
        background: var(--mono-accent);
        color: #fff;
        border-color: var(--mono-accent);
    }

/* multi carousels */
.multi-carousel {
    padding: 0 3rem;
}

    .multi-carousel .carousel-control-prev, .multi-carousel .carousel-control-next {
        width: 2.5rem;
    }

    .multi-carousel .carousel-control-prev-icon, .multi-carousel .carousel-control-next-icon {
        filter: invert(1) grayscale(1);
    }

@media (max-width: 575px) {
    .multi-carousel {
        padding: 0 2rem;
    }
}

@media (min-width: 992px) {
    .col-lg-5x {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* quotes */
.quote-box {
    height: 100%;
    min-height: 190px;
    padding: 1.4rem 1.2rem;
    color: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #0085a1;
}

    .quote-box p {
        font-family: 'Lora', serif;
        font-style: italic;
        font-size: .98rem;
        margin-bottom: .8rem;
    }

    .quote-box span {
        font-size: .8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        opacity: .9;
    }

.row > div:nth-child(5n+2) .quote-box {
    background: #6c5ce7;
}

.row > div:nth-child(5n+3) .quote-box {
    background: #e17055;
}

.row > div:nth-child(5n+4) .quote-box {
    background: #00a884;
}

.row > div:nth-child(5n+5) .quote-box {
    background: #2d3436;
}

/* cards */
.blog-card {
    border: 0;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
    transition: transform .2s;
    overflow: hidden;
}

    .blog-card:hover {
        transform: translateY(-4px);
    }

    .blog-card .card-img-top {
        height: 200px;
        object-fit: cover;
    }

    .blog-card .card-title {
        font-weight: 700;
    }

.badge-cat {
    background: #e3f4f8;
    color: #00657b;
    font-weight: 600;
}

.video-box {
    background: #fff;
    padding: .6rem;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* stats */
.stat {
    text-align: center;
    padding: 1.5rem 0;
}

    .stat .num {
        font-family: 'Lora', serif;
        font-size: 3rem;
        font-weight: 700;
        color: var(--mono-accent);
    }

    .stat .lbl {
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: .8rem;
        color: #777;
    }

/* people */
.person {
    text-align: center;
}

    .person img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
        border: 4px solid #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,.15);
        margin-bottom: .7rem;
    }

    .person h6 {
        margin-bottom: 0;
        font-weight: 700;
    }

    .person small {
        color: #777;
    }

/* album */
.album-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

    .album-item img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        transition: transform .3s;
    }

    .album-item:hover img {
        transform: scale(1.06);
    }

    .album-item span {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,.55);
        color: #fff;
        font-size: .8rem;
        padding: .3rem .6rem;
    }

/* blog detail */
.detail-img {
    max-height: 420px;
    object-fit: cover;
}

.detail-body {
    font-size: 1.08rem;
    line-height: 1.85;
}

.author-box {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--mono-soft);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
}

    .author-box img {
        width: 70px;
        height: 70px;
        object-fit: cover;
    }

.detail-wrap {
    background: var(--mono-soft);
    border-top: 3px solid var(--mono-accent);
}

.mini-item {
    display: flex;
    gap: .7rem;
    text-decoration: none;
    color: inherit;
    margin-bottom: .9rem;
}

    .mini-item img {
        width: 70px;
        height: 56px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
    }

    .mini-item:hover .fw-semibold {
        color: var(--mono-accent);
    }

/* admin */
.admin-card {
    border: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.dash-num {
    font-family: 'Lora', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--mono-accent);
}

.table img.thumb {
    width: 64px;
    height: 44px;
    object-fit: cover;
    border-radius: 3px;
}

/* footer */
footer.site-footer {
    background: #1c2126;
    color: #adb5bd;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

    footer.site-footer h6 {
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: .8rem;
    }

    footer.site-footer a {
        color: #adb5bd;
        text-decoration: none;
    }

        footer.site-footer a:hover {
            color: #fff;
        }

    footer.site-footer ul {
        list-style: none;
        padding: 0;
    }

.map-frame {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 8px;
}

/* footer bottom bar + social */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .8rem;
}

.social-links {
    display: flex;
    gap: .6rem;
    margin-left: auto;
}

.social {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #495057;
    color: #adb5bd !important;
    transition: all .2s;
}

    .social:hover {
        background: var(--mono-accent);
        border-color: var(--mono-accent);
        color: #fff !important;
    }

@media (max-width: 575px) {
    .footer-bottom {
        justify-content: center;
    }

    .social-links {
        margin: 0 auto;
    }
}

/* admin sub navigation */
.admin-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 56px;
    z-index: 1000;
}

    .admin-nav .container {
        display: flex;
        flex-wrap: wrap;
        gap: .2rem 1.2rem;
        padding-top: .6rem;
        padding-bottom: .6rem;
    }

    .admin-nav a {
        text-decoration: none;
        font-size: .85rem;
        font-weight: 600;
        color: #555;
        padding: .2rem 0;
        border-bottom: 2px solid transparent;
    }

        .admin-nav a:hover, .admin-nav a.active {
            color: var(--mono-accent);
            border-bottom-color: var(--mono-accent);
        }

.video-box video {
    background: #000;
}

/* ---- additions for the merged backend ---- */
.video-frame {
    background: #000;
    border-radius: 4px;
    max-height: 70vh;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.video-slider {
    padding: 0 3rem;
    max-width: 960px;
    margin: 0 auto;
}

.author-box .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--mono-accent);
    color: #fff;
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.person small {
    display: block;
}

/* admin layout (Admin.Master) */
body.admin-body {
    background: #f1f3f5;
}

.admin-side {
    background: #1c2126;
    min-height: 100vh;
    padding: 1.4rem 1rem;
}

    .admin-side .brand {
        font-family: 'Lora', serif;
        font-size: 1.6rem;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
        display: block;
        margin-bottom: 1.5rem;
    }

    .admin-side a.item {
        display: block;
        color: #adb5bd;
        text-decoration: none;
        padding: .55rem .8rem;
        border-radius: 6px;
        font-size: .92rem;
        margin-bottom: .15rem;
    }

        .admin-side a.item:hover, .admin-side a.item.active {
            background: #2b333a;
            color: #fff;
        }

.admin-main {
    padding: 1.8rem;
}

    .admin-main h1 {
        font-size: 1.7rem;
        font-weight: 700;
        margin-bottom: 1.2rem;
    }

    .admin-main .table {
        background: #fff;
        vertical-align: middle;
    }

        .admin-main .table th {
            font-size: .78rem;
            text-transform: uppercase;
            letter-spacing: .5px;
            color: #666;
        }

.table video.thumb {
    width: 90px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
    background: #000;
}

.badge-on {
    background: #d3f5e4;
    color: #146c43;
}

.badge-off {
    background: #f8d7da;
    color: #842029;
}

@media (max-width: 767px) {
    .admin-side {
        min-height: auto;
    }
}

img.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.person img {
    object-fit: cover;
}

/* People page: icon above the footer -> Moment access */
.moment-key-wrap {
    text-align: left;
    padding: 1.2rem 0 1rem 1.2rem;
    /* padding: 1.2rem 0 2.2rem;*/
}

.moment-key {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ccd3d8;
    color: #6c757d;
    background: #fff;
    transition: all .2s;
}

    .moment-key:hover {
        background: var(--mono-accent);
        border-color: var(--mono-accent);
        color: #fff;
    }
