:root {
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: var(--font-body, inherit);
	font-size: var(--body-font-size, 16px);
	line-height: 1.6;
	background: var(--background-color, #ffffff);
	color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading-color, var(--accent-color));
	font-family: var(--font-heading, var(--font-body, inherit));
}

a {
	color: var(--link-color, inherit);
	text-decoration: none;
	transition: color 0.2s ease;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	padding: 0.75rem 1rem;
	background: #000;
	color: #fff;
	z-index: 1000;
	border-radius: 0.5rem;
}

a:hover,
a:focus-visible {
	color: var(--accent-color);
}

img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}

figure {
	margin: 0;
}

button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.85rem 1.75rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	border: none;
	cursor: pointer;
}

.button--primary {
	background: var(--button-bg, var(--accent-color));
	color: var(--button-text, #fff);
	box-shadow: 0 20px 40px -25px rgba(17, 17, 17, 0.7);
}

.button--primary:hover,
.button--primary:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 18px 40px -20px rgba(17, 17, 17, 0.6);
}

.container {
	width: min(100% - 2.5rem, var(--container));
	margin: 0 auto;
}

.top-bar {
	background: var(--accent-color);
	color: #fff;
	font-size: 0.85rem;
}

.top-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 2.75rem;
	padding-block: 0.35rem;
	flex-wrap: nowrap;
	text-align: center;
}

.top-bar__inner > * {
	flex: 0 0 auto;
	justify-content: center;
}

.top-bar__message {
	margin: 0;
	color: inherit;
	font-weight: 700;
	flex: 0 1 360px;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

.top-bar__nav {
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
	justify-content: center;
}

.top-bar__nav::-webkit-scrollbar {
	display: none;
}

.top-bar__menu,
#top-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
	min-width: fit-content;
	justify-content: center;
}

.top-bar__menu li,
#top-menu > li {
	list-style: none;
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.top-bar__menu a,
#top-menu > li > a {
	color: inherit;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	text-decoration: none;
	border-radius: 999px;
	transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.top-bar__menu a:hover,
.top-bar__menu a:focus-visible,
#top-menu > li > a:hover,
#top-menu > li > a:focus-visible {
	background: var(--top-menu-hover-bg, rgba(31, 20, 12, 0.08));
	color: var(--top-menu-hover-text, currentColor);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
	opacity: 1;
}

.site-social {
	display: flex;
	align-items: center;
	gap: calc(var(--social-icon-size, 36px) * 0.35);
	--social-link-bg: var(--social-custom-bg, rgba(17,17,17,0.08));
	--social-link-color: var(--social-custom-color, var(--accent-color));
	--social-link-border: rgba(17,17,17,0.12);
}

.site-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--social-icon-size, 36px);
	width: var(--social-icon-size, 36px);
	height: var(--social-icon-size, 36px);
	border-radius: calc(var(--social-icon-size, 36px) / 2);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
	padding: 0;
	background: var(--social-link-bg);
	color: var(--social-link-color);
	border: 1px solid var(--social-link-border);
}

.site-social__link--text {
	min-width: calc(var(--social-icon-size, 36px) * 0.9);
	width: auto;
	height: auto;
	min-height: var(--social-icon-size, 36px);
	padding: 0.35rem 0.75rem;
	border-radius: calc(var(--social-icon-size, 36px) / 1.6);
}

.site-social__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--social-icon-size, 36px) - 12px);
	height: calc(var(--social-icon-size, 36px) - 12px);
}

.site-social__icon svg {
	width: 100%;
	height: 100%;
	display: block;
	fill: currentColor;
}

.site-social__initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--social-icon-size, 36px) - 12px);
	height: calc(var(--social-icon-size, 36px) - 12px);
	font-size: calc(var(--social-icon-size, 36px) * 0.45);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
}

.site-social__icon--image {
	width: calc(var(--social-icon-size, 36px) - 10px);
	height: calc(var(--social-icon-size, 36px) - 10px);
}

.site-social__icon--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-social__link:hover,
.site-social__link:focus-visible {
	opacity: 0.9;
}

