/*
Theme Name: EK Painting
Theme URI: https://ekpainting.net
Author: fip creative ROOTS
Author URI: https://fipcreative.com
Description: Theme
Version: 2035
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This theme, like WordPress, is licensed under the GPL.
*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Oswald:wght@200..700&display=swap');
@import url(rhizomes.css);
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

























/* New EK Painting Style Rules */

html {
  --primary-color: #201A5A;
	--secondary-color: #e0771c;
  --main-text-color: #666666;
  --light-grey-color: #eeeeee;

  --button-font: "Oswald", sans-serif;
  --header-font: "Oswald", sans-serif;
  --body-font: "Be Vietnam Pro", sans-serif;

	font-size: 62.5%;
}

body {
  font-family: var(--body-font);
  font-size: 1.8rem;
}


h1, h2, h3, h4 {
  font-family: var(--header-font);
  text-transform: uppercase;
  font-weight: normal;
}

h1 {
  color: white;
  font-size: 5rem;
  letter-spacing: 0rem;
  text-align: center;

  @media (max-width: 620px) {
    font-size: 4rem;
  }
}


a {
  color: var(--secondary-color);
  font-weight: bold;
  transition: all 0.5s ease;
}

a:hover {
  color: var(--primary-color);
}

.main-content li {
  padding: 1rem 0;
}

.purple-open a:hover, .rf-premast a:hover {
  color: white;
}

hr.wp-block-separator {
  margin: auto;
  width: 60%;
  border-top: 3px solid var(--secondary-color);
  margin-top: 6rem;
  margin-bottom: 9rem;
}

.wp-block-cb-carousel-v2 .cb-button-next, .wp-block-cb-carousel-v2 .cb-button-prev {
  color: var(--secondary-color);
}







/* Header */

header {
  position: sticky;
  z-index: 10;
  top: 0;
}

.rf-premast {
  background-color: var(--primary-color);
  color: white;
  display: flex;
  font-size: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  /* position: fixed; */
}

.premast-calls-to-action {
  width: calc(50% - 10rem);
  align-items: center;
  justify-content: center;
  display: flex;

  @media (max-width: 1130px) {
    width: calc(100% - 20rem);
  }
  @media (max-width: 700px) {
    padding: 2rem 0;
  }
}

@media (max-width: 700px) {
  .premast-calls-to-action .button, .premast-calls-to-action span {
    display: none;
  }
}

.premast-keywords {
  width: calc(50% - 10rem);
  align-items: center;
  justify-content: center;
  display: flex;

  @media (max-width: 1130px) {
    display: none;
  }
}

.premast-socials {
  flex: 0 0 20rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  font-size: 3rem;
}

.rf-navbar {
  color: white;
  display: flex;
  padding: 3rem 0;
  width: 100%;

  @media (min-width: 450px) {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;

  }

  @media (max-width: 900px) {
    background-color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  }

  @media (max-width: 450px) {
    align-items: center;
  }
}

nav {
  /* flex: 1 1 auto; */
  width: calc(50% - 15rem);
}

.nav-left {
  text-align: right;
  justify-content: flex-end;

  @media (max-width: 900px) {
    display: none;
  }
}

.nav-right {
  text-align: left;
  justify-content: flex-start;

  @media (max-width: 900px) {
    display: none;
  }
}

nav > ul {
	display: flex;
	gap: 0;
	text-align: center;
	position: relative;
	width: 100%;
	flex-grow: 1;
	align-items: stretch;
	height: 100%;
}

nav ul {
	list-style: none;
	margin: 0;
  padding-inline-start: 0;
}

