/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/**********************
Colour Pallete
**********************/

:root {
  --vtv-blue: #2b597c;
  --vtv-green: #80a140;
}

/*Global */

.container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

.body.is-admin {
  top: 32px;
}

.single-post .content-area {
  background-image: url(./images/family-fishing-uncropped.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-blend-mode: screen;
  background-position: center bottom 30%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3rem 0;
}
/**********************
Header 
**********************/

#main-header {
  box-shadow: 2px 2px 5px #333;
}

.btn {
  display: inline-block;
  padding: 1rem;
  text-decoration: none;
}

.dbd-page-title {
  position: relative;
}

.dbd-page-title::after {
  content: '';
  width: 100px;
  height: 7px;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--vtv-green);
}

#primary-menu li {
  margin: 0 0.2rem;
}

/*=====================
Content Areas
=====================*/

p {
  margin-bottom: 0.7rem;
}

.wb-blog-post-slider .splide .splide__arrow--prev {
  left: -5em;
}

.wb-blog-post-slider .splide .splide__arrow--next {
  right: -5em;
}

.dbd-home-header-intro-tel a {
  text-decoration: none !important;
  color: inherit;
}

/*=====================
Blog
=====================*/

.dbd-category-list ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.dbd-category-list ul li a {
  display: block;
  margin: 0.3rem;
  background-color: var(--vtv-blue);
  padding: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  border-radius: 4px;
}

.dbd-category-list ul li a:hover {
  background-color: rgb(45, 55, 72);
}

.dbd-blog-search .wp-block-search__label {
  display: none;
}

.dbd-blog-search .wp-block-search .wp-block-search__button {
  background-color: var(--vtv-blue);
  color: #fff;
}

/*=====================
Custom ACF Blocks
=====================*/

/* Valuation Day Repeater */

.valuation-location {
  display: flex;
  margin: 0.5rem 0.3rem;
  padding: 1rem 0.5rem;
  border-bottom: solid 1px #fff;
}

.valuation-location:last-of-type {
  border-bottom: none;
}

.location-icon {
  width: 20px;
  margin-right: 1rem;
}

.valuation-day-details {
  width: 95%;
}

.valuation-location p {
  color: #fff;
}

.single-content p.valuation-day-address {
  margin-bottom: 5px;
  font-weight: 400;
  line-height: 1.5;
}

.valuation-day-meta {
  display: flex;
  flex-direction: column;
}

.valuation-day-date span,
.valuation-day-time span {
  font-weight: 600;
}

.no-content-message {
  color: #fff;
}

/*=====================
Footer
=====================*/

.wb-site-footer {
  background-color: #2d3748;
  border-top: solid 5px var(--vtv-green);
}

.wb-site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  text-align: center;
}

.wb-site-footer h3 {
  margin-bottom: 0.4rem;
}

.wb-site-footer p {
  color: #fff;
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 0;
}

.footer-col {
  margin-bottom: 3.5rem;
}

.footer-col-1 span {
  color: var(--vtv-green);
  font-weight: 700;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social-links {
  display: flex;
  justify-content: center;
}

.footer-social-links a {
  margin: 0 0.2rem;
}

.footer-about p {
  font-size: 0.95em;
}

.footer-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.9em;
  color: var(--vtv-green);
  text-decoration: none;
}

.footer-col-3 ul {
  margin: 0;
}

.footer-col-3 ul a {
  display: inline-block;
  color: #fff;
  font-weight: 400;
  font-size: 0.9em;
  text-decoration: none;
  margin-bottom: 0.2rem;
}

.footer-col-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ghof-logo {
  display: flex;
  text-align: center;
  margin-top: 0.7rem;
}

.ghof-logo p {
  font-size: 0.8em;
  margin-right: 0.8rem;
  text-align: center;
}

.sub-footer {
  border-top: solid 1px #ccc;
}

.sub-footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5em 0;
  text-align: center;
}

.sub-footer-left {
  margin-bottom: 1rem;
}

.sub-footer-left p {
  font-size: 0.9em;
  margin: 0;
  line-height: 1.4em;
}

.dbd {
  color: #000;
  font-size: 0.75em;
  line-height: 2.2em;
  text-decoration: none;
}

.dbd span {
  color: #36af96;
}

/*=====================
Media Queries
=====================*/

/* Desktop */

@media (min-width: 1251px) {
  .site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .site-header .header-right {
    width: 65%;
    justify-content: space-between;
  }

  .main-nav {
    display: flex;
    align-items: center;
  }

  .mobile-nav-toggle-container {
    display: none;
  }

  .header-contact {
    display: flex;
  }

  /* ACF BLOCKS */
  .valuation-day-meta {
    display: flex;
    flex-direction: row;
  }

  .valuation-day-date {
    margin-right: 3rem;
  }

  /* Blog Styles */

  /* Footer Styles */

  .footer-col {
    margin-bottom: 0;
    max-width: 30%;
  }

  .wb-site-footer .container,
  .sub-footer .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }

  .footer-social-links {
    justify-content: flex-start;
  }

  .footer-col-4 {
    padding-top: 1rem;
  }

  .ghof-logo {
    flex-direction: row;
  }

  .sub-footer-left {
    margin-bottom: 0;
  }
}

/* Tablets Landscape */
@media (min-width: 901px) and (max-width: 1250px) {
  .footer-col-2 {
    max-width: 70%;
  }
}

/* Tablets Portrait */
@media (min-width: 601px) and (max-width: 900px) {
}

/* Mobiles*/
@media (max-width: 600px) {
  .site-header .logo-wrap {
    margin: 1rem 0;
    width: 65%;
  }

  .site-header .header-right {
    width: 25%;
  }
  .mobile-nav-wrap {
    font-size: 0.6em;
  }

  .dbd-blog-search .wp-block-search__inside-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .dbd-blog-search .wp-block-search__input {
    width: 100%;
  }

  .dbd-blog-search .wp-block-search__button {
    margin: 0.6rem 0 0 0;
  }

  .sub-footer .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .sub-footer p {
    padding: 0 0.5em;
  }
}
