/* UIB Inquiry Form + quote CTA button */

/* ---------- homepage CTA button ---------- */
.uib-quote-cta {
	margin: 18px 0 0;
}

.uib-quote-btn,
.uib-quote-btn:visited {
	display: inline-block;
	background: #d3b574;
	color: #16163f !important;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.2;
	letter-spacing: .2px;
	padding: 15px 34px;
	border-radius: 4px;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(22, 22, 63, .18);
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.uib-quote-btn:hover,
.uib-quote-btn:focus {
	background: #c3a463;
	color: #16163f !important;
	transform: translateY(-1px);
	box-shadow: 0 9px 22px rgba(22, 22, 63, .26);
}

.uib-quote-btn:active {
	transform: translateY(0);
}

/* ---------- form ---------- */
.uib-inq {
	max-width: 100%;
	margin: 0;
	font-size: 16px;
	color: #2b2b3c;
}

.uib-inq p {
	margin: 0;
}

.uib-inq-intro {
	margin: 0 0 22px;
}

.uib-inq-lead {
	font-size: 16px;
	line-height: 1.65;
	color: #3d3d52;
	margin: 0 0 12px !important;
}

.uib-inq-points {
	margin: 0 !important;
	padding-left: 20px;
}

.uib-inq-points li {
	font-size: 15px;
	line-height: 1.7;
	color: #3d3d52;
	margin-bottom: 2px;
}

.uib-inq-points strong {
	color: #16163f;
}

.uib-inq .uib-inq-form {
	background: #fff;
	border: 1px solid #e3e3ec;
	border-radius: 10px;
	padding: 28px 28px 24px;
	box-shadow: 0 10px 30px rgba(22, 22, 63, .06);
}

.uib-inq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 18px;
	row-gap: 0;
}

.uib-inq-field {
	margin-bottom: 16px !important;
}

.uib-inq-field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: #16163f;
	margin-bottom: 6px;
}

.uib-inq-field .req {
	color: #c0392b;
	font-weight: 700;
}

.uib-inq input[type="text"],
.uib-inq input[type="email"],
.uib-inq select,
.uib-inq textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	font-size: 15px;
	color: #16163f;
	background: #fbfbfd;
	border: 1px solid #d6d6e2;
	border-radius: 5px;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.uib-inq textarea {
	resize: vertical;
	min-height: 64px;
}

.uib-inq select {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2316163f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	padding-right: 34px;
}

.uib-inq input:focus,
.uib-inq select:focus,
.uib-inq textarea:focus {
	outline: none;
	background: #fff;
	border-color: #d3b574;
	box-shadow: 0 0 0 3px rgba(211, 181, 116, .22);
}

.uib-inq ::placeholder {
	color: #9a9aab;
	opacity: 1;
}

.uib-inq-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 4px !important;
	padding-top: 18px;
	border-top: 1px solid #eeeef4;
}

.uib-inq-submit button {
	background: #16163f;
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .3px;
	padding: 14px 38px;
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease;
}

.uib-inq-submit button:hover,
.uib-inq-submit button:focus {
	background: #2a2a63;
	transform: translateY(-1px);
}

.uib-inq-note {
	font-size: 13px;
	line-height: 1.5;
	color: #6b6b7d;
	flex: 1 1 260px;
}

/* honeypot: invisible to humans, visible to naive bots */
.uib-inq-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* alerts */
.uib-inq-alert {
	border-radius: 8px;
	padding: 18px 20px;
	margin-bottom: 22px;
	font-size: 15px;
	line-height: 1.6;
}

.uib-inq-alert p {
	margin: 6px 0 0;
}

.uib-inq-ok {
	background: #eef7f0;
	border: 1px solid #bfe0c8;
	color: #1e5b32;
}

.uib-inq-bad {
	background: #fdf1f0;
	border: 1px solid #f0c7c2;
	color: #8f2b22;
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
	.uib-inq-grid {
		grid-template-columns: 1fr;
	}

	.uib-inq .uib-inq-form {
		padding: 20px 18px 18px;
	}

	.uib-inq-submit button {
		width: 100%;
		padding: 15px 20px;
	}

	.uib-quote-btn,
	.uib-quote-btn:visited {
		display: block;
		text-align: center;
	}
}

/* catalogue download strip on the quote page */
.uib-inq-dl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #e6e6ee;
}
.uib-inq-dl-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8a8aa0;
	width: 100%;
}
.uib-inq-dl a,
.uib-inq-dl a:visited {
	color: #16163f !important;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none !important;
	border-bottom: 1px solid #d3b574;
	padding-bottom: 2px;
}
.uib-inq-dl a:hover { color: #b08d4a !important; }
.uib-inq-dl em {
	font-style: normal;
	font-weight: 400;
	color: #8a8aa0;
	font-size: 12px;
	margin-left: 4px;
}
/* catalogue download strip on shop / category archives */
.uib-cat-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	margin: 34px 0 10px;
	padding: 18px 22px;
	background: #f7f5ef;
	border-left: 3px solid #d3b574;
	border-radius: 3px;
}
.uib-cat-strip-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #16163f;
}
.uib-cat-strip a {
	font-size: 15px;
	font-weight: 600;
	color: #16163f;
	text-decoration: none;
	border-bottom: 1px solid rgba(22, 22, 63, .25);
	padding-bottom: 1px;
}
.uib-cat-strip a:hover {
	border-bottom-color: #d3b574;
}
.uib-cat-strip em {
	font-style: normal;
	font-weight: 400;
	color: #7a7a90;
	font-size: 12px;
	margin-left: 4px;
}

