/* ==============================================
   Társkereső Profilok - Styles
   ============================================== */

/* --- Lista shortcode grid --- */
.tarskereso-lista-cim {
    text-align: center;
    margin-bottom: 30px;
}

.tarskereso-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.tarskereso-grid-4 .tarskereso-col {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
}

.tarskereso-grid-3 .tarskereso-col {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

.tarskereso-grid-2 .tarskereso-col {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

.member-wrapper {
    text-align: center;
}

.member-wrapper .member-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.member-wrapper .member-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.member-wrapper .member-txt {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}

/* --- Button --- */
.tarskereso-btn-wrap {
    text-align: center;
    margin-top: 30px;
}

.tarskereso-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e91e63;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.tarskereso-btn:hover {
    background: #c2185b;
    color: #fff;
}

/* --- Hobbi badges --- */
.profil-hobbik-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hobbi-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    line-height: 1.4;
}

.hobbi-emoji {
    font-size: 18px;
}

/* --- Hobbi list --- */
.profil-hobbik-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profil-hobbik-lista li {
    padding: 6px 0;
    font-size: 15px;
}

/* --- Hobbi inline row --- */
.profil-hobbik-sor {
    font-size: 15px;
    line-height: 1.8;
}

.hobbi-separator {
    color: #999;
}

/* --- Fallback single template --- */
.profil-single-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.profil-single {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.profil-single-kep {
    flex: 0 0 300px;
}

.profil-single-kep .profil-kep {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.profil-single-info {
    flex: 1;
}

.profil-single-nev {
    margin-top: 0;
}

.profil-single-nem {
    color: #777;
    margin-bottom: 20px;
}

.profil-single-bemutatkozas {
    margin-bottom: 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .tarskereso-grid-4 .tarskereso-col,
    .tarskereso-grid-3 .tarskereso-col {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .profil-single {
        flex-direction: column;
    }

    .profil-single-kep {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .tarskereso-grid-4 .tarskereso-col,
    .tarskereso-grid-3 .tarskereso-col,
    .tarskereso-grid-2 .tarskereso-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
