/* Ziua României on the classic landing (Landing\NationalDay): the band and the Marea Unire quiz.
   Loaded only on 30 Nov - 2 Dec. Uses landing.css tokens; the tricolour only as thin accents. */
:root {
  --nd-blue: #002b7f;
  --nd-yellow: #fcd116;
  --nd-red: #ce1126;
  --nd-tricolor: linear-gradient(90deg, var(--nd-blue) 0 33.34%, var(--nd-yellow) 33.34% 66.67%, var(--nd-red) 66.67% 100%);
}
.nd-band [hidden], .nd-quiz [hidden] { display: none !important; }

/* The little flag (three vertical stripes). */
.nd-flag { display: inline-flex; flex: none; width: 21px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(23, 35, 27, .14); }
.nd-flag i { flex: 1; }
.nd-flag i:nth-child(1) { background: var(--nd-blue); }
.nd-flag i:nth-child(2) { background: var(--nd-yellow); }
.nd-flag i:nth-child(3) { background: var(--nd-red); }

/* Band */
.nd-band { position: relative; background: var(--paper-2); border-bottom: 1px solid var(--line); color: var(--ink); }
.nd-band::before { content: ""; display: block; height: 4px; background: var(--nd-tricolor); }
.nd-band__inner { display: flex; align-items: center; justify-content: center; gap: 12px 14px; flex-wrap: wrap; padding: 11px 0 12px; text-align: center; }
.nd-band__text { margin: 0; font-size: var(--fs-16); line-height: 1.45; }
.nd-band__text strong { font-family: var(--serif); font-weight: 600; font-size: var(--fs-18); }
.nd-band__text span { color: var(--ink-soft); }
.nd-band__link { flex: none; color: var(--green-2); font-size: var(--fs-14); font-weight: 750; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.nd-band__link:hover { color: var(--green); }
.nd-band__link::after { content: " \2192"; }

/* Quiz section */
.nd-quiz { padding-top: 72px; }
.nd-kicker::before { display: none; }
.nd-kicker .nd-flag { width: 18px; height: 12px; }
.nd-card { position: relative; max-width: 760px; margin: 0 auto; padding: 28px 30px 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper-2); box-shadow: var(--shadow-soft); overflow: hidden; }
.nd-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--nd-tricolor); }

.nd-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: var(--ink-soft); font-size: var(--fs-14); font-weight: 700; }
.nd-dots { display: inline-flex; gap: 6px; }
.nd-dots i { width: 26px; height: 6px; border-radius: 99px; background: var(--paper-3); transition: background .25s ease; }
.nd-dots i.is-done { background: var(--green-2); }
.nd-dots i.is-now { background: var(--gold); }

.nd-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.nd-q + .nd-q { margin-top: 30px; }
.nd-js .nd-q + .nd-q { margin-top: 0; }
.nd-q__title { padding: 0; margin: 0 0 16px; font-family: var(--serif); font-size: var(--fs-22); line-height: 1.32; font-weight: 600; color: var(--ink); }
.nd-js .nd-q__num { display: none; }

.nd-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nd-option { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); color: var(--ink); font-size: var(--fs-16); font-weight: 600; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.nd-option:hover:not(:disabled) { border-color: var(--green-2); transform: translateY(-1px); }
.nd-option:focus-visible { outline: 3px solid rgba(210, 144, 53, .55); outline-offset: 2px; }
.nd-option:disabled { cursor: default; }
.nd-option__letter { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 99px; background: var(--paper); color: var(--ink-soft); font-size: var(--fs-14); font-weight: 800; }
.nd-option.is-right { border-color: var(--green-2); background: #e9f2ec; }
.nd-option.is-right .nd-option__letter { background: var(--green-2); color: var(--white); }
.nd-option.is-wrong { border-color: var(--clay); background: #f8ebe3; }
.nd-option.is-wrong .nd-option__letter { background: var(--clay); color: var(--white); }
.nd-q.is-answered .nd-option:not(.is-right):not(.is-wrong) { opacity: .55; }

.nd-feedback { margin: 18px 0 4px; font-weight: 800; font-size: var(--fs-18); }
.nd-feedback.is-right { color: var(--green-2); }
.nd-feedback.is-wrong { color: #8f4a2a; }
.nd-why { margin: 0; color: var(--ink-soft); font-size: var(--fs-16); line-height: 1.6; }
.nd-next { margin-top: 18px; }

.nd-answer { margin-top: 12px; color: var(--ink-soft); }
.nd-answer summary { cursor: pointer; color: var(--green-2); font-weight: 700; }
.nd-answer p { margin: 8px 0 0; line-height: 1.6; }

.nd-result { text-align: center; padding: 6px 0 2px; }
.nd-result__score { margin: 6px 0 8px; font-family: var(--serif); font-size: var(--fs-32); line-height: 1.2; font-weight: 600; outline: none; }
.nd-result__line { margin: 0 0 14px; font-size: var(--fs-18); color: var(--ink); }
.nd-result__note { max-width: 560px; margin: 0 auto 22px; color: var(--ink-soft); font-size: var(--fs-16); line-height: 1.6; }
.nd-result__actions { justify-content: center; }
.nd-again { border: 0; background: none; padding: 10px 6px; color: var(--green-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nd-share-note { margin: 14px 0 0; color: var(--ink-soft); font-size: var(--fs-14); word-break: break-all; }

@media (max-width: 860px) {
  .nd-quiz { padding-top: 56px; }
}
@media (max-width: 560px) {
  .nd-band__inner { gap: 4px 10px; padding: 9px 0 10px; }
  .nd-band .nd-flag { display: none; }
  .nd-band__text { font-size: var(--fs-14); }
  .nd-band__text strong { font-size: var(--fs-16); }
  .nd-card { padding: 24px 18px 22px; border-radius: 20px; }
  .nd-options { grid-template-columns: 1fr; }
  .nd-q__title { font-size: 20px; }
  .nd-result__actions .nd-again { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-option, .nd-dots i { transition: none; }
}
