/**
 * EPK Gallery Styles
 * Masonry layout, upload interface, and lightbox styling
 */

/* Gallery Upload Styles */
.epk-gallery-upload {
    max-width: 100%;
    margin: 20px 0;
}

.epk-gallery-upload-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

/* Upload Area */
.epk-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.epk-upload-area:hover,
.epk-upload-area.dragover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.epk-upload-content {
    pointer-events: none;
}

.epk-upload-icon {
    color: #666;
    margin-bottom: 15px;
}

.epk-upload-area h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.epk-upload-area p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.epk-upload-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    pointer-events: all;
    transition: background 0.3s ease;
}

.epk-upload-btn:hover {
    background: #005a87;
}

.epk-upload-info {
    margin-top: 15px;
    color: #999;
    font-size: 12px;
}

/* Upload Progress */
.epk-upload-progress {
    margin: 20px 0;
}

.epk-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.epk-progress-fill {
    height: 100%;
    background: #0073aa;
    width: 0%;
    transition: width 0.3s ease;
}

.epk-progress-text {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* Upload Results */
.epk-upload-results {
    margin: 20px 0;
}

.epk-upload-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.epk-upload-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Gallery Manager */
.epk-gallery-manager {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.epk-gallery-manager h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
}

.epk-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.epk-image-item {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.epk-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.epk-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.epk-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.epk-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.epk-image-item:hover .epk-image-overlay {
    opacity: 1;
}

.epk-image-actions {
    display: flex;
    gap: 10px;
}

.epk-image-drag-handle {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    cursor: move;
    opacity: 0.8;
}

.epk-btn {
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.epk-btn-sm {
    padding: 6px 8px;
    font-size: 11px;
}

.epk-btn-primary {
    background: #0073aa;
    color: white;
}

.epk-btn-primary:hover {
    background: #005a87;
}

.epk-btn-secondary {
    background: #6c757d;
    color: white;
}

.epk-btn-secondary:hover {
    background: #545b62;
}

.epk-btn-edit {
    background: #28a745;
    color: white;
}

.epk-btn-edit:hover {
    background: #1e7e34;
}

.epk-btn-delete {
    background: #dc3545;
    color: white;
}

.epk-btn-delete:hover {
    background: #c82333;
}

.epk-image-title {
    padding: 10px;
    font-size: 12px;
    color: #666;
    text-align: center;
    border-top: 1px solid #eee;
}

/* No Images State */
.epk-no-images {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px dashed #ccc;
}

/* Gallery Display Styles */
.epk-gallery-display {
    margin: 20px 0;
}

.epk-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
    gap: 15px;
    align-items: start;
}

.epk-gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
}

.epk-gallery-image-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.epk-gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.epk-gallery-link {
    display: block;
    text-decoration: none;
}

.epk-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.epk-gallery-item:hover .epk-gallery-overlay {
    opacity: 1;
}

.epk-gallery-item:hover .epk-gallery-image {
    transform: scale(1.05);
}

.epk-gallery-zoom-icon {
    color: white;
    font-size: 24px;
}

.epk-gallery-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.epk-gallery-description {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Empty Gallery */
.epk-gallery-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px dashed #ccc;
}

/* Error States */
.epk-gallery-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.epk-gallery-login-required,
.epk-gallery-access-denied {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

/* Lightbox Styles */
.epk-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epk-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epk-lightbox-image-container {
    position: relative;
    text-align: center;
}

.epk-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.epk-lightbox-caption {
    margin-top: 15px;
    color: white;
    text-align: center;
}

.epk-lightbox-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.epk-lightbox-description {
    font-size: 14px;
    opacity: 0.8;
}

.epk-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
}

.epk-lightbox-prev,
.epk-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.epk-lightbox-prev {
    left: -60px;
}

.epk-lightbox-next {
    right: -60px;
}

.epk-lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
}

/* Image Edit Modal */
.epk-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epk-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

