/*
Theme Name: Napút Online
Theme URI: https://www.naputonline.hu
Description: Klasszikus PHP magazin-téma a live Napút kinézet alapján (WP 7, PHP 8.2). Nem Gonzo-fork.
Version: 0.4.0
Author: ITSquad
Requires at least: 6.7
Requires PHP: 8.2
Text Domain: naputonline
*/

:root {
	--naput-bg: #000;
	--naput-paper: #fff;
	--naput-accent: #f9ba00;
	--naput-logo: #6b241c;
	--naput-text: #444;
	--naput-muted: #888;
	--naput-heading: #333;
	--naput-nav-hover: #aaa;
	--naput-width: 990px;
	--naput-main: 660px;
	--naput-side: 330px;
	--naput-font: "Open Sans", Helvetica, Arial, sans-serif;
	--naput-serif: "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 12px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--naput-bg);
	color: var(--naput-text);
	font-family: var(--naput-font);
	font-weight: 400;
	word-wrap: break-word;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--naput-text);
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease;
}

a:hover {
	background: #eee;
	color: #222;
}

p {
	margin: 0 0 20px;
	color: var(--naput-muted);
}

.naput-container {
	width: min(100%, var(--naput-width));
	margin: 0 auto;
	min-height: 100vh;
	background: var(--naput-paper);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.naput-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding: 0 0 40px;
}

.naput-main {
	width: var(--naput-main);
	padding: 0 20px 20px;
}

.naput-sidebar {
	width: var(--naput-side);
	padding: 0 20px 20px 0;
}

/* Header */
.naput-header {
	position: relative;
	z-index: 9;
	padding: 16px 20px 0;
}

.naput-top-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.naput-top-quote {
	color: var(--naput-muted);
	font-style: italic;
	font-size: 1.15em;
}

.naput-wordmark {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin: 4px 0 8px;
	line-height: 1;
}

.naput-wordmark:hover {
	background: none;
}

.naput-wordmark-mark {
	position: absolute;
	left: 3.05em;
	top: -0.15em;
	width: 1.15em;
	height: 1.35em;
	border: 3px solid rgba(107, 36, 28, 0.22);
	border-radius: 50% 40% 55% 45%;
	transform: rotate(-18deg);
	pointer-events: none;
}

.naput-wordmark-text {
	position: relative;
	font-size: 3.4em;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--naput-logo);
}

.naput-wordmark-text span {
	font-weight: 800;
}

.naput-logo img {
	display: block;
	max-height: 90px;
	width: auto;
}

.naput-search {
	display: flex;
	width: min(100%, 280px);
}

.naput-search input[type="search"],
.naput-search input[type="text"] {
	flex: 1;
	padding: 7px 10px;
	border: 0;
	background: #333;
	color: #fff;
	font-family: inherit;
	font-size: 1.16em;
	font-style: italic;
}

.naput-search input[type="search"]::placeholder {
	color: #bbb;
}

.naput-search input[type="search"]:focus,
.naput-search input[type="text"]:focus {
	outline: none;
	background: #ddd;
	color: #000;
}

.naput-search button {
	padding: 7px 14px;
	border: 0;
	background: var(--naput-accent);
	color: #fff;
	font-family: inherit;
	font-size: 1.16em;
	cursor: pointer;
	white-space: nowrap;
}

.naput-search button:hover {
	background: #000;
	color: #fff;
}

.naput-nav-toggle {
	display: none;
	width: 40px;
	height: 36px;
	margin: 8px 0;
	padding: 0;
	border: 0;
	background: var(--naput-accent);
	cursor: pointer;
}

.naput-nav-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}

/* Nav */
.naput-nav {
	margin: 8px 0 24px;
}

.naput-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.naput-nav > div > ul,
.naput-nav > ul {
	display: flex;
	flex-wrap: wrap;
}

.naput-nav > ul > li,
.naput-nav > div > ul > li {
	position: relative;
}

