/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.1.4
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/



/* Non-interactive lists authored in the Info Box description editor. */
#dm-specialties .uabb-infobox-text ul,
#dm-care-needs .uabb-infobox-text ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  max-width: 960px;
}

#dm-specialties .uabb-infobox-text ul {
  justify-content: center;
}

#dm-specialties .uabb-infobox-text li,
#dm-care-needs .uabb-infobox-text li {
  background: #fff;
  color: #4a5130;
  border-radius: 999px;
  padding: 10px 18px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

#dm-specialties .uabb-infobox-text li {
  border: 1px solid #f3d5c6;
}

/* Decorative star; path is relative to the child theme style.css file. */
#dm-specialties .uabb-infobox-text li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  vertical-align: middle;
  background: url('images/specialty-star.svg') center / contain no-repeat;
}

/* Links within ordinary description text remain visually identifiable. */
#dm-learn-more a,
#dm-service-faq a,
#dm-intake .uabb-infobox-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

/* Required secure form embed. */
#dm-intake-form iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 16px;
}

/* HSA/FSA badge shape; the module Prefix controls set its text typography/color. */
#dm-home-hero .uabb-infobox-title-prefix {
  display: inline-block;
  background: #f3d5c6;
  padding: 6px 14px;
  border-radius: 999px;
}

/* Keep the introduction separate from the card credentials. */

#dm-team-members .dm-team-intro .uabb-infobox-text > p {
  color: #66684f;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

#dm-team-members .dm-team-intro a[href="#dm-intake"] {
  color: #4a5130;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Native column widths control three, two and one cards per line. */
#dm-team-members .dm-team-grid > .fl-col-content > .fl-col-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 28px;
}

/* Clearfix pseudo-elements must not become extra flex items. */
#dm-team-members .dm-team-grid > .fl-col-content > .fl-col-group::before,
#dm-team-members .dm-team-grid > .fl-col-content > .fl-col-group::after {
  display: none;
}

#dm-team-members .dm-team-card-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#dm-team-members .dm-team-card-column > .fl-col-content,
#dm-team-members .dm-team-card,
#dm-team-members .dm-team-card > .fl-module-content,
#dm-team-members .dm-team-card .uabb-infobox,
#dm-team-members .dm-team-card .uabb-infobox > .uabb-infobox-content,
#dm-team-members .dm-team-card .uabb-infobox-text-wrap,
#dm-team-members .dm-team-card .uabb-infobox-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

/* Credentials use a slightly darker rose for readable small text. */
#dm-team-members .dm-team-card .uabb-infobox-text > p:first-child {
  color: #a6503e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 12px;
}

#dm-team-members .dm-team-card .uabb-infobox-text > p:not(:first-child) {
  margin: 0 0 16px;
}

/* All specialties share the same reusable, non-interactive tag styles. */
#dm-team-members .dm-team-card .uabb-infobox-text ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}

#dm-team-members .dm-team-card .uabb-infobox-text li {
  background: #e7eadb;
  color: #4a5130;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* Border, padding, radius and button colors remain in the native settings. */
#dm-team-members .dm-team-card .uabb-infobox-button {
  flex-shrink: 0;
}

#dm-team-members .dm-team-card a.uabb-button:focus-visible,
#dm-team-members .dm-team-card a.uabb-creative-button:focus-visible {
  outline: 2px solid #4a5130;
  outline-offset: 4px;
}

#dm-team-members .dm-team-card-column > .fl-col-content {
  transition: box-shadow .2s, transform .2s;
}

#dm-team-members .dm-team-card-column > .fl-col-content:hover,
#dm-team-members .dm-team-card-column > .fl-col-content:focus-within {
  box-shadow: 0 10px 28px rgba(47, 49, 34, .10);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  #dm-team-members .dm-team-card-column > .fl-col-content {
    transition: none;
    transform: none;
  }
}

#dm-team-members .dm-team-card-column {
  box-sizing: border-box;
  padding-inline: 14px;
}

#dm-team-members .dm-team-card-column > .fl-col-content {
  margin-inline: 0;
}

@media (max-width: 767px) {
  #dm-team-members .dm-team-card-column {
    padding-inline: 0;
  }
}

/* FAQs — append to the child theme style.css.
   Typography, colors, padding, icons and spacing use native module settings.
   This block supplies the shared panel outline, open state and icon badge. */

.dm-faq-accordion .uabb-adv-accordion-item {
  background: #fff;
  border: 1px solid #dcdfcc;
  border-radius: 16px;
  overflow: hidden;
}

.dm-faq-accordion .uabb-adv-accordion-item:has(> .uabb-adv-accordion-button[aria-expanded="true"]) {
  border-color: #f3d5c6;
  box-shadow: 0 6px 20px rgba(184, 95, 75, .08);
}



.dm-faq-accordion .uabb-adv-accordion-content p {
  margin: 0 0 14px;
}

.dm-faq-accordion .uabb-adv-accordion-content p:last-child {
  margin-bottom: 0;
}

.dm-faq-accordion .uabb-adv-accordion-content a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
