/* License page — bilingual side-by-side layout.
   CSP-safe: no inline styles, external stylesheet only.
   Reuses .wiki-container / colours from about.css. */

.license-container {
    max-width: 1100px;
}

.license-meta {
    margin: 0 0 30px;
    padding: 16px 20px;
    background-color: #161618;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.18) 50%);
    background-size: 100% 3px;
    border-radius: 10px;
    border: 2px solid #27272A;
    box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.75);
    font-size: 14px;
    color: #A1A1AA;
    text-align: center;
}

.license-meta strong {
    color: #F4F4F5;
}

/* Column language headers */
.lang-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 8px;
}

.lang-header span {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: #ff6900;
    letter-spacing: 1px;
    padding: 8px 4px;
    border-bottom: 2px solid #27272A;
}

/* A single clause: full-width bilingual title, then two columns */
.clause {
    margin-bottom: 26px;
}

.clause-num {
    margin: 0 0 12px;
    color: #ff6900;
    font-size: 18px;
}

.clause .cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.clause .col {
    padding: 18px 20px;
    background-color: #161618;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.18) 50%);
    background-size: 100% 3px;
    border-radius: 10px;
    border: 2px solid #27272A;
    box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.75);
}

.clause .col-hr {
    border-left: 4px solid #f6c231;
}

.clause .col-en {
    border-left: 4px solid #0ea5e9;
}

.clause .col p {
    margin: 0 0 10px;
}

.clause .col p:last-child {
    margin-bottom: 0;
}

.clause .col ul {
    margin: 0;
    padding-left: 20px;
}

.clause .col li {
    margin-bottom: 8px;
}

.clause .col li:last-child {
    margin-bottom: 0;
}

/* Stack the two languages on narrow screens */
@media (max-width: 950px) {
    .lang-header,
    .clause .cols {
        grid-template-columns: 1fr;
    }

    .lang-header span:last-child {
        display: none;
    }

    .clause .col-en {
        border-left: 4px solid #0ea5e9;
        margin-top: 4px;
    }
}
