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

@media (max-width: 1400px) {
    .circle-frame {
        width: 210px;
        height: 210px;
    }
}

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

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


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

    .event-overlay-card.ratio-1x1, .event-card.ratio-1x1 {
        --bs-aspect-ratio: 85% !important;
    }
}

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

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

.testulet-popup-name {
    font-size: 28px;
}

.popup-header .position {
    font-size: 18px;
    font-style: italic;
}

.popup {
    background-color: #fff;
    width: 992px;
    padding: 50px;
    position: absolute;
    top: 121px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .popup {
        width: 90%;
        top: 101px;
    }
}

.popup-header {
    display: flex;
    align-items: center;
}

.popup-header .row {
    width: 100%;
    align-items: center;
}

.popup-header img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-right: 20px;
}

.popup-header h2 {
    font-weight: 700;
    font-size: 28px;
    margin: 0;
}

.popup-header .position {
    font-size: 18px;
    font-style: italic;
}

.popup-content {
    margin-top: 20px;
    line-height: 1.6;
}

.popup-footer {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
}

.popup-footer a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: #021936;
    font-weight: bold;
    font-size: 16px;
}

.popup-footer img {
    width: 48px;
    height: 48px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #ff0000;
}

.cv-link:hover img {
    transform: scale(1.21);
}

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

.inline-block {
    display: inline-block;
}

.doctype {
    font-weight: normal;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup, .overlay {
    display: none;
}

.kiemelt-testuleti-tag {
    background: #dfe9f7;
}

.profile_image {
    width: 100%
}

.more_button {
    vertical-align: top;
    height: 18px;
    margin-left: 0.1rem !important;
}

.vezetoseg_highlighted, .vezetoseg_highlighted_bg {
    padding: 30px 10px 0px 10px;
    margin-bottom: 30px;
}

.vezetoseg_highlighted, .highlight_members {
    margin-bottom: 30px;
}

.vezetoseg_hosszu_leiras, .vezetoseg_hosszu_leiras_bg {
    padding: 0 0px 30px 0px;
}

.vezetoseg_highlighted_bg, .vezetoseg_hosszu_leiras_bg {
    background: #dfe9f7;
    margin-bottom: 0;
    padding-bottom: 30px;
}

.highlighted_name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: unset;
}

.highlight_titulus {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.osztaly {
    margin-top: 0.5rem;
    font-weight: 700;
}

.popup-osztaly {
    font-weight: 700;
    font-size: 18px;
}

.vezetoseg_hosszu_leiras_toggle {
    width: 105px;
    height: 38px;
    padding-top: 9px;
}

.close_button_x {
    vertical-align: top;
    margin-top: 2px;
    margin-left: 0.3rem;
}

.vezetoseg_hosszu_leiras_toggle_hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.card {
    font-family: var(--ff-accent);
    display: flex;
}

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

@media (min-width: 992px) {
    .posts-col .card {
        height: 430px;
    }

    .second-col-9 {
        order: 1;
    }
    .second-col-3 {
        order: 2;
    }

}

@media (max-width: 992px) {
    .posts-col .card {
        height: 380px;
    }

    .mod-col-3 {
        width: 100%;
        padding: 0 2rem 2rem 2rem;
    }

    .mod-col-9 {
        width: 100%;
        padding: 0;
    }

    .sm-center {
        text-align: center;
    }

    .second-col-9 {
        order: 2;
        width: 100%;
        padding: 0;
    }
    .second-col-3 {
        order: 1;
        width:100%;
        padding: 0 2rem 2rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .posts-col .card {
        height: 310px;
    }
}

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

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