@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Inter+Tight:wght@400;700&family=Lora:wght@400;700&display=swap');

#zone-header-menu .mfwMenu > ul {
    font-family: 'Inter Tight', sans-serif;
}

#content {
    font-family: 'Lora', serif;
}

/* misconduct button */
#zone-header-branding #widget-header .wp-block-button a {
    padding: 8px 10px;
    min-width: 150px;
    background: #ffcb0b;
    color: #002c5a;
    text-decoration: none;
    font-size: 13px;
    border-radius: 3px;
}
#zone-header-branding #widget-header .wp-block-button a:after {
    content: "\f0a9";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-left: 5px;
}
#zone-header-branding #widget-header .wp-block-button a:hover {
    background: #fddd67;
    border: none;
}

/* search widget */
#widget-header .widget_search input {
    font-size: 16px;
    appearance: unset;
}

#zone-header-menu .mfwMenu > ul a {
    margin: 0 5px;
}

/* add external link icon to content links */
#content a:not([href*="publicaffairs.umwebops.org"]):not([href*="publicaffairs.vpcomm.umich.edu"]):not([href^="#"]):not([href^="/"]):not([href^="javascript"]):not([href^="mailto:"]):not([href^="tel:"])::after {
    content: "\f35d";
    content: "\f064";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-left: 5px;
    font-size: .7rem;
    color: #333;
}

#content .featured-image {
    margin-top: -40px;
    margin-bottom: 40px;
    overflow: hidden;
}
#content .featured-image img {
    width: 100%;
}

.mfw-accordion > label,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    font-family: 'Inter Tight', sans-serif;
}

#content h2.postTitle::after {
    background: #00274c;
    background: linear-gradient(90deg, rgba(0, 39, 76, 0.7) 25%, transparent 100%);
}

#content ul,
#content ol {
    padding-left: 1.3em;
}
#content ul li::marker,
#content ol li::marker {
    color: #00274c;
}

#content .wp-block-um2022-callout {
    font-family: 'Inter', sans-serif;
}

/** ACCORDION - LIGHT **/
.mfw-accordion.light > label {
    background: #f3f4f5;
    background: linear-gradient(180deg, rgb(243, 244, 245) 50%, rgb(217, 220, 223) 100%);
    color: #333;
    border-color: #eaeff0;
}
.mfw-accordion.light > label:hover {
    background: #e1e5ea;
    background: linear-gradient(180deg, rgb(225, 229, 234) 50%, rgb(208, 213, 219) 100%);
}
.mfw-accordion.light > .mfw-accordion-content-wrap {
    border-top: none;
}


/** USER--PROFILE **/
.pattern--user-profile .wp-block-image > * {
    border-radius: 3px;
}
.pattern--user-profile .wp-block-image img {
    width: 100%;
}
/** END: USER--PROFILE **/



/** HOMEPAGE **/
body.home #content .departments h2 {
    text-align: center;
    color: #00274c;
    color: #666;
}
body.home #content .departments h2::before,
body.home #content .departments h2::after {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, rgba(102,102,102, 0.6) 0%, rgb(102,102,102) 50%, rgba(102,102,102, 0.6) 100%);
    border-radius: 2px;
}
/** END: HOMEPAGE **/


@media only screen and (max-width: 1080px) {
    #content .featured-image {
        margin-left: -.9375rem;
        margin-right: -.9375rem;
        xheight: 150px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #content .featured-image img {
        xwidth: auto;
        max-width: unset;
    }
}

@media only screen and (min-width: 931px) {
    #keyissues-archives {
        xclear: both;
        xmax-width: 740px;
        max-width: 70%;
    }
}

@media only screen and (max-width: 64rem) {
    .wp-block-um2022-callout {
        font-size: 1em;
    }
}

@media only screen and (max-width: 40rem) {
    #zone-header-branding #widget-header .widget {
        display: block;
    }
    #zone-header-branding #widget-header .widget + .widget {
        margin-left: 0;
    }

    #zone-header-branding #widget-header .wp-block-button,
    #zone-header-branding #widget-header .wp-block-button a {
        display: block;
        width: 100%;
    }

    #content h2.postTitle {
        font-size: 30px;
    }
}
