/* ============================================================
   ca-post.css — daily current-affairs "learning object" pages
   (/current-affairs/<date>/<slug>/). Loaded after landing.css +
   subpage.css; reuses their tokens/nav/btn/footer/subhero/crumbs.
   ============================================================ */

.lo-wrap { max-width: 780px; margin-inline: auto; }

/* Tag row + Oracle Score bar in the hero */
.lo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.lo-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 11px; border-radius: 100px; background: var(--bg-tint); color: var(--navy); }
.lo-tag--cat { background: rgba(226,103,15,0.12); color: var(--saffron); }

.lo-scorebar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow-sm); }
.lo-score { display: flex; align-items: baseline; gap: 5px; }
.lo-score b { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--saffron); }
.lo-score span { color: var(--muted); font-size: 0.95rem; }
.lo-score em { display: block; font-style: normal; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.lo-band { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.lo-band--must_read { background: rgba(226,103,15,0.12); color: var(--saffron); }
.lo-band--useful { background: rgba(17,43,76,0.08); color: var(--navy); }
.lo-band--if_time { background: var(--bg-tint); color: var(--ink-soft); }
.lo-prob { font-size: 0.86rem; color: var(--ink-soft); }
.lo-prob b { color: var(--ink); font-weight: 600; }

/* Content blocks */
.lo-block { margin-top: clamp(30px, 5vw, 46px); }
.lo-block__label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); margin-bottom: 12px; }
.lo-block h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; margin-bottom: 14px; }
.lo-block p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.72; margin-bottom: 14px; }
.lo-block p:last-child { margin-bottom: 0; }

/* Syllabus path chips */
.lo-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lo-path__chip { font-size: 0.84rem; padding: 7px 13px; border-radius: 10px; background: var(--bg-tint); color: var(--ink); border: 1px solid var(--line); }
.lo-path__sep { color: var(--muted); }

/* MCQs */
.lo-mcq { display: flex; flex-direction: column; gap: 12px; }
.lo-q { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; box-shadow: var(--shadow-sm); }
.lo-q > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 500; color: var(--ink); font-size: 0.99rem; line-height: 1.5; }
.lo-q > summary::-webkit-details-marker { display: none; }
.lo-q > summary::before { content: "Q" counter(loq); counter-increment: loq; font-family: var(--serif); color: var(--saffron); font-weight: 600; margin-right: 10px; }
.lo-mcq { counter-reset: loq; }
.lo-opts { list-style: none; padding: 0 20px; margin: 0 0 12px; display: grid; gap: 6px; }
.lo-opts li { font-size: 0.94rem; color: var(--ink-soft); padding: 8px 12px; border: 1px solid var(--line-soft); border-radius: 9px; }
.lo-ans { margin: 0 20px 18px; padding: 13px 15px; border-left: 3px solid var(--saffron); background: rgba(226,103,15,0.05); border-radius: 0 10px 10px 0; }
.lo-ans b { color: var(--saffron); }
.lo-ans p { font-size: 0.92rem; color: var(--ink); line-height: 1.6; margin: 6px 0 0; }

/* Model answer + PYQ */
.lo-answer { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.lo-answer .lo-q-text { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; line-height: 1.4; margin-bottom: 14px; }
.lo-answer details { margin-top: 14px; }
.lo-answer summary { cursor: pointer; color: var(--saffron); font-weight: 600; font-size: 0.9rem; }
.lo-pyq { display: flex; flex-direction: column; gap: 10px; }
.lo-pyq li { list-style: none; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.lo-pyq__meta { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--saffron); margin-bottom: 5px; }
.lo-pyq__q { font-size: 0.95rem; color: var(--ink); line-height: 1.5; }

/* Memory hook / flashcard */
.lo-hook { padding: 20px 22px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(226,103,15,0.06), rgba(17,43,76,0.05)); border: 1px solid var(--line); }
.lo-hook p { font-family: var(--serif); font-weight: 300; font-size: 1.1rem; line-height: 1.6; color: var(--ink); margin: 0; }

/* Related + sources + CTA */
.lo-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lo-relcard { display: block; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.lo-relcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(226,103,15,0.3); }
.lo-relcard span { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--saffron); margin-bottom: 6px; }
.lo-relcard b { font-weight: 500; color: var(--ink); font-size: 0.95rem; line-height: 1.4; }
.lo-sources { font-size: 0.86rem; color: var(--muted); }
.lo-disclaimer { margin-top: 14px; font-size: 0.8rem; color: var(--muted); font-style: italic; }
.lo-cta { margin-top: clamp(34px, 5vw, 50px); padding: clamp(26px, 4vw, 40px); text-align: center; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.lo-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; color: #fff; }
.lo-cta p { color: rgba(255,255,255,0.75); margin-bottom: 20px; }

/* Digest / archive listing */
.lo-list { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(22px, 3.5vw, 34px); }
.lo-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.lo-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(226,103,15,0.3); }
.lo-item__score { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--saffron); min-width: 46px; text-align: center; }
.lo-item__body b { display: block; font-weight: 500; color: var(--ink); font-size: 1.02rem; line-height: 1.4; margin-bottom: 4px; }
.lo-item__body span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.lo-datelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 30px; }
.lo-datelist a { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); text-decoration: none; color: var(--ink); font-weight: 500; text-align: center; transition: border-color .3s, transform .3s; }
.lo-datelist a:hover { border-color: rgba(226,103,15,0.4); transform: translateY(-2px); }

@media (max-width: 640px) {
  .lo-item { flex-direction: row; align-items: flex-start; }
  .lo-scorebar { gap: 12px 16px; }
}
