/*!
Theme Name: clarkgreen
Theme URI: https://underscores.me/
Author: Automattic
Author URI: https://automattic.com/
Description: Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: clarkgreen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

_s is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Typography
# Menu
# Featured Image
# Front-page
# Footer
# Forms
# Utilities
----------------------------------------------------------------
/* Typography
--------------------------------------------- */
p {
  font-family: var(--wp--preset--font-family--dh-heebo) !important;
}
/* Menu
--------------------------------------------- */
.preheader {
  background-color: var(--wp--preset--color--background);
}

.preheader a {
  color: var(--wp--preset--color--main);
}

.menu-main-menu-container {
  background-color: var(--wp--preset--color--50-black);
  border-radius: 16px;
}

#menu-main-menu li > a {
  color: var(--wp--preset--color--main);
}

ul.dropdown-menu {
  background-color: var(--wp--preset--color--50-black);
}

#menu-main-menu li > a:hover {
  background-color: var(--wp--preset--color--20-black) !important;
}

#menu-main-menu .dropdown-menu {
  margin-top: 17px;
}

/* Featured Image
--------------------------------------------- */
#primary {
  margin-top: -256px;
}

.featured-image-container {
  position: relative;
  height: 45vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.featured-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgb(0 0 0 / 0.2);
}

.featured-text-container h1 {
  margin-bottom: 0px !important;
}

.featured-image-container .featured-text-container {
  color: #ffffff;
  position: relative;
  z-index: 2;
}

/* Front-page
--------------------------------------------- */
div.home-button a:hover {
  background-color: #596a5a !important;
}

p.preheader-block {
  width: fit-content;
  border-radius: 16px;
}

/* Services
--------------------------------------------- */
.services-overlay .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

div.services-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0.25) 0%,
    rgb(0 0 0 / 0.35) 20%,
    rgb(0 0 0 / 0.45) 40%,
    rgb(0 0 0 / 0.55) 60%,
    rgb(0 0 0 / 1) 100%
  );
}

.heading-group {
  width: 60%;
}

@media (max-width: 991.98px) {
  .heading-group {
    width: 75%;
  }
}

@media (max-width: 575.98px) {
  .heading-group {
    width: 95%;
  }
}

/* Footer
--------------------------------------------- */
.widget h2 {
  color: var(--wp--preset--color--background);
}

.widget p,
.widget p > a {
  color: #596a5a !important;
}

div.copyright {
  background-color: #f8fbf3;
  padding-top: 30px;
  padding-bottom: 30px;
}

.widget a {
  text-decoration: none;
}

.widget a:hover {
  text-decoration: underline;
}

.site-info span {
  color: #596a5a;
}

/* Forms
--------------------------------------------- */
.widget .gform_heading h2,
.widget .gform_heading p {
  display: none;
}

#gform_2 {
  display: flex;
  flex-direction: row;
}

.widget .gform-footer.gform_footer.top_label {
  margin-top: 0px;
}

.widget #gform_submit_button_2 {
  background-color: var(--wp--preset--color--background);
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Force Font Awesome in Gravity Forms submit button 2 */
#gform_submit_button_2 i.fa-solid {
  font-family: "Font Awesome 6 Pro" !important;
  font-weight: 900 !important;
}

/* Make sure the proper glyph is used */
#gform_submit_button_2 i.fa-arrow-right::before {
  content: "\f061"; /* arrow-right in FA6 */
  display: inline-block;
}

/* Utilities
--------------------------------------------- */
.underline-gold-start-sm {
  position: relative;
}

.underline-gold-start-sm::after {
  position: absolute;
  content: "";
  left: 0px;
  top: 36px;
  width: 40px;
  border-bottom: 4px solid #b1976b;
}

.underline-gold-start-lg {
  position: relative;
}

.underline-gold-start-lg::after {
  position: absolute;
  content: "";
  left: 0px;
  top: 46px;
  width: 40px;
  border-bottom: 4px solid #b1976b;
}

.underline-gold-start-p {
  position: relative;
}

.underline-gold-start-p::after {
  position: absolute;
  content: "";
  left: 0px;
  bottom: 25px;
  width: 20px;
  border-bottom: 2px solid #b1976b;
}

.underline-gold-mid {
  position: relative;
}

.underline-gold-mid::after {
  position: absolute;
  content: "";
  left: 50%;
  bottom: -10px;
  width: 100px;
  margin-left: -50px;
  border-bottom: 1px solid #b1976b;
}

.no-underline a {
  text-decoration: none !important;
}

.hero-img-height {
  min-height: calc(100vh - 186.36px);
}

.max-w-200 {
  max-width: 200px;
}
