body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.public-nav a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 0 15px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.public-nav a:hover {
    color: var(--text-secondary);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

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

section:last-child {
    border-bottom: none;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.info-section {
    margin-bottom: 60px;
}

#news h2, 
#surveys h2, 
#about h2, 
#contacts h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.news-description {
    background-color: var(--bg-light); 
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 40px;
}

.news-description h3 {
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.styled-list li:before {
    content: "—";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}


.news-item {
    padding: 25px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.news-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.news-category--preview {
    display: inline-block;
    background-color: #f0f0f0; 
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.75rem;
    width: fit-content;
}

.event-card {
    border-left: 3px solid #000;
    padding-left: 20px;
}


.social-contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.social-icon {
    width: 24px; 
    height: 24px;
    margin-right: 10px; 
    vertical-align: middle; 
}

.social-icon-link {
    line-height: 1; 
    padding: 0;
    margin: 0;
    display: inline-block;
}

.social-icon-link .social-icon {
    width: 30px; 
    height: 30px;
    margin-right: 0;
}

footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Контейнер новостей */
.news-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px; /* расстояние между карточками */
    padding: 10px;
}

/* Карточки новостей */
.news-item {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.news-item:hover {
    transform: translateY(-5px); /* лёгкий hover-эффект */
}

/* Картинка в карточке */
.news-item .news-image {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* Текстовые элементы */
.news-item .news-category--preview {
    font-size: 0.8rem;
    color: #555;
}

.news-item .news-title {
    font-size: 1.1rem;
    margin: 5px 0;
}

.news-item .news-summary {
    font-size: 0.9rem;
    color: #333;
}
