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

.eworld-contacts {
    width: 100%;
}

.eworld-contacts__wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--color-dark);
    background: var(--color-light);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.eworld-contacts__item,
.eworld-contacts__content {
    flex: 1 1 50%;
}

.eworld-contacts__item {
    position: relative;
    overflow: hidden;
}

.eworld-contacts__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

.eworld-contacts__wrapper:hover .eworld-contacts__image {
    transform: scale(1.05);
}

.eworld-contacts__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 16px;
    background: var(--color-danger);
    color: var(--color-light);
    font-size: var(--font-size-s);
}

.eworld-contacts__content {
    padding: 20px;
}

.eworld-contacts__content-name {
    font-size: var(--font-size-3xl);
}

.eworld-contacts__content-subline {
    display: inline-block;
    margin-top: 4px;
}

.eworld-contacts__topics {
    margin: 10px 0 0 20px;
    padding: 0;
}

.eworld-contacts__topics li {
    margin: 0;
    padding: 0;
}
