/**
 * BR Theme - fresh theme stylesheet, built on top of Bootstrap 5.
 *
 * Loaded after Bootstrap (see functions/theme-functions.php), so Bootstrap's
 * reset/grid/components are the foundation and everything below is the
 * site's own look: colors, typography, header/nav, cards, footer, and light
 * support for the legacy [section]/[row]/[column] shortcodes. The Books
 * feature has its own stylesheet (assets/books/css/books.css) and isn't
 * touched here.
 */

/* ---------------------------------------------------------------------- */
/* Design tokens                                                          */
/* ---------------------------------------------------------------------- */
:root {
	--bt-primary: #0f5132;
	--bt-primary-dark: #0a3b24;
	--bt-navy: #1c2b22;
	--bt-accent: #2e8b57;
	--bt-text: #33383d;
	--bt-muted: #6b7684;
	--bt-border: #e4e8ec;
	--bt-bg: #f7f9fb;
	--bt-radius: 12px;
	--bt-radius-lg: 18px;
	--bt-shadow: 0 8px 24px rgba(15, 30, 50, 0.08);
	--bt-shadow-hover: 0 16px 40px rgba(15, 30, 50, 0.14);
	--bt-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--bt-font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------------------------------------------------------------------- */
/* Base                                                                    */
/* ---------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--bt-font-body);
	color: var(--bt-text);
	font-size: 16px;
	line-height: 1.7;
	background: #fff;
}
h1, h2, h3, h4, h5, h6,
.heading {
	font-family: var(--bt-font-heading);
	color: var(--bt-navy);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 16px;
}
h1, .heading { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
p { margin: 0 0 16px; }
a {
	color: var(--bt-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}
a:hover,
a:focus-visible {
	color: var(--bt-primary-dark);
}
img { max-width: 100%; height: auto; }
::selection { background: var(--bt-primary); color: #fff; }

.custom-heading,
.journal-title {
	font-size: 26px;
	margin-bottom: 20px;
}
.journal-title-green { color: #1b8a4c; }
.journal-title-darkblue { color: #1b3a6b; }
.journal-title-softblue { color: #3c8dbc; }
.journal-title-purple { color: #6f42c1; }

/* ---------------------------------------------------------------------- */
/* Page shell                                                              */
/* ---------------------------------------------------------------------- */
.wrap,
#wrap {
	padding: 0px;
}
#wrap.wrap.inside-page {
    padding: 40px 0px 60px !important;
}
.content-indent {
	padding: 4px 0;
}
.pt-0 { padding-top: 0 !important; }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */
.header-topbar {
	background: var(--bt-navy);
	color: rgba(255, 255, 255, 0.85);
	font-size: 13px;
	padding: 8px 0;
}
.header-topbar a {
	color: rgba(255, 255, 255, 0.85);
}
.header-topbar a:hover { color: #fff; }
.topbar-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
}
.topbar-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.header-topbar .slogan {
	margin-right: 18px;
	color: rgba(255, 255, 255, 0.6);
}
.header-topbar .topbar-item { margin-right: 18px; white-space: nowrap; }
.header-topbar .topbar-item i { margin-right: 4px; color: rgba(255, 255, 255, 0.65); }

