.az-elnok-kore .circle-frame {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    margin-bottom: 1rem;
}

.az-elnok-kore .col {
    height: 430px;
}

@media (max-width: 992px) {
    .az-elnok-kore .circle-frame {
        width: 200px;
        height: 200px;
    }

    .az-elnok-kore .col {
        height: 310px;
    }
}

@media (max-width: 768px) {
    .az-elnok-kore .circle-frame {
        width: 160px;
        height: 160px;
    }

    .az-elnok-kore .col {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .az-elnok-kore .circle-frame {
        width: 160px;
        height: 160px;
    }

    .az-elnok-kore .col {
        height: 300px;
    }

    .az-elnok-kore .popup-content {
        margin-top: 2rem;
    }

    .az-elnok-kore .testulet-popup-content {
        padding: 0;
        font-size: 0.8rem;
    }

    .az-elnok-kore .testulet-popup-name {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
}

.az-elnok-kore .circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-elnok-kore .margin-bottom-none {
    margin-bottom: unset !important;
}

.az-elnok-kore .text-wrapper {
    display: flex;
    flex-direction: column;
}

.az-elnok-kore .inline-block {
    display: inline-block;
}

.az-elnok-kore .kiemelt-testuleti-tag {
    background: #dfe9f7 !important;
}

/* Ensure the flip card fills the column */

.az-elnok-kore .flip-card {
    width: 100%;
    height: 100%;
    perspective: 1000px;
    position: relative;
}

.az-elnok-kore .flip-card-inner {
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.az-elnok-kore .flip-card-front,.az-elnok-kore .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    border: 1px solid;
    border-color: var(--bs-border-color-translucent);
}

.az-elnok-kore .flip-card-back {
    background-color: #f1f1f1;
    color: black;
    transform: rotateY(180deg);
}

.az-elnok-kore .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.az-elnok-kore .close-btn {
    position: absolute;
    top: 0px;
    right: 7px;
    font-size: 20px;
    cursor: pointer;
    color: #323253;
    font-weight: 700;
}

.az-elnok-kore .close-btn:hover {
    color: red;
}

.az-elnok-kore .testulet-popup-name {
    color: var(--bs-link-color);
    font-weight: 700;
    font-family: var(--ff-accent);
}

.az-elnok-kore .testulet-popup-content {
    color: var(--bs-link-color);
    text-align: left;
    padding: 0 20px 20px 20px;
}

.az-elnok-kore .position {
    font-style: italic;
    font-weight: normal;
    font-size: 14px;
}

.az-elnok-kore .flip-card {
    font-family: var(--ff-accent);
}

.az-elnok-kore .event-card:hover .anim-ul-link {
    background-size: 100% 2px;
    background-position: 0 88%;
    background-image: linear-gradient(#021936, #021936);
}

.az-elnok-kore ul {
    margin-right: 1rem;
}

.az-elnok-kore .content-row {
    width: 90%;
    margin: 0 auto;
}

.az-elnok-kore .anim-ul-link {
    text-shadow: none;
}