/*!
Theme Name: Kakoma UG
Theme URI: https://kakoma.ug
Description: Personal website theme for Peter Kakoma — Faith. Tech. Impact.
Author: Peter Kakoma
Author URI: https://kakoma.ug
Version: 1.0.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kakoma-ug
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	line-height: 1.6;
	color: #333;
	background: #f5f7fa;
}

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

/* ==========================================================================
   Accessibility
   ========================================================================== */

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

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #1A56DB;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
	background: white;
	padding: 20px 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main-navigation {
	display: flex;
	align-items: center;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	color: #555;
	line-height: 0;
	transition: color 0.3s;
}

.menu-toggle:hover {
	color: #1A56DB;
}

.icon-close {
	display: none;
}

#site-navigation.toggled .icon-menu {
	display: none;
}

#site-navigation.toggled .icon-close {
	display: block;
}

.logo {
	font-size: 20px;
	font-weight: 600;
	color: #1A56DB;
	letter-spacing: 0.5px;
}

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

.site-nav-links {
	display: flex;
	gap: 35px;
	list-style: none;
}

.site-nav-links a {
	text-decoration: none;
	color: #555;
	font-size: 15px;
	font-weight: 500;
	transition: color 0.3s;
}

.site-nav-links a:hover,
.site-nav-links .current-menu-item > a {
	color: #1A56DB;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
	background: white;
	padding: 0;
	overflow: hidden;
}

.hero-inner {
	display: flex;
	align-items: stretch;
	min-height: 620px;
}

.hero-photo {
	flex-shrink: 0;
	width: 42%;
	position: relative;
	overflow: hidden;
}

.hero-photo::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 5px;
	height: 100%;
	background: #1A56DB;
	z-index: 1;
}

.hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% top;
	display: block;
}

.hero-content {
	flex: 1;
	padding: 80px 60px 80px 72px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-image: radial-gradient(rgba(26, 86, 219, 0.12) 1.5px, transparent 1.5px);
	background-size: 28px 28px;
}

h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 52px;
	font-weight: 700;
	margin-bottom: 24px;
	color: #1a1a1a;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.subheadline {
	font-size: 18px;
	line-height: 1.75;
	color: #555;
	max-width: 900px;
	margin: 0 0 28px;
}

.credentials {
	font-size: 13px;
	color: #777;
	background: #f5f7fa;
	padding: 14px 20px;
	border-radius: 8px;
	display: inline-block;
	margin-bottom: 36px;
	border-left: 4px solid #1A56DB;
}

.cta-group {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	padding: 14px 28px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.btn-primary {
	background: #1A56DB;
	color: white;
	border-color: #1A56DB;
}

.btn-primary:hover {
	background: #1340A8;
	border-color: #1340A8;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.btn-secondary {
	background: white;
	color: #1A56DB;
	border-color: #1A56DB;
}

.btn-secondary:hover {
	background: #f5f7fa;
	transform: translateY(-2px);
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */

section {
	padding: 100px 20px;
}

.bg-white {
	background: white;
}

.bg-white .card {
	background: #f5f7fa;
}

h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 42px;
	font-weight: 700;
	margin-bottom: 60px;
	color: #1a1a1a;
	text-align: center;
	letter-spacing: -0.02em;
}

h3 {
	font-family: 'Inter', sans-serif;
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 16px;
	color: #1a1a1a;
	letter-spacing: -0.01em;
}

/* Grid Layouts */
.three-col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 40px;
}

.four-col {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.two-col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 40px;
}

.card {
	background: white;
	border-radius: 12px;
	padding: 44px 36px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.1);
}

.card p {
	color: #555;
	line-height: 1.7;
	font-size: 15px;
}

.card-meta {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
	font-size: 14px;
	color: #777;
}

.card-meta strong {
	color: #1A56DB;
	display: block;
	margin-bottom: 8px;
}

/* Whom I Serve — audience list */
.audience-list {
	max-width: 720px;
	margin: 0 auto;
}

.audience-item {
	padding: 36px 0;
	border-top: 1px solid #e5e5e5;
}

.audience-item:first-child {
	border-top: none;
	padding-top: 0;
}

.audience-label {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #999;
	margin-bottom: 14px;
}

