/* sun_images — контент sun_pictures (prod-разметка, scoped под .xras-weather-content) */

.xras-weather-content .sun-views {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px 96px;
    margin: 0;
}

.xras-weather-content .sun-view {
    width: calc(50% - 48px);
    min-width: 0;
}

.xras-weather-content .sun-view__heading {
    margin: 0 0 10px;
    padding: 0 10px;
    font-family: Arial, Verdana, Tahoma, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-transform: none;
    color: #fff;
}

.xras-weather-content .sun-view__content {
    padding: 5px 10px;
    border: 1px solid #606060;
}

.xras-weather-content .sun-view__date {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
    color: #fff;
}

.xras-weather-content .sun-view__date b {
    font-weight: 600;
}

.xras-weather-content .sun-view__img {
    display: block;
    width: 100%;
    max-width: 448px;
    margin: 5px auto;
    padding: 0;
}

.xras-weather-content .sun-view__img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.xras-weather-content .sun-view__data {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 8px;
    font-size: 14px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.xras-weather-content .sun-view__info {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.xras-weather-content .sun-view__label {
    min-width: 0;
    overflow-wrap: break-word;
}

.xras-weather-content .sun-view__all {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
    text-align: right;
}

.xras-weather-content .graph_downloads__type {
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: break-word;
}

.xras-weather-content .graph_downloads__label {
    color: rgba(255, 255, 255, 0.85);
}

.xras-weather-content .graph_downloads__type a {
    color: var(--color-yellow);
    text-decoration: none;
}

.xras-weather-content .graph_downloads__type a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Планшет: ещё 2 колонки, но плотнее */
@media (max-width: 991.98px) {
    .xras-weather-content .sun-views {
        gap: 20px;
    }

    .xras-weather-content .sun-view {
        width: calc(50% - 10px);
    }

    .xras-weather-content .sun-view__heading {
        font-size: 16px;
    }
}

/* ≤639: одна колонка (раньше было 480 — карточки на 481–640 были слишком узкие) */
@media (max-width: 639.98px) {
    .xras-weather-content .sun-views {
        display: block;
    }

    .xras-weather-content .sun-view {
        width: auto;
    }

    .xras-weather-content .sun-view + .sun-view {
        margin-top: 40px;
    }

    .xras-weather-content .sun-view__heading {
        font-size: 19px;
    }
}
