body, p, h1, h2, h3, h4, h5 {
    margin: 0;
}

.geocart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.geocart-modal-content {
  background: #BBC4C4;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.geocart-modal-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.geocart-modal-header h2 {
  font-family: "Montserrat-SemiBold", sans-serif;
  font-size: 32px;
  line-height: 140%;
  color: #131e2d;
  margin: 0;
}

.geocart-modal-header p {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: #333;
  margin: 0;
  max-width: 100%;
}

.geocart-modal-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.geocart-modal-block {
  background: #D6DBDB;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  flex: 1 1 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.geocart-modal-block:hover {
  background: #eaeaea;
}

.geocart-modal-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.geocart-modal-block-header img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #e0e0e0;
  border-radius: 8px;
}

.geocart-modal-block-header h4 {
  font-family: "Montserrat-SemiBold", sans-serif;
  font-size: 20px;
  color: #2c3944;
  margin: 0;
}

.geocart-modal-block-hr {
  border: none;
  border-top: 1px solid #bbb;
  width: 100%;
}

.geocart-modal-block-text {
  font-family: "Montserrat-Regular", sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 150%;
  margin: 0;
}

@media (max-width: 600px) {
  .geocart-modal-content {
    padding: 24px 16px;
    max-height: 95vh;
  }

  .geocart-modal-block {
    flex: 1 1 100%;
  }
}

.geo-districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.geo-district__box {
    background-color: #f0f0f0;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.geo-district__box:hover {
    background-color: #e0e0e0;
}

.geo-district__name {
    font-size: 16px;
    font-weight: bold;
}

.geo-banner {
    background: #d6dbdb;
    padding: 10px 20px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
}

.geo-banner__map {
    opacity: 0.5;
    padding: 7px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.geo-banner__image {
    max-width: 1000px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.geo-banner__content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.geo-banner__divider {
    width: 100%;
    border-top: 1px solid #282424;
    margin-bottom: 10px;
}

.geo-banner__title {
    color: #282424;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.8;
    margin: 0;
}

.geo-banner__text {
    color: #5e5555;
    font-size: 22px;
    line-height: 1.45;
    margin: 0;
}

.geo-banner__link {
    color: #5e5555;
    text-decoration: underline;
}

.geo-banner__link--accent {
    color: #677e67;
    text-decoration: underline;
}

.news {
    background: #BBC4C4;
    padding: 3% 9%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.news__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.news__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #282424;
    margin: 0;
}

.news__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.news__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #677e67;
    text-decoration: underline;
}

.news__arrow {
    width: 17px;
    height: auto;
}

.news__divider {
    border: none;
    border-top: 1px solid #282424;
    margin: 0;
}

.news__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.news__list {
  flex: 1;
  min-width: 0;
}

.news__item {
  display: flex;
  flex-direction: column;
  height: auto !important;
  margin: 20px;
  border: 1px solid #677E67;
}

.news__image-wrapper {
width: 100%;
height: auto;
}

.news__image {
display: block;
width: 100%;
height: auto;
object-fit: cover;
}

.slick-track {
display: flex !important;
align-items: stretch;
}

.news__text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.news__item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #282424 !important;
}

.news__description {
    font-size: 14px;
    color: #444;
}

.news__pagination {
    background: none;
    border: none;
}

.news__pagination img {
    width: 36px;
    height: 36px;
}

.news__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d9d9d9;
}

.news__list .slick-slide {
  width: calc(100% / 3 - 20px); /* 3 слайда и отступы */
}

.activities-section {
    background: #d6dbdb;
    padding: 3% 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.activities-headerrr{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
}

.activities-section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #282424;
}

.line {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: #282424;
}

.activities-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    transition: max-height 0.4s ease;
}

