/* Same Title Photos Plugin Styles */
.same-title-photos-wrapper {
    margin: 20px 0;
}

.same-title-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .same-title-photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .same-title-photos-grid {
        grid-template-columns: 1fr;
    }
}

.same-title-photo-item {
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.same-title-photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.same-title-photo-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.same-title-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* More photos overlay */
.same-title-photo-item.more-photos {
    position: relative;
}

.same-title-photo-item.more-photos img {
    filter: brightness(0.4);
}

.more-photos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.more-photos-text {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.same-title-photo-item.more-photos:hover .more-photos-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.no-same-title-posts {
    padding: 20px;
    background: #f5f5f5;
    border-left: 4px solid #0073aa;
    margin: 20px 0;
    color: #666;
}