/* Color Scheme Variables */
:root {
    /* Get the current color scheme from Site Params *//* Use the selected scheme's colors */
    --color-primary: #8b4513;
    --color-secondary: #a0522d;
    --color-background: #f5f5dc;
    --color-text: #654321;
    --color-header-bg: #fff8dc;
    --color-footer-bg: #fff8dc;
    --color-accent: #d4a76a;
    --color-border: #deb887;
    --color-card-bg: #fff8dc;
    --color-text-muted: <no value>;
    --color-widget-bg: #faebd7;
    --color-code-bg: #ffe4c4;
    --color-code-border: #deb887;
    --color-code-text: <no value>;
    --color-code-block-text: <no value>;
    --color-kbd-bg: #8b4513;
    --color-kbd-text: <no value>;
    --color-warning-border: #cd853f;
    --color-warning-icon: #cd853f;
    --color-shadow: <no value>;
    --color-border-hover: #c19a6b;
    --color-overlay-start: rgba(139,69,19,0.9);
    --color-overlay-end: rgba(139,69,19,0);
    --color-overlay-hover-start: rgba(212, 167, 106, 0.9);
    --color-overlay-hover-end: rgba(212, 167, 106, 0.1);
    --color-text-shadow: rgba(139,69,19,0.5);
}

:focus::-webkit-input-placeholder {
	color: transparent;
}

:focus::-moz-placeholder {
	color: transparent;
}

:focus:-moz-placeholder {
	color: transparent;
}

:focus:-ms-input-placeholder {
	color: transparent;
}

/* Structure */
html {
	font-size: 100%;
	-ms-text-size-adjust: none;
	-webkit-text-size-adjust: none;
}

body {
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-size: .875rem;
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.6;
    word-wrap: break-word;
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
    padding-top: 20px;
}

.container {
	position: relative;
	width: 100%;
	max-width: 1080px; /* Increased from 1080px to 1200px */
	margin: 0 auto;
	padding: 0 20px; /* Added padding for better responsiveness */
}

.container--outer {
	max-width: 1200px; /* Standard width */
	margin: 0 auto;
	padding: 0 20px;
}

.wrapper {
	padding: 25px;
}

.flex {
	display: -webkit-flex;
	display: flex;
}

.primary {
    -webkit-flex: 1 0 73%; /* Increased from 65.83% */
    flex: 1 0 73%;
    -webkit-order: 1;
    order: 1;
    min-width: 0;
}

.sidebar {
    -webkit-flex: 1 0 24%; /* Decreased from 31.66% */
    flex: 1 0 24%;
    -webkit-order: 2;
    order: 2;
    min-width: 0;
    margin: 0 0 0 3%; /* Slightly increased margin for better separation */
}

.sidebar--left {
	-webkit-order: 0;
	order: 0;
	margin: 0 2.5% 0 0;
}

.clearfix {
	display: block;
}

.clearfix::after {
	display: block;
	height: 0;
	padding: 0;
	margin: 0;
	clear: both;
	line-height: 0;
	visibility: hidden;
	content: "";
}

input,
button,
select,
optgroup,
textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

/* Button */
.btn {
	padding: 5px 10px;
	font-weight: 700;
	color: var(--color-text);
	white-space: pre-line;
	background: var(--color-primary);
}

.btn:hover {
	color: var(--color-text);
	background: var(--color-accent);
}

/* Animation */
.menu__item,
.btn {
	transition: background-color .25s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 20px;
	margin: 0 0 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-text);
}

h1 {
	font-size: 32px;
	font-size: 2rem;
}

h2 {
	font-size: 24px;
	font-size: 1.5rem;
}

h3 {
	font-size: 20px;
	font-size: 1.25rem;
}

h4 {
	font-size: 18px;
	font-size: 1.125rem;
}

h5 {
	font-size: 16px;
	font-size: 1rem;
}

h6 {
	font-size: 16px;
	font-size: 1rem;
}

a {
	color: var(--color-primary);
	text-decoration: none;
}

a:hover {
	color: var(--color-accent);
}

hr {
	margin: 0 0 20px;
	border: 0;
	border-top: 1px solid var(--color-border);
}

p {
	margin: 0 0 20px;
	margin: 0 0 1.25rem;
}

b,
strong {
	font: inherit;
	font-weight: 700;
}

i,
em {
	font: inherit;
	font-style: italic;
}

ol,
ul {
	padding: 0;
	margin: 0;
}

small {
	font-size: 12px;
	font-size: .75rem;
}

mark {
	background-color: #fd5;
}

