/*
Theme Name: Krowd Child
Description: Child theme for the Krowd themes
Author: gaviathemes
Template: krowd
*/

/* Single Treatment page: hide featured image + date */
body.single-treatments .post-thumbnail,
body.single-treatments .entry-meta .posted-on,
body.single-treatments .entry-date,
body.single-treatments time.entry-date,
body.single-treatments .elementor-post-info__item--type-date,
body.single-treatments .elementor-post-info__item--date {
  display: none !important;
}

  /* Optional: tighten the gap after the linked title */
  .ref-break { line-height: 0.6; }
  
  /* layout & spacing */
.rt-layout-filter-container,
.rt-filter-wrap,
.rt-filter-button-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}


/* Center the whole filter bar */
.rt-layout-filter-container,
.rt-filter-wrap,
.rt-filter-button-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;      /* ⬅ center align */
  gap: .5rem .6rem;
  text-align: center;
}

/* Bigger, padded pill buttons */
.rt-filter-button-item {
  display: inline-block;
  padding: 0.7rem 1.25rem;      /* ⬅ more padding */
  font-size: 1.05rem;           /* ⬅ larger text */
  line-height: 1.2;
  border-radius: 9999px;        /* pill shape */
  background: #f2f4f7;
  border: 1px solid #e5e7eb;
  color: #111827;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.rt-filter-button-item:hover { background: #e9eef5; border-color: #d7dde6; transform: translateY(-1px); }
.rt-filter-button-item.selected { background: #0ea5e9; border-color: #0ea5e9; color: #fff; box-shadow: 0 6px 14px rgba(14,165,233,.2); }


/* Cut long fade/transition delays that TLP adds */
.rt-team-container .animated { 
  animation-duration: .12s !important; 
  animation-delay: 0s !important; 
}
.rt-team-container .rt-row,
.rt-team-container .rt-grid-item {
  transition-duration: .12s !important;
  transition-delay: 0s !important;
}


.rt-filter-item-wrap.rt-filter-button-wrap span.rt-filter-button-item.selected,.rt-filter-item-wrap.rt-filter-button-wrap span.rt-filter-button-item:hover, .rt-filter-button-item:hover {
    border-color: #fa943f;
    background: #fa943f;
    color: #ffffff;
}

/* selected state (active filter) */
.rt-filter-button-item.selected {
  background: #fa943f;              /* brand-ish blue */
  border-color: #fa943f;
  color: #fff;
  box-shadow: 0 6px 14px rgba(14,165,233,.25);
}

/* focus (keyboard users) */
.rt-filter-button-item:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14,165,233,.35);
}

/* compact on small screens, expand on large */
@media (max-width: 480px) {
  .rt-filter-button-item { 
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 0.55rem 1rem;
  }
}
@media (max-width: 540px) {
  .rt-filter-button-item { font-size: 1rem; padding: 0.6rem 1.1rem; }
}

@media (min-width: 1024px) {
  .rt-filter-button-item {
    font-size: 1.1rem;
    padding: 0.65rem 1.2rem;
  }
}

/* description box styling */
.tdd-term-desc{
  margin: .75rem 0 0;               /* now below the filter */
  padding: .9rem 1rem;
  background: #f7f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-top: 1rem; /* sits below the filter */
  margin-bottom: 3rem;
}

.tdd-term-title {
  margin: 1rem 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a; /* dark navy/black, change to match site */
  text-transform: none;
}

.tdd-term-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

/* Hide the "No more member to load" text completely */
.rt-no-more-post,
.rt-loadmore-btn.rt-hidden {
  display: none !important;
}



