/* Alap layout a user.php fájlhoz */
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f1ea; /* KV bézs háttér */
    color: #2b2b2b;
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Globális KV hero (ha máshol használod) */
.kv-hero {
    display: block;
    width: 100%;
    margin: 25px 0;
}

.kv-hero-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #d2c7b8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Profil hero – világosabb, finomabb */
.kv-hero-profil {
    display: block;
    width: 100%;
    margin: 20px 0 25px 0;
}

.kv-hero-profil-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e4dbcf; /* világosabb keret */
    box-shadow: none; /* nincs árnyék, könnyebb vizuál */
}

/* Felhasználói név */
h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #4b2e2a; /* KV sötét kávébarna */
}

/* Avatar */
.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d2c7b8; /* latte keret */
    margin: 15px 0;
}

/* Bio */
.user-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}

/* --- ÚJ: Honlap + Blog kétoldalas kártyák --- */

.profile-cards {
    display: flex;
    flex-direction: column;
    align-items: center; /* középre igazítás */
    gap: 22px;
    margin: 30px 0 40px 0;
}

.profile-card {
    background: #f9f5ef; /* finom KV bézs */
    border: 1px solid #e0d8c8; /* latte keret */
    border-radius: 12px;
    padding: 22px 26px;
    width: 100%;
    max-width: 720px; /* nagyobb, elegáns méret */
    transition: all 0.25s ease;

    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 22px;
}

.profile-card:hover {
    background: #f3ece3;
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

/* Bal oldal */
.profile-card-left {
    flex: 1;
    min-width: 0;
}

.profile-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #4b2e2a;
    margin-bottom: 8px;
}

.profile-card-link {
    font-size: 1rem;
    font-weight: 500;
    color: #3b2a26;
    text-decoration: none;
    word-break: break-all;
}

.profile-card-link:hover {
    text-decoration: underline;
    color: #5a3c35;
}

/* Középső szeparátor */
.profile-card-divider {
    width: 1px;
    background: #d8cfc2;
    margin: 0 10px;
    height: auto;
    min-height: 0;
}

/* Jobb oldal */
.profile-card-right {
    flex: 1;
    min-width: 0;
}

.profile-card-fixedtext {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b2e2a;
    line-height: 1.55;
}

/* --- Kártyás social layout --- */

.social-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin: 20px 0 30px 0;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e0d8c8;
    border-radius: 8px;
    color: #3b2a26;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-card:hover {
    background: #f0e8dc;
    border-color: #d2c7b8;
    transform: translateY(-2px);
}

/* Social ikonok */
.social-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

/* Választó vonal */
hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 25px 0;
}

/* Kérdéslista */
.question-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.question-list li {
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #ddd;
}

.question-list li:last-child {
    border-bottom: none;
}

.question-list a {
    text-decoration: none;
    color: #3b2a26;
    font-weight: 500;
}

.question-list a:hover {
    text-decoration: underline;
}

.question-date {
    font-size: 0.8rem;
    color: #777;
    margin-left: 6px;
}

/* Mobil optimalizáció */
@media (max-width: 700px) {

    .container {
        margin: 20px auto;
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .user-avatar {
        width: 100px;
        height: 100px;
    }

    .user-bio {
        font-size: 0.95rem;
    }

    .profile-card {
        padding: 18px 20px;
        max-width: 100%;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .profile-card-divider {
        width: 100%;
        height: 1px;
        margin: 10px 0;
    }

    .social-card {
        padding: 12px 14px;
    }
}