/* Top bar quick-links menu (Appearance -> Menus -> "Top Bar Quick Links") */
.topbar-quicklinks-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.topbar-quicklinks-list li:not(:last-child) {
	margin-right: 18px;
	position: relative;
}
.topbar-quicklinks-list li:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -10px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 12px;
	background: rgba(255, 255, 255, 0.25);
}
.topbar-quicklinks-list a {
	color: rgba(255, 255, 255, 0.85);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.4px;
}
.topbar-quicklinks-list a:hover { color: #fff; }

.topbar-social {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.topbar-social .social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	margin-left: 6px;
	font-size: 12px;
}
.topbar-social .social-link:hover { background: var(--bt-primary); color: #fff; }

/* Primary navigation - single-row navbar with the logo/brand block, main
   menu, and search icon all in one Bootstrap navbar (see header.php). */
.brtheme-navbar {
	background: #fff;
	box-shadow: 0 1px 0 var(--bt-border);
	padding: 10px 0;
	position: relative;
}
.navbar-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: 24px;
}
.site-logo-img {
	max-height: 52px;
	width: auto;
}
.site-logo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--bt-primary);
	color: #fff;
	font-size: 20px;
	flex-shrink: 0;
}
.site-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}
.site-brand-text .site-title {
	font-family: var(--bt-font-heading);
	font-size: 17px;
	font-weight: 700;
	color: var(--bt-navy);
}
.site-brand-text .tagline {
	font-size: 12.5px;
	color: var(--bt-accent);
	font-weight: 600;
}
.navbar-nav-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.navbar-nav-list > li {
	position: relative;
}
.navbar-nav-list > li > a {
	display: block;
	padding: 10px 16px;
	color: var(--bt-navy);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;
}
.navbar-nav-list > li.has-sub > a {
	/* Room for the arrow button so link text never sits underneath it. */
	padding-right: 40px;
}
.navbar-nav-list > li > a:hover,
.navbar-nav-list > li.current-menu-item > a,
.navbar-nav-list > li.active > a {
	color: var(--bt-primary);
	border-bottom-color: var(--bt-primary);
}
.navbar-nav-list ul {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	border-radius: 0 0 var(--bt-radius) var(--bt-radius);
	box-shadow: var(--bt-shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 20;
}
/* Desktop: hover or keyboard focus reveals the dropdown, as before. The
   .submenu-open class (added by the arrow button's click handler) is also
   honored here so a click behaves the same as a hover. */
.navbar-nav-list > li:hover > ul,
.navbar-nav-list > li:focus-within > ul,
.navbar-nav-list > li.submenu-open > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.navbar-nav-list ul li {
	/* So a nested submenu's own arrow button (if a sub-item has children
	   too) positions against that item, not the top-level <li>. */
	position: relative;
}
.navbar-nav-list ul li a {
	display: block;
	padding: 8px 18px;
	color: var(--bt-text);
	font-size: 14px;
}
.navbar-nav-list ul li.has-sub > a {
	padding-right: 40px;
}
.navbar-nav-list ul li a:hover { background: var(--bt-bg); color: var(--bt-primary); }

/* Submenu arrow toggle - separate element from the parent link so tapping
   it (mobile) never follows the page link; the link itself still navigates
   normally when tapped directly. */
.submenu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;

	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	padding: 0;
	color: inherit;
	cursor: pointer;
}
.submenu-toggle-icon {
	font-size: 11px;
	transition: transform 0.2s ease;
}
.navbar-nav-list > li:hover > .submenu-toggle .submenu-toggle-icon,
.navbar-nav-list > li.submenu-open > .submenu-toggle .submenu-toggle-icon {
	transform: rotate(180deg);
}
.navbar-nav-list ul .submenu-toggle {
	color: var(--bt-text);
}

.navbar-toggler {
	border-color: rgba(15, 81, 50, 0.3);
}
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f5132' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header search toggle + panel */
.navbar-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: transparent;
	color: var(--bt-navy);
	font-size: 15px;
	cursor: pointer;
	margin-left: 8px;
}
.navbar-search-toggle:hover,
.navbar-search-toggle[aria-expanded="true"] {
	background: var(--bt-bg);
	color: var(--bt-primary);
}
.header-search-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid var(--bt-border);
	box-shadow: var(--bt-shadow-hover);
	padding: 18px 0;
	z-index: 30;
}
.header-search-panel.is-open { display: block; }
.header-search-panel .search-form {
	display: flex;
	gap: 8px;
}
.header-search-panel .search-field {
	flex: 1 1 auto;
	padding: 10px 14px;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
}
.header-search-panel .search-submit {
	padding: 10px 20px;
	border: 0;
	border-radius: var(--bt-radius);
	background: var(--bt-primary);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 991.98px) {
	.navbar-nav-list { flex-direction: column; }
	.navbar-nav-list > li.has-sub > a { padding-right: 46px; }
	.navbar-nav-list ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: var(--bt-bg);
		max-height: 0;
		overflow: hidden;
		padding: 0;
		transition: max-height 0.3s ease;
	}
	/*
	 * Mobile submenus only open via the arrow button's click handler
	 * (initMobileSubmenuToggle() in theme.js), never on hover/focus-within -
	 * on touch devices a tap both "focuses" and follows the link in the
	 * same gesture, which is what made the submenu flash open and then
	 * immediately navigate away.
	 */
	.navbar-nav-list > li.has-sub.submenu-open > ul {
		max-height: 1000px;
		padding: 8px 0;
	}
	.submenu-toggle { width: 46px; }
	.navbar-search-toggle { margin: 10px 0 0; }
	.topbar-row { justify-content: center; text-align: center; }
	.topbar-quicklinks-list { justify-content: center; }
	.site-brand-text .site-title { font-size: 15px; }
}

