/* ==========================================================
   Creative-Commons-Hinweis
   ========================================================== */

.cc-notice {
    margin-block: 2rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.cc-notice__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;

    color: var(--text-muted);
    text-decoration: none;

    transition: color 150ms ease;
}

.cc-notice__link:hover {
    color: var(--brand);
}


/* ── Badge ─────────────────────────────── */

.cc-notice__badge {
    width: 120px;
    height: 42px;
    display: block;
    flex-shrink: 0;
}


/* ── Text ──────────────────────────────── */

.cc-notice__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;

    font-size: 0.85rem;
    line-height: 1.5;
}

.cc-notice__hint {
    font-size: 0.78rem;
    opacity: 0.8;
}


/* ── Editor-Vorschau ───────────────────── */

.cc-notice--editor {
    border-style: dashed;
}


/* ── Responsive ────────────────────────── */

@media (width <= 420px) {
    .cc-notice__link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}


/* ── Druck ─────────────────────────────── */

@media print {
    .cc-notice {
        border-color: #999;
        background: none;
    }

    .cc-notice__link {
        color: #000;
    }
}