/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/
/* =========================================================
   PURPLE WELLIES — GLOBAL SETTINGS
   ========================================================= */

:root {
	--pw-purple: #732581;
	--pw-purple-dark: #5d1e69;
	--pw-charcoal: #242124;
	--pw-grey: #6f6f6f;
	--pw-light-grey: #f5f5f5;
	--pw-white: #ffffff;

	--pw-container: 1240px;
	--pw-mobile-gutter: 15px;
}


/* =========================================================
   PURPLE WELLIES — DEFAULT WORDPRESS PAGE TITLES
   Page designs provide their own H1 headings.
   ========================================================= */

.page .entry-title {
	display: none;
}


/* =========================================================
   PURPLE WELLIES — GLOBAL NAVIGATION
   ========================================================= */

#wrapper-navbar {
	width: 100%;
	position: relative;
	z-index: 1000;
}

#main-nav {
	width: 100%;
	min-height: 78px;
	padding: 0;
	background: var(--pw-white) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: none;
}

/*
 * Understrap may output either .container or .container-fluid
 * depending on the Customizer setting.
 */
#main-nav > .container,
#main-nav > .container-fluid {
	width: min(var(--pw-container), calc(100% - 40px));
	max-width: var(--pw-container);
	min-height: 78px;
	margin-inline: auto;
	padding-left: 0;
	padding-right: 0;

	display: flex;
	align-items: center;
}


/* =========================================================
   LOGO
   ========================================================= */

#main-nav .custom-logo-link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
}

/* Purple Wellies navbar logo */

#main-nav .navbar-brand img,
#main-nav .custom-logo-link img,
#main-nav img.img-fluid {
	display: block;
	width: 180px !important;
	max-width: 180px !important;
	height: auto !important;
}


/* =========================================================
   DESKTOP MENU
   ========================================================= */

#main-nav .navbar-collapse {
	align-items: center;
}

#main-nav #main-menu {
	margin-left: auto;
	align-items: center;
}

#main-nav #main-menu > .menu-item {
	display: flex;
	align-items: center;
}

#main-nav #main-menu > .menu-item > .nav-link {
	position: relative;
	padding: 29px 13px;

	color: var(--pw-charcoal);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;

	transition: color 0.18s ease;
}

#main-nav #main-menu > .menu-item > .nav-link:hover,
#main-nav #main-menu > .menu-item > .nav-link:focus {
	color: var(--pw-purple);
}

#main-nav #main-menu > .current-menu-item > .nav-link,
#main-nav #main-menu > .current-menu-ancestor > .nav-link {
	color: var(--pw-purple);
}


/* Subtle active-page indicator */

#main-nav #main-menu > .current-menu-item > .nav-link::after,
#main-nav #main-menu > .current-menu-ancestor > .nav-link::after {
	content: "";
	position: absolute;
	left: 13px;
	right: 13px;
	bottom: 19px;
	height: 2px;
	border-radius: 2px;
	background: var(--pw-purple);
}


/* =========================================================
   DROPDOWN MENUS
   ========================================================= */

#main-nav .dropdown-menu {
	margin-top: 0;
	padding: 8px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: var(--pw-white);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

#main-nav .dropdown-item {
	padding: 10px 14px;
	border-radius: 5px;

	color: var(--pw-charcoal);
	font-size: 0.85rem;
	font-weight: 500;

	transition:
		color 0.18s ease,
		background-color 0.18s ease;
}

#main-nav .dropdown-item:hover,
#main-nav .dropdown-item:focus {
	color: var(--pw-purple);
	background: rgba(115, 37, 129, 0.07);
}


/* =========================================================
   PHONE MENU ITEM
   Add class: pw-nav-phone
   ========================================================= */

#main-nav .pw-nav-phone {
	margin-left: 18px;
}

#main-nav .pw-nav-phone > .nav-link {
	padding-left: 10px !important;
	padding-right: 10px !important;
	color: var(--pw-charcoal) !important;
	font-weight: 700 !important;
	white-space: nowrap;
}

#main-nav .pw-nav-phone > .nav-link:hover,
#main-nav .pw-nav-phone > .nav-link:focus {
	color: var(--pw-purple) !important;
}


/* =========================================================
   GET A QUOTE CTA
   Add class: pw-nav-cta
   ========================================================= */

#main-nav .pw-nav-cta {
	margin-left: 10px;
}

#main-nav .pw-nav-cta > .nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 44px;
	padding: 0 20px !important;

	border-radius: 7px;
	background: var(--pw-purple);

	color: var(--pw-white) !important;
	font-size: 0.76rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: uppercase;
	white-space: nowrap;

	transition:
		background-color 0.18s ease,
		transform 0.18s ease;
}