/* ---------------------------------------------------------------------- */
/* Home page (page-home.php) - hero, highlights, info row, stats bar.      */
/* Content for every section here comes from Theme Options and/or widget   */
/* areas - see page-home.php for exactly which option/sidebar feeds what.  */
/* ---------------------------------------------------------------------- */

/* Hero */
.home-hero {
	background: linear-gradient(180deg, #f3f8f5 0%, #ffffff 100%);
	padding: 64px 0 96px;
	overflow: hidden;
	position: relative;
}
/* When a hero background photo is set (Theme Options -> Home Page -> Hero:
   Background Image), it covers the full section; the left content sits on a
   light gradient fade so it stays readable, and the right side is left
   blank on purpose so the photo shows through untouched. */
.home-hero.has-bg-image {
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	min-height: 520px;
	display: flex;
	align-items: center;
	padding: 48px 0;
}
.home-hero.has-bg-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .88) 30%, rgba(255, 255, 255, .4) 52%, rgba(255, 255, 255, 0) 70%);
	z-index: 1;
}
.home-hero.has-bg-image .container {
	position: relative;
	z-index: 2;
}
.home-hero-eyebrow {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1px;
	color: var(--bt-primary);
	margin-bottom: 10px;
}
.home-hero-heading {
	font-family: var(--bt-font-heading);
	font-size: 42px;
	font-weight: 800;
	line-height: 1.18;
	color: var(--bt-navy);
	margin-bottom: 18px;
}
.home-hero-heading .line { display: block; }
.home-hero-heading .line.accent { color: var(--bt-accent); }
.home-hero-text {
	font-size: 16px;
	color: var(--bt-muted);
	max-width: 520px;
	margin-bottom: 28px;
}
.home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.home-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: var(--bt-radius);
	font-weight: 600;
	font-size: 14.5px;
	border: 2px solid transparent;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.home-hero-btn:hover { transform: translateY(-2px); }
.home-hero-btn-primary {
	background: var(--bt-primary);
	color: #fff;
}
.home-hero-btn-primary:hover {
	background: var(--bt-primary-dark);
	color: #fff;
}
.home-hero-btn-outline {
	background: transparent;
	border-color: var(--bt-primary);
	color: var(--bt-primary);
}
.home-hero-btn-outline:hover {
	background: var(--bt-primary);
	color: #fff;
}
@media (max-width: 991.98px) {
	.home-hero { padding: 44px 0 76px; text-align: center; }
	.home-hero.has-bg-image { padding: 44px 0; min-height: 420px; }
	.home-hero-heading { font-size: 32px; }
	.home-hero-text { margin-left: auto; margin-right: auto; }
	.home-hero-actions { justify-content: center; }
}
@media (max-width: 767.98px) {
	/*
	 * Below the breakpoint where the content column is full-width, a
	 * left-to-right fade would leave the right (still-centered) half of the
	 * text sitting directly on the unfaded photo. A flat, fuller wash reads
	 * better here than trying to keep the directional gradient.
	 */
	.home-hero.has-bg-image::before {
		background: rgba(255, 255, 255, .92);
	}
}

/* Highlights strip - overlaps the bottom of the hero */
.home-highlights {
	position: relative;
	z-index: 2;
	margin-top: -56px;
	padding-bottom: 8px;
}
.home-highlights-card {
	background: #fff;
	border-radius: var(--bt-radius-lg);
	box-shadow: var(--bt-shadow-hover);
	padding: 34px 24px 24px;
}
.home-highlights-heading {
	text-align: center;
	font-size: 22px;
	margin-bottom: 20px;
	color: var(--bt-navy);
}
.home-highlight-box {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	text-align: left;
	padding: 5px 5px 5px 0px;
	height: 100%;
}
/*
 * Right-hand divider between boxes, skipped on the very last box and on the
 * last box of every row at each breakpoint the columns wrap at (6/row on
 * lg, 3/row on md, 2/row below md - matching the col-lg-2/col-md-4/col-6
 * classes the sidebar wraps each widget in, see theme-widgets.php).
 */