/* catalogue link under the homepage CTA button */
.uib-quote-cta-note {
	margin: 10px 0 0 !important;
	font-size: 14px;
	line-height: 1.4;
}
.uib-quote-cta-note a,
.uib-quote-cta-note a:visited {
	color: #16163f !important;
	font-weight: 600;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(22, 22, 63, .28);
	padding-bottom: 1px;
}
.uib-quote-cta-note a:hover {
	border-bottom-color: #d3b574;
}

/* nav dropdowns: CSS-only fallback so submenus open without smartmenus JS */
.elementor-nav-menu--main li.menu-item-has-children {
	position: relative;
}

.elementor-nav-menu--main li.menu-item-has-children > ul.sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 300px;
	/* Elementor ships margin-top:15px !important here; the gap made the pointer
	   leave the hovered <li> and the panel closed mid-way. */
	margin: 0 !important;
	padding: 8px 0;
	list-style: none;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(22, 22, 63, .16);
	border-top: 2px solid #d3b574;
	z-index: 999;
}

.elementor-nav-menu--main li.menu-item-has-children:hover > ul.sub-menu,
.elementor-nav-menu--main li.menu-item-has-children:focus-within > ul.sub-menu {
	display: block;
}

/* Elementor keeps a 15px !important offset above the panel. Rather than fight
   that cascade, bridge the gap: this strip only exists while the item is hovered,
   so the pointer stays inside the <li> on its way down to the panel. */
.elementor-nav-menu--main li.menu-item-has-children:hover::after,
.elementor-nav-menu--main li.menu-item-has-children:focus-within::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 20px;
}

.elementor-nav-menu--main ul.sub-menu li {
	display: block;
	width: 100%;
}

.elementor-nav-menu--main ul.sub-menu li a {
	display: block;
	padding: 10px 20px;
	font-size: 15px;
	line-height: 1.35;
	color: #16163f;
	white-space: nowrap;
	text-decoration: none;
}

.elementor-nav-menu--main ul.sub-menu li a:hover,
.elementor-nav-menu--main ul.sub-menu li a:focus {
	background: #f7f5ef;
	color: #16163f;
}

/* article layout */
.lead {
	font-size: 19px;
	line-height: 1.62;
	color: #3d3d52;
	margin-bottom: 1.6em;
}
.uib-post-cta {
	background: #f7f5ef;
	border-left: 3px solid #d3b574;
	padding: 24px 28px;
	margin: 38px 0;
	border-radius: 3px;
}
.uib-post-cta p {
	margin: 0 0 16px;
}
.uib-post-cta p:last-child {
	margin-bottom: 0;
}
.single-post .wp-block-image {
	margin: 2.2em 0;
}
.single-post .wp-block-image img {
	height: auto;
	border-radius: 3px;
}
.single-post figcaption {
	font-size: 13px;
	line-height: 1.5;
	color: #6b6b80;
	margin-top: 10px;
}
.single-post .wp-block-table table {
	font-size: 14px;
}

/* reading column for articles: the theme runs 1140px wide, too long a measure */
.single-post .page-content {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}
.single-post .page-content img {
	max-width: 100%;
	height: auto;
}
.single-post .page-content p {
	margin-bottom: 1.25em;
}
.single-post .page-content ul,
.single-post .page-content ol {
	padding-left: 22px;
	margin: 0 0 1.5em;
}
.single-post .page-content li {
	margin-bottom: 8px;
	line-height: 1.7;
}
.single-post .page-content h2 {
	margin-top: 1.9em;
}
.single-post .page-content h3 {
	margin-top: 1.6em;
}

.single-post h1.entry-title { max-width: 820px; margin-left: auto; margin-right: auto; }

/* related reading on chain category pages */
.uib-related {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 18px;
	margin: 30px 0 4px;
	padding: 16px 22px;
	background: #ffffff;
	border: 1px solid #e6e6ee;
	border-left: 3px solid #16163f;
	border-radius: 3px;
}
.uib-related-label {
	width: 100%;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8a8aa0;
}
.uib-related a {
	font-size: 15px;
	font-weight: 600;
	color: #16163f;
	text-decoration: none;
	border-bottom: 1px solid #d3b574;
}
.uib-related a:hover {
	color: #16163f;
	border-bottom-color: #16163f;
}
.uib-related-note {
	width: 100%;
	font-size: 13px;
	line-height: 1.5;
	color: #6b6b80;
}