.site-social--custom-override {
	--social-link-bg: var(--social-custom-bg, rgba(17,17,17,0.08));
	--social-link-color: var(--social-custom-color, var(--accent-color));
	--social-link-border: rgba(17,17,17,0.15);
}

.top-bar__social {
	margin-left: auto;
	gap: 0.5rem;
	--social-link-border: rgba(255, 255, 255, 0.3);
}

.top-bar__social:not(.site-social--custom-override) {
	--social-link-bg: rgba(255, 255, 255, 0.2);
	--social-link-color: #fff;
}

.top-bar__social .site-social__link {
	background: var(--social-link-bg);
	color: var(--social-link-color);
	border-color: var(--social-link-border);
}

.top-bar__social .site-social__link:hover,
.top-bar__social .site-social__link:focus-visible {
	background: var(--social-link-bg, rgba(255, 255, 255, 0.28));
	border-color: rgba(255, 255, 255, 0.4);
	opacity: 1;
}

.header-social {
	margin-left: auto;
	gap: 0.65rem;
	--social-link-border: rgba(17, 17, 17, 0.12);
}

.header-social:not(.site-social--custom-override) {
	--social-link-bg: rgba(17, 17, 17, 0.06);
	--social-link-color: var(--accent-color);
}

.site-footer__social {
	margin-top: 2rem;
	gap: 0.85rem;
	--social-link-border: rgba(17, 17, 17, 0.12);
}

.site-footer__social:not(.site-social--custom-override) {
	--social-link-bg: rgba(17, 17, 17, 0.08);
	--social-link-color: var(--accent-color);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: var(--header-bg-color, #ffffff);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--header-height, 72px);
	padding-block: clamp(0.65rem, 1.2vw, 1.15rem);
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--accent-color);
}

.site-branding img {
	height: auto;
	max-width: var(--logo-max-width, 220px);
	max-height: min(var(--logo-max-height, 140px), calc(var(--header-height, 72px) + 20px));
	width: auto;
	object-fit: contain;
}

.site-nav--desktop {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	font-family: var(--menu-font-family, var(--font-body));
}

.site-nav__list {
	list-style: none;
	display: flex;
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	align-items: center;
}

.site-nav__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: calc(var(--menu-font-size, 16px) * 0.95);
	font-weight: var(--menu-font-weight, 600);
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	color: var(--text-color);
	transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
	background: rgba(0, 0, 0, 0.07);
	color: var(--accent-color);
}

.site-nav__list .menu-item-has-children {
	position: relative;
}

.site-nav__list .menu-item-has-children > a::after {
	content: '';
	border: 4px solid transparent;
	border-top-color: currentColor;
	margin-left: 0.35rem;
	transform: translateY(20%);
}

.site-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #fff;
	box-shadow: 0 20px 45px -25px rgba(0, 0, 0, 0.35);
	border-radius: calc(var(--radius) / 2);
	padding: 0.75rem 0;
	list-style: none;
	margin: 0;
	z-index: 60;
}

.site-nav__list li:focus-within > .sub-menu,
.site-nav__list li:hover > .sub-menu {
	display: block;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-left: auto;
}

.header-search {
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: transparent;
	padding: 0.4rem 0.6rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1rem;
}

.header-burger {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	font-weight: 600;
	font-size: 0.95rem;
	background: #fff;
	cursor: pointer;
}

.header-burger__icon {
	display: inline-flex;
	flex-direction: column;
	gap: 0.25rem;
}

.header-burger__icon span {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
}

@media (max-width: 960px) {
	.site-header__bar {
		gap: 1rem;
		justify-content: space-between;
	}
	.site-branding {
		margin-right: auto;
	}
	.site-header__actions {
		margin-left: 0;
	}
	.site-nav--desktop {
		display: none;
	}
	.top-bar__inner {
		gap: 0.5rem;
	}
	.top-bar__message {
		flex-basis: 50%;
		font-size: 0.82rem;
	}
	.top-bar__nav {
		justify-content: flex-start;
	}
	.top-bar__menu,
	#top-menu {
		gap: 0.75rem;
	}
}

