

/* Start:/local/components/partner/newslist/templates/.default/style.css?17788431864206*/
.news-page { padding: 16px; max-width: 1200px; width: 100%; min-width: 0; margin: 0 auto; box-sizing: border-box; }

.news-title { font-size: 24px; margin: 8px 0 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; grid-auto-rows: 1fr; }
@media (min-width: 640px)  { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-empty { grid-column: 1 / -1; text-align: center; color: #777; padding: 40px; }
.news-grid__sentinel { grid-column: 1 / -1; height: 1px; }

.news-card {
    display: block; background: #fff; border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    overflow: hidden; cursor: pointer;
    display: flex; flex-direction: column;
}
.news-card__cover {
    aspect-ratio: 16 / 9; width: 100%;
    background-size: cover; background-position: center; background-color: #eee;
    position: relative;
}
.news-card__overlay {
    position: absolute; inset: 0; display: flex;
    align-items: flex-start; padding: 10px 12px;
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}
.news-card__org {
    color: #fff; font-size: 13px; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    filter: drop-shadow(1px 1px 4px #161616) drop-shadow(-1px -1px 4px #161616);
}

.news-card__meta {
    padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px;
    flex: 1 1 auto;
}
.news-card__name {
    margin: 0; font-weight: 600; font-size: 14px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__footer {
    margin-top: auto;
    display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
    font-size: 12px; color: #777;
}
.news-card__category {
    text-transform: uppercase; letter-spacing: .5px;
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-card__date {
    flex-shrink: 0; white-space: nowrap;
}

/* === Floating to-top button === */
.news-to-top {
    position: fixed; right: 50px; bottom: 180px; z-index: 99;
    width: 48px; height: 48px; border: none; border-radius: 50%;
    background-color: #007bff; color: #fff; font-size: 24px; line-height: 1;
    cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    display: flex; align-items: center; justify-content: center; padding: 0;
}
.news-to-top[hidden] { display: none; }
@media (max-width: 600px) {
    .news-to-top { right: 25px; bottom: 170px; }
}

/* === Detail modal === */
.news-detail-modal .modal-content { position: relative; }
.news-detail-modal__close {
    position: absolute; top: 12px; right: 12px; z-index: 10;
    width: 32px; height: 32px; padding: 0;
    border: 2px solid #222; border-radius: 50%; background-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 2px 6px rgba(0, 0, 0, .35);
    opacity: 1; --bs-btn-close-color: #000; --bs-btn-close-opacity: 1;
}
.news-detail-modal__close:hover { background-color: #fff; }
.news-detail-modal__loader { padding: 48px 16px; text-align: center; color: #777; }
.news-detail-modal__carousel { background: #fff; }
.news-detail-modal__carousel .carousel-item { height: 50vh; }
.news-detail-modal__carousel .carousel-item img {
    width: 100%; height: 100%; object-fit: contain;
}
.news-detail-modal__content { padding: 16px 20px 20px; }
.news-detail-modal__category {
    font-size: 12px; color: #777; text-transform: uppercase;
    letter-spacing: .5px; margin-bottom: 4px;
}
.news-detail-modal__title { font-size: 20px; font-weight: 600; margin: 0 0 12px; line-height: 1.25; }
.news-detail-modal__date { font-size: 13px; color: #777; margin-bottom: 12px; }
.news-detail-modal__org { font-size: 14px; color: #1976d2; margin-bottom: 12px; }
.news-detail-modal__desc { font-size: 14px; line-height: 1.5; color: #222; }
.news-detail-modal__desc img { max-width: 100%; height: auto; }
.news-detail-modal__source { margin-top: 12px; font-size: 13px; color: #777; }
.news-detail-modal__source a { color: #1976d2; }

/* End */


/* Start:/local/components/partner/app.stub/templates/.default/style.css?17788253141505*/
a.app {
    position: fixed;
    right: 50px;
    bottom: 100px;
    z-index: 100;
    padding: 8px;
    border-radius: 20px;
    background-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-sizing: border-box;
    text-decoration: none;
}
a.app img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
a.app p {
    white-space: nowrap;
    color: #fff;
    margin: 0;
}

.app_popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.app_popup[hidden] {
    display: none;
}
.app_popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(3px);
}
.app_popup__box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 90%;
    width: 360px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.app_popup__title {
    margin: 0;
    font-size: 1.1rem;
    text-align: center;
}
.app_popup__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #555;
    cursor: pointer;
    padding: 4px 8px;
}

@media (max-width: 600px) {
    a.app {
        right: 25px;
    }
    a.app p {
        display: none;
    }
}

/* End */


/* Start:/local/templates/landing/components/bitrix/news.detail/store_buttons/style.css?1778843179688*/
.links {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    margin: 0;
}
.links .link {
    flex-shrink: 1;
}
.links .link img {
    width: 100%;
}
.links .link img.desktop {
    display: block;
}
.links .link img.mobile {
    display: none;
}

@media (max-width: 550px) {
    .links {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .links .link img.mobile {
        display: block;
    }
    .links .link img.desktop {
        display: none;
    }
    .app_popup div.links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
/* End */


/* Start:/local/components/partner/filter/templates/.default/style.css?17788431866652*/
/* The .partner-filter wrapper is invisible — it only holds elements until JS teleports them into header slots. */
.partner-filter { display: contents; }

/* === Cats toggle (button) === */
.partner-filter__cats-dd { position: relative; flex-shrink: 0; }
.partner-filter__cats-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 18px;
    background: #fff; cursor: pointer; font: inherit; max-width: 100%;
}
.partner-filter__cats-toggle-icon {
    display: none; width: 16px; height: 16px;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.partner-filter__cats-toggle-icon svg { width: 100%; height: 100%; fill: currentColor; }
.partner-filter__cats-label {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px;
}
.partner-filter__cats-caret { transition: transform .15s; }
.partner-filter__cats-toggle[aria-expanded="true"] .partner-filter__cats-caret { transform: rotate(180deg); }

/* === Strip (date row) === */
.partner-filter__strip-wrap {
    display: flex; align-items: center; gap: 8px;
    flex: 1; min-width: 0;
}
.partner-filter__strip-area {
    position: relative;
    flex: 1; min-width: 0;
    padding-top: 16px;
}
.partner-filter__strip-months {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    overflow: hidden;
    pointer-events: none;
}
.partner-filter__strip-month {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #555;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(0);
    will-change: transform;
}
.partner-filter__strip {
    display: flex; gap: 6px; overflow-x: auto;
    scroll-behavior: smooth; min-width: 0; scrollbar-width: none;
}
.partner-filter__strip::-webkit-scrollbar { display: none; }
.partner-filter__strip-day {
    flex: 0 0 56px; padding: 8px 4px; border: 1px solid #e0e0e0; background: #fff;
    border-radius: 8px; cursor: pointer; display: flex; flex-direction: column;
    align-items: center; font: inherit;
}
.partner-filter__strip-day.first-of-month { margin-left: 16px; }
.partner-filter__strip-day .d { font-weight: 700; font-size: 18px; }
.partner-filter__strip-day .m { font-size: 11px; color: #777; text-transform: lowercase; }
.partner-filter__strip-day.weekend .d,
.partner-filter__strip-day.weekend .m { color: #d32f2f; }
.partner-filter__strip-day.sel { background: #1976d2; color: #fff; border-color: #1976d2; }
.partner-filter__strip-day.sel .d,
.partner-filter__strip-day.sel .m,
.partner-filter__strip-day.sel.weekend .d,
.partner-filter__strip-day.sel.weekend .m { color: #fff; }
.partner-filter__strip-arr,
.partner-filter__strip-reset {
    border: 1px solid #e0e0e0; background: #fff; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center;
    justify-content: center; color: #333; flex-shrink: 0; padding: 0; font: inherit;
}

/* === Popup === */
.partner-filter__popup {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; justify-content: center; align-items: center;
}
.partner-filter__popup[hidden] { display: none; }
.partner-filter__popup-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .5); backdrop-filter: blur(3px);
}
.partner-filter__popup-box {
    position: relative; background: #fff; border-radius: 12px;
    padding: 24px; width: 90%; max-width: 600px; max-height: 80vh;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    display: flex; flex-direction: column; gap: 16px; overflow: hidden;
}
.partner-filter__popup-title { margin: 0; font-size: 1.1rem; text-align: center; }
.partner-filter__popup-close {
    position: absolute; top: 8px; right: 12px;
    background: none; border: none; font-size: 1.8rem; line-height: 1;
    color: #555; cursor: pointer; padding: 4px 8px;
}
.partner-filter__cats-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
    flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px;
}
@media (max-width: 700px) { .partner-filter__cats-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .partner-filter__cats-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-tile {
    min-width: 0; min-height: 96px; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 10px 6px; border: 1px solid #e0e0e0; border-radius: 10px;
    background: #fff; cursor: pointer; font: inherit; color: inherit;
    transition: background .15s, color .15s, border-color .15s;
}
.cat-tile__icon {
    width: 36px; height: 36px; display: flex; align-items: center;
    justify-content: center; color: var(--cat-color, #1976d2); flex-shrink: 0;
}
.cat-tile__icon svg, .cat-tile__icon img { width: 100%; height: 100%; object-fit: contain; }
.cat-tile__icon svg { fill: currentColor; }
.cat-tile__name {
    font-size: 12px; line-height: 1.2; text-align: center;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; word-break: break-word;
}
.cat-tile.is-active {
    background: var(--main-color, #1976d2);
    border-color: var(--main-color, #1976d2); color: #fff;
}
.cat-tile.is-active .cat-tile__icon { color: #fff; }

.partner-filter__popup-actions {
    display: flex; justify-content: space-between; gap: 8px;
    border-top: 1px solid #f0f0f0; padding-top: 12px; flex-shrink: 0;
}
.partner-filter__popup-actions button {
    padding: 8px 16px; border-radius: 18px; border: 1px solid #e0e0e0;
    background: #fff; cursor: pointer; font: inherit;
}
.partner-filter__popup-actions button.partner-filter__btn-apply {
    background: var(--main-color, #1976d2); color: #fff;
    border-color: var(--main-color, #1976d2);
}

/* === Mobile compactness === */
@media (max-width: 700px) {
    .partner-filter__cats-toggle {
        padding: 6px;
        font-size: 14px;
    }
    .partner-filter__cats-toggle .partner-filter__cats-label,
    .partner-filter__cats-toggle .partner-filter__cats-caret {
        display: none;
    }
    .partner-filter__cats-toggle-icon {
        display: flex;
        width: 20px;
        height: 20px;
    }
    .partner-filter__strip-day {
        flex: 0 0 44px;
        padding: 4px 2px;
    }
    .partner-filter__strip-day .d { font-size: 16px; }
    .partner-filter__strip-day .m { font-size: 10px; }
    .partner-filter__strip-arr,
    .partner-filter__strip-reset { width: 28px; height: 28px; }
    .partner-filter__strip-wrap { gap: 4px; }
}

/* End */
/* /local/components/partner/newslist/templates/.default/style.css?17788431864206 */
/* /local/components/partner/app.stub/templates/.default/style.css?17788253141505 */
/* /local/templates/landing/components/bitrix/news.detail/store_buttons/style.css?1778843179688 */
/* /local/components/partner/filter/templates/.default/style.css?17788431866652 */