.naput-nav a {
	display: block;
	padding: 4px 14px;
	font-size: 1.5em;
	color: var(--naput-heading);
}

.naput-nav a:hover {
	background: var(--naput-nav-hover);
	color: #fff;
}

.naput-nav .current-menu-item > a,
.naput-nav .current-menu-parent > a,
.naput-nav .current-category-ancestor > a {
	background: var(--naput-accent);
	color: #fff;
}

.naput-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: 174px;
	background: var(--naput-accent);
}

.naput-nav li:hover > .sub-menu,
.naput-nav li:focus-within > .sub-menu {
	display: block;
}

.naput-nav .sub-menu a {
	padding: 8px 12px;
	font-size: 1em;
	color: #fff;
}

.naput-nav .sub-menu a:hover {
	background: #333;
}

.naput-nav .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

/* Featured slider */
.naput-featured {
	position: relative;
	width: 620px;
	max-width: 100%;
	margin: 0 0 36px;
	overflow: hidden;
	background: #444;
}

.naput-featured-track {
	position: relative;
}

.naput-featured-slide {
	display: none;
	position: relative;
	overflow: hidden;
	min-height: 310px;
}

.naput-featured-slide.is-active {
	display: block;
}

.naput-featured-media {
	display: block;
}

.naput-featured-media:hover {
	background: none;
}

.naput-featured-slide img,
.naput-featured-slide .naput-ph {
	display: block;
	width: 100%;
	height: 310px;
	object-fit: cover;
}

.naput-featured-ribbon {
	position: absolute;
	top: -41px;
	right: -97px;
	z-index: 3;
	width: 200px;
	padding: 70px 0 3px;
	background: var(--naput-accent);
	color: #fff;
	font-size: 14px;
	text-align: center;
	transform: rotate(45deg);
}

.naput-featured-ribbon:hover {
	background: #333;
	color: #fff;
}

.naput-featured-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	padding: 0 0 10px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
}

.naput-featured-caption h2 {
	margin: 10px 20px 3px;
	font-size: 1.5em;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 90%;
}

.naput-featured-caption p {
	margin: 0 20px 10px;
	width: 70%;
	height: 33px;
	overflow: hidden;
	color: #fff;
	opacity: 0.75;
	font-size: 1em;
}

.naput-featured-caption a {
	color: #fff;
}

.naput-featured-caption a:hover {
	background: none;
	color: var(--naput-accent);
}

