#menu ul li .dropdown:before {
float: right;
width: 3.5em;
height: 3.5em;
text-align: center;
}

#menu ul li a {
    display:inline-block;
    width: calc(100% - 3.5em);
}

#header img {
    border-bottom: 0;
    max-width: 400px;
    margin-right: 1rem;
    flex: 0 0 calc(25% - 1rem);
}

/* Adjust slogan position and header spacing */
#header {
    margin-bottom: 1.5em;
    padding-bottom: 2em;
}

/* Header title styling */
#header .site-title {
    margin: 0;
    line-height: inherit;
    font-size: inherit;
    display: inline-block;
}

/* Secondary title (non-home pages) */
#header .secondary-title {
    font-size: 1rem;
}

/* Slogan styling */
#header .slogan {
    margin-left: 8em;
    position: relative;
    top: -0.3em;
    font-weight: 400;
    display: inline-block;
}

/* Reduce space before banner */
#banner {
    margin-top: -6em;
}

/* Reduce font sizes across the site */
body, input, select, textarea {
    font-size: 13pt; /* Reduced from 14pt */
}

@media screen and (max-width: 1680px) {
    body, input, select, textarea {
        font-size: 12pt; /* Reduced from 13pt */
    }
}

@media screen and (max-width: 1280px) {
    body, input, select, textarea {
        font-size: 11pt; /* Reduced from 12pt */
    }
}

@media screen and (max-width: 360px) {
    body, input, select, textarea {
        font-size: 10pt; /* Reduced from 11pt */
    }
}

/* Adjust heading sizes proportionally */
h1 {
    font-size: 2.25em; /* Reduced from 2.5em */
}

h2 {
    font-size: 1.85em; /* Reduced from 2em */
}

h3 {
    font-size: 1.6em; /* Reduced from 1.75em */
}

h4 {
    font-size: 1.35em; /* Reduced from 1.5em */
}

h5 {
    font-size: 1.15em; /* Reduced from 1.25em */
}

h6 {
    font-size: 0.95em; /* Reduced from 1em */
}

/* dan reducing gaps and whitespace */
#header {
    padding-bottom: 0em;
    padding-top: 1em;
}

#banner {
    padding-top: 6em;
}

#main > .inner > section {
    padding-top: 0;
}

header.major>:last-child {
    margin-bottom: 1em;
}