/*
 * QRS: content styles. Loaded on the public site AND inside the block editor,
 * so what you edit looks like what visitors see. Every value comes from the
 * CSS variables printed by QRS Theme Settings (inc/settings.php).
 */

body {
	font-family: var(--q-font-body);
	font-size: var(--q-body-size);
	font-weight: var(--q-body-weight);
	line-height: var(--q-body-lh);
	letter-spacing: var(--q-body-ls);
	color: var(--q-text);
	background: var(--q-bg);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: .55em;
	font-family: var(--q-font-heading);
	color: var(--q-heading);
	text-wrap: balance;
}

h1 { font-size: var(--q-h1-size); font-weight: var(--q-h1-weight); line-height: var(--q-h1-lh); letter-spacing: var(--q-h1-ls); }
h2 { font-size: var(--q-h2-size); font-weight: var(--q-h2-weight); line-height: var(--q-h2-lh); letter-spacing: var(--q-h2-ls); }
h3 { font-size: var(--q-h3-size); font-weight: var(--q-h3-weight); line-height: var(--q-h3-lh); letter-spacing: var(--q-h3-ls); }
h4 { font-size: var(--q-h4-size); font-weight: var(--q-h4-weight); line-height: var(--q-h4-lh); letter-spacing: var(--q-h4-ls); }
h5 { font-size: var(--q-h5-size); font-weight: var(--q-h5-weight); line-height: var(--q-h5-lh); letter-spacing: var(--q-h5-ls); }
h6 { font-size: var(--q-h6-size); font-weight: var(--q-h6-weight); line-height: var(--q-h6-lh); letter-spacing: var(--q-h6-ls); text-transform: uppercase; }

p {
	margin-top: 0;
	margin-bottom: 1em;
}

a {
	color: var(--q-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--q-heading);
}

strong,
b {
	font-weight: 700;
	color: var(--q-heading);
}

ul,
ol {
	padding-left: 1.3em;
}

li {
	margin-bottom: .4em;
}

/* Sections */
.q-section {
	padding: var(--q-space) 20px;
}

.q-section--soft {
	background: var(--q-surface);
}

.q-section--tight {
	padding-top: calc(var(--q-space) * .6);
	padding-bottom: calc(var(--q-space) * .6);
}

.q-section > h2.has-text-align-center,
.q-section > .wp-block-heading.has-text-align-center {
	margin-bottom: .4em;
}

.q-lead {
	font-size: 1.14em;
	color: var(--q-text);
}

.q-eyebrow {
	margin-bottom: .5em;
	font-family: var(--q-font-heading);
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--q-secondary);
}

.q-center {
	text-align: center;
}

/* Cards (a Column block with the class "q-card") */
.wp-block-columns.q-cards,
.q-cards {
	gap: 22px;
	margin-top: 2em;
}

.wp-block-column.q-card,
.q-card {
	padding: 28px 26px;
	border: var(--q-card-border) solid var(--q-border);
	border-radius: var(--q-card-radius);
	background: var(--q-bg);
	box-shadow: var(--q-card-shadow);
}

.q-card > :last-child {
	margin-bottom: 0;
}

.q-card h3 {
	margin-bottom: .4em;
}

.q-card p {
	font-size: .96em;
}

/* Card icons: add one of the q-icon-* classes to the card */
.q-card[class*="q-icon-"]::before {
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	background-color: var(--q-secondary);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: left center;
	mask-position: left center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.q-icon-shield::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8 8 9 4.6-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8 8 9 4.6-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}
