/* HEADER: auto height, gradient background */
.static-top.navbar-dark {
    background: linear-gradient(350deg, #012035 0%, #043049 100%) !important;
    height: auto !important;              /* header grows with content */
    align-items: center !important;
}

/* BRAND CONTAINER */
.static-top.navbar-dark .navbar-brand.navbar-header {
    margin: 0 !important;
    padding: 0 !important;
}

/* Make the inner editable wrapper + link flex,
   so the IMG + H1 are side-by-side */
.static-top.navbar-dark .navbar-brand.navbar-header .xrm-editable-html,
.static-top.navbar-dark .navbar-brand.navbar-header .xrm-editable-html a {
    display: flex !important;
    align-items: center !important;
}

/* LOGO: fixed width, natural height */
.static-top.navbar-dark .navbar-brand.navbar-header img {
    width: 160px !important;              /* your logo size */
    height: auto !important;
    object-fit: contain !important;
    margin-right: 10px !important;                   /* space between logo and text */
    display: block !important;
}

/* SITE TITLE (tagline / text next to logo) */
.static-top.navbar-dark .navbar-brand.navbar-header h1.siteTitle,
.static-top.navbar-dark .navbar-brand.navbar-header .siteTitle {
    margin: 0 !important;
    font-size: 18px !important;                      /* tweak as you like */
    line-height: 1.2 !important;
}

/* HEADER: add internal vertical padding */
.static-top.navbar-dark {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Navbar text/links */
.static-top.navbar .menu-bar > .navbar-nav > li > a {
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
}

/* Main page borders */
.xrm-attribute-value > .row.sectionBlockLayout.text-start:nth-of-type(1) {
    border-bottom: 3px solid #013558 !important;
}

.entity-grid .view-grid {
  min-height: 60vh;
  min-height: 60svh;
}