.home-highlight-box {
	border-right: 1px solid var(--bt-border);
}
.home-highlight-col:last-child .home-highlight-box {
	border-right: none;
}
@media (min-width: 992px) {
	.home-highlight-col:nth-child(6n) .home-highlight-box { border-right: none; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
	.home-highlight-col:nth-child(3n) .home-highlight-box { border-right: none; }
}
@media (max-width: 767.98px) {
	.home-highlight-col:nth-child(2n) .home-highlight-box { border-right: none; }
}
.home-highlight-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--bt-bg);
	color: var(--bt-primary);
	font-size: 14px;
	flex-shrink: 0;
	transition: background 0.2s ease, color 0.2s ease;
}
.home-highlight-box:hover .home-highlight-icon {
	background: var(--bt-primary);
	color: #fff;
}
.home-highlight-content {
	min-width: 0;
	flex: 1 1 auto;
}
.home-highlight-title {
	font-size: 12px;
	font-weight: 700;
	color: var(--bt-navy);
	margin: 0 0 6px;
}
.home-highlight-text {
	font-size: 12px;
	color: var(--bt-muted);
	margin: 0 0 8px;
}
.home-highlight-link {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--bt-accent);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.home-highlight-link:hover { color: var(--bt-primary-dark); }

/* Info row - Publications / Events / Announcements / Join With Us */
.home-info-row {
	padding: 56px 0;
	background: #fff;
	border-top: 1px solid var(--bt-border);
}
.home-info-col-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-bottom: 2px solid var(--bt-border);
	padding-bottom: 10px;
	margin-bottom: 18px;
}
.home-info-col-head h3 {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1px;
	color: var(--bt-navy);
	margin: 0;
}
.home-info-viewall {
	font-size: 12px;
	font-weight: 500;
	color: var(--bt-accent);
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.home-info-viewall:hover { color: var(--bt-primary-dark); }

.home-pub-item,
.home-event-item {
	display: flex;
	gap: 12px;
	margin-bottom: 18px;
}
.home-pub-item:last-child,
.home-event-item:last-child { margin-bottom: 0; }
.home-pub-cover {
	flex-shrink: 0;
	width: 64px;
	height:100%;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: var(--bt-shadow);
}
.home-pub-cover img { width: 100%; height: auto; display: block; }
.home-pub-details h4,
.home-event-details h4 {
	font-size: 12px;
	line-height: 1.3;
	margin: 0 0 4px;
}
.home-pub-details h4 a,
.home-event-details h4 a { color: var(--bt-navy); }
.home-pub-details h4 a:hover,
.home-event-details h4 a:hover { color: var(--bt-primary); }
.home-pub-details p {
	font-size: 12.5px;
	color: var(--bt-muted);
	margin: 0;
}
.home-event-badge {
	flex-shrink: 0;
	width: 52px;
	text-align: center;
	background: var(--bt-primary);
	color: #fff;
	border-radius: var(--bt-radius);
	padding: 8px 0;
	line-height: 1.1;
	height: fit-content;
}
.home-event-badge-month {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 700;
	opacity: 0.85;
}
.home-event-badge-day {
	display: block;
	font-size: 20px;
	font-weight: 800;
}
.home-event-meta {
	font-size: 12px;
	color: var(--bt-muted);
	margin: 0 0 2px;
}
.home-event-register {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: var(--bt-accent);
	padding: 6px 14px;
	border-radius: 999px;
}
.home-event-register:hover {
	background: var(--bt-primary-dark);
	color: #fff;
}

.home-link-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--bt-border);
}
.home-link-item:last-child { border-bottom: 0; padding-bottom: 0; }
.home-link-item:first-child { padding-top: 0; }
.home-link-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bt-bg);
	color: var(--bt-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
}
.home-link-text {
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--bt-text);
}
a.home-link-text:hover { color: var(--bt-primary); }

/* Stats bar */
.home-stats-bar {
	background: var(--bt-primary);
	color: #fff;
	padding: 28px 0;
}
.home-stats-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.home-stat-col { flex: 1 1 auto; }
.home-stat-item {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	justify-content: center;
}
.home-stat-icon {
	grid-row: 1 / 3;
	font-size: 26px;
	opacity: 0.9;
}
.home-stat-value {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}
.home-stat-label {
	font-size: 12.5px;
	opacity: 0.85;
}
@media (max-width: 767.98px) {
	.home-stats-row { justify-content: center; text-align: left; }
	.home-stat-col { flex: 0 0 50%; max-width: 50%; }
}

