@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
	--tbd-bg: #fffaf7;
	--tbd-surface: #ffffff;
	--tbd-surface-2: #f7f1ec;
	--tbd-text: #171414;
	--tbd-muted: #655f5b;
	--tbd-line: rgba(23, 20, 20, 0.1);
	--tbd-accent: #e25d78;
	--tbd-accent-dark: #c84461;
	--tbd-ink: #111111;
	--tbd-green: #5f7f6a;
	--tbd-gold: #b98752;
	--tbd-radius: 8px;
	--tbd-shadow: 0 18px 50px rgba(45, 31, 25, 0.08);
}

.tbd-dark {
	--tbd-bg: #151313;
	--tbd-surface: #201d1d;
	--tbd-surface-2: #2a2524;
	--tbd-text: #f8f2ed;
	--tbd-muted: #d3c5bb;
	--tbd-line: rgba(255, 255, 255, 0.12);
	--tbd-ink: #ffffff;
	--tbd-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

body.tbd-redesign {
	margin: 0;
	background: var(--tbd-bg);
	color: var(--tbd-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0;
}

body.tbd-redesign * {
	box-sizing: border-box;
}

body.tbd-redesign a {
	color: inherit;
	text-decoration: none;
}

body.tbd-redesign img {
	display: block;
	max-width: 100%;
	height: auto;
}

.tbd-container {
	width: min(100% - 40px, 1500px);
	margin-inline: auto;
}

.tbd-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--tbd-bg) 94%, white);
	border-bottom: 1px solid var(--tbd-line);
	backdrop-filter: blur(18px);
}

body.admin-bar .tbd-site-header {
	top: 32px;
}

.tbd-topbar,
.tbd-mainbar,
.tbd-search-panel {
	width: min(100% - 40px, 1500px);
	margin-inline: auto;
}

.tbd-topbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 48px;
	font-size: 13px;
	border-bottom: 1px solid var(--tbd-line);
}

.tbd-topbar__meta,
.tbd-actions {
	display: flex;
	align-items: center;
	gap: 22px;
}

.tbd-mainbar {
	display: grid;
	grid-template-columns: minmax(170px, 260px) 1fr auto;
	align-items: center;
	min-height: 92px;
	gap: 24px;
}

.tbd-logo {
	display: grid;
	grid-template-columns: min-content min-content;
	column-gap: 5px;
	align-items: end;
	width: max-content;
	color: var(--tbd-ink);
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	line-height: 0.86;
	text-transform: uppercase;
}

.tbd-logo span {
	grid-column: 1 / 3;
	font-size: clamp(28px, 3vw, 42px);
}

.tbd-logo em {
	color: var(--tbd-accent);
	font-size: clamp(15px, 1.4vw, 19px);
	font-style: normal;
	letter-spacing: 0;
}

.tbd-logo strong {
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
}

.tbd-logo--footer span,
.tbd-logo--footer strong {
	font-size: 28px;
}

.tbd-logo--footer em {
	font-size: 14px;
}

.tbd-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 2.4vw, 38px);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.tbd-nav a {
	position: relative;
	padding-block: 10px;
}

.tbd-nav a::after {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	content: "";
	background: var(--tbd-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.tbd-nav a:hover::after,
.tbd-nav a:focus-visible::after {
	transform: scaleX(1);
}

.tbd-actions {
	justify-content: end;
	gap: 14px;
}

.tbd-icon-button,
.tbd-menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	color: var(--tbd-text);
	cursor: pointer;
}

.tbd-icon-button svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tbd-subscribe,
.tbd-button,
.tbd-newsletter button,
.tbd-search-panel button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--tbd-accent), #df6e86);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	box-shadow: 0 10px 22px rgba(226, 93, 120, 0.24);
	cursor: pointer;
}

.tbd-search-panel {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	max-height: 0;
	overflow: hidden;
	padding: 0;
	transition: max-height 180ms ease, padding 180ms ease;
}

.tbd-search-open .tbd-search-panel {
	max-height: 90px;
	padding-bottom: 18px;
}

.tbd-search-panel input,
.tbd-newsletter input {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--tbd-line);
	border-radius: 999px;
	background: var(--tbd-surface);
	color: var(--tbd-text);
	padding: 0 18px;
	font: inherit;
}

