/* Newspapper Core Styles */

:root {
	--np-color-primary: #111;
	--np-color-secondary: #666;
	--np-color-accent: #c00;
	--np-font-primary: 'Inter', sans-serif;
	--np-font-secondary: 'Merriweather', serif;
	--np-gap: 30px;
}

.newspapper-home .rezeta-container {
	max-width: 1200px;
}

/* Global Safety Styles for Blocks */
.newspapper-block * {
	box-sizing: border-box;
}

.newspapper-block img {
	max-width: 100%;
	height: auto;
}

/* Block Styles */
.newspapper-block {
	margin-bottom: 60px;
}

.newspapper-block-title {
	font-family: var(--np-font-primary);
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 30px;
	border-bottom: 2px solid #000;
	position: relative;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.newspapper-block-title span {
	background: #000;
	color: #fff;
	padding: 5px 15px;
	display: inline-block;
}

/* Post Card Common */
.newspapper-cat {
	display: inline-block;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--np-color-accent);
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.newspapper-meta,
.newspapper-meta-small {
	font-size: 12px;
	color: #999;
	margin-top: 5px;
}

/* Hero Widget */
.newspapper-hero-wrapper {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--np-gap);
}

.newspapper-post-large .newspapper-thumb {
	display: block;
	width: 100%;
}

.newspapper-post-large .newspapper-thumb img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 20px;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.newspapper-post-large .newspapper-title {
	font-family: var(--np-font-secondary);
	font-size: 32px;
	line-height: 1.3;
	margin: 0 0 15px;
	font-weight: 700;
}

.newspapper-post-large .newspapper-title a {
	color: var(--np-color-primary);
	text-decoration: none;
	transition: color 0.2s;
}

.newspapper-post-large .newspapper-title a:hover {
	color: var(--np-color-accent);
}

.newspapper-post-large .newspapper-excerpt {
	color: var(--np-color-secondary);
	font-size: 16px;
	line-height: 1.6;
}

/* Hero Side */
.newspapper-hero-side {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.newspapper-post-small {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.newspapper-post-small:last-child {
	border-bottom: none;
}

.newspapper-thumb-small {
	width: 90px;
	flex-shrink: 0;
}

.newspapper-thumb-small img {
	width: 100%;
	height: 70px;
	object-fit: cover;
	display: block;
}

.newspapper-title-small {
	font-family: var(--np-font-primary);
	font-size: 15px;
	line-height: 1.4;
	margin: 0 0 5px;
	font-weight: 600;
}

.newspapper-title-small a {
	color: var(--np-color-primary);
	text-decoration: none;
}

.newspapper-title-small a:hover {
	color: var(--np-color-accent);
}


/* Grid Widget */
.newspapper-grid-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: var(--np-gap);
}

.newspapper-post-grid .newspapper-thumb-grid {
	display: block;
	width: 100%;
}

.newspapper-post-grid .newspapper-thumb-grid img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	margin-bottom: 15px;
}

.newspapper-title-grid {
	font-family: var(--np-font-secondary);
	font-size: 20px;
	line-height: 1.4;
	margin: 0 0 10px;
	font-weight: 700;
}

.newspapper-title-grid a {
	color: var(--np-color-primary);
	text-decoration: none;
}

.newspapper-title-grid a:hover {
	color: var(--np-color-accent);
}

/* List Widget (Horizontal split) */
.newspapper-list-wrapper {
	display: grid;
	gap: 30px;
}

.newspapper-post-list {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 20px;
	align-items: center;
}

.newspapper-thumb-list {
	display: block;
	width: 100%;
}

.newspapper-thumb-list img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
}

.newspapper-title-list {
	font-family: var(--np-font-secondary);
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 10px;
}

.newspapper-title-list a {
	color: var(--np-color-primary);
	text-decoration: none;
}

.newspapper-title-list a:hover {
	color: var(--np-color-accent);
}

/* Ad Widget */
.newspapper-ad-content {
	background: #f4f4f4;
	text-align: center;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100px;
	margin: 0 auto;
}

.newspapper-ad-content img {
	max-width: 100%;
	height: auto;
}

/* Hover Effects for Home Page Cards */
.newspapper-post-large .newspapper-thumb img {
	transition: transform 0.4s ease;
}

.newspapper-post-large:hover .newspapper-thumb img {
	transform: scale(1.03);
}

.newspapper-post-grid {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	padding-bottom: 15px;
}

.newspapper-content-grid {
	padding: 5px 15px 10px;
}

.newspapper-post-grid:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.newspapper-post-grid .newspapper-thumb-grid img {
	transition: transform 0.4s ease;
}

.newspapper-post-grid:hover .newspapper-thumb-grid img {
	transform: scale(1.05);
}

.newspapper-post-list {
	transition: background-color 0.2s ease;
	border-radius: 8px;
	padding: 10px;
	margin: -10px;
}

.newspapper-post-list:hover {
	background-color: rgba(0, 0, 0, 0.02);
}

.newspapper-post-small {
	transition: background-color 0.2s ease;
}

.newspapper-post-small:hover {
	background-color: rgba(0, 0, 0, 0.02);
}

/* "Ver mais" Link */
.newspapper-see-more {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
}

.newspapper-see-more a {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--np-color-accent);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.newspapper-see-more a:hover {
	opacity: 0.7;
}

.newspapper-see-more a::after {
	content: ' →';
}

/* Placeholder Thumbnail */
.newspapper-thumb-placeholder,
.newspapper-thumb-grid-placeholder,
.newspapper-thumb-list-placeholder,
.newspapper-thumb-small-placeholder,
.newspapper-thumb-carousel-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
	color: #94a3b8;
	font-size: 2rem;
}