figure {
	margin: 0 0 20px;
	margin: 0 0 1.25rem;
}

figcaption {
	margin-top: 4px;
	margin-top: .25rem;
	color: #666;
}

figcaption h4 {
	margin: 0;
	color: inherit;
}

pre,
code,
kbd,
samp {
	font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: inherit;
}

pre,
code {
    background-color: var(--color-code-bg);
    border: 1px solid var(--color-code-border);
}

code {
    padding: 0 5px;
    color: var(--color-code-text);
}

pre {
    display: block;
    padding: 0;
    padding: 1.25rem;
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
    overflow: auto;
    color: var(--color-code-block-text);
}

pre code {
    padding: 0;
    color: inherit;
    white-space: inherit;
    background: inherit;
    border: 0;
}

kbd {
    padding: 2px 3px;
    color: var(--color-kbd-text);
    background-color: var(--color-kbd-bg);
}

blockquote {
	display: block;
	padding: 5px 0 5px 15px;
	margin: 0 0 20px;
	margin: 0 0 1.25rem;
	line-height: 1.6;
	border-left: 5px solid var(--color-accent);
}

blockquote p:last-child {
	margin: 0;
}

blockquote footer {
	text-align: right;
}

sup,
sub {
	font-size: 10px;
	font-size: .625rem;
	font-style: normal;
}

sup {
	vertical-align: super;
}

sub {
	vertical-align: sub;
}

abbr[title] {
	text-decoration: none;
	cursor: help;
	border-bottom: 1px dotted #000;
}

q {
	font-style: italic;
}

address {
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	font-family: "Consolas", Courier New, Courier, monospace;
	line-height: 1.5;
}

dl {
	margin: 0 0 10px 20px;
}

dt,
dd {
	display: list-item;
}

dt {
	font-weight: bold;
	list-style-type: square;
}

dd {
	margin-left: 20px;
	list-style-type: circle;
}

select {
	max-width: 100%;
}

.warning {
	padding: 20px 10px;
	text-align: center;
	border: 1px solid var(--color-warning-border);
}

.warning__icon {
	margin-bottom: 20px;
	fill: var(--color-warning-icon);
}

/* Header */
.header {
	background-color: var(--color-header-bg);
	box-shadow: 0 2px 10px var(--color-shadow);
	position: relative;
	z-index: 1000;
}

.header__container {
	max-width: 1160px; /* 1200px - 40px padding */
	margin: 0 auto;
	padding: 0;
}

.container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 15px;
}

.container--outer {
	max-width: 1400px;
	height: 100%;
	padding: 0;
}

.wrapper {
	padding: 25px 0;
}

.logo {
	padding: 25px;
}

.logo__link {
	display: inline-block;
	transition: transform 0.3s ease;
}

.logo__item {
	display: inline-block;
	vertical-align: middle;
}

.logo__img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 6px var(--color-shadow);
    transition: all 0.3s ease;
    max-height: none;
}

.logo--mixed .logo__item {
    margin: .5rem auto;
}

.logo--mixed .logo__img {
    max-width: 160px;
    max-height: 160px;
}

/* Remove or comment out this rule as it's conflicting with the larger size */
/* .logo__img {
    max-height: 40px;
} */

.logo--mixed .logo__text {
    padding: 0 1rem;
}

.logo__title {
    font-size: 36px;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-text);
}

.logo__tagline {
    display: inline-block;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
    border-top: 1px solid var(--color-border);
}

.divider {
	height: 5px;
	margin: 0;
	background: var(--color-accent);
	border: 0;
}

/* Main menu */
.no-js .menu__btn {
	display: none;
}

.menu__btn {
    display: block;
    width: 100%;
    padding: 0;
    font: inherit;
    color: var(--color-text);          /* Changed from #fff */
    background: var(--color-primary);   /* Changed from #2a2a2a */
    border: 0;
    outline: 0;
}

/* Add hover state for better interaction */
.menu__btn:hover {
    background: var(--color-accent);
    color: var(--color-text);
}

