/* Default links in main content */
main a,
.site-content a {
    color: #0044CC !important;
}

/* Hover and visited states */
main a:hover,
main a:focus,
main a:visited,
main a:active,
.site-content a:hover,
.site-content a:focus,
.site-content a:visited,
.site-content a:active {
    color: #0044CC !important;
}

/* Special links: white on colored backgrounds */
.special-link a,
.special-link a:hover,
.special-link a:visited,
.special-link a:focus {
    color: #ffffff !important;
    text-decoration: underline;
}

.current-menu-item a {
    color: #FFFFFF;
    font-weight: bold;
}

.main-navigation a {
    font-size: 16px;
}

/* Hide selected page and post titles */
.postid-13178 .entry-title,
.page-id-13178 .entry-title,
.postid-13178 .page-title,
.page-id-13178 .page-title,
.postid-13059 .entry-title,
.page-id-13059 .entry-title,
.postid-13059 .page-title,
.page-id-13059 .page-title,
.postid-8846 .entry-title,
.page-id-8846 .entry-title,
.postid-8846 .page-title,
.page-id-8846 .page-title,
.postid-8838 .entry-title,
.page-id-8838 .entry-title,
.postid-8838 .page-title,
.page-id-8838 .page-title,
.postid-8078 .entry-title,
.page-id-8078 .entry-title,
.postid-8078 .page-title,
.page-id-8078 .page-title,
.postid-8790 .entry-title,
.page-id-8790 .entry-title,
.postid-8790 .page-title,
.page-id-8790 .page-title,
.postid-8797 .entry-title,
.page-id-8797 .entry-title,
.postid-8797 .page-title,
.page-id-8797 .page-title,
.postid-8802 .entry-title,
.page-id-8802 .entry-title,
.postid-8802 .page-title,
.page-id-8802 .page-title,
.postid-8819 .entry-title,
.page-id-8819 .entry-title,
.postid-8819 .page-title,
.page-id-8819 .page-title,
.postid-8825 .entry-title,
.page-id-8825 .entry-title,
.postid-8825 .page-title,
.page-id-8825 .page-title,
.postid-9229 .entry-title,
.page-id-9229 .entry-title,
.postid-9229 .page-title,
.page-id-9229 .page-title,
.postid-9283 .entry-title,
.page-id-9283 .entry-title,
.postid-9283 .page-title,
.page-id-9283 .page-title,
.postid-9282 .entry-title,
.page-id-9282 .entry-title,
.postid-9282 .page-title,
.page-id-9282 .page-title,
.postid-9281 .entry-title,
.page-id-9281 .entry-title,
.postid-9281 .page-title,
.page-id-9281 .page-title,
.postid-9280 .entry-title,
.page-id-9280 .entry-title,
.postid-9280 .page-title,
.page-id-9280 .page-title,
.postid-9279 .entry-title,
.page-id-9279 .entry-title,
.postid-9279 .page-title,
.page-id-9279 .page-title,
.postid-6655 .entry-title,
.page-id-6655 .entry-title,
.postid-6655 .page-title,
.page-id-6655 .page-title,
.postid-13409 .entry-title,
.page-id-13409 .entry-title,
.postid-13409 .page-title,
.page-id-13409 .page-title,
.postid-13734 .entry-title,
.page-id-13734 .entry-title,
.postid-13734 .page-title,
.page-id-13734 .page-title,
.postid-1100 .entry-title,
.page-id-1100 .entry-title,
.postid-1100 .page-title,
.page-id-1100 .page-title,
.postid-9278 .entry-title,
.page-id-9278 .entry-title,
.postid-9278 .page-title,
.page-id-9278 .page-title {
    display: none !important;
}

.rsvp-form .wpforms-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rsvp-form .wpforms-form li {
    width: 100%;
    box-sizing: border-box;
}

.rsvp-form .wpforms-field {
    text-align: left;
}

/* Remove theme container constraint only on Elementor pages */
.elementor-page .site-content .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}

/* Let Elementor control boxed sections properly */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Anchor offset */
:target {
    scroll-margin-top: 20px;
}

/* Reduce the gap between the featured image and title on page 13409 */
.page-id-13409 .post-thumbnail + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-id-13409 .post-thumbnail {
    margin-bottom: 0 !important;
}

.page-id-13409 .entry-content,
.page-id-13409 .site-content,
.page-id-13409 .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-id-13409 .post-thumbnail + p {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    font-size: 12px;
    color: #666;
}

@media (max-width: 767px) {
    .gli-intro,
    .gli-intro.elementor-widget-text-editor,
    .gli-intro .elementor-widget-container {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .mobile-content {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* College Overviews button only */
.page .entry-content .college-overviews-button .wp-block-button__link,
.page .entry-content .wp-block-button__link.college-overviews-button,
.page .entry-content a.college-overviews-button,
.page .entry-content .college-overviews-button .wp-block-button__link:hover,
.page .entry-content .college-overviews-button .wp-block-button__link:focus,
.page .entry-content .college-overviews-button .wp-block-button__link:visited,
.page .entry-content .college-overviews-button .wp-block-button__link:active,
.page .entry-content .wp-block-button__link.college-overviews-button:hover,
.page .entry-content .wp-block-button__link.college-overviews-button:focus,
.page .entry-content .wp-block-button__link.college-overviews-button:visited,
.page .entry-content .wp-block-button__link.college-overviews-button:active,
.page .entry-content a.college-overviews-button:hover,
.page .entry-content a.college-overviews-button:focus,
.page .entry-content a.college-overviews-button:visited,
.page .entry-content a.college-overviews-button:active {
    background-color: #ffffff !important;
    color: #0f5c80 !important;
    border: 2px solid #0f5c80 !important;
    text-decoration: none !important;
}

/* Visible keyboard focus for the College Overviews button */
.page .entry-content .college-overviews-button .wp-block-button__link:focus-visible,
.page .entry-content .wp-block-button__link.college-overviews-button:focus-visible,
.page .entry-content a.college-overviews-button:focus-visible {
    outline: 3px solid #0f5c80 !important;
    outline-offset: 3px;
}

/* Reduce extra space below pages, except the homepage */
body:not(.home) #content article.type-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body:not(.home) #primary.content-area {
    margin-bottom: 0 !important;
}