#main-nav .pw-nav-cta > .nav-link:hover,
#main-nav .pw-nav-cta > .nav-link:focus {
	background: var(--pw-purple-dark);
	color: var(--pw-white) !important;
	transform: translateY(-1px);
}

#main-nav .pw-nav-cta > .nav-link::after {
	display: none !important;
}


/* =========================================================
   MOBILE NAVIGATION
   Bootstrap md breakpoint
   ========================================================= */

@media (max-width: 767.98px) {

	#main-nav {
		min-height: 68px;
	}

	#main-nav > .container,
	#main-nav > .container-fluid {
		width: calc(100% - 30px);
		min-height: 68px;
		flex-wrap: wrap;
	}

	#main-nav .custom-logo {
		width: 165px;
	}

	#main-nav .navbar-toggler {
		width: 44px;
		height: 44px;
		padding: 7px;

		border: 1px solid rgba(36, 33, 36, 0.18);
		border-radius: 7px;

		background: transparent;
		box-shadow: none;
	}

	#main-nav .navbar-toggler:focus {
		box-shadow: 0 0 0 3px rgba(115, 37, 129, 0.18);
	}

	/*
	 * Understrap's original navbar is navbar-dark.
	 * This makes the Bootstrap hamburger visible
	 * against our new white background.
	 */
	#main-nav .navbar-toggler-icon {
		filter: invert(17%) sepia(8%) saturate(400%);
	}

	#main-nav .navbar-collapse {
		flex-basis: 100%;
		width: 100%;
		padding: 10px 0 18px;
	}

	#main-nav #main-menu {
		width: 100%;
		margin: 0;
		align-items: stretch;
	}

	#main-nav #main-menu > .menu-item {
		display: block;
		width: 100%;
	}

	#main-nav #main-menu > .menu-item > .nav-link {
		width: 100%;
		padding: 13px 0;

		border-bottom: 1px solid rgba(0, 0, 0, 0.07);

		font-size: 0.9rem;
	}

	#main-nav #main-menu > .current-menu-item > .nav-link::after,
	#main-nav #main-menu > .current-menu-ancestor > .nav-link::after {
		display: none;
	}

	#main-nav .dropdown-menu {
		margin: 0;
		padding: 4px 0 8px 14px;

		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	#main-nav .pw-nav-phone {
		margin-left: 0;
	}

	#main-nav .pw-nav-phone > .nav-link {
		padding: 13px 0 !important;
	}

	#main-nav .pw-nav-cta {
		margin: 14px 0 0;
	}

	#main-nav .pw-nav-cta > .nav-link {
		width: 100%;
		min-height: 46px;
		padding: 0 18px !important;

		border-bottom: 0;

		text-align: center;
	}
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

	#main-nav .custom-logo {
		width: 145px;
	}
}
/* =========================================================
   PURPLE WELLIES LANDING PAGE — REMOVE THEME SPACING
   Page ID: 17
   ========================================================= */

.page-id-17 #page-wrapper,
.page-id-17 #full-width-page-wrapper,
.page-id-17 #content,
.page-id-17 #primary,
.page-id-17 main,
.page-id-17 article,
.page-id-17 .entry-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Remove paragraph/block spacing around custom HTML sections */
.page-id-17 .entry-content > :first-child {
	margin-top: 0 !important;
}

.page-id-17 .entry-content > :last-child {
	margin-bottom: 0 !important;
}
/* =========================================================
   PURPLE WELLIES — GLOBAL FOOTER
   ========================================================= */

.pw-footer {
	width: 100%;
	background: #171519;
	color: #fff;
}

.pw-footer__main {
	padding: 64px 0 52px;
}

.pw-footer__inner {
	width: min(1240px, calc(100% - 40px));
	margin-inline: auto;

	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
	gap: 48px;
}

.pw-footer__logo {
	display: block;
	width: 210px;
	height: auto;
	margin-bottom: 18px;
}

.pw-footer__brand p {
	max-width: 320px;
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.88rem;
	line-height: 1.6;
}

.pw-footer h2 {
	margin: 0 0 18px;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

.pw-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pw-footer li + li {
	margin-top: 10px;
}

.pw-footer a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.84rem;
	text-decoration: none;
	transition: color 0.18s ease;
}

.pw-footer a:hover,
.pw-footer a:focus {
	color: #fff;
}

.pw-footer__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.pw-footer__contact a + a {
	margin-top: 10px;
}

