body.mezcal-editorial-template {
	background:
		radial-gradient(circle at top left, rgba(193, 119, 83, 0.06), transparent 30%),
		linear-gradient(180deg, #f9f8f4 0%, #ffffff 100%);
	color: #2a2a2a;
}

body.mezcal-editorial-template .site-header {
	background: rgba(249, 248, 246, 0.95);
	border-bottom: 1px solid rgba(26, 26, 26, 0.06);
	box-shadow: 0 10px 30px rgba(28, 27, 25, 0.06);
}

body.mezcal-editorial-template .site-header .site-title a,
body.mezcal-editorial-template .site-header .site-description,
body.mezcal-editorial-template .main-navigation ul li a,
body.mezcal-editorial-template .site-header-cart .cart-contents,
body.mezcal-editorial-template .widget_product_search form:before {
	color: #2f2f2f;
}

body.mezcal-editorial-template .site-header .site-description {
	color: #5f695e;
}

body.mezcal-editorial-template .site-content > .col-full,
body.mezcal-editorial-template #primary,
body.mezcal-editorial-template #main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.mezcal-editorial-template .site-main {
	margin-bottom: 0;
}

body.mezcal-editorial-template .site-footer {
	background: #1a1a1a;
	color: rgba(255, 255, 255, 0.82);
}

body.mezcal-editorial-template .site-footer a:not(.button),
body.mezcal-editorial-template .site-footer h1,
body.mezcal-editorial-template .site-footer h2,
body.mezcal-editorial-template .site-footer h3,
body.mezcal-editorial-template .site-footer h4 {
	color: #ffffff;
}

.mezcal-editorial-shell {
	width: min(1160px, calc(100% - 32px));
	margin: 0 auto;
}

.mezcal-editorial-main {
	padding-bottom: 96px;
}

.mezcal-editorial-header {
	position: relative;
	padding: 92px 0 80px;
	background:
		linear-gradient(180deg, rgba(16, 16, 16, 0.74) 0%, rgba(16, 16, 16, 0.32) 100%),
		var(--mezcal-editorial-hero) center / cover no-repeat;
	color: #ffffff;
}

.mezcal-editorial-header__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 15%, rgba(193, 119, 83, 0.18), transparent 30%);
}

.mezcal-editorial-header__inner {
	position: relative;
	z-index: 1;
	max-width: 780px;
	padding: 34px 38px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 32px;
	background: rgba(17, 17, 17, 0.34);
	backdrop-filter: blur(10px);
}

.mezcal-editorial-header__eyebrow {
	margin: 0 0 12px;
	color: #efb28f;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.mezcal-editorial-header__title {
	margin: 0 0 18px;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(2rem, 4vw, 3.3rem);
	font-weight: 500;
	line-height: 1.24;
	color: #ffffff;
}

.mezcal-editorial-header__text {
	margin: 0;
	max-width: 42rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	line-height: 1.9;
}

.mezcal-editorial-shell--index {
	padding-top: 44px;
}

.mezcal-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.mezcal-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 18px 48px rgba(36, 31, 27, 0.06);
}

.mezcal-post-card__image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.mezcal-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.mezcal-post-card:hover .mezcal-post-card__image img {
	transform: scale(1.04);
}

.mezcal-post-card__body {
	display: grid;
	gap: 14px;
	padding: 24px 24px 28px;
}

.mezcal-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	color: #6b6b6b;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.mezcal-post-card__category {
	display: inline-flex;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(193, 119, 83, 0.1);
	color: #a55e3b;
}

.mezcal-post-card__title {
	margin: 0;
	font-family: "Noto Serif JP", serif;
	font-size: 1.32rem;
	font-weight: 500;
	line-height: 1.55;
}

.mezcal-post-card__title a {
	color: #1f1f1f;
}

.mezcal-post-card__title a:hover,
.mezcal-post-card__link:hover {
	color: #c17753;
}

.mezcal-post-card__excerpt {
	margin: 0;
	color: #555555;
	line-height: 1.9;
}

.mezcal-post-card__link,
.mezcal-article-side__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #4a5d4e;
	font-size: 0.92rem;
	font-weight: 700;
}

.mezcal-article {
	padding-top: 52px;
}

.mezcal-article-hero {
	padding-bottom: 40px;
}

.mezcal-article-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
	gap: 34px;
	align-items: center;
}

.mezcal-article-hero__copy {
	display: grid;
	gap: 18px;
}

.mezcal-article-hero__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mezcal-article-hero__cats a {
	display: inline-flex;
	padding: 8px 13px;
	border-radius: 999px;
	background: rgba(193, 119, 83, 0.1);
	color: #a45e3c;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.mezcal-article-hero__title {
	margin: 0;
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 500;
	line-height: 1.28;
}

.mezcal-article-hero__excerpt {
	margin: 0;
	color: #555555;
	font-size: 1rem;
	line-height: 1.95;
}

.mezcal-article-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	color: #666666;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.mezcal-article-hero__media-frame {
	overflow: hidden;
	border-radius: 34px;
	background:
		linear-gradient(180deg, #ffffff 0%, #f4eee7 100%);
	box-shadow: 0 28px 70px rgba(32, 28, 23, 0.12);
}

.mezcal-article-hero__media img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.mezcal-article-layout {
	display: block;
	clear: both;
}