@media (min-width: 961px) {
	.header-burger {
		display: none;
	}
}

@media (max-width: 600px) {
	.header-search {
		padding: 0.3rem 0.5rem;
	}
	.header-burger__label {
		display: none;
	}
}

.site-nav__list .sub-menu a {
	padding: 0.5rem 1rem;
	width: 100%;
	border-radius: calc(var(--radius) / 2);
	transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__list .sub-menu a:hover,
.site-nav__list .sub-menu a:focus-visible {
	background: var(--primary-menu-hover-bg, rgba(17, 17, 17, 0.08));
	color: var(--primary-menu-hover-text, var(--accent-color));
}

.menu-toggle,
.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.15rem;
	height: 3.15rem;
	border-radius: 999px;
	border: 1.5px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	color: var(--accent-color);
	transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:focus-visible,
.search-toggle:focus-visible {
	outline: 2px solid var(--accent-color);
	outline-offset: 2px;
}

.menu-toggle__label {
	display: none;
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--text-color);
	letter-spacing: 0.04em;
}

.menu-toggle__icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 2px solid rgba(17, 17, 17, 0.12);
	background: #fff;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.menu-toggle__icon span {
	display: block;
	width: 55%;
	height: 2px;
	margin: 3px 0;
	border-radius: 999px;
	background: currentColor;
}

.menu-toggle--primary:hover .menu-toggle__icon,
.menu-toggle--primary:focus-visible .menu-toggle__icon {
	border-color: var(--accent-color);
	transform: scale(1.05);
}


.search-panel {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 120;
}

.search-panel.is-open {
	display: flex;
}

.search-panel__dialog {
	background: #fff;
	padding: 2rem;
	border-radius: var(--radius);
	width: min(100% - 2rem, 600px);
	box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.35);
	position: relative;
}

.search-panel__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
}

.search-panel input[type="search"] {
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 1.1rem;
	border-radius: calc(var(--radius) / 2);
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.mobile-drawer {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 1200;
}

.mobile-drawer.is-open {
	display: block;
}

.mobile-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.mobile-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(360px, 85vw);
	background: #fff8f2;
	padding: 2rem 1.75rem;
	overflow-y: auto;
	box-shadow: -12px 0 40px rgba(15, 11, 6, 0.2);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer__panel {
	transform: translateX(0);
}

.mobile-drawer__panel-header {
	display: flex;
	justify-content: flex-end;
}

.mobile-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-family: var(--menu-font-family, var(--font-body));
}

.mobile-drawer__list > li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-drawer__list a {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.35rem;
	font-size: calc(var(--menu-font-size, 16px) * 0.95);
	font-weight: var(--menu-font-weight, 600);
	font-family: inherit;
	width: 100%;
}

.mobile-drawer__list .sub-menu {
	list-style: none;
	margin: 0.4rem 0 0 0.9rem;
	padding: 0 0 0 0.5rem;
	border-left: 1px solid rgba(31, 20, 12, 0.15);
	display: none;
}

.mobile-drawer__list .sub-menu > li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0;
}

.mobile-drawer__list .sub-menu > li > a {
	font-size: calc(var(--menu-font-size, 16px) * 0.9);
}

.mobile-drawer__list .menu-item--expanded > .sub-menu {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.submenu-toggle {
	margin-left: auto;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--accent-color);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.submenu-toggle__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	transform-origin: center;
	transition: transform 0.2s ease;
}

.submenu-toggle__chevron::before {
	content: '\203A';
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
}


.submenu-toggle:hover,
.submenu-toggle:focus-visible {
	background: rgba(0, 0, 0, 0.05);
	border-color: rgba(0, 0, 0, 0.25);
}

.submenu-toggle[aria-expanded="true"] .submenu-toggle__chevron {
	transform: rotate(90deg);
}

.mobile-drawer__social {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	--social-link-border: rgba(17, 17, 17, 0.12);
}

