:root {
    --profile-shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}

.home-profile {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
}

.home-profile-media {
    display: flex;
    justify-content: center;
}

.home-profile-image {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--profile-shadow);
}

.home-profile .entry-header h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.home-profile .entry-content {
    margin: 1rem 0 0;
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 40rem;
}

.home-profile-actions {
    margin: 1.5rem 0 1.25rem;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--theme);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.button-link:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.dark .button-link {
    color: var(--theme);
}

@media (max-width: 720px) {
    .home-profile {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.4rem;
    }

    .home-profile .entry-content {
        margin-left: auto;
        margin-right: auto;
    }

    .home-profile .social-icons {
        justify-content: center;
    }
}
