/*
Theme Name: NewsCore
Theme URI: https://wordpress.org/themes/
Author: NewsCore
Description: A clean news-style blogging theme for guest-post sites. A featured story with a large image, a Recent Posts list with category badges, and a right column with Pages and Categories side by side above a list of shuffled (or latest) posts. Self-hosted fonts, no theme JavaScript.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 7.2
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: newscore
Update URI: false
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-options
*/

/* Fonts (self-hosted, no Google requests) */
@font-face {
	font-family: "Source Serif 4";
	src: url("assets/fonts/source-serif-4.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Base (shared structure; the theme section below sets the look)
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--nc-bg);
	color: var(--nc-ink);
	font-family: var(--nc-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-family: var(--nc-display);
	line-height: 1.15;
	text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--nc-focus, currentColor); outline-offset: 3px; border-radius: 4px; }

.nc-wrap { width: min(100% - 32px, var(--nc-wrap)); margin-inline: auto; }

.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 !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus,
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 12px;
	top: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--nc-accent);
	color: var(--nc-on-accent);
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}

/* Buttons */
.nc-btn,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.7em 1.25em;
	background: var(--nc-accent);
	color: var(--nc-on-accent);
	border: 0;
	border-radius: var(--nc-btn-radius, 8px);
	font-family: var(--nc-display);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.nc-btn:hover,
.comment-form .submit:hover { transform: translateY(-2px); }

/* Mobile menu toggle (pure CSS checkbox) */
.nc-nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nc-nav-button { display: none; }
.nc-burger { position: relative; width: 18px; height: 12px; }
.nc-burger::before,
.nc-burger::after,
.nc-burger span {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nc-burger::before { top: 0; }
.nc-burger span { top: 5px; }
.nc-burger::after { top: 10px; }
.nc-nav-toggle:checked + .nc-nav-button .nc-burger::before { transform: translateY(5px) rotate(45deg); }
.nc-nav-toggle:checked + .nc-nav-button .nc-burger span { opacity: 0; }
.nc-nav-toggle:checked + .nc-nav-button .nc-burger::after { transform: translateY(-5px) rotate(-45deg); }
.nc-nav-toggle:focus-visible + .nc-nav-button { outline: 3px solid currentColor; outline-offset: 3px; }

.nc-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nc-menu li { position: relative; }
.nc-menu a { display: block; text-decoration: none; }
.nc-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nc-menu li:hover > .sub-menu,
.nc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* Thumbnails */
.nc-thumb {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	text-decoration: none;
	background: var(--nc-soft);
}
.nc-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
a.nc-thumb:hover img { transform: scale(1.04); }
.nc-thumb__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--nc-tone, var(--nc-soft));
	font-family: var(--nc-display);
	font-weight: 700;
	font-size: clamp(2.6rem, 7vw, 4.2rem);
	line-height: 1;
	color: var(--nc-tone-ink, var(--nc-ink));
}

/* Chips + meta */
.nc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.nc-chip { text-decoration: none; }
.nc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--nc-muted); font-size: 0.88rem; }
.nc-meta__item + .nc-meta__item::before { content: "·"; margin: 0 8px; }
.nc-meta a { color: var(--nc-ink); font-weight: 700; text-decoration: none; }
.nc-meta a:hover { text-decoration: underline; }
.nc-meta__avatar { width: 40px; height: 40px; margin-right: 10px; border-radius: 50%; }

/* Lists in boxes */
.nc-catlist,
.nc-pagelist,
.nc-randlist { margin: 0; padding: 0; list-style: none; }
.nc-pagelist .children { display: none; }
.nc-cat,
.nc-pagelist a { text-decoration: none; }
.nc-rand__media { position: relative; }
.nc-rand__title { margin: 0 0 6px; }
.nc-rand__title a,
.nc-card__title a,
.nc-full__title a { text-decoration: none; }
.nc-rand__text { margin: 0 0 8px; }
.nc-rand__more { font-weight: 700; }
.widget.nc-box > :not(.nc-box__title) { margin: 16px 18px; }
.widget.nc-box ul { padding-left: 1.1em; }