.mobile-drawer__social:not(.site-social--custom-override) {
	--social-link-bg: rgba(17, 17, 17, 0.08);
	--social-link-color: var(--accent-color);
}
.site-content {
	flex: 1 0 auto;
	padding-block: 3rem;
}

.homepage-section {
	display: grid;
	gap: 1.75rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.homepage-section__header {
	display: grid;
	gap: 0.4rem;
}

.homepage-section__title {
	margin: 0;
	font-size: clamp(1.6rem, 4vw, 2.1rem);
	color: var(--accent-color);
}

.homepage-section__description {
	margin: 0;
	color: var(--muted);
	max-width: 520px;
}

.posts-grid,
.posts-grid--compact {
	display: grid;
	gap: 1.35rem;
	align-items: stretch;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.posts-grid,
	.posts-grid--compact {
		grid-template-columns: repeat(var(--grid-tablet-columns, 2), minmax(0, 1fr));
	}
	.posts-grid[data-grid="popular"],
	.posts-grid[data-grid="recent"] {
		grid-template-columns: repeat(var(--home-popular-tablet-columns, 2), minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.posts-grid,
	.posts-grid--compact {
		grid-template-columns: repeat(var(--grid-desktop-columns, 3), minmax(0, 1fr));
	}
	.posts-grid[data-grid="popular"] {
		grid-template-columns: repeat(var(--home-popular-columns, 3), minmax(0, 1fr));
	}
	.posts-grid[data-grid="recent"] {
		grid-template-columns: repeat(var(--home-recent-columns, 3), minmax(0, 1fr));
	}
}
.post-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1rem;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.4);
	border: 1.5px solid color-mix(in srgb, var(--accent-color) 15%, transparent);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover,
.post-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.45);
}

.post-card figure {
	width: 100%;
	overflow: hidden;
	border-radius: calc(var(--radius) - 4px);
	background: rgba(0, 0, 0, 0.05);
}

.post-card__thumb {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	display: block;
}

.post-card__thumb--placeholder {
	display: block;
	background: linear-gradient(135deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.02));
	border-radius: inherit;
	width: 100%;
}

.post-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0;
}

.post-card__excerpt {
	color: var(--muted);
	margin: 0;
}

.post-card__meta {
	display: flex;
	gap: 0.75rem;
	font-size: 0.87rem;
	color: var(--muted);
	align-items: center;
	flex-wrap: wrap;
}

.post-card__footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.post-card__read {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--accent-color);
	font-weight: 600;
}

.entry-header {
	margin-bottom: 1.5rem;
}

.entry-title {
	font-size: clamp(2rem, 5vw, 2.75rem);
	margin: 0 0 0.75rem;
}

.entry-meta {
	display: flex;
	gap: 0.75rem;
	font-size: 0.95rem;
	color: var(--muted);
	flex-wrap: wrap;
}

.entry-media {
	margin-bottom: 2rem;
}

.entry-media img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