.audience-item p {
	font-size: 17px;
	line-height: 1.7;
	color: #555;
	margin-bottom: 16px;
}

.audience-cta {
	font-size: 16px;
	font-weight: 600;
	color: #1A56DB;
	text-decoration: none;
}

.audience-cta:hover {
	color: #1340A8;
	text-decoration: underline;
}

/* Service Cards */
.service-card {
	position: relative;
}

.service-icon {
	width: 52px;
	height: 52px;
	background: rgba(26, 86, 219, 0.08);
	border-radius: 12px;
	margin-bottom: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1A56DB;
}

.service-card .card-meta {
	border-top: none;
	padding-top: 0;
	margin-top: 16px;
}

.service-card .btn {
	width: 100%;
	text-align: center;
	margin-top: 24px;
}

/* Metric Cards */
.metric-card {
	background: white;
	border-radius: 12px;
	padding: 40px 24px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
}

.metric-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
	width: 100%;
	height: 50px;
	background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
	margin-bottom: 20px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1A56DB;
	font-weight: 600;
	font-size: 13px;
}

.metric-number {
	font-size: 42px;
	font-weight: 700;
	color: #1A56DB;
	margin-bottom: 8px;
}

.metric-label {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
}

.metric-description {
	font-size: 13px;
	color: #777;
	line-height: 1.5;
}

/* Proven Impact — stats table */
.impact-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	padding: 48px 0;
	margin-top: 40px;
	gap: 0;
}

.impact-stat {
	padding: 0 32px;
	border-right: 1px solid #e5e5e5;
}

.impact-stat:first-child {
	padding-left: 0;
}

.impact-stat:last-child {
	border-right: none;
}

.impact-number {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 38px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.1;
	margin-bottom: 12px;
}

.impact-label {
	font-size: 15px;
	color: #555;
	line-height: 1.5;
}

.codeable-link {
	display: inline-block;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 600;
	color: #1A56DB;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.codeable-link:hover {
	text-decoration: underline;
}

/* Recognition Badges */
.badge-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.badge {
	background: white;
	border-radius: 12px;
	padding: 40px 28px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
}

.badge:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.1);
}

.badge-icon {
	margin-bottom: 20px;
	color: #1A56DB;
	display: flex;
	justify-content: center;
}

.badge strong {
	display: block;
	font-size: 16px;
	color: #1a1a1a;
	margin-bottom: 6px;
}

.badge-year {
	font-size: 14px;
	color: #777;
}

/* Story Section */
.story-content {
	max-width: 800px;
	margin: 0 auto;
}

.story-content p {
	font-size: 17px;
	line-height: 1.8;
	color: #555;
	margin-bottom: 24px;
}

.venture-list {
	margin: 28px 0;
	padding-left: 0;
	list-style: none;
}

.venture-list li {
	padding: 16px 20px;
	margin-bottom: 12px;
	background: #f5f7fa;
	border-radius: 8px;
	border-left: 4px solid #1A56DB;
	color: #555;
	font-size: 15px;
}

.venture-list strong {
	color: #1a1a1a;
	font-weight: 600;
}

.story-cta {
	text-align: center;
	margin-top: 40px;
}

.purpose-grid {
	max-width: 900px;
	margin: 0 auto;
}

.quote-box {
	margin-top: 50px;
	padding: 40px;
	background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
	border-radius: 12px;
	border-left: 5px solid #1A56DB;
	text-align: center;
}

.quote-box p {
	font-size: 20px;
	line-height: 1.7;
	color: #333;
	font-style: italic;
	font-weight: 500;
}

/* Final CTA */
.final-cta {
	text-align: center;
	background: linear-gradient(135deg, #1A56DB 0%, #1340A8 100%);
	color: white;
}

.final-cta .cta-group {
	justify-content: center;
}

.final-cta h2 {
	color: white;
}

.final-cta .subheadline {
	color: rgba(255, 255, 255, 0.9);
}

.final-cta .btn-primary {
	background: white;
	color: #1A56DB;
	border-color: white;
}

.final-cta .btn-primary:hover {
	background: #f5f7fa;
	transform: translateY(-2px);
}

.final-cta .btn-secondary {
	background: transparent;
	color: white;
	border-color: white;
}

.final-cta .btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: #1a1a1a;
	color: white;
	padding: 50px 20px 30px;
	text-align: center;
}