/* Article content */
.nc-entry { font-size: 1.075rem; line-height: 1.78; overflow-wrap: break-word; }
.nc-entry > * { margin-block: 0 1.15em; }
.nc-entry > *:last-child { margin-bottom: 0; }
.nc-entry h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 1.6em; }
.nc-entry h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-top: 1.5em; }
.nc-entry h4 { font-size: 1.15rem; margin-top: 1.4em; }
.nc-entry a { color: var(--nc-link, var(--nc-ink)); font-weight: 600; text-decoration: underline; text-decoration-color: var(--nc-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nc-entry a:hover { text-decoration-thickness: 4px; }
.nc-entry ul,
.nc-entry ol { padding-left: 1.4em; }
.nc-entry li { margin-bottom: 0.4em; }
.nc-entry li::marker { color: var(--nc-accent); }
.nc-entry blockquote { margin-inline: 0; }
.nc-entry blockquote p:last-child { margin-bottom: 0; }
.nc-entry blockquote cite { display: block; margin-top: 10px; font-size: 0.9rem; font-style: normal; color: var(--nc-muted); }
.nc-entry img { border-radius: var(--nc-img-radius, 8px); }
.nc-entry figure { margin-inline: 0; }
.nc-entry figcaption,
.wp-caption-text,
.wp-element-caption { margin-top: 8px; color: var(--nc-muted); font-size: 0.88rem; text-align: center; }
.nc-entry code,
.nc-entry kbd { padding: 0.12em 0.4em; background: var(--nc-soft); border-radius: 6px; font-family: var(--nc-mono); font-size: 0.88em; }
.nc-entry pre { padding: 20px 22px; background: #15131c; color: #f3f0e8; border-radius: 10px; overflow-x: auto; font-family: var(--nc-mono); font-size: 0.9rem; line-height: 1.6; }
.nc-entry pre code { padding: 0; background: none; color: inherit; }
.nc-entry table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.nc-entry th,
.nc-entry td { padding: 10px 12px; border: 1px solid var(--nc-line); text-align: left; }
.nc-entry th { background: var(--nc-soft); }
.nc-entry .wp-block-table { overflow-x: auto; }
.nc-entry hr { border: 0; height: 1px; background: var(--nc-line); margin: 2.4em 0; }
.nc-entry .more-link { display: inline-block; margin-top: 4px; font-family: var(--nc-display); font-weight: 700; }
.nc-pagelinks { margin-top: 22px; font-weight: 700; }
.nc-pagelinks a,
.nc-pagelinks > span:not(:first-child) { margin-left: 6px; }

.nc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nc-tags a { padding: 0.3em 0.75em; border-radius: 6px; background: var(--nc-soft); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.nc-tags a::before { content: "#"; color: var(--nc-accent); margin-right: 1px; }

/* WordPress core classes */
.alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide,
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery-caption { font-size: 0.85rem; }
.sticky { position: relative; }
.bypostauthor > .comment-body { outline: 2px solid var(--nc-accent); }

/* Single post */
.nc-single__thumb { margin: 0; }
.nc-single__thumb img { display: block; width: 100%; height: auto; }
.nc-single .nc-tags { margin-top: 30px; }
.nc-author { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 32px; padding: 22px; }
.nc-author__avatar { width: 88px; height: 88px; border-radius: 50%; }
.nc-author__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nc-muted); }
.nc-author__name { margin: 2px 0 6px; font-size: 1.35rem; }
.nc-author__name a { text-decoration: none; }
.nc-author__bio { margin: 0 0 8px; font-size: 0.98rem; color: var(--nc-muted); }
.nc-author__site { font-weight: 700; font-size: 0.92rem; }
@media (max-width: 520px) {
	.nc-author { grid-template-columns: 1fr; }
	.nc-author__avatar { width: 64px; height: 64px; }
}

.nc-postnav { margin-top: 36px; }
.nc-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nc-postnav .nav-next { grid-column: 2; text-align: right; }
.nc-postnav a { display: block; height: 100%; padding: 18px 20px; text-decoration: none; }
.nc-postnav__label { display: block; margin-bottom: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nc-muted); }
.nc-postnav__title { font-family: var(--nc-display); font-weight: 700; line-height: 1.3; }
@media (max-width: 640px) {
	.nc-postnav .nav-links { grid-template-columns: 1fr; }
	.nc-postnav .nav-next { grid-column: auto; }
}

/* Pagination */
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	font-family: var(--nc-display);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.page-numbers.dots { background: transparent !important; border-color: transparent !important; }

/* Archive header */
.nc-archive-head { margin-bottom: 32px; }
.nc-archive-head__title { margin: 10px 0 8px; font-size: clamp(2.1rem, 5vw, 3.2rem); }
.nc-archive-head__desc { color: var(--nc-muted); max-width: 60ch; }
.nc-archive-head .nc-search { margin-top: 18px; max-width: 520px; }

/* Search + comments */
.nc-search { display: flex; gap: 8px; }
.nc-search__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--nc-paper);
	color: var(--nc-ink);
	border: 1px solid var(--nc-line);
	border-radius: var(--nc-input-radius, 8px);
	font: inherit;
	font-size: 1rem;
}
.nc-search__input:focus,
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--nc-accent); box-shadow: 0 0 0 3px var(--nc-ring, rgba(0, 0, 0, 0.12)); }
.nc-search__btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 50px;
	background: var(--nc-accent);
	color: var(--nc-on-accent);
	border: 0;
	border-radius: var(--nc-input-radius, 8px);
	cursor: pointer;
}

