/* Контейнер */
.residents-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
}

/* Заголовок */
.residents-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Интро */
.residents-intro-accent {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: var(--color-bg-light);
    border-radius: 16px;
    align-items: flex-start;
}

.residents-icon {
    width: 32px;
    height: 32px;
}

/* Заголовок раздела */
.residents-section-title {
    font-size: 28px;
    margin-top: 32px;
}

.residents-section-sub {
    margin: 12px 0 24px;
    color: var(--color-text-secondary);
}

/* Аккордеон */
.residents-accordion-item {
    margin-bottom: 24px;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid #e5e5e5;
    padding: 12px;
    border-radius: var(--border-radius-lg);
}

/* Аккордеон */
.accordion-header {
    position: relative;
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    font-weight: bold;
}

.accordion-header::after {
    content: '';
    display: inline-block;
    width: 0; 
    height: 0; 
    margin-left: 8px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--color-accent);
    transition: transform 0.3s ease;
}

.residents-accordion-item.open .accordion-header::after {
    transform: rotate(180deg);
}


.accordion-header span{
    font-size: var(--font-size-a);
    font-weight: bold;
    
}

.accordion-arrow {
    width: 22px;
    transition: transform .3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-inner {
    padding: 12px 0 16px;
    line-height: 1.6;
    color: var(--color-text);
}



/* Адаптив */
@media (max-width: 768px) {
    .residents-title { font-size: 32px; }
    .residents-section-title { font-size: 24px; }
}