.menu__btn-title {
	position: relative;
	display: block;
	padding: 10px 15px;
	padding: .625rem .9375rem;
	font-weight: 700;
	text-align: right;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

:focus > .menu__btn-title {
	box-shadow: inset 0 0 1px 3px var(--color-accent);
}

button:not(:-moz-focusring):focus > .menu__btn-title {
	box-shadow: none;
}

.menu__btn:focus,
.menu__btn-title:focus {
	outline: 0;
}

.js .menu__btn--active {
	color: var(--color-accent);
}

.menu__list {
	list-style: none;
	margin-bottom: 0;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu__item:hover {
	background: transparent;
}

.menu__item:first-child {
	border: 0;
}



.menu__link {
	display: block;
	padding: 10px 15px;
	padding: .625rem .9375rem;
	font-weight: 700;
	color: var(--color-menuText);
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	transition: color 0.3s ease;
	position: relative;
}

.menu__link:hover {
	color: var(--color-menuText);
}

.menu__link::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 50%;
	background-color: var(--color-accent);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.menu__link:hover::after {
	width: 100%;
}

.js .menu__list {
	position: absolute;
	z-index: 1;
	width: 100%;
	visibility: hidden;
	-webkit-transform: scaleY(0);
	transform: scaleY(0);
	-webkit-transform-origin: top left;
	transform-origin: top left;
}

.js .menu__list--active {
	visibility: visible;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	-webkit-transform: scaleY(1);
	transform: scaleY(1);
}

.menu__list--transition {
	transition: visibility .15s ease, transform .15s ease, -webkit-transform .15s ease;
}

@media screen and (min-width: 767px) {
	.header__container {
		padding: 10px 0;
	}

	.menu {
		border-bottom: none; /* Remove the bottom border */
	}

	.menu__btn {
		display: none;
	}

	.menu__list,
	.js .menu__list {
		position: relative;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: nowrap; /* Changed from wrap to nowrap */
		flex-wrap: nowrap;
		-webkit-justify-content: flex-end; /* Align items to the right */
		justify-content: flex-end;
		visibility: visible;
		border: 0;
		-webkit-transform: none;
		transform: none;
	}

	.menu__item {
		border-left: none; /* Remove the left border */
		margin-left: 20px; /* Add some space between menu items */
	}

	.menu__item:first-child {
		margin-left: 0; /* Remove left margin for the first item */
	}

	.menu__link {
		padding: 5px 0; /* Adjust padding to reduce height */
	}
}

/* Add styles for mobile view */
@media screen and (max-width: 766px) {
	.header__container .row {
		flex-direction: column;
	}

	.menu__list {
		flex-direction: column;
		align-items: center;
		padding-top: 10px;
	}

	.menu__item {
		margin-bottom: 10px;
	}
}

/* Posts/Pages */
.post__header,
.main__header {
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
}

.main__title {
	font-size: 28px;
	font-size: 1.75rem;
}

.main__content {
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
}

.meta {
	font-size: 13px;
	font-size: .8125rem;
	vertical-align: baseline;
}

.meta,
.meta a {
	color: var(--color-text-muted);
}

.meta a:hover {
	color: var(--color-accent);
}

.meta__item {
	display: inline;
	margin-left: 15px;
}

.meta__item:first-child {
	margin-left: 0;
}

.meta__icon {
	margin-right: 5px;
	vertical-align: middle;
	fill: var(--color-text-muted);
}

.meta__text {
	vertical-align: middle;
}

.post__title {
	margin: 0;
}

.post__meta {
	padding: 5px 0;
	margin-top: 10px;
	margin-top: .625rem;
	border-top: 1px dotted var(--color-border);
	border-bottom: 1px dotted var(--color-border);
}

.post__lead {
	margin-top: 4px;
	margin-top: .25rem;
	margin-bottom: 0;
	font-size: 16px;
	font-size: 1rem;
	font-style: italic;
}

.post__thumbnail {
	max-width: 1030px;
	margin: 0 0 20px;
	margin-bottom: 0 0 1.25rem;
}

.post__thumbnail img {
	width: 100%;
}

.content a,
.warning a,
.authorbox__description a {
	font-weight: 700;
	color: var(--color-accent);
}

.content a:hover,
.warning a:hover,
.authorbox__description a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

.content .alignnone {
	display: block;
	margin: 20px 0;
	margin: 1.25rem 0;
}

.content .aligncenter {
	display: block;
	margin: 20px auto;
	margin: 1.25rem auto;
}

.content .alignleft {
	display: inline;
	float: left;
	margin: 5px 20px 20px 0;
	margin: .3125rem 1.25rem 1.25rem 0;
}

.content .alignright {
	display: inline;
	float: right;
	margin: 5px 0 20px 20px;
	margin: .3125rem 0 1.25rem 1.25rem;
}

.content ul {
	list-style: square;
}

.content ol {
	list-style: decimal;
}

.content ul,
.content ol {
	margin: 0 0 20px 40px;
}

.content ul ul,
.content ol ol,
.content ol ul,
.content ul ol {
	margin: 0 0 0 40px;
}

.content li {
	margin-bottom: 5px;
}

.post__footer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
}

/* Post tags */
.tags {
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	font-size: 12px;
	font-size: .75rem;
	line-height: 1;
	color: var(--color-text);
}

.tags__list {
	list-style: none;
}

.tags__item {
	float: left;
	margin: 0 6px 6px 0;
	margin: 0 .375rem .375rem 0;
	text-transform: uppercase;
	background: var(--color-primary);
}

.tags__item:hover {
	background: var(--color-accent);
}

.tags__link,
.tags__link:hover {
	display: block;
	padding: 10px 15px;
}

.tags__badge {
	float: left;
	width: 32px;
	height: 32px;
	padding: 8px;
	margin-right: 6px;
	background: var(--color-accent);
	fill: var(--color-text);
}

/* Table of Contents */
.toc {
	margin-bottom: 20px;
	font-weight: 700;
	color: var(--color-text);
	background: var(--color-card-bg);
	border-color: var(--color-border);
	border-style: solid;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 0;
	border-left-width: 1px;
}

.toc__title {
	padding: 5px 10px;
	color: var(--color-text);
	text-transform: uppercase;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	background: var(--color-primary);
}

.toc__menu ul {
	margin: 0;
	list-style: none;
}

.toc__menu li li a {
	padding-left: 25px;
}

.toc__menu li li li a {
	padding-left: 45px;
}

.toc__menu li li li li a {
	padding-left: 65px;
}

.toc__menu li li li li li a {
	padding-left: 85px;
}

.toc__menu li li li li li li a {
	padding-left: 105px;
}

.toc__menu li {
	margin: 0;
}

.toc__menu a {
	display: block;
	padding: 5px 10px;
	color: var(--color-primary);
	border-bottom: 1px solid var(--color-border);
}

.toc__menu a:hover {
	text-decoration: underline;
}

/* Author Box */
.authorbox {
	padding: 25px 0;
	margin-bottom: 25px;
	line-height: 1.5;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.authorbox__avatar {
	float: left;
	padding: 3px;
	margin: 0 25px 0 0;
	border: 1px solid var(--color-border);
}

.authorbox__header {
	margin-bottom: 10px;
}

.authorbox__name {
	font-size: 16px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-text);
}

/* List content */
.list__item {
	padding-bottom: 20px;
	padding-bottom: 1.25rem;
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid var(--color-border);
}

.list__header {
	margin-bottom: 10px;
	margin-bottom: .625rem;
}

.list__title {
	font-size: 20px;
	font-size: 1.25rem;
}

.list__meta {
	margin-top: 5px;
}

.list__thumbnail {
	float: left;
	margin: 0 20px 0 0;
}

.list__thumbnail img {
	width: 100%;
	max-width: 235px;
}

.list__footer-readmore {
	float: right;
	margin-top: 10px;
}

/* Pagination */
.pagination {
	margin-top: 20px;
}

.pagination__item {
	display: inline-block;
	padding: 10px 15px;
	font-weight: 700;
	color: var(--color-text);
	background: var(--color-widget-bg);
}

.pagination__item:hover,
.pagination__item--current {
	color: var(--color-text);
	background: var(--color-accent);
}

/* Pager (prev/next links) navigation */
.pager {
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding-top: 25px;
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid var(--color-border);
}

.pager__subtitle {
	display: block;
	margin-bottom: 5px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.pager__title {
	margin-bottom: 0;
	overflow: hidden;
	font-size: 13px;
	font-size: .8125rem;
}

.pager__item {
	-webkit-flex: 1 1 50%;
	flex: 1 1 50%;
	max-width: 48%;
}

.pager__item--next {
	margin-left: auto;
	text-align: right;
}

.pager__link {
	display: block;
}

/* Images / Video */
img {
	width: auto\9; /* ie8 */
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

iframe,
embed,
object,
video {
	max-width: 100%;
}

/* Table */
table {
	width: 100%;
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	border-spacing: 0;
	border-collapse: collapse;
	border-top: 1px solid var(--color-border);
	border-left: 1px solid var(--color-border);
}

td,
th {
	padding: 5px 10px;
	border-right: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

th {
	font-weight: 700;
}

/* Forms */
input {
	padding: 5px;
	font-size: 12px;
	vertical-align: middle;
	background: var(--color-widget-bg);
	border: 1px solid var(--color-border);
	transition: all .25s ease-in-out;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=url] {
	width: 60%;
}

input[type=text]:hover,
input[type=email]:hover,
input[type=tel]:hover,
input[type=url]:hover,
textarea:hover {
	border: 1px solid var(--color-border-hover);
}

input[type=submit],
input[type=reset] {
	display: inline-block;
	min-width: 150px;
	padding: 10px 15px;
	font-weight: 700;
	color: var(--color-text);
	text-transform: uppercase;
	cursor: pointer;
	background: var(--color-primary);
	border: 0;
	transition: all .1s linear;
	-webkit-appearance: none;
}

input[type=submit]:hover,
input[type=reset]:hover {
	background: var(--color-accent);
}

textarea {
	width: 96%;
	padding: 5px;
	overflow: auto;
	line-height: 1.5;
	resize: vertical;
	background: var(--color-widget-bg);
	border: 1px solid var(--color-border);
}

/* Widgets */
.widget {
	margin-bottom: 25px;
	overflow: hidden;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget__title {
	position: relative;
	padding-bottom: 5px;
	font-size: 16px;
	font-size: 1rem;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
}

.widget__item {
	display: block;
	padding: 5px 0;
	border-bottom: 1px dotted var(--color-border);
}

.widget__item:first-child {
	padding-top: 0;
}

.widget__counter--bubble {
	display: inline-block;
	padding: 0 6px;
	font-size: .75rem;
	color: var(--color-text-muted);
	text-align: center;
	background: var(--color-widget-bg);
	border-radius: 2em;
}

/* Search widget */
.widget-search__form {
	display: block;
	padding: 5%;
	margin: 0 auto;
	background: var(--color-widget-bg);
}

.widget-search__form .widget-search__submit {
	display: none;
}

.widget-search__field {
	position: relative;
	display: block;
	width: 90%;
	padding: 8px;
	margin: 0 auto;
	font-size: 11px;
	cursor: pointer;
	background: var(--color-card-bg);
	border: 1px solid var(--color-border);
	border-radius: 0;
	outline-offset: -2px;
	transition: none;
	-webkit-appearance: none;
}

.widget-search__field:active,
.widget-search__field:focus {
	cursor: text;
}

/* Social widget */
.widget-social__item {
	padding: 0;
	border: 0;
}

.widget-social__link {
	display: block;
	margin: 0 0 8px;
	white-space: normal;
}

.widget-social__link-icon {
	margin: 0 5px 0 0;
	vertical-align: middle;
	fill: var(--color-text);
}

/* Tags Widget */
.widget-taglist__link {
	display: inline-block;
	margin: 0 4px 8px 0;
	font-size: 12px;
	text-transform: uppercase;
}

/* Languages Widget */
.widget-languages__link {
	display: block;
}

.widget-languages__link:hover .widget-languages__link-btn {
	color: var(--color-text);
	background: var(--color-accent);
}

.widget-languages__link-btn {
	display: inline-block;
}

/* Footer */
.footer {
	background-color: var(--color-footer-bg) !important;
    color: var(--color-footer-text);
    padding: 40px 0 20px;
    font-size: 14px;
	/* Remove the following line */
	/* border-top: 3px solid #999; */
}

.footer__container {
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.footer__links {
	-webkit-order: 1;
	order: 1;
}

.footer a {
	color: var(--color-text);
}

.footer a:hover {
	text-decoration: underline;
}

/* Media Queries */
@media screen and (max-width: 1475px) {
	.container--outer {
		width: 95%;
	}
}

@media screen and (min-width: 1476px) {
	.container--outer {
		width: 1400px; /* Increased from the previous value */
	}
}

@media screen and (max-width: 900px) {
	.container--outer {
		width: 100%;
		margin: 0 auto;
	}

	.wrapper,
	.logo {
		padding: 20px;
	}

	.widget {
		margin-bottom: 20px;
	}

	.footer__container {
		display: block;
	}

	.footer__links {
		padding-bottom: 8px;
		padding-bottom: 0.5rem;
		text-align: center;
	}

	.footer__copyright {
		text-align: center;
	}
}

@media screen and (max-width: 767px) {
	.wrapper {
		display: block;
	}

	.sidebar {
		float: none;
		width: 100%;
		margin: 0;
	}

	.logo {
		text-align: center;
	}

	.logo__link {
		margin: 0 auto;
	}

	.logo__title {
		font-size: 24px;
		font-size: 1.5rem;
	}

	.sidebar {
		margin-top: 20px;
	}
}

@media screen and (max-width: 620px) {
	input[type=text],
	input[type=email],
	input[type=tel],
	input[type=url] {
		width: 88%;
	}

	.meta__item {
		display: block;
		margin-left: 0;
	}

	.authorbox {
		text-align: center;
	}

	.authorbox__avatar {
		display: inline-block;
		float: none;
		margin: 0 0 20px;
	}

	.pager {
		display: block;
	}

	.pager__item {
		min-width: 100%;
		text-align: center;
	}

	.pager__item--prev {
		padding-bottom: 25px;
	}

	.content ul,
	.content ol {
		margin: 0 0 20px 20px;
	}

	.content ul ul,
	.content ol ol,
	.content ol ul,
	.content ul ol {
		margin: 0 0 0 20px;
	}

	.list__thumbnail {
		max-width: 80px;
	}

	.list__title {
		font-size: 16px;
		font-size: 1rem;
	}

	.list__lead {
		font-size: 14px;
		font-size: .875rem;
	}

	.list__meta {
		display: block;
		font-size: 11px;
		font-size: .6875rem;
	}
}

/* Add this at the end of your CSS file or in a custom CSS file */

.header {
    background-color: var(--color-header-bg);
    padding: 10px 0;
}

.header__container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.menu__list {
    margin-bottom: 0;
}

.menu__link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

.menu__link:hover {
    color: var(--color-accent);
}



.menu {
    margin-left: 30px; /* Add space between logo and menu items */
}

.menu__item {
    margin-left: 20px; /* Space between menu items */
}

.menu__item:first-child {
    margin-left: 0; /* Remove left margin for the first item */
}

@media (max-width: 767px) {
    .header__container > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        margin-top: 10px;
        margin-left: 0;
    }

    .menu__list {
        flex-direction: column;
    }

    .menu__item {
        margin-left: 0 !important;
        margin-bottom: 10px;
    }
}

/* Header search styles */
.header-search {
    position: relative;
    margin-left: 20px;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: var(--color-accent);
}

#search-form {
    position: absolute;
    right: 0;
    top: 100%;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    background: var(--color-card-bg);
    box-shadow: 0 2px 5px var(--color-shadow);
    border-radius: 4px;
}

#search-form.active {
    width: 250px;
}

.header-search__input {
    width: 100%;
    padding: 8px 40px 8px 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
}

.header-search__submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
}

.header-search__submit:hover {
    color: var(--color-accent);
}

@media (max-width: 767px) {
    .header-search {
        margin-left: 0;
        margin-top: 10px;
    }

    #search-form {
        position: static;
        width: 100%;
    }

    #search-form.active {
        width: 100%;
    }
}

