/* ==========================================================================
   Masthead
   ========================================================================== */
.ttr-masthead {
	background: var(--ttr-ink);
}

.ttr-masthead__inner {
	padding: 10px 40px 10px 44px;
	display: flex;
	align-items: center;
	gap: 30px;
}

.ttr-masthead__logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	flex-shrink: 0;
	text-decoration: none;
	overflow: visible;
}

.ttr-masthead__logo-text {
	font-family: var(--ttr-font-serif);
	font-weight: 700;
	font-size: 18px;
	color: #fff;
	letter-spacing: -0.01em;
}

.ttr-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	flex: 0 0 auto;
}

.ttr-logo__mark {
	width: 27px;
	height: 27px;
	border-radius: 7px;
	background: var(--ttr-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.ttr-logo__text {
	font-family: var(--ttr-font-serif);
	font-weight: 700;
	font-size: 21px;
	color: #fff;
	letter-spacing: -0.015em;
}

.ttr-nav {
	display: flex;
	gap: 22px;
	flex: 1;
	margin-left: 6px;
}

.ttr-nav a {
	font-size: 13.5px;
	font-weight: 500;
	color: #c4c5ca;
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 2px solid transparent;
	transition: color .15s ease, border-color .15s ease;
}

.ttr-nav a:hover {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, .35);
}

.ttr-nav a.is-active {
	font-weight: 600;
	color: #fff;
	border-bottom-color: var(--ttr-accent);
}

.ttr-nav a.is-active:hover {
	border-bottom-color: var(--ttr-accent);
}

.ttr-masthead__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.ttr-search-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .08) !important;
	border: 1px solid rgba(255, 255, 255, .22) !important;
	border-radius: 8px;
	padding: 9px 14px;
	width: 200px;
	transition: border-color .15s ease, background .15s ease;
	margin: 0;
}

.ttr-search-toggle:focus-within,
.ttr-search-toggle:hover {
	border-color: var(--ttr-accent) !important;
	background: rgba(255, 255, 255, .12) !important;
}

.ttr-search-toggle svg {
	flex: 0 0 auto;
}

.ttr-search-toggle__input {
	-webkit-appearance: none;
	appearance: none;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 13px;
	font-family: var(--ttr-font-sans);
	width: 100%;
	padding: 0;
}

.ttr-search-toggle__input::placeholder {
	color: #9aa3ba;
}

/* Remove native browser chrome from type="search" inputs (Chrome/Safari
   add their own cancel-button/decoration icons that ignore our styling) */
.ttr-search-toggle__input::-webkit-search-decoration,
.ttr-search-toggle__input::-webkit-search-cancel-button,
.ttr-search-toggle__input::-webkit-search-results-button,
.ttr-search-toggle__input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.ttr-masthead__date {
	font-family: var(--ttr-font-mono);
	font-size: 11.5px;
	color: #8a93ab;
	white-space: nowrap;
	margin-left: -8px;
}

.ttr-btn-accent {
	background: var(--ttr-accent);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: var(--ttr-radius);
	white-space: nowrap;
	border: none;
}

.ttr-mobile-toggle {
	display: none;
	flex-direction: column;
	gap: 3.5px;
	background: none;
	border: none;
	padding: 4px;
}

.ttr-mobile-toggle span {
	width: 18px;
	height: 2px;
	background: #c4c5ca;
	border-radius: 2px;
}

.ttr-mobile-cats {
	display: none;
}