.naput-featured-btn {
	position: absolute;
	top: 40%;
	z-index: 2;
	width: 44px;
	height: 64px;
	border: 0;
	background: rgba(0, 0, 0, 0.3);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.naput-featured-btn:hover {
	background: var(--naput-accent);
}

.naput-featured-btn.prev {
	left: 0;
}

.naput-featured-btn.next {
	right: 0;
}

.naput-featured-dots {
	position: absolute;
	right: 10px;
	bottom: 14px;
	z-index: 3;
	display: flex;
	gap: 5px;
}

.naput-featured-dots button {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	opacity: 0.7;
}

.naput-featured-dots button.is-active {
	background: var(--naput-accent);
	opacity: 1;
}

.naput-ph {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(135deg, #2a2a2a 0%, #111 55%, #3a2a10 100%);
}

.naput-card .naput-ph {
	aspect-ratio: 300 / 180;
}

/* Homepage module-A (Gonzo: 290 + 40 + 290) */
.naput-module-row {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin: 0 0 40px;
}

.naput-mod-a {
	position: relative;
	float: left;
	width: 290px;
	margin: 0 40px 40px 0;
}

.naput-module-row .naput-mod-a {
	float: none;
	margin: 0;
}

.naput-mod-a-label {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	margin: 0;
	font-size: 1.25em;
	font-weight: 400;
}

.naput-mod-a-label a {
	display: block;
	padding: 3px 16px;
	background: var(--naput-accent);
	color: #fff;
}

.naput-mod-a-label a:hover {
	background: #333;
	color: #fff;
}

.naput-mod-a-lead .naput-thumb {
	display: block;
}

.naput-mod-a-lead img,
.naput-mod-a-lead .naput-ph {
	width: 290px;
	height: 170px;
	object-fit: cover;
}

.naput-mod-a-lead h3 {
	margin: 8px 0 6px;
	font-size: 1.333em;
	font-weight: 400;
	line-height: 1.3;
}

.naput-mod-a-lead h3 a {
	color: var(--naput-heading);
}

.naput-mod-a-lead .naput-excerpt {
	margin: 0;
	font-size: 1em;
}

.naput-mod-a-follow {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 18px;
	min-height: 48px;
}

.naput-mod-a-follow .naput-thumb {
	flex: 0 0 50px;
}

.naput-mod-a-follow img,
.naput-mod-a-follow .naput-ph {
	width: 50px;
	height: 50px;
	aspect-ratio: 1;
	object-fit: cover;
}

.naput-mod-a-follow h4 {
	margin: 0;
	font-size: 1.083em;
	font-weight: 400;
	line-height: 1.35;
}

.naput-mod-a-follow-title {
	color: var(--naput-heading);
}

.naput-mod-a-arrow {
	color: var(--naput-accent);
	font-style: italic;
}

.naput-mod-a-follow-meta {
	margin: 4px 0 0;
	color: var(--naput-muted);
	font-size: 0.92em;
}

.naput-main::after {
	content: "";
	display: block;
	clear: both;
}

/* Homepage modules */
.naput-module {
	margin-bottom: 36px;
}

.naput-module-title {
	margin: 0 0 16px;
	font-size: 1.5em;
	font-weight: 400;
	color: var(--naput-heading);
}

.naput-module-title a,
.naput-module-title span {
	display: inline-block;
	padding: 3px 10px 4px;
	background: var(--naput-accent);
	color: #fff;
}

.naput-module-title a:hover {
	background: #333;
	color: #fff;
}

.naput-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 16px;
}

.naput-card.leading {
	grid-column: 1 / -1;
}

.naput-card h2 {
	margin: 8px 0 6px;
	font-size: 1.25em;
	font-weight: 700;
	color: var(--naput-heading);
	line-height: 1.3;
}

.naput-card.leading h2 {
	font-size: 1.7em;
}

.naput-card .naput-meta {
	display: block;
	margin: 8px 0 6px;
	color: var(--naput-heading);
	font-size: 0.75em;
	font-style: italic;
	font-weight: 700;
}

.naput-cat-chip {
	display: inline-block;
	margin-right: 6px;
	padding: 0 4px;
	background: var(--naput-accent);
	color: #fff;
	font-size: 0.92em;
	font-style: normal;
	font-weight: 700;
	text-transform: none;
}

.naput-cat-chip:hover {
	background: #444;
	color: #fff;
}

.naput-excerpt {
	margin: 0;
	color: var(--naput-muted);
	line-height: 1.5;
	font-size: 1.05em;
}

.naput-thumb:hover {
	background: none;
}

/* Single / page */
.naput-article-header {
	margin-bottom: 8px;
}

.naput-article h1 {
	margin: 6px 0 20px;
	font-size: 2.6em;
	font-weight: 700;
	color: var(--naput-text);
	line-height: 1.2;
}

.naput-byline {
	margin: 0 0 10px;
	color: var(--naput-muted);
	font-size: 0.95em;
}

.naput-byline-sep {
	opacity: 0.6;
}

.naput-article-hero {
	position: relative;
	margin: 0 0 20px;
	overflow: hidden;
}

.naput-article-top {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.8);
}

.naput-article-top p {
	margin: 0;
	color: #fff;
}

.naput-article .entry-content p,
.naput-article .entry-content li {
	color: var(--naput-text);
	font-size: 1.083em;
	line-height: 1.7;
}

