.t-layout-shell {
	--t-layout-shell-height: 100vh;
	--t-layout-shell-sidebar-inline: 32px;
	--t-layout-shell-sidebar-top: 0px;
	background: var(--color-bg-page);
}

body.admin-bar .t-layout-shell {
	--t-layout-shell-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
	--t-layout-shell-sidebar-top: var(--wp-admin--admin-bar--height, 32px);
}

@supports (height: 100dvh) {
	.t-layout-shell {
		--t-layout-shell-height: 100dvh;
	}

	body.admin-bar .t-layout-shell {
		--t-layout-shell-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
	}
}

.t-layout-shell__layout {
	box-sizing: border-box;
	width: 100%;
	max-width: 100vw;
	min-width: 0;
}

.t-layout-shell__sidebar {
	display: none;
}

.t-layout-shell__main {
	min-width: 0;
	box-sizing: border-box;
}

.t-layout-shell__brand-name {
	display: block;
	color: inherit;
	font-size: clamp(1.25rem, 1.8vw, 1.75rem);
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	word-break: normal;
	overflow-wrap: normal;
}

.t-layout-shell__brand-name:link,
.t-layout-shell__brand-name:visited,
.t-layout-shell__brand-name:hover,
.t-layout-shell__brand-name:active {
	color: inherit;
}

.t-layout-shell__brand-name:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}

.t-layout-shell__tagline {
	margin: 16px 0 0;
	max-width: 24ch;
	font-size: 0.95rem;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

@media (min-width: 1280px) {
	.t-layout-shell {
		min-height: var(--t-layout-shell-height);
	}

	.t-layout-shell__layout {
		display: grid;
		grid-template-columns: repeat(16, minmax(0, 1fr));
		column-gap: 16px;
		min-height: var(--t-layout-shell-height);
		padding-left: 24px;
	}

	.t-layout-shell__sidebar {
		position: sticky;
		top: var(--t-layout-shell-sidebar-top);
		grid-column: 1 / 4;
		display: block;
		height: var(--t-layout-shell-height);
		padding: 0;
	}

	.t-layout-shell__sidebar-inner {
		box-sizing: border-box;
		min-height: 100%;
		padding: var(--t-layout-shell-sidebar-inline);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.t-layout-shell__brand-name .t-brand-name-grouped {
		flex-direction: column;
		align-items: center;
	}

	.t-layout-shell__brand-name .t-brand-name-grouped > wbr {
		display: none;
	}

	.t-layout-shell__main {
		grid-column: 4 / 17;
	}

	.t-layout-shell:not(.t-layout-shell--home) .t-layout-shell__main {
		display: flex;
		min-height: var(--t-layout-shell-height);
		flex-direction: column;
	}

	.t-layout-shell:not(.t-layout-shell--home) .t-layout-shell__main > .t-site-footer {
		margin-top: auto;
	}
}
