/* Resize the logo image and other images so that they will
   fit on small screens such as phones.  2021-12-05 */
img {
    max-width: 100%;
}

/* Add a line under the H1 and H2 headings.  2021-12-05 */
h1, h2 {
    border-bottom: 1px solid #8cacbb;
    font-weight: normal;
}

/* 2026-11-03: I used Gemini to fix differences between the Plone 5 appearance and Plone 6
   appearance as described in my post: https://github.com/plone/Products.CMFPlone/issues/3891 */

/* Remove text underlines from the left-column navigation links */
.portletNavigationTree .navTreeItem a {
    text-decoration: none !important;
}

/* Remove text underlines from the breadcrumbs navigation trail */
.breadcrumb-item a {
    text-decoration: none !important;
}

/* Globally remove underlines from links inside standard page body text */
#content a, 
.viewlet-above-content-body a,
#main-container a {
    text-decoration: none !important;
}

/* Optional: Keep links underlined ONLY when a user hovers their mouse over them */
#content a:hover,
#main-container a:hover {
    text-decoration: underline !important;
}

/* 2. Tighten up the line-height and padding to match Plone 5 spacing */
body {
    line-height: 1.42857143; 
}

.portletNavigationTree .navTreeItem {
    line-height: 1.2;
    padding-top: 2px;
    padding-bottom: 2px;
}