/* /test: the Italian test card (css/it-test-adhd.css) with the additions this site needs.
   Answers are real buttons with aria-pressed, so the "checked" look is repeated for [aria-pressed="true"]. */
.en-test { max-width: 860px; margin: 0 auto; padding: 24px 16px 56px; font-family: var(--ta-font, Inter, system-ui, sans-serif); color: var(--ta-testo, #191c1e); }
.en-test__intro { margin: 0 0 18px; }
.en-test__intro h1 { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; margin: 0 0 8px; }
@media (min-width: 768px) { .en-test__intro h1 { font-size: 36px; } }
.en-test__intro p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ta-muto, #424752); max-width: 620px; }
.en-test__foot { margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--ta-tenue, #5f6573); }
.en-test__foot a { color: var(--ta-blu, #00488d); font-weight: 700; }

.ta-risp[aria-pressed="true"] { background: var(--ta-blu); color: #fff; border-color: var(--ta-blu); transform: none; }
.ta-scelta[aria-pressed="true"] { background: var(--ta-blu-tenue); box-shadow: inset 0 0 0 1.5px var(--ta-blu); border-color: var(--ta-blu); }
.ta-scelta[aria-pressed="true"] .ta-spunta { background: var(--ta-blu); }
.ta-scelta[aria-pressed="true"] .ta-spunta::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.ta-risp:focus:not(:focus-visible), .ta-scelta:focus:not(:focus-visible) { outline: none; }

/* On the 5-answer row the labels such as "Very Often" must fit */
@media (min-width: 768px) { .ta-risposte--5 .ta-risp { padding: 10px 6px; } }

.en-intro-h { margin-top: 12px; }
.en-intro-p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; }
.en-intro-note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ta-muto); }
.ta-box2 + .en-intro-note { margin-top: 14px; }
.en-left { text-align: left; margin: -10px 0 14px; }
.en-attrib { margin: 14px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ta-tenue); }
.ta-azioni { margin-top: 22px; }
.ta-msg a:not(.ta-cta) { color: var(--ta-blu); font-weight: 700; }
.ta-msg .ta-cta { margin-top: 4px; }
.ta-err { margin-top: 12px; }

@media (max-width: 767px) {
  .en-test { padding-left: 12px; padding-right: 12px; }
  .ta-card { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ta-barra i { transition: none; } }

/* The decorative circle of the card (it-test-adhd.css, ::before at right:-90px) makes the card scrollable by 90px
   although it is overflow:hidden: a focus or a scroll-into-view on a button near the right edge then shifts the
   whole question to the left. "clip" forbids every kind of scrolling. */
.ta-card { overflow: clip; }

/* /test opened from the mini test of a guide: one line on question 4 */
.en-mini-note { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--ta-blu-tenue, #eef4ff); color: var(--ta-blu-scuro, #0b2545); font-size: 13.5px; line-height: 1.45; }

/* Questions 1 to 6 (ASRS-v1.1 Screener): the two levels of shading of the official form */
.ta-risp--shaded { background: #dbe5f3; border-color: #a9bcd8; }
/* the mouse-over tint of .ta-risp is lighter than the shade and made a shaded answer look unshaded */
@media (hover: hover) and (pointer: fine) { .ta-risp--shaded:hover { background: #cfdcef; border-color: #93aacd; } }
.en-shade-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ta-tenue, #5f6573); }