.tbd-menu-toggle {
	display: none;
}

.tbd-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
}

.tbd-trending {
	border-bottom: 1px solid var(--tbd-line);
	background: var(--tbd-bg);
}

.tbd-trending__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 62px;
	overflow-x: auto;
}

.tbd-trending__label {
	flex: 0 0 auto;
	padding: 12px 26px;
	border-radius: 8px;
	background: var(--tbd-accent);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	box-shadow: 0 10px 22px rgba(226, 93, 120, 0.2);
}

.tbd-trending__items {
	display: flex;
	align-items: center;
	gap: 26px;
	min-width: max-content;
	font-size: 14px;
	font-weight: 700;
}

.tbd-trending__items a:not(:last-child)::after {
	margin-left: 26px;
	color: var(--tbd-accent);
	content: "-";
}

.tbd-main {
	padding-block: 34px 64px;
}

.tbd-home-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
	gap: 22px;
	align-items: start;
}

.tbd-home-content {
	min-width: 0;
}

.tbd-featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
	gap: 22px;
	align-items: stretch;
}

.tbd-home-layout__side {
	display: grid;
	gap: 18px;
}

.tbd-hero-card,
.tbd-overlay-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--tbd-radius);
	background-image: linear-gradient(90deg, rgba(246, 226, 209, 0.88), rgba(246, 226, 209, 0.45), rgba(0, 0, 0, 0.02)), var(--tbd-card-bg, var(--tbd-surface-2));
	background-size: cover;
	background-position: center;
	min-height: 430px;
	box-shadow: var(--tbd-shadow);
}

.tbd-overlay-card {
	min-height: 206px;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.14)), var(--tbd-card-bg, var(--tbd-surface-2));
}

.tbd-hero-card > a,
.tbd-overlay-card > a {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: clamp(28px, 4vw, 58px);
}

.tbd-overlay-card > a {
	justify-content: flex-end;
	padding: 26px;
	color: #ffffff;
}

.tbd-badge {
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 5px;
	background: var(--tbd-accent);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.tbd-hero-card h1,
.tbd-overlay-card h2,
.tbd-single-hero h1,
.tbd-page-hero h1,
.tbd-archive-hero h1 {
	max-width: 720px;
	margin: 22px 0 16px;
	color: var(--tbd-ink);
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(38px, 5vw, 62px);
	line-height: 0.96;
	letter-spacing: 0;
}

.tbd-overlay-card h2 {
	max-width: 360px;
	margin: 14px 0 12px;
	color: #ffffff;
	font-size: clamp(24px, 2vw, 33px);
}

.tbd-hero-card p {
	max-width: 480px;
	margin: 0 0 26px;
	color: #221b18;
	font-size: 18px;
	line-height: 1.45;
}

.tbd-read-more {
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--tbd-accent);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 10px 22px rgba(226, 93, 120, 0.22);
}

.tbd-read-more::after {
	content: " ->";
}

.tbd-sidebar {
	display: grid;
	gap: 18px;
}

.tbd-sidebar-card {
	border: 1px solid var(--tbd-line);
	border-radius: var(--tbd-radius);
	background: var(--tbd-surface);
	padding: 26px;
	box-shadow: var(--tbd-shadow);
}

.tbd-newsletter {
	text-align: center;
}

.tbd-newsletter__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin: 0 auto 12px;
	color: var(--tbd-accent);
}

.tbd-newsletter__icon svg,
.tbd-guide-card__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tbd-newsletter h2,
.tbd-popular h2,
.tbd-section__heading h2 {
	margin: 0;
	color: var(--tbd-ink);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}

.tbd-newsletter p {
	margin: 14px 0 20px;
	color: var(--tbd-muted);
	font-size: 14px;
}

.tbd-newsletter form {
	display: grid;
	gap: 12px;
}

