/**
 * Ticker Block Editor Styles
 *
 * Styles for the ticker notification bar in both editor and frontend
 */

.ink-ticker {
    display: block;
    width: 100%;
    background-color: #0066cc;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    padding: 12px 20px;
    transition: background-color 0.3s ease;
}
.ink-ticker p {
    margin: 0;
}

.ink-ticker__link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ink-ticker__link:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.ink-ticker__link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.ink-ticker__text {
    display: inline-block;
}

/* Alert variant - for urgent notifications */
.ink-ticker--alert {
    background-color: #dc3545;
    color: #ffffff;
}

/* Info variant - for informational notices */
.ink-ticker--info {
    background-color: #0089ff;
    color: #ffffff;
}

/* Editor-specific adjustments */
.block-editor-block-list__block .ink-ticker {
    margin: 10px 0;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ink-ticker {
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .ink-ticker {
        font-size: 12px;
        padding: 8px 12px;
    }
}
