/**
 * Advanced Search Guide — matches theme default-page / wys patterns.
 */

.lsm-as-guide__content .wys {
	max-width: 720px;
	margin: 0 auto;
}

.lsm-as-guide__content .wys > section + section {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e5e5;
}

.lsm-as-guide__content .wys h2 {
	font-size: 1.35rem;
	line-height: 1.3;
	margin: 0 0 1rem;
	color: #222;
}

.lsm-as-guide__content .wys h3 {
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 600;
	margin: 1.35rem 0 0.5rem;
	color: #222;
}

.lsm-as-guide__content .wys h2,
.lsm-as-guide__content .wys h3 {
	scroll-margin-top: 1.25rem;
}

.lsm-as-guide__bookmark {
	display: inline-block;
	margin-right: 0.4rem;
	color: #162656;
	vertical-align: -0.15em;
	text-decoration: none;
	line-height: 1;
}

.lsm-as-guide__bookmark:hover,
.lsm-as-guide__bookmark:focus {
	color: #0d1838;
}

.lsm-as-guide__bookmark svg {
	display: block;
	width: 0.85em;
	height: 0.85em;
}

.lsm-as-guide__bookmark-dialog {
	width: min(28rem, calc(100% - 2rem));
	margin: auto;
	border: 0;
	border-radius: 6px;
	padding: 1.25rem 1.25rem 1rem;
	background: #162656;
	color: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.lsm-as-guide__bookmark-dialog::backdrop {
	background: rgba(0, 0, 0, 0.35);
}

.lsm-as-guide__bookmark-dialog-logo {
	display: block;
	width: 148px;
	height: auto;
	margin: 0 auto 1rem;
	padding: 0.45rem 0.55rem;
	background: #fff;
	border-radius: 4px;
}

.lsm-as-guide__bookmark-dialog p {
	font-size: 16px;
	line-height: 1.55;
	margin: 0 0 1rem;
	color: #fff;
}

.lsm-as-guide__bookmark-dialog-actions {
	display: flex;
	justify-content: flex-end;
}

.lsm-as-guide__bookmark-dialog-close {
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	background: #fff;
	color: #162656;
	border: 0;
	border-radius: 3px;
	padding: 0.45rem 0.9rem;
	cursor: pointer;
}

.lsm-as-guide__bookmark-dialog-close:hover,
.lsm-as-guide__bookmark-dialog-close:focus {
	background: #f3f3f3;
}

.lsm-as-guide__content .wys p {
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 1rem;
	color: #333;
}

.lsm-as-guide__content .wys ul {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.lsm-as-guide__content .wys li {
	padding-left: 20px;
	padding-bottom: 0.75rem;
	line-height: 1.55;
	font-size: 16px;
	position: relative;
}

.lsm-as-guide__content .wys li:last-child {
	padding-bottom: 0;
}

.lsm-as-guide__content .wys li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	background-color: #333;
	border-radius: 50%;
	width: 7px;
	height: 7px;
}

.lsm-as-guide__content .wys code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9em;
	background: #f3f3f3;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	padding: 0.1em 0.35em;
	word-break: break-word;
}

.lsm-as-guide__intro {
	font-size: 17px;
	color: #444;
}

.lsm-as-guide__table-wrap {
	overflow-x: auto;
	margin: 1rem 0 1.25rem;
}

.lsm-as-guide__table {
	width: 100%;
	min-width: 280px;
	border-collapse: collapse;
	font-size: 15px;
}

.lsm-as-guide__table th,
.lsm-as-guide__table td {
	text-align: left;
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid #e8e8e8;
	vertical-align: top;
}

.lsm-as-guide__table th {
	background: #f7f7f7;
	font-weight: 600;
	border-bottom: 1px solid #ddd;
}

.lsm-as-guide__table tbody tr:last-child td {
	border-bottom: none;
}

.lsm-as-guide__footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e5e5;
}

.lsm-as-guide__footer a {
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	color: inherit;
}

.lsm-as-guide__footer a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.lsm-as-guide__content .wys h2 {
		font-size: 1.2rem;
	}

	.lsm-as-guide__content .wys h3 {
		font-size: 1rem;
	}

	.lsm-as-guide__content .wys > section + section {
		margin-top: 2rem;
		padding-top: 1.5rem;
	}
}