.tbd-form-message {
	border-radius: 8px;
	margin: 0 0 14px;
	padding: 11px 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

.tbd-form-message--success {
	background: rgba(95, 127, 106, 0.12);
	color: #36593f;
}

.tbd-form-message--error {
	background: rgba(226, 93, 120, 0.12);
	color: var(--tbd-accent-dark);
}

.tbd-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.tbd-popular ol {
	display: grid;
	gap: 18px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: popular;
}

.tbd-popular li a {
	position: relative;
	display: grid;
	grid-template-columns: 62px 1fr;
	gap: 14px;
	align-items: center;
}

.tbd-popular img {
	width: 62px;
	height: 62px;
	border-radius: 8px;
	object-fit: cover;
}

.tbd-popular__rank {
	position: absolute;
	left: -8px;
	top: 17px;
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border-radius: 999px;
	background: var(--tbd-ink);
	color: var(--tbd-bg);
	font-size: 12px;
	font-weight: 800;
}

.tbd-popular strong {
	display: block;
	font-size: 13px;
	line-height: 1.25;
}

.tbd-popular small,
.tbd-meta {
	color: var(--tbd-muted);
	font-size: 12px;
}

.tbd-section {
	margin-top: 34px;
}

.tbd-section__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 16px;
}

.tbd-guides__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.tbd-guide-card {
	display: grid;
	grid-template-columns: 62px 1fr;
	gap: 18px;
	align-items: center;
	min-height: 118px;
	border: 1px solid var(--tbd-line);
	border-radius: var(--tbd-radius);
	background: var(--tbd-surface);
	padding: 20px;
	box-shadow: 0 12px 32px rgba(45, 31, 25, 0.05);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.tbd-guide-card:hover,
.tbd-guide-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--tbd-shadow);
}

.tbd-guide-card__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	color: var(--tbd-accent);
}

.tbd-guide-card strong {
	display: block;
	color: var(--tbd-ink);
	font-size: 15px;
	line-height: 1.22;
}

.tbd-guide-card small {
	display: block;
	margin-top: 7px;
	color: var(--tbd-muted);
	font-size: 12px;
	line-height: 1.35;
}

.tbd-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.tbd-home-content .tbd-card-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tbd-content-layout--archive .tbd-card-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tbd-card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tbd-post-card {
	display: grid;
	grid-template-columns: minmax(180px, 0.88fr) minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--tbd-line);
	border-radius: var(--tbd-radius);
	background: var(--tbd-surface);
	box-shadow: var(--tbd-shadow);
}

.tbd-post-card--compact {
	grid-template-columns: 1fr;
}

.tbd-post-card__image {
	min-height: 215px;
	background: var(--tbd-surface-2);
}

.tbd-post-card--compact .tbd-post-card__image {
	min-height: 190px;
}

.tbd-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tbd-post-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px;
}

.tbd-post-card h3 {
	margin: 16px 0 12px;
	color: var(--tbd-ink);
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(21px, 1.45vw, 26px);
	line-height: 1.08;
	letter-spacing: 0;
}

.tbd-post-card p {
	margin: 0 0 22px;
	color: var(--tbd-muted);
	font-size: 15px;
	line-height: 1.45;
}

.tbd-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.tbd-meta span:not(:last-child)::after {
	margin-left: 10px;
	content: "-";
}

.tbd-single-hero,
.tbd-page-hero,
.tbd-archive-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 34px;
	padding: clamp(60px, 9vw, 120px) 0;
	background: linear-gradient(90deg, rgba(255, 246, 240, 0.95), rgba(255, 246, 240, 0.62), rgba(255, 246, 240, 0.38)), var(--tbd-bg);
	background-image: linear-gradient(90deg, rgba(255, 246, 240, 0.95), rgba(255, 246, 240, 0.62), rgba(255, 246, 240, 0.38)), var(--tbd-card-bg, var(--tbd-bg));
	background-size: cover;
	background-position: center;
}

.tbd-single-hero::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(90deg, rgba(255, 250, 247, 0.86) 0%, rgba(255, 250, 247, 0.62) 50%, rgba(255, 250, 247, 0.18) 100%);
}

.tbd-single-hero .tbd-container {
	position: relative;
	z-index: 1;
}

.tbd-single-hero p,
.tbd-page-hero p,
.tbd-archive-hero p,
.tbd-archive-description {
	max-width: 670px;
	margin: 0;
	color: #433b35;
	font-size: 19px;
	line-height: 1.55;
}

.tbd-meta--hero {
	margin-top: 24px;
	color: #4a403a;
	font-weight: 700;
}

.tbd-content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
	gap: 34px;
	align-items: start;
}

.tbd-content-layout--archive {
	align-items: start;
}

.tbd-article-shell {
	min-width: 0;
}

