/* ==========================
   PROFILE
========================== */

.profile {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px;
    box-sizing: border-box;
    color: black;
}

/* ==========================
   HEADER
========================== */

.profile-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 50px;
}

.profile-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.profile-header p {
    font-size: 15px;
    color: #777;
}

/* ==========================
   EMPTY
========================== */

.empty-profile {
    text-align: center;
    padding: 80px 20px;
    border: 1px solid #ececec;
    border-radius: 20px;
}

.empty-profile h2 {
    font-size: 24px;
}

/* ==========================
   GRID
========================== */

.profile-grid {
    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(320px, 420px)
    );

    justify-content: center;

    gap: 40px;
}

/* ==========================
   CARD
========================== */

.profile-card {
    width: 100%;

    background: #fff;

    border: 1px solid #ececec;
    border-radius: 20px;

    overflow: hidden;

    box-sizing: border-box;

    transition: 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ==========================
   IMAGE
========================== */

.profile-image {
    width: 100%;
    height: 250px;

    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.profile-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f5;
    color: #999;
}

/* ==========================
   CONTENT
========================== */

.profile-content {
    padding: 24px;
}

.profile-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.profile-introduction {
    line-height: 1.8;
    color: #555;

    margin-bottom: 20px;

    word-break: break-word;
}

.profile-contact {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.profile-contact a {
    color: #111;
    text-decoration: none;
    font-weight: 600;

    word-break: break-all;
}

.profile-contact a:hover {
    text-decoration: underline;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    .profile {
        padding: 20px 15px 50px;
    }

    .profile-header {
        margin-bottom: 25px;
    }

    .profile-header h1 {
        font-size: 26px;
    }

    .profile-header p {
        font-size: 13px;
    }

    .empty-profile {
        padding: 50px 15px;
        border-radius: 14px;
    }

    .empty-profile h2 {
        font-size: 18px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-card {
        width: 100%;
        max-width: 100%;

        border-radius: 14px;
    }

    .profile-card:hover {
        transform: none;
        box-shadow: none;
    }

    .profile-image {
        height: 180px;
    }

    .profile-content {
        padding: 18px;
    }

    .profile-content h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .profile-introduction {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .profile-contact {
        font-size: 14px;
        padding-top: 10px;
    }
}