body {
    font-family: sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
    line-height: 1.7;
    margin: 0;
    background-color: #224058;
    color: #222222;
}

body > .container {
    margin: 28px auto;
    padding: 24px;
    background-color: #fff;
    color: #222222 !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    line-height: 1.25;
    color: #222222;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    border-radius: 3px;
}

h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + * {
    margin-top: .9rem;
}

h1 {
    background: linear-gradient(transparent 65%, rgba(30, 82, 185, 0.614) 65%);
}

h2 {
    background: linear-gradient(transparent 65%, rgba(188, 110, 20, 0.614) 65%);
}

i {
    font-style:normal;
}

/* h1:after {
    content:"";
    position:absolute;
    width:105%;
    height:35%;
    background-color:rgba(30, 82, 185, 0.614);
    left:6px;
    bottom:0px;
    z-index:-1;
    border-radius:3px;
}

h2:after {
    content:"";
    position:absolute;
    width:105%;
    height:35%;
    background-color:rgba(207, 133, 22, 0.614);
    left:4px;
    bottom:0px;
    z-index:-1;
    border-radius:3px;
} */


/* div.main p > a {
    color:white;
    padding:.3rem 1rem;
    border-radius: 3px;
    text-decoration: none;
    background-color:#224058;
    
} */

/* breadcrumb */
.breadcrumb {
    /* margin: 6px 0 0px 18px; */
    font-size: 0.95em;
    border-bottom: thin solid #aaaaaa;
    padding-bottom: 6px;
    margin-bottom: 18px;
    padding-left: 6px;
}
.breadcrumb a {
    color: #444;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.crumb-sep {
    margin: 0 6px;
    color: #aaa;
}
.breadcrumb [aria-current="page"] {
    color: #111;
    font-weight: 400;
}

/* Gallery Styles */
.gallery {
	margin-top:1rem;
	margin-bottom: 3rem;
}
.gallery-item img {
    width: 12em;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

.gallery-item {
    text-decoration: none;
    display: block;
}

.gallery-item:hover {
    text-decoration: none;
}

.gallery-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}


nav {
}


nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav > ul {
    display: inline-flex;
    padding: 6px 8px;
}

nav li {
    position: relative;
    padding: 4px 8px;
    border-radius: 6px;
}


nav a {
    display: inline-block; /* inline with caret */
    color: #222222 !important;
    text-decoration: none;
    font-weight: 600 !important;
    font-size: 1.05em;
    transition: color 0.2s ease;
    vertical-align: middle;
}

/* Active menu item styling - light blue background */
nav a.active {
    border-radius: 6px;
    font-weight: 700;
    border-bottom: thin solid #222222;
    border-radius: 0;
}

/* Add downward caret after parent links */
nav li.has-children > a::after {
    content: ' \25BE'; /* ▾ */
    margin-left: 6px;
    font-size: 0.9em;
    color: #666;
}

/* Dropdown menus: hidden by default, absolute below parent */
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    min-width: 200px;
    z-index: 1000;
    border-radius: 8px;
    padding: 6px 0;
    margin: 6px 0 0 0;
}

/* Show submenu only when parent is toggled open */
nav li.show > ul {
    display: block;
}

/* Submenu items */
nav ul ul li {
    padding: 0;
}

nav ul ul a {
    display: block;
    padding: 10px 14px;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
    font-weight: 400 !important;
}

nav ul ul a.active {
    border-bottom: 0;
}

nav ul ul a:hover {
    background-color: #f2f2f2;
    color: #111;
}

/* Prevent hover from auto-opening (click-only) */
nav li:hover > ul { }

/* Active branch emphasis */
nav li.active-branch > a:not(.active) {
    color: #ca0a80;
    opacity: 0.95;
}



.navbar-brand img {
    height:75px;
}

.navbar-brand:hover {
    text-decoration: none;
}

.site-subtitle {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
}

.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}




main {
    margin-top: 2rem;
}

/* Desktop navbar caret alignment */
.navbar .dropdown-toggle-split {
    display: inline-flex;
    align-items: center;
    margin: 0 0.5rem 0 0 !important; /* bring caret closer to text */
    padding: 0 !important;
    line-height: 1;
    vertical-align: middle;
}
.navbar .dropdown-toggle-split::after {
    margin-left: 0; /* prevent extra gap added by Bootstrap */
}

.navbar .dropdown-item {
    background-color: #fff;
    color: #222222;
    font-weight: 400;
}

.navbar .dropdown-item .active {
    font-weight: 700;
}


.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

@media (max-width: 767px) {
    article {
        padding: 1.5rem;
    }
}

/* Mobile navbar: expand submenus, hide arrows, remove borders, indent */
@media (max-width: 991.98px) {
    .navbar .dropdown-toggle-split {
        display: none !important;
    }

    .navbar .dropdown-menu {
        display: block !important;
        position: static !important;
        float: none;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent;
        margin: 0;
        padding: 0 0 0 1rem;
    }

    .navbar .dropdown-menu .dropdown-item {
        padding-left: 0;
    }
}

/* Desktop navbar: show dropdown on hover over item or caret */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
    /* Ensure default absolute positioning and spacing apply on desktop */
    .navbar .dropdown > .dropdown-menu {
        position: absolute;
        margin-top: 0;
    }
}
