/* Duolingo English Test coupon-code and voucher page (18 November 2026).
   The page reuses the DET comparison layout; these rules cover what differs. */

/* The code-types table has no "PrepEx column", so the second column is not highlighted. */
.det-voucher-page .det-voucher-table tr > :nth-child(2) {
    background: transparent;
    font-weight: inherit;
}

.det-voucher-page .det-voucher-table {
    min-width: 720px;
}

.det-voucher-page .det-voucher-table tbody th {
    white-space: normal;
    min-width: 150px;
}

/* Numbered how-to lists sit inside the comparison typography. */
.det-voucher-page .det-guide-steps {
    margin: 18px 0 22px;
    padding-left: 22px;
}

.det-voucher-page .det-guide-steps li {
    line-height: 1.65;
}

/* Fact values are phrases and dates here, and longer in some languages: a smaller size keeps whole
   words on a line, and a word is only split when it cannot fit at all. */
.det-comparison-page.det-voucher-page .det-comparison-fact strong,
.det-comparison-page.det-voucher-page .det-comparison-fact-lead strong {
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.2;
    overflow-wrap: break-word;
}

/* Two offer panels (the voucher and DET Pro), side by side. */
.det-voucher-page .det-comparison-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
    .det-voucher-page .det-comparison-choices {
        grid-template-columns: 1fr;
    }
}

/* Language versions, under the byline. */
.det-voucher-page .det-voucher-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 14px;
    font-size: 13px;
}

.det-voucher-page .det-voucher-languages a {
    color: var(--det-guide-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.det-voucher-page .det-voucher-languages [aria-current="page"] {
    font-weight: 600;
}

/* The approved partner sentence, kept in English on the language versions: its own line in the answer. */
.det-voucher-page .det-comparison-faq details > p.det-voucher-english {
    margin-top: -14px;
}