nav > ul > li {
	flex-grow: 1;
	line-height: initial;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

nav > ul > li > a {
	color: white;
	font-weight: bold;
	padding: 1.5rem;
	display: block;
	font-size: 1.8rem;
	text-transform: uppercase;
}

nav a {
  color: white;
  text-decoration: none;
}

nav a:hover {
  color: var(--secondary-color);
}

nav .sub-menu {
  display: none;
  position: absolute;
  background-color: white;
  padding: 1rem;
  top: 7rem;
  left: 50%;
  background-color: var(--primary-color);
}

footer nav .sub-menu {
  top: 5rem;
}



nav .sub-menu a {
	transition: none;
	display: block;
	padding: 1.4rem 0.75rem;
  height: 100%;
  width: calc(100% - 2.8rem);
}

nav .sub-menu li:hover {
  background-color: var(--secondary-color);
}

nav .sub-menu a:hover {
	background-color: var(--accent-color);
	color: white;
	text-shadow: 1px 2px #555;
}

nav > ul > li:hover .sub-menu {
	display: initial;
}

.logo {
  flex: 0 0 30rem;
}

.logo img {
  max-width: 30rem;

  @media(max-width: 900px) {
    padding: 0 2.5rem;
  }

  @media (max-width: 400px) {
    padding: 0 1rem;
    max-width: 25rem;
  }
}

.logo-on-white {
  display: none;
}

@media (max-width: 900px) {
  .logo-on-purple {
    display: none;
  }
  .logo-on-white {
    display: block;
  }
}

.down-caret {
  position: relative;
}

.down-caret::after {
  content: "\f0d7";
  font-family: FontAwesome;
}

#mobile-nav {
  display: none;
}

@media (min-width: 900px) {
	nav .sub-menu {
		/* box-shadow: 2px 2px 6px #888; */
		text-align: left;
		transform: translateX(-25%);
		width: 30rem;
		}

  nav.mobile-nav-only {
    display: none;
  }
}

@media (min-width: 1050px) {
  nav .sub-menu {
    transform: translateX(-35%);
  }
}

@media (max-width: 900px) {
  .mobile-nav-only {
		width: 100%;
		background-color: rgba(0, 0, 0, 0.90);
		position: absolute;
    z-index: 4999;
    top: 16.5rem;
    /* display: block; */
	}

	.mobile-nav-only > ul {
		display: none;
	}

  .mobile-nav-only > ul > li {
    display: block;
  }

  .mobile-nav-only > ul > li > a {
    text-transform: none;
    padding: 1.5rem 1rem;
    text-align: center;
  }

	#mobile-nav {
		display: block;
		text-align: right;
		color: white;
		background-color: var(--primary-color);
		padding: 2rem;
		font-weight: bold;
		text-transform: uppercase;
		z-index: 3999;
		position: absolute;
		right: 0;
	}

  nav.mobile-nav-only .sub-menu {
		position: relative;
		background-color: transparent;
		text-align: left;
    display: block;
    padding: 0;
    top: initial;
    left: initial;
	}
	
	nav.mobile-nav-only .sub-menu a {
		transition: none;
		color: white;
		font-weight: bold;
    color: white;
    text-align: center;
	}

  .down-caret::after {
    display: none;
  }

  .down-caret a {
    display: none;
  }


}





/* Body Styles */

.purple-open, .purple-content {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: white;
  text-align: center;
  margin-top: -15rem;
  padding: 18rem 0 6rem;
  position: relative;
  z-index: 0;

  @media (max-width: 900px) {
    padding: 15rem 0 6rem;
  }
}

.purple-content {
  margin-top: 3rem;
  padding-top: 10rem;
  padding-bottom: 10rem;
  /* transform-style: preserve-3d;
  transform: translateZ(-1rem) scale(2); */
}

