/* #web1-page-links {

    border-color: pink;
    border-width: 15px;
    border-style: solid;

    aside {
        background-color: blue !important;
    }

} */

#links-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-group h2 {
    color: var(--chronology-agent-text-color);
    border-bottom: 2px solid var(--primary-border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.link-entry {
    background-color: var(--very-light-background-color);
    border: 1px solid var(--primary-border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.3s ease;
    max-height: 50dvh;
    overflow-y: auto;
    position: relative;
    cursor: pointer;
}

.link-entry.expanded {
    max-height: none;
}

.link-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-border-color-dark);
}

.link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.link-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-color-base);
}

.link-actions {
    display: flex;
    gap: 0.5rem;
}

.copy-button {
    background-color: var(--button-background-color-base);
    color: var(--button-text-color-base);
    border: 1px solid var(--button-border-color-base);
    border-radius: var(--button-border-radius-base);
    padding: 4px 10px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background-color: var(--button-hover-background-color);
    border-color: var(--button-hover-border-color);
}

.link-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color-base);
}

.link-url-container {
    word-break: break-all;
    font-size: 0.85rem;
}

.link-url {
    color: var(--link-color);
    text-decoration: var(--link-text-decoration);
}

.link-url:hover {
    color: var(--link-hover-color);
    text-decoration: var(--link-hover-text-decoration);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}