/* Featured Post */
.featured-post {
    position: relative;
    margin: 15px;
    padding: 10px;
    margin-bottom: 2rem;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.featured-post__image {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    margin: 15px;
    padding: 10px;
}

.featured-post__title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: var(--color-text);
    font-size: 2rem;
    text-shadow: 2px 2px 4px var(--color-text-shadow);
    background-color: var(--color-overlay-start);
    padding: 10px;
    border-radius: 4px;
}

.featured-post__link {
    display: block;
    text-decoration: none;
    color: var(--color-text);
}

.featured-post__link:hover {
    text-decoration: none;
}

.featured-post__link:hover .featured-image__img {
    transform: scale(1.05);
}

.featured-post__link:hover .featured-image__overlay {
    background: linear-gradient(
        to top,
        var(--color-overlay-hover-start) 0%,
        var(--color-overlay-hover-end) 100%
    );
}

.featured-post__link:hover .featured-image__title {
    transform: translateY(-5px);
    color: var(--color-accent);
}

/* Read More Button */
.read-more-btn {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    margin: 15px auto 30px;
    background-color: var(--color-accent);
    color: var(--color-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.read-more-btn:hover {
    background-color: var(--color-accent-hover);
}

/* Secondary Posts (2x2 grid) */
.secondary-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.secondary-post {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--color-shadow);
    background-color: var(--color-card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 15px;
    padding: 10px;
}

.secondary-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--color-shadow);
}