.pw-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.pw-footer__bottom-inner {
	width: min(1240px, calc(100% - 40px));
	min-height: 64px;
	margin-inline: auto;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;

	color: rgba(255, 255, 255, 0.52);
	font-size: 0.75rem;
}

.pw-footer__legal {
	display: flex;
	gap: 20px;
}

.pw-footer__legal a {
	font-size: 0.75rem;
}

@media (max-width: 900px) {

	.pw-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {

	.pw-footer__main {
		padding: 48px 0 38px;
	}

	.pw-footer__inner {
		width: calc(100% - 30px);
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.pw-footer__logo {
		width: 180px;
	}

	.pw-footer__bottom-inner {
		width: calc(100% - 30px);
		padding: 18px 0;

		flex-direction: column;
		align-items: flex-start;
	}

	.pw-footer__legal {
		flex-wrap: wrap;
		gap: 10px 18px;
	}
}
#wrapper-footer {
	display: none;
}
/* Remove Understrap spacing above global footer */

#wrapper-footer-full,
#footer-full-content,
.footer-widget,
.widget-area {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

#wrapper-footer-full {
	background: #171519 !important;
}
/* =========================================================
   REMOVE DEFAULT UNDERSTRAP FOOTER CREDIT
   ========================================================= */

#wrapper-footer {
  display: none !important;
}
/* =========================================================
   HOMEPAGE — REMOVE GAP BELOW HEADER
   Page ID: 145
   Also applies once this page becomes the site homepage
   ========================================================= */

.page-id-145 #page-wrapper,
.page-id-145 #full-width-page-wrapper,
.page-id-145 #content,
.page-id-145 #primary,
.page-id-145 main,
.page-id-145 article,
.page-id-145 .entry-content,
body.home #page-wrapper,
body.home #full-width-page-wrapper,
body.home #content,
body.home #primary,
body.home main,
body.home article,
body.home .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove any spacing from the first block on the page */
.page-id-145 .entry-content > :first-child,
body.home .entry-content > :first-child {
  margin-top: 0 !important;
}
/* =========================================================
   PURPLE WELLIES — CUSTOM COOKIE CONSENT
   ========================================================= */

.pw-cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
}

.pw-cookie-consent[hidden] {
  display: none !important;
}

.pw-cookie-consent__inner {
  width: min(760px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 24px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(115, 37, 129, 0.12);
  font-family: "Montserrat", sans-serif;
}

.pw-cookie-consent__content {
  flex: 1 1 auto;
  min-width: 0;
}

.pw-cookie-consent__title {
  margin: 0 0 8px;
  color: #2a2230;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.pw-cookie-consent__copy {
  margin: 0;
  color: #5e5962;
  font-size: 14px;
  line-height: 1.6;
}

.pw-cookie-consent__links {
  margin: 8px 0 0;
}

.pw-cookie-consent__links a {
  color: #732581;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pw-cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
}

.pw-cookie-consent__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.pw-cookie-consent__button:hover {
  transform: translateY(-1px);
}

.pw-cookie-consent__button:focus-visible,
.pw-cookie-settings:focus-visible {
  outline: 3px solid rgba(115, 37, 129, 0.25);
  outline-offset: 3px;
}

.pw-cookie-consent__button--reject {
  background: #f3eef4;
  color: #5d1c69;
}

.pw-cookie-consent__button--reject:hover {
  background: #e9dfea;
}

.pw-cookie-consent__button--accept {
  background: #732581;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(115, 37, 129, 0.24);
}

.pw-cookie-consent__button--accept:hover {
  background: #5d1c69;
}

.pw-cookie-settings {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99998;
  appearance: none;
  border: 1px solid rgba(115, 37, 129, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  background: #ffffff;
  color: #732581;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.pw-cookie-settings:hover {
  background: #f7f1f8;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .pw-cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .pw-cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
    border-radius: 16px;
  }

  .pw-cookie-consent__title {
    font-size: 19px;
  }

  .pw-cookie-consent__copy {
    font-size: 13px;
  }

  .pw-cookie-consent__actions {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .pw-cookie-consent__button {
    width: 100%;
    min-height: 44px;
  }

  .pw-cookie-settings {
    left: 12px;
    bottom: 12px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .pw-cookie-consent__inner {
    padding: 18px;
  }

  .pw-cookie-consent__title {
    font-size: 18px;
  }

  .pw-cookie-consent__copy {
    line-height: 1.55;
  }

}
.page-id-284 .site-main,
.page-id-284 .container,
.page-id-284 .wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}