/*
Theme Name: Wisdom1
Description: A modern-classic Christian blog theme for "Wisdom from the Kingdom".
Version: 1.3.0
Text Domain: wisdom1
*/

/* --- 1. Base Reset & Bootstrap Overrides --- */
:root {
	/* Brand Colors */
	--brand-deep-midnight: #1A2B48;
	--brand-royal-amethyst: #5D4B8A;
	--brand-antique-parchment: #F4F1EA;
	--brand-gold-leaf: #C5A059;
	--brand-deep-teal: #006D77;

	/* Bootstrap Overrides */
	--bs-primary: var(--brand-deep-midnight);
	--bs-primary-rgb: 26, 43, 72;
	--bs-secondary: var(--brand-gold-leaf);
	--bs-secondary-rgb: 197, 160, 89;
	--bs-success: var(--brand-deep-teal);
	--bs-info: var(--brand-royal-amethyst);
	--bs-light: var(--brand-antique-parchment);
	--bs-light-rgb: 244, 241, 234;
	--bs-dark: var(--brand-deep-midnight);

	--bs-body-font-family: 'Inter', sans-serif;
	--bs-body-bg: var(--brand-antique-parchment);
	--bs-body-color: var(--brand-deep-midnight);
	--bs-heading-color: var(--brand-deep-midnight);
}

body {
	font-family: var(--bs-body-font-family);
	background-color: var(--bs-body-bg);
	color: var(--bs-body-color);
	-webkit-font-smoothing: antialiased;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.font-serif {
	font-family: 'Playfair Display', serif;
}

.font-sans {
	font-family: 'Inter', sans-serif;
}

/* --- 2. Component Overrides (Buttons, Navbar, Forms) --- */

/* Buttons */
.btn-primary {
	background-color: var(--brand-deep-midnight);
	border-color: var(--brand-deep-midnight);
	color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: #121e33;
	border-color: #121e33;
	color: #fff;
}

.btn-secondary {
	background-color: var(--brand-gold-leaf);
	border-color: var(--brand-gold-leaf);
	color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
	background-color: #a88849;
	/* Darker Gold Leaf */
	border-color: #a88849;
	color: #fff;
}

.btn-outline-secondary {
	color: var(--brand-gold-leaf);
	border-color: var(--brand-gold-leaf);
	background-color: transparent;
}

.btn-outline-secondary:hover {
	background-color: var(--brand-gold-leaf);
	color: #fff;
}

/* Typography Utilities */
.text-primary {
	color: var(--brand-deep-midnight) !important;
}

.text-secondary {
	color: var(--brand-gold-leaf) !important;
}

.text-success {
	color: var(--brand-deep-teal) !important;
}

.text-info {
	color: var(--brand-royal-amethyst) !important;
}

.bg-primary {
	background-color: var(--brand-deep-midnight) !important;
}

.bg-secondary {
	background-color: var(--brand-gold-leaf) !important;
}

.bg-light {
	background-color: var(--brand-antique-parchment) !important;
}

/* Navbar Overrides */
.navbar-brand .logo-icon {
	color: var(--brand-deep-midnight);
}

.navbar-light .navbar-nav {
	gap: 1.5rem;
	/* Force spacing between wp_nav_menu list items */
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav a {
	color: var(--brand-deep-midnight);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav a:hover {
	color: var(--brand-gold-leaf);
}

/* Links */
a {
	color: var(--brand-deep-teal);
	transition: color 0.2s ease-in-out;
}

a:hover {
	color: var(--brand-gold-leaf);
}

/* Cards */
.card {
	background-color: #ffffff;
	border-color: rgba(26, 43, 72, 0.1);
}

.card-title a {
	color: var(--brand-deep-midnight);
}

.card-title a:hover {
	color: var(--brand-gold-leaf);
}

/* --- 3. Custom Brand Additions --- */
/* Comments Styling overrides for native wp_list_comments */
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 3rem 0;
}

.comment-list .comment {
	padding: 1.5rem 0;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid rgba(26, 43, 72, 0.1);
}

.comment-list .comment:last-child {
	border-bottom: none;
}

.comment-list .comment-body {
	display: flex;
	flex-direction: column;
}

.comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	font-weight: 600;
	color: var(--brand-deep-midnight);
}

.comment-list .comment-author .says {
	display: none;
}

.comment-list .comment-author img {
	border-radius: 50%;
}

.comment-list .comment-meta {
	font-size: 0.85rem;
	color: #6c757d;
	margin-bottom: 1rem;
}

.comment-list .comment-meta a {
	color: #6c757d;
	text-decoration: none;
}

.comment-list p {
	margin-bottom: 0.5rem;
}

.comment-list .reply a {
	display: inline-block;
	font-size: 0.85rem;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--brand-deep-teal);
	border: 1px solid var(--brand-deep-teal);
	padding: 0.25rem 0.75rem;
	border-radius: 0.25rem;
	transition: all 0.2s;
	text-decoration: none;
	margin-top: 1rem;
}

.comment-list .reply a:hover {
	background: var(--brand-deep-teal);
	color: #fff;
}

.comment-list .children {
	list-style: none;
	padding-left: 2rem;
	margin-top: 1.5rem;
	border-left: 2px solid rgba(26, 43, 72, 0.1);
}

/* Series Taxonomy Step Numbers */
.series-number-stamp {
	font-family: 'Playfair Display', serif;
	font-size: 4rem;
	color: var(--brand-gold-leaf);
	opacity: 0.2;
	line-height: 1;
}

/* --- 4. Custom Footer Styling --- */
.site-footer.bg-dark {
	background-color: #0b1424 !important;
	/* Very dark slate derived from Deep Midnight */
}

.footer-link {
	color: #adb5bd;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

.footer-link:hover {
	color: var(--brand-gold-leaf);
}

/* --- 5. Article Details Custom Styles --- */
.post-nav-thumbnail {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}