/* The same reading palette and section rhythm as japa-time.html. */
.arati-wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 36px 20px 80px;
  color: #1a237e;
}
.arati-wrap .section-title {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 12px;
  color: #4a0072;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}
.arati-wrap .section-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #7b1fa2, #ff9800);
  content: '';
  transform: none;
}
.arati-intro {
  max-width: 72ch;
  margin: 0 0 40px;
  color: #37474f;
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left;
}
.arati-back {
  display: inline-block;
  margin: 0 0 26px;
  color: #4a0072;
}
.arati-back:hover,
.arati-card a:hover { text-decoration: underline; }
.arati-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
  margin: 22px 0 46px;
}
.arati-card,
.arati-section {
  border: 1px solid #f3e5f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}
.arati-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}
.arati-card h3 {
  margin: 0;
  color: #4a0072;
  font-size: 1.28rem;
  line-height: 1.4;
}
.arati-card p {
  margin: 0;
  color: #37474f;
  line-height: 1.6;
}
.arati-card a {
  margin-top: auto;
  color: #4a0072;
  font-weight: 700;
}
.arati-kicker {
  color: #7b1fa2;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.arati-section {
  margin: 18px 0;
  overflow: hidden;
}
.arati-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: #4a0072;
  cursor: pointer;
  font-size: clamp(1.12rem, 3vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}
.arati-section > summary::-webkit-details-marker { display: none; }
.arati-section > summary::after {
  display: inline-grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3e5f5;
  color: #4a0072;
  content: '+';
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color .2s ease, transform .2s ease;
}
.arati-section > summary:hover::after,
.arati-section > summary:focus-visible::after {
  background: #e1bee7;
  transform: scale(1.08);
}
.arati-section[open] > summary::after { content: '−'; }
.arati-section > summary:focus-visible {
  outline: 2px solid #7b1fa2;
  outline-offset: -4px;
}
.arati-section-body {
  padding: 22px;
  border-top: 1px solid #f3e5f5;
}
.arati-prose {
  margin: 0 0 18px;
  color: #37474f;
  font-size: 1.03rem;
  line-height: 1.68;
  white-space: pre-line;
}
.arati-prose:last-child { margin-bottom: 0; }
.arati-prayer-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.arati-prayer {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e1bee7;
  border-radius: 12px;
  background: #f5f9ff;
}
.arati-prayer h3 {
  margin: 0 0 12px;
  color: #4a0072;
  font-size: 1rem;
}
.arati-prayer pre {
  margin: 0;
  color: #263238;
  font: inherit;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.arati-note {
  margin: 36px 0 0;
  color: #7e57c2;
  font-size: .95rem;
}
@media (max-width: 700px) {
  .arati-wrap { padding: 36px 0 70px; }
  .arati-prayer-pair { grid-template-columns: 1fr; }
  .arati-section > summary, .arati-section-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .arati-section > summary::after { transition: none; }
}
