/*
 Theme Name: Kadence Child
 Theme URI: https://www.kadencewp.com/
 Description: A child theme for the Kadence theme
 Author: Dap Develeopment
 Author URI: https://www.chicagopediatrictherapyandwellness.com/
 Template: kadence
 Version: 1.0.0
*/

/* Blog Archive Styling */
.insights-hero {
    height: 520px;
    background-size: cover;
    background-position: center;
}

.h1-white {
    font-size: 58px;
    color: #fff;
    font-family: poppins;
    font-weight: 800;
}

.insights-nav {
  border-bottom: 1px solid #e5e5e5;
  position: relative; /* allows progress bar positioning */
}

.insights-nav li {
  list-style: none;
  padding-bottom: 0.5rem;
}

.insights-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.25rem 0;
  display: inline-block;
}

.insights-nav .current-cat a {
  color: #009b4d;
  font-weight: 700;
}

/* progress underline */
.insights-progress {
  position: absolute;
  bottom: -1px; /* align with grey border */
  height: 3px;
  background: #009b4d;
  transition: all 0.3s ease;
  left: 0;
  width: 0;
}



/* featured Card */

.insights-featured-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  min-height: 450px; /* adjust for height */
  display: flex;
  align-items: center;
}

.insights-featured-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.insights-featured-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insights-featured-bg .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(3, 152, 77, 0.9);
}

.insights-featured-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 600px;
}

/* News Sidebar */

.sidebar-topnews{
    border-left: 4px solid #03984D;
    padding: 20px;
    margin: 25px;
}

/* CTA Section */

.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-bg {
  z-index: 1;
}
.cta-overlay {
  z-index: 2;
}
.cta-section .container {
  z-index: 3;
  position: relative;
}
#colophon {
    margin-top: 0px!important;
}
.card .gfield_label{
    float: left;
}

.card-body{
    background-color: #E9F2F6;
}

.card .gform_footer{
    justify-content: center;
} 

/* Gravity Forms input field text fix */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper textarea {
  color: #212529 !important; /* Bootstrap default text color */
}

/* Optional: placeholder styling */
body .gform_wrapper ::placeholder {
  color: #6c757d; /* muted gray like Bootstrap */
  opacity: 1; /* make sure it’s visible */
}


/* Make sure the intl-tel-input wrapper behaves properly */
.iti {
  position: relative;
  width: 100%;
}

/* Input field */
.iti input {
  width: 100%;
  padding-left: 80px !important; /* create space for flag + dial code */
  box-sizing: border-box;
}

/* Flag container (the dropdown trigger) */
.iti__flag-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  margin: auto;
  display: flex;
  align-items: center;
  z-index: 5; /* ensures it's above the input */
}

/* Make sure the dropdown menu is above everything */
.iti__country-list {
  z-index: 9999;
}

/* tag view box */
.single-head__content__tagsviews {
  background: #f6fbf8; /* light greenish background */
  border: 1px solid #009444; /* green border */
  border-radius: 12px;
}

.author-expertise-items_item {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #009444;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: all 0.2s ease;
}

.author-expertise-items_item:hover {
  background: #009444;
  color: #fff;
}

.post-views {
  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.post-meta-inline {
  display: flex;
  align-items: center;
  gap: 8px; /* spacing between items */
  font-weight: 600;
  font-size: 16px;
  color: #198754; /* green */
  text-transform: uppercase;
}

.post-meta-inline .post-meta-category,
.post-meta-inline .post-meta-date {
  color: #198754;
  text-decoration: none; /* removes underline */
}

.post-meta-inline .dot-separator {
  color: #198754;
  font-weight: bold;
}

.our-team__members__member__social__item svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  fill: #2c994d; /* allows it to inherit text color */
}

.our-team__members__member__social__item--linkedin {
  color: #0A66C2; /* LinkedIn blue */
}

.our-team__members__member__social__item--email {
  color: #333; /* or any email color */
}

.avatar .photo{
    border-radius: 50px!important;
}

.author-expanded-box {
  background: #f8f9fa; /* light grey */
  border: 1px solid #e0e0e0;
}
.author-expanded-box img {
  border-radius: 50%;
}

.author-btn{
    cursor: pointer!important;
}

.blog-gf-form{
    background-color: #6AB165;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom:5px;
    padding-top: 20px;
    border-radius: 15px;
}

.blog-gf-form .gform_fields{
    grid-row-gap: 0px!important;
}

.blog-gf-form .gfield_label{
    color: #fff;
}

.sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 100px; /* adjust so it clears your fixed header */
}

/* author page */

.author-expertise h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.expertise-pill {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 2px solid #03984D;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
  background: rgba(31, 182, 115, 0.2);
  transition: all 0.3s ease;
}

.social-single .our-team__members__member__social__item--email {
    color: #333;
    padding: 15px;
    border: 2px solid #03984D;
    border-radius: 10px;
    background: rgba(31, 182, 115, 0.2);
}

.social-single .our-team__members__member__social__item--linkedin{
    color: #333;
    padding: 15px;
    border: 2px solid #03984D;
    border-radius: 10px;
    background: rgba(31, 182, 115, 0.2);
}

.social-single .our-team__members__member__social__item svg {
  width: 30px;
  height: 30px;
}

.single-main__body__content img.alignleft {
  display: block;
  float: none !important;   /* prevent wrapping */
  margin: 0 auto 1.5rem 0;  /* space below image */
}



/* Mobile adjustments */
@media (max-width: 767px) {
  .insights-nav {
    overflow-x: auto;      /* allow horizontal scrolling */
    white-space: nowrap;   /* keep items on one line */
    gap: 1rem;             /* slightly tighter gap */
    padding-bottom: 0.5rem;
    scrollbar-width: none; /* hide scrollbar on Firefox */
  }

  .insights-nav::-webkit-scrollbar {
    display: none;         /* hide scrollbar on WebKit */
  }

  .insights-nav li {
    flex: 0 0 auto;        /* prevent shrinking */
  }

  .insights-progress {
    bottom: 0;             /* ensure underline stays visible */
  }
  .h1-white{
        font-size: 30px;
    }
}
