/* Team page section dividers */
.team-divider {
    border: 0;
    border-top: 1px solid #d0d4d8;
    margin: 4rem auto;
    max-width: 60%;
}

.team-tail {
    height: 4rem;
}

/* Announcements (blog) archive spacing + dividers */
.blog .main > article:first-of-type {
    margin-top: 3rem;
}

.blog .main > article + article {
    border-top: 1px solid #d0d4d8;
    margin-top: 6rem;
    padding-top: 6rem;
}

.blog .main > article:last-of-type {
    margin-bottom: 3rem;
}

/* Top menu restyle — black on white, bordered, square, inverted active highlight */
#top-bar-cig,
#top-menu-cig-parent,
#top-menu-cig,
#main-nav {
    background-color: #fff;
}

#main-nav,
#main-nav > li > a {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#main-nav > li > a {
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

/* Hover/focus: invert, but keep the same 1px border and no underline
   (overrides cigstyle.css which sets a 2px hover border + underline) */
#main-nav > li > a:hover,
#main-nav > li > a:focus {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    text-decoration: none;
}

#main-nav > li.active > a,
#main-nav > li.current-menu-item > a,
#main-nav > li.current_page_item > a,
#main-nav > li.current-menu-parent > a {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
}

/* Fluent Forms submit button — match menu aesthetic (black rectangle, inverts on hover) */
.fluentform .ff-btn-submit,
.fluentform button[type="submit"] {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    padding: 0.85rem 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus,
.fluentform button[type="submit"]:hover,
.fluentform button[type="submit"]:focus {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    text-decoration: none;
}
