/* The links page — the address for a social profile. One column, light like the rest of
   the page body, and every way to reach Vladimir a full-width button a thumb hits first time. */

.links-main {
    background: #f6f4ef;
    color: #1c1917;
    /* Clear of the fixed header, which is taller on a wide screen. */
    padding: 120px 16px 64px;
}

@media (min-width: 768px) {
    .links-main {
        padding-top: 148px;
    }
}

.links-card {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.links-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #fffcf7, 0 0 0 4px #d6cfc4;
}

.links-name {
    margin: 16px 0 6px;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #1c1917;
}

.links-bio {
    margin: 0 0 28px;
    color: #57534e;
}

.links-list {
    display: grid;
    gap: 12px;
}

.links-button {
    display: block;
    padding: 14px 20px;
    min-height: 52px;
    border-radius: 14px;
    background: #fffcf7;
    border: 1px solid #d6cfc4;
    color: #1c1917;
    font-weight: 600;
    text-decoration: none;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.links-button:hover,
.links-button:focus-visible {
    border-color: #6d28d9;
    transform: translateY(-1px);
}

.links-button--primary {
    background: #1c1917;
    border-color: #1c1917;
    color: #fffcf7;
}

.links-button--primary:hover,
.links-button--primary:focus-visible {
    border-color: #1c1917;
    background: #292524;
}

.links-posts {
    margin-top: 40px;
    text-align: left;
}

.links-posts-title {
    margin: 0 0 12px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #57534e;
}

.links-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.links-post a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    background: #fffcf7;
    border: 1px solid #e7e0d6;
    color: #1c1917;
    text-decoration: none;
}

.links-post a:hover,
.links-post a:focus-visible {
    border-color: #6d28d9;
}

.links-post picture {
    flex: none;
    display: block;
}

.links-post-cover {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 0 1px #d6cfc4;
}

.links-post-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.links-post time {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #57534e;
}

.links-post-title {
    font-weight: 600;
    line-height: 1.35;
}

.links-post--empty {
    padding: 12px;
    color: #44403c;
}

.links-all {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 0;
    color: #1c1917;
    font-weight: 600;
}
