/* Photo Detail Page Styles */

/* Mobile: header layout adjustments */
@media (max-width: 767.98px) {
    .mg2025-detail-layout .mg2025-profile-header {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .mg2025-detail-layout .mg2025-profile-info {
        align-items: center !important;
        width: 100%;
    }
}

/* Description styles */
.mg2025-description {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Mobile description styles - moved from inline */
.mg2025-description-mobile {
    display: none;
    padding: 20px 16px;
    text-align: left;
    background-color: #111;
    border-radius: 8px;
    margin: 10px 16px;
}

.mg2025-description-title {
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.mg2025-description-content {
    color: #ddd !important;
    font-size: 14px;
    line-height: 1.6;
    display: block;
}

@media (max-width: 767.98px) {
    .mg2025-description-mobile {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .mg2025-description-mobile {
        display: none !important;
    }
}

/* Linked user section */
.mg2025-linked-user {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

.mg2025-linked-user p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 16px;
}

.mg2025-linked-user .mg2025-linked-user-name {
    margin-top: 8px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* External links section */
.mg2025-external-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    margin-top: 12px;
}

.mg2025-external-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.mg2025-external-links a:hover {
    color: #ccc;
}

.mg2025-external-links a i {
    font-size: 1rem;
}

/* Role text */
.mg2025-role {
    margin-top: 8px;
    text-align: center;
}

/* Immagine dettaglio: lightbox solo da questa pagina */
.js-photo-detail-lightbox-wrap .photo-detail-image.js-photo-detail-lightbox {
    cursor: zoom-in;
}

body .mg2025-page-photo-detail .photo-detail-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

body .mg2025-page-photo-detail .photo-detail-image {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