.secondary-post__link {
    display: block;
    text-decoration: none;
    color: var(--color-text);
}

.secondary-post__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.secondary-post__content {
    padding: 20px;
}

.secondary-post__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.secondary-post__summary {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.secondary-post__meta {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #888;
}

.secondary-post__author,
.secondary-post__date {
    display: inline-block;
    margin-right: 10px;
}

/* Tertiary Posts (3 posts in one column) */
.tertiary-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 3rem;
    padding-bottom: 3rem;
}

.tertiary-post {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--color-shadow);
    background-color: var(--color-card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 15px;
    padding: 15px;
}

.tertiary-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--color-shadow);
}

.tertiary-post__image {
    width: 450px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.tertiary-post__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.tertiary-post__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tertiary-post__title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tertiary-post__title-link {
    text-decoration: none;
    color: var(--color-text);
}

.tertiary-post__title-link:hover {
    color: var(--color-accent);
}

.tertiary-post__summary {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 0 auto;
    line-height: 1.6;
}

.tertiary-post__meta {
    margin-top: 3px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.tertiary-post__author,
.tertiary-post__date {
    display: inline-block;
    margin-right: 10px;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
    .tertiary-post {
        flex-direction: column;
    }

    .tertiary-post__image {
        width: 100%;
        height: 200px;
    }

    .tertiary-post__content {
        padding: 20px 0 0 0;
    }
}

/* Featured Image */
.featured-image {
    position: relative;
    margin: 3rem auto;
    padding-top: 56.25%;
    width: 95%;
    max-width: 1200px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--color-shadow);
}

.featured-image__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.featured-image__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(
        to top,
        var(--color-overlay-start) 0%,
        var(--color-overlay-end) 100%
    );
    transition: background 0.3s ease;
}

