/* Eredmények konténer */
.eredmeny-container {
    display: flex;
    font-family: "Open Sans", Sans-serif;
    flex-direction: column;
}

.eredmeny-item {
    display: flex;
    border-bottom: 1px solid #4D6472;
    padding-bottom: 54px;
    margin-bottom: 54px;
    flex-direction: row;
    gap: 125px;
        align-items: center;
}

.eredmeny-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}



/* Tartalom rész */
.eredmeny-content {
    display: flex;
    flex-direction: column;
}



.eredmeny-title {
    margin-bottom: 10px;
    font-size: 20px;
    color: #47342D;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.eredmeny-description {
    font-size: 16px;
font-style: normal;
font-weight: 400;
color: #47342D;
}

.eredmeny-description p {
    margin: 0 0 10px 0;
}

.eredmeny-description p:last-child {
    margin-bottom: 0;
}

/* Gombok rész */
.eredmeny-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 200px;
}

.eredmeny-btn {
display: flex;
width: 180px;
padding: 10px 15px;
justify-content: center;
align-items: center;
font-family: "Open Sans";
font-size: 20px;
font-style: normal;
font-weight: 400;
    text-align: center;
    text-decoration: none;
border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    text-transform: uppercase;
}

.eredmeny-btn-pdf {
    background: #dc354600;
color: #DA5C57;
    border: 2px solid #DA5C57;
}

.eredmeny-btn-pdf:hover {
    background: #c82333;
}

.eredmeny-btn-galeria {
    background: #33333300;
    color: #736A65;
       border: 2px solid #736A65;
}



/* Modal ablak */
.eredmeny-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.eredmeny-modal.active {
    display: block;
    opacity: 1;
}

/* Modal overlay */
.eredmeny-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

/* Modal tartalom */
.eredmeny-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    margin: 5vh auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.eredmeny-modal.active .eredmeny-modal-content {
    transform: scale(1);
}

/* Bezárás gomb */
.eredmeny-modal-close {
    position: absolute;
    top: 20px;
    display: flex;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #47342D;
    border: 1px solid #ffffff;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    justify-content: center;
    align-items: center;
}

.eredmeny-modal-close:hover {
   background: #E9E1DA;
    color: #47342D;
        border: 1px solid #E9E1DA;

}

/* Modal képek */
.eredmeny-modal-images {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.eredmeny-modal-image {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.eredmeny-modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Reszponzív dizájn */
@media (max-width: 1024px) {
    .eredmeny-item {
        grid-template-columns: 1fr;
    }
    
    .eredmeny-actions {
        flex-direction: row;
        width: 100%;
    }
    
    .eredmeny-btn {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .eredmeny-container {
        gap: 0px;
    }

        .eredmeny-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .eredmeny-item {
              padding-bottom: 30px;
              margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .eredmeny-title {
        font-size: 20px;
    }
    
    .eredmeny-description {
        font-size: 15px;
    }
    
    .eredmeny-modal-content {
        width: 95%;
        margin: 2.5vh auto;
        max-height: 95vh;
    }
    
    .eredmeny-modal-images {
        padding: 70px 20px 20px;
    }
    
    .eredmeny-modal-close {
        width: 45px;
        height: 45px;
        font-size: 28px;
        top: 15px;
        right: 15px;
    }
}
