/*!
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
-------------------------------------------------------------- */

:root {
  --dbd-primary: #8b181b;
}

/*
Meet the Team Accordion
-------------------------------------------*/

.dbd-accordion-item {
  margin-bottom: 15px;
}

.dbd-accordion-trigger {
  background-color: var(--dbd-primary);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  gap: 1rem;
}

.dbd-accordion-trigger:hover,
.dbd-accordion-trigger.dbd-open {
  background-color: var(--dbd-primary);
}

.dbd-trigger-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dbd-logo-icon {
  width: 45px;
  height: auto;
}

.dbd-trigger-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

h3.dbd-name {
  margin: 0 !important;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.dbd-position {
  font-size: 1.2rem;
}

.dbd-toggle-icon {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

.dbd-accordion-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  border: 1px solid #ddd;
  border-top: none;
  padding: 0;
}

.dbd-accordion-panel.dbd-open {
  opacity: 1;
  margin-bottom: 1.5rem;
}

.dbd-panel-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.dbd-panel-image {
  flex: 0 0 200px;
}

.dbd-panel-image img {
  width: 200px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.dbd-panel-image h3 {
  margin-bottom: 0 !important;
}

.dbd-panel-image p {
  margin-bottom: 0.2rem !important;
}

.dbd-panel-text {
  flex: 1 1 0;
}

.dbd-panel-text h3 {
  margin-top: 0;
}

@media (max-width: 950px) {
  .dbd-panel-inner {
    flex-direction: column;
    padding: 1.5rem;
  }
}
