/*
Theme Name: TrueNorth
Theme URI: https://compassrose.studio/truenorth
Author: Compass Rose Studio
Author URI: https://compassrose.studio
Description: A rugged, bold outdoors and adventure theme with a boxed magazine-style layout, slab headings, and a slate-and-amber palette built for trail journals, expedition logs, and the great outdoors.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: truenorth
Tags: two-columns, left-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, blog, footer-widgets
*/

/* ---------------------------------------------------------------------------
   Base / reset
--------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #d9d4ca;
	color: #20262e;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #c07d18;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #2b3b4e;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Rockwell", "Roboto Slab", Georgia, serif;
	color: #2b3b4e;
	line-height: 1.18;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1.25em;
}

/* ---------------------------------------------------------------------------
   Boxed shell
--------------------------------------------------------------------------- */
.tn-page {
	min-height: 100vh;
}

.tn-shell {
	max-width: 1100px;
	margin: 0 auto;
	background: #f6f4ef;
	box-shadow: 0 0 28px rgba(0, 0, 0, 0.28);
}

/* ---------------------------------------------------------------------------
   Masthead band
--------------------------------------------------------------------------- */
.tn-band {
	background: #2b3b4e;
	color: #ffffff;
	padding: 26px 32px 0;
}

.tn-brand {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-bottom: 22px;
}

.tn-brand__logo img {
	max-height: 72px;
	width: auto;
}

.tn-brand__title {
	margin: 0;
	font-size: 2.4rem;
	letter-spacing: 0.5px;
}

.tn-brand__title a {
	color: #ffffff;
}

.tn-brand__title a:hover,
.tn-brand__title a:focus {
	color: #e8a33d;
	text-decoration: none;
}

.tn-brand__tag {
	margin: 4px 0 0;
	font-size: 0.95rem;
	color: #c6d0db;
}

/* ---------------------------------------------------------------------------
   Navigation tabs (CSS dropdowns)
--------------------------------------------------------------------------- */
.tn-nav {
	border-top: 3px solid #e8a33d;
}

.tn-toggle {
	display: none;
	width: 100%;
	border: 0;
	background: #e8a33d;
	color: #2b3b4e;
	font: 700 1rem/1 "Rockwell", "Roboto Slab", Georgia, serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 14px 18px;
	cursor: pointer;
}

.tn-tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.tn-tabs li {
	position: relative;
}

.tn-tabs a {
	display: block;
	padding: 15px 22px;
	color: #e3e9ef;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.2px;
	font-size: 0.95rem;
}

.tn-tabs a:hover,
.tn-tabs a:focus,
.tn-tabs .current-menu-item > a,
.tn-tabs .current_page_item > a {
	background: #e8a33d;
	color: #2b3b4e;
	text-decoration: none;
}

.tn-tabs ul.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 220px;
	background: #233140;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
	z-index: 40;
	display: none;
}

.tn-tabs li:hover > ul.sub-menu,
.tn-tabs li:focus-within > ul.sub-menu {
	display: block;
}

.tn-tabs ul.sub-menu a {
	padding: 12px 18px;
	font-size: 0.82rem;
	border-top: 1px solid #33455a;
}

/* ---------------------------------------------------------------------------
   Layout: two columns, left sidebar
--------------------------------------------------------------------------- */
.tn-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 34px;
	padding: 34px 32px 44px;
}

.tn-aside {
	flex: 0 0 280px;
	max-width: 280px;
	order: 1;
}

.tn-main {
	flex: 1 1 460px;
	min-width: 0;
	order: 2;
}