.q-icon-heart::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.3-7-9.5A4 4 0 0 1 12 8a4 4 0 0 1 7 2.5C19 15.7 12 20 12 20z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.3-7-9.5A4 4 0 0 1 12 8a4 4 0 0 1 7 2.5C19 15.7 12 20 12 20z'/%3E%3C/svg%3E")}
.q-icon-clock::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
.q-icon-dollar::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.5 9.2c-.4-.8-1.3-1.2-2.5-1.2-1.5 0-2.5.7-2.5 1.9 0 2.8 5.2 1.3 5.2 4.2 0 1.2-1.100 1.9-2.7 1.9-1.3 0-2.3-.5-2.7-1.4M12 6.5V8m0 8v1.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.5 9.2c-.4-.8-1.3-1.2-2.5-1.2-1.5 0-2.5.7-2.5 1.9 0 2.8 5.2 1.3 5.2 4.2 0 1.2-1.100 1.9-2.7 1.9-1.3 0-2.3-.5-2.7-1.4M12 6.5V8m0 8v1.5'/%3E%3C/svg%3E")}
.q-icon-doc::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v4h4M10 12h5M10 16h5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v4h4M10 12h5M10 16h5'/%3E%3C/svg%3E")}
.q-icon-phone::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A15 15 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A15 15 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E")}
.q-icon-users::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-5.5 6.5-5.5s6.5 1.9 6.5 5.5'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M17.5 14.6c2.4.3 4 1.8 4 4.4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-5.5 6.5-5.5s6.5 1.9 6.5 5.5'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M17.5 14.6c2.4.3 4 1.8 4 4.4'/%3E%3C/svg%3E")}
.q-icon-check::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E")}
.q-icon-home::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E")}
.q-icon-pin::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")}
.q-icon-chat::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E")}
.q-icon-scale::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M7 20h10M5 7h14'/%3E%3Cpath d='m5 7-3 6a3 3 0 0 0 6 0zM19 7l-3 6a3 3 0 0 0 6 0z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M7 20h10M5 7h14'/%3E%3Cpath d='m5 7-3 6a3 3 0 0 0 6 0zM19 7l-3 6a3 3 0 0 0 6 0z'/%3E%3C/svg%3E")}

/* Steps (Column blocks with the class "q-step") */
.q-steps {
	counter-reset: q-step;
	gap: 22px;
	margin-top: 2em;
}

.wp-block-column.q-step,
.q-step {
	position: relative;
	padding: 26px 24px 24px;
	border-radius: var(--q-card-radius);
	background: var(--q-bg);
	border: var(--q-card-border) solid var(--q-border);
	counter-increment: q-step;
}

.q-step::before {
	content: counter(q-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--q-dark);
	color: var(--q-on-dark);
	font-family: var(--q-font-heading);
	font-size: 1.1em;
	font-weight: 800;
}

.q-step > :last-child {
	margin-bottom: 0;
}

/* Check list (a List block with the class "q-checks") */
ul.q-checks {
	padding-left: 0;
	list-style: none;
}

ul.q-checks li {
	position: relative;
	margin-bottom: .6em;
	padding-left: 2em;
}