.featured-image__title {
    color: var(--color-text);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px var(--color-text-shadow);
    margin: 0;
    transition: transform 0.3s ease;
}

.featured-image__link:hover .featured-image__img {
    transform: scale(1.05);
}

.featured-image__link:hover .featured-image__overlay {
    background: linear-gradient(
        to top,
        var(--color-overlay-hover-start) 0%,
        var(--color-overlay-hover-end) 100%
    );
}

.featured-image__link:hover .featured-image__title {
    transform: translateY(-5px);
    color: var(--color-accent);
}

/* Add a subtle animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.featured-image {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
    .featured-image {
        margin: 2rem auto;
        width: 100%;
    }

    .featured-image__title {
        font-size: 1.4rem;
    }
}

.widget-recent {
    text-align: center;
    background-color: var(--color-widget-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px var(--color-shadow);
}

.widget__title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.widget__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-content: center;
}

.widget__item {
    display: flex;
    flex-direction: column;
    background-color: var(--color-card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px var(--color-shadow);
}

.widget__link {
    text-decoration: none;
    color: inherit;
}

.widget__item-img {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.widget__item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget__item:hover .widget__item-thumb {
    transform: scale(1.05);
}

.widget__item-content {
    padding: 10px;
}

.widget__item-title {
    font-size: 0.9rem;
    margin: 0 0 5px;
    line-height: 1.2;
    color: var(--color-text);
}

.widget__item-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@media screen and (max-width: 767px) {
    .widget__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Adjust the main container width */