.tbd-featured-image {
	overflow: hidden;
	margin-bottom: 26px;
	border-radius: var(--tbd-radius);
	box-shadow: var(--tbd-shadow);
}

.tbd-featured-image img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.tbd-entry-content {
	border: 1px solid var(--tbd-line);
	border-radius: var(--tbd-radius);
	background: var(--tbd-surface);
	padding: clamp(26px, 4vw, 58px);
	box-shadow: var(--tbd-shadow);
}

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

.tbd-entry-content > *:last-child {
	margin-bottom: 0;
}

.tbd-entry-content h2,
.tbd-entry-content h3,
.tbd-entry-content h4 {
	color: var(--tbd-ink);
	font-family: "Playfair Display", Georgia, serif;
	line-height: 1.08;
	letter-spacing: 0;
}

.tbd-entry-content h2 {
	margin-top: 42px;
	font-size: clamp(30px, 3vw, 42px);
}

.tbd-entry-content h3 {
	margin-top: 32px;
	font-size: clamp(24px, 2.2vw, 32px);
}

.tbd-entry-content p,
.tbd-entry-content li {
	color: var(--tbd-text);
	font-size: 18px;
	line-height: 1.78;
}

.tbd-entry-content a {
	color: var(--tbd-accent-dark);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.tbd-entry-content blockquote {
	margin: 32px 0;
	border-left: 4px solid var(--tbd-accent);
	background: var(--tbd-surface-2);
	padding: 22px 26px;
	color: var(--tbd-ink);
	font-family: "Playfair Display", Georgia, serif;
	font-size: 25px;
	line-height: 1.35;
}

.tbd-entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.tbd-entry-content th,
.tbd-entry-content td {
	border: 1px solid var(--tbd-line);
	padding: 14px;
}

.tbd-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin-top: 22px;
}

.tbd-post-nav span {
	display: block;
	min-width: 0;
	border: 1px solid var(--tbd-line);
	border-radius: var(--tbd-radius);
	background: var(--tbd-surface);
	padding: 18px;
	font-weight: 800;
	box-shadow: var(--tbd-shadow);
}

.tbd-page-hero,
.tbd-archive-hero {
	border-radius: var(--tbd-radius);
	background: linear-gradient(135deg, #fff3ef, #f4ece4 55%, #edf3ec);
	padding: clamp(42px, 7vw, 82px);
}

.tbd-archive-results {
	min-width: 0;
}

.tbd-pagination {
	margin-top: 34px;
}

.tbd-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tbd-pagination a,
.tbd-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	border: 1px solid var(--tbd-line);
	border-radius: 999px;
	background: var(--tbd-surface);
	padding: 0 15px;
	font-weight: 800;
}

.tbd-pagination .current {
	background: var(--tbd-accent);
	color: #ffffff;
}

.tbd-empty {
	border: 1px solid var(--tbd-line);
	border-radius: var(--tbd-radius);
	background: var(--tbd-surface);
	padding: 42px;
	text-align: center;
	box-shadow: var(--tbd-shadow);
}

.tbd-footer {
	border-top: 1px solid var(--tbd-line);
	background: var(--tbd-surface);
}

.tbd-footer__inner {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.78fr);
	align-items: start;
	justify-content: space-between;
	gap: clamp(34px, 6vw, 90px);
	padding: 42px 0;
}

.tbd-footer p {
	max-width: 660px;
	margin: 0;
	color: var(--tbd-muted);
}

.tbd-footer__brand,
.tbd-footer__links {
	display: grid;
	gap: 14px;
}

.tbd-footer__links {
	justify-items: end;
	text-align: right;
}

.tbd-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px 20px;
}

.tbd-footer__nav a {
	color: var(--tbd-accent-dark);
	font-weight: 800;
}

.tbd-footer__contact {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	max-width: 430px;
	border: 1px solid var(--tbd-line);
	border-radius: 8px;
	background: color-mix(in srgb, var(--tbd-bg) 66%, var(--tbd-surface));
	padding: 12px 14px;
	text-align: left;
	box-shadow: 0 10px 28px rgba(45, 31, 25, 0.05);
}

.tbd-footer__contact-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(226, 93, 120, 0.1);
	color: var(--tbd-accent);
}

