.coloff-weather-widget {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4f8, #e1e7ed);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: 'Arial', sans-serif;
    border: 1px solid #d1d9e0;
    box-sizing: border-box;
}

.weather-town {
    font-size: clamp(1.2rem, 1.3rem + 0.2vw, 1.6rem);
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.coloff-weather-widget .weather-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.coloff-weather-widget .weather-header .weather-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-right: 12px !important;
}

.coloff-weather-widget .weather-header .weather-spacer {
    width: 12px;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.coloff-weather-widget .weather-header .weather-temp {
    font-size: clamp(2.2rem, 2.5rem + 0.2vw, 3rem);
    font-weight: bold;
    color: #2c3e50;
    line-height: 1;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.weather-details {
    padding: 0 15px;
}

.weather-details p {
    margin: 4px 0;
    font-size: clamp(1rem, 1.1rem + 0.1vw, 1.3rem);
    color: #34495e;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #d1d9e0;
    padding-bottom: 5px;
    line-height: 1.4;
}

.weather-label {
    font-weight: bold;
    color: #7f8c8d;
}

.weather-value {
    color: #2c3e50;
}

.weather-error {
    color: #e74c3c;
    font-style: italic;
}

.weather-debug {
    color: #7f8c8d;
    font-size: clamp(0.8rem, 0.9rem + 0.1vw, 1.1rem);
}

.weather-link {
    margin-top: 10px;
    font-size: clamp(0.9rem, 1rem + 0.1vw, 1.2rem);
    text-align: center;
    display: block;
}

.weather-link a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

.weather-link a:hover {
    text-decoration: underline;
    color: #34495e;
}

.coloff-secondary-conditions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.secondary-condition {
    flex: 0 0 calc(50% - 5px); /* 2 columns with gap adjustment */
    max-width: calc(50% - 5px);
    padding: 15px;
    background: linear-gradient(135deg, #f0f4f8, #e1e7ed);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #d1d9e0;
    box-sizing: border-box;
}

.secondary-town {
    font-size: clamp(1.1rem, 1.2rem + 0.1vw, 1.3rem);
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.secondary-temp {
    font-size: clamp(1.2rem, 1.3rem + 0.1vw, 1.4rem);
    color: #2c3e50;
    margin: 0;
}

.secondary-temp.weather-error {
    font-size: clamp(1rem, 1.1rem + 0.1vw, 1.2rem);
    color: #e74c3c;
    font-style: italic;
}

@media (max-width: 480px) {
    .secondary-condition {
        flex: 0 0 100%; /* 1 column on very small screens */
        max-width: 100%;
    }
}