.openmeteo-widget {
    background: #e6f7e6; /* Jasnozielone tło */
    border: 2px solid #28a745; /* Zielona ramka */
    padding: 5px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    text-align: left;
    color: #155724;
    max-width: 100%;
    margin: auto;
}

.openmeteo-widget h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.weather-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #28a745;
}

.weather-left {
    width: 40%;
    text-align: center;
}

.weather-right {
    width: 60%;
    text-align: left;
    font-size: 14px;
}

.weather-icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: auto;
}

.weather-temp {
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
}

.weather-wind {
    font-size: 16px;
    font-weight: bold;
    margin-top: 3px;
}

.openmeteo-widget p {
    margin: 2px 0;
}

.forecast-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.forecast {
    width: 20%;
    text-align: center;
    background: #d4edda;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #28a745;
}

.forecast p {
    margin: 4px 0;
    font-size: 14px;
}

.forecast img {
    width: 60px;
    height: 60px;
    margin: 5px auto;
}

.forecast p strong {
    font-size: 16px;
    color: #155724; /* Podkreślenie kolorem dla lepszej czytelności */
}
.openmeteo-widget {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 10px;
}

.weather-container {
    display: flex;
    justify-content: space-between;
}

.weather-left {
    width: 25%;
    text-align: center;
}

.weather-right {
    width: 25%;
    padding-left: 10px;
}

.weather-news {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10px;
    overflow: hidden;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Mniejszy odstęp między newsami */
    max-width: 100%;
}

.news-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.news-thumb {
    width: 50px; /* Miniaturka */
    height: auto;
    margin-right: 8px;
    flex-shrink: 0;
}

.news-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: calc(100% - 60px);
}

.news-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: left;
}

.news-date {
    font-size: 12px;
    color: #777;
    margin: 2px 0 0;
    text-align: left;
}


.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.weather-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.weather-time {
    font-size: 16px;
    color: #888;
    margin-left: 10px;
}

.weather-info {
    font-size: 16px;
    font-weight: bold;
    color: #555;
}
.openmeteo-widget h2 {
    padding-top: 4px;
    padding-bottom: 4px;
}
.promo-banner {
    margin-left: auto;
	font-size: 14px;
    font-weight: bold;
	color: red;
}
.promo-banner a {
    display: inline-block;
    text-align: right;
    font-size: 14px;
	font-weight: bold;
    color: green;
    text-decoration: none; /* opcjonalnie, usuwa podkreślenie linku */
}
.promo-banner a:hover {
    text-decoration: underline; /* opcjonalnie, podkreślenie po najechaniu */
}
@media screen and (max-width: 768px) {
    .weather-container {
        flex-direction: column;
        align-items: center;
    }

    .weather-left,
    .weather-right,
    .weather-news {
        width: 100%;
        padding: 5px 0;
    }

    .weather-right {
        text-align: center;
        padding-left: 0;
    }

    .weather-news {
        align-items: flex-start;
        padding-left: 0;
    }

    .news-list {
        width: 100%;
    }

    .news-item {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .news-thumb {
        width: 60px;
        height: 60px;
        object-fit: cover;
        margin-right: 10px;
    }

    .news-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        max-width: calc(100% - 70px);
    }

    .news-title {
        font-size: 14px;
        font-weight: bold;
        margin: 0;
        white-space: normal;
        text-overflow: unset;
        overflow: visible;
    }

    .news-date {
        font-size: 12px;
        color: #777;
        margin-top: 2px;
    }

    .forecast-container {
        flex-direction: column;
        gap: 10px;
    }

    .forecast {
        width: 100%;
    }

    .weather-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-banner {
        width: 100%;
        text-align: center;
        margin-top: 6px;
        font-size: 13px;
    }

    .promo-banner a {
        font-size: 13px;
    }

    .weather-title {
        font-size: 18px;
        text-align: center;
    }

    .weather-time {
        font-size: 14px;
        margin-left: 0;
        text-align: center;
    }
}
