/* ==========================================================================
   Tu primera clase (pages/aikido/primera_clase.html) —
   Reuses .page-hero, .kanji-strip, .aikido-article and .aikido-cta-band from
   custom.css; this file only adds the page's own sections. Tokens come from
   custom.css :root (--brand-red, --charcoal-deep, --radius-card, --shadow-soft).
   Brand red stays the single accent.
   ========================================================================== */

.pc-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.pc-intro { margin-bottom: 2rem; }
.pc-intro .lede { text-align: center; }

/* Section headings: the indoor voice — Open Sans, short red rule above */
.pc-h2 {
  font-size: clamp(1.2rem, 1vw + 0.9rem, 1.45rem);
  font-weight: 600;
  color: var(--charcoal-deep, #23303c);
  margin: 0 0 1rem;
}
.pc-h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-red, #ed5565);
  margin-bottom: 0.7rem;
}
.pc-h2-term {
  font-weight: 400;
  font-style: italic;
  color: #68737e;
}

/* Antes de venir + Qué llevar: two quiet cards */
.pc-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}
@media (max-width: 767.98px) {
  .pc-pair { grid-template-columns: 1fr; }
}
.pc-card {
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: var(--radius-card, 14px);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 1px 4px rgba(130, 143, 163, 0.15);
}
.pc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pc-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.pc-list li + li { border-top: 1px solid #f0f2f5; }
.pc-ico {
  flex: 0 0 1.1rem;
  margin-top: 0.22rem;
  text-align: center;
  color: var(--brand-red, #ed5565);
}
.pc-note {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: #68737e;
}

/* Generic section rhythm */
.pc-section { margin-bottom: 2.75rem; }
.pc-section-lede {
  max-width: 65ch;
  font-size: 0.98rem;
  color: #4d5862;
  line-height: 1.7;
}

/* Etiquette photo */
.pc-figure { margin: 1.25rem 0 1.5rem; }
.pc-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 50% 62%;
  border-radius: 12px;
  box-shadow: var(--shadow-soft, 0 10px 28px rgba(35, 48, 60, 0.14));
}
@media (max-width: 575.98px) {
  .pc-figure img { aspect-ratio: 4 / 3; object-position: 30% 60%; }
}
.pc-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #68737e;
  text-align: center;
}

/* Etiquette terms: term on the left, plain explanation on the right */
.pc-terms { margin: 0; }
.pc-term {
  display: grid;
  grid-template-columns: minmax(180px, 15rem) 1fr;
  gap: 0.35rem 1.5rem;
  padding: 0.95rem 0;
  border-top: 1px solid #e7eaee;
}
.pc-term:last-child { border-bottom: 1px solid #e7eaee; }
@media (max-width: 575.98px) {
  .pc-term { grid-template-columns: 1fr; }
}
.pc-term dt {
  margin: 0;
  font-weight: 600;
  color: var(--charcoal-deep, #23303c);
}
.pc-term dt { font-size: 0.98rem; }
.pc-term dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3f4a54;
}
.pc-romaji { overflow-wrap: anywhere; }
.pc-kanji {
  margin-left: 0.35rem;
  font-weight: 400;
  color: var(--brand-red, #ed5565);
}
.pc-more {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: #68737e;
}

/* Cómo es una clase: a real sequence, so a numbered list.
   Desktop: five steps across; phones: a vertical list. */
.pc-steps {
  list-style: none;
  counter-reset: pc-step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 0;
}
@media (max-width: 991.98px) {
  .pc-steps { grid-template-columns: 1fr; gap: 0; }
}
.pc-steps li {
  counter-increment: pc-step;
  position: relative;
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: var(--radius-card, 14px);
  padding: 1.1rem 1rem 1rem;
}
.pc-steps li::before {
  content: counter(pc-step);
  display: block;
  font-family: "Anton", "Arial Narrow", Impact, sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--brand-red, #ed5565);
  margin-bottom: 0.5rem;
}
.pc-steps strong {
  display: block;
  color: var(--charcoal-deep, #23303c);
  margin-bottom: 0.3rem;
}
.pc-steps span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4d5862;
}
@media (max-width: 991.98px) {
  .pc-steps li {
    border: 0;
    border-radius: 0;
    background: transparent;
    border-top: 1px solid #e7eaee;
    padding: 0.9rem 0 0.9rem 3rem;
  }
  .pc-steps li:last-child { border-bottom: 1px solid #e7eaee; }
  .pc-steps li::before {
    position: absolute;
    left: 0.4rem;
    top: 0.85rem;
    margin: 0;
  }
}

/* Para padres: one soft block */
.pc-parents {
  background: #f5f6f8;
  border-radius: var(--radius-card, 14px);
  padding: 1.5rem 1.5rem 1.1rem;
}
.pc-parents p {
  max-width: 65ch;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3f4a54;
}

/* Closing band: let the two buttons wrap cleanly on phones */
.aikido-cta-band .btn { margin: 0.25rem 0.35rem; }
.aikido-cta-band .btn .fa { margin-right: 0.3rem; }
