/**
 * DWD-Warnungen Plugin Styles
 *
 * @package DWD_Warnings
 */

/* Warnungsliste (detaillierte Ansicht) - als normaler Fließtext */
.dwd-warnings-list {
    margin: 1em 0;
}

.dwd-warning-item {
    margin-bottom: 1em;
}

.dwd-warning-headline {
    margin-bottom: 0.25em!important;
}
.dwd-warning-time {
	margin-bottom: 0.25em!important;
}

.dwd-warning-description {
    display: block;
}

/* Keine Warnungen / Fehler - als normaler Fließtext */
.dwd-warnings-none,
.dwd-warnings-error {
    margin: 1em 0;
}

.dwd-warnings-none {
    /* Kein spezielles Styling */
}

.dwd-warnings-error {
    /* Kein spezielles Styling */
}

/* Quellenangabe */
.dwd-warnings-source {
    font-size: 0.9em;
    color: #666;
    margin-top: 1em;
    font-style: italic;
}

.dwd-warnings-source a {
    color: #666;
    text-decoration: none;
}

.dwd-warnings-source a:hover {
    text-decoration: underline;
}

/* Warnbanner (spezifische Warnung) */
.dwd-banner {
    padding: 0.9em 1em;
    margin: 0.25em 0;
    border-radius: 4px;
    font-weight: 500;
}

.dwd-banner a {
    color: inherit;
    text-decoration: none!important;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.dwd-banner a:hover {

}

/* Unwetterwarnung (höchste Priorität) */
.dwd-banner-severe {
	background: #fff;
    color: #000;
    border-left: 5px solid #a71d2a;
}

/* Allgemeine Wetterwarnung */
.dwd-banner-warning {
    background: #fff;
    color: #000;
    border-left: 5px solid #e0a800;
}

/* Hitzewarnung */
.dwd-banner-heat {
	background: #fff;
    color: #000;
    border-left: 5px solid #7a32c1;
}

/* Warn-Icon */
.dwd-warning-icon {
    flex-shrink: 0;
    vertical-align: middle;
	padding-bottom: 4px;
    margin-right: 0.25em;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .dwd-banner {
        padding: 0.5em 0.75em;
        font-size: 0.9em;
    }
}
