/* ========== TOP BAR ========== */
.wp-block-group.top-bar {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 20px;
	background-color: #f5f5f5;
	margin-left: 0;
	margin-right: 0;
}

.wp-block-group.top-bar .wp-block-columns {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 1;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	max-width: 100% !important;
}

.wp-block-group.top-bar .wp-block-column {
	flex: 0 1 50%;
	display: flex;
	align-items: center;
}

.wp-block-group.top-bar .wp-block-column:first-child {
	justify-content: flex-start;
	text-align: left;
}

.wp-block-group.top-bar .wp-block-column:first-child p {
	font-size: 14px !important;
}

.wp-block-group.top-bar .wp-block-social-links {
	justify-content: flex-end;
	gap: 14px;
	width: 100%;
}

.top-bar {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.top-bar > * {
	margin-bottom: 15px !important;
	padding-bottom: 0 !important;
}

/* ========== SOCIAL ICONS: TOP BAR ========== */
.topbar-social .wp-social-link svg {
	width: 22px;
	height: 22px;
	transition: fill .3s ease;
	fill: #a0522d;
}

.topbar-social .wp-social-link:hover svg {
	fill: #d2691e;
}

/* ========== SOCIAL ICONS: SIDEBAR ========== */
.sidebar-social .wp-social-link svg {
	width: 22px;
	height: 30px;
	transition: fill .3s ease;
	fill: #a0522d;
}

.sidebar-social .wp-social-link:hover svg {
	fill: #d2691e;
}

.sidebar-social p,
.sidebar-social span,
.sidebar-social a,
.sidebar-social li,
.sidebar-social h1,
.sidebar-social h2,
.sidebar-social h3,
.sidebar-social h4,
.sidebar-social h5,
.sidebar-social h6 {
	font-size: 15.5px !important;
}

/* ========== MISC ========== */
.wp-block-separator {
	width: 90%;
}

footer a {
	font-size: 14px;
}

.footnote-box {
	background-color: rgba(188, 108, 37, 0.1);
/* Transparent version of #bc6c25 */
	border-left: 4px solid #bc6c25;
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
	border-radius: .5rem;
	font-size: .95rem;
	line-height: 1.6;
}

.table-box {
	background-color: rgba(188, 108, 37, 0.15);
/* transparent version of bc6c25 */
	border: px solid #bc6c25;
	padding: .25rem;
	border-radius: 2px;
}

.book-buttons a {
	display: inline-block;
	background-color: #606c38;
	color: #f0f0d8;
	padding: .6em 1.2em;
	border-radius: 999px;
	text-decoration: none;
	font-weight: normal;
	transition: background-color .3s ease, color .3s ease;
}

.book-buttons a:hover {
	background-color: #4a5528;
	color: #f0f0d8;
}

/* Custom Table of Contents Styling */
.custom-toc {
	background-color: rgba(188, 108, 37, 0.1);
	padding: 1rem 2.5rem;
	border-radius: .5rem;
	font-size: 1rem;
	line-height: 1.6;
	list-style-type: lower-roman;
	overflow: hidden;
}

.custom-toc ol {
	list-style-type: lower-roman;
	padding-left: 1.5rem;
	margin: 0;
}

.custom-toc a {
	text-decoration: none;
	color: inherit;
}

.custom-toc a:hover {
	text-decoration: underline;
}

.custom-toc li li {
	padding-left: .75rem;
}

.home .wp-block-post-title {
	font-size: 2.4rem !important;
	line-height: 1.3 !important;
}

.wp-block-query-is-layout-flow .wp-block-post-title {
	font-size: 1.2rem !important;
	line-height: 1.3 !important;
}

/* Sidebar Recent Posts – prevent words from breaking */
.wp-block-query-is-layout-flow .wp-block-post-title a {
	word-break: normal;
	overflow-wrap: break-word;
}

.wp-block-navigation__container {
	display: flex;
	justify-content: center;
/* centers everything evenly */
	gap: 6rem;
/* adjust spacing between items */
}

@media (max-width: 768px) {
	body.page-id-1 .entry-content,
					  body.page-about .entry-content,
					  body.page-id-1 p,
					  body.page-about p {
		max-width: 100% !important;
		width: auto !important;
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		box-sizing: border-box !important;
		text-align: left !important;
	}
}

	
}

.main-nav {
	flex-wrap: nowrap;
	gap: 1rem;
	justify-content: space-between;
	white-space: nowrap;
}

.wp-block-navigation__submenu-container {
	background-color: #bc6c25;
	border-radius: 6px;
	padding: .5em 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wp-block-navigation__submenu-container a {
	font-size: .9rem;
	color: #023047;
	padding: .4em 1em;
	transition: all .2s ease;
}

.wp-block-navigation__submenu-container a:hover {
	background-color: #dda15e;
	color: #fff;
}

.page-id-770 .wp-block-post-title {
	display: none;
	margin: 0;
	padding: 0;
}

.wp-block-query .wp-block-post-title {
	display: block !important;
}