/* Header hero boxes (replaces the old full-width slider) */
.header-boxes {
	padding: 28px 0;
	background: var(--bt-bg);
}
.header-box-col { margin-bottom: 0; }
.header-box {
	display: block;
	border-radius: var(--bt-radius);
	overflow: hidden;
	box-shadow: var(--bt-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	background: #fff;
}
.header-box:hover {
	transform: translateY(-4px);
	box-shadow: var(--bt-shadow-hover);
}
.header-box img { width: 100%; height: auto; display: block; }
.header-box a { display: block; }
.header-box-title {
	font-size: 15px;
	margin: 0;
	padding: 12px 14px;
}

/* ---------------------------------------------------------------------- */
/* Post loop / cards                                                      */
/* ---------------------------------------------------------------------- */
.post-view.articles {
	display: flex;
	gap: 18px;
	padding: 20px 0;
	border-bottom: 1px solid var(--bt-border);
}
.post-view.articles:last-child { border-bottom: 0; }
.post-view .meta-date {
	flex: 0 0 60px;
	text-align: center;
	background: var(--bt-bg);
	border-radius: var(--bt-radius);
	padding: 10px 4px;
	color: var(--bt-primary);
	height: fit-content;
}
.post-view .meta-date strong { display: block; font-size: 20px; line-height: 1.1; }
.post-view .meta-date { font-size: 12px; text-transform: uppercase; }
.post-view .post-thumbs img { border-radius: var(--bt-radius); margin: 10px 0; }
.post-view .heading { font-size: 19px; margin-bottom: 6px; }
.post-view .heading a { color: var(--bt-navy); }
.post-view .heading a:hover { color: var(--bt-primary); }
.entry-more .more-link {
	font-weight: 600;
	font-size: 13.5px;
}

/* ---------------------------------------------------------------------- */
/* Sidebar widgets                                                        */
/* ---------------------------------------------------------------------- */
.widget.card {
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	box-shadow: none;
}
.widget-title,
.widget .card-title {
	font-size: 16px;
	border-bottom: 2px solid var(--bt-primary);
	padding-bottom: 10px;
	display: inline-block;
}
.side-indent .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.side-indent .widget ul li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--bt-border);
}
.side-indent .widget ul li:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.footer-widgets {
	background: var(--bt-navy);
	color: rgba(255, 255, 255, 0.75);
	padding: 48px 0 24px;
}
.footer-widgets a { color: rgba(255, 255, 255, 0.75); }
.footer-widgets a:hover { color: #fff; }
.footer-widget-title,
.footer-widgets h3 {
	color: #fff;
	font-size: 16px;
	margin-bottom: 16px;
	position: relative;
	padding-bottom: 10px;
}
.footer-widget-title::after,
.footer-widgets h3::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	background: var(--bt-primary);
	border-radius: 3px;
}
.footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.footer-widgets ul li { padding: 5px 0; }
.footer-line { margin: 0 0 8px; font-size: 14px; }

#footer {
	background: #182029;
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
	padding: 16px 0;
}
#footer .copyright-text a { color: rgba(255, 255, 255, 0.8); }
.copyright-social .social-title { margin-right: 10px; }
.copyright-social .social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgb(255, 255, 255);
	margin-left: 6px;
	color: rgba(255, 255, 255, 0.8);
}
.copyright-social .social-link:hover { background: var(--bt-primary); color: #fff; }

/* ---------------------------------------------------------------------- */
/* Pagination                                                              */
/* ---------------------------------------------------------------------- */
.pagi {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 24px;
}
.pagi .page-total {
	font-size: 13px;
	color: var(--bt-muted);
}
.pagi ul,
.wp-pagenavi {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
}
.pagi ul li a,
.pagi ul li span,
.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border-radius: 8px;
	border: 1px solid var(--bt-border);
	color: var(--bt-text);
	font-size: 13.5px;
}
.pagi ul li a:hover,
.wp-pagenavi a:hover {
	border-color: var(--bt-primary);
	color: var(--bt-primary);
}
.pagi ul li.current span,
.wp-pagenavi span.current {
	background: var(--bt-primary);
	border-color: var(--bt-primary);
	color: #fff;
}

