.ubn-standalone-page {
	margin: 0;
	background: var(--ubn-bg);
	color: var(--ubn-dark);
}

.ubn-site-header {
	background: #fff;
	border-bottom: 1px solid var(--ubn-line);
	box-shadow: 0 3px 18px rgba(17, 24, 39, .06);
}

.ubn-header-inner {
	width: min(1450px, calc(100% - 40px));
	min-height: 82px;
	margin: auto;
	display: flex;
	align-items: center;
	gap: 30px;
}

.ubn-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--ubn-blue);
	text-decoration: none;
	flex: 0 0 auto;
}

.ubn-brand-mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 2px solid var(--ubn-blue);
	border-radius: 8px;
	font-size: 25px;
	font-weight: 800;
}

.ubn-brand strong,
.ubn-brand small {
	display: block;
}

.ubn-brand strong {
	font-size: 20px;
}

.ubn-brand small {
	font-size: 11px;
	color: var(--ubn-muted);
}

.ubn-main-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-left: auto;
}

.ubn-main-nav a,
.ubn-account-link {
	color: var(--ubn-dark);
	text-decoration: none;
	font-size: 14px;
}

button.ubn-account-link,
.ubn-user-toggle {
	border: 0;
	cursor: pointer;
}

.ubn-user-menu {
	position: relative;
	flex: 0 0 auto;
}

.ubn-member-corner-name {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 12px;
	border: 1px solid rgba(6, 81, 172, .18);
	border-radius: 18px;
	background: #eef6ff;
	color: #064fa9;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.ubn-user-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	color: var(--ubn-dark);
}

.ubn-avatar {
	border-radius: 50%;
	object-fit: cover;
}

.ubn-user-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 12px);
	min-width: 210px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--ubn-line);
	border-radius: 8px;
	box-shadow: 0 14px 35px rgba(17, 24, 39, .14);
	z-index: 100;
}

.ubn-user-dropdown a {
	display: block;
	padding: 10px;
	color: var(--ubn-dark);
	text-decoration: none;
}

.ubn-auth-modal[hidden],
.ubn-user-dropdown[hidden] {
	display: none;
}

.ubn-auth-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(5, 18, 36, .7);
	overflow: auto;
}

.ubn-auth-dialog {
	position: relative;
	width: min(900px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 24px;
	border-radius: 12px;
	background: var(--ubn-bg);
}

.ubn-auth-close {
	position: absolute;
	right: 10px;
	top: 8px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	font-size: 28px;
	cursor: pointer;
}

.ubn-modal-open {
	overflow: hidden;
}

.ubn-member-identity {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ubn-main-nav a:hover {
	color: var(--ubn-blue);
}

.ubn-account-link {
	padding: 9px 15px;
	border-radius: 5px;
	background: var(--ubn-blue);
	color: #fff;
	flex: 0 0 auto;
}

.ubn-standalone-page .ubn-page-shell {
	width: min(1450px, calc(100% - 40px));
	margin-top: 28px;
}

.ubn-standalone-page .ubn-layout {
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 24px;
}

.ubn-standalone-page .ubn-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ubn-standalone-page .ubn-single {
	border: 1px solid var(--ubn-line);
	border-radius: 10px;
	padding: 20px;
}

.ubn-standalone-page .ubn-hero {
	margin-top: 16px;
	border-radius: 10px;
}

.ubn-standalone-page .ubn-comments {
	scroll-margin-top: 24px;
}

.ubn-standalone-page .ubn-comments:focus {
	outline: none;
}

.ubn-site-footer {
	background: #062f58;
	color: #fff;
	margin-top: 55px;
}

.ubn-footer-inner {
	width: min(1450px, calc(100% - 40px));
	margin: auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
	padding: 35px 0;
}

.ubn-footer-inner strong {
	display: block;
	font-size: 17px;
	margin-bottom: 12px;
}

.ubn-footer-inner p,
.ubn-footer-inner a {
	color: #d7e5f3;
}

.ubn-footer-inner a {
	display: block;
	text-decoration: none;
	margin: 7px 0;
}

.ubn-copyright {
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, .16);
	padding: 15px 20px;
	color: #d7e5f3;
	font-size: 13px;
}

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

	.ubn-main-nav {
		gap: 14px;
	}

	.ubn-main-nav a:nth-of-type(n+5) {
		display: none;
	}
}

@media (max-width: 900px) {
	.ubn-header-inner {
		min-height: 70px;
	}

	.ubn-main-nav {
		display: none;
	}

	.ubn-account-link {
		margin-left: auto;
	}

	.ubn-footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 620px) {
	.ubn-standalone-page .ubn-grid,
	.ubn-footer-inner {
		grid-template-columns: 1fr;
	}

	.ubn-standalone-page .ubn-page-shell,
	.ubn-header-inner,
	.ubn-footer-inner {
		width: min(100% - 22px, 1450px);
	}

	.ubn-standalone-page .ubn-single {
		padding: 14px;
	}
}