.nc-comments { margin-top: 44px; }
.nc-comments__title { font-size: 1.6rem; margin-bottom: 20px; }
.nc-comment-list,
.nc-comment-list .children { margin: 0; padding: 0; list-style: none; }
.nc-comment-list .children { margin-left: clamp(14px, 4vw, 34px); }
.comment-body { margin-bottom: 16px; padding: 18px 20px; background: var(--nc-paper); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--nc-display); font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 4px 0 10px; font-size: 0.82rem; }
.comment-metadata a { color: var(--nc-muted); text-decoration: none; }
.comment-content { font-size: 1rem; }
.reply a { font-size: 0.85rem; font-weight: 700; }
.comment-respond { padding: clamp(20px, 4vw, 30px); background: var(--nc-paper); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.92rem; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-reply-title small { margin-left: 10px; font-size: 0.85rem; }

/* 404 + empty */
.nc-404,
.nc-empty { padding: clamp(28px, 5vw, 48px); text-align: center; background: var(--nc-paper); border-radius: var(--nc-radius); }
.nc-404__num { margin: 0; font-family: var(--nc-display); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--nc-accent); }
.nc-404 .nc-search,
.nc-empty .nc-search { max-width: 460px; margin: 18px auto 22px; }

/* Footer widgets */
.nc-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 32px; margin-bottom: 32px; }
.nc-footer-widget ul { padding-left: 1.1em; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { transition: none !important; animation: none !important; }
}


/* ==========================================================================
   NewsCore look
   ========================================================================== */
:root {
	--nc-bg: #f6f7f5;
	--nc-paper: #ffffff;
	--nc-ink: #1d2321;
	--nc-muted: #5b6460;
	--nc-soft: #f1f3ef;
	--nc-line: #e6e8e4;
	--nc-accent: #2f6b4f;
	--nc-on-accent: #ffffff;
	--nc-link: #2f6b4f;
	--nc-radius: 6px;
	--nc-btn-radius: 4px;
	--nc-input-radius: 4px;
	--nc-img-radius: 4px;
	--nc-focus: #2f6b4f;
	--nc-ring: rgba(47, 107, 79, 0.18);
	--nc-panel-shadow: 0 1px 2px rgba(20, 30, 25, 0.04);
	--nc-display: "Source Serif 4", Georgia, "Times New Roman", serif;
	--nc-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--nc-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--nc-wrap: 1440px;
}

body { font-size: 1rem; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -0.01em; }
.nc-icon { flex: none; }