.purple-open::before, .purple-content::before {
  content: "";
  inset: 0;
  height: 100%;
  width: 100%;
	background-color: color-mix(in srgb, var(--primary-color), #0000 25%);
  position: absolute;
  z-index: 1;
}

.purple-open::after, .purple-content::after {
  content: "";
  width: 100%;
  background-image: url(/wp-content/uploads/2025/08/WhiteDivider.svg);
  background-position: center;
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10rem;
  z-index: 3;
}

.purple-open .rf-container, .purple-content .rf-container {
  position: relative;
  z-index: 4;
}

.purple-open p, .main-content p, .purple-content p {
  line-height: 2;
}

.purple-content-white-divider {
  width: 100%;
  position: absolute;
  top: 0;
  background-image: url(/wp-content/uploads/2025/08/WhiteDividerReverse.svg);
  background-position: center;
  background-size: cover;
  position: absolute;
  height: 10rem;
  z-index: 3;
}

.main-content {
  color: var(--main-text-color);
  padding: 7rem 0;
  text-align: center;
}

.purple-open h2 {
  font-size: 4.2rem;

  @media (max-width: 620px) {
    font-size: 3.36rem;
  }
}

.main-content h2, .testimonials-block h2 {
  text-transform: uppercase;
  color: var(--primary-color);
  font-size: 4.2rem;
  font-weight: normal;

  @media (max-width: 620px) {
    font-size: 3.36rem;
  }
}

.purple-content h2 {
  font-size: 4.2rem;

  @media (max-width: 620px) {
    font-size: 3.36rem;
  }
}

.main-content h3 {
  color: var(--primary-color);
  font-size: 3.4rem;
  margin-top: 4rem;

  @media (max-width: 620px) {
    font-size: 2.7rem;
  }
}

.main-content h3 strong {
  color: var(--secondary-color);
  font-weight: normal;
}

.main-content p.emphasis strong {
  color: var(--secondary-color);
}

.purple-content h3 {
  font-size: 3.4rem;

  @media (max-width: 620px) {
    font-size: 2.7rem;
  }
}


 
.main-content .rf-block, .main-content .rf-block-2, .purple-content .rf-block, .purple-content .rf-block-2 {
  display: flex;
  justify-content: center;
  text-align: left;
  flex-direction: column;
}

.main-content .rf-block img, .purple-content .rf-block img {
  border-radius: 3rem;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px; 
}

@media (max-width: 820px) {
  .main-content .rf1 .padded-row:nth-of-type(even) .rf-block:last-of-type {
    order: 0;
  }
}

.why-choose {
  background-image: url(/wp-content/uploads/2025/08/pexels-photo-2351865-1920w.jpeg);
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 0;
  padding-top: 2rem;
}

.why-choose::after {
  content: "";
  inset: 0;
  height: 100%;
  width: 100%;
	background-color: rgba(255, 255, 255, 0.9);
  position: absolute;
  z-index: 1;
}

.why-choose .rf-container {
  position: relative;
  z-index: 4;
}

.faq h4 {
  text-align: left;
  margin: 0;
  margin-bottom: 0.5rem;
  padding: 2.2rem 0 2.2rem 2rem;
  background-color: var(--primary-color);
  color: white;
  font-size: 2rem;
  position: relative;
  border-bottom: 0.2rem solid var(--secondary-color);
  cursor: pointer;
}

.faq h4::after {
  content: "\2b";
  font-family: FontAwesome;
  margin-left: 3rem;
  /* background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 0.4rem 0.5rem; */
}

.faq p {
  text-align: left;
}

.faq ul {
  text-align: left;
}

.faq .wp-block-group {
  display: none;
}

.modula-gallery {
  margin: 3rem 0;
}








/* Card & Carousel Styling */

.rf-card  {
  border-top-left-radius: 6rem;
  position: relative;
  background-color: white;
  color: var(--main-text-color);
  padding: 0 3rem 3rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.rf-card h3 {
  color: var(--primary-color);
  line-height: 1.2;
  margin: 7rem 0 1rem;
}

.rf-card p, .rf-card h5 {
  line-height: 1.5;
}

.rf-card::after {
  content: "";
  bottom: 0;
  width: 100%;
  position: absolute;
  left: 0;
  height: 1rem;
  background: linear-gradient(90deg, rgba(236, 0, 140, 1) 0%, rgba(217, 25, 33, 1) 25%, rgba(247, 148, 32, 1) 50%, rgba(255, 242, 0, 1) 75%, rgba(140, 198, 63, 1) 100%);
  z-index: 2;
}

.grey-card {
  background-color: var(--light-grey-color);
}

.step-card {
  margin-top: 6rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.step-card h3 {
  margin: 7rem 0 1rem;
  line-height: 1.2;
  flex: 1 1 auto;
}

.step-card h5 {
  color: black;
  font-size: 1.8rem;
  margin: -1rem 0;
}

.step-card::before {
  content: "";
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(/wp-content/uploads/2025/08/ek_white-1920w.png);
  background-color: var(--secondary-color);
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  height: 6rem;
  width: 6rem;
  border-radius: 50%;
  padding: 2rem;
  position: absolute;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px; 
  transition: 0.5s;
}

.step-card:hover::before {
  background-color: var(--primary-color);
}

.purple-card {
  background-color: var(--primary-color);
  color: white;
  margin-top: 6rem;
  margin-bottom: 2rem;
}

.purple-card h3 {
  line-height: 1.2;
  color: white;
  margin: 7rem 0 1rem;
}

.purple-card::before {
  content: "";
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(/wp-content/uploads/2025/08/ek_white-1920w.png);
  background-color: var(--secondary-color);
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  height: 6rem;
  width: 6rem;
  border-radius: 50%;
  padding: 2rem;
  position: absolute;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px; 
}

.image-card {
  padding: 0;
}

.image-card h3 {
  margin: 0;
  padding: 2rem 3rem 0;
}

.image-card p {
  padding: 0 3rem 3rem;
}

.image-card img {
  height: 30rem;
  object-fit: cover;
  border-top-left-radius: 6rem;
}

.home-page-card {
  text-align: left;
  position: relative;
  overflow: hidden;
  /* z-index: 0; */
  /* min-height: 40rem; */
}

.home-page-card-bg {
  position: absolute;
  content: "";
  inset: 0;
  background-image: url(/wp-content/uploads/2025/08/pexels-photo-1571458.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 0.5s;
}

.home-page-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: 0.5s;

  @media (max-width: 820px) {
    opacity: 0.8;
  }
}

.home-page-card-bg::before {
  content: "\2b";
  font-family: FontAwesome;
  padding: 1.5rem;
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--secondary-color);
  color: white;
  opacity: 1;
  transition: 0.5s;
  border-bottom-left-radius: 2rem;
}

.home-page-card:nth-of-type(2) .home-page-card-bg {
  background-image: url(/wp-content/uploads/2025/08/pexels-photo-265004-800h.jpeg);
}

.home-page-card:nth-of-type(3) .home-page-card-bg {
  background-image: url(/wp-content/uploads/2025/08/pexels-photo-4850617-800h.jpeg);
}

.home-page-card:nth-of-type(4) .home-page-card-bg {
  background-image: url(/wp-content/uploads/2025/08/pexels-photo-1910472-640w.jpeg);
}

.home-page-card:nth-of-type(5) .home-page-card-bg {
  background-image: url(/wp-content/uploads/2025/08/photo-1573168710465-7f7da9a23a15-640w.jpg.jpeg);
}

.home-page-card:nth-of-type(6) .home-page-card-bg {
  background-image: url(/wp-content/uploads/2025/08/pexels-photo-10847200-640w.jpeg);
}

.home-page-card-inner {
  position: relative;
  /* z-index: 2; */
  bottom: 0;
}

.home-page-card h3 {
  color: white;
  text-shadow: 1px 1px 3px #000;

}

.home-page-card-inner p {
  /* display: none; */
  color: white;
  position: relative;
  bottom: -110%;
  transition: 0.5s;
}

.home-page-card:hover .home-page-card-bg {
  transform: scale(1.1);
}

.home-page-card:hover .home-page-card-inner p {
  bottom: 0%;
}

.home-page-card:hover .home-page-card-bg::after {
  opacity: 1;
}

.home-page-card:hover .home-page-card-bg::before {
  opacity: 0;
}

.call-out-card {
  border-top-left-radius: 6rem;
  position: relative;
  background-color: var(--primary-color);
  color: white;
  padding: 3rem;
  margin-bottom: 6rem;
}

.call-out-card h2 {
  color: white;
}

.call-out-card::after {
  content: "";
  bottom: 0;
  width: 100%;
  position: absolute;
  left: 0;
  height: 1rem;
  background: linear-gradient(90deg, rgba(236, 0, 140, 1) 0%, rgba(217, 25, 33, 1) 25%, rgba(247, 148, 32, 1) 50%, rgba(255, 242, 0, 1) 75%, rgba(140, 198, 63, 1) 100%);
  z-index: 2;
}

.rf-card::after {
  content: "";
  bottom: 0;
  width: 100%;
  position: absolute;
  left: 0;
  height: 1rem;
  background: linear-gradient(90deg, rgba(236, 0, 140, 1) 0%, rgba(217, 25, 33, 1) 25%, rgba(247, 148, 32, 1) 50%, rgba(255, 242, 0, 1) 75%, rgba(140, 198, 63, 1) 100%);
  z-index: 2;
}

.beaf-card  {
  border-top-left-radius: 6rem;
  /* height: 50rem; */
  position: relative;
  padding-top: 3rem;
  display: flex;
  justify-content: center;
}

.beaf-card::after {
  content: "";
  bottom: 0;
  width: 100%;
  position: absolute;
  left: 0;
  height: 1rem;
  background: linear-gradient(90deg, rgba(236, 0, 140, 1) 0%, rgba(217, 25, 33, 1) 25%, rgba(247, 148, 32, 1) 50%, rgba(255, 242, 0, 1) 75%, rgba(140, 198, 63, 1) 100%);
  z-index: 2;
}

.cb-carousel-block img {
  height: 45rem;
  object-fit: cover;
  position: relative;
  border-top-left-radius: 6rem;
}

.cb-slide::after {
  content: "";
  bottom: 0;
  width: 100%;
  position: absolute;
  left: 0;
  height: 1rem;
  background: linear-gradient(90deg, rgba(236, 0, 140, 1) 0%, rgba(217, 25, 33, 1) 25%, rgba(247, 148, 32, 1) 50%, rgba(255, 242, 0, 1) 75%, rgba(140, 198, 63, 1) 100%);
  z-index: 2;
}








/* All About Testimonials */

.testimonials-block {
  background-image: url(/wp-content/uploads/2025/08/pexels-photo-2351865-1920w.jpeg);
  background-position: center;
  background-size: cover;
  position: relative;
  background-attachment: fixed;
  z-index: 0;
  padding: 6rem 0 8rem;
}

.testimonials-block::after {
  content: "";
  inset: 0;
  height: 100%;
  width: 100%;
	background-color: rgba(255, 255, 255, 0.9);
  position: absolute;
  z-index: 1;
}

.testimonials-block h2 {
  text-align: center;
}

.testimonials-block .rf-container {
  position: relative;
  z-index: 4;
}

.testimonials-block .date-and-stars {
  text-align: right;
  font-weight: bold;
  color: var(--primary-color);
  float: right;
  padding-top: 3rem;
  width: auto;
}

.testimonials-block .date-and-stars img {
  max-width: 9rem;
  filter: invert(67%) sepia(61%) saturate(4256%) hue-rotate(350deg) brightness(92%) contrast(91%);
}

.testimonials-block .picture-and-name {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  min-height: 6rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary-color);
}

.testimonials-block .picture-and-name img {
  max-width: 5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;  
}

.testimonial-card p {
  line-height: 1.7;
  font-size: 1.6rem;
}

.testimonial-content {
  flex: 1 1 auto;
}









/* Location Bar */
.locations-block {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 3rem;
  text-align: center;
}

.locations-block h3 {
  font-size: 3.4rem;
  color: var(--secondary-color);
}

.locations-block ul {
  text-align: left;
}

.locations-block ul li {
  list-style-type: none;
  padding-left: 1.5rem;
  line-height: 2;
}

.locations-block ul li::marker {
  font-family: FontAwesome;
  content: "\f3c5";
  color: lightblue;
}

.locations-block a {
  text-decoration: underline;
  color: white;
}

.locations-block a:hover {
  color: var(--secondary-color);
}









/* Before and Afters */

/* .bafg-twentytwenty-wrapper {
  height: 45rem;
} */






/* Footer */

footer {
  text-align: center;
  background-image: url(/wp-content/uploads/2025/08/photo-1497366672149-e5e4b4d34eb3-1920w.webp);
  position: relative;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

footer::before {
  content: "";
  inset: 0;
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg,rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0.88) 35%);
  z-index: 1;
}

