/* ==========================================================================
   Vet Lectures — MCQ post presentation upgrade
   Append this block to the bottom of your existing assets/style.css
   (or link it after style.css). Only adds rules for the new classes the
   post pages now use — nothing here overrides your existing site styles.
   ========================================================================== */

/* ---- Questions ---- */
ol.q-list {
  padding-left: 0;
  list-style: none;
  counter-reset: qnum;
}

ol.q-list > li {
  counter-increment: qnum;
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  margin-bottom: 0.9rem;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fafafa;
}

ol.q-list > li::before {
  content: counter(qnum) ".";
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  font-weight: 700;
  color: #2f6f4f;
}

ol.q-list p.q-text {
  margin: 0 0 0.6rem 0;
  font-weight: 600;
  line-height: 1.5;
}

ul.q-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}

@media (max-width: 560px) {
  ul.q-options { grid-template-columns: 1fr; }
}

ul.q-options li {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ececec;
}

ul.q-options .opt-label {
  font-weight: 700;
  color: #555;
  margin-right: 0.25rem;
}

/* ---- Per-question answer toggle ---- */
.btn-reveal-all {
  background: #2f6f4f;
  color: #fff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
}
.btn-reveal-all:hover { background: #234f38; }

.q-reveal-btn {
  margin-top: 0.7rem;
  background: #fff;
  color: #2f6f4f;
  border: 1.5px solid #2f6f4f;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}
.q-reveal-btn:hover { background: #eef6f0; }
.q-reveal-btn[aria-expanded="true"] {
  background: #2f6f4f;
  color: #fff;
}

.q-answer {
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e2ecf1;
  border-left: 4px solid #2f6f4f;
  border-radius: 10px;
  background: #f6fbf8;
}
.q-answer[hidden] { display: none; }

.q-answer-body > p { margin: 0.4rem 0 0 0; line-height: 1.55; }
.q-answer-body > p:first-child { margin-top: 0; }

.answer-pill {
  display: inline-block;
  margin: 0 0 0.5rem 0;
  padding: 0.25rem 0.7rem;
  background: #2f6f4f;
  color: #fff;
  border-radius: 999px;
  font-size: 0.95rem;
}

.answer-pill strong { color: #fff; font-weight: 700; }

.ans-explain,
.q-answer-body > ul {
  margin: 0.4rem 0 0 0;
  padding-left: 1.2rem;
}

.sub-note {
  margin-top: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: #fff8e6;
  border: 1px dashed #e8cf8a;
  border-radius: 8px;
}

.sub-note h4 {
  margin: 0 0 0.4rem 0;
  font-size: 0.95rem;
  color: #8a6d1d;
}

.extra-note {
  padding: 0.9rem 1rem;
  background: #fff8e6;
  border: 1px dashed #e8cf8a;
  border-radius: 10px;
}