.naput-article .entry-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.naput-article .entry-content a:hover {
	background: #eee;
}

.naput-article .entry-content h2,
.naput-article .entry-content h3 {
	margin: 1.2em 0 0.6em;
	color: var(--naput-heading);
}

.naput-article .entry-content ul,
.naput-article .entry-content ol {
	margin: 0 0 20px 28px;
	color: var(--naput-text);
}

.naput-article blockquote {
	float: right;
	width: 45%;
	margin: 0 0 20px 5%;
	padding: 2px 20px 0;
	border-left: 5px solid #eee;
	color: #5d5d5d;
	font-family: var(--naput-serif);
	font-size: 1.5em;
	font-style: italic;
}

.naput-article blockquote p {
	margin: 0;
	color: inherit;
	font-family: inherit;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 28px 0;
	padding: 16px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.post-navigation span {
	display: block;
	color: var(--naput-muted);
	font-size: 0.85em;
	margin-bottom: 4px;
}

.naput-related {
	margin: 28px 0 8px;
}

.naput-related > h2 {
	margin: 0 0 16px;
	font-size: 1.25em;
	color: var(--naput-heading);
}

.naput-related-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 28px 28px;
}

.naput-tags {
	margin: 20px 0;
	color: var(--naput-text);
}

.alignleft {
	float: left;
	margin: 7px 3% 10px 0;
}

.alignright {
	float: right;
	margin: 7px 0 15px 3%;
}

.aligncenter {
	display: block;
	margin: 20px auto;
}

.wp-caption {
	background: #000;
	padding-bottom: 4px;
}

.wp-caption-text {
	margin: 6px 10px 4px;
	color: #aaa;
	font-size: 0.92em;
	text-align: center;
}

.page-numbers,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 24px 0;
}

.page-numbers a,
.page-numbers span,
.nav-links a,
.nav-links span {
	display: inline-block;
	padding: 6px 10px;
	background: #f5f5f5;
}

.page-numbers .current,
.nav-links .current {
	background: var(--naput-accent);
	color: #fff;
}

/* Sidebar */
.naput-sidebar .widget {
	width: 290px;
	margin: 0 0 36px;
}

.naput-sidebar .widget-title {
	margin: 0 0 16px;
	padding: 6px 16px;
	background: var(--naput-accent);
	color: #fff;
	font-size: 1.17em;
	font-weight: 400;
}

.naput-sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.naput-side-list li {
	margin: 0 0 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0f0f0;
}

.naput-side-list a {
	display: block;
	line-height: 1.35;
}

.naput-side-feature {
	margin-bottom: 12px;
}

.naput-side-feature h4 {
	margin: 8px 0 0;
	font-size: 1.15em;
	font-weight: 700;
}

.naput-widget-more {
	margin: 12px 0 0;
	font-size: 0.95em;
}

.naput-credits p {
	margin: 0 0 8px;
	color: #333;
	font-size: 0.95em;
	line-height: 1.45;
}

.naput-sidebar .widget_archive a,
.naput-sidebar .widget_archive li a {
	display: block;
	margin-bottom: 4px;
	padding: 10px 10px 6px 16px;
	background: #f5f5f5;
	border-bottom: 4px solid #f5f5f5;
}

.naput-sidebar .widget_archive a:hover {
	border-color: var(--naput-accent);
}

.naput-sidebar .wp-calendar-table {
	width: 100%;
	border-collapse: collapse;
}

.naput-sidebar .wp-calendar-table th,
.naput-sidebar .wp-calendar-table td {
	padding: 4px;
	text-align: center;
}

.naput-sidebar .wp-calendar-table th {
	background: var(--naput-accent);
	color: #fff;
	border: 1px solid #fff;
	font-weight: 400;
}

.naput-sidebar .wp-calendar-table td {
	background: #eee;
	border: 1px solid #fff;
}

