/* As Sunnah Audio Enhancer v1.1.0 — page 18 only */
.asae-toolbar {
  position: sticky;
  top: 76px;
  z-index: 60;
  background: #fffdf7;
  border: 1px solid #ede8dc;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(26, 92, 58, .10);
  padding: 14px 16px;
  margin-bottom: 30px;
  font-family: 'Hind Siliguri', sans-serif;
}
.asae-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.asae-chips { margin-bottom: 10px; }
.asae-chip {
  border: 1.5px solid #1a5c3a;
  background: #fff;
  color: #1a5c3a;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}
.asae-chip:hover, .asae-chip:active { background: linear-gradient(90deg, #1a5c3a, #2d7a4f); color: #fff; }
.asae-search {
  flex: 1 1 210px;
  border: 1.5px solid #d8d2c0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
  min-width: 0;
}
.asae-search:focus { outline: none; border-color: #1a5c3a; }
.asae-toggle, .asae-sleep {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: #1a1a1a;
  white-space: nowrap;
}
.asae-toggle input { width: 17px; height: 17px; accent-color: #1a5c3a; }
.asae-sleep select {
  border: 1.5px solid #d8d2c0; border-radius: 8px; padding: 6px 8px;
  font-family: inherit; font-size: 13.5px; background: #fff;
}
.asae-sleep-status { font-size: 12.5px; color: #8a6d1f; font-weight: 600; }
.asae-empty { margin-top: 10px; font-size: 14px; color: #a33; font-weight: 600; }

.elementor-element-d9dc3d0 [id^="asae-sec-"] { scroll-margin-top: 190px; }

.asae-catlinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.asae-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  font-family: 'Hind Siliguri', sans-serif; line-height: 1.3;
}
.asae-pill-pdf { background: #f4ecd4; color: #7a5c10; border: 1px solid #ddc887; }
.asae-pill-zip { background: linear-gradient(90deg, #1a5c3a, #2d7a4f); color: #fff; border: 1px solid #1a5c3a; }

.asae-share {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  align-self: flex-start;
  background: #fff; color: #128c4a;
  border: 1.5px solid #25d366; border-radius: 8px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  text-decoration: none; font-family: 'Hind Siliguri', sans-serif; line-height: 1;
}
.asae-share:hover { background: #e9fbeF; }

@media (max-width: 720px) {
  /* mobile: toolbar is compact and scrolls away with the page — it must
     never cover the audio cards */
  .asae-toolbar { position: static; top: auto; padding: 10px; margin-bottom: 22px; }
  .asae-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .asae-chips::-webkit-scrollbar { display: none; }
  .asae-chip { flex: 0 0 auto; padding: 5px 11px; font-size: 12.5px; }
  .asae-search { flex-basis: 100%; font-size: 14px; padding: 8px 10px; }
  .asae-toggle, .asae-sleep { font-size: 12.5px; }
  .asae-sleep select { padding: 5px 6px; font-size: 12.5px; }
}

/* ---------- listening-rules collapsible ---------- */
.asae-guide { margin: 18px 0 6px; }
.asae-guide-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; cursor: pointer; list-style: none;
  background: linear-gradient(90deg, #1a5c3a, #2d7a4f); color: #fff;
  border: none; border-radius: 12px; padding: 14px 18px;
  font-family: 'Hind Siliguri', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4;
}
.asae-guide-btn::-webkit-details-marker { display: none; }
.asae-guide-chev { font-size: 18px; transition: transform .2s; flex: 0 0 auto; }
.asae-guide[open ] .asae-guide-chev { transform: rotate(180deg); }
.asae-guide-body { background: #fffdf7; border: 1px solid #ede8dc; border-top: none; border-radius: 0 0 12px 12px; padding: 6px 18px 16px; }