.footer-links {
	display: flex;
	gap: 30px;
	justify-content: center;
	list-style: none;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s;
}

.footer-links a:hover {
	color: white;
}

.footer-contact {
	margin-bottom: 16px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
}

.footer-copyright {
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
}

/* ==========================================================================
   Inner Pages (page.php, single.php, archive.php, etc.)
   ========================================================================== */

.site-main {
	min-height: 60vh;
}

.page-content-wrap {
	padding: 100px 20px;
}

.page-content-narrow {
	max-width: 900px;
}

/* Page header (archives, search results) */
.page-header {
	margin-bottom: 48px;
}

.page-header .page-title {
	font-size: 42px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: left;
	margin-bottom: 12px;
}

.archive-description {
	font-size: 17px;
	color: #555;
	line-height: 1.7;
}

/* Entry / Article */
.entry-header {
	margin-bottom: 32px;
}

.entry-title {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.25;
	margin-bottom: 12px;
	text-align: left;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}

.entry-title a:hover {
	color: #1A56DB;
}

.entry-meta {
	font-size: 14px;
	color: #777;
}

.entry-meta a {
	color: #1A56DB;
	text-decoration: none;
}

.post-thumbnail {
	margin-bottom: 32px;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.entry-content {
	font-size: 17px;
	line-height: 1.8;
	color: #555;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: #1a1a1a;
	margin: 32px 0 16px;
	text-align: left;
}

.entry-content p {
	margin-bottom: 20px;
}

.entry-content a {
	color: #1A56DB;
}

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

.entry-content blockquote {
	border-left: 4px solid #1A56DB;
	padding: 16px 24px;
	margin: 24px 0;
	background: #f5f7fa;
	font-style: italic;
	color: #555;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.wp-link-pages {
	margin: 24px 0;
	font-size: 14px;
}

.entry-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
	font-size: 14px;
	color: #777;
}

.entry-footer a {
	color: #1A56DB;
}

.entry-summary {
	font-size: 16px;
	line-height: 1.7;
	color: #555;
	margin-top: 16px;
}

/* Hide the "last modified" date — shown when post was edited after publish */
time.updated:not(.published) {
	display: none;
}

/* Archive post cards */
.post-card {
	padding: 40px 0;
	border-bottom: 1px solid #e5e5e5;
}

.post-card:first-of-type {
	border-top: 1px solid #e5e5e5;
}

.post-card .entry-title {
	font-size: 26px;
	margin-bottom: 10px;
}

.post-card .entry-summary {
	margin-top: 16px;
}

.post-card .entry-summary p {
	margin-bottom: 0;
}

.post-read-more {
	margin-top: 20px;
	padding: 10px 22px;
	font-size: 14px;
}

/* Post navigation (prev/next on single.php) */
.post-navigation {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e5e5e5;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	max-width: 48%;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #777;
	margin-bottom: 4px;
}

.post-navigation .nav-title {
	font-size: 15px;
	font-weight: 600;
	color: #1A56DB;
}

.post-navigation a {
	text-decoration: none;
}

.post-navigation a:hover .nav-title {
	text-decoration: underline;
}

/* Posts navigation (archive pagination) */
.posts-navigation {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
}

.posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.posts-navigation a {
	color: #1A56DB;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
}

.posts-navigation a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e5e5e5;
}

.comments-title {
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 32px;
	text-align: left;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
}

.comment-list .comment {
	padding: 24px 0;
	border-bottom: 1px solid #e5e5e5;
}

.comment-author {
	font-weight: 600;
	color: #1a1a1a;
	font-size: 15px;
}

.comment-metadata {
	font-size: 13px;
	color: #777;
	margin-top: 4px;
}

.comment-metadata a {
	color: #777;
	text-decoration: none;
}

.comment-content {
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.7;
	color: #555;
}

.reply {
	margin-top: 12px;
}

.reply a {
	font-size: 13px;
	color: #1A56DB;
	text-decoration: none;
	font-weight: 600;
}

.comment-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	color: #333;
	font-family: inherit;
	margin-bottom: 16px;
	transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: #1A56DB;
}