.naput-sidebar .wp-calendar-table td a {
	color: var(--naput-accent);
}

.naput-sidebar .wp-calendar-table td a:hover {
	background: none;
}

.naput-sidebar #today {
	background: var(--naput-accent);
	color: #fff;
}

/* Footer */
.naput-footer {
	clear: both;
	background: #111;
	color: #aaa;
}

.naput-footer-widgets {
	padding: 36px 20px 28px;
}

.naput-footer p {
	color: #aaa;
	line-height: 1.45;
}

.naput-footer a {
	color: #ccc;
}

.naput-footer a:hover {
	background: none;
	color: var(--naput-accent);
}

.naput-footer-cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px 20px;
}

.naput-footer .widget-title {
	margin: 0 0 18px;
	padding: 0;
	background: none;
	color: #fff;
	font-size: 1.5em;
	font-weight: 700;
}

.naput-footer-fresh {
	margin: 0;
	padding: 0;
	list-style: none;
}

.naput-footer-fresh li {
	margin: 0 0 16px;
}

.naput-footer-fresh a {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: #ccc;
	line-height: 1.35;
}

.naput-footer-fresh img,
.naput-footer-fresh .naput-ph-tiny {
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	object-fit: cover;
}

.naput-ph-tiny {
	background: #333;
}

.naput-footer-fresh-meta {
	display: block;
	margin-top: 4px;
	color: #888;
	font-size: 0.85em;
	font-weight: 700;
}

.naput-footer .tagcloud a {
	display: inline-block;
	margin: 0 2px 4px 0;
	padding: 5px 8px;
	background: #333;
	color: #aaa;
	font-size: 11px !important;
}

.naput-footer .tagcloud a:hover {
	background: var(--naput-accent);
	color: #fff;
}

.naput-sponsors {
	margin: 0;
	padding: 0;
	list-style: none;
}

.naput-sponsors li {
	margin: 0 0 10px;
	padding: 12px 10px;
	background: #fff;
	color: #222;
	text-align: center;
	font-weight: 700;
	font-size: 0.95em;
}

.naput-imprint p {
	margin: 0 0 14px;
	font-size: 0.95em;
}

.naput-imprint strong {
	color: #fff;
}

.naput-copyright {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 22px;
	background: #000;
}

.naput-footer-copy {
	margin: 0;
	font-size: 1.05em;
}

.naput-copyright-nav ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.naput-copyright-nav li {
	border-right: 1px solid #222;
}

.naput-copyright-nav li:last-child {
	border-right: 0;
}

.naput-copyright-nav a {
	padding: 0 10px;
	color: #aaa;
}

.naput-copyright-nav a:hover {
	color: #fff;
}

.naput-back-top {
	position: fixed;
	right: 18px;
	bottom: 40%;
	z-index: 30;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.55;
}

.naput-back-top:hover {
	background: var(--naput-accent);
	color: #fff;
	opacity: 1;
}

.naput-comments {
	margin-top: 32px;
}

.comment-list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.comment-list .comment {
	margin: 0 0 16px;
	padding: 12px;
	background: #fafafa;
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	font-family: inherit;
}

