body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;color:#000}
.aspect-ratio-box{position:relative;width:100%;padding-bottom:56.25%}
.aspect-ratio-box iframe{position:absolute;top:0;left:0;width:100%;height:100%}
.serif-quote{font-family:Georgia,'Times New Roman',Times,serif;border-left:3px solid #000;padding-left:1rem;margin-left:0}
#app{opacity:1}
/* #app.loaded transition removed */
.fade-out{opacity:0;transition:opacity .5s}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 200px;
}
.dropdown-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item:hover {
    background-color: #f9fafb;
}

/* --- STYLES FOR LINK ITEMS --- */
.link-block-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    border: 1px solid #e5e7eb; /* Matches Tailwind gray-200 */
    border-radius: 0.5rem;   /* Matches Tailwind rounded-lg */
    background-color: #f9fafb; /* Matches Tailwind gray-50 */
    min-height: 80px;
    transition: background-color 0.2s;
}
.link-block-container:hover {
    background-color: #f3f4f6; /* Matches Tailwind gray-100 */
}
.link-content {
    flex: 1;
    overflow: hidden;
}
.link-title {
    font-size: 1rem; /* 16px */
    font-weight: 600;
    color: #1f2937; /* Tailwind gray-800 */
    line-height: 1.4;
    /* Clamp title to 2 lines for consistent height */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.link-url {
    font-size: 0.75rem; /* 12px */
    color: #6b7280; /* Tailwind gray-500 */
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.link-image-container {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}
.link-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area without distortion */
    border-radius: 0.5rem; /* Matches Tailwind rounded-lg */
    background-color: #e5e7eb;
}