.newspapper-thumb-placeholder {
	width: 100%;
	aspect-ratio: 16/9;
	margin-bottom: 20px;
}

.newspapper-thumb-grid-placeholder {
	width: 100%;
	height: 200px;
	margin-bottom: 15px;
}

.newspapper-thumb-list-placeholder {
	width: 100%;
	height: 140px;
}

.newspapper-thumb-small-placeholder {
	width: 90px;
	height: 70px;
	flex-shrink: 0;
}

.newspapper-thumb-carousel-placeholder {
	width: 100%;
	aspect-ratio: 16/10;
}

/* Accessibility: time element */
time.newspapper-date {
	color: inherit;
	font-size: inherit;
}

/* Responsive */
@media (max-width: 991px) {
	.newspapper-hero-wrapper {
		grid-template-columns: 1fr;
	}

	.newspapper-post-large .newspapper-title {
		font-size: 26px;
	}
}

/* ==========================================================================
   Archive Page Styles
   ========================================================================== */

/* Archive Page Header */
.page-header {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	text-align: center;
}

.page-header .page-title {
	font-family: var(--np-font-secondary);
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--np-color-primary);
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.page-header .archive-description {
	font-size: 1.1rem;
	color: var(--np-color-secondary);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.7;
}

/* Archive Posts Grid */
.rezeta-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 3rem;
}