/* ---------------------------------------------------------------------------
   Sidebar widgets
--------------------------------------------------------------------------- */
.tn-widget {
	margin: 0 0 30px;
	background: #ffffff;
	border-top: 4px solid #2b3b4e;
	padding: 18px 20px 22px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.tn-widget__title {
	margin: 0 0 14px;
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 3px solid #e8a33d;
	padding-bottom: 8px;
}

/* Spacing between an image and a following heading inside a text widget. */
.tn-widget.widget_text img {
	margin: 0 0 16px;
}

.tn-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tn-widget li {
	padding: 7px 0;
	border-bottom: 1px solid #ece8df;
}

.tn-widget li:last-child {
	border-bottom: 0;
}

/* ---------------------------------------------------------------------------
   Article cards
--------------------------------------------------------------------------- */
.tn-article {
	background: #ffffff;
	border-top: 6px solid #e8a33d;
	padding: 26px 28px 28px;
	margin: 0 0 34px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Homepage fossil content — same white content-card styling as a post/page article. */
.veyra-fossil-content {
	background: #ffffff;
	border-top: 6px solid #e8a33d;
	padding: 26px 28px 28px;
	margin: 0 0 34px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.veyra-fossil-content img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.veyra-fossil-content .ady-fossil-img {
	margin: 22px 0;
}

.tn-article__thumb {
	margin: 0 0 18px;
}

.tn-article__thumb img {
	width: 100%;
}

.tn-article__title {
	font-size: 1.95rem;
	margin: 0 0 10px;
}

.tn-article__title a {
	color: #2b3b4e;
}

.tn-article__title a:hover,
.tn-article__title a:focus {
	color: #c07d18;
	text-decoration: none;
}

.tn-meta {
	margin: 0 0 16px;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #c07d18;
}

.tn-meta a {
	color: #c07d18;
}

.tn-meta span + span::before {
	content: "\2022";
	margin: 0 8px;
	color: #b9b2a4;
}

.tn-article__excerpt {
	margin: 0 0 18px;
}

.tn-more {
	display: inline-block;
	background: #2b3b4e;
	color: #ffffff;
	font-family: "Rockwell", "Roboto Slab", Georgia, serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.82rem;
	padding: 10px 20px;
}

.tn-more:hover,
.tn-more:focus {
	background: #e8a33d;
	color: #2b3b4e;
	text-decoration: none;
}

.tn-content {
	margin: 0 0 24px;
}

.tn-content img {
	height: auto;
}

.tn-content a {
	text-decoration: underline;
}

.tn-page-title {
	font-size: 2.1rem;
	border-bottom: 4px solid #e8a33d;
	padding-bottom: 12px;
	margin: 0 0 28px;
}

/* ---------------------------------------------------------------------------
   Empty states / fossil content
--------------------------------------------------------------------------- */
.tn-empty,
.tn-fossil {
	background: #ffffff;
	border-top: 6px solid #e8a33d;
	padding: 28px 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tn-empty__title {
	margin-top: 0;
}

/* ---------------------------------------------------------------------------
   Search form
--------------------------------------------------------------------------- */
.tn-search {
	display: flex;
	gap: 8px;
}

.tn-search .search-field {
	flex: 1 1 auto;
	padding: 10px 12px;
	border: 2px solid #c8c2b5;
	background: #fbfaf7;
	font-size: 0.95rem;
}

.tn-search .search-submit {
	border: 0;
	background: #2b3b4e;
	color: #ffffff;
	font-family: "Rockwell", "Roboto Slab", Georgia, serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0 18px;
	cursor: pointer;
}

.tn-search .search-submit:hover,
.tn-search .search-submit:focus {
	background: #e8a33d;
	color: #2b3b4e;
}

/* ---------------------------------------------------------------------------
   Pagination
--------------------------------------------------------------------------- */
.tn-pager {
	margin: 10px 0 0;
}

.tn-pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tn-pager .page-numbers {
	display: inline-block;
	padding: 9px 15px;
	background: #ffffff;
	border: 2px solid #2b3b4e;
	color: #2b3b4e;
	font-weight: 700;
}

.tn-pager .page-numbers.current,
.tn-pager .page-numbers:hover,
.tn-pager .page-numbers:focus {
	background: #e8a33d;
	border-color: #e8a33d;
	color: #2b3b4e;
	text-decoration: none;
}

/* ---------------------------------------------------------------------------
   Comments
--------------------------------------------------------------------------- */
.tn-comments {
	background: #ffffff;
	border-top: 6px solid #2b3b4e;
	padding: 26px 28px;
	margin: 28px 0 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tn-comments__title {
	margin-top: 0;
	border-bottom: 3px solid #e8a33d;
	padding-bottom: 10px;
}

.tn-commentlist {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.tn-commentlist .children {
	list-style: none;
	margin: 0;
	padding-left: 28px;
}

.tn-commentlist li.comment {
	padding: 16px 0;
	border-bottom: 1px solid #ece8df;
}

.tn-commentlist .comment-author .fn {
	font-family: "Rockwell", "Roboto Slab", Georgia, serif;
	color: #2b3b4e;
}

.tn-commentlist .comment-meta {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #c07d18;
}

.tn-comments input[type="text"],
.tn-comments input[type="email"],
.tn-comments input[type="url"],
.tn-comments textarea {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid #c8c2b5;
	background: #fbfaf7;
	font-family: inherit;
	font-size: 0.95rem;
}

.tn-comments .form-submit input,
.tn-comments .submit {
	border: 0;
	background: #2b3b4e;
	color: #ffffff;
	font-family: "Rockwell", "Roboto Slab", Georgia, serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 12px 26px;
	cursor: pointer;
}

.tn-comments .form-submit input:hover,
.tn-comments .submit:hover {
	background: #e8a33d;
	color: #2b3b4e;
}

/* ---------------------------------------------------------------------------
   Footer band
--------------------------------------------------------------------------- */
.tn-foot {
	background: #2b3b4e;
	color: #c6d0db;
	border-top: 4px solid #e8a33d;
}

.tn-foot__widgets {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	padding: 36px 32px 20px;
}

.tn-foot__col {
	flex: 1 1 220px;
}

.tn-foot__col .tn-widget__title {
	color: #ffffff;
	border-bottom-color: #e8a33d;
}

.tn-foot__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tn-foot__col li {
	padding: 6px 0;
	border-bottom: 1px solid #3a4c61;
}

.tn-foot__col a {
	color: #e3e9ef;
}

.tn-colophon {
	padding: 18px 32px 28px;
	border-top: 1px solid #3a4c61;
	font-size: 0.82rem;
}

.tn-colophon a {
	color: #e8a33d;
}

/* ---------------------------------------------------------------------------
   Accessibility helper
--------------------------------------------------------------------------- */
.tn-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #e8a33d;
	color: #2b3b4e;
	padding: 10px 16px;
	font-weight: 700;
	z-index: 100;
}

.tn-skip:focus {
	left: 8px;
	top: 8px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */
@media (max-width: 880px) {
	.tn-aside,
	.tn-main {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.tn-aside {
		order: 2;
	}

	.tn-main {
		order: 1;
	}

	.tn-toggle {
		display: block;
	}

	.tn-tabs {
		display: none;
		flex-direction: column;
	}

	.tn-tabs.tn-tabs--open {
		display: flex;
	}

	.tn-tabs ul.sub-menu {
		position: static;
		display: block;
		box-shadow: none;
	}
}