ul.q-checks li::before {
	content: "";
	position: absolute;
	top: .28em;
	left: 0;
	width: 1.2em;
	height: 1.2em;
	border-radius: 50%;
	background: var(--q-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312324A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.500 3.500 3.500 7.500-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Questions and answers (Details blocks) */
.wp-block-details {
	margin-bottom: 12px;
	border: 1px solid var(--q-border);
	border-radius: 12px;
	background: var(--q-bg);
}

.wp-block-details summary {
	position: relative;
	padding: 18px 54px 18px 20px;
	font-family: var(--q-font-heading);
	font-weight: 700;
	color: var(--q-heading);
	cursor: pointer;
	list-style: none;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: var(--q-surface);
	color: var(--q-secondary);
	font-size: 1.2em;
	font-weight: 600;
	line-height: 28px;
	text-align: center;
}

.wp-block-details[open] summary::after {
	content: "\2212";
}

.wp-block-details > :not(summary) {
	margin: 0 20px 18px;
}

/* Notes and disclosures */
.q-note {
	padding: 18px 20px;
	border-left: 4px solid var(--q-primary);
	border-radius: 0 12px 12px 0;
	background: var(--q-surface);
	font-size: .95em;
}

.q-note > :last-child,
.q-note p:last-child {
	margin-bottom: 0;
}

.q-note--small {
	margin-top: 2em;
	font-size: .88em;
}

.q-disclosure {
	font-size: .9em;
}

/* Dark band */
.q-band {
	padding: calc(var(--q-space) * .85) 20px;
	background: var(--q-dark);
	color: var(--q-on-dark);
	text-align: center;
}

.q-band h2,
.q-band h3,
.q-band strong {
	color: #fff;
}

.q-band p {
	max-width: 640px;
	margin-right: auto;
	margin-left: auto;
}

.q-band a:not(.q-btn) {
	color: #fff;
}

/* Tables */
.wp-block-table.q-table table,
.q-table table {
	width: 100%;
	border: 1px solid var(--q-border);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	font-size: .95em;
}

.q-table th,
.q-table td {
	padding: 13px 15px;
	border: 0;
	border-bottom: 1px solid var(--q-border);
	text-align: left;
	vertical-align: top;
}

.q-table thead th {
	background: var(--q-dark);
	color: var(--q-on-dark);
	font-family: var(--q-font-heading);
	font-weight: 700;
}

.q-table tbody tr:last-child td {
	border-bottom: 0;
}

.q-table tbody tr:nth-child(even) td {
	background: var(--q-surface);
}

.q-table td:first-child {
	font-weight: 600;
	color: var(--q-heading);
}

/* Images */
.wp-block-image img {
	border-radius: 16px;
}

.q-split {
	align-items: center;
	gap: 44px;
}

.q-split .wp-block-image {
	margin: 0;
}

/* Buttons: theme buttons and the core Button block */
.q-btn,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 52px;
	padding: 12px 26px;
	border: 2px solid var(--q-btn);
	border-radius: var(--q-btn-radius);
	background: var(--q-btn);
	color: var(--q-btn-text);
	font-family: var(--q-font-heading);
	font-size: 1rem;
	font-weight: var(--q-btn-weight);
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: var(--q-btn-transform);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.q-btn:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	border-color: var(--q-btn-hover);
	background: var(--q-btn-hover);
	color: var(--q-btn-hover-text);
}

.q-btn--ghost,
.is-style-outline > .wp-block-button__link {
	border-color: var(--q-heading);
	background: transparent;
	color: var(--q-heading);
}

.q-btn--ghost:hover,
.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--q-heading);
	background: var(--q-heading);
	color: var(--q-bg);
}

.q-btn--sm {
	min-height: 44px;
	padding: 8px 18px;
	font-size: .94rem;
}

.q-btn--lg {
	min-height: 58px;
	padding: 14px 32px;
	font-size: 1.06rem;
}

.q-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 1.4em;
}

.q-btns--center {
	justify-content: center;
}

.q-band .q-btn,
.q-hero--dark .q-btn {
	border-color: #fff;
	background: #fff;
	color: var(--q-dark);
}

.q-band .q-btn:hover,
.q-hero--dark .q-btn:hover {
	border-color: var(--q-primary);
	background: var(--q-primary);
	color: var(--q-dark);
}

.q-band .q-btn--ghost,
.q-hero--dark .q-btn--ghost {
	border-color: rgba(255, 255, 255, .7);
	background: transparent;
	color: #fff;
}

.q-band .q-btn--ghost:hover,
.q-hero--dark .q-btn--ghost:hover {
	border-color: #fff;
	background: #fff;
	color: var(--q-dark);
}

.q-more {
	font-family: var(--q-font-heading);
	font-weight: 700;
}

.q-more a,
a.q-more {
	text-decoration: none;
}

.q-more a::after,
a.q-more::after {
	content: " \2192";
}

.q-more a:hover,
a.q-more:hover {
	text-decoration: underline;
}

/* Directory of service areas, carriers */
.q-areas {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
	padding: 0;
	list-style: none;
}

.q-areas__state {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--q-border);
	border-radius: 12px;
	background: var(--q-bg);
}

.q-areas__state > a {
	font-family: var(--q-font-heading);
	font-weight: 700;
}

.q-areas__state ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: .94em;
}

.q-carriers {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.q-carriers li {
	margin: 0;
	padding: 8px 14px;
	border: 1px solid var(--q-border);
	border-radius: 999px;
	background: var(--q-bg);
	font-weight: 600;
}

.q-admin-hint {
	padding: 10px 14px;
	border: 1px dashed #B45F06;
	border-radius: 8px;
	background: #FFF8EC;
	color: #5B3A00;
	font-size: .85em;
}

@media (max-width: 781px) {
	.q-split {
		gap: 22px;
	}

	.q-table th,
	.q-table td {
		padding: 10px 11px;
	}
}