.epk-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.epk-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.epk-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.epk-modal-body {
    padding: 20px;
}

.epk-image-preview {
    text-align: center;
    margin-bottom: 20px;
}

.epk-image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 4px;
}

.epk-form-group {
    margin-bottom: 15px;
}

.epk-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.epk-form-group input,
.epk-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.epk-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .epk-gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .epk-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .epk-upload-area {
        padding: 30px 15px;
    }
    
    .epk-lightbox-prev,
    .epk-lightbox-next {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .epk-lightbox-prev {
        left: 10px;
    }
    
    .epk-lightbox-next {
        right: 10px;
    }
    
    .epk-lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .epk-gallery-masonry {
        grid-template-columns: 1fr;
    }
    
    .epk-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .epk-gallery-upload-container {
        padding: 15px;
    }
    
    .epk-modal-content {
        width: 95%;
        margin: 10px;
    }
}

/* Loading States */
.epk-loading {
    opacity: 0.6;
    pointer-events: none;
}

.epk-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: epk-spin 1s linear infinite;
}

@keyframes epk-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Instagram Integration Styles */

/* Display Mode Selector */
.epk-gallery-display-mode {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.epk-gallery-display-mode h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.epk-gallery-display-mode p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.epk-display-mode-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.epk-mode-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.epk-mode-option:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.epk-mode-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f8f9fa;
}

.epk-mode-option.disabled:hover {
    border-color: #e9ecef;
    background: #f8f9fa;
}

.epk-mode-option input[type="radio"] {
    margin: 0;
    margin-top: 2px;
}

.epk-mode-option input[type="radio"]:checked + .epk-mode-label {
    color: #0073aa;
}

.epk-mode-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.epk-mode-label strong {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.epk-mode-label small {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.epk-instagram-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.epk-instagram-notice p {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 14px;
}

.epk-instagram-notice p:last-child {
    margin-bottom: 0;
}

/* Instagram URL Input Section */
.epk-instagram-input {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.epk-instagram-input h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.epk-instagram-input p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.epk-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.epk-input-group input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.epk-input-group input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.epk-input-group .epk-btn {
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
}

.epk-btn-primary {
    background: #007cba;
    color: white;
}

.epk-btn-primary:hover {
    background: #005a87;
}

/* Toggle Gallery Styles */
.epk-gallery-toggle-container {
    margin: 20px 0;
}

.epk-gallery-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.epk-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.epk-tab:hover {
    color: #0073aa;
    background: #f8f9fa;
}

.epk-tab.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background: #fff;
}

.epk-tab .count {
    font-weight: 400;
    font-size: 14px;
    color: #999;
    margin-left: 5px;
}

.epk-tab.active .count {
    color: #0073aa;
}

.epk-gallery-tab-content {
    display: none;
}

.epk-gallery-tab-content.active {
    display: block;
}

/* Instagram Photo Indicators */
.epk-gallery-image.instagram-photo {
    position: relative;
}

.epk-gallery-image.instagram-photo::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
}

.epk-gallery-image.instagram-photo .epk-gallery-overlay {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.8), rgba(255, 255, 255, 0.1));
}

.instagram-attribution {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    z-index: 10;
}

/* Instagram Status Indicators */
.instagram-status {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
}

