#editorialTeam {
    width: 100%;
    padding: 30px 0;
    box-sizing: border-box;
}

#Редактори {
    width: 100%;
    box-sizing: border-box;
}

#Редактори h1 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #162033;
}

.editorial-section {
    margin-bottom: 34px;
}

.editor-card {
    display: flex;
    gap: 26px;
    padding: 22px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.editor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.editor-card__image {
    flex: 0 0 200px;
    width: 200px;
}

.editor-card__image img {
    display: block;
    width: 200px;
    height: 240px;
    border-radius: 14px;
    object-fit: cover;
    object-position: center;
    background: #f3f5f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.editor-card__content {
    flex: 1;
    min-width: 0;
}

.editor-card__name {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}

.editor-card__name a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.editor-card__name a:hover {
    color: #0f5ec9;
    text-decoration: underline;
}

.editor-card__text {
    margin: 0 0 5px;
    font-size: 15px;
    line-height: 1.55;
    color: #444;
}

.editor-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 12px;
}

.editor-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 8px;
    border: 1px solid #dbe6ff;
    background: #eef3ff;
    color: #1a73e8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-link:hover {
    background: #1a73e8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(26, 115, 232, 0.18);
}

.editor-link--disabled {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 8px;
    border: 1px solid #c9ced7;
    background: #d6d9df;
    color: #7d8592;
    font-size: 12px;
    font-weight: 500;
    cursor: default;
}

.editor-card__email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #1a73e8;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-card__email:hover {
    background: #0f5ec9;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(26, 115, 232, 0.22);
}

@media (max-width: 900px) {
    .editor-card {
        flex-direction: column;
        gap: 18px;
    }

    .editor-card__image {
        width: 100%;
        flex: unset;
        max-width: 240px;
    }

    .editor-card__image img {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 600px) {
    #editorialTeam {
        padding: 20px 0;
    }

    #Редактори h1 {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .editorial-section {
        margin-bottom: 28px;
    }

    .editor-card {
        padding: 16px;
        gap: 16px;
        border-radius: 14px;
    }

    .editor-card__name {
        font-size: 20px;
    }

    .editor-card__text {
        font-size: 14px;
    }

    .editor-link,
    .editor-link--disabled {
        font-size: 11px;
        padding: 5px 9px;
    }

    .editor-card__email {
        font-size: 13px;
        padding: 8px 12px;
    }
}

.editor-card__name{
    margin: 0 !important;
}

.pkp_structure_main p {
    margin: 0 !important; 
}

/* ===== Контактна інформація ===== */

.pkp_structure_main {
    padding: 0 20px 36px;
    box-sizing: border-box;
}

.page.page_contact {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 30px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.06);
    box-sizing: border-box;
}

/* Хлібні крихти */
.page.page_contact .cmp_breadcrumbs {
    margin-bottom: 20px;
}

.page.page_contact .cmp_breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page.page_contact .cmp_breadcrumbs li {
    font-size: 13px;
    color: #7b8794;
}

.page.page_contact .cmp_breadcrumbs a {
    color: #1a73e8;
    text-decoration: none;
}

.page.page_contact .cmp_breadcrumbs a:hover {
    text-decoration: underline;
}

.page.page_contact .cmp_breadcrumbs .separator {
    color: #a0a8b3;
}

/* Заголовок */
.page.page_contact h1 {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #162033;
}

/* Основний контейнер */
.page.page_contact .contact_section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* Адреса */
.page.page_contact .contact_section .address {
    grid-column: 1 / -1;
    padding: 14px 18px;
    background: #eef4ff;
    border: 1px solid #dbe7ff;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #42526b;
}

/* Карточки */
.page.page_contact .contact {
    min-width: 0;
    width: 100%;
    padding: 22px 22px 20px;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(20, 40, 90, 0.05);
    box-sizing: border-box;
}

/* Верхняя цветная линия */
.page.page_contact .contact.primary {
    border-top: 4px solid #1a73e8;
}

.page.page_contact .contact.support {
    border-top: 4px solid #2fb463;
}

/* Заголовки карточек */
.page.page_contact .contact h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #173b72;
}

/* Имя */
.page.page_contact .contact .name {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #1b2430;
}

/* Место работы */
.page.page_contact .contact .affiliation {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.55;
    color: #5f6b7a;
}

/* Телефон / email */
.page.page_contact .contact .phone,
.page.page_contact .contact .email {
    margin-top: 12px;
}

.page.page_contact .contact .label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8699;
}

.page.page_contact .contact .value {
    font-size: 15px;
    line-height: 1.4;
    color: #1f2937;
}

.page.page_contact .contact .email a {
    font-size: 15px;
    line-height: 1.4;
    color: #1a73e8;
    text-decoration: none;
    word-break: break-word;
}

.page.page_contact .contact .email a:hover {
    text-decoration: underline;
}

/* Адаптив */
@media (max-width: 900px) {
    .page.page_contact .contact_section {
        grid-template-columns: 1fr;
    }

    .page.page_contact h1 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .pkp_structure_main {
        padding: 0 12px 24px;
    }

    .page.page_contact {
        padding: 18px 16px 24px;
        border-radius: 16px;
    }

    .page.page_contact h1 {
        font-size: 24px;
    }

    .page.page_contact .contact {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .page.page_contact .contact h3 {
        font-size: 18px;
    }

    .page.page_contact .contact .name {
        font-size: 16px;
    }

    .page.page_contact .contact .affiliation,
    .page.page_contact .contact .value,
    .page.page_contact .contact .email a,
    .page.page_contact .contact_section .address {
        font-size: 14px;
    }
}