.container--outer {
    max-width: 1200px; /* Standard width */
    margin: 0 auto;
    padding: 0 20px;
}

/* Adjust the header container */
.header__container {
    max-width: 1160px; /* 1200px - 40px padding */
    margin: 0 auto;
    padding: 0;
}

/* Adjust the featured image */
.featured-image {
    width: 100%;
    max-width: 1160px; /* Match the header container */
    margin: 3rem auto;
}

/* Adjust the secondary posts grid */
.secondary-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

/* Adjust the tertiary posts */
.tertiary-posts {
    margin-top: 3rem;
}

.tertiary-post {
    margin: 0 0 30px 0;
    padding: 20px;
}


/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .container--outer {
        width: 95%;
    }
}

@media screen and (max-width: 767px) {
    .secondary-posts {
        grid-template-columns: 1fr;
    }

    .tertiary-post {
        flex-direction: column;
    }

    .tertiary-post__image {
        width: 100%;
        height: 200px;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--color-footer-bg) !important;
    color: var(--color-footer-text);
    padding: 40px 0 20px;
    font-size: 14px;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__column {
    flex: 1;
    margin: 0 15px;
    min-width: 250px;
}

.footer__column h3 {
    color: var(--color-footer-title) !important;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent);
}

/* Styles for the first and last columns */
.footer__post {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer__post-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
}

/* Styles for the middle column (featured post) */
.footer__column--featured .footer__featured-post {
    display: flex;
    flex-direction: column;
}

.footer__column--featured .footer__featured-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.footer__column--featured .footer__featured-content {
    display: flex;
    flex-direction: column;
}

