/*
Theme Name: The Newseum
Theme URI: https://thenewseum.com
Author: The Newseum
Author URI: https://thenewseum.com
Description: A custom magazine-style news and blogging theme for thenewseum.com. Built for category-driven layouts (India News, World News, Business, Technology, Entertainment, Cricket, Lifestyle, Healthcare, History & Culture, Travel) with a hero homepage, article pages with reading time and social share, and dedicated templates for About, Contact, and Advertise.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thenewseum
Tags: news, blog, magazine, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   1. CSS VARIABLES / DESIGN TOKENS
========================================================= */
:root {
	--color-accent:        #9F844E;  /* gold - matches logo underline; links, badges, CTAs */
	--color-accent-dark:   #7C6539;
	--color-ink:           #2A2825;  /* charcoal - matches logo wordmark; headlines / primary text */
	--color-body:          #45423E;  /* body copy */
	--color-muted:         #7A776F;  /* meta text */
	--color-border:        #E9E7E2;
	--color-bg:            #FFFFFF;
	--color-bg-soft:       #F7F6F3;
	--color-navy:          #142B4C;  /* navy - matches logo pillars */

	--font-headline: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--container-width: 1240px;
	--radius: 6px;
	--shadow-card: 0 1px 3px rgba(20,26,32,0.08);
	--shadow-hover: 0 8px 24px rgba(20,26,32,0.12);
}

/* =========================================================
   2. RESET / BASE
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-body);
	background: var(--color-bg);
	line-height: 1.6;
	font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--color-accent-dark); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-headline);
	color: var(--color-ink);
	line-height: 1.2;
	margin: 0 0 .5em;
	font-weight: 700;
}
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px; overflow: hidden;
}
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* =========================================================
   3. BREAKING NEWS TICKER
========================================================= */
.breaking-news-bar {
	background: var(--color-ink);
	color: #fff;
	display: flex;
	align-items: center;
	font-size: 13px;
	overflow: hidden;
}
.breaking-label {
	background: var(--color-accent);
	padding: 8px 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	flex-shrink: 0;
	white-space: nowrap;
}
.breaking-ticker { overflow: hidden; flex: 1; padding: 8px 0; }
.breaking-ticker-track { display: flex; gap: 40px; white-space: nowrap; animation: ticker 30s linear infinite; }
.breaking-ticker-track a { color: #fff; padding: 0 16px; }
.breaking-ticker-track a:hover { color: var(--color-accent); }
.breaking-item { display: inline-block; padding: 0 16px; color: #fff; }
@keyframes ticker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* =========================================================
   4. HEADER / NAVIGATION
========================================================= */
.site-header { border-bottom: 1px solid var(--color-border); background: var(--color-bg); position: relative; z-index: 50; }
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 20px;
}
.site-title-link { display: flex; flex-direction: column; }
.site-title {
	font-family: var(--font-headline);
	font-size: 30px;
	font-weight: 800;
	color: var(--color-ink);
	letter-spacing: -.01em;
}
.site-description { font-size: 12px; color: var(--color-muted); }
.custom-logo { max-height: 76px; width: auto; }

.main-navigation { flex: 1; }
.primary-menu { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.primary-menu > li { position: relative; }
.primary-menu .menu-link {
	display: block;
	padding: 10px 2px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--color-ink);
}
.primary-menu > li:first-child > .menu-link { color: var(--color-accent); }
.primary-menu .menu-link:hover { color: var(--color-accent); }
.dropdown-caret { font-size: 10px; }

.primary-menu .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-hover);
	min-width: 200px;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .15s ease;
}
.primary-menu li.has-dropdown:hover > .sub-menu,
.primary-menu li.has-dropdown:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.primary-menu .sub-menu .menu-link {
	padding: 10px 18px;
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle, .mobile-menu-toggle {
	background: transparent; border: none; padding: 8px;
}
.icon-search { font-size: 18px; }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 4px; }
.mobile-menu-toggle span { width: 22px; height: 2px; background: var(--color-ink); display: block; }

.header-search-form {
	max-height: 0; overflow: hidden; background: var(--color-bg-soft);
	transition: max-height .2s ease;
}
.header-search-form.is-open { max-height: 100px; }
.header-search-form .container { padding: 16px 20px; }

.search-form { display: flex; gap: 8px; }
.search-field {
	flex: 1; padding: 10px 14px; border: 1px solid var(--color-border);
	border-radius: var(--radius); font-size: 15px;
}
.search-submit {
	background: var(--color-accent); color: #fff; border: none;
	padding: 10px 20px; border-radius: var(--radius); font-weight: 600;
}
.search-submit:hover { background: var(--color-accent-dark); }