/* Badge / dot tones */
.nc-t0 { --nc-tone: #2f6b4f; --nc-tone-bg: #e5f1e8; }
.nc-t1 { --nc-tone: #2a64ad; --nc-tone-bg: #e4eefa; }
.nc-t2 { --nc-tone: #b5591a; --nc-tone-bg: #fdeedd; }
.nc-t3 { --nc-tone: #b23a55; --nc-tone-bg: #fbe7ea; }
.nc-t4 { --nc-tone: #5b45a8; --nc-tone-bg: #ece8f8; }
.nc-thumb__fallback { background: var(--nc-tone-bg); color: var(--nc-tone); font-family: var(--nc-display); }

.nc-badge,
.nc-chip {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 3px;
	background: var(--nc-tone-bg);
	color: var(--nc-tone);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
}
.nc-badge:hover,
.nc-chip:hover { background: var(--nc-tone); color: #ffffff; }

.nc-dateline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; color: var(--nc-muted); font-size: 0.85rem; }
.nc-dateline span,
.nc-dateline a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.nc-dateline a:hover { color: var(--nc-accent); }

.nc-btn { font-family: var(--nc-body); font-weight: 600; font-size: 0.95rem; padding: 0.75em 1.4em; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.nc-btn:hover { background: #255a42; color: #ffffff; transform: none; }
.nc-btn .nc-icon { transition: transform 0.15s ease; }
.nc-btn:hover .nc-icon { transform: translateX(3px); }

/* Header */
.nc-header { background: var(--nc-paper); border-bottom: 1px solid var(--nc-line); position: relative; z-index: 50; }
.nc-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; min-height: 72px; padding-block: 10px; }
.nc-brand { flex: none; }
.nc-brand__title { margin: 0; font-family: var(--nc-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; color: #173728; }
.nc-brand__title a { text-decoration: none; }
.nc-brand__hl { color: var(--nc-accent); }
.nc-brand__tagline { margin: 4px 0 0; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nc-muted); }
.custom-logo { max-height: 56px; width: auto; }

.nc-header__panel { flex: 1; display: flex; align-items: center; gap: 20px; }
.nc-nav { margin-inline: auto; }
.nc-menu { gap: 2px 6px; }
.nc-menu > li > a { position: relative; padding: 12px 13px; white-space: nowrap; font-weight: 500; font-size: 0.95rem; color: var(--nc-ink); }
.nc-menu a { display: inline-flex; align-items: center; gap: 4px; }
.nc-menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--nc-accent); transform: scaleX(0); transition: transform 0.2s ease; }
.nc-menu > li > a:hover::after,
.nc-menu > .current-menu-item > a::after,
.nc-menu > .current_page_item > a::after,
.nc-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.nc-menu > .current-menu-item > a { color: var(--nc-ink); }
.nc-menu .sub-menu { background: var(--nc-paper); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); box-shadow: 0 10px 30px rgba(20, 30, 25, 0.1); }
.nc-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 4px; font-size: 0.92rem; }
.nc-menu .sub-menu a:hover { background: var(--nc-soft); }
.nc-menu .sub-menu .sub-menu { top: 0; left: 100%; }

.nc-header__tools { display: flex; align-items: center; gap: 10px; }
.nc-cta { white-space: nowrap; background: transparent; color: var(--nc-accent); border: 1px solid var(--nc-accent); box-shadow: none; font-family: var(--nc-body); font-size: 0.85rem; padding: 0.55em 1em; }
.nc-cta:hover { background: var(--nc-accent); color: #ffffff; transform: none; }
.nc-searchbox { position: relative; }
.nc-searchbox summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--nc-ink); cursor: pointer; list-style: none; }
.nc-searchbox summary::-webkit-details-marker { display: none; }
.nc-searchbox summary:hover,
.nc-searchbox[open] summary { background: var(--nc-soft); }
.nc-searchbox summary svg { width: 22px; height: 22px; }
.nc-searchbox__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, 88vw); padding: 12px; background: var(--nc-paper); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); box-shadow: 0 16px 40px rgba(20, 30, 25, 0.12); }
.nc-mobile-search { display: none; }

@media (max-width: 1180px) {
	.nc-header__inner { justify-content: space-between; flex-wrap: wrap; }
	.nc-brand { flex: 1 1 0; min-width: 0; }
	.nc-nav-button { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--nc-line); border-radius: 4px; font-weight: 600; cursor: pointer; }
	.nc-header__panel { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 8px; }
	.nc-nav-toggle:checked ~ .nc-header__panel { display: flex; }
	.nc-nav { margin: 0; }
	.nc-menu { flex-direction: column; align-items: stretch; }
	.nc-menu > li > a { display: flex; padding: 10px 4px; border-bottom: 1px solid var(--nc-line); }
	.nc-menu > li > a::after { display: none; }
	.nc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.nc-header__tools { flex-wrap: wrap; }
	.nc-searchbox { display: none; }
	.nc-mobile-search { display: block; flex: 1 1 240px; }
}

@media (min-width: 1181px) and (max-width: 1360px) {
	.nc-header__inner { gap: 12px 18px; }
	.nc-menu > li > a { padding-inline: 9px; font-size: 0.92rem; }
	.nc-menu > li > a::after { left: 9px; right: 9px; }
	.nc-brand__title { font-size: 1.8rem; }
}