.footer__post-title,
.footer__featured-title {
    color: var(--color-footer-post-title) !important;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer__post-title:hover,
.footer__featured-title:hover {
    color: var(--color-footer-post-title-hover) !important;
}

.footer__post-date,
.footer__featured-date {
    color: var(--color-footer-date) !important;
    font-size: 12px;
}

.footer__copyright {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    color: var(--color-footer-copyright) !important;
}

.footer__copyright-credits {
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    .footer__container {
        flex-direction: column;
    }

    .footer__column {
        margin-bottom: 30px;
    }
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 20px;
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__link {
    color: var(--color-footer-link) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--color-footer-link-hover) !important;
}

.footer__copyright {
    text-align: right;
    color: var(--color-footer-copyright) !important;
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__links {
        margin-bottom: 10px;
    }

    .footer__copyright {
        text-align: left;
    }
}

/* Single Post Styles */
.post {
    background-color: var(--color-card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--color-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.post__header {
    margin-bottom: 30px;
}

.post__title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.2;
}

.post__lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.post__meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.post__thumbnail {
    margin-bottom: 30px;
}

.post__thumbnail img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--color-shadow);
}

.post__content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.post__content h2,
.post__content h3,
.post__content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-text);
}

.post__content p {
    margin-bottom: 20px;
}

.post__content blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--color-text-muted);
}

.post__footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* Adjust authorbox styles */
.authorbox {
    background-color: var(--color-widget-bg);
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}

.authorbox__avatar {
    border-radius: 50%;
}

.authorbox__name {
    color: #333;
    font-size: 1.2rem;
}

.authorbox__bio {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Adjust pager styles */
.pager {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.pager__item {
    background-color: var(--color-widget-bg);
    border-radius: 4px;
    padding: 10px 15px;
    color: var(--color-text);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pager__item:hover {
    background-color: var(--color-accent);
    color: var(--color-text);
}

/* Adjust comments section if you have one */
.comments {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* Post Thumbnail Styles */
.post__thumbnail {
    max-width: 100%;
    margin: 0 auto 20px;
    text-align: center;
}

.post__thumbnail img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--color-shadow);
}

/* Adjust for larger screens */
@media screen and (min-width: 768px) {
    .post__thumbnail {
        max-width: 80%;
    }
}

/* 404 Page Styles */
.not-found {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 20px;
    background-color: var(--color-background);
}

.not-found__content {
    max-width: 600px;
    margin: 0 auto;
}

.not-found__title {
    font-size: 120px;
    color: var(--color-accent);
    margin: 0;
    line-height: 1;
}

.not-found__subtitle {
    font-size: 36px;
    margin: 0 0 20px;
    color: var(--color-text);
}

.not-found__text {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--color-text-muted);
}

.not-found__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.not-found__button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.not-found__button:hover {
    background-color: var(--color-accent);
    color: var(--color-text);
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .not-found__title {
        font-size: 80px;
    }

    .not-found__subtitle {
        font-size: 24px;
    }

    .not-found__text {
        font-size: 16px;
    }

    .not-found__actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}





/* Modern Newsletter Card Styles */
.widget-newsletter {
    margin-bottom: 2rem;
}

.newsletter-card {
    background: var(--color-card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px var(--color-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--color-shadow);
}

.newsletter-card__header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.newsletter-card__icon {
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.newsletter-card__title {
    font-size: 1.4rem;
    color: var(--color-text);
    margin: 0;
    font-weight: 600;
}

.newsletter-card__content {
    text-align: center;
}

.newsletter-card__description {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.newsletter-card__input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.newsletter-card__input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.newsletter-card__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.newsletter-card__button {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-card__button:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
    transform: translateY(-2px);
}

.newsletter-card__privacy {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

/* Animation for the envelope icon */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .newsletter-card {
        padding: 1rem;
    }

    .newsletter-card__input-group {
        flex-direction: column;
    }

    .newsletter-card__button {
        width: 100%;
        padding: 0.8rem;
        margin-top: 0.5rem;
    }
}



.social-icons {
    display: flex;
    align-items: center;
    margin: 0 1rem;
    gap: 0.8rem;
}

.social-icons__link {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.3rem;
}

.social-icons__link:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Footer Social Icons */
.footer__social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer__social-link {
    color: var(--color-text-muted);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* Platform-specific colors on hover */
.fa-facebook:hover { color: var(--color-accent); }
.fa-twitter:hover { color: var(--color-accent); }
.fa-instagram:hover { color: var(--color-accent); }
.fa-linkedin-in:hover { color: var(--color-accent); }
.fa-youtube:hover { color: var(--color-accent); }
.fa-tiktok:hover { color: var(--color-accent); }

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-icons {
        margin: 0 0.5rem;
        gap: 0.5rem;
    }
    
    .social-icons__link {
        font-size: 1rem;
    }
    
    .footer__social {
        gap: 1rem;
    }
    
    .footer__social-link {
        font-size: 1.2rem;
    }
}