.comment-form .submit {
	background: #1A56DB;
	color: white;
	border: none;
	padding: 12px 28px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.comment-form .submit:hover {
	background: #1340A8;
}

/* ==========================================================================
   Widgets & Sidebar
   ========================================================================== */

#secondary {
	max-width: 300px;
	margin: 0 auto;
	padding: 40px 20px;
}

.widget {
	margin-bottom: 32px;
}

.widget-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #1A56DB;
	text-align: left;
}

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

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 15px;
}

.widget ul li a {
	color: #555;
	text-decoration: none;
	transition: color 0.3s;
}

.widget ul li a:hover {
	color: #1A56DB;
}

/* ==========================================================================
   Search Form
   ========================================================================== */

.search-form {
	display: flex;
	gap: 8px;
	margin: 24px 0;
}

.search-field {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	font-family: inherit;
}

.search-field:focus {
	outline: none;
	border-color: #1A56DB;
}

.search-submit {
	background: #1A56DB;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.search-submit:hover {
	background: #1340A8;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 .page-title {
	font-size: 42px;
	text-align: left;
	margin-bottom: 24px;
}

.page-content p {
	font-size: 17px;
	color: #555;
	line-height: 1.8;
	margin-bottom: 24px;
}

/* ==========================================================================
   No Results
   ========================================================================== */

.no-results .page-title {
	font-size: 36px;
	text-align: left;
	margin-bottom: 16px;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-hero {
	background: white;
	padding: 80px 20px;
	border-bottom: 1px solid #e5e5e5;
}

.about-hero-inner {
	display: flex;
	gap: 60px;
	align-items: center;
	max-width: 960px;
	margin: 0 auto;
}

.about-photo {
	flex-shrink: 0;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(26, 86, 219, 0.2);
}

.about-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.about-hero-text h1 {
	font-size: 48px;
	margin-bottom: 8px;
}

.about-tagline {
	font-size: 18px;
	color: #1A56DB;
	font-weight: 600;
	margin-bottom: 20px;
}

.about-opening {
	font-size: 18px;
	line-height: 1.7;
	color: #555;
	margin-top: 20px;
}

.about-story {
	padding: 100px 20px;
}

.about-ventures {
	padding: 100px 20px;
}

.about-dual {
	padding: 100px 20px;
}

@media (max-width: 768px) {
	.about-hero-inner {
		flex-direction: column;
		text-align: center;
		gap: 32px;
	}

	.about-hero-text h1 {
		font-size: 36px;
	}
}

/* ==========================================================================
   Technology Strategy & Advisory Page
   ========================================================================== */

.advisory-hero {
	background: white;
	padding: 80px 20px 100px;
	border-bottom: 1px solid #e5e5e5;
}

.advisory-hero h1 {
	font-size: 56px;
	line-height: 1.1;
	margin-bottom: 28px;
}

.advisory-opening {
	font-size: 21px;
	line-height: 1.7;
	color: #555;
	max-width: 700px;
	margin-bottom: 32px;
}

.advisory-who {
	padding: 100px 20px;
}

.advisory-focus {
	padding: 100px 20px;
}

.advisory-focus-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 60px;
	margin-top: 48px;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

.advisory-focus-item h3 {
	font-size: 18px;
	color: #1A56DB;
	margin-bottom: 10px;
}

.advisory-focus-item p {
	font-size: 15px;
	color: #555;
	line-height: 1.75;
}

.advisory-credentials {
	background: #f5f7fa;
	padding: 80px 20px;
	text-align: center;
}

.advisory-credentials-lead {
	font-size: 22px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 48px;
	font-style: italic;
}

@media (max-width: 968px) {
	.advisory-focus-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.advisory-hero h1 {
		font-size: 38px;
	}

	.advisory-opening {
		font-size: 18px;
	}
}

/* ==========================================================================
   Writing Feed (homepage + category pages)
   ========================================================================== */

.section-intro {
	text-align: center;
	font-size: 18px;
	color: #555;
	max-width: 600px;
	margin: -20px auto 48px;
	line-height: 1.7;
}

.writing-topics {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.writing-topics a {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 100px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: #555;
	background: #efefef;
	transition: all 0.2s;
}

.writing-topics a:hover {
	background: #e0e0e0;
	color: #1a1a1a;
}

.writing-topics a.active {
	background: #1A56DB;
	color: white;
}

.writing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-bottom: 48px;
}

.writing-grid--2col {
	grid-template-columns: repeat(2, 1fr);
}

.writing-card {
	background: white;
	border-radius: 12px;
	padding: 32px 28px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.writing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.1);
}