.activities-item {
    padding: 10px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.item-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-head img {
    width: 30px;
    height: 30px;
}

.activities-item h3 {
    font-size: 24px;
    color: #282424;
    margin: 0;
}

.activities-item p {
    font-size: 18px;
    color: #5e5555;
    margin: 0;
}

.small-line {
    width: 100%;
    height: 1px;
    background: #282424;
}

.activities-item.extra {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

.activities-item.extra.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.activities-toggle {
    display: flex;
    justify-content: center;
}

.activities-toggle button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #677e67;
    border-radius: 14px;
    background: none;
    padding: 12px 24px;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #5e5555;
}

.activities-toggle button img {
    width: 24px;
    height: 24px;
}

.members {
    background-color: #d6dbdb;
    padding: 3% 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.members-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.members-title {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #282424;
    margin-bottom: 10px;
}

.line {
    height: 1px;
    background-color: #282424;
    width: 100%;
}

.line.small {
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
}

.members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.member {
    padding: 20px;
    border-radius: 20px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.member img {
    width: 70%;
    height: auto;
    border-radius: 20px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.member h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5e5555;
    font-family: "Montserrat", sans-serif;
    margin: 10px 0 0;
}

.member p {
    font-size: 1rem;
    color: #5e5555;
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

.events-section {
    background: #BBC4C4;
    padding: 3% 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 10px;
}

.events-header h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    color: var(--neutral-900, #282424);
    margin: 0;
    font-weight: 600;
}

.events-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-link {
    font-family: "Montserrat-Regular", sans-serif;
    font-size: 16px;
    color: var(--accent-600, #677e67);
    text-decoration: underline;
}

.arrow-icon {
    width: 16px;
    height: auto;
}

.divider {
    width: 100%;
    max-width: 1200px;
    border-top: 1px solid var(--neutral-900, #282424);
}

.events__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.events-list {
  flex: 1;
  min-width: 0;
}

.events-list .slick-track {
  display: flex !important;
  align-items: stretch;
}

.events-list .slick-slide {
  height: auto !important;
  display: flex;
  flex-direction: column;
  margin: 20px;
  width: calc(100% / 3 - 20px);
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #677E67;
}

.event-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.event-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #282424;
}

.event-content p {
  font-size: 14px;
  color: #444;
}

.slider-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--accent-600, #677e67);
    background: var(--primary-200, #d6dbdb);
}

.dot.active {
    background: var(--accent-600, #677e67);
}

.goals {
    background: #d6dbdb;
    padding: 60px;
    display: none;
}

.documents-section {
    background-color: #d6dbdb;
    padding: 3% 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.documents-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.documents-link {
    font-weight: 500;
    text-decoration: underline;
    color: #000;
}

.slider-container {
    position: relative;
    height: 500px;
    overflow: visible;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 10px 15px;
    border-radius: 50%;
}

.arrow-left {
    left: -35rem;
}

.arrow-right {
    right: -35rem;
}

.slider-h3{
    color: #677e67;
}

.slider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    height: 100%;
    overflow: visible;
}

.slide {
    position: absolute;
    width: 300px;
    height: 400px;
    background: #BBC4C4;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: all 0.6s ease-in-out;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    color: #677e67;
}

.slide.left,
.slide.right {
    opacity: 0.5;
    transform: translate(calc(-50% - 340px), -50%) rotateY(35deg) scale(0.9);
    pointer-events: auto;
    z-index: 1;
}

.slide.right {
    transform: translate(calc(-50% + 340px), -50%) rotateY(-35deg) scale(0.9);
}

.slide.center {
    transform: translate(-50%, -50%) rotateY(0deg) scale(1);
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    text-align: center;
    position: relative;
}

.modal-image {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
}

.close {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.normative-img{
    max-width: -webkit-fill-available;
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

@media (min-width: 768px) {
    .news__title {
        font-size: 40px;
    }

    .news__link {
        font-size: 16px;
    }

    .news__item-title {
        font-size: 24px;
    }

    .news__description {
        font-size: 18px;
    }

    .goals {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .goals-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .goals-header h2 {
        font-size: 40px;
        font-weight: 600;
        color: #282424;
        margin: 0;
    }

    .goals-line {
        width: 100%;
        max-width: 1200px;
        border-top: 1px solid #282424;
    }

    .goals-scroll {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        overflow: hidden;
        max-width: 1320px;
    }

    .scroll-btn {
        background: none;
        border: none;
        cursor: pointer;
    }

    .goals-content {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 0;
    }

    .goal-card {
        display: flex;
        gap: 30px;
        min-width: 1000px;
        padding: 0 10px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .goal-card img {
        width: 159px;
        height: 238px;
        object-fit: cover;
        border-radius: 10px;
    }

    .goal-text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        color: #5e5555;
    }

    .goal-text h3 {
        font-size: 32px;
        font-weight: 600;
        color: #282424;
        margin: 0;
    }

    .goal-text p {
        font-size: 22px;
        margin: 0;
    }
}

@media (min-width: 1024px) {
    .news__list {
        gap: 40px;
    }

    .news__item {
        max-width: 340px;
    }
}


@media (max-width: 1024px) {
    .slider {
    justify-content: center;
  }

  .slide {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
  }

  .slide.center {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }

  .slide.left,
  .slide.right {
    display: none;
  }

  .arrow-left,
  .arrow-right {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: -60px;
    transform: none;
    font-size: 24px;
    padding: 8px 12px;
  }

  .arrow-left {
    display: none;
  }

  .arrow-right {
    display: none;
  }

  .slider-container {
    height: 450px;
  }
    
    .news__pagination{
        display: none;
    }
    
    .events-list .slick-slide {
    width: calc(100% / 2 - 20px);
    }
    
    .news__list .slick-slide {
    width: calc(100% / 2 - 20px);
    }
  
    .news-section__slider {
        gap: 10px;
    }

    .slider-arrow {
        display: none;
    }

    .news-section__pagination {
        display: flex;
    }

    .geo-banner__image {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .documents-section{
        padding: 9% 3% 20% 3%;
    }
    
    .slide {
    width: 260px;
    height: 360px;
  }

  .slider-container {
    height: 400px;
  }

  .modal-content {
    width: 90%;
  }
  
    .news__list .slick-slide {
    width: 100%;
    }
    
    .events-list .slick-slide {
    width: calc(100% / 1 - 20px);
    }
    
    .news-section {
        padding: 20px 15px;
    }

    .news-section__title {
        font-size: 32px;
        text-align: center;
    }

    .news-section__controls {
        align-self: center;
    }

    .news-card__title {
        font-size: 22px;
    }

    .news-card__text {
        font-size: 16px;
    }

    .geo-banner__title {
        font-size: 32px;
    }

    .geo-banner__text {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .activities-block {
        gap: 20px;
    }

    .activities-item {
        max-width: 90%;
    }

    .events-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .events-header h2 {
        font-size: 28px;
    }

    .events-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }
}

@media (max-width: 480px) {
    .news-section__title, .news__title, .activities-section-title, .members-title {
        font-size: 28px;
    }
    
    .activities-item h3 {
        font-size: 22px;
    }

    .news-section__link {
        font-size: 14px;
    }

    .geo-banner__title {
        font-size: 24px;
    }

    .geo-banner__text {
        font-size: 16px;
    }

    .geo-banner {
        padding: 10px 15px 30px;
    }
}