/* Layout */
.nc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	padding-block: 26px 60px;
}
.nc-main,
.nc-box { background: var(--nc-paper); border: 1px solid #eceee9; border-radius: var(--nc-radius); box-shadow: var(--nc-panel-shadow); }
.nc-main { min-width: 0; padding: clamp(16px, 2vw, 20px) clamp(16px, 2vw, 20px) 28px; }
.nc-sidebar { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.nc-sidebar__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 1000px) {
	.nc-layout { grid-template-columns: minmax(0, 1fr); padding-block: 18px 48px; }
}
@media (max-width: 560px) {
	.nc-sidebar__pair { grid-template-columns: minmax(0, 1fr); }
}

/* Featured story */
.nc-featured {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 22px;
	align-items: stretch;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--nc-line);
}
.nc-featured__body { padding-top: 4px; }
.nc-featured__title { margin: 12px 0 14px; font-size: clamp(2rem, 3.2vw, 2.65rem); line-height: 1.1; }
.nc-featured__title a { text-decoration: none; }
.nc-featured__title a:hover { color: var(--nc-accent); }
.nc-featured__text { margin: 0 0 18px; color: var(--nc-muted); font-size: 1rem; line-height: 1.6; }
.nc-featured .nc-dateline { margin-bottom: 20px; }
.nc-featured__thumb { aspect-ratio: auto; height: 100%; min-height: 320px; border-radius: var(--nc-radius); }
@media (max-width: 760px) {
	.nc-featured { grid-template-columns: minmax(0, 1fr); }
	.nc-featured__thumb { order: -1; aspect-ratio: 16 / 10; height: auto; min-height: 0; }
}

/* Recent Posts */
.nc-section-title {
	position: relative;
	margin: 22px 0 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--nc-line);
	font-size: 1.65rem;
}
.nc-section-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 42px; height: 3px; border-radius: 2px; background: var(--nc-accent); }

.nc-feed--cards { display: flex; flex-direction: column; }
.nc-card {
	display: grid;
	grid-template-columns: 228px minmax(0, 1fr);
	gap: 22px;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--nc-line);
}
.nc-card:last-child { margin-bottom: 0; border-bottom: 0; }
.nc-card__thumb { aspect-ratio: 16 / 9.2; border-radius: var(--nc-radius); }
.nc-card__title { margin: 8px 0 6px; font-size: 1.4rem; line-height: 1.2; }
.nc-card__title a:hover { color: var(--nc-accent); }
.nc-card__excerpt { margin: 0 0 10px; color: var(--nc-muted); font-size: 0.97rem; line-height: 1.55; }
@media (max-width: 640px) {
	.nc-card { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.nc-card__thumb { aspect-ratio: 16 / 9; }
}

/* Full posts (Customizer option) */
.nc-feed--full { display: flex; flex-direction: column; gap: 34px; }
.nc-full { padding-bottom: 30px; border-bottom: 1px solid var(--nc-line); }
.nc-full:last-child { border-bottom: 0; }
.nc-full__thumb { border-radius: var(--nc-radius); margin-bottom: 18px; }
.nc-full__title { margin: 6px 0 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; }
.nc-full__title a:hover { color: var(--nc-accent); }
.nc-full .nc-meta { margin-bottom: 18px; }
.nc-full__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.nc-btn--ghost { background: transparent; color: var(--nc-accent); border: 1px solid var(--nc-accent); box-shadow: none; font-size: 0.85rem; }

/* Sidebar boxes */
.nc-box { padding: 18px 20px; }
.nc-box__title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.3rem; color: #173728; }
.nc-box--pages .nc-box__title::before,
.nc-box--cats .nc-box__title::before,
.nc-box--posts .nc-box__title::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: var(--nc-mask) center / contain no-repeat;
	mask: var(--nc-mask) center / contain no-repeat;
}
.nc-box--pages .nc-box__title::before { --nc-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
.nc-box--cats .nc-box__title::before { --nc-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2.5h8a2 2 0 0 1 2 2V18a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.nc-box--posts .nc-box__title::before { --nc-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

.nc-pagelist li,
.nc-catlist li { border-bottom: 1px solid var(--nc-line); }
.nc-pagelist li:first-child,
.nc-catlist li:first-child { border-top: 1px solid var(--nc-line); }
.nc-pagelist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; font-size: 0.94rem; color: var(--nc-ink); }
.nc-pagelist a::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 1.6px solid var(--nc-muted); border-top: 1.6px solid var(--nc-muted); transform: rotate(45deg); margin-right: 4px; transition: transform 0.15s ease; }
.nc-pagelist a:hover,
.nc-pagelist .current_page_item > a { color: var(--nc-accent); }
.nc-pagelist a:hover::after { transform: translateX(3px) rotate(45deg); border-color: var(--nc-accent); }

.nc-cat { display: flex; align-items: center; gap: 12px; padding: 7px 2px; font-size: 0.94rem; color: var(--nc-ink); }
.nc-cat::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--nc-tone); }
.nc-cat__name { flex: 1; }
.nc-cat:hover .nc-cat__name,
.nc-cat.is-current .nc-cat__name { color: var(--nc-accent); }
.nc-count { min-width: 30px; padding: 1px 7px; border-radius: 3px; background: var(--nc-soft); color: var(--nc-muted); font-size: 0.8rem; text-align: center; }

