﻿.article-figure {
    margin: 20px 0;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.article-caption {
    margin-top: 8px;
    padding: 0 5px;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    font-style: italic;
}

.section-divider {
    border-top: 1px solid #e0e0e0;
    margin: 10px 0 20px 0;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease-in-out;
    z-index: 9999;
}

.popup-dialog {
    background: white;
    padding: 24px;
    border-radius: 10px;
    width: 360px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .popup-dialog h3 {
        margin-top: 0;
        font-size: 1.25rem;
    }

    .popup-dialog p {
        margin: 15px 0;
        font-size: 0.95rem;
    }

.popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.thumbnail-box {
     position: relative; 
   
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
    margin-bottom: 5px; 
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 4px 8px;
}

.menu-list {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 0;
    list-style: none;
    margin: 0;
    min-width: 150px;
    z-index: 9999; /* ensures menu is above other elements */
}

    .menu-list li {
        padding: 8px 12px;
        cursor: pointer;
    }

        .menu-list li:hover {
            background-color: #f5f5f5;
        }

    .menu-list .disabled {
        color: #999;
        cursor: not-allowed;
    }


/* Button styling */
.three-dot-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 4px 8px;
}

/* Dropdown menu container */
.three-dot-menu {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 5px 0;
    margin-top: 4px;
    list-style: none;
    min-width: 150px;
    z-index: 1000;
}

    /* Individual menu items */
    .three-dot-menu li {
        padding: 8px 12px;
        cursor: pointer;
        font-size: 14px;
        color: #333;
        transition: background-color 0.2s ease;
    }

        .three-dot-menu li:hover {
            background-color: #f5f5f5;
        }

.post-meta-content {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* spacing between avatar, author, date */
}

.list-menu-container {
    margin-left: auto; /* pushes it all the way to the right */
}

.components-reconnect-modal {
    display: none !important;
}