/* Blog archive + single article */

/* ——— Archive ——— */
.site-main--blog {
	padding-block: var(--natella-gap-xl) 3rem;
}

.site-main--blog .natella-layout__inner {
	max-width: none;
	padding-inline: clamp(0.5rem, 2vw, 2rem);
}

.natella-blog__head {
	text-align: center;
	margin-block-end: clamp(2rem, 4vw, 3rem);
}

.natella-blog__title {
	font-family: var(--natella-font-heading);
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
}

.natella-blog__desc {
	margin: 0 auto;
	max-width: 78ch;
	font-size: var(--natella-text-sm);
	color: var(--natella-color-muted);
	line-height: 1.7;
}

.natella-blog__cats {
	list-style: none;
	margin: clamp(1rem, 2vw, 1.5rem) 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.natella-blog__cat {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	color: var(--natella-color-text);
	background: var(--natella-color-surface);
	border: 1px solid var(--natella-color-border);
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.natella-blog__cat:hover,
.natella-blog__cat.is-active {
	background: var(--natella-color-button-bg, #c39d71);
	border-color: var(--natella-color-button-bg, #c39d71);
	color: #fff;
}

.natella-blog__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(0.5rem, 1vw, 0.75rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 46.875em) {
	.natella-blog__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 61.875em) {
	.natella-blog__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 75em) {
	.natella-blog__grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

.natella-blog__card-wrap {
	list-style: none;
}

.natella-blog__card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.natella-blog__card-media {
	overflow: hidden;
	background: var(--natella-color-bg);
	aspect-ratio: 3 / 4;
	position: relative;
}

.natella-blog__card-media::before,
.natella-blog__card-media::after {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.natella-blog__card-media::before {
	content: "";
	inset: 0;
	background: rgb(255 255 255 / 88%);
	transition: opacity 0.4s ease;
}

.natella-blog__card-media::after {
	content: "";
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M72 18c-8 2-16 10-20 22s-4 28 4 38' fill='none' stroke='%231a1a1a' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M50 74l7 6-2-9' fill='none' stroke='%231a1a1a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ctext x='28' y='98' font-family='Dancing Script,cursive' font-size='24' font-weight='700' fill='%231a1a1a'%3ERead%3C/text%3E%3Ctext x='22' y='118' font-family='Dancing Script,cursive' font-size='24' font-weight='700' fill='%231a1a1a'%3Emore%3C/text%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: clamp(100px, 40%, 160px);
}

.natella-blog__card:hover .natella-blog__card-media::before,
.natella-blog__card:hover .natella-blog__card-media::after {
	opacity: 1;
}

.natella-blog__card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.natella-blog__card:hover .natella-blog__card-img {
	transform: scale(1.04);
}

.natella-blog__card-body {
	padding: 0.5rem 0.25rem 0.75rem;
}

.natella-blog__card-date {
	display: block;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--natella-color-muted);
	margin-block-end: 0.25rem;
}

.natella-blog__card-title {
	font-family: var(--natella-font-heading);
	font-size: clamp(0.8rem, 1.2vw, 0.95rem);
	font-weight: 400;
	letter-spacing: 0.03em;
	margin: 0;
	line-height: 1.35;
}

.natella-blog__card-excerpt {
	margin: 0.25rem 0 0;
	font-size: var(--natella-text-xs);
	color: var(--natella-color-muted);
	line-height: 1.5;
}

.natella-blog__card-more {
	display: none;
}

/* Collection banner between post rows */
.natella-blog__banner {
	display: block;
	position: relative;
	margin-block: clamp(1.5rem, 3vw, 2.5rem);
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	aspect-ratio: 4 / 1;
	min-height: 180px;
}

@media (max-width: 46.8125em) {
	.natella-blog__banner {
		aspect-ratio: 2 / 1;
	}
}

.natella-blog__banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.natella-blog__banner:hover .natella-blog__banner-img {
	transform: scale(1.03);
}

.natella-blog__banner-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	background: rgb(0 0 0 / 40%);
	transition: background 0.3s;
}

.natella-blog__banner:hover .natella-blog__banner-overlay {
	background: rgb(0 0 0 / 50%);
}

.natella-blog__banner-label {
	font-family: var(--natella-font-heading);
	font-size: clamp(1.25rem, 3vw, 2rem);
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.natella-blog__banner-cta {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-bottom: 1px solid #fff;
	padding-block-end: 2px;
}

/* Pagination */
.site-main--blog .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-block-start: clamp(2rem, 4vw, 3rem);
}

.site-main--blog .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0.25rem 0.5rem;
	font-size: var(--natella-text-sm);
	color: var(--natella-color-text);
	text-decoration: none;
	border: 1px solid var(--natella-color-border);
}

.site-main--blog .page-numbers.current {
	background: var(--natella-color-text);
	color: #fff;
	border-color: var(--natella-color-text);
}

/* ——— Single article ——— */
.site-main--article {
	padding-block: 0 3rem;
}

/* Breadcrumbs */
.natella-article__breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding-block: 1rem 1.5rem;
	font-size: 0.7rem;
	letter-spacing: 0.04em;
	color: var(--natella-color-muted);
}

.natella-article__breadcrumbs a {
	color: var(--natella-color-muted);
	text-decoration: none;
}

.natella-article__breadcrumbs a:hover {
	color: var(--natella-color-text);
}

.natella-article__breadcrumbs-sep {
	color: var(--natella-color-border);
}

.natella-article {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 61.875em) {
	.natella-article {
		grid-template-columns: 25% 1fr;
		gap: 20px;
		align-items: start;
	}

	.natella-article__sidebar {
		order: -1;
		position: sticky;
		top: 6rem;
	}
}


.natella-article__header {
	margin-block-end: 2rem;
}

.natella-article__date {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--natella-color-muted);
	margin-block-end: 0.5rem;
}

.natella-article__title {
	font-family: var(--natella-font-heading);
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	font-weight: 400;
	letter-spacing: 0.03em;
	margin: 0;
	line-height: 1.3;
}

.natella-article__content {
	font-size: var(--natella-text-body);
	line-height: 1.8;
}

.natella-article__content p {
	margin-block-end: 1.25rem;
}

.natella-article__content img {
	max-width: 100%;
	height: auto;
}

.natella-article__footer {
	margin-block-start: 2rem;
	padding-block-start: 1.5rem;
	border-block-start: 1px solid var(--natella-color-border);
}

.natella-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.natella-article__tag {
	font-size: var(--natella-text-xs);
	color: var(--natella-color-muted);
	text-decoration: none;
	letter-spacing: 0.04em;
}

.natella-article__tag:hover {
	color: var(--natella-color-text);
}

/* Sidebar — visual banner style */
.natella-article__sidebar-block {
	margin-block-end: 0;
	padding: 0;
	border: none;
}

.natella-article__sidebar-title {
	display: none;
}

.natella-article__sidebar-block--cta .natella-article__sidebar-title {
	display: block;
	font-family: var(--natella-font-heading);
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	color: #fff;
}

/* Collection banners */
.natella-article__sidebar-collections {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.natella-article__sidebar-collection {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
}

.natella-article__sidebar-collection-img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.natella-article__sidebar-collection:hover .natella-article__sidebar-collection-img {
	transform: scale(1.04);
}

.natella-article__sidebar-collection-name {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(0 0 0 / 30%);
	color: #fff;
	font-family: var(--natella-font-heading);
	font-size: clamp(0.85rem, 1.2vw, 1.1rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: background 0.3s ease;
}

.natella-article__sidebar-collection:hover .natella-article__sidebar-collection-name {
	background: rgb(0 0 0 / 50%);
}

.natella-article__sidebar-all {
	display: inline-block;
	margin-block: 0.5rem 1.5rem;
	font-size: var(--natella-text-xs);
	color: var(--natella-color-button-bg);
	text-decoration: none;
	letter-spacing: 0.04em;
}

.natella-article__sidebar-all:hover {
	text-decoration: underline;
}

/* CTA banner */
.natella-article__sidebar-block--cta {
	position: relative;
	overflow: hidden;
	background: var(--natella-color-text);
	padding: 2rem 1.25rem;
	text-align: center;
	margin-block-end: 1.5rem;
}

.natella-article__sidebar-text {
	margin: 0 0 1rem;
	font-size: var(--natella-text-xs);
	line-height: 1.6;
	color: rgb(255 255 255 / 70%);
}

.natella-article__sidebar-btn {
	display: block;
	text-align: center;
	padding: 0.6rem 1rem;
	font-family: var(--natella-font-heading);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--natella-color-text);
	background: #fff;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.natella-article__sidebar-btn:hover {
	background: var(--natella-color-button-bg);
	color: #fff;
}

/* Related posts — visual banners */
.natella-article__sidebar-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.natella-article__sidebar-post {
	display: block;
	text-decoration: none;
	color: inherit;
	position: relative;
	overflow: hidden;
}

.natella-article__sidebar-post-img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}

.natella-article__sidebar-post:hover .natella-article__sidebar-post-img {
	transform: scale(1.04);
}

.natella-article__sidebar-post::before,
.natella-article__sidebar-post::after {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.natella-article__sidebar-post::before {
	content: "";
	background: rgb(255 255 255 / 65%);
}

.natella-article__sidebar-post::after {
	content: "";
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M72 18c-8 2-16 10-20 22s-4 28 4 38' fill='none' stroke='%232f2e2e' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M50 74l7 6-2-9' fill='none' stroke='%232f2e2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ctext x='28' y='98' font-family='Dancing Script,cursive' font-size='24' font-weight='700' fill='%232f2e2e'%3ERead%3C/text%3E%3Ctext x='22' y='118' font-family='Dancing Script,cursive' font-size='24' font-weight='700' fill='%232f2e2e'%3Emore%3C/text%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: clamp(80px, 50%, 130px);
}

.natella-article__sidebar-post:hover::before,
.natella-article__sidebar-post:hover::after {
	opacity: 1;
}

.natella-article__sidebar-post-title {
	font-family: var(--natella-font-heading);
	font-size: clamp(0.7rem, 0.9vw, 0.8rem);
	letter-spacing: 0.03em;
	line-height: 1.4;
	padding: 0.4rem 0 0;
	color: var(--natella-color-text);
}

/* Bottom collection banner */
.natella-article__bottom-banner {
	display: block;
	position: relative;
	margin-block-start: clamp(2rem, 4vw, 3rem);
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	aspect-ratio: 4 / 1;
	min-height: 160px;
}

@media (max-width: 46.8125em) {
	.natella-article__bottom-banner {
		aspect-ratio: 2 / 1;
	}
}

.natella-article__bottom-banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.natella-article__bottom-banner:hover .natella-article__bottom-banner-img {
	transform: scale(1.03);
}

.natella-article__bottom-banner-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	background: rgb(0 0 0 / 40%);
	transition: background 0.3s;
}

.natella-article__bottom-banner:hover .natella-article__bottom-banner-overlay {
	background: rgb(0 0 0 / 50%);
}

.natella-article__bottom-banner-label {
	font-family: var(--natella-font-heading);
	font-size: clamp(1.1rem, 2.5vw, 1.75rem);
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.natella-article__bottom-banner-cta {
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-bottom: 1px solid #fff;
	padding-block-end: 2px;
}

.natella-post-links {
	margin-top: 2.5rem;
	padding: 1.25rem 1.5rem;
	background: var(--natella-color-surface, #f7f3ec);
	border: 1px solid var(--natella-color-border, #e6dfd3);
	border-radius: 6px;
}

.natella-post-links h3 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	font-weight: 500;
	font-family: var(--natella-font-heading);
	color: var(--natella-color-text);
}

.natella-post-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.natella-post-links li {
	margin: 0;
	padding-inline-start: 1rem;
	position: relative;
	line-height: 1.55;
}

.natella-post-links li::before {
	content: "←";
	position: absolute;
	inset-inline-start: 0;
	color: var(--natella-color-button-bg, #c39d71);
}

.natella-post-links a {
	color: var(--natella-color-text);
	text-decoration: underline;
	text-decoration-color: rgba(195, 157, 113, 0.55);
	text-underline-offset: 0.18em;
}

.natella-post-links a:hover,
.natella-post-links a:focus-visible {
	text-decoration-color: var(--natella-color-button-bg, #c39d71);
}