/* =========================================================
   5. HOMEPAGE / HERO
========================================================= */
.hero-section {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 24px;
	padding: 32px 20px;
}
.hero-main { position: relative; }
.hero-thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-body { padding-top: 16px; }
.hero-title { font-size: 32px; margin-bottom: 10px; }
.hero-title a { color: var(--color-ink); }
.hero-title a:hover { color: var(--color-accent); }
.hero-excerpt { color: var(--color-muted); font-size: 15px; margin-bottom: 10px; }

.hero-secondary { display: flex; flex-direction: column; gap: 16px; }
.hero-secondary .post-card { display: flex; gap: 12px; }
.hero-secondary .card-thumb { width: 110px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.hero-secondary .card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-secondary .card-title { font-size: 15px; margin-bottom: 4px; }
.hero-secondary .card-meta { font-size: 12px; }

.category-badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--color-accent); color: #fff;
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .04em; padding: 4px 10px; border-radius: 3px;
}
.card-thumb-placeholder {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--color-bg-soft), var(--color-border));
}

.homepage-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 20px 20px 60px; }

.must-read-strip { background: var(--color-bg-soft); border-radius: var(--radius); padding: 24px; margin-bottom: 40px; }
.section-label {
	font-size: 20px; text-transform: uppercase; letter-spacing: .03em;
	border-left: 4px solid var(--color-accent); padding-left: 10px; margin-bottom: 18px;
}
.must-read-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.category-row { margin-bottom: 44px; }
.category-row-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; border-bottom: 2px solid var(--color-ink); padding-bottom: 8px; }
.category-row-title { font-size: 22px; margin: 0; }
.view-all { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.category-row-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.post-card { position: relative; }
.card-thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; margin-bottom: 10px; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.post-card:hover .card-thumb img { transform: scale(1.05); }
.card-title { font-size: 17px; margin-bottom: 6px; }
.card-title a { color: var(--color-ink); }
.card-title a:hover { color: var(--color-accent); }
.card-meta { font-size: 12.5px; color: var(--color-muted); }
.card-meta .sep { margin: 0 6px; }

/* Homepage sidebar / trending */
.homepage-sidebar .widget,
.sidebar-main .widget { background: var(--color-bg-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.widget-title { font-size: 17px; margin-bottom: 14px; border-bottom: 2px solid var(--color-ink); padding-bottom: 8px; }
.trending-item { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.trending-item:last-child { border-bottom: none; }
.trending-number { font-family: var(--font-headline); font-size: 22px; font-weight: 800; color: var(--color-accent); width: 24px; flex-shrink: 0; }
.trending-item a { color: var(--color-ink); font-size: 14px; font-weight: 600; }
.trending-item a:hover { color: var(--color-accent); }

/* =========================================================
   6. BLOG / ARCHIVE GRID
========================================================= */
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 40px 20px 60px; }
.page-header { margin-bottom: 30px; }
.page-title { font-size: 32px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pagination { margin-top: 40px; display: flex; gap: 10px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; border: 1px solid var(--color-border);
	border-radius: var(--radius); color: var(--color-ink); font-weight: 600; font-size: 14px; padding: 0 10px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* =========================================================
   7. SINGLE ARTICLE PAGE
========================================================= */
.single-article { max-width: 100%; }
.article-header { margin-bottom: 20px; }
.article-title { font-size: 38px; margin: 12px 0 14px; }
.article-meta { font-size: 13px; color: var(--color-muted); }
.article-featured-image { margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.article-featured-image figcaption { font-size: 12px; color: var(--color-muted); padding-top: 8px; }

.social-share { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin: 20px 0; }
.share-label { font-size: 13px; font-weight: 600; color: var(--color-muted); margin-right: 6px; }
.social-share a {
	width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-bg-soft); border-radius: 50%; font-size: 11px; font-weight: 700; color: var(--color-ink);
}
.social-share a:hover { background: var(--color-accent); color: #fff; }

.article-content { font-size: 17px; line-height: 1.8; color: var(--color-body); }
.article-content p { margin: 0 0 22px; }
.article-content h2 { font-size: 26px; margin: 36px 0 16px; }
.article-content h3 { font-size: 21px; margin: 28px 0 14px; }
.article-content blockquote {
	border-left: 4px solid var(--color-accent); margin: 28px 0; padding: 4px 0 4px 22px;
	font-family: var(--font-headline); font-size: 20px; font-style: italic; color: var(--color-ink);
}
.article-content img { border-radius: var(--radius); margin: 24px 0; }
.article-content ul, .article-content ol { margin: 0 0 22px; padding-left: 24px; }
.article-content a { text-decoration: underline; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag-pill { background: var(--color-bg-soft); padding: 6px 12px; border-radius: 20px; font-size: 12.5px; color: var(--color-body); }
.tag-pill:hover { background: var(--color-accent); color: #fff; }

.author-bio-box { display: flex; gap: 16px; background: var(--color-bg-soft); border-radius: var(--radius); padding: 20px; margin: 30px 0; }
.author-avatar img { border-radius: 50%; }
.author-name { font-size: 16px; margin-bottom: 6px; }
.author-description { font-size: 13.5px; color: var(--color-muted); margin: 0; }

.related-posts { margin: 40px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Comments */
.comments-area { margin-top: 40px; }
.comments-title { font-size: 22px; margin-bottom: 20px; }
.comment-list .comment { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.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 var(--color-border); border-radius: var(--radius); margin-bottom: 14px; font-family: inherit; font-size: 14px;
}
.comment-form .form-submit input {
	background: var(--color-accent); color: #fff; border: none; padding: 12px 26px; border-radius: var(--radius); font-weight: 600;
}

/* =========================================================
   8. STATIC PAGES (About / Contact / Advertise / generic)
========================================================= */
.about-hero, .contact-hero, .advertise-hero {
	background: var(--color-navy); color: #fff; padding: 60px 0; text-align: center; margin-bottom: 40px;
}
.about-hero .page-title, .contact-hero .page-title, .advertise-hero .page-title { color: #fff; }
.advertise-subtitle { color: #C9CEDA; font-size: 16px; margin-top: 10px; }

.about-content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-bottom: 60px; }
.page-body-content { font-size: 16.5px; line-height: 1.8; }
.page-body-content p { margin: 0 0 20px; }
.highlight-box { background: var(--color-bg-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.highlight-box h3 { font-size: 16px; margin-bottom: 8px; }
.highlight-box p { font-size: 14px; color: var(--color-muted); margin: 0; }

.ad-formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.ad-format-card { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; text-align: center; }
.ad-format-card h3 { font-size: 17px; margin-bottom: 8px; }
.advertise-cta-box { background: var(--color-bg-soft); border-radius: var(--radius); padding: 36px; text-align: center; margin-bottom: 60px; }
.advertise-cta-box h2 { margin-bottom: 8px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.contact-details { margin-top: 20px; }
.contact-details li { padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: 14.5px; }
.native-contact-form { display: flex; flex-direction: column; }
.native-contact-form label { font-size: 13px; font-weight: 600; margin-bottom: 6px; margin-top: 14px; }
.native-contact-form input, .native-contact-form textarea {
	padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); font-family: inherit; font-size: 14.5px;
}
.button {
	display: inline-block; background: var(--color-accent); color: #fff !important; border: none;
	padding: 12px 26px; border-radius: var(--radius); font-weight: 600; margin-top: 20px; text-align: center;
}
.button:hover { background: var(--color-accent-dark); }

/* =========================================================
   8b. SHARED SECTION COMPONENTS
   (stats bar, process steps, team grid, testimonials, FAQ,
   contact cards, map embed, category chips, policy layout)
========================================================= */
.eyebrow {
	display: inline-block; font-size: 12.5px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .08em; color: var(--color-accent); margin-bottom: 10px;
}
.about-hero .eyebrow, .contact-hero .eyebrow, .advertise-hero .eyebrow { color: #D9BE85; }
.hero-lede { max-width: 640px; margin: 14px auto 0; font-size: 16px; color: #C9CEDA; }
.about-hero .hero-lede, .contact-hero .hero-lede { margin-left: 0; margin-right: 0; }

.section-heading {
	font-size: 26px; margin-bottom: 8px; border-left: 4px solid var(--color-accent); padding-left: 12px;
}
.section-subtext { color: var(--color-muted); font-size: 14px; margin: 0 0 20px; }

/* Stats bar */
.stats-bar { background: var(--color-bg-soft); padding: 30px 0; margin-bottom: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { display: block; font-family: var(--font-headline); font-size: 30px; font-weight: 800; color: var(--color-accent); }
.stat-label { display: block; font-size: 13px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }

/* Process steps */
.values-section, .team-section, .testimonials-section, .faq-section, .ad-formats-section, .category-showcase { margin: 50px 0; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.process-step { background: var(--color-bg-soft); border-radius: var(--radius); padding: 24px 20px; }
.step-number { font-family: var(--font-headline); font-size: 26px; font-weight: 800; color: var(--color-accent); display: block; margin-bottom: 10px; }
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--color-muted); margin: 0; }

/* Two column highlight boxes (About page) */
.two-col-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.team-member { text-align: center; }
.team-avatar-placeholder {
	display: block; width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 12px;
	background: linear-gradient(135deg, var(--color-bg-soft), var(--color-border));
}
.team-member h4 { font-size: 15px; margin-bottom: 4px; }
.team-member p { font-size: 13px; color: var(--color-muted); margin: 0; }

/* CTA band */
.about-cta {
	background: var(--color-navy); color: #fff; border-radius: var(--radius);
	padding: 40px; text-align: center; margin: 50px 0;
}
.about-cta h2 { color: #fff; margin-bottom: 8px; }
.about-cta p { color: #C9CEDA; margin-bottom: 4px; }
.about-cta .button { margin: 20px 8px 0; }
.button-outline { background: transparent; border: 1px solid #fff; }
.button-outline:hover { background: rgba(255,255,255,0.1); }
.button-light { background: #fff; color: var(--color-accent) !important; }
.button-light:hover { background: #f1f1f1; }

/* Ad format icons */
.ad-format-icon { display: block; font-size: 28px; margin-bottom: 10px; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--color-bg-soft); border-radius: var(--radius); padding: 24px; }
.testimonial-quote { font-style: italic; color: var(--color-ink); margin-bottom: 12px; }
.testimonial-author { font-size: 13px; color: var(--color-muted); margin: 0; font-weight: 600; }

/* FAQ accordion */
.faq-accordion { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
	width: 100%; display: flex; justify-content: space-between; align-items: center;
	background: none; border: none; padding: 18px 4px; font-size: 15.5px; font-weight: 600;
	color: var(--color-ink); text-align: left;
}
.faq-caret { font-size: 20px; color: var(--color-accent); transition: transform .15s ease; }
.faq-item.is-open .faq-caret { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .2s ease; }
.faq-item.is-open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 4px 18px; color: var(--color-muted); font-size: 14.5px; margin: 0; }

/* Advertise enquiry form layout */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-alt { margin-top: 16px; font-size: 13.5px; color: var(--color-muted); }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0 10px; }
.contact-card { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; text-align: center; }
.contact-icon { display: block; font-size: 26px; margin-bottom: 8px; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--color-muted); margin: 0 0 8px; }

/* Office info + map */
.office-info { margin-top: 30px; }
.map-embed { margin-top: 14px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.social-row { margin-top: 30px; }
.social-row h3 { font-size: 15px; margin-bottom: 10px; }
.social-row .footer-socials a { background: var(--color-bg-soft); color: var(--color-ink); }
.social-row .footer-socials a:hover { background: var(--color-accent); color: #fff; }

/* Category chips (masthead page) */
.category-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.category-chip {
	background: var(--color-bg-soft); padding: 10px 18px; border-radius: 20px;
	font-size: 13.5px; font-weight: 600; color: var(--color-ink);
}
.category-chip:hover { background: var(--color-accent); color: #fff; }

/* Policy page layout */
.policy-hero { background: var(--color-bg-soft); padding: 50px 0; text-align: center; margin-bottom: 40px; }
.policy-updated { color: var(--color-muted); font-size: 13.5px; margin-top: 8px; }
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-bottom: 60px; align-items: start; }
.policy-toc { position: sticky; top: 20px; background: var(--color-bg-soft); border-radius: var(--radius); padding: 20px; }
.policy-toc h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.policy-toc li { padding: 6px 0; font-size: 13.5px; }
.policy-toc a { color: var(--color-body); }
.policy-toc a:hover { color: var(--color-accent); }
.policy-section { margin-bottom: 34px; scroll-margin-top: 100px; }
.policy-section h2 { font-size: 21px; margin-bottom: 10px; }
.policy-section p, .policy-section li { font-size: 15px; color: var(--color-body); line-height: 1.75; }
.policy-section ul { padding-left: 20px; margin: 10px 0; }

/* =========================================================
   12. ACCESSIBILITY & FINISHING TOUCHES
========================================================= */
.skip-link {
	position: absolute; top: -100px; left: 10px; z-index: 999;
	background: var(--color-ink); color: #fff; padding: 10px 18px;
	border-radius: var(--radius); font-size: 13px; font-weight: 600;
	transition: top .15s ease;
}
.skip-link:focus { top: 10px; color: #fff; }

.stat-item { padding: 6px 0; }

.page-links {
	margin: 30px 0; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.page-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0 8px; }

.no-results, .no-comments {
	background: var(--color-bg-soft); border-radius: var(--radius); padding: 30px; text-align: center;
}
.no-results h2 { margin-bottom: 8px; }
.no-comments { text-align: left; font-size: 14px; color: var(--color-muted); padding: 14px 0; background: none; }

.contact-info, .contact-form-wrap { min-width: 0; }
.contact-form-wrap { background: var(--color-bg-soft); border-radius: var(--radius); padding: 26px; }
.contact-form-wrap h2 { font-size: 20px; margin-bottom: 4px; }

.sidebar-category-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 13.5px; }
.sidebar-category-list li:last-child { border-bottom: none; }
.sidebar-category-list a { color: var(--color-ink); font-weight: 600; }
.sidebar-category-list a:hover { color: var(--color-accent); }
.cat-count { color: var(--color-muted); font-size: 12px; }

.widget-newsletter p { font-size: 13px; color: var(--color-muted); margin-bottom: 12px; }
.sidebar-newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.sidebar-newsletter-form input { padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 13.5px; }
.sidebar-newsletter-form .button { margin-top: 0; }

.article-footer { margin: 20px 0; }

.about-featured-image, .page-featured-image {
	border-radius: var(--radius); overflow: hidden; margin: 20px 0;
}

/* Ensure long words / stray URLs never overflow their container */
.article-content, .page-body-content, .policy-section { overflow-wrap: break-word; word-break: break-word; }

/* Focus visibility for keyboard users across interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 2px solid var(--color-accent); outline-offset: 2px;
}

/* =========================================================
   9. 404
========================================================= */
.error-404-page { padding: 100px 0; text-align: center; }
.error-code { font-size: 90px; color: var(--color-accent); margin-bottom: 0; }
.error-404-content .search-form { max-width: 400px; margin: 24px auto; }

/* =========================================================
   10. FOOTER
========================================================= */
.site-footer { background: var(--color-navy); color: #C9CEDA; padding: 50px 0 20px; margin-top: 60px; }
.footer-widgets { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col .site-title { color: #fff; }
.footer-site-title { font-family: var(--font-headline); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.footer-tagline { font-size: 13px; margin: 10px 0 16px; color: #9BA2B4; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
	width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.08); border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700;
}
.footer-socials a:hover { background: var(--color-accent); }
.footer-col .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,0.2); font-size: 15px; }
.footer-col ul li { padding: 6px 0; font-size: 13.5px; }
.footer-col a { color: #C9CEDA; }
.footer-col a:hover { color: #fff; }

.footer-navigation { padding: 20px 0; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.footer-menu a { color: #C9CEDA; font-size: 13px; }
.footer-menu a:hover { color: #fff; }

.site-info { text-align: center; font-size: 12.5px; color: #8891A3; padding-top: 16px; }

/* =========================================================
   11. RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
	.category-row-grid { grid-template-columns: repeat(2, 1fr); }
	.must-read-grid { grid-template-columns: repeat(2, 1fr); }
	.homepage-layout, .page-layout, .about-content-wrap, .contact-layout, .policy-layout { grid-template-columns: 1fr; }
	.hero-section { grid-template-columns: 1fr; }
	.footer-widgets { grid-template-columns: repeat(3, 1fr); }
	.stats-grid, .process-steps, .team-grid, .testimonials-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
	.two-col-highlights { grid-template-columns: 1fr; }
	.policy-toc { position: static; }
}

@media (max-width: 782px) {
	.mobile-menu-toggle { display: flex; }
	.main-navigation { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); max-height: 0; overflow: hidden; transition: max-height .2s ease; }
	.main-navigation.is-open { max-height: 600px; overflow-y: auto; }
	.primary-menu { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
	.primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 14px; display: none; }
	.primary-menu li.has-dropdown.is-open .sub-menu { display: block; }
	.blog-grid, .related-grid, .must-read-grid, .category-row-grid { grid-template-columns: 1fr; }
	.article-title { font-size: 28px; }
	.footer-widgets { grid-template-columns: repeat(2, 1fr); }
	.stats-grid, .process-steps, .team-grid, .testimonials-grid, .contact-cards { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.footer-widgets { grid-template-columns: 1fr; }
	.hero-title { font-size: 24px; }
	.site-title { font-size: 22px; }
}