.comment-form .submit {
	width: auto;
	background: var(--naput-accent);
	border: 0;
	color: #fff;
	padding: 10px 18px;
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* Module B — 620px lead + list */
.naput-mod-b {
	clear: both;
	width: 620px;
	max-width: 100%;
	margin: 0 0 40px;
	overflow: hidden;
}

.naput-mod-b-label {
	margin: 0 0 16px;
	font-size: 1.5em;
	font-weight: 400;
}

.naput-mod-b-label a {
	display: inline-block;
	padding: 3px 10px 4px;
	background: var(--naput-accent);
	color: #fff;
}

.naput-mod-b-label a:hover {
	background: #333;
	color: #fff;
}

.naput-mod-b-cols {
	display: flex;
	gap: 40px;
}

.naput-mod-b-lead {
	width: 290px;
	flex: 0 0 290px;
}

.naput-mod-b-lead h3 {
	margin: 8px 0 6px;
	font-size: 1.333em;
	font-weight: 400;
}

.naput-mod-b-list {
	flex: 1;
	min-width: 0;
}

.naput-mod-b-list h3 {
	margin: 0 0 14px;
	font-size: 1.083em;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.naput-mod-b-list h3 a:hover {
	background: #eee;
}

.naput-mod-b-also {
	margin: 16px 0 12px;
	color: var(--naput-muted);
	font-family: var(--naput-serif);
	font-style: italic;
	letter-spacing: 0.06em;
}

.naput-mod-b-also a {
	font-family: var(--naput-font);
	font-style: normal;
	font-weight: 700;
	color: var(--naput-accent);
	text-transform: uppercase;
}

.naput-mod-b-also a:hover {
	background: none;
}

.naput-mod-b-children {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.naput-mod-b-children a {
	padding: 4px 10px;
	background: var(--naput-accent);
	color: #fff;
	font-weight: 700;
}

.naput-mod-b-children a:hover {
	background: #444;
	color: #fff;
}

/* Module C / related quarters */
.naput-mod-c {
	position: relative;
	width: 134px;
	margin: 0 0 16px;
}

.naput-mod-c-label {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	margin: 0;
}

.naput-mod-c-label a {
	display: block;
	padding: 2px 9px;
	background: var(--naput-accent);
	color: #fff;
	font-size: 0.75em;
}

.naput-mod-c-label a:hover {
	background: #333;
	color: #fff;
}

.naput-mod-c h3 {
	margin: 6px 0 4px;
	font-size: 1em;
	font-weight: 700;
}

.naput-mod-c .naput-ph,
.naput-mod-c img {
	width: 134px;
	height: 80px;
	object-fit: cover;
}

/* Archive list */
.naput-cat-top {
	width: 94%;
	margin: 0 0 28px;
	padding: 10px 14px;
	background: #eee;
	border-top: 5px solid var(--naput-accent);
}

.naput-cat-top h1 {
	margin: 0;
	font-size: 1.5em;
	font-weight: 400;
	color: var(--naput-heading);
}

.taxonomy-description {
	margin: 0 0 32px;
	padding: 15px;
	background: #f2f2f2;
	border: 1px solid #ccc;
}

.taxonomy-description p:last-child {
	margin-bottom: 0;
}

.naput-blog-row {
	display: flex;
	gap: 20px;
	margin: 0 0 32px;
	padding-bottom: 20px;
	border-bottom: 1px dotted #ccc;
	min-height: 170px;
}

.naput-blog-row:hover {
	background: #eee;
}

.naput-blog-row-media {
	position: relative;
	flex: 0 0 290px;
	width: 290px;
}

.naput-blog-row-cat {
	position: absolute;
	top: 3px;
	left: 0;
	z-index: 2;
	padding: 3px 16px;
	background: var(--naput-accent);
	color: #fff;
	font-size: 1.25em;
}

.naput-blog-row-cat:hover {
	background: #333;
	color: #fff;
}

.naput-blog-row-text h2 {
	margin: 4px 0 6px;
	font-size: 1.333em;
	font-weight: 400;
}

.naput-blog-row-text h2 a {
	color: #000;
}

.naput-blog-row-text h2 a:hover {
	background: #fff;
	color: #444;
}

.naput-blog-row-date {
	margin: 0 0 8px;
	color: #222;
	font-size: 0.75em;
	font-weight: 700;
}

.naput-authorbox {
	overflow: hidden;
	margin: 28px 0;
	padding: 16px 0;
	border-top: 1px solid #eee;
}

.naput-authorbox h2 {
	margin: 0 0 12px;
	font-size: 1.1em;
}

.naput-author-pic {
	float: left;
	margin: 0 16px 8px 0;
}

.naput-authorbox p a {
	padding: 0 4px;
	background: var(--naput-accent);
	color: #fff;
	font-weight: 700;
}

.naput-authorbox p a:hover {
	background: #444;
	color: #fff;
}

.naput-author-bio {
	display: flex;
	gap: 20px;
	margin: 0 0 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.naput-authors {
	margin: 0;
	padding: 0;
	list-style: none;
}

.naput-authors li {
	display: flex;
	gap: 16px;
	margin: 0 0 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.naput-authors-name {
	display: block;
	margin-bottom: 6px;
	font-size: 1.2em;
	font-weight: 700;
}

.naput-main-full {
	width: 100%;
	padding: 0 20px 40px;
}

.naput-inner-full .naput-sidebar {
	display: none;
}

.wpcf7-form {
	margin-top: 24px;
	padding: 15px;
	background: #f2f2f2;
}

.wpcf7-form .wpcf7-form-control {
	width: 100%;
	padding: 8px;
	border: 1px solid #3c3c3c;
	border-radius: 0;
	box-sizing: border-box;
}

.wpcf7-form input.wpcf7-submit {
	width: auto;
	margin-top: 15px;
	padding: 12px 20px;
	border: 0;
	background: #1fc35e;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.wpcf7-form input.wpcf7-submit:hover {
	background: #17a34a;
}

.skip-link:focus {
	position: static;
	width: auto;
	height: auto;
	clip: auto;
	padding: 8px;
	background: var(--naput-accent);
	color: #fff;
}

@media (max-width: 1023px) {
	.naput-main,
	.naput-sidebar {
		width: 100%;
		padding: 0 16px 24px;
	}

	.naput-sidebar .widget {
		width: 100%;
	}

	.naput-footer-cols {
		grid-template-columns: 1fr 1fr;
	}

	.naput-featured,
	.naput-mod-b {
		width: 100%;
	}

	.naput-mod-a {
		float: none;
		margin-right: 0;
	}

	.naput-blog-row {
		flex-direction: column;
	}

	.naput-blog-row-media {
		flex: 0 0 auto;
		width: 100%;
	}

	.naput-mod-b-cols {
		flex-direction: column;
	}

	.naput-mod-b-lead {
		width: 100%;
		flex: 1 1 auto;
	}
}

@media (max-width: 767px) {
	.naput-nav-toggle {
		display: block;
	}

	.naput-nav {
		display: none;
		margin: 0 0 16px;
	}

	.naput-nav.is-open {
		display: block;
	}

	.naput-nav > ul,
	.naput-nav > div > ul {
		flex-direction: column;
	}

	.naput-nav .sub-menu {
		position: static;
		display: block;
		min-width: 0;
	}

	.naput-nav .sub-menu .sub-menu {
		left: 0;
		padding-left: 12px;
	}

	.naput-wordmark-text {
		font-size: 2.2em;
	}
}

@media (max-width: 640px) {
	html {
		font-size: 14px;
	}

	.naput-grid {
		grid-template-columns: 1fr;
	}

	.naput-module-row {
		flex-direction: column;
		gap: 32px;
	}

	.naput-mod-a,
	.naput-mod-a-lead img,
	.naput-mod-a-lead .naput-ph {
		width: 100%;
	}

	.naput-article h1 {
		font-size: 1.85em;
	}

	.naput-article blockquote {
		float: none;
		width: 100%;
		margin: 0 0 20px;
	}

	.naput-nav a {
		font-size: 1.2em;
		padding: 6px 8px;
	}

	.naput-top-banner {
		flex-direction: column;
		align-items: stretch;
	}

	.naput-search {
		width: 100%;
	}

	.post-navigation {
		flex-direction: column;
	}

	.naput-footer-cols {
		grid-template-columns: 1fr;
	}

	.naput-copyright {
		flex-direction: column;
		align-items: flex-start;
	}
}