.tbd-footer__contact-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tbd-footer__contact small {
	display: block;
	color: var(--tbd-muted);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.tbd-footer__contact strong {
	display: block;
	overflow-wrap: anywhere;
	color: var(--tbd-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.tbd-footer__copy {
	color: var(--tbd-muted);
	font-size: 13px;
}

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

@media (max-width: 1280px) {
	.tbd-home-layout {
		grid-template-columns: 1fr;
	}

	.tbd-home-layout .tbd-sidebar {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.tbd-guides__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tbd-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.tbd-mainbar {
		grid-template-columns: auto 1fr auto;
	}

	.tbd-menu-toggle {
		display: inline-grid;
		justify-self: end;
	}

	.tbd-nav {
		position: fixed;
		left: 20px;
		right: 20px;
		top: 156px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		border: 1px solid var(--tbd-line);
		border-radius: var(--tbd-radius);
		background: var(--tbd-surface);
		padding: 12px;
		box-shadow: var(--tbd-shadow);
	}

	body.admin-bar .tbd-nav {
		top: 188px;
	}

	.tbd-menu-open .tbd-nav {
		display: flex;
	}

	.tbd-nav a {
		padding: 14px;
	}

	.tbd-actions {
		grid-column: 3;
	}

	.tbd-home-layout,
	.tbd-featured-grid,
	.tbd-content-layout {
		grid-template-columns: 1fr;
	}

	.tbd-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	body.admin-bar .tbd-site-header {
		top: 46px;
	}

	body.admin-bar .tbd-nav {
		top: 202px;
	}

	.tbd-container,
	.tbd-topbar,
	.tbd-mainbar,
	.tbd-search-panel {
		width: min(100% - 28px, 1500px);
	}

	.tbd-topbar {
		display: none;
	}

	.tbd-mainbar {
		min-height: 78px;
		gap: 12px;
	}

	.tbd-logo span,
	.tbd-logo strong {
		font-size: 27px;
	}

	.tbd-logo em {
		font-size: 13px;
	}

	.tbd-subscribe {
		display: none;
	}

	.tbd-trending__inner {
		min-height: 56px;
		gap: 16px;
	}

	.tbd-trending__items {
		gap: 16px;
		font-size: 13px;
	}

	.tbd-trending__items a:not(:last-child)::after {
		margin-left: 16px;
	}

	.tbd-home-layout__side,
	.tbd-home-layout .tbd-sidebar,
	.tbd-sidebar,
	.tbd-guides__grid,
	.tbd-card-grid,
	.tbd-card-grid--three {
		grid-template-columns: 1fr;
	}

	.tbd-hero-card,
	.tbd-overlay-card {
		min-height: 360px;
	}

	.tbd-hero-card h1,
	.tbd-single-hero h1,
	.tbd-page-hero h1,
	.tbd-archive-hero h1 {
		font-size: 38px;
	}

	.tbd-hero-card > a,
	.tbd-overlay-card > a {
		padding: 24px;
	}

	.tbd-hero-card p {
		font-size: 16px;
	}

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

	.tbd-content-layout {
		gap: 22px;
	}

	.tbd-entry-content {
		padding: 24px;
	}

	.tbd-entry-content p,
	.tbd-entry-content li {
		font-size: 16px;
	}

	.tbd-post-nav {
		flex-direction: column;
		align-items: flex-start;
	}

	.tbd-footer__inner {
		grid-template-columns: 1fr;
	}

	.tbd-footer__links {
		justify-items: start;
		text-align: left;
	}

	.tbd-footer__nav {
		justify-content: flex-start;
	}
}

@media (max-width: 520px) {
	.tbd-actions {
		gap: 2px;
	}

	.tbd-icon-button,
	.tbd-menu-toggle {
		width: 36px;
		height: 36px;
	}

	.tbd-search-panel {
		grid-template-columns: 1fr;
	}

	.tbd-search-open .tbd-search-panel {
		max-height: 132px;
	}

	.tbd-guide-card {
		grid-template-columns: 54px 1fr;
		min-height: 104px;
		padding: 16px;
	}

	.tbd-guide-card__icon {
		width: 50px;
		height: 50px;
	}

	.tbd-post-card__body {
		padding: 22px;
	}

	.tbd-page-hero,
	.tbd-archive-hero {
		padding: 30px 22px;
	}
}