/* ---------------------------------------------------------------------- */
/* Comments                                                                */
/* ---------------------------------------------------------------------- */
.comments-area { margin-top: 40px; }
#comments-title { font-size: 20px; margin-bottom: 20px; }
.commentlist { list-style: none; margin: 0 0 24px; padding: 0; }
.commentlist li {
	padding: 16px 0;
	border-bottom: 1px solid var(--bt-border);
}
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea,
.search-form input[type="search"],
.widget input[type="text"],
.widget input[type="email"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	font-family: var(--bt-font-body);
	font-size: 14px;
	margin-bottom: 12px;
	background: #fff;
	color: var(--bt-text);
}
#commentform input:focus,
#commentform textarea:focus,
.search-form input:focus {
	outline: none;
	border-color: var(--bt-primary);
	box-shadow: 0 0 0 3px rgba(15, 116, 186, 0.15);
}
#commentform textarea { min-height: 140px; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.button,
.btn-normal,
#commentform #submit,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--bt-primary);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	text-decoration: none;
}
.button:hover,
.btn-normal:hover,
#commentform #submit:hover,
input[type="submit"]:hover {
	background: var(--bt-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

/* ---------------------------------------------------------------------- */
/* Journals archive / category pages                                      */
/* ---------------------------------------------------------------------- */
.cat-page-menu { margin: 12px 0 24px; }
.cat-page-menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.cat-page-menu ul li a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--bt-navy);
	color: var(--bt-border);
	font-size: 13.5px;
}
.cat-page-menu ul li a:hover { background: var(--bt-primary); color: #fff; }
.breadcrumb-journals {
	font-size: 13px;
	color: var(--bt-muted);
	margin-bottom: 18px;
}
.journals-archive .journal-item {
	padding: 18px 0;
	border-bottom: 1px solid var(--bt-border);
}
.journals-archive .journal-item h6 { font-size: 17px; margin-bottom: 6px; }
.journal-item .author { color: var(--bt-muted); font-size: 13.5px; margin-bottom: 6px; }
.journal-item .journals-doc-links a { font-weight: 600; font-size: 13.5px; }
.journa-cat-nav .widget_nav_menus_li,
.journa-cat-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.journa-cat-nav ul li a {
	display: block;
	padding: 9px 14px;
	border-radius: var(--bt-radius);
	margin-bottom: 6px;
	background: var(--bt-primary);
	color: var(--bt-border);
	font-size: 14px;
}
.journa-cat-nav li {
    display: inline-block;
}

.journa-cat-nav ul li a:hover { background: var(--bt-navy); color: #fff; }

/* Single journal article */
.journal-desc { margin-top: 16px; line-height: 1.8; }

/* ---------------------------------------------------------------------- */
/* Legacy [section]/[row]/[column] shortcodes                             */
/* ---------------------------------------------------------------------- */
.container-section { padding: 40px 0; }
.one-third, .two-third, .one-half, .one-fourth, .three-fourth {
	margin-bottom: 20px;
}
.parallax-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

/* Reveal-on-scroll for [data-animate] elements - see assets/js/theme.js */
[data-animate] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view {
	opacity: 1;
	transform: translateY(0);
}

/* ---------------------------------------------------------------------- */
/* 404 / search                                                            */
/* ---------------------------------------------------------------------- */
.error404 .display-1 {
	font-size: 96px;
	color: var(--bt-primary);
	font-weight: 800;
}
.titleBar { color: var(--bt-muted); font-weight: 400; margin-bottom: 24px; }
.page_title { margin-top: 20px; }
.page_title_two p { margin-bottom: 6px; }

/* ---------------------------------------------------------------------- */
/* Responsive                                                              */
/* ---------------------------------------------------------------------- */
@media (max-width: 767.98px) {
	h1, .heading { font-size: 26px; }
	.brtheme-navbar { padding: 8px 0; }
	.post-view.articles { flex-direction: column; }
	.post-view .meta-date { flex-direction: row; gap: 8px; text-align: left; width: fit-content; }
	.home-highlights{margin-top:20px;}
	.col-6.home-highlight-col{width:100%;}
}
