/* Pastilles repliables HTML5 (<details>/<summary>) + navigation rapide Photos & Albums */

.ao-pastilles-bloc {
  margin: 20px 0;
}

.ao-pastilles-titre {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--violet, #5F297D);
}

.ao-pastilles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  align-items: start;
}

.ao-pastille {
  border: 1px solid var(--bord, #D7C4DF);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .15s, border-color .15s;
}

.ao-pastille[open] {
  border-color: var(--violet, #5F297D);
  box-shadow: 0 4px 14px rgba(95, 41, 125, .10);
}

.ao-pastille-titre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.3;
  color: var(--violet, #5F297D);
  background: #F4F2FE;
}

.ao-pastille-titre::-webkit-details-marker {
  display: none;
}

.ao-pastille-titre::after {
  content: '+';
  flex: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--rose, #F55EAD);
}

.ao-pastille[open] > .ao-pastille-titre {
  border-bottom: 1px solid var(--bord, #D7C4DF);
}

.ao-pastille[open] > .ao-pastille-titre::after {
  content: '–';
}

.ao-pastille-titre:hover,
.ao-pastille-titre:focus-visible {
  background: #ECE7FC;
  outline: 2px solid var(--violet, #5F297D);
  outline-offset: -2px;
}

.ao-pastille-corps {
  padding: 12px 14px;
  font-size: .92rem;
  line-height: 1.5;
  color: #302a39;
}

.ao-pastille-corps p {
  margin: 0 0 8px;
}

.ao-pastille-corps p:last-child,
.ao-pastille-corps ul:last-child {
  margin-bottom: 0;
}

.ao-pastille-corps ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

.ao-pastille-corps li {
  margin-bottom: 4px;
}

/* Navigation rapide Photos & Albums */
.ao-nav-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}

.ao-nav-photos-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--bord, #D7C4DF);
  border-radius: 999px;
  background: #fff;
  color: var(--violet, #5F297D);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.ao-nav-photos-item:hover,
.ao-nav-photos-item:focus-visible {
  background: #F4F2FE;
  border-color: var(--violet, #5F297D);
  color: var(--violet, #5F297D);
  outline: 2px solid var(--violet, #5F297D);
  outline-offset: 1px;
}

.ao-nav-photos-item.actif,
.ao-nav-photos-item[aria-current="page"] {
  background: var(--violet, #5F297D);
  border-color: var(--violet, #5F297D);
  color: #fff;
}

.ao-photo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rose, #F55EAD);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

.ao-photo-badge:empty {
  display: none;
}

.ao-pastille-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 670; object-fit: cover; border-radius: 10px; margin: 0 0 .75rem; }
