/**
*  ______   ______  _____      _    __ _____ _______  ______
* | |  | \ | |     | | \ \    | |  / /  | |    | |   | |
* | |__| | | |---- | |  | |   | |-< <   | |    | |   | |----
* |_|  \_\ |_|____ |_|_/_/    |_|  \_\ _|_|_   |_|   |_|____
*
* Theme Name:    Compass Ag Solutions 2024
* Theme URI:     https://compassagsolutions.com
* Author:        Debbie Campbell
* Author URI:    https://www.redkitecreative.com
* Description:   A custom child theme using Kadence Pro parent theme.
* Template:      kadence
* Version:       1.0.0
* License:       GNU General Public License v3.0 (or later)
* License URI:   https://www.gnu.org/licenses/gpl-3.0.html
*/
/* Variables
-------------------------------------------------- */
/* Defaults
--------------------------------------------- */
.entry-content a:not(.kt-button),
.entry-content a:not(.button) {
  border-bottom: 0;
  font-weight: 700;
  padding-bottom: 0;
}
.entry-content ul li {
  margin-bottom: 0.4em;
}

h2.comments-title {
  font-size: 28px;
}

.wp-block-kadence-postgrid a,
.wp-block-kadence-postgrid a:hover {
  border-bottom: none;
  padding-bottom: 0;
}

#comments h3.comment-reply-title {
  font-size: 22px;
}

@media (max-width: 700px) {
  figure.alignright, figure.alignleft {
    float: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center;
  }
}

.wp-block-kadence-image figcaption {
  text-align: center;
}

.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6 {
  margin: 1em 0 0.5em;
}

/* Custom
--------------------------------------------- */
.site-header {
  border-bottom: 6px solid #552505;
}
@media (max-width: 1024px) {
  .site-header {
    border-bottom: 4px solid #FEBD3B;
  }
}
.site-header #secondary-menu li .menu-label-icon {
  margin-right: 6px;
}
.site-header #secondary-menu li a {
  color: #d28c01;
  font-size: 23px;
  font-weight: 700;
  padding-top: 0;
  padding-bottom: 0;
}
.site-header #secondary-menu li a:hover {
  color: #552505;
}
.site-header a.brand {
  background: #fff;
  border-bottom: 6px solid #552505;
  overflow: visible;
  padding: 10px;
  padding-bottom: 10px;
  position: absolute;
  top: 0;
  z-index: 50;
}
@media (max-width: 1024px) {
  .site-header a.brand {
    border: 0;
    overflow: hidden;
    padding: 5px 10px;
    position: relative;
  }
}

header.entry-header.page-title h1.entry-title {
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.repeater-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px 15px;
  text-align: center;
}
.repeater-wrapper .person {
  width: calc(20% - 15px);
}
@media (max-width: 1023px) {
  .repeater-wrapper .person {
    width: calc(33.333% - 15px); /* Three columns on tablets */
  }
}
@media (max-width: 640px) {
  .repeater-wrapper .person {
    width: calc(100% - 15px); /* One column on mobile */
  }
}
.repeater-wrapper .person .headshot img {
  display: block;
  height: auto;
  margin: 0 auto 10px;
  max-width: 100%;
}
.repeater-wrapper .person .name {
  font-size: 1.1em;
  line-height: 1.2em;
  margin-bottom: 0.4em;
}
.repeater-wrapper .person .title, .repeater-wrapper .person .phone {
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 0.3em;
}