

/* Start:/bitrix/templates/agroxomplex/components/bitrix/news.list/agro_news/style.css?17902541308329*/
.agro-news-list .news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.agro-news-list .filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 20px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    color: var(--navy);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.agro-news-list .filter-item:hover,
.agro-news-list .filter-item[aria-expanded="true"] {
    border-color: var(--primary);
}

.agro-news-list .filter-control {
    position: relative;
}

.agro-news-list .filter-control-period.is-active .filter-item {
    border-color: var(--primary);
}

.agro-news-list .filter-item-period {
    justify-content: space-between;
}

.agro-news-list .filter-item-period.filter-toggle[aria-expanded="true"] .icon {
    transform: none;
}

.agro-news-list .filter-item .icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.agro-news-list .filter-toggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.agro-news-list .filter-toggle .icon {
    transition: transform 0.2s ease;
}

.agro-news-list .filter-period-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agro-news-list .filter-dropdown {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(51, 60, 76, 0.15);
}

.agro-news-list .filter-dropdown[hidden] {
    display: none;
}

.agro-news-list .filter-option {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--navy);
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 18px;
}

.agro-news-list .filter-option:hover,
.agro-news-list .filter-option:focus-visible,
.agro-news-list .filter-option.is-active {
    background: var(--light-gray);
    color: var(--navy);
}

.agro-news-list .filter-option.is-active::after {
    content: "✓";
    float: right;
    margin-left: 16px;
    color: var(--primary-dark);
}

.agro-news-list .period-dropdown {
    right: 0;
    left: auto;
    width: min(290px, calc(100vw - 16px));
    padding: 8px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(51, 60, 76, 0.14);
}

.agro-news-list .period-form {
    display: none;
}

.agro-news-list .period-calendar .air-datepicker {
    width: 100%;
    border: 0;
    color: var(--navy);
    font-family: var(--font-family);
}

.agro-news-list .period-calendar .air-datepicker-nav {
    min-height: 36px;
    padding: 0;
    border: 0;
}

.agro-news-list .period-calendar .air-datepicker-nav--title {
    gap: 6px;
    color: var(--navy);
    font-size: 14px;
    line-height: 24px;
    text-transform: capitalize;
}

.agro-news-list .period-calendar .air-datepicker-nav--title::after {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 12px;
    color: #929bab;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: '';
    transform: rotate(45deg);
}

.agro-news-list .period-calendar .air-datepicker-nav--title i {
    color: inherit;
}

.agro-news-list .period-calendar .air-datepicker-nav--action {
    width: 36px;
    height: 36px;
}

.agro-news-list .period-calendar .air-datepicker-nav--action svg {
    stroke: var(--navy);
}

.agro-news-list .period-calendar .air-datepicker-body--day-names {
    margin: 10px 0;
    grid-template-columns: repeat(7, 28px);
    justify-content: center;
    column-gap: 10px;
}

.agro-news-list .period-calendar .air-datepicker-body--day-name {
    color: var(--navy);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-transform: lowercase;
}

.agro-news-list .period-calendar .air-datepicker-body--cells.-days- {
    grid-template-columns: repeat(7, 28px);
    grid-auto-rows: 28px;
    justify-content: center;
    gap: 10px 10px;
}

.agro-news-list .period-calendar .air-datepicker-cell.-day- {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    color: var(--navy);
    font-size: 13px;
    line-height: 28px;
}

.agro-news-list .period-calendar .air-datepicker-cell.-other-month- {
    color: #929bab;
}

.agro-news-list .period-calendar .air-datepicker-cell.-in-range- {
    background: #eceef4;
}

.agro-news-list .period-calendar .air-datepicker-cell.-selected-,
.agro-news-list .period-calendar .air-datepicker-cell.-range-from-,
.agro-news-list .period-calendar .air-datepicker-cell.-range-to- {
    background: var(--navy);
    color: var(--white);
}

.agro-news-list .period-calendar .air-datepicker-cell.-focus-:not(.-selected-) {
    border: 1px solid var(--primary);
}

.agro-news-list .period-calendar .air-datepicker-buttons {
    justify-content: flex-end;
    margin-top: 12px;
    border: 0;
}

.agro-news-list .period-calendar .air-datepicker-button {
    width: auto;
    padding: 0 8px;
    color: var(--navy);
    font-size: 13px;
}

.agro-news-list .news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.agro-news-list .news-card {
    position: relative;
    display: flex;
    flex: 0 0 calc(33.333% - 16px);
    flex-direction: column;
    gap: 24px;
    max-width: calc(33.333% - 16px);
    background: transparent;
    border: 0;
    transition: transform 0.3s ease;
}

.agro-news-list .news-card:hover {
    transform: translateY(-4px);
}

.agro-news-list .image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 424 / 282;
    background: var(--light-gray);
    border-radius: 16px;
}

.agro-news-list .image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agro-news-list .news-date {
    position: absolute;
    z-index: 1;
    top: 24px;
    left: 24px;
    padding: 8px 12px;
    background: var(--light-gray);
    border-radius: 32px;
    color: var(--navy);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.agro-news-list .news-title {
    display: block;
    color: var(--navy);
    font-family: var(--font-family-bold);
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agro-news-list .news-title:hover {
    color: var(--primary);
}

.agro-news-list .news-load-more {
    display: flex;
    justify-content: flex-start;
}

.agro-news-list .news-load-more-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

@media (max-width: 991px) {
    .agro-news-list .news-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    .agro-news-list .news-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .agro-news-list .filter-item {
        justify-content: space-between;
        width: 100%;
    }

    .agro-news-list .filter-control {
        width: 100%;
    }

    .agro-news-list .filter-control-period {
        align-self: flex-end;
        width: min(344px, 100%);
    }

    .agro-news-list .filter-dropdown {
        right: 0;
        left: 0;
        width: 100%;
        min-width: 0;
    }

    .agro-news-list .period-dropdown {
        right: 0;
        left: auto;
        width: min(340px, calc(100vw - 16px));
    }
}

@media (max-width: 575px) {
    .agro-news-list .period-dropdown {
        padding: 14px 12px 16px;
    }

    .agro-news-list .period-calendar {
        overflow-x: auto;
    }

    .agro-news-list .period-calendar .air-datepicker {
        min-width: 308px;
    }

    .agro-news-list .news-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .agro-news-list .image-wrapper {
        aspect-ratio: 16 / 10;
    }

    .agro-news-list .news-date {
        top: 16px;
        left: 16px;
        padding: 6px 10px;
        font-size: 12px;
        line-height: 16px;
    }

    .agro-news-list .news-title {
        font-size: 16px;
        line-height: 22px;
    }
}

/* End */
/* /bitrix/templates/agroxomplex/components/bitrix/news.list/agro_news/style.css?17902541308329 */