footer .rf-wide, footer .rf-container, .rf-copyright, .footer-map {
  position: relative;
  z-index: 2;
}

footer h3 {
  color: var(--primary-color);

  @media (max-width: 620px) {
    margin-bottom: 0;
  }
}

footer p {
  line-height: 2.2;
  font-size: 1.6rem;
}

footer nav {
  width: 100%;
}

footer nav > ul > li > a {
  color: var(--primary-color);
  font-size: 1.6rem;
}

.footer-logo {
  padding-top: 4rem;
}

.footer-map {
  height: 50rem;
  width: 100%;
  background-image: url(/wp-content/uploads/2025/08/3-ek-painting-servoce-area-central-pa-1920w.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.footer-nav {
  border-bottom: 1px solid var(--primary-color);

  @media (max-width: 900px) {
    display: none;
  }
}

/* footer .rf-wide {
  gap: 2rem;
} */

footer .rf-block {
  text-align: left;

  @media (min-width: 820px) {
    padding: 0 4rem;
  }

  @media (max-width: 620px) {
    text-align: center;
  }
}

footer .bbb-block {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1.25rem;

  @media(max-width: 620px) {
    display: block;
    text-align: center;
  }
}

footer .bbb-block img {
  max-width: 100%;
  max-height: 10rem;
}

footer .bbb-block p {
  text-align: right;

  @media(max-width: 620px) {
    text-align: center;
  }
}


.rf-copyright {
  background-color: var(--primary-color);
  color: white;
  display: flex;
  font-size: 1.4rem;
  padding: 1.5rem 0;

  @media (max-width: 620px) {
    flex-direction: column;
    gap: 1rem;
  }
}

.rf-copyright div {
  flex: 1 1 auto;
  justify-content: center;
}

.rf-copyright a {
  color: white;
}





/* Buttons */ 

a.button, .wp-block-button a {
  background-color: var(--secondary-color);
  border-radius: 0;
  color: white;
  display: inline-block;
  font-family: var(--button-font);
  font-size: 2.2rem;
  font-weight: normal;
  padding: 1.4rem 3rem;
  text-transform: uppercase;
  text-decoration: none;
	transition: all 0.5s ease;
  line-height: 1.15;
}

a.button:hover, .wp-block-button a:hover {
  background-color: white;
  color: var(--primary-color);
}

.wp-block-buttons {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.center-button {
  justify-content: center;
}

.inverse-button a {
  background-color: white;
  color: var(--secondary-color);
}

.inverse-button a:hover {
  background-color: var(--primary-color);
  color: white;
}








/* WP Forms Styling */
.wpforms-container {
  background-color: var(--secondary-color) !important;
  border-radius: 2rem !important;
  padding: 4rem 2rem !important;

  @media (min-width: 900px) {
    max-width: 80%;
  }
}

.wpforms-field-label, .wpforms-field-sublabel {
  color: white !important;
}

.wpforms-submit {
  background-color: white !important;
  color: var(--primary-color) !important;
}









/* New Classes */

.bigger {
  font-size: 2rem;
}

.bottom-gradient {
  background: linear-gradient(90deg, rgba(236, 0, 140, 1) 0%, rgba(217, 25, 33, 1) 25%, rgba(247, 148, 32, 1) 50%, rgba(255, 242, 0, 1) 75%, rgba(140, 198, 63, 1) 100%);
}

.bring-up {
  margin-top: -16rem;
}

.center {
  text-align: center !important;
}

.orange {
  color: var(--secondary-color) !important;
}

.padded-row {
  padding: 4rem 0;
}

.purple-buffer {
  margin-bottom: 12rem;
}

.turn-white {
  filter: BRIGHTNESS(0) INVERT(1);
}