.hentry.type-post .mezcal-article-body.entry-content,
.mezcal-article-body {
	width: 100% !important;
	max-width: 100%;
	float: none !important;
	clear: both;
	margin: 0;
	padding: 36px 40px;
	box-sizing: border-box;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 18px 48px rgba(36, 31, 27, 0.05);
}

.mezcal-article-body > *:first-child {
	margin-top: 0;
}

.mezcal-article-body > *:last-child {
	margin-bottom: 0;
}

.mezcal-article-body p,
.mezcal-article-body li {
	color: #464646;
	font-size: 1rem;
	line-height: 2;
}

.mezcal-article-body h2,
.mezcal-article-body h3,
.mezcal-article-body h4 {
	margin-top: 2.4em;
	margin-bottom: 0.8em;
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
	line-height: 1.4;
}

.mezcal-article-body h2 {
	font-size: 1.9rem;
}

.mezcal-article-body h3 {
	font-size: 1.45rem;
}

.mezcal-article-body ul,
.mezcal-article-body ol {
	margin-left: 1.5rem;
}

.mezcal-article-body blockquote {
	margin: 2em 0;
	padding: 20px 24px;
	border-left: 3px solid #c17753;
	border-radius: 0 20px 20px 0;
	background: rgba(193, 119, 83, 0.07);
}

.mezcal-article-body a {
	color: #a45e3b;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.mezcal-article-links {
	clear: both;
	padding: 34px 0 8px;
}

.mezcal-article-links__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.mezcal-article-neighbors {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.mezcal-article-link-card,
.mezcal-article-neighbor {
	display: grid;
	gap: 10px;
	height: 100%;
	padding: 24px 24px 26px;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 243, 238, 0.92) 100%);
	box-shadow: 0 18px 44px rgba(36, 31, 27, 0.06);
	transition:
		transform 0.28s ease,
		box-shadow 0.28s ease,
		border-color 0.28s ease;
}

.mezcal-article-link-card:hover,
.mezcal-article-neighbor:hover {
	transform: translateY(-4px);
	border-color: rgba(193, 119, 83, 0.28);
	box-shadow: 0 24px 54px rgba(36, 31, 27, 0.1);
}

.mezcal-article-link-card__eyebrow,
.mezcal-article-neighbor__label {
	color: #a55e3b;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.mezcal-article-link-card__title,
.mezcal-article-neighbor__title {
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-size: 1.18rem;
	font-weight: 500;
	line-height: 1.55;
}

.mezcal-article-link-card__text {
	color: #555555;
	font-size: 0.95rem;
	line-height: 1.8;
}

.mezcal-article-section--neighbors {
	padding-top: 22px;
}

.mezcal-article-section {
	clear: both;
	padding-top: 36px;
}

.mezcal-article-neighbor:only-child {
	grid-column: 1 / -1;
}

.mezcal-article-products {
	padding-top: 52px;
}

.mezcal-article-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.mezcal-article-product-card {
	overflow: hidden;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 48px rgba(36, 31, 27, 0.07);
}

.mezcal-article-product-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1.12;
	padding: 22px;
	background:
		radial-gradient(circle at 50% 42%, rgba(193, 119, 83, 0.15), transparent 42%),
		linear-gradient(180deg, #fbf7f1 0%, #f1e7dc 100%);
}

.mezcal-article-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.55s ease;
}

.mezcal-article-product-card:hover .mezcal-article-product-card__image img {
	transform: scale(1.04);
}

.mezcal-article-product-card__body {
	display: grid;
	gap: 8px;
	padding: 20px 20px 22px;
}

.mezcal-article-product-card__brand {
	margin: 0;
	color: #6f6a61;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mezcal-article-product-card__title {
	margin: 0;
	font-family: "Noto Serif JP", serif;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.55;
}

.mezcal-article-product-card__title a {
	color: #1f1f1f;
}

.mezcal-article-product-card__price {
	margin: 0;
	color: #a55e3b;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
}

.mezcal-article-section__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.mezcal-article-section__title {
	margin: 0;
	color: #1f1f1f;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 500;
	line-height: 1.35;
}

.mezcal-post-grid--compact .mezcal-post-card__body {
	padding: 22px 22px 24px;
}

body.mezcal-editorial-template .pagination,
body.mezcal-editorial-template .nav-links {
	margin-top: 32px;
}

body.mezcal-editorial-template .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	margin-right: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	color: #2f2f2f;
	box-shadow: 0 10px 24px rgba(36, 31, 27, 0.05);
}

body.mezcal-editorial-template .page-numbers.current,
body.mezcal-editorial-template .page-numbers:hover {
	background: #4a5d4e;
	color: #ffffff;
}

@media (max-width: 1100px) {
	.mezcal-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mezcal-article-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mezcal-article-hero__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.mezcal-editorial-shell {
		width: min(100% - 24px, 100%);
	}

	.mezcal-editorial-header {
		padding: 74px 0 62px;
	}

	.mezcal-editorial-header__inner,
	.mezcal-article-body {
		padding: 26px 22px;
	}

	.mezcal-post-grid {
		grid-template-columns: 1fr;
	}

	.mezcal-article-section__head {
		flex-direction: column;
		align-items: start;
	}

	.mezcal-article-links__grid,
	.mezcal-article-neighbors,
	.mezcal-article-product-grid {
		grid-template-columns: 1fr;
	}

	.mezcal-article-hero__title {
		font-size: 2rem;
	}
}
