

/* Start:/local/components/partner/organization/templates/.default/style.css?17793708145696*/
.organization-card {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}
.organization-card--404 {
    text-align: center;
    padding: 48px 16px;
}

.org-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 5;
    border-radius: 12px;
    padding: 16px 0 0;
}
.org-header__slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 8px;
}
.org-header__slider::-webkit-scrollbar { display: none; }
.org-header__slider-track {
    display: flex;
    gap: 8px;
    padding: 0 4px;
}
.org-header__slide {
    flex: 0 0 auto;
    width: 220px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    background: #f2f2f2;
    cursor: zoom-in;
}
.org-header__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.org-header__slide[data-more="1"]::after {
    content: 'Ещё';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}
.org-header__info {
    padding: 8px 4px 4px;
}
.org-header__title {
    font-size: 1.6rem;
    margin: 0 0 6px;
    line-height: 1.2;
}
.org-header__announce {
    margin: 0 0 6px;
    color: #555;
    font-size: 0.9rem;
}
.org-header__work-time {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #2b7a2b;
}
.org-header__open-app {
    margin-top: 12px;
    font-weight: 600;
}

.org-tabs {
    display: flex;
    gap: 4px;
    margin-top: 12px;
    border-bottom: 1px solid #e5e5e5;
    overflow-x: auto;
}
.org-tabs::-webkit-scrollbar { display: none; }
.org-tabs__btn {
    flex: 0 0 auto;
    background: none;
    border: 0;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.org-tabs__btn:hover { color: #000; }
.org-tabs__btn.is-active {
    color: var(--bs-primary, #0d6efd);
    border-bottom-color: currentColor;
    font-weight: 600;
}

.org-content {
    margin-top: 16px;
}
.org-tab-panel {
    display: none;
}
.org-tab-panel.is-active {
    display: block;
}

/* Info tab */
.org-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.org-info__section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
}
.org-info__section h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 600;
}
.org-info__description {
    line-height: 1.5;
    color: #333;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.org-info__description img { max-width: 100%; height: auto; border-radius: 8px; }
.org-info__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.org-info__contacts li {
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
}
.org-info__contacts li:last-child { border-bottom: 0; }
.org-info__contacts a { text-decoration: none; }
.org-info__contacts a:hover { text-decoration: underline; }
.org-info__contacts .label {
    display: inline-block;
    min-width: 90px;
    color: #888;
    font-size: 0.85rem;
}
@media (max-width: 480px) {
    .org-info__contacts .label {
        display: block;
        min-width: 0;
        margin-bottom: 2px;
    }
}
.org-info__map-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
}
.org-info__map-btn:hover { color: #fff; opacity: 0.92; }

.org-info__work-time-grid {
    width: 100%;
    border-collapse: collapse;
}
.org-info__work-time-grid td {
    padding: 6px 8px;
    border-bottom: 1px dashed #eee;
    font-size: 0.9rem;
}
.org-info__work-time-grid td + td {
    white-space: nowrap;
    text-align: right;
}
.org-info__work-time-grid tr.is-today {
    background: #f6fbff;
    font-weight: 600;
}

/* Photo tab */
.org-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.org-photo-grid__item {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #f2f2f2;
    cursor: zoom-in;
}
.org-photo-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Photo lightbox (Bootstrap modal + carousel) */
.org-photo-modal .modal-dialog {
    max-width: 95vw;
    margin: 16px auto;
}
.org-photo-modal .modal-content {
    background: transparent;
    border: 0;
}
.org-photo-modal .carousel-item img {
    display: block;
    margin: 0 auto;
    width: auto !important;       /* override Bootstrap .w-100 from template */
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}
@media (max-width: 768px) {
    .org-photo-modal .modal-dialog {
        max-width: 100vw;
        margin: 0;
    }
    .org-photo-modal .carousel-item img {
        max-height: 90vh;
    }
}

@media (min-width: 768px) {
    .org-header__slide { width: 260px; height: 180px; }
    .org-header__title { font-size: 2rem; }
}
@media (min-width: 1024px) {
    .org-info {
        grid-template-columns: 2fr 1fr;
    }
    .org-info__section--description { grid-column: 1 / -1; }
}

/* When partner:afisha / partner:newslist are embedded inside the org page,
   suppress their stand-alone padding so they share the org-card container. */
.afisha-page--embedded,
.news-page--embedded {
    padding: 0;
    margin: 0;
}

/* End */


/* Start:/local/components/partner/app.stub/templates/.default/style.css?17793708141505*/
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: 2200;
    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?1778843125688*/
.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 */
/* /local/components/partner/organization/templates/.default/style.css?17793708145696 */
/* /local/components/partner/app.stub/templates/.default/style.css?17793708141505 */
/* /local/templates/landing/components/bitrix/news.detail/store_buttons/style.css?1778843125688 */
