.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-item {
    width: 95%;
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    background: white;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.link-item:hover {
    border-color: #0366d6;
    box-shadow: 0 3px 8px rgba(3, 102, 214, 0.2);
}

.link-icon {
    width: auto;
    height: 48px;
    margin-right: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.link-content {
    flex: 1;
}

.link-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #24292e;
    margin-bottom: 5px;
}

.link-description {
    color: #586069;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.link-tags {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.link-tag {
    display: inline-block;
    padding: 4px 6px;
    color: white;
    border-radius: 3px;
    background-color: #586069;
    white-space: nowrap;
}

.link-url {
    display: inline-block;
    max-width: 30%;
    white-space: collapse;
    color: #586069;
    font-size: 0.8rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #f6f8fa;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: auto;
    overflow: auto;
}

@media (max-width: 768px) {
    .link-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .link-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .link-url {
        margin-left: 0;
        margin-top: 10px;
    }
}
