/* =========================
   Useful Links (Accordion)
   Drop-in styles (no dependencies)
   ========================= */

.pcw-contacts {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

.pcw-contacts__header {
  margin-bottom: 1rem;
}

.pcw-contacts__title {
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.pcw-contacts__notice {
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.03);
}

.pcw-contacts__notice p {
  margin: 0;
}

.pcw-contacts__controls {
  margin: 1rem 0 1.25rem;
}

.pcw-contacts__label {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.pcw-contacts__search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  line-height: 1.2;
}

.pcw-contacts__search:focus {
  outline: 3px solid rgba(0, 90, 255, 0.35);
  outline-offset: 2px;
}

.pcw-contacts__hint {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.pcw-contacts__list {
  display: grid;
  gap: 0.75rem;
}

.pcw-contact-group {
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 14px;
  overflow: clip;
  background: #fff;
}

.pcw-contact-group[open] {
  border-color: rgba(0,0,0,0.25);
}

.pcw-contact-group__summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(0,0,0,0.02);
}

/* Hide default marker */
.pcw-contact-group__summary::-webkit-details-marker { display: none; }
.pcw-contact-group__summary::marker { content: ""; }

.pcw-contact-group__summary:focus {
  outline: 3px solid rgba(0, 90, 255, 0.35);
  outline-offset: -3px;
}

.pcw-contact-group__name {
  font-weight: 700;
}

.pcw-contact-group__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main_color span.pcw-contact-group__chevron,
.pcw-contact-group__chevron {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.6;
  margin-left: 0.25rem;
}

.pcw-contact-group[open] .pcw-contact-group__chevron {
  transform: rotate(225deg);
}

.pcw-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2em;
  height: 1.8em;
  padding: 0 0.55em;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.2);
  font-size: 0.9rem;
  font-weight: 700;
  background: #fff;
}

.pcw-contact-items {
  margin: 0;
  padding: 0.5rem 1rem 0.85rem;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.main_color li.pcw-contact-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0;
}

.pcw-contact-items .pcw-contact-item:first-child {
  border-top: none;
}

.pcw-contact-item__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pcw-contact-item__name {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}

.pcw-contact-item__name a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pcw-contact-item__name a:hover {
  opacity: 0.8;
}

.pcw-contact-item__description {
  font-size: 0.9rem;
  opacity: 0.75;
}

.pcw-contact-item__description p {
  margin: 0;
}

.pcw-contact-item__right {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  flex-direction: column;
  align-items: flex-end;
}

.pcw-contact-item__phone a,
.pcw-contact-item__email a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  white-space: nowrap;
}

.pcw-contact-item__phone a {
  color: inherit;
}

.pcw-contact-item__phone--secondary {
  margin-top: 0.25rem;
}

.pcw-contact-item__phone-break {
  display: block;
  margin: 0.25rem 0;
}

.pcw-contact-item__email a {
  color: inherit;
}

.pcw-contact-item__sep {
  padding: 0 0.35rem;
  opacity: 0.7;
}

.pcw-contact-item__phone--none {
  opacity: 0.65;
}

/* Mobile niceness: stack name/phone if tight */
@media (max-width: 520px) {
  .pcw-contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  
  .pcw-contact-item__right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .pcw-contact-item__right .pcw-contact-item__sep {
    display: none;
  }
}

/* When filtering hides groups */
.pcw-is-hidden {
  display: none !important;
}

