/* ==================================================
   Profile 
================================================== */

.profile-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.profile-grid-3 {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

/* ==================================================
   Profile List
================================================== */

.profile-list {
    margin: 0;
}

.profile-list-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(78, 168, 202, 0.10);
}

.profile-list-row:first-child {
    padding-top: 0;
}

.profile-list-row:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.profile-list dt {
    color: var(--color-text-sub);
}

.profile-list dd {
    margin: 0;
    font-weight: var(--font-weight-bold);
}

/*
.profile-content { 
}
*/

/* ==================================================
   Tags
================================================== */

.tag-list {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.tag-list li {
    padding: 6px 11px;

    border-radius: 999px;

    background: #edf9fc;

    color: var(--color-primary-dark);

    font-size: var(--font-size-small);
    font-weight: var(--font-weight-normal);
}

/* ==================================================
   Profile Image
================================================== */

.profile-image {
    width: 100%;

    /*aspect-ratio: 16 / 7;*/
    aspect-ratio: 3 / 1;

    overflow: hidden;

    background: var(--color-background-image);
}

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

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.profile-image img {
    transform: scale(1.04);
}

/* ==================================================
   Profile Card
================================================== */

.profile-card {
    margin-top: 24px;
    padding: 24px;

    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
}

.profile-card h2 {
    margin: 0 0 20px;
}

.profile-card-image {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-medium);
}

.profile-card-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==================================================
   Responsive
================================================== */

@media (max-width: 640px) {

    .profile-grid,
    .profile-grid-3 {
        grid-template-columns: 1fr;
    }

    .bento-card {
        padding: 24px;
    }

}

@media (max-width: 480px) {

    .bento-card {
        padding: 20px;
    }

    .profile-list-row {
        grid-template-columns: 85px minmax(0, 1fr);

        gap: 10px;
    }

}