@media (max-width: 992px) {
	.rezeta-posts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (max-width: 600px) {
	.rezeta-posts-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* Post Card */
.rezeta-post-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.rezeta-post-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.rezeta-post-card .post-thumbnail {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.rezeta-post-card .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.rezeta-post-card:hover .post-thumbnail img {
	transform: scale(1.05);
}

.rezeta-post-card-content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.rezeta-post-card .entry-header {
	margin-bottom: 0.75rem;
}

.rezeta-post-card .entry-title {
	font-family: var(--np-font-secondary);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.rezeta-post-card .entry-title a {
	color: var(--np-color-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

.rezeta-post-card .entry-title a:hover {
	color: var(--np-color-accent);
}

.rezeta-post-card .entry-meta {
	font-size: 0.85rem;
	color: #94a3b8;
	margin-bottom: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.rezeta-post-card .entry-summary {
	font-size: 0.95rem;
	color: var(--np-color-secondary);
	line-height: 1.6;
	margin-top: auto;
}

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

/* Archive Navigation / Pagination */
.posts-navigation,
.pagination {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.posts-navigation .nav-previous a,
.posts-navigation .nav-next a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	background: var(--np-color-primary);
	color: #fff;
	font-weight: 500;
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.posts-navigation .nav-previous a:hover,
.posts-navigation .nav-next a:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* No Results Page */
.no-results {
	text-align: center;
	padding: 4rem 2rem;
	background: #f8fafc;
	border-radius: 16px;
}

.no-results .page-title {
	font-size: 1.75rem;
	color: var(--np-color-primary);
	margin-bottom: 1rem;
}

.no-results .page-content p {
	font-size: 1.1rem;
	color: var(--np-color-secondary);
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */

/* Single Post Container - usa a mesma largura do site (1200px) */
.single article {
	background: #fff;
	padding: 0;
}

/* Single Post Header */
.single .entry-header {
	text-align: center;
	margin-bottom: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.single .entry-title {
	font-family: var(--np-font-secondary);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--np-color-primary);
	line-height: 1.25;
	margin-bottom: 1.25rem;
	letter-spacing: -0.02em;
}

@media (max-width: 768px) {
	.single .entry-title {
		font-size: 1.75rem;
	}
}

.single .entry-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	font-size: 0.95rem;
	color: var(--np-color-secondary);
}

.single .entry-meta a {
	color: var(--np-color-accent);
}

.single .entry-meta a:hover {
	text-decoration: underline;
}

/* Featured Image */
.single .post-thumbnail {
	margin-bottom: 2.5rem;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.single .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* Content */
.single .entry-content {
	font-size: 1.125rem;
	line-height: 1.8;
	color: #374151;
	margin-bottom: 3rem;
}

.single .entry-content p {
	margin-bottom: 1.5rem;
}

.single .entry-content h2 {
	font-family: var(--np-font-secondary);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--np-color-primary);
	margin: 2.5rem 0 1rem;
}

.single .entry-content h3 {
	font-family: var(--np-font-secondary);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--np-color-primary);
	margin: 2rem 0 0.75rem;
}

.single .entry-content h4 {
	font-family: var(--np-font-primary);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--np-color-primary);
	margin: 1.75rem 0 0.5rem;
}

.single .entry-content ul,
.single .entry-content ol {
	margin: 0 0 1.5rem 1.5rem;
	padding: 0;
}

.single .entry-content li {
	margin-bottom: 0.5rem;
}

.single .entry-content blockquote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	border-left: 4px solid var(--np-color-accent);
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: #475569;
}

.single .entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.single .entry-content img {
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.single .entry-content a {
	color: var(--np-color-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.single .entry-content a:hover {
	text-decoration-thickness: 2px;
}

/* Code blocks */
.single .entry-content pre {
	background: #1e293b;
	color: #e2e8f0;
	padding: 1.5rem;
	border-radius: 12px;
	overflow-x: auto;
	margin: 1.5rem 0;
	font-size: 0.9rem;
}

.single .entry-content code {
	background: #f1f5f9;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	font-size: 0.9em;
	color: var(--np-color-accent);
}

.single .entry-content pre code {
	background: transparent;
	padding: 0;
	color: inherit;
}

/* Entry Footer (Categories/Tags) */
.single .entry-footer {
	padding: 2rem 0;
	margin-bottom: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.95rem;
	color: var(--np-color-secondary);
}

.single .entry-footer .cat-links,
.single .entry-footer .tags-links {
	display: block;
	margin-bottom: 0.5rem;
}

.single .entry-footer .cat-links:last-child,
.single .entry-footer .tags-links:last-child {
	margin-bottom: 0;
}

.single .entry-footer a {
	color: var(--np-color-accent);
	margin-left: 0.25rem;
}

.single .entry-footer a:hover {
	text-decoration: underline;
}

/* Post Navigation (Anterior / Próximo) */
.post-navigation {
	margin: 2rem 0 3rem;
	padding: 0;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

@media (max-width: 600px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	flex: 1;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	background: #f8fafc;
	border-radius: 12px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
	height: 100%;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
	background: #e2e8f0;
	transform: translateY(-3px);
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-subtitle {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
	font-family: var(--np-font-secondary);
	font-size: 1rem;
	font-weight: 600;
	color: var(--np-color-primary);
	line-height: 1.4;
}

/* Comments Section */
.comments-area {
	background: #f8fafc;
	padding: 2.5rem;
	border-radius: 16px;
	margin-top: 2rem;
}

.comments-area .comments-title {
	font-family: var(--np-font-secondary);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--np-color-primary);
	margin-bottom: 2rem;
}

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

.comment-list .comment {
	background: #fff;
	padding: 1.5rem;
	border-radius: 12px;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.comment-list .comment-author {
	font-weight: 600;
	color: var(--np-color-primary);
	margin-bottom: 0.5rem;
}

.comment-list .comment-metadata {
	font-size: 0.85rem;
	color: #94a3b8;
	margin-bottom: 1rem;
}

.comment-list .comment-content p {
	margin: 0;
	color: #475569;
}

.comment-respond {
	margin-top: 2rem;
}

.comment-respond .comment-reply-title {
	font-family: var(--np-font-secondary);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--np-color-primary);
	margin-bottom: 1.5rem;
}

.comment-form label {
	display: block;
	font-weight: 500;
	color: var(--np-color-primary);
	margin-bottom: 0.5rem;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	padding: 0.875rem 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 1rem;
}

.comment-form textarea:focus,
.comment-form input:focus {
	outline: none;
	border-color: var(--np-color-accent);
	box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.comment-form .submit {
	padding: 0.875rem 2rem;
	background: var(--np-color-primary);
	color: #fff;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-form .submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Mobile Responsive Styles - Archive & Single
   ========================================================================== */

@media (max-width: 768px) {

	/* Archive Page Header */
	.page-header {
		margin-bottom: 2rem;
		padding-bottom: 1.5rem;
	}

	.page-header .page-title {
		font-size: 1.75rem;
	}

	.page-header .archive-description {
		font-size: 1rem;
	}

	/* Post Cards */
	.rezeta-post-card-content {
		padding: 1.25rem;
	}

	.rezeta-post-card .entry-title {
		font-size: 1.1rem;
	}

	/* Archive Navigation */
	.posts-navigation .nav-links {
		flex-direction: column;
		gap: 0.75rem;
	}

	.posts-navigation .nav-previous a,
	.posts-navigation .nav-next a {
		width: 100%;
		justify-content: center;
		padding: 0.875rem 1rem;
	}

	/* Single Post */
	.single .entry-header {
		margin-bottom: 1.5rem;
		padding-bottom: 1.5rem;
	}

	.single .entry-meta {
		font-size: 0.85rem;
		gap: 0.25rem 1rem;
	}

	.single .post-thumbnail {
		margin-bottom: 1.5rem;
		border-radius: 12px;
	}

	.single .entry-content {
		font-size: 1rem;
		margin-bottom: 2rem;
	}

	.single .entry-content h2 {
		font-size: 1.5rem;
		margin: 2rem 0 0.75rem;
	}

	.single .entry-content h3 {
		font-size: 1.25rem;
		margin: 1.5rem 0 0.5rem;
	}

	.single .entry-content blockquote {
		padding: 1rem 1.25rem;
		margin: 1.5rem 0;
	}

	.single .entry-content pre {
		padding: 1rem;
		font-size: 0.85rem;
	}

	/* Entry Footer */
	.single .entry-footer {
		padding: 1.5rem 0;
		margin-bottom: 1.5rem;
	}

	/* Post Navigation */
	.post-navigation {
		margin: 1.5rem 0 2rem;
	}

	.post-navigation .nav-previous a,
	.post-navigation .nav-next a {
		padding: 1.25rem;
	}

	.post-navigation .nav-title {
		font-size: 0.95rem;
	}

	/* Comments */
	.comments-area {
		padding: 1.5rem;
		border-radius: 12px;
	}

	.comments-area .comments-title {
		font-size: 1.25rem;
		margin-bottom: 1.5rem;
	}

	.comment-list .comment {
		padding: 1.25rem;
	}

	.comment-respond .comment-reply-title {
		font-size: 1.1rem;
	}

	.comment-form textarea,
	.comment-form input[type="text"],
	.comment-form input[type="email"],
	.comment-form input[type="url"] {
		padding: 0.75rem;
	}

	.comment-form .submit {
		width: 100%;
		padding: 1rem;
	}
}

@media (max-width: 480px) {

	/* Extra small screens */
	.page-header .page-title {
		font-size: 1.5rem;
	}

	.single .entry-title {
		font-size: 1.5rem;
	}

	.rezeta-post-card .entry-title {
		font-size: 1rem;
	}

	.rezeta-post-card-content {
		padding: 1rem;
	}

	.rezeta-post-card .entry-meta {
		font-size: 0.8rem;
	}

	/* Single content adjustments */
	.single .entry-content {
		font-size: 0.95rem;
		line-height: 1.7;
	}

	.single .entry-content ul,
	.single .entry-content ol {
		margin-left: 1rem;
	}
}

/* ==========================================================================
   NEW BLOCKS: Grid + Ad, List + Ad, Banner, Carousel, Two Columns
   ========================================================================== */

/* Grid + Ad / List + Ad Common Styles */
.newspapper-grid-ad-wrapper,
.newspapper-list-ad-wrapper {
	display: flex;
	gap: 30px;
}

.newspapper-posts-column {
	flex: 1;
	min-width: 0;
}

.newspapper-ad-column {
	width: 300px;
	flex-shrink: 0;
}

.newspapper-ad-sticky {
	position: sticky;
	top: 20px;
}

/* Ad position variants */
.newspapper-ad-left .newspapper-grid-ad-wrapper,
.newspapper-ad-left .newspapper-list-ad-wrapper {
	flex-direction: row;
}

.newspapper-ad-right .newspapper-grid-ad-wrapper,
.newspapper-ad-right .newspapper-list-ad-wrapper {
	flex-direction: row;
}

/* Grid wrapper inside posts column */
.newspapper-posts-column .newspapper-grid-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

/* List wrapper inside posts column */
.newspapper-posts-column .newspapper-list-wrapper {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* ==========================================================================
   Banner Full Width
   ========================================================================== */
.newspapper-block-banner {
	margin: 30px 0;
	padding: 0;
}

.newspapper-banner-content {
	text-align: center;
}

.newspapper-banner-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* ==========================================================================
   Carousel
   ========================================================================== */
.newspapper-block-carousel {
	margin-bottom: 40px;
}

.newspapper-carousel-container {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

.newspapper-carousel-track-container {
	overflow: hidden;
	flex: 1;
}

.newspapper-carousel-track {
	display: flex;
	gap: 20px;
	transition: transform 0.3s ease;
}

.newspapper-carousel-item {
	flex: 0 0 calc(25% - 15px);
	min-width: 0;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.newspapper-thumb-carousel {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.newspapper-thumb-carousel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.newspapper-carousel-item:hover .newspapper-thumb-carousel img {
	transform: scale(1.05);
}

.newspapper-content-carousel {
	padding: 15px;
}

.newspapper-title-carousel {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 0 8px;
}

.newspapper-title-carousel a {
	color: #1a1a1a;
	text-decoration: none;
}

.newspapper-title-carousel a:hover {
	color: var(--np-color-primary, #e53935);
}

/* Carousel Navigation */
.newspapper-carousel-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.newspapper-carousel-btn:hover {
	background: var(--np-color-primary, #e53935);
	color: #fff;
}

/* ==========================================================================
   Two Columns
   ========================================================================== */
.newspapper-block-two-columns {
	margin-bottom: 40px;
}

.newspapper-two-columns-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.newspapper-column {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.newspapper-column-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--np-color-primary, #e53935);
	color: #1a1a1a;
}

/* ==========================================================================
   Responsive Styles for New Blocks
   ========================================================================== */
@media (max-width: 992px) {
	.newspapper-carousel-item {
		flex: 0 0 calc(33.333% - 13.33px);
	}

	/* Grid/List + Ad: stack vertically on Tablet */
	/* Use high specificity to override the desktop .newspapper-ad-left/.newspapper-ad-right rules */
	.newspapper-grid-ad-wrapper,
	.newspapper-list-ad-wrapper,
	.newspapper-ad-left .newspapper-grid-ad-wrapper,
	.newspapper-ad-left .newspapper-list-ad-wrapper,
	.newspapper-ad-right .newspapper-grid-ad-wrapper,
	.newspapper-ad-right .newspapper-list-ad-wrapper {
		flex-direction: column !important;
		gap: 20px;
	}

	.newspapper-ad-column {
		width: 100% !important;
		max-width: 100%;
		margin: 20px auto 0;
		order: 2;
		display: flex;
		justify-content: center;
	}

	.newspapper-ad-left .newspapper-ad-column {
		order: 2;
	}

	.newspapper-ad-sticky {
		position: static;
	}

	/* Safety for Ad Widgets and Header HTML on Mobile */
	.newspapper-block-ad,
	.newspapper-ad-content,
	.rezeta-header-html {
		max-width: 100% !important;
		overflow: hidden !important;
		width: 100% !important;
		display: block !important;
	}

	.newspapper-ad-content *,
	.rezeta-header-html * {
		max-width: 100% !important;
		height: auto !important;
	}

	.rezeta-header-html img,
	.rezeta-header-html iframe,
	.rezeta-header-html video {
		display: block !important;
		margin: 0 auto !important;
	}
}

@media (max-width: 768px) {

	/* Global Safety */
	.newspapper-block {
		margin-bottom: 40px;
		overflow: hidden;
	}

	/* Standalone Grid: single column */
	.newspapper-grid-wrapper {
		grid-template-columns: 1fr !important;
	}

	/* Grid inside posts column: single column */
	.newspapper-posts-column .newspapper-grid-wrapper {
		grid-template-columns: 1fr;
	}

	/* Two Columns: stack vertically */
	.newspapper-two-columns-wrapper {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	/* List Block Mobile: stack vertically */
	.newspapper-post-list {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.newspapper-thumb-list {
		width: 100%;
	}

	.newspapper-thumb-list img {
		width: 100%;
		height: auto;
		aspect-ratio: 16/9;
		object-fit: cover;
	}

	/* Hero side posts */
	.newspapper-post-small {
		align-items: center;
	}

	/* Mobile Title Size Caps (override inline !important styles) */
	.newspapper-post-large .newspapper-title,
	.newspapper-post-large .newspapper-title a {
		font-size: 22px !important;
		line-height: 1.3 !important;
	}

	.newspapper-title-grid,
	.newspapper-title-grid a {
		font-size: 18px !important;
		line-height: 1.3 !important;
	}

	.newspapper-title-list,
	.newspapper-title-list a {
		font-size: 16px !important;
		line-height: 1.3 !important;
	}

	.newspapper-title-carousel,
	.newspapper-title-carousel a {
		font-size: 15px !important;
	}

	.newspapper-column-title {
		font-size: 1rem;
	}

	/* Grid image height auto on mobile */
	.newspapper-post-grid .newspapper-thumb-grid img {
		height: auto;
		aspect-ratio: 16/10;
	}

	/* Carousel: 2 items */
	.newspapper-carousel-item {
		flex: 0 0 calc(50% - 10px);
	}

	.newspapper-carousel-btn {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {

	/* Carousel: 1 item */
	.newspapper-carousel-item {
		flex: 0 0 100%;
	}

	.newspapper-carousel-btn {
		display: none;
	}

	/* Further reduce titles on very small screens */
	.newspapper-post-large .newspapper-title,
	.newspapper-post-large .newspapper-title a {
		font-size: 20px !important;
	}

	.newspapper-title-grid,
	.newspapper-title-grid a {
		font-size: 16px !important;
	}

	.newspapper-block-title {
		font-size: 18px;
	}

	.newspapper-block-title span {
		padding: 4px 10px;
		font-size: 13px !important;
	}
}

/* ==========================================================================
   Single Post Ad Slots
   ========================================================================== */
.newspapper-single-ad {
	text-align: center;
	margin: 2rem 0;
	padding: 20px;
	background: #f8fafc;
	border-radius: 12px;
	position: relative;
}

.newspapper-single-ad::before {
	content: 'Publicidade';
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #94a3b8;
	margin-bottom: 10px;
}

.newspapper-single-ad img,
.newspapper-single-ad iframe,
.newspapper-single-ad video {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.newspapper-single-ad-before {
	margin-top: 0;
}

.newspapper-single-ad-after {
	margin-bottom: 0;
}

/* ==========================================================================
   Ad Block: Video Player
   ========================================================================== */
.newspapper-ad-video {
	width: 100%;
	max-width: 100%;
	border-radius: 8px;
	display: block;
	margin: 0 auto;
}

/* ==========================================================================
   Ad Block: Image Carousel
   ========================================================================== */
.newspapper-ad-carousel {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.newspapper-ad-carousel-track {
	display: flex;
	transition: transform 0.5s ease;
}

.newspapper-ad-carousel-slide {
	flex: 0 0 100%;
	min-width: 100%;
}

.newspapper-ad-carousel-slide img {
	width: 100%;
	height: auto;
	display: block;
}

.newspapper-ad-carousel-slide a {
	display: block;
}

.newspapper-ad-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

.newspapper-ad-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.3s ease;
}

.newspapper-ad-carousel-dot.active {
	background: var(--np-color-accent, #c00);
}

@media (max-width: 768px) {
	.newspapper-single-ad {
		margin: 1.5rem 0;
		padding: 15px;
		border-radius: 8px;
	}
}

/* ==========================================================================
   Related Posts Carousel (Single Post)
   ========================================================================== */
.newspapper-related-posts {
	margin-top: 3rem;
	padding-top: 2.5rem;
	border-top: 2px solid #e2e8f0;
}

.newspapper-related-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 1.5rem;
	position: relative;
	padding-bottom: 10px;
}

.newspapper-related-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: var(--np-color-accent, #c00);
	border-radius: 2px;
}

.newspapper-related-carousel {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
	padding-bottom: 10px;
}

.newspapper-related-carousel::-webkit-scrollbar {
	height: 6px;
}

.newspapper-related-carousel::-webkit-scrollbar-track {
	background: transparent;
}

.newspapper-related-carousel::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}

.newspapper-related-track {
	display: flex;
	gap: 20px;
	scroll-snap-type: x mandatory;
}

.newspapper-related-item {
	flex: 0 0 220px;
	min-width: 220px;
	scroll-snap-align: start;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #f1f5f9;
}

.newspapper-related-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.newspapper-related-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16/10;
	overflow: hidden;
}

.newspapper-related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.newspapper-related-item:hover .newspapper-related-thumb img {
	transform: scale(1.05);
}

.newspapper-related-item-title {
	padding: 12px 14px 4px;
	margin: 0;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.35;
}

.newspapper-related-item-title a {
	color: #1e293b;
	text-decoration: none;
}

.newspapper-related-item-title a:hover {
	color: var(--np-color-accent, #c00);
}

.newspapper-related-meta {
	padding: 0 14px 12px;
	font-size: 0.75rem;
	color: #94a3b8;
}

@media (max-width: 768px) {
	.newspapper-related-item {
		flex: 0 0 180px;
		min-width: 180px;
	}

	.newspapper-related-item-title {
		font-size: 0.82rem;
	}
}

/* =========================================
   Magazine (75/25) Block
   ========================================= */
.np-magazine-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -20px;
}

.np-magazine-main {
	flex: 0 0 75%;
	max-width: 75%;
	padding: 0 20px;
	box-sizing: border-box;
	border-right: 1px solid #eee;
}

.np-magazine-sidebar {
	flex: 0 0 25%;
	max-width: 25%;
	padding: 0 20px;
	box-sizing: border-box;
}

.np-mag-feature {
	display: flex;
	gap: 25px;
	margin-bottom: 25px;
	align-items: flex-start;
}

.np-mag-feat-content {
	flex: 1;
}

.np-mag-feat-content .newspapper-cat {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #888;
	letter-spacing: 1px;
	font-weight: bold;
	display: block;
	margin-bottom: 5px;
}

.np-mag-feat-title {
	font-size: 1.4rem;
	margin: 5px 0 10px;
	line-height: 1.25;
}

.np-mag-feat-title a {
	color: #222;
	text-decoration: none;
}

.np-mag-feat-title a:hover {
	color: var(--np-color-accent);
}

.np-mag-date {
	font-size: 0.8rem;
	color: #999;
	display: block;
	margin-bottom: 10px;
}

.np-mag-excerpt {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.5;
}

.np-mag-feat-thumb {
	flex: 0 0 50%;
	max-width: 50%;
}

.np-mag-feat-thumb img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.np-mag-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.np-mag-grid-item img {
	width: 100%;
	height: 100px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 6px;
}

.np-mag-grid-item h4 {
	font-size: 0.88rem;
	line-height: 1.3;
	margin: 0;
}

.np-mag-grid-item h4 a {
	color: #333;
	text-decoration: none;
}

.np-mag-grid-item h4 a:hover {
	color: var(--np-color-accent);
}

.np-mag-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.np-mag-list li {
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.np-mag-list li:first-child {
	padding-top: 0;
}

.np-mag-list li a {
	font-size: 0.95rem;
	line-height: 1.4;
	color: #333;
	font-weight: 500;
	text-decoration: none;
}

.np-mag-list li a:hover {
	color: var(--np-color-accent);
	text-decoration: underline;
}

@media (max-width: 992px) {

	.np-magazine-main,
	.np-magazine-sidebar {
		flex: 0 0 100%;
		max-width: 100%;
		border-right: none;
	}

	.np-magazine-sidebar {
		margin-top: 30px;
	}

	.np-mag-feature {
		flex-direction: column-reverse;
	}

	.np-mag-feat-thumb {
		flex: 0 0 100%;
		max-width: 100%;
	}

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

@media (max-width: 600px) {
	.np-mag-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================
   Feature Grid (1+4) Block
   ========================================= */
.np-feat-grid-row {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.np-feat-grid-main {
	flex: 0 0 calc(50% - 15px);
	max-width: calc(50% - 15px);
}

.np-feat-grid-side {
	flex: 0 0 calc(50% - 15px);
	max-width: calc(50% - 15px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
}

.np-feat-main-thumb img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 12px;
}

.np-feat-main-content .newspapper-cat {
	font-size: 0.7rem;
	text-transform: uppercase;
	color: #888;
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}

.np-feat-main-content h3 {
	font-size: 1.4rem;
	margin: 5px 0 12px;
	line-height: 1.25;
}

.np-feat-main-content h3 a {
	color: #222;
	text-decoration: none;
}

.np-feat-main-content h3 a:hover {
	color: var(--np-color-accent);
}

.np-feat-excerpt {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.5;
	margin-bottom: 12px;
}

.np-feat-date {
	font-size: 0.8rem;
	color: #999;
}

.np-feat-side-thumb img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 8px;
}

.np-feat-side-card h4 {
	font-size: 0.92rem;
	line-height: 1.3;
	margin: 0 0 4px;
}

.np-feat-side-card h4 a {
	color: #333;
	text-decoration: none;
}

.np-feat-side-card h4 a:hover {
	color: var(--np-color-accent);
}

@media (max-width: 992px) {

	.np-feat-grid-main,
	.np-feat-grid-side {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.np-feat-grid-side {
		grid-template-columns: 1fr;
	}
}

/* =========================================
   Four Columns + Links Block
   ========================================= */
.np-four-col-row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.np-four-col-item {
	flex: 1 1 calc(25% - 23px);
	min-width: 200px;
}

.np-four-col-title {
	font-size: 1.1rem;
	font-weight: 800;
	text-transform: uppercase;
	border-left: 4px solid var(--np-color-accent, #c00);
	padding-left: 10px;
	margin: 0 0 15px;
	line-height: 1;
}

.np-four-col-title span {
	display: inline;
}

.np-col-feat-thumb img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 8px;
}

.np-col-feat-post h4 {
	font-size: 0.95rem;
	line-height: 1.3;
	margin: 4px 0 8px;
}

.np-col-feat-post h4 a {
	color: #333;
	text-decoration: none;
}

.np-col-feat-post h4 a:hover {
	color: var(--np-color-accent);
}

.np-col-date {
	font-size: 0.75rem;
	color: #999;
	display: block;
	margin-bottom: 12px;
}

.np-col-links-list {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
	border-top: 1px solid #eee;
}

.np-col-links-list li {
	padding: 7px 0;
	border-bottom: 1px solid #eee;
}

.np-col-links-list li a {
	font-size: 0.88rem;
	color: #333;
	line-height: 1.4;
	font-weight: 500;
	text-decoration: none;
}

.np-col-links-list li a:hover {
	color: var(--np-color-accent);
}

@media (max-width: 992px) {
	.np-four-col-item {
		flex: 1 1 calc(50% - 15px);
	}
}

@media (max-width: 600px) {
	.np-four-col-item {
		flex: 1 1 100%;
	}
}

/* =========================================
   Strip Block
   ========================================= */
.np-strip-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.np-strip-item img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 8px;
}

.np-strip-item h4 {
	font-size: 0.92rem;
	line-height: 1.3;
	margin: 0;
}

.np-strip-item h4 a {
	color: #333;
	text-decoration: none;
}

.np-strip-item h4 a:hover {
	color: var(--np-color-accent);
}

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

@media (max-width: 500px) {
	.np-strip-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================
   Overlay Card Block
   ========================================= */
.np-overlay-wrapper {
	display: flex;
	gap: 25px;
	flex-wrap: wrap;
}

.np-overlay-card {
	position: relative;
	flex: 1;
	min-width: 280px;
}

.np-overlay-thumb {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}

.np-overlay-thumb img {
	width: 100%;
	height: 350px;
	object-fit: cover;
	display: block;
}

.np-overlay-thumb::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 55%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
	pointer-events: none;
}

.np-overlay-content {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
	z-index: 2;
}

.np-overlay-cat {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 0.7rem;
	margin-bottom: 8px;
	display: inline-block;
}

.np-overlay-content h3,
.np-overlay-content h4 {
	margin: 0 0 8px;
}

.np-overlay-content h3 a,
.np-overlay-content h4 a {
	color: #fff;
	font-size: 1.4rem;
	line-height: 1.25;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	text-decoration: none;
}

.np-overlay-date {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   Mixed Row (30/70) Block
   ========================================= */
.np-mixed-row {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.np-mixed-sidebar {
	flex: 0 0 30%;
	max-width: 30%;
	border-right: 1px solid #eee;
	padding-right: 20px;
	box-sizing: border-box;
}

.np-mixed-content {
	flex: 1;
	min-width: 0;
}

.np-mixed-section-title {
	font-size: 1.2rem;
	font-weight: 800;
	text-transform: uppercase;
	border-left: 4px solid var(--np-color-accent, #c00);
	padding-left: 10px;
	margin: 0 0 20px;
}

.np-mixed-overlay {
	margin-bottom: 20px;
}

.np-mixed-overlay .np-overlay-thumb img {
	height: 280px;
}

.np-mixed-small-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid #eee;
}

.np-mixed-small-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.np-mixed-small-thumb {
	flex: 0 0 55px;
	height: 55px;
	border-radius: 4px;
	overflow: hidden;
}

.np-mixed-small-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.np-mixed-small-item h5 {
	font-size: 0.9rem;
	margin: 0;
	line-height: 1.3;
}

.np-mixed-small-item h5 a {
	color: #333;
	text-decoration: none;
}

.np-mixed-small-item h5 a:hover {
	color: var(--np-color-accent);
}

/* Horizontal Cards (right side) */
.np-horiz-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.np-horiz-card {
	display: flex;
	align-items: center;
	padding: 18px;
	border-bottom: 1px solid #eee;
	background: #f9f9f9;
	margin-bottom: 15px;
	border-radius: 4px;
}

.np-horiz-content {
	flex: 1;
	order: 1;
}

.np-horiz-thumb {
	flex: 0 0 38%;
	order: 2;
	margin-left: 18px;
}

.np-horiz-thumb img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 4px;
}

.np-horiz-content .newspapper-cat {
	font-size: 0.7rem;
	text-transform: uppercase;
	color: #888;
	letter-spacing: 1px;
	margin-bottom: 5px;
	display: block;
	font-weight: bold;
}

.np-horiz-content h3 {
	font-size: 1.3rem;
	margin: 5px 0 12px;
	line-height: 1.25;
}

.np-horiz-content h3 a {
	color: #222;
	text-decoration: none;
}

.np-horiz-content h3 a:hover {
	color: var(--np-color-accent);
}

.np-horiz-excerpt {
	font-size: 0.92rem;
	color: #555;
	margin-bottom: 12px;
	line-height: 1.5;
}

.np-horiz-date {
	font-size: 0.8rem;
	color: #999;
}

@media (max-width: 992px) {
	.np-mixed-sidebar {
		flex: 0 0 100%;
		max-width: 100%;
		border-right: none;
		border-bottom: 1px solid #eee;
		margin-bottom: 30px;
		padding-bottom: 30px;
		padding-right: 0;
	}

	.np-horiz-card {
		flex-direction: column-reverse;
	}

	.np-horiz-thumb {
		margin-left: 0;
		margin-bottom: 15px;
		flex: 0 0 auto;
		width: 100%;
	}
}

/* =========================================
   Complex Row (3 Columns) Block
   ========================================= */
.np-complex-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -20px;
}

.np-complex-col {
	padding: 0 20px;
	box-sizing: border-box;
}

.np-complex-col-feature {
	flex: 0 0 50%;
	max-width: 50%;
	border-right: 1px solid #e5e5e5;
}

.np-complex-col-feed {
	flex: 0 0 25%;
	max-width: 25%;
	border-right: 1px solid #e5e5e5;
}

.np-complex-col-numbered {
	flex: 0 0 25%;
	max-width: 25%;
}

/* Slider in Col 1 */
.np-feature-slider {
	overflow: hidden;
	margin-bottom: 20px;
}

.np-slider-wrapper {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 0;
	scrollbar-width: none;
	cursor: grab;
}

.np-slider-wrapper::-webkit-scrollbar {
	display: none;
}

.np-feature-slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}

.np-feature-slide img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 4px;
}

.np-feature-slide h3 {
	font-size: 1.2rem;
	margin: 10px 0 0;
	line-height: 1.25;
}

.np-feature-slide h3 a {
	color: #222;
	text-decoration: none;
}

.np-feature-slide h3 a:hover {
	color: var(--np-color-accent);
}

.np-feature-small-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.np-feature-small {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

.np-feature-small-info {
	flex: 1;
	min-width: 0;
}

.np-feature-small-thumb {
	flex: 0 0 80px;
	height: 60px;
	border-radius: 4px;
	overflow: hidden;
	display: block;
}

.np-feature-small-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.np-feature-small h4 {
	font-size: 0.88rem;
	margin: 0;
	line-height: 1.3;
}

.np-feature-small h4 a {
	color: #333;
	text-decoration: none;
}

.np-feature-small h4 a:hover {
	color: var(--np-color-accent);
}

/* Feed in Col 2 */
.np-feed-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.np-feed-item {
	display: flex;
	flex-direction: column;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.np-feed-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.np-feed-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 10px;
}

.np-feed-item h4 {
	font-size: 1rem;
	line-height: 1.3;
	margin: 0 0 6px;
	font-weight: 700;
}

.np-feed-item h4 a {
	color: #333;
	text-decoration: none;
}

.np-feed-item h4 a:hover {
	color: var(--np-color-accent);
}

.np-feed-meta {
	margin-bottom: 6px;
}

.np-feed-date {
	font-size: 0.8rem;
	color: #999;
}

.np-feed-excerpt {
	font-size: 0.88rem;
	color: #666;
	line-height: 1.5;
	margin: 0;
}

/* Numbered List in Col 3 */
.np-numbered-title {
	font-size: 1.4rem;
	font-weight: 800;
	text-transform: uppercase;
	border-bottom: 3px solid #222;
	padding-bottom: 10px;
	margin: 0 0 0;
	padding-left: 0;
	border-left: none;
}

.np-numbered-list {
	list-style: none;
	counter-reset: numbered-counter;
	padding: 0;
	margin: 0;
}

.np-numbered-list li {
	counter-increment: numbered-counter;
	padding: 14px 0 14px 50px;
	border-bottom: 1px solid #eee;
	position: relative;
	min-height: 40px;
	display: flex;
	align-items: center;
}

.np-numbered-list li::before {
	content: counter(numbered-counter);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2rem;
	font-weight: 800;
	color: #ddd;
	width: 40px;
	text-align: center;
	line-height: 1;
}

.np-numbered-list li a {
	font-size: 0.92rem;
	color: #333;
	line-height: 1.4;
	font-weight: 500;
	text-decoration: none;
	display: block;
}

.np-numbered-list li a:hover {
	color: var(--np-color-accent);
}

.np-numbered-date {
	font-size: 0.75rem;
	color: #999;
	display: none;
}

@media (max-width: 992px) {
	.np-complex-col-feature {
		flex: 0 0 100%;
		max-width: 100%;
		border-right: none;
		margin-bottom: 30px;
	}

	.np-complex-col-feed {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.np-complex-col-numbered {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (max-width: 600px) {

	.np-complex-col-feed,
	.np-complex-col-numbered {
		flex: 0 0 100%;
		max-width: 100%;
		border-right: none;
		margin-bottom: 25px;
	}
}

/* =========================================
   Marquee (Continuous Carousel) Block
   ========================================= */
.newspapper-block-marquee {
	/* Full-width background: break out of boxed container */
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background: #f0f0f0;
	padding: 25px 0;
	overflow: hidden;
}

.np-marquee-container {
	max-width: var(--rezeta-container-width, 1200px);
	margin: 0 auto;
	padding: 0 15px;
}

.np-marquee-header {
	margin-bottom: 15px;
}

.np-marquee-wrapper {
	overflow: hidden;
	position: relative;
}

.np-marquee-track {
	display: flex;
	gap: 20px;
	animation: np-marquee-scroll 30s linear infinite;
	width: max-content;
}

.newspapper-block-marquee:hover .np-marquee-track {
	animation-play-state: paused;
}

.np-marquee-item {
	flex: 0 0 300px;
	min-width: 300px;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
}

.np-marquee-link {
	display: block;
	position: relative;
	width: 100%;
	height: 200px;
	text-decoration: none;
}

.np-marquee-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Dark gradient overlay for text readability */
.np-marquee-link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top,
			rgba(0, 0, 0, 0.7) 0%,
			rgba(0, 0, 0, 0.3) 40%,
			rgba(0, 0, 0, 0.1) 100%);
	pointer-events: none;
}

.np-marquee-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px;
	z-index: 2;
}

.np-marquee-cat {
	font-size: 0.65rem;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 1px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 10px;
	border-radius: 3px;
	margin-bottom: 8px;
	backdrop-filter: blur(4px);
}

.np-marquee-title {
	font-size: 1rem;
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@keyframes np-marquee-scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 768px) {
	.np-marquee-item {
		flex: 0 0 240px;
		min-width: 240px;
	}

	.np-marquee-layout-overlay .np-marquee-link {
		height: 160px;
	}

	.np-marquee-title {
		font-size: 0.88rem;
	}
}

/* --- Marquee: Side Layout (thumbnail + title side by side) --- */
.np-marquee-layout-side .np-marquee-item {
	flex: 0 0 320px;
	min-width: 320px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease;
}

.np-marquee-layout-side .np-marquee-item:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.np-marquee-layout-side .np-marquee-link {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	text-decoration: none;
	height: 100%;
	padding: 15px;
	box-sizing: border-box;
}

.np-marquee-layout-side .np-marquee-link::after {
	display: none;
}

.np-marquee-layout-side .np-marquee-thumb {
	flex: 0 0 110px;
	height: 85px;
	border-radius: 6px;
	overflow: hidden;
}

.np-marquee-layout-side .np-marquee-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.np-marquee-layout-side .np-marquee-info {
	flex: 1;
	min-width: 0;
}

.np-marquee-layout-side .np-marquee-cat {
	background: none;
	color: #888;
	padding: 0;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 700;
	display: block;
	margin-bottom: 4px;
	backdrop-filter: none;
}

.np-marquee-layout-side .np-marquee-title {
	color: #222;
	font-size: 0.92rem;
	line-height: 1.3;
	margin: 0 0 5px;
	font-weight: 600;
	text-shadow: none;
}

.np-marquee-layout-side .np-marquee-title:hover {
	color: var(--np-color-accent);
}

.np-marquee-date {
	font-size: 0.75rem;
	color: #999;
}

@media (max-width: 768px) {
	.np-marquee-layout-side .np-marquee-item {
		flex: 0 0 280px;
		min-width: 280px;
	}

	.np-marquee-layout-side .np-marquee-thumb {
		flex: 0 0 80px;
		height: 65px;
	}
}