.entry-content {
	display: grid;
	gap: 1.5rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-footer {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.share-links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	font-size: 0.95rem;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
}

.author-box {
	margin-top: 3rem;
	padding: 1.5rem;
	background: rgba(0, 0, 0, 0.03);
	border-radius: var(--radius);
	display: flex;
	gap: 1rem;
	align-items: center;
}

.author-box img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.sidebar {
	display: grid;
	gap: 1.5rem;
}

.sidebar .widget {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: 0 22px 60px -50px rgba(0, 0, 0, 0.4);
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 0.75rem 1rem;
	border-radius: calc(var(--radius) / 2);
	border: 1px solid rgba(0, 0, 0, 0.12);
	font-size: 16px;
}

.search-form button {
	padding: 0.75rem 1.25rem;
	border-radius: calc(var(--radius) / 2);
	background: var(--accent-color);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}


.site-footer {
	background: #f7f7f7;
	margin-top: auto;
	padding: 3rem 0 1.5rem;
}

.site-footer--empty {
	display: none;
}

.site-footer__widgets {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.site-footer__widgets {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.site-footer__widgets h2 {
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
}

.site-footer__widgets ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
	color: var(--muted);
}

.site-footer__bottom {
	text-align: center;
	padding-top: 2rem;
	font-size: 0.85rem;
	color: var(--muted);
}

.footer-menu {
	list-style: none;
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
}

.breadcrumbs {
	font-size: 0.85rem;
	margin-bottom: 1.25rem;
	color: var(--muted);
}

.breadcrumbs ol {
	list-style: none;
	display: flex;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.breadcrumbs li::after {
	content: '/';
	margin-left: 0.5rem;
	color: rgba(0, 0, 0, 0.2);
}

.breadcrumbs li:last-child::after {
	display: none;
}

.pagination {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0.25rem;
	padding: 0.5rem 0.85rem;
	border-radius: calc(var(--radius) / 2);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.pagination .page-numbers.current {
	background: var(--accent-color);
	color: #fff;
	border-color: var(--accent-color);
}

.comments-area {
	margin-top: 3rem;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
}

.comment {
	background: rgba(0, 0, 0, 0.03);
	border-radius: var(--radius);
	padding: 1.25rem;
}

.comment-meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.85rem;
	color: var(--muted);
}

.comment-author {
	font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: calc(var(--radius) / 2);
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.comment-form input[type="submit"] {
	background: var(--accent-color);
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: calc(var(--radius) / 2);
	border: none;
}

.focus-outline,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--accent-color);
	outline-offset: 2px;
}

body.nav-open,
body.search-open {
	overflow: hidden;
}

.layout {
	display: grid;
	gap: 2.5rem;
}

.content-area {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 960px) {
	.layout--with-sidebar {
		grid-template-columns: minmax(0, 3fr) minmax(0, 1.1fr);
	}

	.single .layout--with-sidebar {
		grid-template-columns: minmax(0, var(--single-main-percent, 68%)) minmax(0, var(--single-sidebar-percent, 32%));
	}
}

mark {
	background: rgba(17, 17, 17, 0.15);
	padding: 0.1em 0.25em;
	border-radius: 4px;
}

.search-hero {
	margin-bottom: clamp(4rem, 6vw, 5.75rem);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border-radius: var(--radius);
	position: relative;
	display: grid;
	gap: clamp(1rem, 2vw, 1.75rem);
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	align-items: center;
	background: #f5f5f5;
	color: #333;
	box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.search-hero__content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0.35rem;
}

.search-hero__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	margin: 0;
	color: #333;
}

.search-hero__description {
	margin: 0;
	color: #666;
	max-width: 48ch;
	font-size: 1rem;
}

.search-hero__form {
	position: relative;
	z-index: 1;
	width: 100%;
}

.search-hero .search-form {
	background: transparent;
	border-radius: 0;
	padding: 0;
	border: none;
	align-items: center;
	display: flex;
	gap: 0.5rem;
	box-shadow: none;
}
.search-hero .search-form input[type="search"] {
	border: 1px solid #ccc;
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	box-shadow: none;
	font-size: 16px;
	flex: 1 1 auto;
	min-width: 0;
}
.search-hero .search-form button {
	padding: 1rem 1.5rem;
	border-radius: var(--radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	flex: 0 0 auto;
}

.hero-gallery {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	position: relative;
}
.hero-gallery__viewport {
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
	padding: 0;
}

.hero-gallery__viewport::-webkit-scrollbar {
	display: none;
}

.hero-gallery__track {
	display: flex;
	gap: var(--hero-gap, 1.25rem);
	flex-wrap: nowrap;
	width: 100%;
}

.hero-card {
	flex: 0 0 calc((100% - (var(--hero-gap, 1.25rem) * 2)) / 3);
	max-width: calc((100% - (var(--hero-gap, 1.25rem) * 2)) / 3);
	background: #fff;
	border-radius: 24px;
	border: 2px solid color-mix(in srgb, var(--accent-color) 35%, #ffffff);
	box-shadow: 0 30px 90px -65px rgba(0, 0, 0, 0.55);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	scroll-snap-align: start;
}

@media (max-width: 1024px) {
	.hero-card {
		flex: 0 0 calc((100% - var(--hero-gap, 1.25rem)) / 2);
		max-width: calc((100% - var(--hero-gap, 1.25rem)) / 2);
	}
}

@media (max-width: 640px) {
	.hero-card {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.hero-card.is-active {
	transform: translateY(0);
	box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.35);
}

.hero-card__image {
	display: block;
	border-radius: 24px 24px 0 0;
	overflow: hidden;
}

.hero-card__image img,
.hero-card__placeholder {
	width: 100%;
	height: auto;
	display: block;
	border-radius: inherit;
}

.hero-card__placeholder {
	background: rgba(17, 17, 17, 0.08);
	min-height: 200px;
}

.hero-card__body {
	padding: 1.25rem;
	display: grid;
	gap: 0.45rem;
	text-align: center;
}

.hero-card__meta {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent-color);
	font-weight: 600;
}

.hero-card__title {
	margin: 0;
	font-size: 1.2rem;
	text-align: center;
}

.hero-card__title a {
	color: inherit;
}

.hero-card__excerpt {
	margin: 0;
	font-size: 0.95rem;
	color: rgba(17, 17, 17, 0.8);
}

.hero-card__date {
	font-size: 0.85rem;
	color: rgba(17, 17, 17, 0.65);
}

.hero-gallery__nav {
	position: absolute;
	top: 50%;
	left: clamp(1rem, 2vw, 2rem);
	right: clamp(1rem, 2vw, 2rem);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.hero-gallery__btn {
	width: 44px;
	height: 44px;
	border-radius: 0;
	border: none;
	background: #fff;
	box-shadow: 0 10px 25px -15px rgba(0, 0, 0, 0.5);
	pointer-events: auto;
}

.hero-gallery__dots {
	margin-top: 1.25rem;
	display: flex;
	gap: 0.4rem;
	justify-content: center;
}

.hero-gallery__dot {
	width: 12px;
	height: 12px;
	border-radius: 0;
	border: none;
	background: rgba(17, 17, 17, 0.25);
}

.hero-gallery__dot.is-active {
	background: var(--accent-color);
}



.author-highlight {
	margin-bottom: clamp(1rem, 2.5vw, 2rem);
	padding: var(--author-highlight-padding, 28px);
	border-radius: calc(var(--radius) * 1.6);
	text-align: center;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.03) 0%, rgba(17, 17, 17, 0) 100%);
	border: 1.5px solid var(--accent-color);
	border-color: color-mix(in srgb, var(--accent-color) 18%, transparent);
	box-shadow: 0 25px 60px -45px rgba(0, 0, 0, 0.4);
	display: grid;
	gap: 1rem;
	justify-items: center;
}

.author-highlight__avatar {
	width: var(--author-avatar-size, 128px);
	height: var(--author-avatar-size, 128px);
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 20px 30px -35px rgba(0, 0, 0, 0.9);
	border: 4px solid #fff;
}

.author-highlight__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.author-highlight__name {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0;
	font-weight: 700;
	color: var(--accent-color);
}

.author-highlight__bio {
	max-width: 720px;
	font-size: 1.05rem;
	color: var(--text-color);
}

.author-highlight__bio p {
	margin-bottom: 0.5rem;
}

/* Pin It button CSS */
.pin-it-container {
	position: relative;
	display: inline-block;
}
.pin-it-button {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	border-radius: 4px;
	text-decoration: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.pin-it-container:hover .pin-it-button {
	opacity: 1;
}

.author-highlight__actions {
	margin-top: 0.5rem;
}

.single-author {
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: calc(var(--radius) * 1.2);
	background: var(--single-author-bg, #fff);
	color: var(--single-author-text, #2b1b11);
	border: 1px solid rgba(17, 17, 17, 0.08);
	box-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.35);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
}

.single-author__avatar img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 20px 45px -35px rgba(0, 0, 0, 0.4);
}

.single-author__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.85rem;
	color: color-mix(in srgb, var(--single-author-text, #2b1b11) 70%, #777);
}

.single-author__name {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--single-author-text, #2b1b11);
}

.single-author__bio {
	margin: 0.35rem 0 0;
	color: color-mix(in srgb, var(--single-author-text, #2b1b11) 75%, #666);
}

.single-author__actions {
	margin-top: 1rem;
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
}

.single-author__actions .button {
	background: var(--single-author-button-bg, var(--button-bg, #111111));
	color: var(--single-author-button-text, var(--button-text, #ffffff));
	border: none;
}

.single-author__website {
	font-weight: 600;
	color: var(--single-author-text, #2b1b11);
	text-decoration: underline;
}

@media (max-width: 600px) {
	.single-author {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.single-author__avatar img {
		margin: 0 auto;
	}

	.single-author__actions {
		justify-content: center;
	}
}

.related-posts {
	margin: clamp(2rem, 4vw, 3rem) 0;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: calc(var(--radius) * 1.1);
	background: rgba(17, 17, 17, 0.02);
	border: 1px solid rgba(17, 17, 17, 0.05);
}

.related-posts__title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	margin: 0 0 1.25rem;
}

.related-posts__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.related-card {
	display: grid;
	gap: 0.65rem;
	background: #fff;
	border-radius: calc(var(--radius) * 0.9);
	padding: 0.75rem;
	border: 1.5px solid color-mix(in srgb, var(--accent-color) 12%, transparent);
	box-shadow: 0 18px 45px -30px rgba(0, 0, 0, 0.25);
}

.related-card__thumb {
	display: block;
	border-radius: calc(var(--radius) * 0.9);
	overflow: hidden;
	position: relative;
}

.related-card__thumb img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.related-card__thumb--placeholder {
	display: block;
	width: 100%;
	min-height: calc(var(--related-thumb-max-height, 240px) * 0.65);
	background: rgba(17, 17, 17, 0.08);
	border-radius: inherit;
}

.related-card__title {
	margin: 0;
	font-size: 1rem;
}

.related-card__title a {
	color: inherit;
}

.post-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin: clamp(2rem, 4vw, 3rem) 0;
}

.post-nav__link {
	flex: 1 1 280px;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1rem 1.25rem;
	border-radius: calc(var(--radius) * 0.9);
	border: 1px solid rgba(17, 17, 17, 0.08);
	background: var(--post-nav-bg, #fff);
	box-shadow: 0 20px 35px -30px rgba(17, 17, 17, 0.4);
	text-decoration: none;
	color: var(--post-nav-text, inherit);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-nav__link--next {
	text-align: right;
	justify-content: flex-end;
}

.post-nav__link:hover,
.post-nav__link:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(17, 17, 17, 0.2);
	box-shadow: 0 25px 40px -32px rgba(17, 17, 17, 0.5);
}

.post-nav__arrow {
	font-size: 1.4rem;
	color: var(--post-nav-arrow, var(--accent-color));
}

.post-nav__label {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	font-weight: 600;
}

.post-nav__eyebrow {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent-color);
}


@media (max-width: 640px) {
	.top-bar__message {
		flex-basis: 55%;
		font-size: 0.78rem;
	}
	.top-bar__nav {
		padding-bottom: 0.15rem;
	}
	.top-bar__menu a,
	#top-menu > li > a {
		font-size: 0.78rem;
	}
}

@media (max-width: 640px) {
	.search-hero {
		padding: 1.25rem;
	}
	.search-hero .search-form {
		flex-direction: row;
		gap: 0.4rem;
		padding: 0.35rem;
		align-items: stretch;
	}
	.search-hero .search-form input[type="search"] {
		width: 100%;
		font-size: 1rem;
		padding: 0.9rem 1rem;
	}
	.search-hero .search-form button {
		padding: 0.9rem 1.2rem;
		flex: 0 0 auto;
	}
	.author-highlight {
		padding: 1.5rem 1rem;
		gap: 0.75rem;
	}


