/* ===================================================
   RT101: HELP & CONTACTS DIRECTORY STYLES
   Designed for RecTherapyaz.com (Option 3: Native Accordion)
   =================================================== */

/* --- Introduction & Category Guide --- */
.directory-intro {
  padding: 2rem 0 1.5rem;
  border-bottom: 2px solid rgba(69, 123, 157, 0.15);
  margin-bottom: 2rem;
}

.intro-lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.category-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.legend-item {
  background: #ffffff;
  border: 1px solid rgba(69, 123, 157, 0.15);
  border-left: 4px solid #457b9d;
  border-radius: 4px;
  padding: 0.85rem 1rem;
}

.legend-item.legend-farm {
  border-left-color: #668a78;
}

.legend-item.legend-va {
  border-left-color: #457b9d;
}

.legend-item.legend-private {
  border-left-color: #00bcd4;
}

.legend-item.legend-retreat {
  border-left-color: #e09f3e;
}

.legend-item h4 {
  margin: 0 0 0.35rem 0;
  font-size: 0.95rem;
}

.legend-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* --- County Accordions (<details> / <summary>) --- */
.county-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.county-accordion {
  background: #ffffff;
  border: 1px solid rgba(69, 123, 157, 0.2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.county-accordion[open] {
  border-color: #00bcd4;
}

.county-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #457b9d;
  cursor: pointer;
  user-select: none;
  background-color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
  list-style: none; /* Hides default triangle */
}

.county-summary::-webkit-details-marker {
  display: none;
}

.county-summary:hover {
  background-color: #faf9f6;
  color: #00bcd4;
}

.county-accordion[open] .county-summary {
  background-color: rgba(0, 188, 212, 0.06);
  border-bottom: 1px solid rgba(69, 123, 157, 0.15);
}

.summary-indicator {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: bold;
  color: #457b9d;
  transition: transform 0.2s ease;
}

.county-accordion[open] .summary-indicator {
  transform: rotate(45deg); /* Turns "+" into "x" */
  color: #00bcd4;
}

.listing-count {
  font-size: 0.85rem;
  font-weight: 400;
  color: #668a78;
  margin-left: 0.5rem;
}

/* --- Compact Row Items --- */
.provider-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.provider-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(69, 123, 157, 0.1);
  transition: background-color 0.15s ease;
}

.provider-row:last-child {
  border-bottom: none;
}

.provider-row:hover {
  background-color: #faf9f6;
}

.provider-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.provider-name {
  font-weight: 600;
  color: #457b9d;
  font-size: 1rem;
}

.provider-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.provider-city {
  font-size: 0.9rem;
  color: #668a78;
}

/* --- Category Tags / Badges --- */
.tag-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tag-va {
  background-color: rgba(69, 123, 157, 0.12);
  color: #457b9d;
  border: 1px solid #457b9d;
}

.tag-farm {
  background-color: rgba(102, 138, 120, 0.15);
  color: #446554;
  border: 1px solid #668a78;
}

.tag-private {
  background-color: rgba(0, 188, 212, 0.12);
  color: #008ba3;
  border: 1px solid #00bcd4;
}

.tag-retreat {
  background-color: rgba(224, 159, 62, 0.12);
  color: #a76d19;
  border: 1px solid #e09f3e;
}

/* VSO Legend Border Accent */
.legend-item.legend-vso {
  border-left-color: #2b5c75;
}

/* VSO Tag Badge */
.tag-vso {
  background-color: rgba(43, 92, 117, 0.12);
  color: #2b5c75;
  border: 1px solid #2b5c75;
}


/* --- Profile Action Slot --- */
.provider-action-slot {
  min-width: 110px;
  text-align: right;
}

.btn-profile {
  display: inline-block;
  background-color: #457b9d;
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-profile:hover {
  background-color: #00bcd4;
  color: #ffffff;
}

.empty-county-msg {
  padding: 1.25rem;
  color: #668a78;
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
}
/* ========================================================
   GET INVOLVED (TWO-CARD LAYOUT)
   Direct match to site standard structure
   ======================================================== */
.get-involved-section {
  background-color: #ffffff;
  border-top: 2px solid #e1e7e4;
  padding: 3.5rem 0;
  margin-top: 3rem;
}

.get-involved-grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.involve-card {
  background-color: #faf9f6;
  border: 1px solid #e1e7e4;
  border-radius: 6px;
  padding: 1.75rem;
  text-align: center;
}

.involve-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.involve-card p {
  font-size: 0.95rem;
  color: #4a4a4a;
  margin-bottom: 1.25rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background-color: #00bcd4;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #0097a7;
  color: #ffffff !important;
}
