#practices_btn {
    color: rgba(114, 121, 103, 1) !important;
}


.pr-type-card-discr {
    display: flex;
    flex-direction: column;
}

.pr-type-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 72px;
}

.pr-type-img-div {
    display: flex;
    width: 292px;
    height: 519px;
    overflow: hidden;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    aspect-ratio: 292/519;
}

.pr-type-card-head {
    color: var(--Text-primary, #000);
    text-align: center;
    font-family: Ledger;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    line-height: normal;
    overflow-wrap: anywhere;
}

.pr-type-card-body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 36px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: visible;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    height: auto;
}

.pr-type-card-discr {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 0;
    min-height: 519px;
}

.pr-card-text-title {
    white-space: normal !important;
    word-break: break-word !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    display: block;
    overflow: visible;
    max-height: none;
    flex-shrink: 0;
    font-family: "AA Stetica";
    font-size: 16px !important;
    font-weight: 400;
}

.pr-card-text-title p {
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.pr-card-text-title p + p {
    margin-top: 0.75em;
}

.pr-type-swapper-div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.mySwiperPractice {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.swip-photo-conteiner {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover ;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    vertical-align: top !important;
    /* Убираем все возможные пробелы */
    line-height: 0;
    font-size: 0;
}

.mySwiperPractice > .swiper-wrapper > .swiper-slide {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    height: auto;
}

.swiper-pagination {
    margin-top: -40px !important;
}
.swiper-pagination-bullet {
    width: 28px;
    height: 28px;
    background: #F6E2DB !important;
    opacity: 0.7;
    }
    
.swiper-pagination-bullet-active {
    background: #F6E2DB !important;
    color: #C99F90 !important;
    opacity: 1;
}

.collect_container {
    display: flex;
    flex-direction: column;
    gap: 72px;
    justify-content: center;
    width: 100%;
}
.collect-btn-div {
    display: flex;
    justify-content: center !important;
    width: 100%;
    gap: 12px;
    align-content: center;
}

.telegramm {
    width: 200px;
    display: flex;
}

.pr-header-top {
    color: var(--Text-primary, #000);
    font-family: Ledger;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pr-text-head-top {
    color: var(--Text-primary, #000);
    font-family: Ledger;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.collect-story {
    display: flex;
    flex-direction: column;
    gap: 56px;
    width: 100%;
}

.collect-story .pr-text-head-top {
    margin: 0;
}

.collect-block {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.collect-block--reverse {
    flex-direction: row-reverse;
}

.collect-block-text {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.collect-block .collect-photo {
    flex: 0 0 38%;
    width: 38%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 8px;
}

.collect-block:not(.collect-block--reverse) .collect-photo {
    flex: 0 0 250px;
    width: 420px;
    max-width: 420px;
}

.collect-story .lead {
    height: auto;
    display: block;
    overflow: visible;
    white-space: normal;
    font-size: 16px;
    line-height: 1.65;
    width: 100%;
    margin: 0;
}

.collect-quote {
    margin: 8px 0 0;
    padding: 0;
    border: none;
}

.collect-quote p {
    font-family: Ledger, serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

.collect-quote cite {
    display: block;
    margin-top: 12px;
    font-family: "AA Stetica", sans-serif;
    font-size: 16px;
    font-style: normal;
    color: #565351;
}

  .practices-mid {
    background: transparent;
    align-self: center;
    width: 100%;
  }

/* --- Sub-practices (children) --- */

.pr-sub-practices--desktop,
.pr-sub-practices--tablet {
  display: none;
}

.pr-sub-practices--desktop {
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.pr-sub-nav {
  display: flex;
  height: 44px;
  width: 48px;
  padding: 12px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: 1px solid var(--Botton-Active-Enabled);
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
}

.pr-sub-nav svg {
  fill: var(--Botton-Active-Enabled);
}

.pr-sub-nav:hover {
  border-color: var(--Global-Brown-Brown-50);
}

.pr-sub-nav:hover svg {
  fill: var(--Global-Brown-Brown-50);
}

.pr-sub-swiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* Override .mySwiperPractice .swiper-slide { width: 100% !important } for nested slides */
.pr-sub-swiper .swiper-slide {
  width: 25% !important;
  height: auto;
  box-sizing: border-box;
  padding: 0 6px;
}

.pr-sub-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pr-sub-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  background: #6B6B6B;
  position: relative;
  flex-shrink: 0;
}

.pr-sub-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-sub-icon--empty {
  background: #6B6B6B;
}

.pr-sub-title {
  color: #000;
  text-align: center;
  font-family: "AA Stetica";
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.pr-sub-more-btn {
  display: flex;
  height: 36px;
  max-width: 100%;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: 1px solid #909785;
  background: #F5F5F5;
  color: #000;
  font-family: "AA Stetica";
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.pr-sub-more-btn:hover {
  border-color: var(--Global-Brown-Brown-50);
  color: var(--Global-Brown-Brown-50);
}

.pr-sub-practices--tablet {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 12px;
  width: 100%;
  margin-top: 16px;
}

.pr-sub-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.pr-main-more-btn,
.pr-children-open {
  align-self: flex-end;
}

.pr-children-open {
  width: 100%;
}

/* Mobile bottom sheet */

.pr-children-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  pointer-events: none;
}

.pr-children-modal.is-open {
  display: block;
  pointer-events: auto;
}

.pr-children-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.pr-children-modal-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 12px 20px 32px;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.pr-children-modal.is-open .pr-children-modal-sheet {
  transform: translateY(0);
}

.pr-children-modal-handle {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: #D9D9D9;
  margin: 0 auto 20px;
}

.pr-children-modal-title {
  color: #000;
  font-family: Ledger;
  font-size: 28px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E8E8E8;
}

.pr-children-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pr-children-modal-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #E8E8E8;
}

.pr-children-modal-item:last-child {
  border-bottom: none;
}

.pr-children-modal-item .pr-sub-icon {
  width: 56px;
  height: 56px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.pr-children-modal-item-title {
  font-family: Ledger;
  font-size: 20px;
  line-height: 1.3;
}

body.pr-children-modal-open {
  overflow: hidden;
}

.pr-card-text-title span[style*="background"] {
    background-color: transparent !important;
}

.collect-btn-div .practiceBtn {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    -webkit-box-pack: center; 
    -webkit-box-align: center; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    height: auto;
    min-height: 44px;
}

@media (min-width: 768px) and (max-width: 1499px) {
  .pr-sub-practices--tablet {
    display: grid;
  }
}

@media (min-width: 1500px) {
  .pr-sub-practices--desktop {
    display: flex;
  }
}


    @media (max-width: 767px) {

        .collect-block:not(.collect-block--reverse) .collect-photo {
            flex: 0 0 250px;
            width: auto !important;
            max-width: 100%;
        }

    
        .master-events-div {
            display: flex;
            flex-direction: column;
        }
    
        .pr-type-swapper-div {
            flex-direction: column;
        }

        .pr-type-card-body {
            flex-direction: column;
            gap: 16px;
            height: auto;
            overflow: visible;
        }

        .pr-type-img-div {
            display: flex;  
            width: 100%;
            height: 260px;  
            aspect-ratio: auto;
        }

        .pr-type-card-head {
            font-size: 28px;
        }

        .mySwiperPractice > .swiper-wrapper > .swiper-slide {
            padding-left: 0;
            padding-right: 0;
            height: auto;
            overflow: visible;
        }
    
        .pr-type-card-discr {
            gap: 32px;
            flex: 1 1 auto;
            min-height: 0;
        }

        .more {
            width: 100%;
        }

        .pr-main-more-btn,
        .pr-children-open {
            width: 100%;
            align-self: stretch;
        }

        .collect-story {
            gap: 32px;
        }

        .collect-block,
        .collect-block--reverse {
            flex-direction: column;
            gap: 20px;
        }

        .collect-block .collect-photo {
            flex: none;
            width: 100%;
            max-width: 100%;
        }

        .collect-btn-div {
            flex-direction: column;
        }

        .telegramm {
            width: 100%;
        }

        

        .practices-mid {
            content:url(../images/practices_mid_mob.png)
        }

        .pr-header-top {
            font-size: 50px;
        }

        .pr-text-head-top {
            font-size: 32px;
        }

        .collect-quote p {
            font-size: 18px;
        }
        
        
    }
    
    @media (min-width: 768px) and (max-width: 1499px) {
    
        .practice-div {
            display: flex;
            flex-direction: column;
        }

        .more {
            width: 100%;
        }

        .collect-block {
            gap: 28px;
        }

        .telegramm { 
            font-size: 12px; 
        }

        .practiceBtn {
            padding: 0% !important;
        }
    }