/* Accent bar below nav */
#masthead {
    border-bottom: 4px solid #C4122E;
}

/* Remove excess top padding on content */
.content-area {
    padding-top: 0 !important;
}

.entry-content {
    padding-top: 0 !important;
}

/* Tighten top spacing on homepage */
.bc-home {
    padding-top: 20px !important;
}

/* Make photo larger */
.bc-photo-wrap {
    min-width: 220px;
}

/* Nav link colors */
.main-navigation a {
    color: rgba(255,255,255,0.65) !important;
}

.main-navigation a:hover {
    color: #ffffff !important;
}

/* Active nav item underline in Tenleytown red */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #ffffff !important;
    border-bottom: 2px solid #C4122E !important;
    padding-bottom: 2px !important;
}

/* Remove default content vertical spacing */
.kadence-content-style-unboxed .entry-content {
    padding: 0 !important;
}

/* Remove top gap above content */
.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.bc-photo-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.page-hero-section {
    display: none !important;
}

/* Remove remaining top gap */
.entry-content > div:first-child,
.bc-home {
    margin-top: 0 !important;
    padding-top: 20px !important;
}

article.page {
    padding-top: 0 !important;
}

/* Fix affiliation strip left edge */
.bc-affil {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Larger photo */
.bc-photo-wrap {
    min-width: 240px;
    max-width: 240px;
}

/* Target Kadence content top padding directly */
.kadence-content-style-unboxed.page .entry-content,
.page .entry-content,
.page article {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.wp-site-blocks > main {
    padding-top: 0 !important;
}

.content-bg {
    padding-top: 0 !important;
}

#inner-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.content-bg {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.entry-content-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.content-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.single-entry {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#post-92 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#post-92 > div {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.bc-photo-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.bc-photo-wrap {
    position: relative;
    padding-bottom: 16px;
}

.bc-hero {
    overflow: visible !important;
}

.bc-photo-wrap {
    position: relative !important;
    padding-bottom: 20px !important;
    overflow: visible !important;
}

.bc-photo-badge {
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
    color: #ffffff !important;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
    color: #ffffff !important;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.nav--toggle-sub .current-menu-item > a,
header .current-menu-item > a,
header .current_page_item > a,
#site-header .current-menu-item > a,
.header-navigation .current-menu-item > a {
    color: #ffffff !important;
}

.site-title a,
.site-title {
    color: #ffffff !important;
}

/* Fix nav alignment - Research sitting lower */
.main-navigation ul li a {
    display: flex !important;
    align-items: center !important;
}

/* Remove white underline, keep only red on active */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    border-bottom: 2px solid #C4122E !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.main-navigation a {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Research page - increase paper font size */
.bc-paper-title {
    font-size: 15px !important;
}

.bc-paper-meta {
    font-size: 14px !important;
}

/* Research page - reduce white space between papers */
.bc-paper {
    padding: 12px 0 !important;
}

.bc-paper-meta {
    margin-top: 2px !important;
}

.bc-paper p {
    margin: 0 0 2px !important;
}

.bc-paper-meta {
    margin: 2px 0 0 !important;
}

.bc-section-label {
    font-size: 20px !important;
}

/* Larger filter button font */
.bc-filter-btn {
    font-size: 13px !important;
    padding: 5px 12px !important;
}

/* Allow wrapping on mobile */
@media (max-width: 768px) {
    .bc-filter-row {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
    }
}

/* Active nav item - red underline only, no Kadence default */
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
    border-bottom: 2px solid #C4122E !important;
    padding-bottom: 2px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.main-navigation ul li > a {
    border-bottom: 2px solid transparent !important;
    padding-bottom: 2px !important;
}

.bc-bio {
    font-size: 16px !important;
}

.bc-affil-label {
    font-size: 11px !important;
}

.bc-affil-value {
    font-size: 14px !important;
}

.bc-affil-sub {
    font-size: 12px !important;
}

.bc-hero-title {
    font-size: 15px !important;
}

.site-footer {
    font-size: 11px !important;
}

.bc-photo-badge {
    font-size: 13px !important;
    padding: 6px 16px !important;
}