/* Gallery Display Mode Selector */
.epk-gallery-display-mode {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.epk-gallery-display-mode h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.epk-gallery-display-mode p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.epk-mode-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.epk-mode-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.epk-mode-option:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.epk-mode-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.epk-mode-option input[type="radio"]:checked + .option-label {
    color: #0073aa;
    font-weight: 600;
}

.option-label {
    flex: 1;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
}

.instagram-status {
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.instagram-status .status-success {
    color: #28a745;
}

.instagram-status .status-error {
    color: #dc3545;
}

/* Instagram OAuth Connection Styles */
.epk-instagram-connection {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.epk-instagram-connection h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.epk-instagram-connection p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.instagram-status-section {
    margin-bottom: 15px;
}

.instagram-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.instagram-actions .epk-btn {
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.instagram-actions .epk-btn-primary {
    background: #007cba;
    color: white;
}

.instagram-actions .epk-btn-primary:hover {
    background: #005a87;
}

.instagram-actions .epk-btn-secondary {
    background: #6c757d;
    color: white;
}

.instagram-actions .epk-btn-secondary:hover {
    background: #545b62;
}

.instagram-status.connected {
    color: #28a745;
    font-weight: 600;
}

.instagram-status.disconnected {
    color: #6c757d;
}

/* Gallery Toggle Container */
.epk-gallery-toggle-container {
    margin: 20px 0;
}

.epk-gallery-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.epk-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.epk-tab:hover {
    color: #0073aa;
    background: #f8f9fa;
}

.epk-tab.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background: #f0f8ff;
}

.epk-tab .count {
    background: #e9ecef;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

.epk-tab.active .count {
    background: #0073aa;
    color: #fff;
}

.epk-gallery-tab-content {
    display: none;
}

.epk-gallery-tab-content.active {
    display: block;
}

/* Instagram Photo Styling */
.epk-gallery-item.instagram-photo {
    position: relative;
}

.epk-gallery-item.instagram-photo::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.epk-gallery-item.instagram-photo:hover::before {
    opacity: 1;
}

.epk-gallery-item.uploaded-photo::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.epk-gallery-item.uploaded-photo:hover::before {
    opacity: 1;
}

/* Notice Styles */
.epk-notice {
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.epk-notice-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.epk-notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Instagram Styles */
@media (max-width: 768px) {
    .epk-display-mode-options {
        gap: 12px;
    }
    
    .epk-mode-option {
        padding: 12px;
    }
    
    .epk-mode-label strong {
        font-size: 15px;
    }
    
    .epk-mode-label small {
        font-size: 12px;
    }
    
    .epk-gallery-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .epk-tab {
        border-bottom: 1px solid #e9ecef;
        border-right: none;
        text-align: left;
    }
    
    .epk-tab.active {
        border-bottom-color: #0073aa;
        border-left: 3px solid #0073aa;
    }
}

@media (max-width: 480px) {
    .epk-gallery-display-mode {
        padding: 15px;
    }
    
    .epk-mode-option {
        padding: 10px;
        gap: 8px;
    }
    
    .epk-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Instagram Integration Info Text */
.epk-info-text {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 12px 15px;
    margin: 15px 0;
    font-size: 13px;
    color: #2c5aa0;
    line-height: 1.4;
}

.epk-info-text strong {
    color: #1a4480;
}

/* Sortable States */
.epk-image-item.sortable-ghost {
    opacity: 0.4;
}

.epk-image-item.sortable-chosen {
    transform: scale(1.05);
    z-index: 1000;
}

/* Prevent overlay from blocking clicks */
.epk-gallery-image-wrapper {
	position: relative;
}
.epk-gallery-link {
	position: relative;
	z-index: 2;
}
.epk-gallery-overlay {
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3; /* raise above link so it is visible */
}
.epk-gallery-overlay-content {
	pointer-events: none;
}
.epk-gallery-hint {
	pointer-events: none;
}

/* Gallery hover overlay styles */
.epk-gallery-image-wrapper .epk-gallery-overlay {
	background: rgba(0,0,0,0.25);
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
}
.epk-gallery-image-wrapper:hover .epk-gallery-overlay {
	opacity: 1;
}
.epk-gallery-overlay-content {
	color: #fff;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.epk-gallery-overlay-content .epk-gallery-arrow {
	display: inline-flex;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

/* Remove emoji badges */
.epk-gallery-item.instagram-photo::before,
.epk-gallery-item.uploaded-photo::before,
.epk-gallery-image.instagram-photo::after {
	content: none !important;
	display: none !important;
}