.nc-box__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.nc-box__head .nc-box__title { margin: 0; }
.nc-box__link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--nc-ink); text-decoration: none; }
.nc-box__link:hover { color: var(--nc-accent); }
.nc-postlist { margin: 0; padding: 0; list-style: none; }
.nc-mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--nc-line); }
.nc-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.nc-mini__thumb { aspect-ratio: 4 / 3; border-radius: var(--nc-radius); }
.nc-mini__thumb .nc-thumb__fallback { font-size: 2rem; }
.nc-mini__title { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.3; }
.nc-mini__title a { text-decoration: none; }
.nc-mini__title a:hover { color: var(--nc-accent); }
.nc-mini__text { margin: 0 0 6px; color: var(--nc-muted); font-size: 0.88rem; line-height: 1.5; }
.nc-mini__date { display: inline-flex; align-items: center; gap: 5px; color: var(--nc-muted); font-size: 0.8rem; }
.widget.nc-box > :not(.nc-box__title) { margin: 10px 0 0; }

/* Single + page */
.nc-single__head { margin-bottom: 20px; }
.nc-single__title { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.12; color: #173728; }
.nc-single__thumb { margin-bottom: 26px; }
.nc-single__thumb img { border-radius: var(--nc-radius); }
.nc-entry { font-size: 1.06rem; color: #2a312e; }
.nc-entry h2,
.nc-entry h3,
.nc-entry h4 { color: #173728; }
.nc-entry blockquote,
.nc-entry .wp-block-quote { padding: 18px 22px; background: var(--nc-soft); border-radius: var(--nc-radius); font-family: var(--nc-display); font-size: 1.25rem; line-height: 1.5; }
.nc-author { background: var(--nc-soft); border-radius: var(--nc-radius); }
.nc-postnav a { background: var(--nc-paper); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); transition: border-color 0.15s ease; }
.nc-postnav a:hover { border-color: var(--nc-accent); }
.nc-tags a:hover { background: var(--nc-accent); color: #ffffff; }
.nc-tags a:hover::before { color: #ffffff; }

.page-numbers { border: 1px solid var(--nc-line); border-radius: 4px; font-family: var(--nc-body); font-weight: 600; color: var(--nc-ink); }
a.page-numbers:hover { border-color: var(--nc-accent); color: var(--nc-accent); }
.page-numbers.current { background: var(--nc-accent); border-color: var(--nc-accent); color: #ffffff; }

.nc-kicker { display: inline-block; padding: 3px 8px; border-radius: 3px; background: #e5f1e8; color: var(--nc-accent); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nc-archive-head { padding-bottom: 18px; border-bottom: 1px solid var(--nc-line); margin-bottom: 22px; }
.nc-archive-head__title { color: #173728; }
.nc-404,
.nc-empty { padding: 30px 10px; }

/* Footer */
.nc-footer { background: #17231d; color: #e7ece9; padding-block: 40px 30px; }
.nc-footer a { color: inherit; text-decoration: none; }
.nc-footer__widgets { border-bottom: 1px solid rgba(231, 236, 233, 0.15); }
.nc-footer-widget__title { font-size: 1.15rem; color: #ffffff; }
.nc-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.nc-footer__brand { font-family: var(--nc-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em; }
.nc-footer__brand .nc-brand__hl { color: #8fd1ad; }
.nc-footer__credit { margin: 8px 0 0; color: #b8c3bd; font-size: 0.88rem; }
.nc-footer__menu { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; }
.nc-footer__menu a:hover,
.nc-footer__top:hover { color: #8fd1ad; }
.nc-footer__top { font-size: 0.88rem; font-weight: 600; }
