.top-image::after {
    background-image: url(../images/backgrounds/societies_new.png);
}

html {
    background: #FFFFFF;
}

.content {
    margin-top: 70px !important;
    padding: 0 20px 0 20px;
    min-height: unset !important;
}

.news-list-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 1.2em;
    width: 5px;
    background: var(--logo-blue);
    border-radius: 2px;
}

.news-list-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-family: "Mariupol-Bold", sans-serif;
    color: var(--secondary-text);
}

.region {
    font-family: "Mariupol-Bold", sans-serif;
    color: var(--secondary-text);
    font-size: 1.3rem;
    margin: 0;
}

.news-list-header:has(.region) {
    padding: 0 0 0 16px;
    margin-bottom: 12px;
    margin-top: 20px;
}

.news-list-header:has(.region)::before {
    top: 0.15em;
    bottom: 0.15em;
}

.address {
    color: var(--additional-text) !important;
}

.vertical-list-element {
    flex-direction: column;
    gap: 0;
}

.vertical-list-element p {
    margin-bottom: 0;
}

.vertical-list-element a {
    font-size: 0.9rem;
}

.vertical-list-element h3 {
    font-family: "Mariupol-Bold", sans-serif;
    font-size: 1.1rem;
}

.contact-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-section:first-child {
    padding-top: 0;
}

.contact-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-section .mail {
    display: block;
    margin-bottom: 0.4rem;
}

.contact-people {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.manager {
    margin-bottom: 0 !important;
}

.manager-role {
    font-family: "Mariupol-Bold", sans-serif;
    color: var(--additional-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem !important;
}

.number, .mail, .vertical-list-element h3 {
    color: var(--logo-blue) !important;
}

.social-buttons a {
    background-color: var(--logo-blue);
}

.map-image {
    flex: 1;
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-image svg {
    width: 100%;
    height: auto;
    max-height: 100%;
}

.columns {
    padding: 0;
    align-items: flex-start;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

@media (min-width: 1421px) {
    .columns {
        width: 1420px;
        margin-left: auto;
        margin-right: auto;
    }
}

.column {
    display: block;
}

.column-right {
    width: 60%;
    height: calc(100vh - 70px);
    position: sticky;
    top: 70px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.column-right .news-list-header {
    flex: 0 0 auto;
    margin-left: 36px;
}

.column-left {
    position: relative; /* якщо ще нема */
    width: 40%;
    height: calc(100vh - 70px);
    overflow-y: auto;
    background-color: var(--secondary-background);
    padding: 0 24px 20px 24px;
    box-shadow: none;
}

/*.column-left::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    left: -1px;*/
/*    width: 10px;*/
/*    background: linear-gradient(to left, rgba(14, 30, 45, 0.05), transparent);*/
/*    pointer-events: none;*/
/*}*/

.footer {
    margin-top: 0 !important;
}

.vertical-list-columns {
    margin-bottom: 24px;
}

/* початковий стан (всі елементи з'являться "приглушеними") */
.map-item {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

/* фінальний стан — коли JS додасть .animate */
.map-item.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 750px) {
    .content {
        padding: 0 !important;
    }
    
    .columns {
        padding: 0 20px;
        height: auto;
        min-height: unset;
        max-height: unset;
        flex-direction: column;
    }
    
    .column-right .news-list-header {
        margin-left: 36px !important;
    }
    
    .column {
        width: 100%;
        height: unset;
        max-height: unset;
        overflow-y: initial !important;
    }
    
    .column-right {
        overflow: visible;
        position: static;
        height: unset;
    }
    
    .news-list-header:has(.region) {
        position: static;
        margin: 20px 0 12px 0;
        padding: 0 0 0 36px !important;
    }
    
    .news-list-header:has(.region)::before {
        left: 0;
    }
    
    .column-left {
        width: 100vw;
        margin-left: -20px;
        margin-right: 0;
        padding: 20px;
        box-sizing: border-box;
        box-shadow: 0 -8px 20px rgba(14, 30, 45, 0.08);
    }
    
    .logo-wrapper {
        align-items: center;
    }
    
    .column-left::after {
        display: none;
    }
}