.writing-card-tag {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #1A56DB;
	text-decoration: none;
	margin-bottom: 12px;
	display: inline-block;
	transition: opacity 0.2s;
}

.writing-card-tag:hover {
	opacity: 0.75;
}

.writing-card-title {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 10px;
	letter-spacing: -0.01em;
	flex: 1;
}

.writing-card-title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s;
}

.writing-card-title a:hover {
	color: #1A56DB;
}

.writing-card-date {
	font-size: 13px;
	color: #999;
	display: block;
	margin-bottom: 14px;
	margin-top: 10px;
}

.writing-card-excerpt {
	font-size: 15px;
	color: #555;
	line-height: 1.7;
	margin: 0;
}

/* ==========================================================================
   Tech Category Page & Writing Page — shared archive header
   ========================================================================== */

.tech-header,
.writing-page-header {
	background: white;
	padding: 80px 20px;
	border-bottom: 1px solid #e5e5e5;
	text-align: center;
}

.tech-header-title,
.writing-page-title {
	margin-bottom: 20px;
}

.tech-header-description,
.writing-page-description {
	font-size: 18px;
	color: #555;
	max-width: 580px;
	margin: 0 auto;
	line-height: 1.7;
}

.tech-archive-section,
.writing-page-archive {
	padding: 64px 20px 100px;
}

/* Pagination for writing page custom query */
.writing-pagination {
	margin-top: 48px;
	display: flex;
	gap: 4px;
	justify-content: center;
	flex-wrap: wrap;
}

.writing-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #1A56DB;
	text-decoration: none;
	transition: background 0.2s;
}

.writing-pagination .page-numbers:hover {
	background: #f0f4ff;
}

.writing-pagination .page-numbers.current {
	background: #1A56DB;
	color: white;
}

.writing-pagination .page-numbers.dots {
	color: #999;
}

@media (max-width: 968px) {
	.writing-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.writing-grid,
	.writing-grid--2col {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Faith & Work Archive
   ========================================================================== */

.fw-header {
	background: linear-gradient(135deg, #1A56DB 0%, #1340A8 100%);
	padding: 80px 20px;
	text-align: center;
	color: white;
}

.fw-kicker {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 16px;
}

.fw-title {
	font-size: 52px;
	font-weight: 700;
	color: white;
	line-height: 1.1;
	margin-bottom: 20px;
}

.fw-description {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.85);
	max-width: 580px;
	margin: 0 auto;
	line-height: 1.7;
}

.fw-archive-section {
	padding: 64px 20px 80px;
}

@media (max-width: 640px) {
	.fw-title {
		font-size: 36px;
	}
}

/* ==========================================================================
   By The Way — Column Archive
   ========================================================================== */

.btw-header {
	background: #1a1a1a;
	padding: 80px 20px;
	text-align: center;
	color: white;
}

.btw-kicker {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #1A56DB;
	margin-bottom: 20px;
}

.btw-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 72px;
	font-weight: 700;
	color: white;
	line-height: 1;
	margin-bottom: 24px;
	font-style: italic;
	letter-spacing: -0.02em;
}

.btw-description {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.7);
	max-width: 560px;
	margin: 0 auto;
	line-height: 1.7;
}

.btw-count {
	color: rgba(255, 255, 255, 0.4);
	font-size: 15px;
}

.btw-archive-section {
	padding: 64px 20px 80px;
}

.btw-post-list {
	list-style: none !important;
	padding: 0;
	margin: 0 auto;
	max-width: 760px;
}

.btw-post-item {
	padding: 28px 0;
	border-bottom: 1px solid #e5e5e5;
}

.btw-post-item:first-child {
	border-top: 1px solid #e5e5e5;
}

.btw-post-date {
	display: block;
	font-size: 13px;
	color: #999;
	font-weight: 500;
	margin-bottom: 6px;
	letter-spacing: 0.02em;
}

.btw-post-title {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 0;
	text-align: left;
}

.btw-post-title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s;
}

.btw-post-title a:hover {
	color: #1A56DB;
}

