.ll-quotes {
  margin: 22px 0;
  padding: 18px;
  background: #eaf0e6;
  border: 1px solid #dce5d8;
  border-radius: 16px;
  min-width: 0;
}
.ll-quotes__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.ll-quotes__toolbar h2 {
  margin: 0;
  color: #075b57;
  font-size: 1.15rem;
}
.ll-quotes__controls {
  display: flex;
  gap: 8px;
}
.ll-quotes__controls[hidden] { display: none; }
.ll-quotes__controls button {
  width: 38px;
  height: 38px;
  border: 1px solid #bdd0c6;
  border-radius: 50%;
  background: #fffdf7;
  color: #075b57;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}
.ll-quotes__controls button:hover { background: #d8e7dc; }
.ll-quotes__track {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #9ab5a7 transparent;
  padding-bottom: 8px;
}
.page-article .layout-content article .ll-quote-card {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  scroll-snap-align: start;
  background: #fffdf7;
  border: 1px solid #dce3d6;
  border-radius: 12px;
  padding: 22px;
  cursor: pointer;
  font-size: .96rem;
}
.page-article .layout-content article a.ll-quote-card__link {
  display: block;
  text-decoration: none;
  color: #294744;
}
.ll-quote-card__author {
  display: block;
  margin-bottom: 10px;
  font-style: italic;
  font-weight: 600;
  color: #075b57;
}
.page-article .ll-quote-card blockquote {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  line-height: 1.45;
}
.ll-quote-card__read {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #075b57;
  font-size: .88rem;
}
.ll-quote-card__read > span { font-size: 26px; }
.page-article .layout-content article .ll-quote-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-top: 1px solid #e3e8dd;
  padding-top: 8px;
  margin-top: 4px;
}
.page-article .layout-content article a.ll-quote-tag {
  background: #eaf0e6;
  border-radius: 20px;
  padding: 4px 11px;
  text-decoration: none;
  font-size: .83rem;
  color: #075b57;
}
.ll-quotes a:focus-visible,
.ll-quotes button:focus-visible {
  outline: 2px solid #075b57;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .ll-quotes { padding: 12px; }
  .page-article .layout-content article .ll-quote-card { padding: 16px; }
}

.page-article .layout-content article .ll-quote-card__tags { flex-direction: row; align-items: flex-start; }
.page-article .layout-content article a.ll-quote-tag { display: inline-block; flex: 0 1 auto; align-self: flex-start; width: fit-content; max-width: 100%; box-sizing: border-box; border-radius: 8px; }

.ll-quotes.ll-glossary { background: #f0ece2; border-color: #e2ddcf; }
.page-article .layout-content article .ll-glossary .ll-quote-card { background: #fffdf7; border-color: #e2ddcf; }
.ll-glossary__term { display: block; font-size: 1.12rem; font-weight: 600; color: #59684a; margin-bottom: 12px; }
.ll-glossary .ll-quotes__controls button { background: #fffdf7; border-color: #d8d3c4; color: #59684a; }
.ll-glossary .ll-quotes__controls button:hover { background: #e5e5d7; }

/* Resources: two-point type increase; preserve introduction and carousel headings. */
.page-article .lifeline-resource h2 { font-size: calc(1.15rem + 2pt) !important; line-height: 1.3 !important; }
.page-article .lifeline-resource h2 a { font-weight: 700; }
.page-article .lifeline-resource p { font-size: calc(.96rem + 2pt) !important; line-height: 1.5 !important; text-align: left; }
.page-article .layout-content article .ll-quote-card { font-size: calc(.96rem + 2pt); }
.page-article .ll-quote-card__read { font-size: calc(.88rem + 2pt); }
.page-article .layout-content article a.ll-quote-tag { font-size: calc(.83rem + 2pt); }
.page-article .ll-glossary__term { font-size: calc(1.12rem + 2pt); }
@media (max-width: 540px) {
  .page-article .lifeline-resource { flex-direction: column; gap: 12px !important; padding: 14px !important; }
  .page-article .lifeline-resource > a { flex: 0 0 auto !important; width: 100%; }
  .page-article .lifeline-resource > a img { width: 100% !important; height: auto !important; aspect-ratio: 2.3; max-height: 170px; object-fit: cover; }
  .page-article .lifeline-resource > div { width: 100%; }
  .page-article .lifeline-resource h2 { margin-bottom: 8px !important; overflow-wrap: anywhere; }
  .page-article .ll-quotes__toolbar { gap: 10px; align-items: center; }
  .page-article .ll-quotes__toolbar h2 { min-width: 0; }
  .page-article .ll-quotes__controls { flex-shrink: 0; gap: 5px; }
  .page-article .ll-quotes__controls button { width: 34px; height: 34px; }
  .page-article .layout-content article .ll-quote-card { padding: 16px; overflow-wrap: anywhere; }
}