.btw-post-excerpt {
	font-size: 15px;
	color: #666;
	line-height: 1.7;
	margin-top: 10px;
	margin-bottom: 0;
}

.btw-archive-section .posts-navigation {
	max-width: 760px;
	margin: 0 auto;
}

@media (max-width: 640px) {
	.btw-title {
		font-size: 52px;
	}
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-hero {
	background: linear-gradient(135deg, #1A56DB 0%, #1340A8 100%);
	padding: 80px 20px;
	text-align: center;
	color: white;
}

.contact-hero h1 {
	color: white;
	margin-bottom: 20px;
}

.contact-hero .subheadline {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0;
}

.contact-form-section {
	padding: 100px 20px;
}

.contact-form-card {
	max-width: 640px;
	margin: 0 auto;
	background: white;
	border-radius: 12px;
	padding: 48px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Contact Form 7 */
.wpcf7-form p {
	margin-bottom: 20px;
}

.wpcf7-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	color: #333;
	font-family: inherit;
	transition: border-color 0.3s;
	background: #fafafa;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: #1A56DB;
	background: white;
}

.wpcf7-form textarea {
	min-height: 140px;
	resize: vertical;
}

.wpcf7-form input[type="submit"],
.wpcf7-submit {
	background: #1A56DB;
	color: white;
	border: none;
	padding: 14px 32px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
	background: #1340A8;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.wpcf7-response-output {
	margin-top: 20px;
	padding: 14px 20px;
	border-radius: 6px;
	font-size: 14px;
	border: none !important;
}

.wpcf7-mail-sent-ok {
	background: #e8f5e9;
	color: #2e7d32;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
	background: #fdecea;
	color: #c62828;
}

.wpcf7-not-valid-tip {
	font-size: 13px;
	color: #c62828;
	margin-top: 4px;
	display: block;
}

.wpcf7-form .wpcf7-not-valid {
	border-color: #c62828;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}

	.site-nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background: white;
		border-top: 1px solid #e5e5e5;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
		padding: 8px 0;
		z-index: 999;
		gap: 0;
	}

	#site-navigation.toggled .site-nav-links {
		display: flex;
	}

	.site-nav-links li {
		width: 100%;
	}

	.site-nav-links a {
		display: block;
		padding: 13px 20px;
		border-bottom: 1px solid #f5f5f5;
		font-size: 15px;
	}

	.site-nav-links li:last-child a {
		border-bottom: none;
	}
}

@media (max-width: 968px) {
	h1 {
		font-size: 42px;
	}

	h2 {
		font-size: 36px;
	}

	.three-col,
	.four-col {
		grid-template-columns: repeat(2, 1fr);
	}

	.badge-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.impact-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
	}

	.impact-stat {
		padding: 28px 24px;
		border-right: none;
		border-bottom: 1px solid #e5e5e5;
	}

	.impact-stat:nth-child(odd) {
		border-right: 1px solid #e5e5e5;
	}

	.impact-stat:last-child,
	.impact-stat:nth-last-child(2):nth-child(odd) {
		border-bottom: none;
	}
}

@media (max-width: 768px) {
	.hero-inner {
		flex-direction: column;
		min-height: auto;
	}

	.hero-photo {
		width: 100%;
		height: 360px;
	}

	.hero-content {
		padding: 48px 20px;
	}
}

@media (max-width: 640px) {
	.hero {
		padding: 0;
	}

	h1 {
		font-size: 34px;
	}

	h2 {
		font-size: 30px;
	}

	.subheadline {
		font-size: 17px;
	}

	.three-col,
	.four-col,
	.two-col,
	.badge-grid {
		grid-template-columns: 1fr;
	}

	.impact-stats {
		grid-template-columns: 1fr;
	}

	.impact-stat {
		border-right: none !important;
		border-bottom: 1px solid #e5e5e5;
		padding: 24px 0;
	}

	.impact-stat:first-child {
		padding-top: 0;
	}

	.impact-stat:last-child {
		border-bottom: none;
	}

	.cta-group {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}

	section {
		padding: 72px 20px;
	}

	.post-navigation .nav-links {
		flex-direction: column;
	}

	.post-navigation .nav-previous,
	.post-navigation .nav-next {
		max-width: 100%;
	}
}
